citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

serv_extensions.h
Go to the documentation of this file.
1
2#ifndef SERV_EXTENSIONS_H
3#define SERV_EXTENSIONS_H
4
5#include "server.h"
6
7/*
8 * ServiceFunctionHook extensions are used for hooks which implement various
9 * protocols (either on TCP or on unix domain sockets) directly in the Citadel server.
10 */
15 char *sockpath;
16 void (*h_greeting_function) (void) ;
17 void (*h_command_function) (void) ;
18 void (*h_async_function) (void) ;
19 int msock;
20 const char* ServiceName; /* this is just for debugging and logging purposes. */
21};
23
25int DLoader_Exec_Cmd(char *cmdbuf);
27
28void PerformSessionHooks(int EventType);
29
30void PerformUserHooks(struct ctdluser *usbuf, int EventType);
31
32int PerformXmsgHooks(char *, char *, char *, char *);
33
34int PerformMessageHooks(struct CtdlMessage *, struct recptypes *recps, int EventType);
35
36int PerformRoomHooks(struct ctdlroom *);
37
38void PerformDeleteHooks(char *, long);
39
40
41
42
43
44int PerformFixedOutputHooks(char *, char *, int);
45
46void netcfg_keyname(char *keybuf, long roomnum);
47
48#endif /* SERV_EXTENSIONS_H */
void initialize_server_extensions(void)
void PerformDeleteHooks(char *, long)
int PerformFixedOutputHooks(char *, char *, int)
void PerformSessionHooks(int EventType)
void PerformUserHooks(struct ctdluser *usbuf, int EventType)
char * Dynamic_Module_Init(void)
int PerformMessageHooks(struct CtdlMessage *, struct recptypes *recps, int EventType)
int PerformXmsgHooks(char *, char *, char *, char *)
int PerformRoomHooks(struct ctdlroom *)
void netcfg_keyname(char *keybuf, long roomnum)
Definition: netconfig.c:41
ServiceFunctionHook * ServiceHookTable
int DLoader_Exec_Cmd(char *cmdbuf)
struct ctdluser usbuf
Definition: serv_migrate.c:496
void(* h_greeting_function)(void)
void(* h_async_function)(void)
void(* h_command_function)(void)
const char * ServiceName
ServiceFunctionHook * next