1 // Copyright (c) 1987-2024 by the citadel.org team
3 // This program is open source software. Use, duplication, or disclosure
4 // is subject to the terms of the GNU General Public License, version 3.
6 #include "serv_extensions.h"
8 #include "ctdl_module.h"
10 // Simple linked list structures ... used in a bunch of different places.
11 typedef struct RoomProcList RoomProcList;
13 struct RoomProcList *next;
14 char name[ROOMNAMELEN];
15 char lcname[ROOMNAMELEN];
22 struct UserProcList *next;
23 char user[USERNAME_SIZE];
26 #define CTDLUSERIP (IsEmptyStr(CC->cs_addr) ? CC->cs_clientinfo: CC->cs_addr)
28 void master_startup (void);
29 void master_cleanup (int exitcode);
30 void set_wtmpsupp (char *newtext);
31 void set_wtmpsupp_to_current_room(void);
32 void do_command_loop(void);
33 void do_async_loop(void);
34 void begin_session(struct CitContext *con);
35 void citproto_begin_session(void);
36 void citproto_begin_admin_session(void);
37 void help_subst (char *strbuf, char *source, char *dest);
38 char CtdlCheckExpress(struct CitContext *con);
39 int CheckIfAlreadySeen(StrBuf *guid);
40 void ctdl_lockfile(int);
43 extern time_t server_startup_time;