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

getfiles() and getposts() are now DLL-exported for use in the FTP server.

parent 0202bc15
...@@ -738,6 +738,9 @@ extern "C" { ...@@ -738,6 +738,9 @@ extern "C" {
DLLEXPORT char * DLLCALL unpadfname(char *filename, char *str); DLLEXPORT char * DLLCALL unpadfname(char *filename, char *str);
DLLEXPORT BOOL DLLCALL rmuserxfers(scfg_t* cfg, int fromuser, int destuser, char *fname); DLLEXPORT BOOL DLLCALL rmuserxfers(scfg_t* cfg, int fromuser, int destuser, char *fname);
DLLEXPORT ulong DLLCALL getposts(scfg_t* cfg, uint subnum);
DLLEXPORT long DLLCALL getfiles(scfg_t* cfg, uint dirnum);
/* str.cpp */ /* str.cpp */
DLLEXPORT BOOL DLLCALL trashcan(scfg_t* cfg, char *insearch, char *name); DLLEXPORT BOOL DLLCALL trashcan(scfg_t* cfg, char *insearch, char *name);
...@@ -821,9 +824,6 @@ extern "C" { ...@@ -821,9 +824,6 @@ extern "C" {
void packchatpass(char *pass, node_t* node); void packchatpass(char *pass, node_t* node);
char * unpackchatpass(char *pass, node_t* node); char * unpackchatpass(char *pass, node_t* node);
ulong getposts(scfg_t* cfg, uint subnum);
long getfiles(scfg_t* cfg, uint dirnum);
#endif /* SBBS */ #endif /* SBBS */
extern const char* wday[]; /* abbreviated weekday names */ extern const char* wday[]; /* abbreviated weekday names */
......
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