char file_crpt_file_cer[PATH_MAX]="";
char file_chkpwd[PATH_MAX]="";
char file_base64[PATH_MAX]="";
+char file_funambol_msg[PATH_MAX] = "";
+char file_dpsam_conf[PATH_MAX] = "";
+char file_dspam_log[PATH_MAX] = "";
-int home_specified = 0;
-
-
-
-
-
-
-
-
- /* calculate all our path on a central place */
- /* where to keep our config */
-
#define COMPUTE_DIRECTORY(SUBDIR) memcpy(dirbuffer,SUBDIR, sizeof dirbuffer);\
snprintf(SUBDIR,sizeof SUBDIR, "%s%s%s%s%s%s%s", \
(home&!relh)?ctdl_home_directory:basedir, \
"%sbase64",
ctdl_utilbin_dir);
-
+ snprintf(file_dpsam_conf,
+ sizeof file_dpsam_conf,
+ "%sdspam.conf",
+ ctdl_etc_dir);
+ snprintf(file_dspam_log,
+ sizeof file_dspam_log,
+ "%sdspam.log",
+ ctdl_home_directory);
+
/*
* DIRTY HACK FOLLOWS! due to configs in the network dir in the
* legacy installations, we need to calculate ifdeffed here.
ctdl_spool_dir
#endif
);
-
+
+ snprintf(file_funambol_msg,
+ sizeof file_funambol_msg,
+ "%sfunambol_newmail_soap.xml",
+ ctdl_spool_dir);
+
DBG_PRINT(ctdl_bio_dir);
DBG_PRINT(ctdl_bb_dir);
DBG_PRINT(ctdl_data_dir);
DBG_PRINT(file_crpt_file_cer);
DBG_PRINT(file_chkpwd);
DBG_PRINT(file_base64);
+ DBG_PRINT(file_funambol_msg);
}