home *** CD-ROM | disk | FTP | other *** search
/ BBS 1 / BBS#1.iso / maximus / fddev220.arj / C.ARJ / SREQ.H < prev    next >
C/C++ Source or Header  |  1993-06-28  |  3KB  |  73 lines

  1. /*
  2. **  sreq.h
  3. **
  4. **  Structures of file created during an inbound service request and when
  5. **  the FrontDoor Mailer invokes an external file request processor. This
  6. **  filename is obtained with the =F macro.
  7. **
  8. **  NOTE: The format of this file is INCOMPATIBLE with the format used by
  9. **        versions prior to 2.11.
  10. **
  11. **  Copyright 1991-1993 Joaquim Homrighausen; All rights reserved.
  12. **
  13. **  Last revised: 93-06-20                         FrontDoor 2.11+
  14. **
  15. **  -------------------------------------------------------------------------
  16. **  This information is not necessarily final and is subject to change at any
  17. **  given time without further notice
  18. **  -------------------------------------------------------------------------
  19. */
  20. #ifndef __SREQ_H__
  21. #define __SREQ_H__
  22.  
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26.  
  27. /*
  28. **  The structure of the file is as follows:
  29. **
  30. **      <_InfoRec>
  31. **      <NumValidEntriesInIDList>    (16-bit integer)
  32. **      <_RemoteID * above>
  33. **
  34. **  All char[] fields are Pascal style (i.e. the first byte is the length
  35. **  byte and there is no terminating NUL character).
  36. */
  37. typedef struct
  38.     {
  39.     unsigned short int  Zone,                                      /*Address*/
  40.                         Net,
  41.                         Node,
  42.                         Point;
  43.     unsigned char       Denied;          /*Whether "DENY" applies to address*/
  44.     }
  45.     _RemoteID;
  46.  
  47. typedef struct
  48.     {
  49.     char                SystemName[81],                        /*System name*/
  50.                         SystemOperator[81],                /*System operator*/
  51.                         SystemLocation[41],                /*System location*/
  52.                         SystemPhone[27],     /*System telephone number (raw)*/
  53.                         SystemDomain[30];
  54.     unsigned long       Baudrate;              /*Maximum baud rate of system*/
  55.     char                Flags[52];           /*Nodelist flags (as presented)*/
  56.     unsigned short int  Zone,  /*Primary AKA, same as first _RemoteID record*/
  57.                         Net,
  58.                         Node,
  59.                         Point;
  60.     unsigned long       Capabilities;/*Nodelist flags (as found in Nodelist)*/
  61.     char                TrxNum[11];                     /*Transaction number*/
  62.                         SerialNumber[32],                    /*Serial number*/
  63.                         Password[18];               /*Session level password*/
  64.     }
  65.     _InfoRec;
  66.  
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif
  71.  
  72. /* end of file "sreq.h" */
  73.