citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

citserver.h
Go to the documentation of this file.
1// Copyright (c) 1987-2019 by the citadel.org team
2//
3// This program is open source software; you can redistribute it and/or modify
4// it under the terms of the GNU General Public License version 3.
5//
6// This program is distributed in the hope that it will be useful,
7// but WITHOUT ANY WARRANTY; without even the implied warranty of
8// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9// GNU General Public License for more details.
10
11/* I fucking hate const and want it to die. */
12#pragma GCC diagnostic ignored "-Wcast-qual"
13
14#include "serv_extensions.h"
15#include "context.h"
16#include "ctdl_module.h"
17
18/* Simple linked list structures ... used in a bunch of different places. */
24 long namelen;
26 long key;
27 long QRNum;
28};
32};
33
34#define CTDLUSERIP (IsEmptyStr(CC->cs_addr) ? CC->cs_clientinfo: CC->cs_addr)
35
36void master_startup (void);
37int master_cleanup (int exitcode);
38void set_wtmpsupp (char *newtext);
40void do_command_loop(void);
41void do_async_loop(void);
42void begin_session(struct CitContext *con);
43void citproto_begin_session(void);
45void help_subst (char *strbuf, char *source, char *dest);
46char CtdlCheckExpress(void);
47
48extern int panic_fd;
49extern time_t server_startup_time;
50extern int openid_level_supported;
#define ROOMNAMELEN
Definition: citadel.h:56
#define USERNAME_SIZE
Definition: citadel.h:57
void set_wtmpsupp_to_current_room(void)
char CtdlCheckExpress(void)
Definition: citserver.c:168
time_t server_startup_time
Definition: citserver.c:27
void do_command_loop(void)
void set_wtmpsupp(char *newtext)
int master_cleanup(int exitcode)
Definition: citserver.c:119
int openid_level_supported
Definition: citserver.c:29
void master_startup(void)
Definition: citserver.c:35
void citproto_begin_admin_session(void)
Definition: citserver.c:192
void begin_session(struct CitContext *con)
Definition: context.c:471
int panic_fd
Definition: citserver.c:28
void citproto_begin_session(void)
Definition: citserver.c:178
void do_async_loop(void)
Definition: citserver.c:202
void help_subst(char *strbuf, char *source, char *dest)
Definition: serv_file.c:540
struct RoomProcList * next
Definition: citserver.h:21
long namelen
Definition: citserver.h:24
char lcname[128]
Definition: citserver.h:23
char name[128]
Definition: citserver.h:22
long QRNum
Definition: citserver.h:27
long lastsent
Definition: citserver.h:25
struct UserProcList * next
Definition: citserver.h:30
char user[64]
Definition: citserver.h:31