X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Fextnotify.h;h=870619601792efaf0bebc169e6332d8cf08c7375;hb=01b391252b1fe26aa1a6d10afcb8f41e164c5e73;hp=0639acbd5bd9031c6f848f488ecf2c4247dc0b65;hpb=027aab3f8d1977ac831f33abe4486a30ca224dbf;p=citadel.git diff --git a/citadel/modules/extnotify/extnotify.h b/citadel/modules/extnotify/extnotify.h index 0639acbd5..870619601 100644 --- a/citadel/modules/extnotify/extnotify.h +++ b/citadel/modules/extnotify/extnotify.h @@ -16,12 +16,20 @@ extern "C" { #define FUNAMBOL_WS "/funambol/services/admin" +typedef struct _NotifyContext { + StrBuf **NotifyHostList; + HashList *NotifyErrors; +} NotifyContext; + int notify_http_server(char *remoteurl, const char* template, long tlen, char *user, char *msgid, - long MsgNum); + long MsgNum, + NotifyContext *Ctx); + +void ExtNotify_PutErrorMessage(NotifyContext *Ctx, StrBuf *ErrMsg); void extNotify_getPrefs(long configMsgNum, char *configMsg); long extNotify_getConfigMessage(char *username);