Tab chars (0x9) was replaced with spaces
This commit is contained in:
@@ -48,25 +48,25 @@
|
||||
/* CONFIG.flags */
|
||||
/********************************************************/
|
||||
#define RETEAR 0x00000001l
|
||||
#define AUTOCREATE 0x00000002l
|
||||
#define KILLEMPTY 0x00000004l
|
||||
#define KILLDUPES 0x00000008l
|
||||
#define FRONTDOOR 0x00000010l
|
||||
#define DBRIDGE 0x00000020l
|
||||
#define BINKLEY 0x00000040l
|
||||
#define INTERMAIL 0x00000080l
|
||||
#define AUTOCREATE 0x00000002l
|
||||
#define KILLEMPTY 0x00000004l
|
||||
#define KILLDUPES 0x00000008l
|
||||
#define FRONTDOOR 0x00000010l
|
||||
#define DBRIDGE 0x00000020l
|
||||
#define BINKLEY 0x00000040l
|
||||
#define INTERMAIL 0x00000080l
|
||||
//#define SWAP_XMS 0x00000100l
|
||||
//#define SWAP_EMS 0x00000200l
|
||||
//#define SWAP_DISK 0x00000400l
|
||||
#define PURGE_PROCESSDATE 0x00008000l
|
||||
#define MAILER_RESCAN 0x00010000l
|
||||
#define EXCLUDE_USERS 0x00020000l
|
||||
#define EXCLUDE_SYSOPS 0x00040000l
|
||||
#define CHECK_DESTINATION 0x00080000l
|
||||
#define EXCLUDE_USERS 0x00020000l
|
||||
#define EXCLUDE_SYSOPS 0x00040000l
|
||||
#define CHECK_DESTINATION 0x00080000l
|
||||
#define UPDATE_BBS_CONFIG 0x00100000l
|
||||
#define KILL_GRUNGED_DATE 0x00200000l
|
||||
#define NOT_BUFFER_EMS 0x00400000l
|
||||
#define KEEP_NETMAILS 0x00800000l
|
||||
#define KEEP_NETMAILS 0x00800000l
|
||||
#define NOT_UPDATE_MAILER 0x01000000l
|
||||
#define NOT_CHECK_SEMAPHORES 0x02000000l
|
||||
#define CREATE_SEMAPHORES 0x04000000l
|
||||
@@ -83,14 +83,14 @@ enum BBSSoft { NoBBSSoft = 0, RemoteAccess111, QuickBBS,
|
||||
/* CONFIG.CC.what */
|
||||
/********************************************************/
|
||||
#define FROM 1
|
||||
#define TO 2
|
||||
#define SUBJECT 3
|
||||
#define TO 2
|
||||
#define SUBJECT 3
|
||||
|
||||
/********************************************************/
|
||||
/* CONFIG.QuietLevel */
|
||||
/********************************************************/
|
||||
#define QUIET_PACK 0x0001
|
||||
#define QUIET_UNPACK 0x0002
|
||||
#define QUIET_UNPACK 0x0002
|
||||
#define QUIET_EXTERN 0x0004
|
||||
|
||||
/********************************************************/
|
||||
@@ -108,13 +108,13 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
/********************************************************/
|
||||
/* CONFIG.AreaFixFlags */
|
||||
/********************************************************/
|
||||
#define ALLOWRESCAN 0x0001
|
||||
#define KEEPREQUEST 0x0002
|
||||
#define KEEPRECEIPT 0x0004
|
||||
#define ALLOWREMOTE 0x0008
|
||||
#define DETAILEDLIST 0x0010
|
||||
#define ALLOWPASSWORD 0x0020
|
||||
#define ALLOWPKTPWD 0x0040
|
||||
#define ALLOWRESCAN 0x0001
|
||||
#define KEEPREQUEST 0x0002
|
||||
#define KEEPRECEIPT 0x0004
|
||||
#define ALLOWREMOTE 0x0008
|
||||
#define DETAILEDLIST 0x0010
|
||||
#define ALLOWPASSWORD 0x0020
|
||||
#define ALLOWPKTPWD 0x0040
|
||||
|
||||
/********************************************************/
|
||||
/* Area.board (1-200 = QBBS) */
|
||||
@@ -126,10 +126,10 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
/* Area.flags.type */
|
||||
/********************************************************/
|
||||
#define QBBS 0
|
||||
#define FIDO 1
|
||||
#define SQUISH 2
|
||||
#define FIDO 1
|
||||
#define SQUISH 2
|
||||
#define JAM 3
|
||||
#define PT_BOARD 7
|
||||
#define PT_BOARD 7
|
||||
|
||||
/********************************************************/
|
||||
/* Area.type */
|
||||
@@ -138,26 +138,26 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
#define AREA_NETMAIL 1
|
||||
#define AREA_LOCAL 2
|
||||
#define AREA_BADMAILBOARD 3
|
||||
#define AREA_DUPEBOARD 4
|
||||
#define AREA_DUPEBOARD 4
|
||||
|
||||
/********************************************************/
|
||||
/* Node.flags */
|
||||
/********************************************************/
|
||||
#define DDDD 0x0001
|
||||
#define TOSSCAN 0x0002
|
||||
#define DIRECT 0x0004
|
||||
#define CRASH 0x0008
|
||||
#define UMLAUT_NET 0x0010
|
||||
#define TOSSCAN 0x0002
|
||||
#define DIRECT 0x0004
|
||||
#define CRASH 0x0008
|
||||
#define UMLAUT_NET 0x0010
|
||||
#define ALLOW_AF_REMOTE 0x0020
|
||||
#define RESCANDISABLED 0x0040
|
||||
#define HOLD 0x0080
|
||||
#define ARCMAIL060 0x0200
|
||||
#define PASSIVE 0x0400
|
||||
#define HOLD 0x0080
|
||||
#define ARCMAIL060 0x0200
|
||||
#define PASSIVE 0x0400
|
||||
#define ALLOWAREACREATE 0x0800
|
||||
#define PACKER 0xF000
|
||||
|
||||
#define PACKS(x) (int)(((x)&PACKER)>>12) /* Index of used Packer */
|
||||
/* 0xf = .PKT, don't pack */
|
||||
/* 0xf = .PKT, don't pack */
|
||||
|
||||
/********************************************************/
|
||||
/* Node.advflags */
|
||||
@@ -166,7 +166,7 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
#define NOT_NOTIFY 0x0002
|
||||
#define NOT_HELP 0x0004
|
||||
#define NOATTACH 0x0008
|
||||
#define NET_HOLD 0x0010
|
||||
#define NET_HOLD 0x0010
|
||||
#define NET_CRASH 0x0020
|
||||
#define NET_DIRECT 0x0040
|
||||
|
||||
@@ -215,7 +215,7 @@ typedef struct CONFIGURATION4
|
||||
{
|
||||
char tag[4];
|
||||
char name[_MAXPATH-2];
|
||||
char list[2]; /* List prefix character */
|
||||
char list[2]; /* List prefix character */
|
||||
} Packer[8];
|
||||
struct
|
||||
{
|
||||
@@ -271,7 +271,7 @@ typedef struct CONFIGURATION4
|
||||
char TempInBound[_MAXPATH];
|
||||
char resv2[832];
|
||||
dword offset; /* This is the offset from the current
|
||||
file-pointer to the 1st Node */
|
||||
file-pointer to the 1st Node */
|
||||
} CONFIG4;
|
||||
|
||||
/* To directly access the 'Nodes' and/or 'Areas' while bypassing the */
|
||||
@@ -289,9 +289,9 @@ typedef struct
|
||||
char newgroup; /* Default group for new areas */
|
||||
Address routes[15]; /* netmail routing */
|
||||
byte areas[124]; /* Bit-field with 992 bits, Byte 0/Bit 7 */
|
||||
/* is conference 0, etc. */
|
||||
/* is conference 0, etc. */
|
||||
dword groups; /* Bit-field, Byte 0/Bit 7 = 'A' etc. */
|
||||
/* false means group is active */
|
||||
/* false means group is active */
|
||||
char areafixpw[9];
|
||||
byte advflags;
|
||||
} FeNode4;
|
||||
@@ -427,7 +427,7 @@ typedef struct
|
||||
#define EH_QBBS_MSG 0x0101
|
||||
#define EH_SBBS_MSG 0x0102
|
||||
#define EH_PB122_MSG 0x0103
|
||||
#define EH_TAG_MSG 0x0104
|
||||
#define EH_TAG_MSG 0x0104
|
||||
#define EH_RA200_MSG 0x0105 /* See BBS package's documentation */
|
||||
#define EH_PB130_MSG 0x0106 /* for details */
|
||||
|
||||
|
@@ -44,38 +44,38 @@
|
||||
#define MAX_NODES 1024 /* max # of nodes */
|
||||
#define MAX_GROUPS 26 /* max # of groups */
|
||||
#define MAX_AKAS 16 /* max # of akas */
|
||||
#define MAX_ROUTE 15 /* max # of 'vias' */
|
||||
#define MAX_ROUTE 15 /* max # of 'vias' */
|
||||
|
||||
/*
|
||||
Note: The MAX_AREAS and MAX_NODES are only the absolute maximums
|
||||
as the handling is flexible. To get the maximums which are
|
||||
used for the config file you read, you have to examine the
|
||||
CONFIG.MaxAreas and CONFIG.MaxNodes variables !
|
||||
as the handling is flexible. To get the maximums which are
|
||||
used for the config file you read, you have to examine the
|
||||
CONFIG.MaxAreas and CONFIG.MaxNodes variables !
|
||||
*/
|
||||
|
||||
/********************************************************/
|
||||
/* CONFIG.flags */
|
||||
/********************************************************/
|
||||
#define RETEAR 0x00000001l
|
||||
#define AUTOCREATE 0x00000002l
|
||||
#define KILLEMPTY 0x00000004l
|
||||
#define KILLDUPES 0x00000008l
|
||||
#define FRONTDOOR 0x00000010l
|
||||
#define DBRIDGE 0x00000020l
|
||||
#define BINKLEY 0x00000040l
|
||||
#define INTERMAIL 0x00000080l
|
||||
#define AUTOCREATE 0x00000002l
|
||||
#define KILLEMPTY 0x00000004l
|
||||
#define KILLDUPES 0x00000008l
|
||||
#define FRONTDOOR 0x00000010l
|
||||
#define DBRIDGE 0x00000020l
|
||||
#define BINKLEY 0x00000040l
|
||||
#define INTERMAIL 0x00000080l
|
||||
//#define SWAP_XMS 0x00000100l
|
||||
//#define SWAP_EMS 0x00000200l
|
||||
//#define SWAP_DISK 0x00000400l
|
||||
#define PURGE_PROCESSDATE 0x00008000l
|
||||
#define MAILER_RESCAN 0x00010000l
|
||||
#define EXCLUDE_USERS 0x00020000l
|
||||
#define EXCLUDE_SYSOPS 0x00040000l
|
||||
#define CHECK_DESTINATION 0x00080000l
|
||||
#define EXCLUDE_USERS 0x00020000l
|
||||
#define EXCLUDE_SYSOPS 0x00040000l
|
||||
#define CHECK_DESTINATION 0x00080000l
|
||||
#define UPDATE_BBS_CONFIG 0x00100000l
|
||||
#define KILL_GRUNGED_DATE 0x00200000l
|
||||
#define NOT_BUFFER_EMS 0x00400000l
|
||||
#define KEEP_NETMAILS 0x00800000l
|
||||
#define KEEP_NETMAILS 0x00800000l
|
||||
#define NOT_UPDATE_MAILER 0x01000000l
|
||||
#define NOT_CHECK_SEMAPHORES 0x02000000l
|
||||
#define CREATE_SEMAPHORES 0x04000000l
|
||||
@@ -86,20 +86,20 @@
|
||||
/********************************************************/
|
||||
enum BBSSoft { NoBBSSoft = 0, RemoteAccess111, QuickBBS,
|
||||
SuperBBS, ProBoard122, TagBBS, RemoteAccess200,
|
||||
ProBoard130};
|
||||
ProBoard130};
|
||||
|
||||
/********************************************************/
|
||||
/* CONFIG.CC.what */
|
||||
/********************************************************/
|
||||
#define FROM 1
|
||||
#define TO 2
|
||||
#define SUBJECT 3
|
||||
#define TO 2
|
||||
#define SUBJECT 3
|
||||
|
||||
/********************************************************/
|
||||
/* CONFIG.QuietLevel */
|
||||
/********************************************************/
|
||||
#define QUIET_PACK 0x0001
|
||||
#define QUIET_UNPACK 0x0002
|
||||
#define QUIET_UNPACK 0x0002
|
||||
#define QUIET_EXTERN 0x0004
|
||||
|
||||
/********************************************************/
|
||||
@@ -117,13 +117,13 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
/********************************************************/
|
||||
/* CONFIG.AreaFixFlags */
|
||||
/********************************************************/
|
||||
#define ALLOWRESCAN 0x0001
|
||||
#define KEEPREQUEST 0x0002
|
||||
#define KEEPRECEIPT 0x0004
|
||||
#define ALLOWREMOTE 0x0008
|
||||
#define DETAILEDLIST 0x0010
|
||||
#define ALLOWPASSWORD 0x0020
|
||||
#define ALLOWPKTPWD 0x0040
|
||||
#define ALLOWRESCAN 0x0001
|
||||
#define KEEPREQUEST 0x0002
|
||||
#define KEEPRECEIPT 0x0004
|
||||
#define ALLOWREMOTE 0x0008
|
||||
#define DETAILEDLIST 0x0010
|
||||
#define ALLOWPASSWORD 0x0020
|
||||
#define ALLOWPKTPWD 0x0040
|
||||
|
||||
/********************************************************/
|
||||
/* Area.board (1-200 = QBBS) */
|
||||
@@ -135,10 +135,10 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
/* Area.flags.type */
|
||||
/********************************************************/
|
||||
#define QBBS 0
|
||||
#define FIDO 1
|
||||
#define SQUISH 2
|
||||
#define FIDO 1
|
||||
#define SQUISH 2
|
||||
#define JAM 3
|
||||
#define PT_BOARD 7
|
||||
#define PT_BOARD 7
|
||||
|
||||
/********************************************************/
|
||||
/* Area.type */
|
||||
@@ -147,26 +147,26 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
#define AREA_NETMAIL 1
|
||||
#define AREA_LOCAL 2
|
||||
#define AREA_BADMAILBOARD 3
|
||||
#define AREA_DUPEBOARD 4
|
||||
#define AREA_DUPEBOARD 4
|
||||
|
||||
/********************************************************/
|
||||
/* Node.flags */
|
||||
/********************************************************/
|
||||
#define DDDD 0x0001
|
||||
#define TOSSCAN 0x0002
|
||||
#define DIRECT 0x0004
|
||||
#define CRASH 0x0008
|
||||
#define UMLAUT_NET 0x0010
|
||||
#define TOSSCAN 0x0002
|
||||
#define DIRECT 0x0004
|
||||
#define CRASH 0x0008
|
||||
#define UMLAUT_NET 0x0010
|
||||
#define ALLOW_AF_REMOTE 0x0020
|
||||
#define RESCANDISABLED 0x0040
|
||||
#define HOLD 0x0080
|
||||
#define ARCMAIL060 0x0200
|
||||
#define PASSIVE 0x0400
|
||||
#define HOLD 0x0080
|
||||
#define ARCMAIL060 0x0200
|
||||
#define PASSIVE 0x0400
|
||||
#define ALLOWAREACREATE 0x0800
|
||||
#define PACKER 0xF000
|
||||
|
||||
#define PACKS(x) (int)(((x)&PACKER)>>12) /* Index of used Packer */
|
||||
/* 0xf = .PKT, don't pack */
|
||||
/* 0xf = .PKT, don't pack */
|
||||
|
||||
/********************************************************/
|
||||
/* Node.advflags */
|
||||
@@ -175,7 +175,7 @@ enum ARCmailExt { ARCDigits = 0, ARCHex, ARCAlpha };
|
||||
#define NOT_NOTIFY 0x0002
|
||||
#define NOT_HELP 0x0004
|
||||
#define NOATTACH 0x0008
|
||||
#define NET_HOLD 0x0010
|
||||
#define NET_HOLD 0x0010
|
||||
#define NET_CRASH 0x0020
|
||||
#define NET_DIRECT 0x0040
|
||||
|
||||
@@ -224,7 +224,7 @@ typedef struct CONFIGURATION5
|
||||
{
|
||||
char tag[4];
|
||||
char name[_MAXPATH-2];
|
||||
char list[2]; /* List prefix character */
|
||||
char list[2]; /* List prefix character */
|
||||
} Packer[8];
|
||||
struct
|
||||
{
|
||||
@@ -279,7 +279,7 @@ typedef struct CONFIGURATION5
|
||||
char AreaFixLog[_MAXPATH];
|
||||
char TempInBound[_MAXPATH];
|
||||
word maxPKTmsgs;
|
||||
word RouteCnt; /* # of PackRoute records */
|
||||
word RouteCnt; /* # of PackRoute records */
|
||||
char resv2[822];
|
||||
word MaxAreas,MaxNodes; /* Current max values for this config */
|
||||
word NodeRecSize; /* For internal use only, the 'Node'
|
||||
@@ -288,7 +288,7 @@ typedef struct CONFIGURATION5
|
||||
used size will be held in memory
|
||||
while FE & FESetup is running */
|
||||
dword offset; /* This is the offset from the current
|
||||
file-pointer to the 1st Node */
|
||||
file-pointer to the 1st Node */
|
||||
} CONFIG5;
|
||||
|
||||
/* To directly access the 'Nodes' and/or 'Areas' while bypassing the */
|
||||
@@ -298,7 +298,7 @@ typedef struct CONFIGURATION5
|
||||
typedef struct
|
||||
{
|
||||
Address addr;
|
||||
Address arcdest; /* destination for ARCmail file attaches */
|
||||
Address arcdest; /* destination for ARCmail file attaches */
|
||||
byte aka; /* 0 ... MAX_AKAS-1 */
|
||||
byte autopassive; /* # of days */
|
||||
byte newgroup; /* Default group for new areas */
|
||||
@@ -306,12 +306,12 @@ typedef struct
|
||||
word flags;
|
||||
word sec_level;
|
||||
char password[9]; /* .PKT password */
|
||||
char areafixpw[9]; /* AreaFix password */
|
||||
char areafixpw[9]; /* AreaFix password */
|
||||
dword groups; /* Bit-field, Byte 0/Bit 7 = 'A' etc. */
|
||||
/* false means group is active */
|
||||
/* false means group is active */
|
||||
dword resv;
|
||||
byte areas[MAX_AREAS/8]; /* Bit-field with MAX_AREAS bits, Byte 0/Bit 7 */
|
||||
/* is conference 0, etc. */
|
||||
/* is conference 0, etc. */
|
||||
} FeNode5;
|
||||
|
||||
typedef struct
|
||||
@@ -342,7 +342,7 @@ typedef struct
|
||||
word keepsysop : 1;
|
||||
word killread : 1;
|
||||
word disablepsv : 1;
|
||||
word resv : 7;
|
||||
word resv : 7;
|
||||
} advflags;
|
||||
word seenbys; /* LSB = Aka0, MSB = Aka15 */
|
||||
short recvdays;
|
||||
@@ -453,8 +453,8 @@ typedef struct
|
||||
#define EH_RA111_MSG 0x0100 /* Original records of BBS systems */
|
||||
#define EH_QBBS_MSG 0x0101
|
||||
#define EH_SBBS_MSG 0x0102
|
||||
#define EH_PB122_MSG 0x0103 /* obsolete */
|
||||
#define EH_TAG_MSG 0x0104
|
||||
#define EH_PB122_MSG 0x0103 /* obsolete */
|
||||
#define EH_TAG_MSG 0x0104
|
||||
#define EH_RA200_MSG 0x0105 /* See BBS package's documentation */
|
||||
#define EH_PB200_MSG 0x0106 /* for details */
|
||||
|
||||
|
@@ -197,7 +197,7 @@ typedef struct {
|
||||
byte audio_end_hour;
|
||||
byte audio_end_minute;
|
||||
|
||||
/* --- Minimum cost to process undialable */
|
||||
/* --- Minimum cost to process undialable */
|
||||
|
||||
word min_undial_cost;
|
||||
|
||||
|
@@ -398,8 +398,8 @@ struct _PRM
|
||||
word matrix_mask;
|
||||
|
||||
word MinNetBaud; /* minimum baud rate for remote netmail */
|
||||
byte exit_mailer; /* Exit when mailer is running */
|
||||
byte num_crashes; /* Number of tries when sending crash */
|
||||
byte exit_mailer; /* Exit when mailer is running */
|
||||
byte num_crashes; /* Number of tries when sending crash */
|
||||
|
||||
struct class_rec Class[MAXCLASS];
|
||||
struct _FOSREGS FosRegs[10];
|
||||
@@ -420,30 +420,30 @@ struct _PRM
|
||||
byte sylno; /* Def Sysop Language no. (0-5) */
|
||||
byte uslno; /* Def User Language no. (0-5) */
|
||||
byte relog_exit; /* Exit after -o relog */
|
||||
word Scrn_Size; /* Local monitor's size, high byte = len */
|
||||
word Scrn_Size; /* Local monitor's size, high byte = len */
|
||||
|
||||
/* New for version 18 */
|
||||
|
||||
word default_expire_days; /* Number of days before new users */
|
||||
word default_expire_mins; /* Number of days before new users */
|
||||
long default_keys; /* New user's default keys */
|
||||
long default_section; /* New user's default section */
|
||||
word Point_Net; /* My point net */
|
||||
word Boss_Node; /* My point net */
|
||||
byte NoPwd_Priv; /* Priv if you want to allow users without password */
|
||||
byte Local_Exit; /* Exit after local messages */
|
||||
byte Upload_Exit; /* Exit after an upload for checking */
|
||||
byte ExtMail_Exit; /* Exit for externmail */
|
||||
byte Max_Echo; /* Longest echomail message to handle 3-60k */
|
||||
byte WhoPriv; /* Priv to see who uploaded a file */
|
||||
word default_expire_days; /* Number of days before new users */
|
||||
word default_expire_mins; /* Number of days before new users */
|
||||
long default_keys; /* New user's default keys */
|
||||
long default_section; /* New user's default section */
|
||||
word Point_Net; /* My point net */
|
||||
word Boss_Node; /* My point net */
|
||||
byte NoPwd_Priv; /* Priv if you want to allow users without password */
|
||||
byte Local_Exit; /* Exit after local messages */
|
||||
byte Upload_Exit; /* Exit after an upload for checking */
|
||||
byte ExtMail_Exit; /* Exit for externmail */
|
||||
byte Max_Echo; /* Longest echomail message to handle 3-60k */
|
||||
byte WhoPriv; /* Priv to see who uploaded a file */
|
||||
|
||||
ADDR GUUCP; /* Where to send gated UUCP messages */
|
||||
ADDR GUUCP; /* Where to send gated UUCP messages */
|
||||
long making_section;
|
||||
byte ListSysop; /* Privilege neeeded to see sysops in net list */
|
||||
byte rawpriv; /* Privilege needed to see/download files not listed */
|
||||
byte uucp_priv; /* Privilege needed to turn off uucp addresses */
|
||||
byte Flags3; /* More flags. */
|
||||
byte Mail_Exit; /* Exit after mail connect */
|
||||
byte ListSysop; /* Privilege neeeded to see sysops in net list */
|
||||
byte rawpriv; /* Privilege needed to see/download files not listed */
|
||||
byte uucp_priv; /* Privilege needed to turn off uucp addresses */
|
||||
byte Flags3; /* More flags. */
|
||||
byte Mail_Exit; /* Exit after mail connect */
|
||||
byte byte_fill;
|
||||
|
||||
word PRM_FILL3[18];
|
||||
@@ -533,39 +533,39 @@ struct _PRM
|
||||
OFS xtexpd; /* Expired due-to-Time used OEC BBS */
|
||||
OFS lang[12]; /* 12 Language File Root Name pointers */
|
||||
|
||||
OFS badpath; /* Path for unrecognized echo names */
|
||||
OFS badpath; /* Path for unrecognized echo names */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* New for version 18 */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
OFS ConfHelp; /* Help file for newuser configure */
|
||||
OFS Mainmenu; /* ASCII menu at MAIN */
|
||||
OFS Confmenu; /* ASCII menu at Config */
|
||||
OFS Sectmenu; /* ASCII menu at Section menu */
|
||||
OFS Sysopmenu; /* ASCII menu at Sysop menu */
|
||||
OFS ConfHelp; /* Help file for newuser configure */
|
||||
OFS Mainmenu; /* ASCII menu at MAIN */
|
||||
OFS Confmenu; /* ASCII menu at Config */
|
||||
OFS Sectmenu; /* ASCII menu at Section menu */
|
||||
OFS Sysopmenu; /* ASCII menu at Sysop menu */
|
||||
OFS Echotoss; /* Where to find EchoToss.Log */
|
||||
OFS MDM_Answer; /* String to force autoanswer */
|
||||
OFS BAD_PWD; /* File shown to users who've forgottent thiers */
|
||||
OFS BAD_PWD; /* File shown to users who've forgottent thiers */
|
||||
OFS charset; /* File that contains character translation tables */
|
||||
OFS DL_Log; /* Who's downloaded what */
|
||||
OFS UL_Log; /* Who uploaded what */
|
||||
OFS Name_Filter; /* Old USERNAME.TXT */
|
||||
OFS Bad_Name; /* What to show user if filter catches them */
|
||||
OFS CUSTOM1_menu; /* What to show before CUSTOM1 menu */
|
||||
OFS CUSTOM2_menu; /* What to show before CUSTOM2 menu */
|
||||
OFS CUSTOM3_menu; /* What to show before CUSTOM3 menu */
|
||||
OFS CUSTOM4_menu; /* What to show before CUSTOM4 menu */
|
||||
OFS CUSTOM5_menu; /* What to show before CUSTOM5 menu */
|
||||
OFS CUSTOM6_menu; /* What to show before CUSTOM6 menu */
|
||||
OFS EXT_mail_string; /* What we see when UUCP is coming */
|
||||
OFS MaybeNew; /* File shown if didn't find user name */
|
||||
OFS Histmenu; /* ASCII menu at History */
|
||||
OFS My_Question; /* Sysop configured question */
|
||||
OFS HLP_make; /* How to make a section */
|
||||
OFS MDM_FDial[4]; /* Special dialing instructions */
|
||||
OFS Yell; /* Yell OEC */
|
||||
OFS HLP_Macro; /* Help for macro menu */
|
||||
OFS UUCP_list; /* Address list for UUCP */
|
||||
OFS HLP_IChat; /* Interline chat help */
|
||||
OFS DL_Log; /* Who's downloaded what */
|
||||
OFS UL_Log; /* Who uploaded what */
|
||||
OFS Name_Filter; /* Old USERNAME.TXT */
|
||||
OFS Bad_Name; /* What to show user if filter catches them */
|
||||
OFS CUSTOM1_menu; /* What to show before CUSTOM1 menu */
|
||||
OFS CUSTOM2_menu; /* What to show before CUSTOM2 menu */
|
||||
OFS CUSTOM3_menu; /* What to show before CUSTOM3 menu */
|
||||
OFS CUSTOM4_menu; /* What to show before CUSTOM4 menu */
|
||||
OFS CUSTOM5_menu; /* What to show before CUSTOM5 menu */
|
||||
OFS CUSTOM6_menu; /* What to show before CUSTOM6 menu */
|
||||
OFS EXT_mail_string; /* What we see when UUCP is coming */
|
||||
OFS MaybeNew; /* File shown if didn't find user name */
|
||||
OFS Histmenu; /* ASCII menu at History */
|
||||
OFS My_Question; /* Sysop configured question */
|
||||
OFS HLP_make; /* How to make a section */
|
||||
OFS MDM_FDial[4]; /* Special dialing instructions */
|
||||
OFS Yell; /* Yell OEC */
|
||||
OFS HLP_Macro; /* Help for macro menu */
|
||||
OFS UUCP_list; /* Address list for UUCP */
|
||||
OFS HLP_IChat; /* Interline chat help */
|
||||
OFS protocols[MAX_EXTERN]; /* external file protocol programs */
|
||||
|
||||
/*v18*/ OFS OFS_Filler[7];
|
||||
@@ -586,13 +586,13 @@ struct _PRM
|
||||
char buf[CTLSIZE];
|
||||
end;
|
||||
|
||||
#define ASK_PHONE 0x01 /* Used with xuflags */
|
||||
#define ASK_ALIAS 0x02 /* Used with xuflags */
|
||||
#define ASK_REAL 0x04 /* Used with xuflags */
|
||||
#define ASK_CITY 0x08 /* Used with xuflags */
|
||||
#define CAN_ALIAS 0x10 /* Allow ALIAS' in some situations */
|
||||
#define ASK_BDAY 0x20 /* Ask user for birthday */
|
||||
#define ASK_ADDRESS 0x40 /* Ask user for street address */
|
||||
#define ASK_PHONE 0x01 /* Used with xuflags */
|
||||
#define ASK_ALIAS 0x02 /* Used with xuflags */
|
||||
#define ASK_REAL 0x04 /* Used with xuflags */
|
||||
#define ASK_CITY 0x08 /* Used with xuflags */
|
||||
#define CAN_ALIAS 0x10 /* Allow ALIAS' in some situations */
|
||||
#define ASK_BDAY 0x20 /* Ask user for birthday */
|
||||
#define ASK_ADDRESS 0x40 /* Ask user for street address */
|
||||
|
||||
/* Means no privilege level is set and/or applicable At LOGON, */
|
||||
/* for example, it means system is for PRE-REGISTERED users only. */
|
||||
@@ -603,8 +603,8 @@ struct _common_data {
|
||||
char Opus[16]; /* "OPUS-CBCS 1.20" */
|
||||
long QuotePosition; /* Quote file position */
|
||||
long CallerCount; /* Number of callers */
|
||||
long Caller_ID; /* ID of current newest user */
|
||||
long MSG_ID; /* Last used MSGID */
|
||||
long Caller_ID; /* ID of current newest user */
|
||||
long MSG_ID; /* Last used MSGID */
|
||||
word FILLER[15]; /* RESERVED - do not use */
|
||||
word MAX_task; /* Highest task number */
|
||||
};
|
||||
@@ -642,15 +642,15 @@ struct _common_data {
|
||||
|
||||
#define MATRIX_CHANGED 0x0001 /* Changed matrix area. Scan */
|
||||
#define LOCAL_CHANGED 0x0002 /* Changed Local area. */
|
||||
#define GOT_BUNDLE 0x0100 /* Received a PKT file */
|
||||
#define GOT_ARCMAIL 0x0200 /* Received an archived file */
|
||||
#define GOT_REQUESTS 0x0400 /* Got file requests to handle */
|
||||
#define GOT_ECHOMAIL 0x1000 /* Received Echomail */
|
||||
#define GOT_BUNDLE 0x0100 /* Received a PKT file */
|
||||
#define GOT_ARCMAIL 0x0200 /* Received an archived file */
|
||||
#define GOT_REQUESTS 0x0400 /* Got file requests to handle */
|
||||
#define GOT_ECHOMAIL 0x1000 /* Received Echomail */
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* INTERLINE FLAGS */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
#define CAN_CHAT 0x01 /* Multiline systems can do chats */
|
||||
#define CAN_CHAT 0x01 /* Multiline systems can do chats */
|
||||
|
||||
// END OF SUB-INCLUDE PRM18.H ////////////////////////////////////////////////////
|
||||
|
||||
@@ -678,7 +678,7 @@ struct _common_data {
|
||||
#define STEADY 0x02 /* never change baud rate 0000 0010 */
|
||||
#define ECHOSCAN 0x04 /* automatically scan echo's 0000 0100 */
|
||||
#define ECHO_GUARD 0x08 /* no toss un-pwd echo arc 0000 1000 */
|
||||
#define LEAVE_ESCN 0x10 /* Leave echotoss.log after Scanning 0001 0000 */
|
||||
#define LEAVE_ESCN 0x10 /* Leave echotoss.log after Scanning 0001 0000 */
|
||||
#define DO_MSGID 0x20 /* Put MSGID lines into echomail 0010 0000 */
|
||||
#define F_NOCRASH 0x40 /* Don't accept crash mail 0100 0000 */
|
||||
#define F_UNPK 0x80 /* Unpack incomming arcmail 1000 0000 */
|
||||
@@ -700,11 +700,11 @@ struct _common_data {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* FLAGS 3 */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
#define F3STEADY 0x01 /* Can do ARQ steady. &B2 */
|
||||
#define F3GMENU 0x02 /* Will let users do graphics menus */
|
||||
#define F3LOGOFF 0x04 /* Collect logoff messages */
|
||||
#define F3NOALIAS 0x08 /* Don't put alias' in SEEN-BY */
|
||||
#define F3HINAMES 0x10 /* Allow users with hi-bit names */
|
||||
#define F3STEADY 0x01 /* Can do ARQ steady. &B2 */
|
||||
#define F3GMENU 0x02 /* Will let users do graphics menus */
|
||||
#define F3LOGOFF 0x04 /* Collect logoff messages */
|
||||
#define F3NOALIAS 0x08 /* Don't put alias' in SEEN-BY */
|
||||
#define F3HINAMES 0x10 /* Allow users with hi-bit names */
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* FWDflags (bits to control IN TRANSIT messages) */
|
||||
@@ -713,9 +713,9 @@ struct _common_data {
|
||||
#define FWD_PWD 0x02 /* IN TRANSIT by pwd only 0000 0010 */
|
||||
#define FWD_TONET 0x04 /* Accept IN TRANSIT only to my net 0000 0100 */
|
||||
#define FWD_NOBITS 0x08 /* No IN TRANSIT if extended bits used 0000 1000 */
|
||||
#define FWD_HOST 0x10 /* Send mail to host if can't find. */
|
||||
#define VERSION6 0x40 /* Use Version 6 nodelist */
|
||||
#define IMAPOINT 0x80 /* This is a point */
|
||||
#define FWD_HOST 0x10 /* Send mail to host if can't find. */
|
||||
#define VERSION6 0x40 /* Use Version 6 nodelist */
|
||||
#define IMAPOINT 0x80 /* This is a point */
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* LOG FLAGS */
|
||||
@@ -731,7 +731,7 @@ struct _common_data {
|
||||
#define M_SNOOP 0x01 /* sysop display on 0000 0001 */
|
||||
#define MOUSE 0x02 /* sysop mouse on 0000 0010 */
|
||||
#define M_BRKCLEAR 0x04 /* Use BREAK to clear outbound buffer 0000 0100 */
|
||||
#define SLOW_MODEM 0x08 /* Slow modem and fast computer */
|
||||
#define SLOW_MODEM 0x08 /* Slow modem and fast computer */
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* STYLE FLAGS */
|
||||
@@ -739,11 +739,11 @@ struct _common_data {
|
||||
#define SF_PATH 0x01 /* use path, not Dir.Bbs 0000 0001 */
|
||||
#define SF_KILL 0x02 /* Kill rec'd pvt messages 0000 0010 */
|
||||
#define SF_ASKKILL 0x04 /* ASK about killing msgs 0000 0100 */
|
||||
#define SF_EUROPE 0x08 /* European date strings */
|
||||
#define SF_TIME 0x10 /* Show time remaining on menu 0001 0000 */
|
||||
#define SF_NOFLAG 0x20 /* Don't allow user config at logon 0010 0000 */
|
||||
#define SF_HANDHOLD 0x40 /* Track user's errors and add help 0100 0000 */
|
||||
#define SF_NOHIGH 0x80 /* Track user's errors and add help 0100 0000 */
|
||||
#define SF_EUROPE 0x08 /* European date strings */
|
||||
#define SF_TIME 0x10 /* Show time remaining on menu 0001 0000 */
|
||||
#define SF_NOFLAG 0x20 /* Don't allow user config at logon 0010 0000 */
|
||||
#define SF_HANDHOLD 0x40 /* Track user's errors and add help 0100 0000 */
|
||||
#define SF_NOHIGH 0x80 /* Track user's errors and add help 0100 0000 */
|
||||
|
||||
|
||||
#define SET_FLAG(x,y) ((x)|=(y))
|
||||
@@ -770,7 +770,7 @@ struct _common_data {
|
||||
/* THE USER DATABASE */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#define MAX_USEC 80 /* Maximum number of areas in "user" section */
|
||||
#define MAX_USEC 80 /* Maximum number of areas in "user" section */
|
||||
|
||||
struct _usr
|
||||
{
|
||||
@@ -858,20 +858,20 @@ struct _common_data {
|
||||
uint32_t messages_read; /* Total number of messages read */
|
||||
int32_t messages_sent; /* Number of messages entered by user */
|
||||
|
||||
word my_section[MAX_USEC]; /* This is just a block of area */
|
||||
/* numbers in the user's Section */
|
||||
/* Message areas are first, then */
|
||||
/* file areas. The first file */
|
||||
/* area is at my_section[msecs] */
|
||||
word my_section[MAX_USEC]; /* This is just a block of area */
|
||||
/* numbers in the user's Section */
|
||||
/* Message areas are first, then */
|
||||
/* file areas. The first file */
|
||||
/* area is at my_section[msecs] */
|
||||
|
||||
word big_fill[40]; /* Fill out to 512 bytes */
|
||||
word Opus_Flags; /* Stores Opus temporary configuration */
|
||||
word big_fill[40]; /* Fill out to 512 bytes */
|
||||
word Opus_Flags; /* Stores Opus temporary configuration */
|
||||
byte byte_fill;
|
||||
byte Default_Protocol; /* Default transfer protocol */
|
||||
byte User_MMacro[16]; /* Message User's keyboard Macro */
|
||||
byte User_FMacro[16]; /* File User's keyboard Macro */
|
||||
byte User_DMacro[16]; /* Default User's keyboard Macro */
|
||||
byte Sysop_Comment[80]; /* Anything you want to say about 'em */
|
||||
byte Default_Protocol; /* Default transfer protocol */
|
||||
byte User_MMacro[16]; /* Message User's keyboard Macro */
|
||||
byte User_FMacro[16]; /* File User's keyboard Macro */
|
||||
byte User_DMacro[16]; /* Default User's keyboard Macro */
|
||||
byte Sysop_Comment[80]; /* Anything you want to say about 'em */
|
||||
#endif
|
||||
uint32_t OPUS_id;
|
||||
|
||||
@@ -917,10 +917,10 @@ struct _common_data {
|
||||
#define HOTKEYS 0x0001 /* Wants HotKeys at all help levels */
|
||||
#define QMENU 0x0002 /* Wants to return to last menu instead of MAIN */
|
||||
#define ASKGRAPH 0x0004 /* Wants to be asked about graphics every logon */
|
||||
#define ASCIIMENU 0x0008 /* Wants long tedious graphics menus */
|
||||
#define SHOW_TIME 0x0010 /* Show time remaining at prompts */
|
||||
#define BLOCKCHAT 0x4000 /* User doesn't want to be sociable. */
|
||||
#define INCRITAREA 0x8000 /* Opus is in critical area */
|
||||
#define ASCIIMENU 0x0008 /* Wants long tedious graphics menus */
|
||||
#define SHOW_TIME 0x0010 /* Show time remaining at prompts */
|
||||
#define BLOCKCHAT 0x4000 /* User doesn't want to be sociable. */
|
||||
#define INCRITAREA 0x8000 /* Opus is in critical area */
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
@@ -944,11 +944,11 @@ struct _common_data {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* Flags for After_Externs */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
#define NEW_ECHOS 0x0001 /* New Echomail entered by user */
|
||||
#define NEW_MATRIX 0x0002 /* New Matrix entered by user */
|
||||
#define NEW_LOCAL 0x0004 /* New Local mail entered by user */
|
||||
#define UPLOADED 0x0008 /* User uploaded something */
|
||||
#define DUP_UPLOAD 0x0010 /* User uploaded a duplicate file */
|
||||
#define NEW_ECHOS 0x0001 /* New Echomail entered by user */
|
||||
#define NEW_MATRIX 0x0002 /* New Matrix entered by user */
|
||||
#define NEW_LOCAL 0x0004 /* New Local mail entered by user */
|
||||
#define UPLOADED 0x0008 /* User uploaded something */
|
||||
#define DUP_UPLOAD 0x0010 /* User uploaded a duplicate file */
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* LASTUSER.BBS file structure */
|
||||
@@ -1251,64 +1251,64 @@ struct _Hello
|
||||
|
||||
struct _filesys {
|
||||
|
||||
char Area_Name[32]; /* Area's primary name */
|
||||
char Area_Name[32]; /* Area's primary name */
|
||||
|
||||
word Area_Number; /* area number */
|
||||
word Area_Menu; /* which menu? */
|
||||
word Area_Number; /* area number */
|
||||
word Area_Menu; /* which menu? */
|
||||
word Total_Size;
|
||||
|
||||
byte Area_Priv; /* Area Privilege */
|
||||
byte Down_Priv; /* Download Privilege */
|
||||
byte Area_Priv; /* Area Privilege */
|
||||
byte Down_Priv; /* Download Privilege */
|
||||
|
||||
byte Up_Priv;
|
||||
byte Priv_Up; /* Uploads from users with Priv>= Priv_Up */
|
||||
byte Ratio_Priv; /* Privilege where u/d ratios start */
|
||||
byte Priv_Up; /* Uploads from users with Priv>= Priv_Up */
|
||||
byte Ratio_Priv; /* Privilege where u/d ratios start */
|
||||
byte New_Priv;
|
||||
|
||||
byte fill_byte1[2];
|
||||
/* 48 */
|
||||
word Attrib; /* Area Attribute */
|
||||
word Status; /* Area Status, extended Attribute? */
|
||||
word Attrib; /* Area Attribute */
|
||||
word Status; /* Area Status, extended Attribute? */
|
||||
|
||||
long Start_Pos; /* start of Area in sysfile.dat */
|
||||
long Start_Pos; /* start of Area in sysfile.dat */
|
||||
/* 56 */
|
||||
long Area_Lock; /* Area Lock */
|
||||
long Area_Lock; /* Area Lock */
|
||||
|
||||
long Up_Lock;
|
||||
|
||||
long Down_Lock; /* edit Lock */
|
||||
long Down_Lock; /* edit Lock */
|
||||
|
||||
long Priv_Key; /* Private Key path */
|
||||
long Priv_Key; /* Private Key path */
|
||||
|
||||
/* 72 */
|
||||
long Section; /* edit Lock */
|
||||
long Section; /* edit Lock */
|
||||
|
||||
long fill_long[2];
|
||||
|
||||
byte Title_Len; /* length of Title */
|
||||
byte Prefiles_Len; /* files shown at Area access like Areainfo */
|
||||
byte Title_Len; /* length of Title */
|
||||
byte Prefiles_Len; /* files shown at Area access like Areainfo */
|
||||
|
||||
byte Downpath_Len; /* length of path */
|
||||
byte Uppath_Len; /* length of path */
|
||||
byte Downpath_Len; /* length of path */
|
||||
byte Uppath_Len; /* length of path */
|
||||
/* 88 */
|
||||
byte Barricade_Len; /* Barricade length if used */
|
||||
byte Barricade_Len; /* Barricade length if used */
|
||||
byte Rules_Len;
|
||||
|
||||
byte Privkey_Len; /* Uploads from users with "key" go here */
|
||||
byte PrivUp_Len; /* Private Upload path */
|
||||
byte Menu_Len; /* file name for this area's ascii menu */
|
||||
byte Vol_Len; /* Length of volume name */
|
||||
byte Help_Len; /* Length of help name for this area */
|
||||
byte Privkey_Len; /* Uploads from users with "key" go here */
|
||||
byte PrivUp_Len; /* Private Upload path */
|
||||
byte Menu_Len; /* file name for this area's ascii menu */
|
||||
byte Vol_Len; /* Length of volume name */
|
||||
byte Help_Len; /* Length of help name for this area */
|
||||
|
||||
byte fill_byte2[5]; /* more filler */
|
||||
byte fill_byte2[5]; /* more filler */
|
||||
/* 100 */
|
||||
word Other_Len; /* external programs use this number bytes */
|
||||
word Other_Len; /* external programs use this number bytes */
|
||||
|
||||
word Def_Upload; /* Area number for default uploads */
|
||||
word Priv_Upload; /* Area number for Priv uploads */
|
||||
word Key_Upload; /* Area number for Lock uploads */
|
||||
word Def_Upload; /* Area number for default uploads */
|
||||
word Priv_Upload; /* Area number for Priv uploads */
|
||||
word Key_Upload; /* Area number for Lock uploads */
|
||||
|
||||
word fill_word[10]; /* more filler to 128 bytes*/
|
||||
word fill_word[10]; /* more filler to 128 bytes*/
|
||||
};
|
||||
|
||||
/* Title */
|
||||
@@ -1332,31 +1332,31 @@ struct _filesys {
|
||||
|
||||
struct _msgsys {
|
||||
|
||||
char Area_Name[32]; /* Area's primary name */
|
||||
char Echo_Name[32]; /* Area's echo name */
|
||||
word Area_Number; /* Area number */
|
||||
word Area_Menu; /* which menu? */
|
||||
word Total_Size; /* Total size of this Area in SYSMSG.DAT */
|
||||
char Area_Name[32]; /* Area's primary name */
|
||||
char Echo_Name[32]; /* Area's echo name */
|
||||
word Area_Number; /* Area number */
|
||||
word Area_Menu; /* which menu? */
|
||||
word Total_Size; /* Total size of this Area in SYSMSG.DAT */
|
||||
|
||||
byte Area_Priv; /* Area Privilege */
|
||||
byte Edit_Priv; /* Edit Privilege */
|
||||
byte Private_Priv; /* Privilege to read Private messages*/
|
||||
byte Area_Priv; /* Area Privilege */
|
||||
byte Edit_Priv; /* Edit Privilege */
|
||||
byte Private_Priv; /* Privilege to read Private messages*/
|
||||
byte Upload_Priv;
|
||||
byte fill_0[3];
|
||||
byte Translate; /* Which character set to use 1, 2.... */
|
||||
byte Translate; /* Which character set to use 1, 2.... */
|
||||
/* 80 */
|
||||
long Area_Lock; /* Area Lock */
|
||||
long Edit_Lock; /* Edit Lock */
|
||||
long Area_Lock; /* Area Lock */
|
||||
long Edit_Lock; /* Edit Lock */
|
||||
|
||||
long Private_Lock; /* Lock to read Private messages*/
|
||||
long Private_Lock; /* Lock to read Private messages*/
|
||||
long Upload_Lock;
|
||||
|
||||
word Attrib; /* Area Attribute */
|
||||
word Status; /* Area Status, extended Attribute? */
|
||||
word Attrib; /* Area Attribute */
|
||||
word Status; /* Area Status, extended Attribute? */
|
||||
|
||||
long Start_Pos; /* start of Area in sysmsg.dat */
|
||||
long Start_Pos; /* start of Area in sysmsg.dat */
|
||||
long Section;
|
||||
byte Max_Lines; /* Maximum number of lines in messages */
|
||||
byte Max_Lines; /* Maximum number of lines in messages */
|
||||
byte fill_1[3];
|
||||
/* 112 */
|
||||
|
||||
@@ -1365,21 +1365,21 @@ struct _msgsys {
|
||||
word Node;
|
||||
word Point;
|
||||
|
||||
byte Path_Len; /* length of Path */
|
||||
byte Title_Len; /* length of Title */
|
||||
byte Path_Len; /* length of Path */
|
||||
byte Title_Len; /* length of Title */
|
||||
|
||||
byte Barricade_Len; /* Barricade length if used */
|
||||
byte Origin_Len; /* non-default Origin line */
|
||||
byte Barricade_Len; /* Barricade length if used */
|
||||
byte Origin_Len; /* non-default Origin line */
|
||||
|
||||
byte Domain_Len; /* Domain (if used) length */
|
||||
byte Menu_Len; /* file name for this area's ascii menu */
|
||||
byte Vol_Len; /* Length of volume name */
|
||||
byte Help_Len; /* Length of help name for this area */
|
||||
byte Domain_Len; /* Domain (if used) length */
|
||||
byte Menu_Len; /* file name for this area's ascii menu */
|
||||
byte Vol_Len; /* Length of volume name */
|
||||
byte Help_Len; /* Length of help name for this area */
|
||||
/* 144 */
|
||||
|
||||
byte Scan_Len; /* number of boards that Area is Scanned to */
|
||||
byte Scan_Pos; /* where Opus is in the Scan right now */
|
||||
word Other_Len; /* external programs use this number bytes */
|
||||
byte Scan_Len; /* number of boards that Area is Scanned to */
|
||||
byte Scan_Pos; /* where Opus is in the Scan right now */
|
||||
word Other_Len; /* external programs use this number bytes */
|
||||
word Extern_Flags;
|
||||
word word_fill[5];
|
||||
/* 160 */
|
||||
@@ -1388,7 +1388,7 @@ struct _msgsys {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* Then some strings/structures follow as needed */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* Path string */
|
||||
/* Path string */
|
||||
/* Title string */
|
||||
/* Barricade string */
|
||||
/* Origin string */
|
||||
@@ -1404,7 +1404,7 @@ struct _msgsys {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
struct _ascan { /* structure of address for echoScanning */
|
||||
struct _ascan { /* structure of address for echoScanning */
|
||||
word Net;
|
||||
word Node;
|
||||
};
|
||||
@@ -1430,8 +1430,8 @@ struct _lf {
|
||||
/* File Area attributes (limit or describe the behavior of an area) */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#define F_DUPE 0x0001 /* Allow duplicate uploads in this area */
|
||||
#define F_FREE 0x0002 /* Downloads from this area area all 0K */
|
||||
#define F_DUPE 0x0001 /* Allow duplicate uploads in this area */
|
||||
#define F_FREE 0x0002 /* Downloads from this area area all 0K */
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
@@ -1443,9 +1443,9 @@ struct _lf {
|
||||
#define NOPRIVATE 0x08 /* OPUS: Disallow private messages */
|
||||
#define ANON_OK 0x10 /* OPUS: Enable anonymous messages */
|
||||
#define _ECHOMAIL 0x20 /* OPUS: Set=Echomail Clear=Not Echomail */
|
||||
#define USEALIAS 0x40 /* OPUS: Use user's alias in this area if..... */
|
||||
#define USEALIAS 0x40 /* OPUS: Use user's alias in this area if..... */
|
||||
//#define PASSTHROUGH 0x80 /* OPUS: Allow high-bit characters in echo area */
|
||||
#define INBOUND 0x0100 /* Inbound Only area */
|
||||
#define INBOUND 0x0100 /* Inbound Only area */
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
@@ -1456,22 +1456,22 @@ struct _lf {
|
||||
/* programs MAY have conflicting uses. */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#define RENUMBER 0x0001 /* This area gets renumbered */
|
||||
#define MAILCHECK 0x0002 /* The mail check program will do this area */
|
||||
#define RESERVED2 0x0004 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED3 0x0008 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED4 0x0010 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED5 0x0020 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED6 0x0040 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED7 0x0080 /* Reserved for Opus-defined flags */
|
||||
#define EXTERN1 0x0100 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN2 0x0200 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN3 0x0400 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN4 0x0800 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN5 0x1000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN6 0x2000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN7 0x4000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN8 0x8000 /* Undefined! Meaning varies for each program*/
|
||||
#define RENUMBER 0x0001 /* This area gets renumbered */
|
||||
#define MAILCHECK 0x0002 /* The mail check program will do this area */
|
||||
#define RESERVED2 0x0004 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED3 0x0008 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED4 0x0010 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED5 0x0020 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED6 0x0040 /* Reserved for Opus-defined flags */
|
||||
#define RESERVED7 0x0080 /* Reserved for Opus-defined flags */
|
||||
#define EXTERN1 0x0100 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN2 0x0200 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN3 0x0400 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN4 0x0800 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN5 0x1000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN6 0x2000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN7 0x4000 /* Undefined! Meaning varies for each program*/
|
||||
#define EXTERN8 0x8000 /* Undefined! Meaning varies for each program*/
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
@@ -91,11 +91,11 @@ void gareafile::ReadSynchronet(char* tag) {
|
||||
std::cout << "* Reading " << file << std::endl;
|
||||
|
||||
// Skip header:
|
||||
// max_qwkmsgs 4
|
||||
// mail_maxcrcs 4
|
||||
// mail_maxage 2
|
||||
// unused (NULL) 512
|
||||
// unused (0xff) 512
|
||||
// max_qwkmsgs 4
|
||||
// mail_maxcrcs 4
|
||||
// mail_maxage 2
|
||||
// unused (NULL) 512
|
||||
// unused (0xff) 512
|
||||
fseek(in, 1034, SEEK_CUR);
|
||||
|
||||
if(fread(&shrt, sizeof(uint16_t), 1, in) == 1) {
|
||||
|
Reference in New Issue
Block a user