From 7d4a5abb1df3aefd47d3da34d4b7bd3f29f9ee96 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 6 Nov 2005 21:00:35 +0000 Subject: 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6987 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/cdr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/asterisk') diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 2ca567134..6598b3806 100755 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -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 @@ extern char *ast_cdr_disp2str(int disposition); * \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 */ /*! -- cgit v1.2.3