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_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_csr   "keys/citadel.csr"
 
#define file_crpt_file_cer   "keys/citadel.cer"
 
#define file_chkpwd   "chkpwd"
 
#define file_guesstimezone   "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 16 of file citadel_dirs.h.

◆ ctdl_bbsbase_dir

#define ctdl_bbsbase_dir   "."

Definition at line 19 of file citadel_dirs.h.

◆ ctdl_bin_dir

#define ctdl_bin_dir   "."

Definition at line 21 of file citadel_dirs.h.

◆ ctdl_db_dir

#define ctdl_db_dir   "data"

Definition at line 8 of file citadel_dirs.h.

◆ ctdl_file_dir

#define ctdl_file_dir   "files"

Definition at line 9 of file citadel_dirs.h.

◆ ctdl_home_directory

#define ctdl_home_directory   "."

Definition at line 7 of file citadel_dirs.h.

◆ ctdl_image_dir

#define ctdl_image_dir   "images"

Definition at line 11 of file citadel_dirs.h.

◆ ctdl_info_dir

#define ctdl_info_dir   "info"

Definition at line 12 of file citadel_dirs.h.

◆ ctdl_key_dir

#define ctdl_key_dir   "keys"

Definition at line 13 of file citadel_dirs.h.

◆ ctdl_message_dir

#define ctdl_message_dir   "messages"

Definition at line 14 of file citadel_dirs.h.

◆ ctdl_netcfg_dir

#define ctdl_netcfg_dir   "netconfigs"

Definition at line 18 of file citadel_dirs.h.

◆ ctdl_run_dir

#define ctdl_run_dir   "."

Definition at line 17 of file citadel_dirs.h.

◆ ctdl_sbin_dir

#define ctdl_sbin_dir   "."

Definition at line 20 of file citadel_dirs.h.

◆ ctdl_shared_dir

#define ctdl_shared_dir   "."

Definition at line 10 of file citadel_dirs.h.

◆ ctdl_usrpic_dir

#define ctdl_usrpic_dir   "userpics"

Definition at line 15 of file citadel_dirs.h.

◆ ctdl_utilbin_dir

#define ctdl_utilbin_dir   "."

Definition at line 22 of file citadel_dirs.h.

◆ file_arcq

#define file_arcq   "refcount_adjustments.dat"

Definition at line 28 of file citadel_dirs.h.

◆ file_chkpwd

#define file_chkpwd   "chkpwd"

Definition at line 36 of file citadel_dirs.h.

◆ file_citadel_admin_socket

#define file_citadel_admin_socket   "citadel-admin.socket"

Definition at line 30 of file citadel_dirs.h.

◆ file_citadel_config

#define file_citadel_config   "citadel.config"

Definition at line 25 of file citadel_dirs.h.

◆ file_citadel_socket

#define file_citadel_socket   "citadel.socket"

Definition at line 29 of file citadel_dirs.h.

◆ file_crpt_file_cer

#define file_crpt_file_cer   "keys/citadel.cer"

Definition at line 35 of file citadel_dirs.h.

◆ file_crpt_file_csr

#define file_crpt_file_csr   "keys/citadel.csr"

Definition at line 34 of file citadel_dirs.h.

◆ file_crpt_file_key

#define file_crpt_file_key   "keys/citadel.key"

Definition at line 33 of file citadel_dirs.h.

◆ file_guesstimezone

#define file_guesstimezone   "guesstimezone.sh"

Definition at line 37 of file citadel_dirs.h.

◆ file_lmtp_socket

#define file_lmtp_socket   "lmtp.socket"

Definition at line 26 of file citadel_dirs.h.

◆ file_lmtp_unfiltered_socket

#define file_lmtp_unfiltered_socket   "lmtp-unfiltered.socket"

Definition at line 27 of file citadel_dirs.h.

◆ file_pid_file

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

Definition at line 31 of file citadel_dirs.h.

◆ file_pid_paniclog

#define file_pid_paniclog   "panic.log"

Definition at line 32 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 
)

Definition at line 25 of file citadel_dirs.c.

References qrbuf, ctdlroom::QRnumber, and snprintf().

Referenced by iorarf_backend().

◆ create_digest_file()

FILE * create_digest_file ( struct ctdlroom room,
int  forceCreate 
)

◆ create_run_directories()

int create_run_directories ( long  UID,
long  GUID 
)

Definition at line 60 of file citadel_dirs.c.

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

Referenced by main(), and master_startup().

◆ remove_digest_file()

void remove_digest_file ( struct ctdlroom room)