Skip to content
Snippets Groups Projects
Commit f1e59302 authored by rswindell's avatar rswindell
Browse files

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

Created ascii_str() function.
parent d0351212
No related branches found
No related tags found
No related merge requests found
...@@ -742,10 +742,10 @@ extern "C" { ...@@ -742,10 +742,10 @@ extern "C" {
DLLEXPORT long DLLCALL getfiles(scfg_t* cfg, uint dirnum); 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 char* DLLCALL ascii_str(uchar* str);
DLLEXPORT ushort DLLCALL crc16(char *str); DLLEXPORT ushort DLLCALL crc16(char *str);
DLLEXPORT char * DLLCALL zonestr(short zone); 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); DLLEXPORT int DLLCALL putsmsg(scfg_t* cfg, int usernumber, char *strin);
/* load_cfg.C */ /* load_cfg.C */
...@@ -767,6 +767,8 @@ extern "C" { ...@@ -767,6 +767,8 @@ extern "C" {
DLLEXPORT BOOL DLLCALL hacklog(scfg_t* cfg, char* prot, char* user, char* text, DLLEXPORT BOOL DLLCALL hacklog(scfg_t* cfg, char* prot, char* user, char* text,
char* host, SOCKADDR_IN* addr); char* host, SOCKADDR_IN* addr);
DLLEXPORT char* DLLCALL remove_ctrl_a(char* instr, char* outstr);
#ifdef JAVASCRIPT #ifdef JAVASCRIPT
/* sysobj.c */ /* sysobj.c */
...@@ -808,9 +810,6 @@ extern "C" { ...@@ -808,9 +810,6 @@ extern "C" {
/* qwk.cpp */ /* qwk.cpp */
void remove_re(char *str); void remove_re(char *str);
#ifdef __cplusplus
char* remove_ctrl_a(char* instr, char* outstr=NULL);
#endif
/* sortdir.cpp */ /* sortdir.cpp */
int fnamecmp_a(char **str1, char **str2); /* for use with resort() */ int fnamecmp_a(char **str1, char **str2); /* for use with resort() */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment