Skip to content
Snippets Groups Projects
Commit adc12232 authored by rswindell's avatar rswindell
Browse files

Created NET_FIDO_ASCII net type for ASCIIZ (e.g. 5D) FidoNet addresses.

Created 'locked' field in smb_t used internally in smblib.c so that
smb_addmsghdr() will not try to re-lock an already locked SMB header,
eliminates a potential hole between calling smb_unlockmsghdr and smb_addmsghdr.
parent d208cb7b
No related branches found
No related tags found
No related merge requests found
...@@ -336,14 +336,15 @@ ...@@ -336,14 +336,15 @@
enum { enum {
NET_NONE NET_NONE /* Local message */
,NET_UNKNOWN ,NET_UNKNOWN /* Unknown network type */
,NET_FIDO ,NET_FIDO /* FidoNet address, faddr_t format (4D) */
,NET_POSTLINK ,NET_POSTLINK /* Imported with UTI driver */
,NET_QWK ,NET_QWK /* QWK networked messsage */
,NET_INTERNET ,NET_INTERNET /* Internet e-mail, netnews, etc. */
,NET_WWIV ,NET_WWIV /* unused */
,NET_MHS ,NET_MHS /* unused */
,NET_FIDO_ASCII /* FidoNet address, ASCIIZ format (e.g. 5D) */
/* Add new ones here */ /* Add new ones here */
...@@ -535,6 +536,7 @@ typedef struct { // Message base ...@@ -535,6 +536,7 @@ typedef struct { // Message base
ulong retry_time; // Maximum number of seconds to retry opens/locks ulong retry_time; // Maximum number of seconds to retry opens/locks
ulong retry_delay; // Time-slice yield (milliseconds) while retrying ulong retry_delay; // Time-slice yield (milliseconds) while retrying
smbstatus_t status; // Status header record smbstatus_t status; // Status header record
BOOL locked; // SMB header is locked
char shd_buf[SHD_BLOCK_LEN]; // File I/O buffer for header file char shd_buf[SHD_BLOCK_LEN]; // File I/O buffer for header file
char last_error[128]; // Last error message char last_error[128]; // Last error message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment