]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/serv_extensions.h
More C99-style comments.
[citadel.git] / citadel / server / serv_extensions.h
index c8308cf6260690a8569146d7db5960a98b50d3ab..3ad56c8a0c2f08a3c10ef2c49c4562f6c7a41838 100644 (file)
@@ -4,10 +4,8 @@
 
 #include "server.h"
 
-/*
- * ServiceFunctionHook extensions are used for hooks which implement various
- * protocols (either on TCP or on unix domain sockets) directly in the Citadel server.
- */
+// ServiceFunctionHook extensions are used for hooks which implement various
+// protocols (either on TCP or on unix domain sockets) directly in the Citadel server.
 typedef struct ServiceFunctionHook ServiceFunctionHook;
 struct ServiceFunctionHook {
        ServiceFunctionHook *next;
@@ -17,32 +15,19 @@ struct ServiceFunctionHook {
        void (*h_command_function) (void) ;
        void (*h_async_function) (void) ;
        int msock;
-       const char* ServiceName; /* this is just for debugging and logging purposes. */
+       const char *ServiceName;                // this is just for debugging and logging purposes.
 };
 extern ServiceFunctionHook *ServiceHookTable;
-
 void initialize_server_extensions(void);
 int DLoader_Exec_Cmd(char *cmdbuf);
 char *Dynamic_Module_Init(void);
-
 void PerformSessionHooks(int EventType);
-
 void PerformUserHooks(struct ctdluser *usbuf, int EventType);
-
 int PerformXmsgHooks(char *, char *, char *, char *);
-
 int PerformMessageHooks(struct CtdlMessage *, struct recptypes *recps, int EventType);
-
 int PerformRoomHooks(struct ctdlroom *);
-
 void PerformDeleteHooks(char *, long);
-
-
-
-
-
 int PerformFixedOutputHooks(char *, char *, int);
-
 void netcfg_keyname(char *keybuf, long roomnum);
 
-#endif /* SERV_EXTENSIONS_H */
+#endif