summaryrefslogtreecommitdiff
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-03-26 00:15:11 +0000
committerMark Spencer <markster@digium.com>2003-03-26 00:15:11 +0000
commit0f7e77fb23a9f438d5a60d72c8ab6606585d8a41 (patch)
treef4390ba612566a961f42a0de06234bc7b084a7d7 /include/asterisk/app.h
parent8e9f4405bf3f92008822f14bf8d080934159eb9e (diff)
Make SIP message notify send detail MWI info
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-xinclude/asterisk/app.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index bcbccb726..ef7b05c27 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -40,7 +40,10 @@ extern int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, in
int ast_app_getvoice(struct ast_channel *c, char *dest, char *dstfmt, char *prompt, int silence, int maxsec);
//! Determine if a given mailbox has any voicemail
-extern int ast_app_has_voicemail(char *mailbox);
+extern int ast_app_has_voicemail(const char *mailbox);
+
+//! Determine number of new/old messages in a mailbox
+extern int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs);
#if defined(__cplusplus) || defined(c_plusplus)
}