mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
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
This commit is contained in:
@@ -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 */
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user