"Fossies" - the Fresh Open Source Software Archive

Member "citadel/citadel_dirs.h" (5 Jun 2021, 1657 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "citadel_dirs.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef __CITADEL_DIRS_H
    2 #define __CITADEL_DIRS_H
    3 
    4 #include <limits.h>
    5 
    6 /* Fixed directory names (some of these are obsolete and used only for migration) */
    7 #define ctdl_home_directory "."
    8 #define ctdl_db_dir     "data"
    9 #define ctdl_file_dir       "files"
   10 #define ctdl_shared_dir     "."
   11 #define ctdl_image_dir      "images"
   12 #define ctdl_info_dir       "info"
   13 #define ctdl_key_dir        "keys"
   14 #define ctdl_message_dir    "messages"
   15 #define ctdl_usrpic_dir     "userpics"
   16 #define ctdl_autoetc_dir    "."
   17 #define ctdl_run_dir        "."
   18 #define ctdl_netcfg_dir     "netconfigs"
   19 #define ctdl_bbsbase_dir    "."
   20 #define ctdl_sbin_dir       "."
   21 #define ctdl_bin_dir        "."
   22 #define ctdl_utilbin_dir    "."
   23 
   24 /* Fixed file names (some of these are obsolete and used only for migration) */
   25 #define file_citadel_config     "citadel.config"
   26 #define file_lmtp_socket        "lmtp.socket"
   27 #define file_lmtp_unfiltered_socket "lmtp-unfiltered.socket"
   28 #define file_arcq           "refcount_adjustments.dat"
   29 #define file_citadel_socket     "citadel.socket"
   30 #define file_citadel_admin_socket   "citadel-admin.socket"
   31 #define file_pid_file           "/var/run/citserver.pid"
   32 #define file_pid_paniclog       "panic.log"
   33 #define file_crpt_file_key      "keys/citadel.key"
   34 #define file_crpt_file_csr      "keys/citadel.csr"
   35 #define file_crpt_file_cer      "keys/citadel.cer"
   36 #define file_chkpwd         "chkpwd"
   37 #define file_guesstimezone      "guesstimezone.sh"
   38 
   39 
   40 /* externs */
   41 extern int create_run_directories(long UID, long GUID);
   42 extern size_t assoc_file_name(char *buf, size_t n, struct ctdlroom *qrbuf, const char *prefix);
   43 extern FILE *create_digest_file(struct ctdlroom *room, int forceCreate);
   44 extern void remove_digest_file(struct ctdlroom *room);
   45 
   46 #endif /* __CITADEL_DIRS_H */