C-Include
view release on metacpan or search on metacpan
Include/test.h view on Meta::CPAN
char unused4[462];
word autorenum;
word def_recvdays;
byte openQQQs,Swapping;
word compressafter;
word afixmaxmsglen;
word compressfree;
char TempPath[_MAXPATH];
byte graphics,BBSSoftware;
char AreaFixHelp[_MAXPATH];
char unused5[504];
word AreaFixFlags;
byte QuietLevel,Buffers;
byte FWACnt,GDCnt; /* # of ForwardAreaFix records, */
/* # of Group Default records */
struct
{
word flags;
word days[2];
word msgs[2];
} rescan_def;
dword duperecords;
struct
{
byte inb;
byte outb;
} arcext;
word AFixRcptLen;
byte AkaCnt,resv; /* # of Aka records stored */
word maxPKT;
byte sharing,sorting;
struct
{
char name[36];
dword resv;
} sysops[11];
char AreaFixLog[_MAXPATH];
char TempInBound[_MAXPATH];
word maxPKTmsgs;
word RouteCnt; /* # of PackRoute records */
byte maxPACKratio;
byte SemaphoreTimer;
byte PackerCnt,UnpackerCnt; /* # of Packers and Unpackers records */
byte GroupCnt,OriginCnt; /* # of GroupNames and Origin records */
word mailer;
word maxarcsize,maxarcdays;
word minInbPKTsize;
char reserved[804];
word AreaRecSize,GrpDefRecSize; /* Size of Area and GroupDefaults */
/* records stored in this file */
word MaxAreas,MaxNodes; /* Current max values for this config */
word NodeRecSize; /* Size of each stored Node record */
dword offset; /* This is the offset from the current*/
/* file-pointer to the 1st Node */
} CONFIG;
/* To directly access the 'Nodes' and/or 'Areas' while bypassing the */
/* Extensions, perform an absolute (from beginning of file) seek to */
/* sizeof(CONFIG) + CONFIG.offset */
/* If you want to access the 'Areas', you have to add the following */
/* value to the above formula: CONFIG.NodeCnt * CONFIG.NodeRecSize */
typedef struct
{
Address addr; /* Main address */
Address arcdest; /* ARCmail fileattach address */
byte aka,autopassive,newgroup,resv1;
struct
{
byte passive : 1;
byte dddd : 1; /* Type 2+/4D */
byte arcmail060 : 1;
byte tosscan : 1;
byte umlautnet : 1;
byte exportbyname : 1;
byte allowareacreate : 1;
byte disablerescan : 1;
byte arc_status : 2; /* NetmailStatus for ARCmail attaches */
byte arc_direct : 1; /* Direct flag for ARCmail attaches */
byte noattach : 1; /* don't create a ARCmail file attach */
byte mgr_status : 2; /* NetMailStatus for AreaFix receipts */
byte mgr_direct : 1; /* Direct flag for ... */
byte not_help : 1;
byte not_notify : 1;
byte packer : 4; /* # of Packer used, 0xf = send .PKT */
byte packpriority : 2; /* system has priority packing ARCmail */
byte resv : 1;
} flags; /* 24 bits total ! */
struct
{
word type : 2; /* Type of AreaFix: None (human), */
/* Normal or Advanced (FSC-57) */
word noforward : 1; /* Don't forward AFix requests */
word allowremote : 1;
word allowdelete : 1; /* flags for different FSC-57 requests */
word allowrename : 1; /* all 3 reserved for future use */
word binarylist : 1;
word addplus : 1; /* add '+' when requesting new area */
word addtear : 1; /* add tearline to the end of requests */
word sendto : 3; /* name of this systems's AreaFix robot */
word resv : 4;
} afixflags;
word resv2;
char password[9]; /* .PKT password */
char areafixpw[9]; /* AreaFix password */
word sec_level;
dword groups; /* Bit-field, Byte 0/Bit 7 = 'A' etc. */
/* FALSE means group is active */
dword resv3;
word resv4;
word maxarcsize;
char name[36]; /* Name of sysop */
byte areas[1]; /* Bit-field with CONFIG.MaxAreas/8 */
/* bits, Byte 0/Bit 7 is conference #0 */
} Node; /* Total size of each record is stored */
/* in CONFIG.NodeRecSize */
typedef struct
{
char name[52];
word board; /* 1-200 Hudson, others reserved/special */
( run in 0.969 second using v1.01-cache-2.11-cpan-df04353d9ac )