]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/extnotify/extnotify.h
* migrate extnotify to libcurl
[citadel.git] / citadel / modules / extnotify / extnotify.h
index 5cecb46e2e701e4a8f4bd6d9e7f666a18d1fc0d3..2d1874f2736c02f8acc3cc3cb44d74f807c85809 100644 (file)
@@ -11,11 +11,17 @@ extern "C" {
 
 #define FUNAMBOL_CONFIG_TEXT "funambol"
 #define PAGER_CONFIG_MESSAGE "__ Push email settings __"
-#define PAGER_CONFIG_TEXT  "textmessage"    
+#define PAGER_CONFIG_SYSTEM  "textmessage"    
+#define PAGER_CONFIG_HTTP  "httpmessage"    
 
 #define FUNAMBOL_WS "/funambol/services/admin"
 
-int notify_funambol_server(char *user);
+int notify_http_server(char *remoteurl, 
+                      char* template, 
+                      long tlen, 
+                      char *user,
+                      char *msgid, 
+                      long MsgNum);
 
 void extNotify_getPrefs(long configMsgNum, char *configMsg);
 long extNotify_getConfigMessage(char *username);