*******************************************************************************
*******************************************************************************
*       NETINEL.CH :  CA CLIPPER included file for NetSentinelPro and         *
*                     NetSentinel-C                                           *
*******************************************************************************
*******************************************************************************

* NetSentinel error codes

#define CL_SUCCESS                        0

#define NN_SERVER_NOT_FOUND              -1
#define NN_INVALID_CONNECTION            -2
#define NN_ALGO_NOT_FOUND                -3
#define NN_OUT_OF_HANDLES                -4
#define NN_HANDLE_ALREADY_LOCKED         -5
#define NN_HANDLE_LOCKED                 -6

#define NN_INVALID_FUNCTION              -7
#define NN_INVALID_UNIT                  -8

#define CL_RPC_ERROR                     -9
#define CL_ALGO_NOT_FOUND               -10
#define CL_OUT_OF_HANDLES               -11
#define CL_NO_NETINEL_SERVERS           -12

#define CL_BAD_HANDLE                   -13
#define CL_NO_MORE_KEYS                 -14
#define CL_HANDLE_LOCKED                -15
#define CL_HANDLE_ALREADY_LOCKED        -16
#define CL_SERVER_DIED                  -17
#define CL_SERVER_PROTOCOL              -18
#define CL_NETWORK_INIT                 -19
#define CL_SERVER_NOT_FOUND             -20
#define CL_CANNOT_CONNECT               -21
#define CL_SERVER_BUSY                  -22
#define NN_KEY_REMOVED                  -23
#define CL_CLIENT_BUSY                  -24
#define CL_TASK_TABLE_FULL              -25
#define CL_API_ERROR                    -26
#define CL_INVALID_REQUEST              -27
#define CL_INVALID_HANDLE_TBL_REQ       -28
#define CL_MEMORY_ALLOCATION_ERR        -29
#define CL_VERSION_NOT_SUPPORTED        -30
#define CL_LOADER_NOT_INSTALLED         -31
#define CL_UNSUPPORTED_PROTOCOL         -32
#define CL_ASL_OPTION_NOT_AVAILABLE     -33
#define CL_ASL_MAX_LICENSE_REACHED      -34
#define CL_ASL_LICENSE_TABLE_FULL       -35
#define CL_ASL_KEY_REMOVED              -36
#define CL_ASL_KEY_CONTENT_CHANGED      -37
#define CL_ASL_OUT_OF_RANGE             -38
#define CL_ASL_NOT_INUSE_BY_YOU         -39
#define CL_INVALID_ASLCMD               -40
#define CL_ASL_RSP_PTR_NULL             -41
#define CL_INVALID_SUBLICENSE           -42
#define CL_FNCT_NOT_AVAIL_IN_LOCAL_MODE -43
#define NN_BAD_HANDLE                   -47

*  rbp defines

#define RBP_USE_HARDWIRED_PPORTS         1    // Use parallel port addrs
                                              // defined by the library
#define RBP_USE_SPECIFIED_PPORTS         2    // Use parallel port addrs
                                              // as specified by parms
#define RBP_DEFINE_DEPARTMENT_NAME       3    // Define department name
                                              // to access specific servers
#define RBP_USE_MAX_SERVERS              4    // Use to limit the number
                                              // of servers searched per
                                              // IPX and NetBIOS transports
#define RBP_DEFINE_PROTOCOLS             5    // Set client protocols from
                                              // array protocols.

#define XP_IPX                           1    // IPX/SPX
#define XP_NBIOSN                        3    // NetBIOS
#define XP_LOCAL                         5    // Local server
#define XP_TERMINATOR                  255    // terminator
#define XP_UNUSED                      255    // unused array element
#define XP_SKIP                          0    // internal - unused array element

*****************  Access Sub license Op Code  *****************
#define ASL_OPEN                      0
#define ASL_CLOSE                     1
#define ASL_GET_INFO                  2

