* Bump internal version number to 6.08
[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 master_startup (void);
16 void master_cleanup (void);
17 void RemoveContext (struct CitContext *);
18 void set_wtmpsupp (char *newtext);
19 void set_wtmpsupp_to_current_room(void);
20 void cmd_info (void);
21 void cmd_time (void);
22 int is_public_client (char *where);
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 (void);
31 void cmd_scdn (char *argbuf);
32 void cmd_extn (char *argbuf);
33 void deallocate_user_data(struct CitContext *con);
34 void *CtdlGetUserData(unsigned long requested_sym);
35 void CtdlAllocUserData(unsigned long requested_sym, size_t num_bytes);
36 void CtdlReallocUserData(unsigned long requested_sym, size_t num_bytes);
37 int CtdlGetDynamicSymbol(void);
38 void do_command_loop(void);
39 void begin_session(struct CitContext *con);
40 void citproto_begin_session(void);
41 void GenerateRoomDisplay(char *real_room,
42                         struct CitContext *viewed,
43                         struct CitContext *viewer);
44 extern int do_defrag;
45 char CtdlCheckExpress(void);
46
47 int CtdlAccessCheck(int);
48
49 /* 'required access level' values which may be passed to CtdlAccessCheck()
50  */
51 enum {
52         ac_none,
53         ac_logged_in,
54         ac_room_aide,
55         ac_aide,
56         ac_internal
57 };
58
59
60
61 extern time_t server_startup_time;