const char foobuf[32];
const char *nix(void *vptr) {snprintf(foobuf, 32, "%0x", (long) vptr); return foobuf;}
#endif
+void InitTemplateCache(void);
/*
* \brief Here's where it all begins.
char uds_listen_path[PATH_MAX]; /*< listen on a unix domain socket? */
HandlerHash = NewHash(1, NULL);
+ PreferenceHooks = NewHash(1, NULL);
+ WirelessTemplateCache = NewHash(1, NULL);
+ WirelessLocalTemplateCache = NewHash(1, NULL);
+ TemplateCache = NewHash(1, NULL);
+ LocalTemplateCache = NewHash(1, NULL);
+ InitTemplateCache();
+
initialise_modules();
#ifdef DBG_PRINNT_HOOKS_AT_START
worker_entry();
ShutDownLibCitadel ();
DeleteHash(&HandlerHash);
+ DeleteHash(&PreferenceHooks);
return 0;
}
icalmemory_free_ring ();
ShutDownLibCitadel ();
DeleteHash(&HandlerHash);
+ DeleteHash(&PreferenceHooks);
#ifdef ENABLE_NLS
void ShutdownLocale(void);
#endif