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
0c9c0690
Commit
0c9c0690
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Replace WORD, DWORD, ushort with stdint types
parent
3c6d81de
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ftpsrvr.h
+6
-6
6 additions, 6 deletions
src/sbbs3/ftpsrvr.h
src/sbbs3/mailsrvr.h
+17
-17
17 additions, 17 deletions
src/sbbs3/mailsrvr.h
src/sbbs3/startup.h
+12
-12
12 additions, 12 deletions
src/sbbs3/startup.h
with
35 additions
and
35 deletions
src/sbbs3/ftpsrvr.h
+
6
−
6
View file @
0c9c0690
...
...
@@ -27,20 +27,20 @@
typedef
struct
{
STARTUP_COMMON_ELEMENTS
WORD
port
;
WORD
max_clients
;
uint16_t
port
;
uint16_t
max_clients
;
#define FTP_DEFAULT_MAX_CLIENTS 10
WORD
max_inactivity
;
uint16_t
max_inactivity
;
#define FTP_DEFAULT_MAX_INACTIVITY 300
WORD
qwk_timeout
;
uint16_t
qwk_timeout
;
#define FTP_DEFAULT_QWK_TIMEOUT 600
struct
in_addr
outgoing4
;
struct
in6_addr
outgoing6
;
str_list_t
interfaces
;
struct
in_addr
pasv_ip_addr
;
struct
in6_addr
pasv_ip6_addr
;
WORD
pasv_port_low
;
WORD
pasv_port_high
;
uint16_t
pasv_port_low
;
uint16_t
pasv_port_high
;
int64_t
min_fsize
;
/* Minimum file size accepted for upload */
int64_t
max_fsize
;
/* Maximum file size accepted for upload (0=unlimited) */
uint
max_concurrent_connections
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/mailsrvr.h
+
17
−
17
View file @
0c9c0690
...
...
@@ -28,33 +28,33 @@
typedef
struct
{
STARTUP_COMMON_ELEMENTS
WORD
smtp_port
;
WORD
pop3_port
;
WORD
pop3s_port
;
WORD
submission_port
;
WORD
submissions_port
;
WORD
max_clients
;
uint16_t
smtp_port
;
uint16_t
pop3_port
;
uint16_t
pop3s_port
;
uint16_t
submission_port
;
uint16_t
submissions_port
;
uint16_t
max_clients
;
#define MAIL_DEFAULT_MAX_CLIENTS 10
WORD
max_inactivity
;
uint16_t
max_inactivity
;
#define MAIL_DEFAULT_MAX_INACTIVITY 120
WORD
max_delivery_attempts
;
uint16_t
max_delivery_attempts
;
#define MAIL_DEFAULT_MAX_DELIVERY_ATTEMPTS 50
WORD
rescan_frequency
;
/* In seconds */
uint16_t
rescan_frequency
;
/* In seconds */
#define MAIL_DEFAULT_RESCAN_FREQUENCY 3600
WORD
relay_port
;
WORD
lines_per_yield
;
/* 0=none */
uint16_t
relay_port
;
uint16_t
lines_per_yield
;
/* 0=none */
#define MAIL_DEFAULT_LINES_PER_YIELD 10
WORD
max_recipients
;
uint16_t
max_recipients
;
#define MAIL_DEFAULT_MAX_RECIPIENTS 100
struct
in_addr
outgoing4
;
struct
in6_addr
outgoing6
;
str_list_t
interfaces
;
str_list_t
pop3_interfaces
;
DWORD
max_msg_size
;
/* Max msg size in bytes (0=unlimited) */
str_list_t
interfaces
;
str_list_t
pop3_interfaces
;
uint32_t
max_msg_size
;
/* Max msg size in bytes (0=unlimited) */
#define MAIL_DEFAULT_MAX_MSG_SIZE (20*1024*1024)
/* 20MB */
DWORD
max_msgs_waiting
;
/* Max msgs in user's inbox (0=unlimited) */
uint32_t
max_msgs_waiting
;
/* Max msgs in user's inbox (0=unlimited) */
#define MAIL_DEFAULT_MAX_MSGS_WAITING 100
DWORD
connect_timeout
;
/* in seconds, for non-blocking connect (0=blocking socket) */
uint32_t
connect_timeout
;
/* in seconds, for non-blocking connect (0=blocking socket) */
#define MAIL_DEFAULT_CONNECT_TIMEOUT 30
/* seconds */
/* Strings */
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/startup.h
+
12
−
12
View file @
0c9c0690
...
...
@@ -66,8 +66,8 @@ typedef struct {
char
ctrl_dir
[
INI_MAX_VALUE_LEN
];
char
temp_dir
[
INI_MAX_VALUE_LEN
];
char
host_name
[
INI_MAX_VALUE_LEN
];
u
short
sem_chk_freq
;
struct
in_addr
outgoing4
;
u
int16_t
sem_chk_freq
;
struct
in_addr
outgoing4
;
struct
in6_addr
outgoing6
;
str_list_t
interfaces
;
int
log_level
;
...
...
@@ -119,16 +119,16 @@ struct startup {
typedef
struct
{
STARTUP_COMMON_ELEMENTS
WORD
first_node
;
WORD
last_node
;
WORD
telnet_port
;
WORD
rlogin_port
;
WORD
pet40_port
;
// 40-column PETSCII terminal server
WORD
pet80_port
;
// 80-column PETSCII terminal server
WORD
ssh_port
;
WORD
ssh_connect_timeout
;
WORD
outbuf_highwater_mark
;
/* output block size control */
WORD
outbuf_drain_timeout
;
uint16_t
first_node
;
uint16_t
last_node
;
uint16_t
telnet_port
;
uint16_t
rlogin_port
;
uint16_t
pet40_port
;
// 40-column PETSCII terminal server
uint16_t
pet80_port
;
// 80-column PETSCII terminal server
uint16_t
ssh_port
;
uint16_t
ssh_connect_timeout
;
uint16_t
outbuf_highwater_mark
;
/* output block size control */
uint16_t
outbuf_drain_timeout
;
struct
in_addr
outgoing4
;
struct
in6_addr
outgoing6
;
str_list_t
telnet_interfaces
;
...
...
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