* Shuffled around some of the housekeeping loop code
[citadel.git] / citadel / citserver.h
1 /* $Id$ */
2 void master_startup (void);
3 void master_cleanup (void);
4 void RemoveContext (struct CitContext *);
5 void set_wtmpsupp (char *newtext);
6 void set_wtmpsupp_to_current_room(void);
7 void cmd_info (void);
8 void cmd_time (void);
9 int is_public_client (char *where);
10 void cmd_iden (char *argbuf);
11 void cmd_mesg (char *mname);
12 void cmd_emsg (char *mname);
13 void cmd_term (char *cmdbuf);
14 void cmd_more (void);
15 void cmd_echo (char *etext);
16 void cmd_ipgm (char *argbuf);
17 void cmd_down (void);
18 void cmd_scdn (char *argbuf);
19 void cmd_extn (char *argbuf);
20 void deallocate_user_data(struct CitContext *con);
21 void *CtdlGetUserData(unsigned long requested_sym);
22 void CtdlAllocUserData(unsigned long requested_sym, size_t num_bytes);
23 void CtdlReallocUserData(unsigned long requested_sym, size_t num_bytes);
24 int CtdlGetDynamicSymbol(void);
25 void do_command_loop(void);
26 void begin_session(struct CitContext *con);
27 void citproto_begin_session(void);
28 void GenerateRoomDisplay(char *real_room,
29                         struct CitContext *viewed,
30                         struct CitContext *viewer);
31 extern int do_defrag;
32 char CtdlCheckExpress(void);
33
34 int CtdlAccessCheck(int);
35
36 /* 'required access level' values which may be passed to CtdlAccessCheck()
37  */
38 enum {
39         ac_none,
40         ac_logged_in,
41         ac_room_aide,
42         ac_aide,
43         ac_internal
44 };
45
46
47
48