* cit_backtrace...
[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 master_startup (void);
17 void master_cleanup (int exitcode);
18 void RemoveContext (struct CitContext *);
19 void set_wtmpsupp (char *newtext);
20 void set_wtmpsupp_to_current_room(void);
21 void cmd_info (void);
22 void cmd_time (void);
23 void cmd_iden (char *argbuf);
24 void cmd_mesg (char *mname);
25 void cmd_emsg (char *mname);
26 void cmd_term (char *cmdbuf);
27 void cmd_more (void);
28 void cmd_echo (char *etext);
29 void cmd_ipgm (char *argbuf);
30 void cmd_down (char *argbuf);
31 void cmd_halt (void);
32 void cmd_scdn (char *argbuf);
33 void cmd_extn (char *argbuf);
34 void do_command_loop(void);
35 void do_async_loop(void);
36 void begin_session(struct CitContext *con);
37 void citproto_begin_session(void);
38 void GenerateRoomDisplay(char *real_room,
39                         struct CitContext *viewed,
40                         struct CitContext *viewer);
41 extern int do_defrag;
42 char CtdlCheckExpress(void);
43
44 int CtdlAccessCheck(int);
45
46 /* 'required access level' values which may be passed to CtdlAccessCheck()
47  */
48 enum {
49         ac_none,
50         ac_logged_in,
51         ac_room_aide,
52         ac_aide,
53         ac_internal
54 };
55
56
57
58 extern time_t server_startup_time;