2 * Copyright (c) 1987-2009 by the citadel.org team
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "serv_extensions.h"
22 /* Simple linked list structures ... used in a bunch of different places. */
24 struct RoomProcList *next;
25 char name[ROOMNAMELEN];
28 struct UserProcList *next;
32 #define CTDLUSERIP (IsEmptyStr(CC->cs_addr) ? CC->cs_clientinfo: CC->cs_addr)
34 void cit_backtrace(void);
35 void cit_oneline_backtrace(void);
36 void cit_panic_backtrace(int SigNum);
37 void master_startup (void);
38 void master_cleanup (int exitcode);
39 void set_wtmpsupp (char *newtext);
40 void set_wtmpsupp_to_current_room(void);
41 void do_command_loop(void);
42 void do_async_loop(void);
43 void begin_session(struct CitContext *con);
44 void citproto_begin_session(void);
45 void GenerateRoomDisplay(char *real_room,
49 char CtdlCheckExpress(void);
50 extern time_t server_startup_time;
51 extern int openid_level_supported;