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)  

No Matches
citserver.h File Reference
#include "serv_extensions.h"
#include "context.h"
#include "ctdl_module.h"
Include dependency graph for citserver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RoomProcList
struct  UserProcList


#define CTDLUSERIP   (IsEmptyStr(CC->cs_addr) ? CC->cs_clientinfo: CC->cs_addr)


typedef struct RoomProcList RoomProcList


void master_startup (void)
void master_cleanup (int exitcode)
void set_wtmpsupp (char *newtext)
void set_wtmpsupp_to_current_room (void)
void do_command_loop (void)
void do_async_loop (void)
void begin_session (struct CitContext *con)
void citproto_begin_session (void)
void citproto_begin_admin_session (void)
void help_subst (char *strbuf, char *source, char *dest)
char CtdlCheckExpress (struct CitContext *con)
int CheckIfAlreadySeen (StrBuf *guid)
void ctdl_lockfile (int)


int panic_fd
time_t server_startup_time

Macro Definition Documentation


#define CTDLUSERIP   (IsEmptyStr(CC->cs_addr) ? CC->cs_clientinfo: CC->cs_addr)

Definition at line 26 of file citserver.h.

Typedef Documentation

◆ RoomProcList

typedef struct RoomProcList RoomProcList

Definition at line 11 of file citserver.h.

Function Documentation

◆ begin_session()

◆ CheckIfAlreadySeen()

int CheckIfAlreadySeen ( StrBuf * guid)

◆ citproto_begin_admin_session()

void citproto_begin_admin_session ( void )

Definition at line 194 of file citserver.c.

References CC, CIT_OK, cprintf(), and CtdlGetConfigStr().

Referenced by main().

◆ citproto_begin_session()

void citproto_begin_session ( void )

◆ ctdl_lockfile()

void ctdl_lockfile ( int op)

Definition at line 33 of file server_main.c.

References ctdl_run_dir, and CTDLEXIT_DB.

Referenced by main(), and master_cleanup().

◆ CtdlCheckExpress()

char CtdlCheckExpress ( struct CitContext * con)

Definition at line 169 of file citserver.c.

References CitContext::FirstExpressMessage.

Referenced by cmd_getr(), cmd_noop(), cmd_rwho(), CtdlUserGoto(), and roomchat_rwho().

◆ do_async_loop()

void do_async_loop ( void )

Definition at line 201 of file citserver.c.

References EVT_ASYNC, and PerformSessionHooks().

Referenced by main().

◆ do_command_loop()

◆ help_subst()

void help_subst ( char * strbuf,
char * source,
char * dest )

Definition at line 482 of file serv_file.c.

References SIZ.

Referenced by do_help_subst().

◆ master_cleanup()

void master_cleanup ( int exitcode)

◆ master_startup()

◆ set_wtmpsupp()

void set_wtmpsupp ( char * newtext)

◆ set_wtmpsupp_to_current_room()

void set_wtmpsupp_to_current_room ( void )

Variable Documentation

◆ panic_fd

int panic_fd

Definition at line 27 of file citserver.c.

◆ server_startup_time

time_t server_startup_time

Definition at line 26 of file citserver.c.

Referenced by cmd_time(), and master_startup().