0639acbd5bd9031c6f848f488ecf2c4247dc0b65
[citadel.git] / citadel / modules / extnotify / extnotify.h
1 /* 
2  * File:   extnotify.h
3  * Author: Mathew McBride <matt@mcbridematt.dhs.org> / <matt@comalies>
4  *
5  * Created on January 13, 2008, 9:34 PM
6  */
7
8 #ifdef  __cplusplus
9 extern "C" {
10 #endif
11
12 #define FUNAMBOL_CONFIG_TEXT "funambol"
13 #define PAGER_CONFIG_MESSAGE "__ Push email settings __"
14 #define PAGER_CONFIG_SYSTEM  "textmessage"    
15 #define PAGER_CONFIG_HTTP  "httpmessage"    
16
17 #define FUNAMBOL_WS "/funambol/services/admin"
18
19 int notify_http_server(char *remoteurl, 
20                        const char* template, 
21                        long tlen, 
22                        char *user,
23                        char *msgid, 
24                        long MsgNum);
25
26 void extNotify_getPrefs(long configMsgNum, char *configMsg);
27 long extNotify_getConfigMessage(char *username);
28 void process_notify(long msgnum, void *usrdata);
29
30 #ifdef  __cplusplus
31 }
32 #endif
33
34