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
f53b19b4
Commit
f53b19b4
authored
20 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added byte-offset comments to msghdr_t definition.
parent
03db7f43
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/smblib/smbdefs.h
+20
-20
20 additions, 20 deletions
src/smblib/smbdefs.h
with
20 additions
and
20 deletions
src/smblib/smbdefs.h
+
20
−
20
View file @
f53b19b4
...
...
@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 200
0
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
4
Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
...
...
@@ -475,25 +475,25 @@ typedef struct _PACK { /* Message base status header */
typedef
struct
_PACK
{
/* Message header */
uchar
id
[
LEN_HEADER_ID
];
/* SHD<^Z> */
ushort
type
;
/* Message type (normally 0) */
ushort
version
;
/* Version of type (initially 100h for 1.00) */
ushort
length
;
/* Total length of fixed record + all fields */
ushort
attr
;
/* Attributes (bit field) (duped in SID) */
ulong
auxattr
;
/* Auxillary attributes (bit field) */
ulong
netattr
;
/* Network attributes */
when_t
when_written
;
/* Date/time/zone message was written */
when_t
when_imported
;
/* Date/time/zone message was imported */
ulong
number
;
/* Message number */
ulong
thread_orig
;
/* Original message number in thread */
ulong
thread_next
;
/* Next message in thread */
ulong
thread_first
;
/* First reply to this message */
ushort
delivery_attempts
;
/* Delivery attempt counter */
ulong
times_downloaded
;
/* Total number of times downloaded */
ulong
last_downloaded
;
/* Date/time of last download */
uchar
reserved
[
6
];
/* Reserved for future use */
ulong
offset
;
/* Offset for buffer into data file (0 or mod 256) */
ushort
total_dfields
;
/* Total number of data fields */
/* 00 */
uchar
id
[
LEN_HEADER_ID
];
/* SHD<^Z> */
/* 04 */
ushort
type
;
/* Message type (normally 0) */
/* 06 */
ushort
version
;
/* Version of type (initially 100h for 1.00) */
/* 08 */
ushort
length
;
/* Total length of fixed record + all fields */
/* 0a */
ushort
attr
;
/* Attributes (bit field) (duped in SID) */
/* 0c */
ulong
auxattr
;
/* Auxillary attributes (bit field) */
/* 10 */
ulong
netattr
;
/* Network attributes */
/* 14 */
when_t
when_written
;
/* Date/time/zone message was written */
/* 1a */
when_t
when_imported
;
/* Date/time/zone message was imported */
/* 20 */
ulong
number
;
/* Message number */
/* 24 */
ulong
thread_orig
;
/* Original message number in thread */
/* 28 */
ulong
thread_next
;
/* Next message in thread */
/* 2c */
ulong
thread_first
;
/* First reply to this message */
/* 30 */
ushort
delivery_attempts
;
/* Delivery attempt counter */
/* 32 */
ulong
times_downloaded
;
/* Total number of times downloaded */
/* 36 */
ulong
last_downloaded
;
/* Date/time of last download */
/* 3a */
uchar
reserved
[
6
];
/* Reserved for future use */
/* 40 */
ulong
offset
;
/* Offset for buffer into data file (0 or mod 256) */
/* 44 */
ushort
total_dfields
;
/* Total number of data fields */
}
msghdr_t
;
...
...
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