aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 00:15:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 00:15:11 +0000
commit821fb99f76c2b0bcaeaac4ba2507706e327521e0 (patch)
treef4390ba612566a961f42a0de06234bc7b084a7d7 /include/asterisk/app.h
parent18e59eea4122770c018c770213abc1c053ffdd0a (diff)
Make SIP message notify send detail MWI info
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@688 f38db490-d61c-443f-a65b-d21fe96a405b
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)
}