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)  

Loading...
Searching...
No Matches
citadel.h File Reference
#include "sysdep.h"
#include <limits.h>
#include "sysconfig.h"
#include "typesize.h"
#include "ipcdef.h"
Include dependency graph for citadel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExpirePolicy
 
struct  ctdluser
 
struct  ctdlroom
 
struct  floor
 

Macros

#define REV_LEVEL   959
 
#define REV_MIN   591
 
#define EXPORT_REV_MIN   931
 
#define LIBCITADEL_MIN   951
 
#define SERVER_TYPE   0
 
#define STR_HELPER(x)   #x
 
#define STR(x)   STR_HELPER(x)
 
#define CITADEL   "Citadel Server " STR(REV_LEVEL)
 
#define DEFAULT_ADMIN_USERNAME   "admin"
 
#define DEFAULT_ADMIN_PASSWORD   "citadel"
 
#define ROOMNAMELEN   128
 
#define USERNAME_SIZE   64
 
#define MAX_EDITORS   5
 
#define EXPIRE_NEXTLEVEL   0
 
#define EXPIRE_MANUAL   1
 
#define EXPIRE_NUMMSGS   2
 
#define EXPIRE_AGE   3
 
#define MM_VALID   4
 
#define MES_NORMAL   65
 
#define MES_ANONONLY   66
 
#define MES_ANONOPT   67
 
#define F_INUSE   1
 
#define NEWREGISTER   0
 
#define REREGISTER   1
 
#define NUM_CONFIGS   71
 
#define TRACE   syslog(LOG_DEBUG, "\033[7m Checkpoint: %s : %d \033[0m", __FILE__, __LINE__)
 
#define LONG_MAX   2147483647L
 
#define AUTHMODE_NATIVE   0
 
#define AUTHMODE_HOST   1
 
#define AUTHMODE_LDAP   2
 
#define AUTHMODE_LDAP_AD   3
 

Typedefs

typedef struct ExpirePolicy ExpirePolicy
 
typedef struct ctdluser ctdluser
 
typedef struct ctdlroom ctdlroom
 
typedef struct floor floor
 

Macro Definition Documentation

◆ AUTHMODE_HOST

#define AUTHMODE_HOST   1

Definition at line 148 of file citadel.h.

◆ AUTHMODE_LDAP

#define AUTHMODE_LDAP   2

Definition at line 149 of file citadel.h.

◆ AUTHMODE_LDAP_AD

#define AUTHMODE_LDAP_AD   3

Definition at line 150 of file citadel.h.

◆ AUTHMODE_NATIVE

#define AUTHMODE_NATIVE   0

Definition at line 147 of file citadel.h.

◆ CITADEL

#define CITADEL   "Citadel Server " STR(REV_LEVEL)

Definition at line 37 of file citadel.h.

◆ DEFAULT_ADMIN_PASSWORD

#define DEFAULT_ADMIN_PASSWORD   "citadel"

Definition at line 48 of file citadel.h.

◆ DEFAULT_ADMIN_USERNAME

#define DEFAULT_ADMIN_USERNAME   "admin"

Definition at line 47 of file citadel.h.

◆ EXPIRE_AGE

#define EXPIRE_AGE   3

Definition at line 65 of file citadel.h.

◆ EXPIRE_MANUAL

#define EXPIRE_MANUAL   1

Definition at line 63 of file citadel.h.

◆ EXPIRE_NEXTLEVEL

#define EXPIRE_NEXTLEVEL   0

Definition at line 62 of file citadel.h.

◆ EXPIRE_NUMMSGS

#define EXPIRE_NUMMSGS   2

Definition at line 64 of file citadel.h.

◆ EXPORT_REV_MIN

#define EXPORT_REV_MIN   931

Definition at line 30 of file citadel.h.

◆ F_INUSE

#define F_INUSE   1

Definition at line 131 of file citadel.h.

◆ LIBCITADEL_MIN

#define LIBCITADEL_MIN   951

Definition at line 31 of file citadel.h.

◆ LONG_MAX

#define LONG_MAX   2147483647L

Definition at line 143 of file citadel.h.

◆ MAX_EDITORS

#define MAX_EDITORS   5

Definition at line 53 of file citadel.h.

◆ MES_ANONONLY

#define MES_ANONONLY   66

Definition at line 119 of file citadel.h.

◆ MES_ANONOPT

#define MES_ANONOPT   67

Definition at line 120 of file citadel.h.

◆ MES_NORMAL

#define MES_NORMAL   65

Definition at line 118 of file citadel.h.

◆ MM_VALID

#define MM_VALID   4

Definition at line 89 of file citadel.h.

◆ NEWREGISTER

#define NEWREGISTER   0

Definition at line 134 of file citadel.h.

◆ NUM_CONFIGS

#define NUM_CONFIGS   71

Definition at line 138 of file citadel.h.

◆ REREGISTER

#define REREGISTER   1

Definition at line 135 of file citadel.h.

◆ REV_LEVEL

#define REV_LEVEL   959

Definition at line 28 of file citadel.h.

◆ REV_MIN

#define REV_MIN   591

Definition at line 29 of file citadel.h.

◆ ROOMNAMELEN

#define ROOMNAMELEN   128

Definition at line 51 of file citadel.h.

◆ SERVER_TYPE

#define SERVER_TYPE   0

Definition at line 32 of file citadel.h.

◆ STR

#define STR (   x)    STR_HELPER(x)

Definition at line 36 of file citadel.h.

◆ STR_HELPER

#define STR_HELPER (   x)    #x

Definition at line 35 of file citadel.h.

◆ TRACE

#define TRACE   syslog(LOG_DEBUG, "\033[7m Checkpoint: %s : %d \033[0m", __FILE__, __LINE__)

Definition at line 140 of file citadel.h.

◆ USERNAME_SIZE

#define USERNAME_SIZE   64

Definition at line 52 of file citadel.h.

Typedef Documentation

◆ ctdlroom

typedef struct ctdlroom ctdlroom

Definition at line 92 of file citadel.h.

◆ ctdluser

typedef struct ctdluser ctdluser

Definition at line 68 of file citadel.h.

◆ ExpirePolicy

typedef struct ExpirePolicy ExpirePolicy

Definition at line 56 of file citadel.h.

◆ floor

typedef struct floor floor

Definition at line 123 of file citadel.h.