]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/extnotify/extnotify.h
Free all our allocated resources after notifying / sending a http request.
[citadel.git] / citadel / modules / extnotify / extnotify.h
index f28c59460cf30b2eb8b23e05d0c600b9d9ea42bf..efe6b91364265b004a800d7617cbfdd1ed8cd971 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include "../eventclient/serv_curl.h"
-
 #define PAGER_CONFIG_MESSAGE "__ Push email settings __"
 #define FUNAMBOL_CONFIG_TEXT "funambol"
 #define PAGER_CONFIG_SYSTEM  "textmessage"    
@@ -37,8 +36,9 @@ typedef enum _eNotifyType {
 
 typedef struct _NotifyContext {
        StrBuf **NotifyHostList;
+       int nNotifyHosts;
        HashList *NotifyErrors;
-       evcurl_request_data HTTPData;
+       AsyncIO IO;
 } NotifyContext;
 
 int notify_http_server(char *remoteurl,