mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -100,7 +100,8 @@ int ast_app_getdata(struct ast_channel *c, char *prompt, char *s, int maxlen, in
|
||||
int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd);
|
||||
|
||||
void ast_install_vm_functions(int (*has_voicemail_func)(const char *mailbox, const char *folder),
|
||||
int (*messagecount_func)(const char *mailbox, int *newmsgs, int *oldmsgs));
|
||||
int (*messagecount_func)(const char *mailbox, int *newmsgs, int *oldmsgs),
|
||||
int (*messagecount2_func)(const char *context, const char *mailbox, const char *folder));
|
||||
|
||||
void ast_uninstall_vm_functions(void);
|
||||
|
||||
@@ -110,6 +111,9 @@ int ast_app_has_voicemail(const char *mailbox, const char *folder);
|
||||
/*! Determine number of new/old messages in a mailbox */
|
||||
int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs);
|
||||
|
||||
/*! Determine number of messages in a given mailbox and folder */
|
||||
int ast_app_messagecount2(const char *context, const char *mailbox, const char *folder);
|
||||
|
||||
/*! Safely spawn an external program while closing file descriptors
|
||||
\note This replaces the \b system call in all Asterisk modules
|
||||
*/
|
||||
|
Reference in New Issue
Block a user