0e230831328e2686493d01de84854165005f23b6
[citadel.git] / citadel / citserver.h
1 /* $Id$
2  *
3  * Copyright (c) 1987-2009 by the citadel.org team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 3 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #include "serv_extensions.h"
21 #include "context.h"
22
23 /* Simple linked list structures ... used in a bunch of different places. */
24 struct RoomProcList {
25         struct RoomProcList *next;
26         char name[ROOMNAMELEN];
27 };
28 struct UserProcList {
29         struct UserProcList *next;
30         char user[64];
31 };
32
33 void cit_backtrace(void);
34 void cit_panic_backtrace(int SigNum);
35 void master_startup (void);
36 void master_cleanup (int exitcode);
37 void set_wtmpsupp (char *newtext);
38 void set_wtmpsupp_to_current_room(void);
39 void do_command_loop(void);
40 void do_async_loop(void);
41 void begin_session(struct CitContext *con);
42 void citproto_begin_session(void);
43 void GenerateRoomDisplay(char *real_room,
44                         CitContext *viewed,
45                         CitContext *viewer);
46 extern int panic_fd;
47 char CtdlCheckExpress(void);
48
49
50
51
52
53 extern time_t server_startup_time;
54