X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserv_extensions.h;h=325db6dcc56f96e5366237fc426725e4b8d87940;hp=b394a0cef1a7eaba2f97ddacec5c7d3205b29113;hb=7e8e24791e16e0a94ed346c6a11595a40d3a31b1;hpb=b4166762f14b4d28f4368dd1450eeec27164f9b8 diff --git a/citadel/serv_extensions.h b/citadel/serv_extensions.h index b394a0cef..325db6dcc 100644 --- a/citadel/serv_extensions.h +++ b/citadel/serv_extensions.h @@ -4,22 +4,6 @@ #include "server.h" -/* - * This is where we declare all of the server extensions we have. - * We'll probably start moving these to a more sane location in the near - * future. For now, this just shuts up the compiler. - */ -//void serv_calendar_destroy(void); -//char *serv_test_init(void); -//char *serv_postfix_tcpdict(void); -/* - */ - -typedef void (*CtdlDbgFunction) (const int); - - - - /* * ServiceFunctionHook extensions are used for hooks which implement various * protocols (either on TCP or on unix domain sockets) directly in the Citadel server. @@ -44,14 +28,6 @@ struct CleanupFunctionHook { }; extern CleanupFunctionHook *CleanupHookTable; - -typedef struct __LogDebugEntry { - CtdlDbgFunction F; - const char *Name; - long Len; - const int *LogP; -} LogDebugEntry; -extern HashList *LogDebugEntryTable; void initialize_server_extensions(void); int DLoader_Exec_Cmd(char *cmdbuf); char *Dynamic_Module_Init(void); @@ -65,23 +41,18 @@ void PerformUserHooks(struct ctdluser *usbuf, int EventType); int PerformXmsgHooks(char *, char *, char *, char *); void CtdlDestroyXmsgHooks(void); - - void CtdlDestroyMessageHook(void); int PerformMessageHooks(struct CtdlMessage *, recptypes *recps, int EventType); - void CtdlDestroyNetprocHooks(void); int PerformNetprocHooks(struct CtdlMessage *, char *); void CtdlDestroyRoomHooks(void); int PerformRoomHooks(struct ctdlroom *); - void CtdlDestroyDeleteHooks(void); void PerformDeleteHooks(char *, long); - void CtdlDestroyCleanupHooks(void); void CtdlDestroyProtoHooks(void); @@ -93,10 +64,6 @@ void CtdlDestroySearchHooks(void); void CtdlDestroyFixedOutputHooks(void); int PerformFixedOutputHooks(char *, char *, int); -void CtdlRegisterDebugFlagHook(const char *Name, long len, CtdlDbgFunction F, const int *); -void CtdlSetDebugLogFacilities(const char **Str, long n); -void CtdlDestroyDebugTable(void); - void netcfg_keyname(char *keybuf, long roomnum); #endif /* SERV_EXTENSIONS_H */