diff options
author | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-24 21:33:48 +0000 |
---|---|---|
committer | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-24 21:33:48 +0000 |
commit | 6ffda996af2f5261775610a416e5146d5d394f4f (patch) | |
tree | 9dc1614246c2f8319edee2064d5efe8b24880b6a /include/asterisk/cdr.h | |
parent | ce99091f34f4409c251d35d603e027311521d96e (diff) |
add app_forkcdr
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3832 f38db490-d61c-443f-a65b-d21fe96a405b
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)) |