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_dirs.h File Reference
#include <limits.h>
Include dependency graph for citadel_dirs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ctdl_home_directory   "."
 
#define ctdl_db_dir   "data"
 
#define ctdl_file_dir   "files"
 
#define ctdl_shared_dir   "."
 
#define ctdl_image_dir   "images"
 
#define ctdl_info_dir   "info"
 
#define ctdl_key_dir   "keys"
 
#define ctdl_message_dir   "messages"
 
#define ctdl_usrpic_dir   "userpics"
 
#define ctdl_autoetc_dir   "."
 
#define ctdl_run_dir   "."
 
#define ctdl_netcfg_dir   "netconfigs"
 
#define ctdl_bbsbase_dir   "."
 
#define ctdl_sbin_dir   "."
 
#define ctdl_bin_dir   "."
 
#define ctdl_utilbin_dir   "."
 
#define file_citadel_config   "citadel.config"
 
#define file_lmtp_socket   "lmtp.socket"
 
#define file_lmtp_unfiltered_socket   "lmtp-unfiltered.socket"
 
#define file_arcq   "refcount_adjustments.dat"
 
#define file_citadel_socket   "citadel.socket"
 
#define file_citadel_admin_socket   "citadel-admin.socket"
 
#define file_pid_file   "/var/run/citserver.pid"
 
#define file_pid_paniclog   "panic.log"
 
#define file_crpt_file_key   "keys/citadel.key"
 
#define file_crpt_file_cer   "keys/citadel.cer"
 
#define file_chkpwd   CTDLDIR "/chkpwd"
 
#define file_guesstimezone   CTDLDIR "/guesstimezone.sh"
 

Functions

int create_run_directories (long UID, long GUID)
 
size_t assoc_file_name (char *buf, size_t n, struct ctdlroom *qrbuf, const char *prefix)
 
FILE * create_digest_file (struct ctdlroom *room, int forceCreate)
 
void remove_digest_file (struct ctdlroom *room)
 

Macro Definition Documentation

◆ ctdl_autoetc_dir

#define ctdl_autoetc_dir   "."

Definition at line 22 of file citadel_dirs.h.

◆ ctdl_bbsbase_dir

#define ctdl_bbsbase_dir   "."

Definition at line 25 of file citadel_dirs.h.

◆ ctdl_bin_dir

#define ctdl_bin_dir   "."

Definition at line 27 of file citadel_dirs.h.

Referenced by check_xinetd_entry().

◆ ctdl_db_dir

#define ctdl_db_dir   "data"

Definition at line 14 of file citadel_dirs.h.

Referenced by bdb_open_databases(), and cdb_chmod_data().

◆ ctdl_file_dir

#define ctdl_file_dir   "files"

◆ ctdl_home_directory

#define ctdl_home_directory   "."

Definition at line 13 of file citadel_dirs.h.

◆ ctdl_image_dir

#define ctdl_image_dir   "images"

Definition at line 17 of file citadel_dirs.h.

Referenced by cmd_uimg(), and iorarf_backend().

◆ ctdl_info_dir

#define ctdl_info_dir   "info"

Definition at line 18 of file citadel_dirs.h.

Referenced by ingest_old_roominfo_and_roompic_files(), and iorarf_backend().

◆ ctdl_key_dir

#define ctdl_key_dir   "keys"

Definition at line 19 of file citadel_dirs.h.

Referenced by create_run_directories(), and master_startup().

◆ ctdl_message_dir

#define ctdl_message_dir   "messages"

◆ ctdl_netcfg_dir

#define ctdl_netcfg_dir   "netconfigs"

Definition at line 24 of file citadel_dirs.h.

Referenced by convert_legacy_netcfg_files().

◆ ctdl_run_dir

#define ctdl_run_dir   "."

Definition at line 23 of file citadel_dirs.h.

Referenced by create_run_directories(), ctdl_lockfile(), main(), and master_startup().

◆ ctdl_sbin_dir

#define ctdl_sbin_dir   "."

Definition at line 26 of file citadel_dirs.h.

◆ ctdl_shared_dir

#define ctdl_shared_dir   "."

Definition at line 16 of file citadel_dirs.h.

◆ ctdl_usrpic_dir

#define ctdl_usrpic_dir   "userpics"

Definition at line 21 of file citadel_dirs.h.

Referenced by import_old_userpic_files().

◆ ctdl_utilbin_dir

#define ctdl_utilbin_dir   "."

Definition at line 28 of file citadel_dirs.h.

◆ file_arcq

#define file_arcq   "refcount_adjustments.dat"

Definition at line 34 of file citadel_dirs.h.

Referenced by ProcessOldStyleAdjRefCountQueue().

◆ file_chkpwd

#define file_chkpwd   CTDLDIR "/chkpwd"

Definition at line 41 of file citadel_dirs.h.

Referenced by start_chkpwd_daemon().

◆ file_citadel_admin_socket

#define file_citadel_admin_socket   "citadel-admin.socket"

Definition at line 36 of file citadel_dirs.h.

Referenced by main(), and main().

◆ file_citadel_config

#define file_citadel_config   "citadel.config"

Definition at line 31 of file citadel_dirs.h.

Referenced by initialize_config_system().

◆ file_citadel_socket

#define file_citadel_socket   "citadel.socket"

Definition at line 35 of file citadel_dirs.h.

Referenced by loadtest(), and main().

◆ file_crpt_file_cer

#define file_crpt_file_cer   "keys/citadel.cer"

Definition at line 40 of file citadel_dirs.h.

◆ file_crpt_file_key

#define file_crpt_file_key   "keys/citadel.key"

Definition at line 39 of file citadel_dirs.h.

◆ file_guesstimezone

#define file_guesstimezone   CTDLDIR "/guesstimezone.sh"

Definition at line 42 of file citadel_dirs.h.

Referenced by guess_time_zone().

◆ file_lmtp_socket

#define file_lmtp_socket   "lmtp.socket"

Definition at line 32 of file citadel_dirs.h.

Referenced by ctdl_module_init_smtp(), and main().

◆ file_lmtp_unfiltered_socket

#define file_lmtp_unfiltered_socket   "lmtp-unfiltered.socket"

Definition at line 33 of file citadel_dirs.h.

Referenced by ctdl_module_init_smtp().

◆ file_pid_file

#define file_pid_file   "/var/run/citserver.pid"

Definition at line 37 of file citadel_dirs.h.

◆ file_pid_paniclog

#define file_pid_paniclog   "panic.log"

Definition at line 38 of file citadel_dirs.h.

Function Documentation

◆ assoc_file_name()

size_t assoc_file_name ( char * buf,
size_t n,
struct ctdlroom * qrbuf,
const char * prefix )
extern

Definition at line 23 of file citadel_dirs.c.

References ctdlroom::QRnumber.

Referenced by iorarf_backend().

◆ create_digest_file()

FILE * create_digest_file ( struct ctdlroom * room,
int forceCreate )
extern

◆ create_run_directories()

int create_run_directories ( long UID,
long GUID )
extern

Definition at line 52 of file citadel_dirs.c.

References create_dir(), ctdl_file_dir, ctdl_key_dir, ctdl_message_dir, and ctdl_run_dir.

Referenced by master_startup().

◆ remove_digest_file()

void remove_digest_file ( struct ctdlroom * room)
extern