Moved to new module init structure.
[citadel.git] / citadel / serv_extensions.h
1 /* $Id$ */
2
3 #ifndef SERV_EXTENSIONS_H
4 #define SERV_EXTENSIONS_H
5
6 #include "server.h"
7
8 /*
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.
12  */
13 void serv_calendar_destroy(void);
14 char *serv_test_init(void);
15 char *serv_postfix_tcpdict(void);
16 /*
17  */
18
19 void initialize_server_extensions(void);
20 int DLoader_Exec_Cmd(char *cmdbuf);
21 char *Dynamic_Module_Init(void);
22
23 void CtdlDestroySessionHooks(void);
24 void PerformSessionHooks(int EventType);
25
26 void CtdlDestroyUserHooks(void);
27 void PerformUserHooks(struct ctdluser *usbuf, int EventType);
28
29 int PerformXmsgHooks(char *, char *, char *);
30 void CtdlDestroyXmsgHooks(void);
31
32
33
34 void CtdlDestroyMessageHook(void);
35 int PerformMessageHooks(struct CtdlMessage *, int EventType);
36
37
38 void CtdlDestroyNetprocHooks(void);
39 int PerformNetprocHooks(struct CtdlMessage *, char *);
40
41 void CtdlDestroyRoomHooks(void);
42 int PerformRoomHooks(struct ctdlroom *);
43
44
45 void CtdlDestroyDeleteHooks(void);
46 void PerformDeleteHooks(char *, long);
47
48
49 void CtdlDestroyCleanupHooks(void);
50
51 void CtdlDestroyProtoHooks(void);
52
53 void CtdlDestroyServiceHook(void);
54
55 void CtdlDestroyFixedOutputHooks(void);
56 int PerformFixedOutputHooks(char *, char *, int);
57
58 #endif /* SERV_EXTENSIONS_H */