3 #ifndef SERV_EXTENSIONS_H
4 #define SERV_EXTENSIONS_H
9 * This is where we declare all of the server extensions we have.
10 * We'll probably start moving these to a more sane location in the near
11 * future. For now, this just shuts up the compiler.
13 void serv_calendar_destroy(void);
14 char *serv_test_init(void);
15 char *serv_postfix_tcpdict(void);
19 void initialize_server_extensions(void);
20 int DLoader_Exec_Cmd(char *cmdbuf);
21 char *Dynamic_Module_Init(void);
23 void CtdlDestroySessionHooks(void);
24 void PerformSessionHooks(int EventType);
26 void CtdlDestroyUserHooks(void);
27 void PerformUserHooks(struct ctdluser *usbuf, int EventType);
29 int PerformXmsgHooks(char *, char *, char *);
30 void CtdlDestroyXmsgHooks(void);
34 void CtdlDestroyMessageHook(void);
35 int PerformMessageHooks(struct CtdlMessage *, int EventType);
38 void CtdlDestroyNetprocHooks(void);
39 int PerformNetprocHooks(struct CtdlMessage *, char *);
41 void CtdlDestroyRoomHooks(void);
42 int PerformRoomHooks(struct ctdlroom *);
45 void CtdlDestroyDeleteHooks(void);
46 void PerformDeleteHooks(char *, long);
49 void CtdlDestroyCleanupHooks(void);
51 void CtdlDestroyProtoHooks(void);
53 void CtdlDestroyServiceHook(void);
55 void CtdlDestroyFixedOutputHooks(void);
56 int PerformFixedOutputHooks(char *, char *, int);
58 #endif /* SERV_EXTENSIONS_H */