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 >
Wrap
Text File
|
1992-07-15
|
4KB
|
93 lines
// ╔════════════════════════════════════════════════════════════════════╗
// ║ ║
// ║ module: config.h ║
// ║ ║
// ║ This software is provided as is and carries no warranty ║
// ║ whatsoever. Novell disclaims and excludes any and all implied ║
// ║ warranties of merchantability, title and fitness for a particular ║
// ║ purpose. Novell does not warrant that the software will satisfy ║
// ║ your requirements or that the software is without defect or error ║
// ║ or that operation of the software will be uninterrupted. You are ║
// ║ using the software at your risk. The software is not a product ║
// ║ of Novell, Inc. or any of subsidiaries. ║
// ║ ║
// ╟────────────────────────────────────────────────────────────────────╢
// ║ maintenance history: ║
// ║ level date pi description ║
// ╟────────────────────────────────────────────────────────────────────╢
// ║ 001 02/28/92 kl initial release. ║
// ╚════════════════════════════════════════════════════════════════════╝
#if !defined(DAPCONFIG)
#define DAPCONFIG
//------------------------------------------------------------------------
//-- Common MANIFEST constants
//------------------------------------------------------------------------
//
// DAPMAXDATA specifies the maximum amount of data which can be exchanged
// between the client and server DAP Layers. This data must not be larger
// than the maximum supported transfer size of the communication protocol
// (CP) Layer.
//
#define DAPMAXDATA 100
#if defined(ENGINE)
//------------------------------------------------------------------------
//-- Engine MANIFEST constants
//------------------------------------------------------------------------
//
// INCDATAAREA is true if you will be defining the server application
// data structure inside the DAP data structure. When it is false,
// a pointer to void is declared instead, and the address of that pointer
// is passed to the client functions.
//
#define INCDATAAREA TRUE
//
// DEFMAXSESSIONS is the maximum sessions the DAP Layer will support
// be default.
//
#define DEFMAXSESSIONS 50
//
// DAPSTATISTICS should be TRUE to enable statistical info logging.
// When TRUE, a thread runs which updates the statistics every second.
//
#define DAPSTATISTICS TRUE
#else //defined(ENGINE)
//------------------------------------------------------------------------
//-- Client MANIFEST constants
//------------------------------------------------------------------------
//
// The following manifest constants are used to intialize fields in the
// DAPDATA structure for a client session. These fields control logic
// in the DAPSendMessage() API.
//
// DEFRETRYCOUNT
// specifies the number of times it will send the message
// to the server application before giving up.
//
// DEFRESPONSEDELAY
// specifies how many tenths of second to wait between
// each resend of the message.
//
// DEFSEQUENCENUMBER
// is the sequence assigned to the first packet
// exchanged between the client and server.
//
#define DEFRETRYCOUNT 2
#define DEFRESPONSEDELAY 50
#define DEFSEQUENCENUMBER 1
#endif //defined(ENGINE)
#endif //!defined(DAPCONFIG)