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
34fd1e8d
Commit
34fd1e8d
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Exported telnet description functions.
parent
5fd967bc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/telnet.c
+2
-2
2 additions, 2 deletions
src/sbbs3/telnet.c
src/sbbs3/telnet.h
+27
-2
27 additions, 2 deletions
src/sbbs3/telnet.h
with
29 additions
and
4 deletions
src/sbbs3/telnet.c
+
2
−
2
View file @
34fd1e8d
...
...
@@ -39,7 +39,7 @@
#include
"gen_defs.h"
#include
"telnet.h"
const
char
*
telnet_cmd_desc
(
uchar
cmd
)
const
char
*
DLLCALL
telnet_cmd_desc
(
uchar
cmd
)
{
static
char
unknown
[
32
];
...
...
@@ -112,7 +112,7 @@ char* telnet_option_descriptions[]={
,
"TN3270E"
};
const
char
*
telnet_opt_desc
(
uchar
opt
)
const
char
*
DLLCALL
telnet_opt_desc
(
uchar
opt
)
{
static
char
unknown
[
32
];
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/telnet.h
+
27
−
2
View file @
34fd1e8d
...
...
@@ -110,11 +110,36 @@ enum {
#define TELNET_MODE_ECHO (1<<1)
#define TELNET_MODE_GATE (1<<2) // Pass-through telnet commands/responses
#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
#ifdef __cplusplus
extern
"C"
{
#endif
const
char
*
telnet_cmd_desc
(
uchar
cmd
);
const
char
*
telnet_opt_desc
(
uchar
opt
);
DLLEXPORT
const
char
*
DLLCALL
telnet_cmd_desc
(
uchar
cmd
);
DLLEXPORT
const
char
*
DLLCALL
telnet_opt_desc
(
uchar
opt
);
#ifdef __cplusplus
}
#endif
\ No newline at end of file
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