Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
3fa6bebb
Commit
3fa6bebb
authored
Mar 24, 2022
by
Rob Swindell
💬
Browse files
DLL-export is_valid_XXXnum() functions, for web server use
Fixes recently broken Win32 build
parent
f5a4c16b
Pipeline
#2924
passed with stage
in 9 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/sbbs3/scfglib.h
src/sbbs3/scfglib.h
+5
-4
No files found.
src/sbbs3/scfglib.h
View file @
3fa6bebb
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#define _SCFGLIB_H
#define _SCFGLIB_H
#include "scfgdefs.h"
/* scfg_t */
#include "scfgdefs.h"
/* scfg_t */
#include "dllexport.h"
#define get_int(var,stream) { if(!fread(&var,1,sizeof(var),stream)) \
#define get_int(var,stream) { if(!fread(&var,1,sizeof(var),stream)) \
memset(&var,0,sizeof(var)); \
memset(&var,0,sizeof(var)); \
...
@@ -66,10 +67,10 @@ int getlibnum(scfg_t*, const char* code);
...
@@ -66,10 +67,10 @@ int getlibnum(scfg_t*, const char* code);
int
getsubnum
(
scfg_t
*
,
const
char
*
code
);
int
getsubnum
(
scfg_t
*
,
const
char
*
code
);
int
getgrpnum
(
scfg_t
*
,
const
char
*
code
);
int
getgrpnum
(
scfg_t
*
,
const
char
*
code
);
BOOL
is_valid_dirnum
(
scfg_t
*
,
int
);
DLLEXPORT
BOOL
is_valid_dirnum
(
scfg_t
*
,
int
);
BOOL
is_valid_libnum
(
scfg_t
*
,
int
);
DLLEXPORT
BOOL
is_valid_libnum
(
scfg_t
*
,
int
);
BOOL
is_valid_subnum
(
scfg_t
*
,
int
);
DLLEXPORT
BOOL
is_valid_subnum
(
scfg_t
*
,
int
);
BOOL
is_valid_grpnum
(
scfg_t
*
,
int
);
DLLEXPORT
BOOL
is_valid_grpnum
(
scfg_t
*
,
int
);
faddr_t
*
nearest_sysfaddr
(
scfg_t
*
,
faddr_t
*
);
faddr_t
*
nearest_sysfaddr
(
scfg_t
*
,
faddr_t
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment