* Added a UserFunctionHook category to implement hooks which perform
[citadel.git] / citadel / dynloader.h
1 struct DLModule_Info
2 {
3    char *module_name;
4    char *module_author;
5    char *module_author_email;
6    int major_version, minor_version;
7 };
8
9 void DLoader_Init(char *pathname);
10 int DLoader_Exec_Cmd(char *cmdbuf);
11 void CtdlRegisterCleanupHook(void *fcn_ptr);
12 void CtdlRegisterSessionHook(void *fcn_ptr, int StartStop);
13 void PerformSessionHooks(int EventType);
14 void PerformUserHooks(char *username, long usernum, int EventType);
15 void CtdlRegisterProtoHook(void (*handler)(char *), char *cmd, char *desc);
16 struct DLModule_Info *Dynamic_Module_Init(void);