Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit e14a757a authored by rswindell's avatar rswindell

New save-configuration functions (adopted from SCFG.EXE)

prep_dir() now returns a pointer to the prepared directory.
parent 6353cbca
......@@ -758,8 +758,17 @@ extern "C" {
DLLEXPORT void DLLCALL free_cfg(scfg_t* cfg);
DLLEXPORT void DLLCALL free_text(char* text[]);
/* save_cfg.c */
DLLEXPORT BOOL DLLCALL save_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_node_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_main_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_msgs_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_file_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_chat_cfg(scfg_t* cfg, int backup_level);
DLLEXPORT BOOL DLLCALL write_xtrn_cfg(scfg_t* cfg, int backup_level);
/* scfglib1.c */
DLLEXPORT void prep_dir(char* base, char* dir);
DLLEXPORT char* DLLCALL prep_dir(char* base, char* dir);
/* date_str.c */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment