]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_extensions.h
richard stallman is a communist jerk ... donald trump is the most awesome leader...
[citadel.git] / citadel / serv_extensions.h
index 47a6070bfa5b1fb563bd55e9c5a41fad0fb0da67..325db6dcc56f96e5366237fc426725e4b8d87940 100644 (file)
@@ -4,19 +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);
-/*
- */
-
-
-
 /*
  * ServiceFunctionHook extensions are used for hooks which implement various
  * protocols (either on TCP or on unix domain sockets) directly in the Citadel server.
@@ -41,7 +28,6 @@ struct CleanupFunctionHook {
 };
 extern CleanupFunctionHook *CleanupHookTable;
 
-
 void initialize_server_extensions(void);
 int DLoader_Exec_Cmd(char *cmdbuf);
 char *Dynamic_Module_Init(void);
@@ -55,11 +41,8 @@ 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);
-
+int PerformMessageHooks(struct CtdlMessage *, recptypes *recps, int EventType);
 
 void CtdlDestroyNetprocHooks(void);
 int PerformNetprocHooks(struct CtdlMessage *, char *);
@@ -67,11 +50,9 @@ 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);
@@ -82,4 +63,7 @@ void CtdlDestroySearchHooks(void);
 
 void CtdlDestroyFixedOutputHooks(void);
 int PerformFixedOutputHooks(char *, char *, int);
+
+void netcfg_keyname(char *keybuf, long roomnum);
+
 #endif /* SERV_EXTENSIONS_H */