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
Go to the documentation of this file.
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 */
41extern int create_run_directories(long UID, long GUID);
42extern size_t assoc_file_name(char *buf, size_t n, struct ctdlroom *qrbuf, const char *prefix);
43extern FILE *create_digest_file(struct ctdlroom *room, int forceCreate);
44extern void remove_digest_file(struct ctdlroom *room);
45
46#endif /* __CITADEL_DIRS_H */
size_t assoc_file_name(char *buf, size_t n, struct ctdlroom *qrbuf, const char *prefix)
Definition: citadel_dirs.c:25
void remove_digest_file(struct ctdlroom *room)
FILE * create_digest_file(struct ctdlroom *room, int forceCreate)
int create_run_directories(long UID, long GUID)
Definition: citadel_dirs.c:60
struct ctdlroom qrbuf
Definition: serv_migrate.c:497