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
62827ae2
Commit
62827ae2
authored
Nov 04, 2000
by
rswindell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed use of _PACK macro for GNU/Linux compiler.
parent
7b1ae99f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
src/sbbs3/mxlookup.c
src/sbbs3/mxlookup.c
+3
-3
src/sbbs3/nodedefs.h
src/sbbs3/nodedefs.h
+1
-1
src/smblib/smbdefs.h
src/smblib/smbdefs.h
+11
-11
No files found.
src/sbbs3/mxlookup.c
View file @
62827ae2
...
...
@@ -61,19 +61,19 @@ typedef struct {
WORD
ancount
;
WORD
nscount
;
WORD
arcount
;
}
_PACK
dns_msghdr_t
;
}
dns_msghdr_t
_PACK
;
typedef
struct
{
WORD
type
;
WORD
class
;
}
_PACK
dns_query_t
;
}
dns_query_t
_PACK
;
typedef
struct
{
WORD
type
;
WORD
class
;
DWORD
ttl
;
WORD
length
;
}
_PACK
dns_rr_t
;
}
dns_rr_t
_PACK
;
#ifdef _WIN32
#pragma pack(pop)
/* original packing */
...
...
src/sbbs3/nodedefs.h
View file @
62827ae2
...
...
@@ -119,7 +119,7 @@ typedef struct { /* Node information kept in NODE.DAB */
misc
,
/* Miscellaneous bits for node */
aux
;
/* Auxillary word for node */
ulong
extaux
;
/* Extended aux dword for node */
}
_PACK
node_t
;
}
node_t
_PACK
;
#ifdef _WIN32
#pragma pack(pop)
/* original packing */
...
...
src/smblib/smbdefs.h
View file @
62827ae2
...
...
@@ -387,7 +387,7 @@ typedef struct { // Time with time-zone
ulong
time
;
// Local time (unix format)
short
zone
;
// Time zone
}
_PACK
when_t
;
}
when_t
_PACK
;
typedef
struct
{
// Index record
...
...
@@ -399,7 +399,7 @@ typedef struct { // Index record
ulong
number
;
// number of message (1 based)
ulong
time
;
// time/date message was imported/posted
}
_PACK
idxrec_t
;
}
idxrec_t
_PACK
;
typedef
struct
{
// Message base header (fixed portion)
...
...
@@ -407,7 +407,7 @@ typedef struct { // Message base header (fixed portion)
ushort
version
;
// version number (initially 100h for 1.00)
ushort
length
;
// length including this struct
}
_PACK
smbhdr_t
;
}
smbhdr_t
_PACK
;
typedef
struct
{
// Message base status header
...
...
@@ -419,7 +419,7 @@ typedef struct { // Message base status header
ushort
max_age
;
// Maximum age of message to keep in sub (in days)
ushort
attr
;
// Attributes for this message base (SMB_HYPER,etc)
}
_PACK
smbstatus_t
;
}
smbstatus_t
_PACK
;
typedef
struct
{
// Message header
...
...
@@ -441,7 +441,7 @@ typedef struct { // Message header
ulong
offset
;
// Offset for buffer into data file (0 or mod 256)
ushort
total_dfields
;
// Total number of data fields
}
_PACK
msghdr_t
;
}
msghdr_t
_PACK
;
typedef
struct
{
// Data field
...
...
@@ -449,14 +449,14 @@ typedef struct { // Data field
ulong
offset
;
// Offset into buffer
ulong
length
;
// Length of data field
}
_PACK
dfield_t
;
}
dfield_t
_PACK
;
typedef
struct
{
// Header field
ushort
type
;
ushort
length
;
// Length of buffer
}
_PACK
hfield_t
;
}
hfield_t
_PACK
;
typedef
struct
{
// FidoNet address (zone:net/node.point)
...
...
@@ -465,14 +465,14 @@ typedef struct { // FidoNet address (zone:net/node.point)
ushort
node
;
ushort
point
;
}
_PACK
fidoaddr_t
;
}
fidoaddr_t
_PACK
;
typedef
struct
{
// Network (type and address)
ushort
type
;
void
*
addr
;
}
_PACK
net_t
;
}
net_t
_PACK
;
typedef
struct
{
// Message
...
...
@@ -499,7 +499,7 @@ typedef struct { // Message
uchar
forwarded
;
// Forwarded from agent to another
when_t
expiration
;
// Message will exipre on this day (if >0)
}
_PACK
smbmsg_t
;
}
smbmsg_t
_PACK
;
typedef
struct
{
// Message base
...
...
@@ -514,7 +514,7 @@ typedef struct { // Message base
char
shd_buf
[
SHD_BLOCK_LEN
];
// File I/O buffer for header file
char
last_error
[
128
];
// Last error message
}
_PACK
smb_t
;
}
smb_t
_PACK
;
#ifdef _WIN32
#pragma pack(pop)
/* original packing */
...
...
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