Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
127
Issues
127
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Commits
2fb9d626
Commit
2fb9d626
authored
Jul 08, 2007
by
deuce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
64-bit
parent
2e4897a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
src/sbbs3/fidodefs.h
src/sbbs3/fidodefs.h
+12
-12
src/sbbs3/nodedefs.h
src/sbbs3/nodedefs.h
+2
-2
src/sbbs3/qwknodes.c
src/sbbs3/qwknodes.c
+1
-1
No files found.
src/sbbs3/fidodefs.h
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 */
...
...
src/sbbs3/nodedefs.h
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__)
...
...
src/sbbs3/qwknodes.c
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
;
...
...
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