home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / dax1.exe / DAP / CONFIG.H next >
Text File  |  1992-07-15  |  4KB  |  93 lines

  1. //   ╔════════════════════════════════════════════════════════════════════╗
  2. //   ║                                                                    ║
  3. //   ║ module:      config.h                                              ║
  4. //   ║                                                                    ║
  5. //   ║  This software is provided as is and carries no warranty           ║
  6. //   ║  whatsoever.  Novell disclaims and excludes any and all implied    ║
  7. //   ║  warranties of merchantability, title and fitness for a particular ║
  8. //   ║  purpose.  Novell does not warrant that the software will satisfy  ║
  9. //   ║  your requirements or that the software is without defect or error ║
  10. //   ║  or that operation of the software will be uninterrupted.  You are ║
  11. //   ║  using the software at your risk.  The software is not a product   ║
  12. //   ║  of Novell, Inc. or any of subsidiaries.                           ║
  13. //   ║                                                                    ║
  14. //   ╟────────────────────────────────────────────────────────────────────╢
  15. //   ║ maintenance history:                                               ║
  16. //   ║ level    date      pi   description                                ║
  17. //   ╟────────────────────────────────────────────────────────────────────╢
  18. //   ║  001   02/28/92    kl   initial release.                           ║
  19. //   ╚════════════════════════════════════════════════════════════════════╝
  20.  
  21. #if !defined(DAPCONFIG)
  22. #define DAPCONFIG
  23.  
  24. //------------------------------------------------------------------------
  25. //-- Common MANIFEST constants
  26. //------------------------------------------------------------------------
  27.  
  28. //
  29. //  DAPMAXDATA specifies the maximum amount of data which can be exchanged
  30. //  between the client and server DAP Layers.  This data must not be larger
  31. //  than the maximum supported transfer size of the communication protocol
  32. //  (CP) Layer.
  33. //
  34.  
  35. #define DAPMAXDATA      100
  36.  
  37. #if defined(ENGINE)
  38. //------------------------------------------------------------------------
  39. //-- Engine MANIFEST constants
  40. //------------------------------------------------------------------------
  41.  
  42. //
  43. //  INCDATAAREA is true if you will be defining the server application
  44. //  data structure inside the DAP data structure.  When it is false,
  45. //  a pointer to void is declared instead, and the address of that pointer
  46. //  is passed to the client functions.
  47. //
  48.  
  49. #define INCDATAAREA         TRUE
  50.  
  51. //
  52. //  DEFMAXSESSIONS is the maximum sessions the DAP Layer will support
  53. //  be default.
  54. //
  55. #define DEFMAXSESSIONS      50
  56.  
  57. //
  58. //  DAPSTATISTICS should be TRUE to enable statistical info logging.
  59. //  When TRUE, a thread runs which updates the statistics every second.
  60. //
  61. #define DAPSTATISTICS   TRUE
  62.  
  63. #else   //defined(ENGINE)
  64. //------------------------------------------------------------------------
  65. //-- Client MANIFEST constants
  66. //------------------------------------------------------------------------
  67.  
  68. //
  69. //  The following manifest constants are used to intialize fields in the
  70. //  DAPDATA structure for a client session.  These fields control logic
  71. //  in the DAPSendMessage() API.  
  72. //
  73. //      DEFRETRYCOUNT 
  74. //          specifies the number of times it will send the message
  75. //          to the server application before giving up.
  76. //
  77. //      DEFRESPONSEDELAY 
  78. //          specifies how many tenths of second to wait between
  79. //          each resend of the message.
  80. //
  81. //      DEFSEQUENCENUMBER 
  82. //          is the sequence assigned to the first packet
  83. //          exchanged between the client and server.
  84. //
  85.  
  86. #define DEFRETRYCOUNT       2
  87. #define DEFRESPONSEDELAY    50
  88. #define DEFSEQUENCENUMBER   1
  89.  
  90. #endif  //defined(ENGINE)
  91.  
  92. #endif  //!defined(DAPCONFIG)
  93.