Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
c34d9688
Commit
c34d9688
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Moved bbs_thread function prototypes from bbs_thrd.h into startup.h.
parent
7e032bf4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/startup.h
+42
-0
42 additions, 0 deletions
src/sbbs3/startup.h
with
42 additions
and
0 deletions
src/sbbs3/startup.h
+
42
−
0
View file @
c34d9688
...
...
@@ -35,6 +35,9 @@
* Note: If this box doesn't appear square, then you need to fix your tabs. *
****************************************************************************/
#ifndef _STARTUP_H_
#define _STARTUP_H_
#ifdef _WIN32
#include
<windows.h>
#endif
...
...
@@ -103,3 +106,42 @@ typedef struct {
#define BBS_OPT_LOCAL_TIMEZONE (1<<30)
/* Don't force UCT/GMT */
#define BBS_OPT_MUTE (1<<31)
/* Mute sounds */
#ifdef __cplusplus
extern
"C"
{
#endif
#ifdef DLLEXPORT
#undef DLLEXPORT
#endif
#ifdef DLLCALL
#undef DLLCALL
#endif
#ifdef _WIN32
#ifdef SBBS_EXPORTS
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT __declspec(dllimport)
#endif
#ifdef __BORLANDC__
#define DLLCALL __stdcall
#else
#define DLLCALL
#endif
#else
#define DLLEXPORT
#define DLLCALL
#endif
/* arg is pointer to static bbs_startup_t* */
DLLEXPORT
void
DLLCALL
bbs_thread
(
void
*
arg
);
DLLEXPORT
void
DLLCALL
bbs_terminate
(
void
);
DLLEXPORT
const
char
*
DLLCALL
js_ver
(
void
);
DLLEXPORT
const
char
*
DLLCALL
bbs_ver
(
void
);
DLLEXPORT
long
DLLCALL
bbs_ver_num
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* Don't add anything after this line */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment