[Asterisk-cvs] asterisk/include/asterisk cdr.h,1.32,1.33

russell russell
Sun Nov 6 16:09:22 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4878/include/asterisk

Modified Files:
	cdr.h 
Log Message:
Convert some built-in applications to use new args parsing macros.
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags.


Index: cdr.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/cdr.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cdr.h	31 Oct 2005 15:34:11 -0000	1.32
+++ cdr.h	6 Nov 2005 21:00:35 -0000	1.33
@@ -45,6 +45,7 @@
 
 /* Include channel.h after relevant declarations it will need */
 #include "asterisk/channel.h"
+#include "asterisk/utils.h"
 
 struct ast_channel;
 
@@ -256,7 +257,7 @@
  * \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 flags);
+extern void ast_cdr_reset(struct ast_cdr *cdr, struct ast_flags *flags);
 
 /*! Flags to a string */
 /*!




More information about the svn-commits mailing list