[Asterisk-cvs] asterisk/include/asterisk cdr.h,1.11,1.12
anthm at lists.digium.com
anthm at lists.digium.com
Fri Sep 24 17:29:38 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv2704/include/asterisk
Modified Files:
cdr.h
Log Message:
add app_forkcdr
Index: cdr.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/cdr.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cdr.h 2 Jul 2004 23:11:13 -0000 1.11
+++ cdr.h 24 Sep 2004 21:32:56 -0000 1.12
@@ -220,9 +220,10 @@
//! Reset the detail record, optionally posting it first
/*!
* \param cdr which cdr to act upon
- * \param post whether or not to post the cdr first before resetting it
+ * \param flags |AST_CDR_FLAG_POSTED whether or not to post the cdr first before resetting it
+ * |AST_CDR_FLAG_LOCKED whether or not to reset locked CDR's
*/
-extern void ast_cdr_reset(struct ast_cdr *cdr, int post);
+extern void ast_cdr_reset(struct ast_cdr *cdr, int flags);
//! Flags to a string
/*!
@@ -248,6 +249,7 @@
extern char ast_default_accountcode[20];
+#define ast_cdr_compare_flag(flags, flag) (flags & (flag))
#define ast_cdr_has_flag(cdr, flag) ((cdr)->flags & (flag))
#define ast_cdr_add_flag(cdr, flag) ((cdr)->flags |= (flag))
#define ast_cdr_del_flag(cdr, flag) ((cdr)->flags &= ~(flag))
More information about the svn-commits
mailing list