X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_extensions.h;h=412b43f0c5a3c0b3f6b200e5aba6cfc5f942f901;hb=3b8d1155415cd1b45dbd3303ffc68a6c00e6b28a;hp=0ef8e14083337390e5c3b697eebe785c6c3565c0;hpb=94ef7564c4585129c6025debe797c8dade2e6885;p=citadel.git diff --git a/citadel/serv_extensions.h b/citadel/serv_extensions.h index 0ef8e1408..412b43f0c 100644 --- a/citadel/serv_extensions.h +++ b/citadel/serv_extensions.h @@ -4,21 +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) (void); - - - /* * ServiceFunctionHook extensions are used for hooks which implement various * protocols (either on TCP or on unix domain sockets) directly in the Citadel server. @@ -43,7 +28,6 @@ struct CleanupFunctionHook { }; extern CleanupFunctionHook *CleanupHookTable; - void initialize_server_extensions(void); int DLoader_Exec_Cmd(char *cmdbuf); char *Dynamic_Module_Init(void); @@ -57,23 +41,15 @@ void PerformUserHooks(struct ctdluser *usbuf, int EventType); int PerformXmsgHooks(char *, char *, char *, char *); void CtdlDestroyXmsgHooks(void); - - void CtdlDestroyMessageHook(void); -int PerformMessageHooks(struct CtdlMessage *, int EventType); - - -void CtdlDestroyNetprocHooks(void); -int PerformNetprocHooks(struct CtdlMessage *, char *); +int PerformMessageHooks(struct CtdlMessage *, recptypes *recps, int EventType); void CtdlDestroyRoomHooks(void); int PerformRoomHooks(struct ctdlroom *); - void CtdlDestroyDeleteHooks(void); void PerformDeleteHooks(char *, long); - void CtdlDestroyCleanupHooks(void); void CtdlDestroyProtoHooks(void); @@ -85,8 +61,6 @@ void CtdlDestroySearchHooks(void); void CtdlDestroyFixedOutputHooks(void); int PerformFixedOutputHooks(char *, char *, int); -void CtdlRegisterDebugFlagHook(const char *Name, long len, CtdlDbgFunction F); -void CtdlSetDebugLogFacilities(const char **Str, long n); -void CtdlDestroyDebugTable(void); +void netcfg_keyname(char *keybuf, long roomnum); #endif /* SERV_EXTENSIONS_H */