* Added unused cmdbuf parms to more cmd_xxxx() functions
[citadel.git] / citadel / citserver.h
1 /* $Id$ */
2
3 #include "serv_extensions.h"
4
5 /* Simple linked list structures ... used in a bunch of different places. */
6 struct RoomProcList {
7         struct RoomProcList *next;
8         char name[ROOMNAMELEN];
9 };
10 struct UserProcList {
11         struct UserProcList *next;
12         char user[64];
13 };
14
15 void cit_backtrace(void);
16 void cit_panic_backtrace(int SigNum);
17 void master_startup (void);
18 void master_cleanup (int exitcode);
19 void RemoveContext (struct CitContext *);
20 void set_wtmpsupp (char *newtext);
21 void set_wtmpsupp_to_current_room(void);
22 void cmd_info (char *cmdbuf);
23 void cmd_time (void);
24 void cmd_iden (char *argbuf);
25 void cmd_mesg (char *mname);
26 void cmd_emsg (char *mname);
27 void cmd_term (char *cmdbuf);
28 void cmd_more (void);
29 void cmd_echo (char *etext);
30 void cmd_ipgm (char *argbuf);
31 void cmd_down (char *argbuf);
32 void cmd_halt (void);
33 void cmd_scdn (char *argbuf);
34 void cmd_extn (char *argbuf);
35 void do_command_loop(void);
36 void do_async_loop(void);
37 void begin_session(struct CitContext *con);
38 void citproto_begin_session(void);
39 void GenerateRoomDisplay(char *real_room,
40                         struct CitContext *viewed,
41                         struct CitContext *viewer);
42 extern int panic_fd;
43 char CtdlCheckExpress(void);
44
45 int CtdlAccessCheck(int);
46
47 /* 'required access level' values which may be passed to CtdlAccessCheck()
48  */
49 enum {
50         ac_none,
51         ac_logged_in,
52         ac_room_aide,
53         ac_aide,
54         ac_internal
55 };
56
57
58
59 extern time_t server_startup_time;