Added an entry point to the modules init stuff.
[citadel.git] / citadel / include / ctdl_module.h
index eaabb22f418875d1c09d9838d5b0260c9b866cee..6326d5ef7861fd7e86341ae1bc01fd4c7116df99 100644 (file)
 
 #define CTDL_INIT_CALL(module_name) ctdl_module_##module_name##_init (threading)
 
+#define CTDL_MODULE_UPGRADE(module_name) char *ctdl_module_##module_name##_upgrade (void)
+
+#define CTDL_UPGRADE_CALL(module_name) ctdl_module_##module_name##_upgrade ()
+
 
 /*
  * Prototype for making log entries in Citadel.