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 f48fad97 authored by rswindell's avatar rswindell

Exported backup() from scfgsave.c.

parent 10822f28
......@@ -796,7 +796,7 @@ extern "C" {
DLLEXPORT void DLLCALL free_cfg(scfg_t* cfg);
DLLEXPORT void DLLCALL free_text(char* text[]);
/* save_cfg.c */
/* scfgsave.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);
......@@ -804,6 +804,7 @@ extern "C" {
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);
DLLEXPORT void DLLCALL backup(char *org, int backup_level, BOOL ren);
/* scfglib1.c */
DLLEXPORT char * DLLCALL prep_dir(char* base, char* dir);
......
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