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)  

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 CITADEL   PACKAGE_STRING
 
#define REV_LEVEL   939
 
#define REV_MIN   591
 
#define EXPORT_REV_MIN   931
 
#define LIBCITADEL_MIN   931
 
#define SERVER_TYPE   0
 
#define DEFAULT_ADMIN_USERNAME   "admin"
 
#define DEFAULT_ADMIN_PASSWORD   "citadel"
 
#define ROOMNAMELEN   128 /* The size of a roomname string */
 
#define USERNAME_SIZE   64 /* The size of a username string */
 
#define MAX_EDITORS   5 /* number of external editors supported ; must be at least 1 */
 
#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 174 of file citadel.h.

◆ AUTHMODE_LDAP

#define AUTHMODE_LDAP   2

Definition at line 175 of file citadel.h.

◆ AUTHMODE_LDAP_AD

#define AUTHMODE_LDAP_AD   3

Definition at line 176 of file citadel.h.

◆ AUTHMODE_NATIVE

#define AUTHMODE_NATIVE   0

Definition at line 173 of file citadel.h.

◆ CITADEL

#define CITADEL   PACKAGE_STRING

Definition at line 33 of file citadel.h.

◆ DEFAULT_ADMIN_PASSWORD

#define DEFAULT_ADMIN_PASSWORD   "citadel"

Definition at line 52 of file citadel.h.

◆ DEFAULT_ADMIN_USERNAME

#define DEFAULT_ADMIN_USERNAME   "admin"

Definition at line 51 of file citadel.h.

◆ EXPIRE_AGE

#define EXPIRE_AGE   3

Definition at line 72 of file citadel.h.

◆ EXPIRE_MANUAL

#define EXPIRE_MANUAL   1

Definition at line 70 of file citadel.h.

◆ EXPIRE_NEXTLEVEL

#define EXPIRE_NEXTLEVEL   0

Definition at line 69 of file citadel.h.

◆ EXPIRE_NUMMSGS

#define EXPIRE_NUMMSGS   2

Definition at line 71 of file citadel.h.

◆ EXPORT_REV_MIN

#define EXPORT_REV_MIN   931

Definition at line 37 of file citadel.h.

◆ F_INUSE

#define F_INUSE   1

Definition at line 152 of file citadel.h.

◆ LIBCITADEL_MIN

#define LIBCITADEL_MIN   931

Definition at line 38 of file citadel.h.

◆ LONG_MAX

#define LONG_MAX   2147483647L

Definition at line 167 of file citadel.h.

◆ MAX_EDITORS

#define MAX_EDITORS   5 /* number of external editors supported ; must be at least 1 */

Definition at line 58 of file citadel.h.

◆ MES_ANONONLY

#define MES_ANONONLY   66

Definition at line 136 of file citadel.h.

◆ MES_ANONOPT

#define MES_ANONOPT   67

Definition at line 137 of file citadel.h.

◆ MES_NORMAL

#define MES_NORMAL   65

Definition at line 135 of file citadel.h.

◆ MM_VALID

#define MM_VALID   4

Definition at line 101 of file citadel.h.

◆ NEWREGISTER

#define NEWREGISTER   0

Definition at line 158 of file citadel.h.

◆ NUM_CONFIGS

#define NUM_CONFIGS   71

Definition at line 162 of file citadel.h.

◆ REREGISTER

#define REREGISTER   1

Definition at line 159 of file citadel.h.

◆ REV_LEVEL

#define REV_LEVEL   939

Definition at line 35 of file citadel.h.

◆ REV_MIN

#define REV_MIN   591

Definition at line 36 of file citadel.h.

◆ ROOMNAMELEN

#define ROOMNAMELEN   128 /* The size of a roomname string */

Definition at line 56 of file citadel.h.

◆ SERVER_TYPE

#define SERVER_TYPE   0

Definition at line 39 of file citadel.h.

◆ TRACE

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

Definition at line 164 of file citadel.h.

◆ USERNAME_SIZE

#define USERNAME_SIZE   64 /* The size of a username string */

Definition at line 57 of file citadel.h.

Typedef Documentation

◆ ctdlroom

typedef struct ctdlroom ctdlroom

Definition at line 106 of file citadel.h.

◆ ctdluser

typedef struct ctdluser ctdluser

Definition at line 78 of file citadel.h.

◆ ExpirePolicy

typedef struct ExpirePolicy ExpirePolicy

Definition at line 63 of file citadel.h.

◆ floor

typedef struct floor floor

Definition at line 144 of file citadel.h.