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

Commit f1e59302 authored by rswindell's avatar rswindell

remove_ctrl_a() requires both parms now (no longer C++) and DLL-exported.

Created ascii_str() function.
parent d0351212
......@@ -742,10 +742,10 @@ extern "C" {
DLLEXPORT long DLLCALL getfiles(scfg_t* cfg, uint dirnum);
/* str.cpp */
DLLEXPORT BOOL DLLCALL trashcan(scfg_t* cfg, char *insearch, char *name);
DLLEXPORT char* DLLCALL ascii_str(uchar* str);
DLLEXPORT ushort DLLCALL crc16(char *str);
DLLEXPORT char * DLLCALL zonestr(short zone);
DLLEXPORT BOOL DLLCALL trashcan(scfg_t* cfg, char *insearch, char *name);
DLLEXPORT int DLLCALL putsmsg(scfg_t* cfg, int usernumber, char *strin);
/* load_cfg.C */
......@@ -767,6 +767,8 @@ extern "C" {
DLLEXPORT BOOL DLLCALL hacklog(scfg_t* cfg, char* prot, char* user, char* text,
char* host, SOCKADDR_IN* addr);
DLLEXPORT char* DLLCALL remove_ctrl_a(char* instr, char* outstr);
/* sysobj.c */
......@@ -808,9 +810,6 @@ extern "C" {
/* qwk.cpp */
void remove_re(char *str);
#ifdef __cplusplus
char* remove_ctrl_a(char* instr, char* outstr=NULL);
/* sortdir.cpp */
int fnamecmp_a(char **str1, char **str2); /* for use with resort() */
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