diff options
author | Anthony Minessale II <anthmct@yahoo.com> | 2004-09-24 21:33:48 +0000 |
---|---|---|
committer | Anthony Minessale II <anthmct@yahoo.com> | 2004-09-24 21:33:48 +0000 |
commit | 255ce936167f0735871f09e0af89615243a3516f (patch) | |
tree | 9dc1614246c2f8319edee2064d5efe8b24880b6a /include/asterisk/cdr.h | |
parent | 4ffa6c246f614a3b01731f4215b3cb7ad5ed987f (diff) |
add app_forkcdr
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/cdr.h')
-rwxr-xr-x | include/asterisk/cdr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 05d50664d..90d9433e3 100755 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -220,9 +220,10 @@ extern char *ast_cdr_disp2str(int disposition); //! 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 int ast_default_amaflags; 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)) |