home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / RAST200.ZIP / RA200.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-20  |  30.5 KB  |  958 lines

  1. /*                    RemoteAccess 2.00 structures
  2.                     Converted to C by Sterling Moses
  3.                               June 1st 1993
  4.  
  5.                               SilverSoftware
  6.                              FIDONET (1:301/9)
  7.                                (505)268-8502
  8.  
  9.                   Updated due to the new release of 2.00.
  10.                               August 20, 1993
  11.  
  12.  
  13. */
  14. #define byte unsigned char
  15. #define word unsigned int
  16.  
  17. typedef enum {Yes,No,Ask,Only}                       AskType;
  18. typedef enum {Auto,Short,Long}                       VideoType;
  19. typedef enum {LocalMail,NetMail,EchoMail}            MsgType;
  20. typedef enum {Both,Private,Public,ROnly,NoReply}     MsgKindsType;
  21. typedef enum {Ignore,Create,Kill}                    OrphanType;
  22. typedef byte                                         FlagType[4];
  23.  
  24. typedef struct {
  25.         byte    l1;
  26.         char    Time[5];
  27.         }TIME;
  28.  
  29. typedef struct {
  30.         byte    l1;
  31.         char    Date[8];
  32.         }DATE;
  33.  
  34. typedef struct {
  35.         byte    l1;
  36.         char    LongDate[9];
  37.         }LONGDATE;
  38.  
  39. typedef byte ByteArray32[32];
  40.  
  41. typedef struct{
  42.         word    Zone;
  43.         word    Net;
  44.         word    Node;
  45.         word    Point;
  46.         }NETADDRESS;
  47.  
  48. typedef struct{                         /*  LIMITS.RA  */
  49.         word    Security;
  50.         word    Ltime;
  51.         word    L300;
  52.         word    L1200;
  53.         word    L2400;
  54.         word    L4800;
  55.         word    L7200;
  56.         word    L9600;
  57.         word    L12000;
  58.         word    L14400;
  59.         word    L16800;
  60.         word    L19200;
  61.         word    L38400;
  62.         word    Llocal;
  63.         word    RatioNum;
  64.         word    RatioK;
  65.         int     PerMinCost[3];
  66.         byte    FreeSpace[42];
  67.         }LIMITS;
  68.  
  69.  
  70. typedef struct{                                 /* LANGUAGE.RA */
  71.         byte    l1;
  72.         char    Name[20];
  73.         byte    Attribute;
  74.         byte    l2;
  75.         char    DefName[60];
  76.         byte    l3;
  77.         char    MenuPath[60];
  78.         byte    l4;
  79.         char    TextPath[60];
  80.         byte    l5;
  81.         char    QuesPath[60];
  82.         word    Security;
  83.         FlagType Flags;
  84.         FlagType NotFlagsMask;
  85.         byte    FreeSpace[190];
  86.         }LANGUAGE;
  87.  
  88. typedef struct {                        /*  MSGINFO.BBS  */
  89.         word    lowmsg;
  90.         word    highmsg;
  91.         word    totalmsgs;
  92.         word    totalonboard[200];
  93.         }MSGINFO;
  94.  
  95. typedef struct {
  96.         int     msgnum;
  97.         byte    board;
  98.         }MSGIDX;
  99.  
  100. typedef struct {
  101.         byte    l1;
  102.         char    string[35];
  103.         }MSGTOIDX;
  104.  
  105. typedef struct {
  106.         int     msgnum;
  107.         word    prevreply;
  108.         word    nextreply;
  109.         word    timesread;
  110.         word    startblock;
  111.         word    numblocks;
  112.         word    destnet;
  113.         word    destnode;
  114.         word    orignet;
  115.         word    orignode;
  116.         byte    destzone;
  117.         byte    origzone;
  118.         word    cost;
  119.         byte    msgattr;
  120.         byte    netattr;
  121.         byte    board;
  122.         TIME    posttime;
  123.         DATE    postdate;
  124.         MSGTOIDX         whoto;
  125.         MSGTOIDX         whofrom;
  126.         byte    l1;
  127.         char    subject[72];
  128.         }MSGHDR;
  129.  
  130. typedef struct {
  131.         byte    l1;
  132.         char    text[255];
  133.         }MSGTXT;
  134.  
  135. typedef struct {
  136.         MSGTOIDX        name;
  137.         MSGTOIDX        handle;
  138.         byte    line;
  139.         word    baud;
  140.         byte    l1;
  141.         char    city[25];
  142.         byte    status;
  143.         byte    attribute;
  144.         byte    l2;
  145.         char    statdesc[10];
  146.         byte    freespace[98];
  147.         word    nocalls;
  148.         }USERON;
  149.  
  150. /*
  151. Status byte - 0 : Browsing (in a menu)
  152.               1 : Uploading/downloading
  153.               2 : Reading/posting messages
  154.               3 : In a door/external utility
  155.               4 : Chatting with sysop
  156.               5 : Answering questionnaire
  157.               6 : RTC
  158.               7 : New user logon
  159.             255 : User-defined - display StatDesc
  160.  
  161. Attribute   - Bit 0 : Hidden
  162.                   1 : Wants chat
  163.                   2 : Reserved for RANETMGR
  164.                   3 : Do not disturb flag
  165.                   6 : Ready (0=busy) }
  166. */
  167.  
  168. typedef struct {
  169.         byte          line;
  170.         MSGTOIDX      name;
  171.         MSGTOIDX      Handle;
  172.         byte          l1;
  173.         char          city[25];
  174.         word          baud;
  175.         long int      times;
  176.         TIME          logon;
  177.         TIME          logoff;
  178.         byte          attribute;    /* BIT 0 : Hidden */
  179.         }LASTCALL;
  180.  
  181. typedef struct {
  182.         byte            l1;
  183.         char            name[12];
  184.         long int        size;
  185.         long int        CRC32;
  186.         byte            l2;
  187.         char            uploader[35];
  188.         long int        uploaddate;
  189.         long int        filedate;
  190.         long int        lastdl;
  191.         word            timesdl;
  192.         byte            attrib;
  193.         byte            l3;
  194.         char            password[15];
  195.         struct {
  196.                 byte l1;
  197.                 char desc[15];
  198.                 }keyword[5];
  199.         word            cost;
  200.         long int        longdescptr;
  201.         byte            freespace[20];
  202.         }FILESHDR;
  203.  
  204. /*
  205. Attrib - Bit 0 : Deleted
  206.              1 : Unlisted
  207.              2 : Free (don't adjust ratio) - Does NOT affect "Cost"
  208.              3 : Not available (don't allow downloads)
  209.              4 : Locked (no kill)
  210.              5 : Missing/offline
  211.              6 : No time restrictions - always allow DL
  212. */
  213.  
  214. typedef struct {
  215.         byte l1;
  216.         char string[12];
  217.         long int uploaddate;
  218.         long int keywordcrc[5];
  219.         long int longdescptr;
  220.         }FILESIDX;
  221.  
  222.  
  223. typedef word LASTREAD[200];
  224.  
  225. typedef struct {
  226.         long int namecrc32;
  227.         long int handlecrc32;
  228.         }USERSIDX;
  229.  
  230.  
  231. typedef word COMBINED[200];
  232.  
  233. typedef struct {
  234.         MSGTOIDX        name;
  235.         byte            l1;
  236.         char            location[25];
  237.         byte            l2;
  238.         char            organization[50];
  239.         byte            l3;
  240.         char            address1[50];
  241.         byte            l4;
  242.         char            address2[50];
  243.         byte            l5;
  244.         char            address3[50];
  245.         byte            l6;
  246.         char            handle[35];
  247.         byte            l7;
  248.         char            comment[80];
  249.         long int        passwordcrc;
  250.         byte            l8;
  251.         char            dataphone[15];
  252.         byte            l9;
  253.         char            voicephone[15];
  254.         TIME            lasttime;
  255.         DATE            lastdate;
  256.         byte            attribute;
  257. /*
  258.                       { Bit 0 : Deleted
  259.                             1 : Clear screen
  260.                             2 : More prompt
  261.                             3 : ANSI
  262.                             4 : No-kill
  263.                             5 : Xfer priority
  264.                             6 : Full screen msg editor
  265.                             7 : Quiet mode }
  266. */
  267.         byte            Attribute2;
  268. /*
  269.                       { Bit 0 : Hot-keys
  270.                             1 : AVT/0
  271.                             2 : Full screen message viewer
  272.                             3 : Hidden from userlist
  273.                             4 : Page priority
  274.                             5 : No echomail in mailbox scan
  275.                             6 : Guest account
  276.                             7 : Post bill enabled }
  277. */
  278.         FlagType        flags;
  279.         long int        credit;
  280.         long int        pending;
  281.         word            msgsposted;
  282.         word            security;
  283.         long int        lastread;
  284.         long int        nocalls;
  285.         long int        uploads;
  286.         long int        downloads;
  287.         long int        uploadsk;
  288.         long int        downloadsk;
  289.         long int        todayk;
  290.         int             elapsed;
  291.         word            screenlength;
  292.         byte            lastpwdchange;
  293.         word            group;
  294.         COMBINED        combinedinfo;
  295.         DATE            firstdate;
  296.         DATE            birthdate;
  297.         DATE            subdate;
  298.         byte            screenwidth;
  299.         byte            language;
  300.         byte            dateformat;
  301.         byte            l10;
  302.         char            forwardto[35];
  303.         word            msgarea;
  304.         word            filearea;
  305.         char            defualtprot;
  306.         word            filegroup;
  307.         byte            lastdobcheck;
  308.         byte            sex;
  309.         long int        XIrecord;
  310.         word            msggroup;
  311.         byte            freespace[48];
  312.         }USERS;
  313.  
  314. typedef struct {
  315.         byte            freespace[200];
  316.         }USERSXI;
  317.  
  318. typedef struct {
  319.         long int        totalcalls;
  320.         MSGTOIDX        lastcaller;
  321.         byte            extraspace[128];
  322.         }SYSINFO;
  323.  
  324. typedef struct {
  325.         DATE            startdate;
  326.         word            busyperhour[24];
  327.         word            busyperday[7];
  328.         }TIMELOG;
  329.  
  330. typedef struct {
  331.         byte            typ;
  332.         word            security;
  333.         word            maxsec;
  334.         FlagType        notflagsmask;
  335.         FlagType        flags;
  336.         word            timeleft;
  337.         word            timeused;
  338.         byte            age;
  339.         byte            termattrib; /* BIT 0 : ANSI | BIT 1 : AVT */
  340.         long int        minspeed;
  341.         long int        maxspeed;
  342.         long int        credit;
  343.         long int        optioncost;
  344.         long int        permincost;
  345.         ByteArray32     node;
  346.         ByteArray32     group;
  347.         word            starttime[7];
  348.         word            stoptime[7];
  349.         byte            l1;
  350.         char            display[135];
  351.         byte            l2;
  352.         char            hotkey[8];
  353.         byte            l3;
  354.         char            miscdata[135];
  355.         byte            foreground;
  356.         byte            background;
  357.         byte            freespace[50];
  358.         }MNU;
  359.  
  360. typedef struct {
  361.         byte            status; // 0=Deleted 1=Enabled 2=Disabled
  362.         TIME            starttime;
  363.         byte            errorlevel;
  364.         byte            days;
  365.         byte            forced; // 0=False 1=True
  366.         DATE            lastrun;
  367.         }EVENT;
  368.  
  369. typedef EVENT EVENTARRAY[20];
  370.  
  371.  
  372. typedef struct {
  373.         byte            unused[4];
  374.         byte            l1;
  375.         char            name[40];
  376.         MsgType         typ;
  377.         MsgKindsType    msgkinds;                 // Attributes
  378.         byte            attribute;
  379.         // Bit 0 : Enable EchoInfo
  380.         //     1 : Combined access
  381.         //     2 : File attaches
  382.         //     3 : Allow aliases
  383.         //     4 : Use SoftCRs as characters
  384.         //     5 : Force handle
  385.         //     6 : Allow deletes
  386.         //     7 : Is a JAM area
  387.         byte            dayskill; // { Kill older thax 'X' days }
  388.         byte            recvkill; // { Kill recv msgs for more than 'x' days }
  389.         word            countkill;
  390.         word            readsecurity;
  391.         FlagType        readflags;
  392.         FlagType        readnotflags;
  393.         word            writesec;
  394.         FlagType        writeflags;
  395.         FlagType        writenotflags;
  396.         word            sysopsec;
  397.         FlagType        sysopflags;
  398.         FlagType        sysopnotflags;
  399.         byte            l2;
  400.         char            originline[60];
  401.         byte            akaaddress;
  402.         byte            age;
  403.         byte            l3;
  404.         char            jambase[60];
  405.         word            group;
  406.         word            altgroup[3];
  407.         byte            attribute2;  // BIT 0 : Include all groups
  408.         byte            freespace2[9];
  409.         }MESSAGE;
  410.  
  411. typedef struct {
  412.         word            areanum;
  413.         byte            l1;
  414.         char            name[40];
  415.         word            security;
  416.         FlagType        flags;
  417.         FlagType        notflagsmask;
  418.         byte            freespace[100];
  419.         }GROUP;
  420.  
  421. typedef struct {
  422.         byte            unused[4];
  423.         byte            l1;
  424.         char            name[40];
  425.         byte            attrib;
  426.  
  427. /*                          0 : Include in new files scan
  428.                             1 : Include in upload dupe scan
  429.                             2 : Permit long descriptions
  430.                             3 : Area is on CD-ROM
  431.                             4 : All files are FREE
  432.                             5 : Allow DLs not in FDB
  433.                             6 : Allow users to password uploads
  434.                             7 : Scan uploads }
  435. */
  436.         byte            l2;
  437.         char            filepath[40];
  438.         word            killsdaysdl;
  439.         word            killdaysfd;
  440.         byte            l3;
  441.         char            password[15];
  442.         word            movearea;
  443.         byte            age;
  444.         byte            convertExt;
  445.         word            group;
  446.         byte            attrib2;    // BIT 0 : Include in all groups
  447.         word            defcost;
  448.         word            uploadarea;
  449.         word            uploadsec;
  450.         FlagType        uploadflags;
  451.         FlagType        uploadnotflags;
  452.         word            security;
  453.         FlagType        flags;
  454.         FlagType        notflags;
  455.         word            listsecurity;
  456.         FlagType        listflags;
  457.         FlagType        listnotflags;
  458.         word            altgroup[3];
  459.         byte            device;
  460.         byte            freespace[13];
  461.         }FILES;
  462.  
  463. typedef struct {
  464.         byte            l1;
  465.         char            name[8];
  466.         byte            l2;
  467.         char            parent[8];
  468.         byte            l3;
  469.         char            desc[70];
  470.         byte            attrib;
  471. /*                      Bit 0 : Private
  472.                             1 : Unlisted
  473.                             2 : Global
  474.                             3 : Permanent
  475.                             4 : Use handles
  476. */
  477.         byte            l4;
  478.         char            moderator[35];
  479.         byte            l5;
  480.         char            language[20];
  481.         byte            l6;
  482.         char            password[15];
  483.         word            security;
  484.         FlagType        flags;
  485.         byte            numnodes;
  486.         byte            active[250];
  487.         byte            child[250];
  488.         FlagType        notflagsmask;
  489.         byte            freespace[96];
  490.         }CONF;
  491.  
  492. typedef struct {
  493.           byte          comport;
  494.           byte          inittries;
  495.           word         buffersize;
  496.           word          modemdelay;
  497.           long int      maxspeed;
  498.           byte          sendbreak;
  499.           byte          lockmodem;
  500.           byte          answerphone;
  501.           byte          offhook;
  502.           byte          l1;
  503.           char          initStr[70];
  504.           byte          l2;
  505.           char          initStr2[70];
  506.           byte          l3;
  507.           char          busyStr[70];
  508.           byte          l4;
  509.           char          initResp[40];
  510.           byte          l5;
  511.           char          busyResp[40];
  512.           byte          l6;
  513.           char          connect300[40];
  514.           byte          l7;
  515.           char          connect1200[40];
  516.           byte       l8;
  517.           char          connect2400[40];
  518.           byte          l9;
  519.           char          connect4800[40];
  520.           byte          l10;
  521.           char          connect7200[40];
  522.           byte          l11;
  523.           char          connect9600[40];
  524.           byte          l12;
  525.           char          connect12k[40];
  526.           byte          l13;
  527.           char          connect14k[40];
  528.           byte          l14;
  529.           char          connect16k[40];
  530.           byte          l15;
  531.           char          connect19k[40];
  532.           byte          l16;
  533.           char          connect38k[40];
  534.           byte          l17;
  535.           char          connectFax[40];
  536.           byte          l18;
  537.           char          ringStr[20];
  538.           byte          l19;
  539.           char          answerStr[20];
  540.           byte          l20;
  541.           char          errorfreestring[15];
  542.           byte          freespace[300];
  543.           }MODEM;
  544.  
  545. typedef struct {
  546.         byte            l1;
  547.         char            extension[3];
  548.         byte            l2;
  549.         char            unpackcmd[60];
  550.         byte            l3;
  551.         char            packcmd[60];
  552.         }ARC;
  553.  
  554. typedef struct {
  555.         word            versionID;
  556.         byte            xCommPort;
  557.         long int        xBaud;
  558.         byte            xInitTries;
  559.         byte            l1;
  560.         char            xinitStr[70];
  561.         byte            l2;
  562.         char            xbusyStr[70];
  563.         byte            l3;
  564.         char            xInitResp[40];
  565.         byte            l4;
  566.         char            xBusyResp[40];
  567.         byte            l5;
  568.         char            xConnect300[40];
  569.         byte            l6;
  570.         char            xConnect1200[40];
  571.         byte            l7;
  572.         char            xConnect2400[40];
  573.         byte            l8;
  574.         char            xConnect4800[40];
  575.         byte            l9;
  576.         char            xConnect9600[40];
  577.         byte            l10;
  578.         char            xConnect19k[40];
  579.         byte            l11;
  580.         char            xConnect38k[40];
  581.         byte            xAnswerPhone;   // 1=TRUE 0=FALSE
  582.         byte            l12;
  583.         char            xRing[20];
  584.         byte            l13;
  585.         char            xAnswerStr[20];
  586.         byte            xFlushBuffer;
  587.         int             xModemDelay;
  588.  
  589.         word            minBaud;
  590.         word            graphicsBaud;
  591.         word            TransferBaud;
  592.         TIME            SlowBaudTimeStart;
  593.         TIME            SlowBaudTimeEnd;
  594.         TIME            DownloadTimeStart;
  595.         TIME            DownloadTimeEnd;
  596.  
  597.         TIME            PageStart[7];
  598.         TIME            PageEnd[7];
  599.  
  600.         byte            l14;
  601.         char            SeriNum[22];
  602.         byte            l15;
  603.         char            CustNum[22];
  604.         byte            FreeSpace1[24];
  605.         word            PwdExpiry;
  606.  
  607.         byte            l16;
  608.         char            MenuPath[60];
  609.         byte            l17;
  610.         char            TextPath[60];
  611.         byte            l18;
  612.         char            AttachPath[60];
  613.         byte            l19;
  614.         char            NodelistPath[60];
  615.         byte            l20;
  616.         char            MsgBasePath[60];
  617.         byte            l21;
  618.         char            SysPath[60];
  619.         byte            l22;
  620.         char            ExternalEdCmd[60];
  621.  
  622.         NETADDRESS      address[10];
  623.         byte            l23;
  624.         char            SystemName[30];
  625.  
  626.         word            NewSecurity;
  627.         word            NewCredit;
  628.         FlagType        NewFlags;
  629.         byte            l24;
  630.         char            OriginLine[60];
  631.         byte            l25;
  632.         char            QuoteString[15];
  633.         byte            l26;
  634.         char            Sysop[35];
  635.         byte            l27;
  636.         char            LogFileName[60];
  637.  
  638.         byte            Fastlogon;                    // 0=False 1=True
  639.         byte            AllowSysRem;                  //    "      "
  640.         byte            MonoMode;                     //    "      "
  641.         byte            StrictPwdChecking;            //    "      "
  642.         byte            DirectWrite;                  //    "      "
  643.         byte            SnowCheck;                    //    "      "
  644.  
  645.         int             CreditFactor;
  646.  
  647.         word            UserTimeOut;
  648.         word            LogonTime;
  649.         word            PasswordTries;
  650.         word            MaxPage;
  651.         word            PageLength;
  652.  
  653.         byte            CheckMultiLogon;       // 0=False  1=True
  654.         byte            ExcludeSysop;          //    "        "
  655.         byte            OneWordNames;          //    "        "
  656.  
  657.         AskType         CheckMail;
  658.  
  659.         byte            AskVoice;              //    "        "
  660.         byte            AskData;               //    "        "
  661.         byte            FullMailCheck;         //    "        "
  662.         byte            FileShells;            //    "        "
  663.         byte            FixUploadDates;        //    "        "
  664.         byte            FreezeChat;            //    "        "
  665.  
  666.         AskType         ANSI;
  667.         AskType         ClearScr;
  668.         AskType         MorePrompt;
  669.         byte            UploadMsgs;             //Boolean
  670.         AskType         KillSent;
  671.  
  672.         word            CrashAskSec;            // Min sec# to ask 'Crash Mail?'
  673.         FlagType        CrashAskFlags;
  674.         word            CrashSec;           // Min sec# to always send crash mail.
  675.         FlagType        CrashFlags;
  676.         word            FAttachSec;             // Min sec# to ask 'File Attach?'
  677.         FlagType        FAttachFlags;
  678.         byte            NormFore;
  679.         byte            NormBack;
  680.         byte            StatFore;
  681.         byte            StatBack;
  682.         byte            HiBack;
  683.         byte            HiFore;
  684.         byte            WindFore;
  685.         byte            WindBack;
  686.         byte            ExitLocal;
  687.         byte            Exit300;
  688.         byte            Exit1200;
  689.         byte            Exit2400;
  690.         byte            Exit4800;
  691.         byte            Exit9600;
  692.         byte            Exit19k;
  693.         byte            Exit38k;
  694.  
  695.         byte            MultiLine;      //Boolean
  696.         byte            MinPwdLen;
  697.         word            MinUpSpace;
  698.         AskType         HotKeys;
  699.         byte            BorderFore;
  700.         byte            BorderBack;
  701.         byte            BarFore;
  702.         byte            BarBack;
  703.         byte            LogStyle;
  704.         byte            MultiTasker;
  705.         byte            PwdBoard;
  706.         word            xBufferSize;
  707.  
  708.         struct  {
  709.                 byte    l1;
  710.                 char string[60];
  711.                 }Fkeys[10];
  712.  
  713.         byte            WhyPage;                //Boolean
  714.         byte            LeaveMsg;
  715.         byte            ShowMissingFiles;       //Boolean
  716.         byte            xLockModem;             //Boolean
  717.         byte            FreeSpace2[10];
  718.         byte            AllowNetMailReplies;    //Boolean
  719.         byte            l28;
  720.         char            LogonPrompt[40];
  721.         AskType         CheckNewFiles;
  722.         byte            l29;
  723.         char            ReplyHeader[60];
  724.         byte            BlankSecs;
  725.         byte            ProtocolAttrib[6];
  726.         byte            l30;
  727.         char            xErrorFreeString[15];
  728.         byte            xDefualtCombined[25];
  729.         word            RenumThreshold;
  730.         char            LeftBracket;
  731.         char            RightBracket;
  732.         byte            AskForHandle;           //Boolean
  733.         byte            AskForBirthdate;        //Boolean
  734.  
  735.         word            GroupMailSec;
  736.  
  737.         byte            ConfirmMsgDeletes;      //Boolean
  738.  
  739.         byte            FreeSpace4[30];
  740.  
  741.         byte            l31;
  742.         char            TempScanDir[60];
  743.         AskType         ScanNow;
  744.         byte            xUnknownArcAction;          //  Bit 0:Mark Deleted
  745.         byte            xFailedUnpackAction;        //  Bit 1:Mark Unlisted
  746.         byte            FailedScanAction;           //  Bit 2:Mark NotAvail
  747.  
  748.         word            xUnknownArcArea;
  749.         word            xFailedUnpackArea;
  750.         word            FailedScanArea;
  751.  
  752.         byte            l32;
  753.         char            ScanCmd[60];
  754.         byte            xDeductIfUnknown;       //Boolean
  755.  
  756.         byte            NewUserGroup;
  757.         AskType         AVATAR;
  758.         byte            BadPwdArea;
  759.         byte            l33;
  760.         char            Location[40];
  761.         byte            DoAfterAction;  // 0=wait for CR, > 0 = wait for x seconds
  762.         byte            l34;
  763.         char            OldFileLine[40];
  764.         byte            CRfore;
  765.         byte            CRback;
  766.         byte            l35;
  767.         char            LangHdr[40];
  768.         byte            xSendBreak;             //Boolean
  769.         byte            l36;
  770.         char            ListPath[60];
  771.         AskType         FullMsgView;
  772.         AskType         EMSI_Enable;
  773.         byte            EMSI_NewUser;           //Boolean
  774.  
  775.         byte            l37;
  776.         char            EchoChar[1];
  777.         byte            l38;
  778.         char            xConnect7200[40];
  779.         byte            l39;
  780.         char            xConnect12000[40];
  781.         byte            l40;
  782.         char            xConnect14400[40];
  783.         byte            Exit7200;
  784.         byte            Exit12000;
  785.         byte            Exit14400;
  786.         byte            l41;
  787.         char            ChatCommand[60];
  788.         AskType         ExtEd;
  789.         byte            NewuserLang;
  790.         byte            l42;
  791.         char            LangPrompt[40];
  792.         VideoType       VideoMode;
  793.         byte            AutoDetectAnsi; //Boolean
  794.         byte            xOffHook;                       //Boolean
  795.         byte            NewuserDateFormat;
  796.         byte            l43;
  797.         char            KeyboardPwd[15];
  798.         byte            CapLocation;            //Boolean
  799.  
  800.         byte            NewuserSub;
  801.         byte            l44;
  802.         char            PrinterName[4];
  803.         byte            HilitePromptFore;
  804.         byte            HilitePromptBack;
  805.  
  806.         byte            l45;
  807.         char            xInitStr2[70];
  808.         byte            AltJSwap;                       //Boolean
  809.         byte            l46;
  810.  
  811.         char            SemPath[60];
  812.         byte            AutoChatCapture;        //Boolean
  813.  
  814.         byte            l47;
  815.         char            FileBasePath[60];
  816.         byte            NewFileTag;             //Boolean
  817.         byte            IgnoreDupeExt;          //Boolean
  818.         byte            l48;
  819.         char            TempCdFilePath[60];
  820.         byte            TagFore;
  821.         byte            TagBack;
  822.  
  823.         byte            l49;
  824.         char            xConnect16k[40];
  825.         byte            Exit16k;
  826.         byte            FilePayback;
  827.  
  828.         byte            l50;
  829.         char            FileLine[200];
  830.         byte            l51;
  831.         char            FileMissingLine[200];
  832.  
  833.         byte            NewUserULCredit;
  834.         word            NewUserULCreditk;
  835.         ARC             ArcInfo[10];
  836.  
  837.         struct {
  838.                 byte    l1;
  839.                 char    string[60];
  840.                 }RaMgrAltFKeys[5];
  841.  
  842.         byte            l52;
  843.         char            ArcViewCmd[60];
  844.         byte            l53;
  845.         char            xConnectFax[40];
  846.         byte            ExitFax;
  847.  
  848.         byte            UseXMS;         //Boolean
  849.         byte            UseEMS;         //Boolean
  850.         byte            CheckDOB;
  851.         AskType         EchoCheck;
  852.         word            ccSec;
  853.         word            ReturnRecSec;
  854.  
  855.         byte            HonourNetReq;           //Boolean
  856.         COMBINED        DefaultCombined;
  857.         byte            AskForSex;      //Boolean
  858.         byte            AskForAddress;      //Boolean
  859.         AskType         DLdesc;
  860.         byte            NewPhoneScan;           //Boolean
  861.         byte            FutureExpansion[587];
  862.  
  863.         }CONFIG;
  864.  
  865. typedef struct {
  866.         word            Baud;
  867.         SYSINFO         SysInfo;
  868.         TIMELOG         TimeLogInfo;
  869.         USERS           UserInfo;
  870.         EVENT           EventInfo;
  871.         byte            NetMailEntered; //Boolean
  872.         byte            EchoMailEntered;        //Boolean
  873.         TIME            LoginTime;
  874.         DATE            LoginDate;
  875.         word            TimeLimit;
  876.         long int        LoginSec;
  877.         int             UserRecord;
  878.         word            ReadThru;
  879.         word            NumberPages;
  880.         word            DownloadLimit;
  881.         TIME            TimeOfCreation;
  882.         long int        LogonPasswordCRC;
  883.         byte            WantChat;                       //Boolean
  884.         int             DeductedTime;
  885.  
  886.         struct {
  887.                 byte l1;
  888.                 char     stack[8];
  889.                 }MenuStack[50];
  890.  
  891.         byte            MenuStackPointer;
  892.         USERSXI         UserXIinfo;
  893.         byte            ErrorFreeConnect;       //Boolean
  894.         byte            SysopNext;              //Boolean
  895.  
  896. // EMSI SESSION DATA
  897.  
  898.         byte            EMSI_Session;           //Boolean
  899.         byte            l1;
  900.         char            EMSI_Crtdef[40];
  901.         byte            l2;
  902.         char            EMSI_Protocols[40];
  903.         byte            l3;
  904.         char            EMSI_Capabilities[40];
  905.         byte            l4;
  906.         char            EMSI_Requests[40];
  907.         byte            l5;
  908.         char            EMSI_Software[40];
  909.  
  910.         byte            Hold_attr1;
  911.         byte            Hold_attr2;
  912.         byte            Hold_Len;
  913.  
  914.         byte            l6;
  915.         char            PageReason[80];
  916.         byte            StatusLine;
  917.  
  918.         byte            l7;
  919.         char            LastCostMenu[8];
  920.         word            MenuCostPerMin;
  921.         byte            DoesAVT;       //BOOL
  922.         byte            RIPmode;       //BOOL
  923.  
  924.         byte            ExtraSpace[86];
  925.  
  926.         }EXITINFO;
  927.  
  928. typedef struct {
  929.         byte            l1;
  930.         char            name[15];
  931.         char            ActiveKey;
  932.         byte            OpusTypeCtlFile;        //Boolean
  933.         byte            BatchAvailable; //Boolean
  934.         byte            Attribute;      // 0=Disabled, 1=Enabled, 2=Errorfree
  935.  
  936.         byte            l2;
  937.         char            LogFileName[80];
  938.         byte            l3;
  939.         char            CtlFileName[80];
  940.         byte            l4;
  941.         char            DnCmdString[80];
  942.         byte            l5;
  943.         char            DnCtlString[80];
  944.         byte            l6;
  945.         char            UpCmdString[80];
  946.         byte            l7;
  947.         char            UpCtlString[80];
  948.         byte            l8;
  949.         char            UpLogKeyword[20];
  950.         byte            l9;
  951.         char            DnLogKeyword[20];
  952.         byte            XferDescWordNum;
  953.         byte            XferNameWordNum;
  954.         }PROTOCOL;
  955.  
  956. ( * Complete Structure listings for RemoteAccess 2.00 Shareware * )
  957.  
  958.