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
2fb9d626
Commit
2fb9d626
authored
17 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
64-bit
parent
2e4897a1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/fidodefs.h
+12
-12
12 additions, 12 deletions
src/sbbs3/fidodefs.h
src/sbbs3/nodedefs.h
+2
-2
2 additions, 2 deletions
src/sbbs3/nodedefs.h
src/sbbs3/qwknodes.c
+1
-1
1 addition, 1 deletion
src/sbbs3/qwknodes.c
with
15 additions
and
15 deletions
src/sbbs3/fidodefs.h
+
12
−
12
View file @
2fb9d626
...
...
@@ -77,7 +77,7 @@
#endif
typedef
struct
_PACK
{
/* Fidonet Packet Header */
shor
t
orignode
,
/* Origination Node of Packet */
int16_
t
orignode
,
/* Origination Node of Packet */
destnode
,
/* Destination Node of Packet */
year
,
/* Year of Packet Creation e.g. 1995 */
month
,
/* Month of Packet Creation 0-11 */
...
...
@@ -95,16 +95,16 @@ typedef struct _PACK { /* Fidonet Packet Header */
uchar
prodcode
,
/* Product Code (00h is Fido) */
sernum
,
/* Binary Serial Number or NULL */
password
[
FIDO_PASS_LEN
];
/* Session Password or NULL */
shor
t
origzone
,
/* Origination Zone of Packet or NULL */
int16_
t
origzone
,
/* Origination Zone of Packet or NULL */
destzone
;
/* Destination Zone of Packet or NULL */
union
{
char
padding
[
20
];
/* Fill Characters (Type 2.0) */
struct
{
/* OR Type 2+ Packet Header Info */
shor
t
auxnet
,
/* Orig Net if Origin is a Point */
int16_
t
auxnet
,
/* Orig Net if Origin is a Point */
cwcopy
;
/* Must be Equal to cword */
uchar
prodcode
,
/* Product Code */
revision
;
/* Revision */
shor
t
cword
,
/* Compatibility Word */
int16_
t
cword
,
/* Compatibility Word */
origzone
,
/* Zone of Packet Sender or NULL */
destzone
,
/* Zone of Packet Receiver or NULL */
origpoint
,
/* Origination Point of Packet */
...
...
@@ -124,13 +124,13 @@ typedef struct _PACK { /* Fidonet Packet Header */
#define FIDO_PACKET_TERMINATOR 0x0000
/* 16-bits */
typedef
struct
_PACK
{
/* FidoNet Packed Message Header */
shor
t
type
;
/* Message type: 2 */
shor
t
orignode
;
shor
t
destnode
;
shor
t
orignet
;
shor
t
destnet
;
shor
t
attr
;
shor
t
cost
;
int16_
t
type
;
/* Message type: 2 */
int16_
t
orignode
;
int16_
t
destnode
;
int16_
t
orignet
;
int16_
t
destnet
;
int16_
t
attr
;
int16_
t
cost
;
char
time
[
FIDO_TIME_LEN
];
/* Time in goof-ball ASCII format */
}
fpkdmsg_t
;
...
...
@@ -142,7 +142,7 @@ typedef struct _PACK { /* FidoNet Stored Message Header *.msg */
to
[
FIDO_NAME_LEN
],
/* To user */
subj
[
FIDO_SUBJ_LEN
],
/* Message title */
time
[
FIDO_TIME_LEN
];
/* Time in goof-ball ASCII format */
shor
t
read
,
/* Times read */
int16_
t
read
,
/* Times read */
destnode
,
/* Destination node */
orignode
,
/* Origin node */
cost
,
/* Cost in pennies */
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/nodedefs.h
+
2
−
2
View file @
2fb9d626
...
...
@@ -116,7 +116,7 @@ typedef struct _PACK { /* Node information kept in node.dab */
uchar
status
,
/* Current Status of Node */
errors
,
/* Number of Critical Errors */
action
;
/* Action User is doing on Node */
u
shor
t
useron
,
/* User on Node */
u
int16_
t
useron
,
/* User on Node */
connection
,
/* Connection rate of Node */
#define NODE_CONNECTION_LOCAL 0
#define NODE_CONNECTION_TELNET USHRT_MAX
/* 0xffff */
...
...
@@ -124,7 +124,7 @@ typedef struct _PACK { /* Node information kept in node.dab */
#define NODE_CONNECTION_SSH (USHRT_MAX-2)
misc
,
/* Miscellaneous bits for node */
aux
;
/* Auxillary word for node */
u
long
extaux
;
/* Extended aux dword for node */
u
int32_t
extaux
;
/* Extended aux dword for node */
}
node_t
;
#if defined(_WIN32) || defined(__BORLANDC__)
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/qwknodes.c
+
1
−
1
View file @
2fb9d626
...
...
@@ -97,7 +97,7 @@ void bail(int code)
char
*
loadmsgtail
(
smbmsg_t
msg
)
{
char
*
buf
=
NULL
;
u
shor
t
xlat
;
u
int16_
t
xlat
;
int
i
;
long
l
=
0
,
length
;
...
...
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