1 #ifndef __CITADEL_DIRS_H
2 #define __CITADEL_DIRS_H
7 extern char ctdl_home_directory
[PATH_MAX
];
10 /* all our directories */
11 extern char ctdl_bio_dir
[PATH_MAX
];
12 extern char ctdl_bb_dir
[PATH_MAX
];
13 extern char ctdl_data_dir
[PATH_MAX
];
14 extern char ctdl_dspam_dir
[PATH_MAX
];
15 extern char ctdl_file_dir
[PATH_MAX
];
16 extern char ctdl_hlp_dir
[PATH_MAX
];
17 extern char ctdl_image_dir
[PATH_MAX
];
18 extern char ctdl_info_dir
[PATH_MAX
];
19 extern char ctdl_key_dir
[PATH_MAX
];
20 extern char ctdl_message_dir
[PATH_MAX
];
21 extern char ctdl_usrpic_dir
[PATH_MAX
];
22 extern char ctdl_etc_dir
[PATH_MAX
];
23 extern char ctdl_run_dir
[PATH_MAX
];
24 extern char ctdl_spool_dir
[PATH_MAX
];
25 extern char ctdl_netout_dir
[PATH_MAX
];
26 extern char ctdl_netin_dir
[PATH_MAX
];
27 extern char ctdl_netcfg_dir
[PATH_MAX
];
28 extern char ctdl_bbsbase_dir
[PATH_MAX
];
29 extern char ctdl_sbin_dir
[PATH_MAX
];
30 extern char ctdl_bin_dir
[PATH_MAX
];
31 extern char ctdl_utilbin_dir
[PATH_MAX
];
35 /* some of the frequently used files */
36 extern char file_citadel_control
[PATH_MAX
];
37 extern char file_citadel_rc
[PATH_MAX
];
38 extern char file_citadel_config
[PATH_MAX
];
39 extern char file_lmtp_socket
[PATH_MAX
];
40 extern char file_lmtp_unfiltered_socket
[PATH_MAX
];
41 extern char file_arcq
[PATH_MAX
];
42 extern char file_citadel_socket
[PATH_MAX
];
43 extern char file_mail_aliases
[PATH_MAX
];
44 extern char file_pid_file
[PATH_MAX
];
45 extern char file_pid_paniclog
[PATH_MAX
];
46 extern char file_crpt_file_key
[PATH_MAX
];
47 extern char file_crpt_file_csr
[PATH_MAX
];
48 extern char file_crpt_file_cer
[PATH_MAX
];
49 extern char file_chkpwd
[PATH_MAX
];
50 extern char file_base64
[PATH_MAX
];
51 extern char file_guesstimezone
[PATH_MAX
];
52 extern char file_dpsam_conf
[PATH_MAX
];
53 extern char file_dspam_log
[PATH_MAX
];
55 extern char file_funambol_msg
[PATH_MAX
];
57 extern void calc_dirs_n_files(int relh
, int home
, const char *relhome
, char *ctdldir
, int dbg
);
60 void assoc_file_name(char *buf
, size_t n
,
61 struct ctdlroom
*qrbuf
, const char *prefix
);
63 #endif /* __CITADEL_DIRS_H */