Back to index

citadel  8.12
citadel_dirs.h
Go to the documentation of this file.
00001 #ifndef __CITADEL_DIRS_H
00002 #define __CITADEL_DIRS_H
00003 
00004 #include <limits.h>
00005 
00006 
00007 extern char ctdl_home_directory[PATH_MAX];
00008 
00009 
00010 /* all our directories */
00011 extern char ctdl_bio_dir[PATH_MAX];
00012 extern char ctdl_bb_dir[PATH_MAX];
00013 extern char ctdl_data_dir[PATH_MAX];
00014 extern char ctdl_dspam_dir[PATH_MAX];
00015 extern char ctdl_file_dir[PATH_MAX];
00016 extern char ctdl_hlp_dir[PATH_MAX];
00017 extern char ctdl_shared_dir[PATH_MAX];
00018 extern char ctdl_image_dir[PATH_MAX];
00019 extern char ctdl_info_dir[PATH_MAX];
00020 extern char ctdl_key_dir[PATH_MAX];
00021 extern char ctdl_message_dir[PATH_MAX];
00022 extern char ctdl_usrpic_dir[PATH_MAX];
00023 extern char ctdl_etc_dir[PATH_MAX];
00024 extern char ctdl_autoetc_dir[PATH_MAX];
00025 extern char ctdl_run_dir[PATH_MAX];
00026 extern char ctdl_spool_dir[PATH_MAX];
00027 extern char ctdl_netout_dir[PATH_MAX];
00028 extern char ctdl_netin_dir[PATH_MAX];
00029 extern char ctdl_nettmp_dir[PATH_MAX];
00030 extern char ctdl_netcfg_dir[PATH_MAX];
00031 extern char ctdl_bbsbase_dir[PATH_MAX];
00032 extern char ctdl_sbin_dir[PATH_MAX];
00033 extern char ctdl_bin_dir[PATH_MAX];
00034 extern char ctdl_utilbin_dir[PATH_MAX];
00035 
00036 
00037 
00038 /* some of the frequently used files */
00039 extern char file_citadel_control[PATH_MAX];
00040 extern char file_citadel_rc[PATH_MAX];
00041 extern char file_citadel_config[PATH_MAX];
00042 extern char file_citadel_urlshorteners[PATH_MAX];
00043 extern char file_lmtp_socket[PATH_MAX];
00044 extern char file_lmtp_unfiltered_socket[PATH_MAX];
00045 extern char file_arcq[PATH_MAX];
00046 extern char file_citadel_socket[PATH_MAX];
00047 extern char file_citadel_admin_socket[PATH_MAX];
00048 extern char file_mail_aliases[PATH_MAX];
00049 extern char file_pid_file[PATH_MAX];
00050 extern char file_pid_paniclog[PATH_MAX];
00051 extern char file_crpt_file_key[PATH_MAX];
00052 extern char file_crpt_file_csr[PATH_MAX];
00053 extern char file_crpt_file_cer[PATH_MAX];
00054 extern char file_chkpwd[PATH_MAX];
00055 extern char file_base64[PATH_MAX];
00056 extern char file_guesstimezone[PATH_MAX];
00057 extern char file_dpsam_conf[PATH_MAX];
00058 extern char file_dspam_log[PATH_MAX];
00059 
00060 extern char file_funambol_msg[PATH_MAX];
00061 
00062 extern void calc_dirs_n_files(int relh, int home, const char *relhome, char  *ctdldir, int dbg);
00063 
00064 
00065 extern void create_run_directories(long UID, long GUID);
00066 
00067 extern size_t assoc_file_name(char *buf, 
00068                          size_t n,
00069                          struct ctdlroom *qrbuf, 
00070                          const char *prefix);
00071 
00072 #endif /* __CITADEL_DIRS_H */