* migrate extnotify to libcurl
[citadel.git] / citadel / modules / extnotify / extnotify.h
index a88de1d6aa26501026957daa2a55e5ee86b33116..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, char *msgid, long MsgNum);
+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);