X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserv_funambol.c;h=561be098664567f7c88a7d2eb3364b23573836cd;hp=9e0601246221ce93e21961fdc2c926ae3d8695c2;hb=01cc19a4c2da27b4db0e980ccd3ca54d834319c8;hpb=03e37ac6a49a6c06b2f1e6aee1c6d1d01836ab07 diff --git a/citadel/serv_funambol.c b/citadel/serv_funambol.c index 9e0601246..561be0986 100644 --- a/citadel/serv_funambol.c +++ b/citadel/serv_funambol.c @@ -31,12 +31,10 @@ #include #include "citadel.h" #include "server.h" -#include "sysdep_decls.h" #include "citserver.h" #include "support.h" #include "config.h" #include "control.h" -#include "serv_extensions.h" #include "room_ops.h" #include "user_ops.h" #include "policy.h" @@ -47,6 +45,12 @@ #include "domain.h" #include "clientsocket.h" #include "serv_funambol.h" + + + +#include "ctdl_module.h" + + /* * Create the notify message queue */ @@ -219,7 +223,7 @@ void notify_funambol(long msgnum, void *userdata) { -char *serv_funambol_init(void) +CTDL_MODULE_INIT(funambol) { create_notify_queue(); CtdlRegisterSessionHook(do_notify_queue, EVT_TIMER);