new files
This commit is contained in:
		@@ -44,13 +44,13 @@ FINAL_TARGET    := $(FINAL_DIR)/$(APP_NAME)
 | 
			
		||||
# build, lib NCP must be built first.  lib NCP cannot be fully built until 
 | 
			
		||||
# until lib CLN has been built. Build order is NCP, CLN, NCP (or CLN, NCP, CLN)
 | 
			
		||||
NWLIB_PATH	:= /opt/novell/lib
 | 
			
		||||
NWLIB_LIST	:= clxlnx callnx netlnx ncplnx clnlnx loclnx
 | 
			
		||||
NWLIB_LIST	:= clnlnx netlnx
 | 
			
		||||
 | 
			
		||||
EXTLIB_PATH	:=
 | 
			
		||||
EXTLIB_PATH	:= ./xplatlib
 | 
			
		||||
EXTLIB_LIST	:=
 | 
			
		||||
 | 
			
		||||
# Compiler specific include paths
 | 
			
		||||
INC_PATH	=  /opt/novell/include/xplat /opt/novell/CASA_devel/include
 | 
			
		||||
INC_PATH	=  ./xplatincl /opt/novell/CASA_devel/include
 | 
			
		||||
              
 | 
			
		||||
# Compiler flagsEXTLIB_LIST
 | 
			
		||||
CFLAGS		:= -Wall -O2 -D N_PLAT_UNIX -D N_USE_CRT -fshort-wchar \
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										38
									
								
								c_clientlogin/xplatincl/npackoff.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								c_clientlogin/xplatincl/npackoff.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/* this header sets packing back to default for different compilers */
 | 
			
		||||
 | 
			
		||||
#if defined (__BORLANDC__)
 | 
			
		||||
# if (__BORLANDC__ >= 0x500)
 | 
			
		||||
#  pragma pack(pop)
 | 
			
		||||
# else
 | 
			
		||||
#  pragma option -a.
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (__WATCOMC__)
 | 
			
		||||
# if (__WATCOMC__ >= 1050)
 | 
			
		||||
#  pragma pack(pop)
 | 
			
		||||
# else
 | 
			
		||||
#  pragma pack()
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (__MWERKS__)
 | 
			
		||||
# if (__MWERKS__ >= 0x2100)
 | 
			
		||||
#  pragma pack(pop)
 | 
			
		||||
# else
 | 
			
		||||
#  pragma pack()
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined(__ECC__) || defined(__ECPP__)
 | 
			
		||||
# pragma pack(pop)
 | 
			
		||||
#elif defined (_MSC_VER)
 | 
			
		||||
# if (_MSC_VER >= 900)
 | 
			
		||||
#  pragma pack(pop)
 | 
			
		||||
# else
 | 
			
		||||
#  pragma pack()
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (N_PLAT_UNIX)
 | 
			
		||||
#else
 | 
			
		||||
# pragma pack()
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef N_PACK_1
 | 
			
		||||
#undef N_PACK_1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										56
									
								
								c_clientlogin/xplatincl/npackon.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								c_clientlogin/xplatincl/npackon.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
/* this header sets packing to 1 for different compilers */
 | 
			
		||||
 | 
			
		||||
#if defined (_MSC_VER) && !defined(__BORLANDC__)
 | 
			
		||||
# if (_MSC_VER > 600)
 | 
			
		||||
#  pragma warning(disable:4103)
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (__BORLANDC__)
 | 
			
		||||
# if (__BORLANDC__ >= 0x500)
 | 
			
		||||
#  pragma warn -pck
 | 
			
		||||
# endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined (__BORLANDC__)
 | 
			
		||||
# if (__BORLANDC__ >= 0x500)
 | 
			
		||||
#  pragma pack(push)
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (__WATCOMC__)
 | 
			
		||||
# if (__WATCOMC__ >= 1050)
 | 
			
		||||
#  pragma pack(push)
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined (__MWERKS__)
 | 
			
		||||
# if (__MWERKS__ >= 0x2100)
 | 
			
		||||
#  pragma pack(push)
 | 
			
		||||
# endif
 | 
			
		||||
#elif defined(__ECC__) || defined(__ECPP__)
 | 
			
		||||
# pragma pack(push)
 | 
			
		||||
#elif defined (_MSC_VER) 
 | 
			
		||||
# if (_MSC_VER >= 900)
 | 
			
		||||
#  pragma pack(push)
 | 
			
		||||
# endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(N_PLAT_DOS)\
 | 
			
		||||
	|| (defined(N_PLAT_MSW) && defined(N_ARCH_16) && !defined(N_PLAT_WNT))\
 | 
			
		||||
	|| defined(N_PLAT_NLM)\
 | 
			
		||||
	|| defined(N_PLAT_OS2)\
 | 
			
		||||
	|| defined(N_PACK_1)\
 | 
			
		||||
	|| defined(N_FORCE_INT_16)
 | 
			
		||||
 | 
			
		||||
# if defined(__BORLANDC__) 
 | 
			
		||||
#   if (__BORLANDC__ < 0x500)
 | 
			
		||||
#     pragma option -a-
 | 
			
		||||
#   else
 | 
			
		||||
#     pragma pack(1)
 | 
			
		||||
#   endif
 | 
			
		||||
# else
 | 
			
		||||
#   pragma pack(1)
 | 
			
		||||
# endif
 | 
			
		||||
 | 
			
		||||
#elif defined(N_PLAT_UNIX)
 | 
			
		||||
/* let compiler decide per CPU type */
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
# pragma pack(4)
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										1630
									
								
								c_clientlogin/xplatincl/ntypes.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1630
									
								
								c_clientlogin/xplatincl/ntypes.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										62
									
								
								c_clientlogin/xplatincl/nunicode.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								c_clientlogin/xplatincl/nunicode.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,62 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name:          nunicode.h %
 | 
			
		||||
  %version:       30 %
 | 
			
		||||
  %date_modified: Mon May  1 10:11:11 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1997 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if !defined(NUNICODE_H)
 | 
			
		||||
#define NUNICODE_H
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
 | 
			
		||||
   /* For LIBC builds the XPlat libraries use the LIBC unicode and 
 | 
			
		||||
    * localization support.  LIBC is the next generation of the c-runtime
 | 
			
		||||
    * on NetWare.  All other platforms will continue to use unicode.h
 | 
			
		||||
    * NOTE:  stddef.h in the LIBC sdk defines __NOVELL_LIBC__ 
 | 
			
		||||
    *  
 | 
			
		||||
   */
 | 
			
		||||
#if defined(__NOVELL_LIBC__)
 | 
			
		||||
   
 | 
			
		||||
   #include "unilib.h"
 | 
			
		||||
 | 
			
		||||
      /* unilib.h doesn't define the following with are used significantly
 | 
			
		||||
       * in the XPlat SDK.  Define them for the XPlat SDK.
 | 
			
		||||
      */
 | 
			
		||||
 | 
			
		||||
      /* NOTE:  LibC WinSock2 #defines "unicode" inside ws2defs.h.  
 | 
			
		||||
       * If LibC WinSock2 headers have been included, undefine unicode
 | 
			
		||||
       * and typdef it the way XPlat SDK expects it.
 | 
			
		||||
      */
 | 
			
		||||
   #if defined(unicode) 
 | 
			
		||||
      #undef unicode
 | 
			
		||||
   #endif
 | 
			
		||||
   
 | 
			
		||||
   #ifndef UNICODE_TYPE_DEFINED
 | 
			
		||||
   #define UNICODE_TYPE_DEFINED
 | 
			
		||||
   typedef unicode_t    unicode;  /* use LibC's unicode_t type */  
 | 
			
		||||
   #endif 
 | 
			
		||||
 | 
			
		||||
   typedef unicode *  punicode;
 | 
			
		||||
   typedef unicode ** ppunicode;
 | 
			
		||||
 | 
			
		||||
#else /* All non-LibC builds */
 | 
			
		||||
   
 | 
			
		||||
   #include "unicode.h"
 | 
			
		||||
 | 
			
		||||
#endif /* #if defined(__NOVELL_LIBC__) */ 
 | 
			
		||||
					 
 | 
			
		||||
 | 
			
		||||
#endif /* #if !defined(NUNICODE_H) */
 | 
			
		||||
							
								
								
									
										105
									
								
								c_clientlogin/xplatincl/nwacct.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								c_clientlogin/xplatincl/nwacct.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,105 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwacct.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Mon Oct 25 11:17:01 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWACCT_H )
 | 
			
		||||
#define NWACCT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  objectID;
 | 
			
		||||
   nint32   amount;
 | 
			
		||||
} HOLDS_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16  holdsCount;
 | 
			
		||||
   HOLDS_INFO holds[16];
 | 
			
		||||
} HOLDS_STATUS;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetAccountStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   nuint16              objType,
 | 
			
		||||
   const nstr8 N_FAR *  objName,
 | 
			
		||||
   pnint32              balance,
 | 
			
		||||
   pnint32              limit,
 | 
			
		||||
   HOLDS_STATUS N_FAR * holds
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWQueryAccountingInstalled
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        installed
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSubmitAccountCharge
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             serviceType,
 | 
			
		||||
   nint32              chargeAmt,
 | 
			
		||||
   nint32              holdCancelAmt,
 | 
			
		||||
   nuint16             noteType,
 | 
			
		||||
   const nstr8 N_FAR * note
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSubmitAccountHold
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nint32              holdAmt
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSubmitAccountNote
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             serviceType,
 | 
			
		||||
   nuint16             noteType,
 | 
			
		||||
   const nstr8 N_FAR * note
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										778
									
								
								c_clientlogin/xplatincl/nwadevnt.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										778
									
								
								c_clientlogin/xplatincl/nwadevnt.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,778 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwadevnt.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Tue Dec  1 10:09:29 1998 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWADEVNT_H )
 | 
			
		||||
#define NWADEVNT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
/* Bit definitions for volume audit events used in bit map */
 | 
			
		||||
enum auditBitMapIDs
 | 
			
		||||
{
 | 
			
		||||
   /* first 32 (0 - 31)bits reserved for dir service */
 | 
			
		||||
   A_BIT_BIND_CHG_OBJ_SECURITY    = 32,
 | 
			
		||||
   A_BIT_BIND_CHG_PROP_SECURITY,
 | 
			
		||||
   A_BIT_BIND_CREATE_OBJ,
 | 
			
		||||
   A_BIT_BIND_CREATE_PROPERTY,
 | 
			
		||||
   A_BIT_BIND_DELETE_OBJ,
 | 
			
		||||
   A_BIT_BIND_DELETE_PROPERTY,
 | 
			
		||||
   A_BIT_CHANGE_DATE_TIME,
 | 
			
		||||
   A_BIT_CHANGE_EQUIVALENCE,
 | 
			
		||||
   A_BIT_CHANGE_SECURITY_GROUP,
 | 
			
		||||
   A_BIT_UCLOSE_FILE,
 | 
			
		||||
   A_BIT_CLOSE_BINDERY,
 | 
			
		||||
   A_BIT_UCREATE_FILE,
 | 
			
		||||
   A_BIT_CREATE_USER,
 | 
			
		||||
   A_BIT_UDELETE_FILE,
 | 
			
		||||
   A_BIT_DELETE_USER,
 | 
			
		||||
   A_BIT_DIR_SPACE_RESTRICTIONS,
 | 
			
		||||
   A_BIT_DISABLE_ACCOUNT,
 | 
			
		||||
   A_BIT_DOWN_SERVER,
 | 
			
		||||
   A_BIT_GRANT_TRUSTEE,
 | 
			
		||||
   A_BIT_INTRUDER_LOCKOUT_CHANGE,
 | 
			
		||||
   A_BIT_LOGIN_USER,
 | 
			
		||||
   A_BIT_LOGIN_USER_FAILURE,
 | 
			
		||||
   A_BIT_LOGOUT_USER,
 | 
			
		||||
   A_BIT_NET_LOGIN,
 | 
			
		||||
   A_BIT_UMODIFY_ENTRY,
 | 
			
		||||
   A_BIT_OPEN_BINDERY,
 | 
			
		||||
   A_BIT_UOPEN_FILE,
 | 
			
		||||
   A_BIT_UREAD_FILE,
 | 
			
		||||
   A_BIT_REMOVE_TRUSTEE,
 | 
			
		||||
   A_BIT_URENAME_MOVE_FILE,
 | 
			
		||||
   A_BIT_RENAME_USER,
 | 
			
		||||
   A_BIT_USALVAGE_FILE,
 | 
			
		||||
   A_BIT_STATION_RESTRICTIONS,
 | 
			
		||||
   A_BIT_CHANGE_PASSWORD,
 | 
			
		||||
   A_BIT_TERMINATE_CONNECTION,
 | 
			
		||||
   A_BIT_UP_SERVER,
 | 
			
		||||
   A_BIT_USER_CHANGE_PASSWORD,
 | 
			
		||||
   A_BIT_USER_LOCKED,
 | 
			
		||||
   A_BIT_USER_SPACE_RESTRICTIONS,
 | 
			
		||||
   A_BIT_USER_UNLOCKED,
 | 
			
		||||
   A_BIT_VOLUME_MOUNT,
 | 
			
		||||
   A_BIT_VOLUME_DISMOUNT,
 | 
			
		||||
   A_BIT_UWRITE_FILE,
 | 
			
		||||
   A_BIT_GOPEN_FILE,
 | 
			
		||||
   A_BIT_GCLOSE_FILE,
 | 
			
		||||
   A_BIT_GCREATE_FILE,
 | 
			
		||||
   A_BIT_GDELETE_FILE,
 | 
			
		||||
   A_BIT_GREAD_FILE,
 | 
			
		||||
   A_BIT_GWRITE_FILE,
 | 
			
		||||
   A_BIT_GRENAME_MOVE_FILE,
 | 
			
		||||
   A_BIT_GMODIFY_ENTRY,
 | 
			
		||||
   A_BIT_IOPEN_FILE,
 | 
			
		||||
   A_BIT_ICLOSE_FILE,
 | 
			
		||||
   A_BIT_ICREATE_FILE,
 | 
			
		||||
   A_BIT_IDELETE_FILE,
 | 
			
		||||
   A_BIT_IREAD_FILE,
 | 
			
		||||
   A_BIT_IWRITE_FILE,
 | 
			
		||||
   A_BIT_IRENAME_MOVE_FILE,
 | 
			
		||||
   A_BIT_IMODIFY_ENTRY,
 | 
			
		||||
   A_BIT_Q_ATTACH_SERVER,
 | 
			
		||||
   A_BIT_Q_CREATE,
 | 
			
		||||
   A_BIT_Q_CREATE_JOB,
 | 
			
		||||
   A_BIT_Q_DESTROY,
 | 
			
		||||
   A_BIT_Q_DETACH_SERVER,
 | 
			
		||||
   A_BIT_Q_EDIT_JOB,
 | 
			
		||||
   A_BIT_Q_JOB_FINISH,
 | 
			
		||||
   A_BIT_Q_JOB_SERVICE,
 | 
			
		||||
   A_BIT_Q_JOB_SERVICE_ABORT,
 | 
			
		||||
   A_BIT_Q_REMOVE_JOB,
 | 
			
		||||
   A_BIT_Q_SET_JOB_PRIORITY,
 | 
			
		||||
   A_BIT_Q_SET_STATUS,
 | 
			
		||||
   A_BIT_Q_START_JOB,
 | 
			
		||||
   A_BIT_Q_SWAP_RIGHTS,
 | 
			
		||||
   A_BIT_NLM_ADD_RECORD,
 | 
			
		||||
   A_BIT_NLM_ADD_ID_RECORD,
 | 
			
		||||
   A_BIT_CLOSE_MODIFIED_FILE,
 | 
			
		||||
   A_BIT_GCREATE_DIRECTORY,
 | 
			
		||||
   A_BIT_ICREATE_DIRECTORY,
 | 
			
		||||
   A_BIT_UCREATE_DIRECTORY,
 | 
			
		||||
   A_BIT_GDELETE_DIRECTORY,
 | 
			
		||||
   A_BIT_IDELETE_DIRECTORY,
 | 
			
		||||
   A_BIT_UDELETE_DIRECTORY, /* 113 */
 | 
			
		||||
   /* Start of Trusted NetWare Auditing */
 | 
			
		||||
   A_BIT_GET_CURRENT_ACCNT_STATS,
 | 
			
		||||
   A_BIT_SUBMIT_ACCOUNT_CHARGE,
 | 
			
		||||
   A_BIT_SUBMIT_ACCOUNT_HOLD,
 | 
			
		||||
   A_BIT_SUBMIT_ACCOUNT_NOTE,
 | 
			
		||||
   A_BIT_DISABLE_BROADCASTS,
 | 
			
		||||
   A_BIT_GET_BROADCAST_MESSAGE,
 | 
			
		||||
   A_BIT_ENABLE_BROADCASTS,
 | 
			
		||||
   A_BIT_BROADCAST_TO_CONSOLE,
 | 
			
		||||
   A_BIT_SEND_BROADCAST_MESSAGE,
 | 
			
		||||
   A_BIT_WRITE_EATTRIB,
 | 
			
		||||
   A_BIT_READ_EATTRIB,
 | 
			
		||||
   A_BIT_ENUM_EATTRIB,
 | 
			
		||||
   A_BIT_SEE_FSO,          /* not used */
 | 
			
		||||
   A_BIT_GET_FSO_RIGHTS,
 | 
			
		||||
   A_BIT_PURGE_FILE,
 | 
			
		||||
   A_BIT_SCAN_DELETED,
 | 
			
		||||
   A_BIT_DUPLICATE_EATTRIB,
 | 
			
		||||
   A_BIT_ALLOC_DIR_HANDLE,
 | 
			
		||||
   A_BIT_SET_HANDLE,
 | 
			
		||||
   A_BIT_SEARCH,
 | 
			
		||||
   A_BIT_GEN_DIR_BASE_AND_VOL,
 | 
			
		||||
   A_BIT_OBTAIN_FSO_INFO,
 | 
			
		||||
   A_BIT_GET_REF_COUNT,
 | 
			
		||||
   A_BIT_MODIFY_ENTRY_NO_SRCH, /* not used */
 | 
			
		||||
   A_BIT_SCAN_TRUSTEES,
 | 
			
		||||
   A_BIT_GET_OBJ_EFFECTIVE_RTS,
 | 
			
		||||
   A_BIT_PARSE_TREE,
 | 
			
		||||
   A_BIT_SET_SPOOL_FILE_FLAGS,
 | 
			
		||||
   A_BIT_RESTORE_Q_SERVER_RTS,
 | 
			
		||||
   A_BIT_Q_JOB_SIZE,
 | 
			
		||||
   A_BIT_Q_JOB_LIST,
 | 
			
		||||
   A_BIT_Q_JOB_FROM_FORM_LIST,
 | 
			
		||||
   A_BIT_READ_Q_JOB_ENTRY,
 | 
			
		||||
   A_BIT_MOVE_Q_JOB,
 | 
			
		||||
   A_BIT_READ_Q_STATUS,
 | 
			
		||||
   A_BIT_READ_Q_SERVER_STATUS,
 | 
			
		||||
   A_BIT_EXTENDED_SEARCH,
 | 
			
		||||
   A_BIT_GET_DIR_ENTRY,
 | 
			
		||||
   A_BIT_SCAN_VOL_USER_RESTR,
 | 
			
		||||
   A_BIT_VERIFY_SERIAL,
 | 
			
		||||
   A_BIT_GET_DISK_UTILIZATION,
 | 
			
		||||
   A_BIT_LOG_FILE,
 | 
			
		||||
   A_BIT_SET_COMP_FILE_SZ,
 | 
			
		||||
   A_BIT_DISABLE_LOGIN,
 | 
			
		||||
   A_BIT_ENABLE_LOGIN,
 | 
			
		||||
   A_BIT_DISABLE_TTS,
 | 
			
		||||
   A_BIT_ENABLE_TTS,
 | 
			
		||||
   A_BIT_SEND_CONSOLE_BCAST,
 | 
			
		||||
   A_BIT_GET_REMAIN_OBJ_DISK_SPC,
 | 
			
		||||
   A_BIT_GET_CONN_TASKS,
 | 
			
		||||
   A_BIT_GET_CONN_OPEN_FILES,
 | 
			
		||||
   A_BIT_GET_CONN_USING_FILE,
 | 
			
		||||
   A_BIT_GET_PHYS_REC_LOCKS_CONN,
 | 
			
		||||
   A_BIT_GET_PHYS_REC_LOCKS_FILE,
 | 
			
		||||
   A_BIT_GET_LOG_REC_BY_CONN,
 | 
			
		||||
   A_BIT_GET_LOG_REC_INFO,
 | 
			
		||||
   A_BIT_GET_CONN_SEMS,
 | 
			
		||||
   A_BIT_GET_SEM_INFO,
 | 
			
		||||
   A_BIT_MAP_DIR_TO_PATH,
 | 
			
		||||
   A_BIT_CONVERT_PATH_TO_ENTRY,
 | 
			
		||||
   A_BIT_DESTROY_SERVICE_CONN,
 | 
			
		||||
   A_BIT_SET_Q_SERVER_STATUS,
 | 
			
		||||
   A_BIT_CONSOLE_COMMAND,
 | 
			
		||||
   A_BIT_REMOTE_ADD_NS,
 | 
			
		||||
   A_BIT_REMOTE_DISMOUNT,
 | 
			
		||||
   A_BIT_REMOTE_EXE,
 | 
			
		||||
   A_BIT_REMOTE_LOAD,
 | 
			
		||||
   A_BIT_REMOTE_MOUNT,
 | 
			
		||||
   A_BIT_REMOTE_SET,
 | 
			
		||||
   A_BIT_REMOTE_UNLOAD,
 | 
			
		||||
   A_BIT_GET_CONN_RANGE,
 | 
			
		||||
   A_BIT_GET_VOL_LABEL,
 | 
			
		||||
   A_BIT_SET_VOL_LABEL,
 | 
			
		||||
   A_BIT_FAILED_MASV_ACCESS
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* The following is used for Volume Auditing Events */
 | 
			
		||||
typedef struct tagNWVolAuditRecord
 | 
			
		||||
{
 | 
			
		||||
   nuint16  eventTypeID;
 | 
			
		||||
   nuint16  chkWord;
 | 
			
		||||
   nuint32  connectionID;
 | 
			
		||||
   nuint32  processUniqueID;
 | 
			
		||||
   nuint32  successFailureStatusCode;
 | 
			
		||||
   nuint16  dosDate;
 | 
			
		||||
   nuint16  dosTime;
 | 
			
		||||
/* nuint8   extra[0];   start of 'union EventUnion'  */
 | 
			
		||||
}NWVolumeAuditRcd, N_FAR *pNWVolumeAuditRcd;
 | 
			
		||||
 | 
			
		||||
/* auditing events that are returned in the AuditRecord eventTypeID field */
 | 
			
		||||
enum auditedEventIDs
 | 
			
		||||
{
 | 
			
		||||
   A_EVENT_BIND_CHG_OBJ_SECURITY    = 1,
 | 
			
		||||
   A_EVENT_BIND_CHG_PROP_SECURITY   = 2,
 | 
			
		||||
   A_EVENT_BIND_CREATE_OBJ          = 3,
 | 
			
		||||
   A_EVENT_BIND_CREATE_PROPERTY     = 4,
 | 
			
		||||
   A_EVENT_BIND_DELETE_OBJ          = 5,
 | 
			
		||||
   A_EVENT_BIND_DELETE_PROPERTY     = 6,
 | 
			
		||||
   A_EVENT_CHANGE_DATE_TIME         = 7,
 | 
			
		||||
   A_EVENT_CHANGE_EQUIVALENCE       = 8,
 | 
			
		||||
   A_EVENT_CHANGE_SECURITY_GROUP    = 9,
 | 
			
		||||
   A_EVENT_CLOSE_FILE               = 10,
 | 
			
		||||
   A_EVENT_CLOSE_BINDERY            = 11,
 | 
			
		||||
   A_EVENT_CREATE_FILE              = 12,
 | 
			
		||||
   A_EVENT_CREATE_USER              = 13,
 | 
			
		||||
   A_EVENT_DELETE_FILE              = 14,
 | 
			
		||||
   A_EVENT_DELETE_USER              = 15,
 | 
			
		||||
   A_EVENT_DIR_SPACE_RESTRICTIONS   = 16,
 | 
			
		||||
   A_EVENT_DISABLE_ACCOUNT          = 17,
 | 
			
		||||
   A_EVENT_DOWN_SERVER              = 18,
 | 
			
		||||
   A_EVENT_GRANT_TRUSTEE            = 19,
 | 
			
		||||
   A_EVENT_INTRUDER_LOCKOUT_CHNG    = 20,
 | 
			
		||||
   A_EVENT_LOGIN_USER               = 21,
 | 
			
		||||
   A_EVENT_LOGIN_USER_FAILURE       = 22,
 | 
			
		||||
   A_EVENT_LOGOUT_USER              = 23,
 | 
			
		||||
   A_EVENT_NET_LOGIN                = 24,
 | 
			
		||||
   A_EVENT_MODIFY_ENTRY             = 25,
 | 
			
		||||
   A_EVENT_OPEN_BINDERY             = 26,
 | 
			
		||||
   A_EVENT_OPEN_FILE                = 27,
 | 
			
		||||
   A_EVENT_Q_ATTACH_SERVER          = 28,
 | 
			
		||||
   A_EVENT_Q_CREATE                 = 29,
 | 
			
		||||
   A_EVENT_Q_CREATE_JOB             = 30,
 | 
			
		||||
   A_EVENT_Q_DESTROY                = 31,
 | 
			
		||||
   A_EVENT_Q_DETACH_SERVER          = 32,
 | 
			
		||||
   A_EVENT_Q_EDIT_JOB               = 33,
 | 
			
		||||
   A_EVENT_Q_JOB_FINISH             = 34,
 | 
			
		||||
   A_EVENT_Q_JOB_SERVICE            = 35,
 | 
			
		||||
   A_EVENT_Q_JOB_SERVICE_ABORT      = 36,
 | 
			
		||||
   A_EVENT_Q_REMOVE_JOB             = 37,
 | 
			
		||||
   A_EVENT_Q_SET_JOB_PRIORITY       = 38,
 | 
			
		||||
   A_EVENT_Q_SET_STATUS             = 39,
 | 
			
		||||
   A_EVENT_Q_START_JOB              = 40,
 | 
			
		||||
   A_EVENT_Q_SWAP_RIGHTS            = 41,
 | 
			
		||||
   A_EVENT_READ_FILE                = 42,
 | 
			
		||||
   A_EVENT_REMOVE_TRUSTEE           = 43,
 | 
			
		||||
   A_EVENT_RENAME_MOVE_FILE         = 44,
 | 
			
		||||
   A_EVENT_RENAME_USER              = 45,
 | 
			
		||||
   A_EVENT_SALVAGE_FILE             = 46,
 | 
			
		||||
   A_EVENT_STATION_RESTRICTIONS     = 47,
 | 
			
		||||
   A_EVENT_CHANGE_PASSWORD          = 48,
 | 
			
		||||
   A_EVENT_TERMINATE_CONNECTION     = 49,
 | 
			
		||||
   A_EVENT_UP_SERVER                = 50,
 | 
			
		||||
   A_EVENT_USER_CHANGE_PASSWORD     = 51,
 | 
			
		||||
   A_EVENT_USER_LOCKED              = 52,
 | 
			
		||||
   A_EVENT_USER_SPACE_RESTRICTION   = 53,
 | 
			
		||||
   A_EVENT_USER_UNLOCKED            = 54,
 | 
			
		||||
   A_EVENT_VOLUME_MOUNT             = 55,
 | 
			
		||||
   A_EVENT_VOLUME_DISMOUNT          = 56,
 | 
			
		||||
   A_EVENT_WRITE_FILE               = 57,
 | 
			
		||||
   A_ACTIVE_CONNECTION_RCD          = 58,
 | 
			
		||||
   A_ADD_AUDITOR_ACCESS             = 59,
 | 
			
		||||
   A_ADD_AUDIT_PROPERTY             = 60,
 | 
			
		||||
   A_CHANGE_AUDIT_PASSWORD          = 61,
 | 
			
		||||
   A_DELETE_AUDIT_PROPERTY          = 62,
 | 
			
		||||
   A_DISABLE_VOLUME_AUDIT           = 63,
 | 
			
		||||
   A_OPEN_FILE_HANDLE_RCD           = 64,
 | 
			
		||||
   A_ENABLE_VOLUME_AUDITING         = 65,
 | 
			
		||||
   A_REMOVE_AUDITOR_ACCESS          = 66,
 | 
			
		||||
   A_RESET_AUDIT_FILE               = 67,
 | 
			
		||||
   A_RESET_AUDIT_FILE2              = 68,
 | 
			
		||||
   A_RESET_CONFIG_FILE              = 69,
 | 
			
		||||
   A_WRITE_AUDIT_BIT_MAP            = 70,
 | 
			
		||||
   A_WRITE_AUDIT_CONFIG_HDR         = 71,
 | 
			
		||||
   A_NLM_ADD_RECORD                 = 72,
 | 
			
		||||
   A_ADD_NLM_ID_RECORD              = 73,
 | 
			
		||||
   A_CHANGE_AUDIT_PASSWORD2         = 74,
 | 
			
		||||
   A_EVENT_CREATE_DIRECTORY         = 75,
 | 
			
		||||
   A_EVENT_DELETE_DIRECTORY         = 76,
 | 
			
		||||
   A_INTRUDER_DETECT                = 77,
 | 
			
		||||
   A_VOLUME_NAME_RCD                = 78,
 | 
			
		||||
   A_BEGIN_AUDIT_FILE_READ          = 79,
 | 
			
		||||
   A_VOLUME_NAME_RCD_2              = 80,
 | 
			
		||||
   A_DELETE_OLD_AUDIT_FILE          = 81,
 | 
			
		||||
   A_QUERY_AUDIT_STATUS             = 82,
 | 
			
		||||
 | 
			
		||||
   /* begin TNW changes */
 | 
			
		||||
 | 
			
		||||
   A_EVENT_GET_CURRENT_ACNT_STATS      = 200,
 | 
			
		||||
   A_EVENT_SUBMIT_ACCOUNT_CHARGE       = 201,
 | 
			
		||||
   A_EVENT_SUBMIT_ACCOUNT_HOLD         = 202,
 | 
			
		||||
   A_EVENT_SUBMIT_ACCOUNT_NOTE         = 203,
 | 
			
		||||
   A_EVENT_DISABLE_BROADCASTS          = 204,
 | 
			
		||||
   A_EVENT_GET_BROADCAST_MESSAGE       = 205,
 | 
			
		||||
   A_EVENT_ENABLE_BROADCASTS           = 206,
 | 
			
		||||
   A_EVENT_BROADCAST_TO_CONSOLE        = 207,
 | 
			
		||||
   A_EVENT_SEND_BROADCAST_MESSAGE      = 208,
 | 
			
		||||
   A_EVENT_WRITE_EATTRIB               = 209,
 | 
			
		||||
   A_EVENT_READ_EATTRIB                = 210,
 | 
			
		||||
   A_EVENT_ENUM_EATTRIB                = 211,
 | 
			
		||||
   A_EVENT_SEE_FSO                     = 212, /* not used */
 | 
			
		||||
   A_EVENT_GET_FSO_RIGHTS              = 213,
 | 
			
		||||
   A_EVENT_PURGE_FILE                  = 214,
 | 
			
		||||
   A_EVENT_SCAN_DELETED                = 215,
 | 
			
		||||
   A_EVENT_DUPLICATE_EATTRIB           = 216,
 | 
			
		||||
   A_EVENT_ALLOC_DIR_HANDLE            = 217,
 | 
			
		||||
   A_EVENT_SET_HANDLE                  = 218,
 | 
			
		||||
   A_EVENT_SEARCH                      = 219,
 | 
			
		||||
   A_EVENT_GEN_DIR_BASE_AND_VOL        = 220,
 | 
			
		||||
   A_EVENT_OBTAIN_FSO_INFO             = 221,
 | 
			
		||||
   A_EVENT_GET_REF_COUNT               = 222,
 | 
			
		||||
   A_EVENT_MODIFY_ENTRY_NO_SEARCH      = 223,
 | 
			
		||||
   A_EVENT_SCAN_TRUSTEES               = 224,
 | 
			
		||||
   A_EVENT_GET_OBJ_EFFECTIVE_RGHT      = 225,
 | 
			
		||||
   A_EVENT_PARSE_TREE                  = 226,
 | 
			
		||||
   A_EVENT_SET_SPOOL_FILE_FLAGS        = 227,
 | 
			
		||||
   A_EVENT_RESTORE_Q_SERVER_RGHT       = 228,
 | 
			
		||||
   A_EVENT_Q_JOB_SIZE                  = 229,
 | 
			
		||||
   A_EVENT_Q_JOB_LIST                  = 230,
 | 
			
		||||
   A_EVENT_Q_JOB_FROM_FORM_LIST        = 231,
 | 
			
		||||
   A_EVENT_READ_Q_JOB_ENTRY            = 232,
 | 
			
		||||
   A_EVENT_MOVE_Q_JOB                  = 233,
 | 
			
		||||
   A_EVENT_READ_Q_STATUS               = 234,
 | 
			
		||||
   A_EVENT_READ_Q_SERVER_STATUS        = 235,
 | 
			
		||||
   A_EVENT_EXTENDED_SEARCH             = 236,
 | 
			
		||||
   A_EVENT_GET_DIR_ENTRY               = 237,
 | 
			
		||||
   A_EVENT_SCAN_VOL_USER_RESTR         = 238,
 | 
			
		||||
   A_EVENT_VERIFY_SERIAL               = 239,
 | 
			
		||||
   A_EVENT_GET_DISK_UTILIZATION        = 240,
 | 
			
		||||
   A_EVENT_LOG_FILE                    = 241,
 | 
			
		||||
   A_EVENT_SET_COMP_FILE_SZ            = 242,
 | 
			
		||||
   A_EVENT_DISABLE_LOGIN               = 243,
 | 
			
		||||
   A_EVENT_ENABLE_LOGIN                = 244,
 | 
			
		||||
   A_EVENT_DISABLE_TTS                 = 245,
 | 
			
		||||
   A_EVENT_ENABLE_TTS                  = 246,
 | 
			
		||||
   A_EVENT_SEND_CONSOLE_BROADCAST      = 247,
 | 
			
		||||
   A_EVENT_GET_REMAIN_OBJ_DISK_SPC     = 248,
 | 
			
		||||
   A_EVENT_GET_CONN_TASKS              = 249,
 | 
			
		||||
   A_EVENT_GET_CONN_OPEN_FILES         = 250,
 | 
			
		||||
   A_EVENT_GET_CONN_USING_FILE         = 251,
 | 
			
		||||
   A_EVENT_GET_PHYS_REC_LOCKS_CONN     = 252,
 | 
			
		||||
   A_EVENT_GET_PHYS_REC_LOCKS_FILE     = 253,
 | 
			
		||||
   A_EVENT_GET_LOG_REC_BY_CONN         = 254,
 | 
			
		||||
   A_EVENT_GET_LOG_REC_INFO            = 255,
 | 
			
		||||
   A_EVENT_GET_CONN_SEMS               = 256,
 | 
			
		||||
   A_EVENT_GET_SEM_INFO                = 257,
 | 
			
		||||
   A_EVENT_MAP_DIR_TO_PATH             = 258,
 | 
			
		||||
   A_EVENT_CONVERT_PATH_TO_ENTRY       = 259,
 | 
			
		||||
   A_EVENT_DESTROY_SERVICE_CONN        = 260,
 | 
			
		||||
   A_EVENT_SET_Q_SERVER_STATUS         = 261,
 | 
			
		||||
   A_EVENT_CONSOLE_COMMAND             = 262,
 | 
			
		||||
   A_EVENT_REMOTE_ADD_NS               = 263,
 | 
			
		||||
   A_EVENT_REMOTE_DISMOUNT             = 264,
 | 
			
		||||
   A_EVENT_REMOTE_EXE                  = 265,
 | 
			
		||||
   A_EVENT_REMOTE_LOAD                 = 266,
 | 
			
		||||
   A_EVENT_REMOTE_MOUNT                = 267,
 | 
			
		||||
   A_EVENT_REMOTE_SET                  = 268,
 | 
			
		||||
   A_EVENT_REMOTE_UNLOAD               = 269,
 | 
			
		||||
   A_EVENT_GET_CONN_RANGE              = 270,
 | 
			
		||||
   A_EVENT_GET_VOL_LABEL               = 271,
 | 
			
		||||
   A_EVENT_SET_VOL_LABEL               = 272,
 | 
			
		||||
   A_EVENT_FAILED_MASV_ACCESS          = 273,
 | 
			
		||||
   A_EVENT_LAST_PLUS_ONE               = 274
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWModifyStructure
 | 
			
		||||
{
 | 
			
		||||
   nuint8   *MModifyName;
 | 
			
		||||
   nuint32  MFileAttributes;
 | 
			
		||||
   nuint32  MFileAttributesMask;
 | 
			
		||||
   nuint16  MCreateDate;
 | 
			
		||||
   nuint16  MCreateTime;
 | 
			
		||||
   nuint32  MOwnerID;
 | 
			
		||||
   nuint16  MLastArchivedDate;
 | 
			
		||||
   nuint16  MLastArchivedTime;
 | 
			
		||||
   nuint32  MLastArchivedID;
 | 
			
		||||
   nuint16  MLastUpdatedDate;    /* also last modified date and time. */
 | 
			
		||||
   nuint16  MLastUpdatedTime;
 | 
			
		||||
   nuint32  MLastUpdatedID;
 | 
			
		||||
   nuint16  MLastAccessedDate;
 | 
			
		||||
   nuint16  MInheritanceGrantMask;
 | 
			
		||||
   nuint16  MInheritanceRevokeMask;
 | 
			
		||||
   nuint32  MMaximumSpace;
 | 
			
		||||
} NWModifyStructure, N_FAR *pNWModifyStructure;
 | 
			
		||||
 | 
			
		||||
#ifndef MModifyNameBit
 | 
			
		||||
#define MModifyNameBit           0x0001L
 | 
			
		||||
#define MFileAttributesBit       0x0002L
 | 
			
		||||
#define MCreateDateBit           0x0004L
 | 
			
		||||
#define MCreateTimeBit           0x0008L
 | 
			
		||||
#define MOwnerIDBit              0x0010L
 | 
			
		||||
#define MLastArchivedDateBit     0x0020L
 | 
			
		||||
#define MLastArchivedTimeBit     0x0040L
 | 
			
		||||
#define MLastArchivedIDBit       0x0080L
 | 
			
		||||
#define MLastUpdatedDateBit      0x0100L
 | 
			
		||||
#define MLastUpdatedTimeBit      0x0200L
 | 
			
		||||
#define MLastUpdatedIDBit        0x0400L
 | 
			
		||||
#define MLastAccessedDateBit     0x0800L
 | 
			
		||||
#define MInheritedRightsMaskBit  0x1000L
 | 
			
		||||
#define MMaximumSpaceBit         0x2000L
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
union EventUnion
 | 
			
		||||
{
 | 
			
		||||
   struct eventChgDate
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  newDosDateTime;
 | 
			
		||||
   } EChgDate;
 | 
			
		||||
 | 
			
		||||
   struct eventCreateUser
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  userID;
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } ECreateUser;
 | 
			
		||||
 | 
			
		||||
   struct eventBindChgSecurity
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  newSecurity;
 | 
			
		||||
      nuint32  oldSecurity;
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EBindChgSecurity;
 | 
			
		||||
 | 
			
		||||
   struct eventBindChgSecGrp
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  addFlag;
 | 
			
		||||
      nuint8   objName[1];                             /* obj name */
 | 
			
		||||
      nuint8   name[1];                                /* member name */
 | 
			
		||||
   } EBindChgSecGrp;
 | 
			
		||||
 | 
			
		||||
   struct eventBindCreateObj
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  objectID;
 | 
			
		||||
      nuint32  security;
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EBindCreateObj;
 | 
			
		||||
 | 
			
		||||
   struct eventBindCreateProp
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  security;
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EBindCreateProp;
 | 
			
		||||
 | 
			
		||||
   struct eventBindDeleteProp
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EBindDeleteProp;
 | 
			
		||||
 | 
			
		||||
   struct eventIntruderLockoutChg
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   hbaa;         /* nuint8 exchanged allowed attempts */
 | 
			
		||||
      nuint8   lbaa;
 | 
			
		||||
      nuint8   hbrm;         /* reset minutes */
 | 
			
		||||
      nuint8   lbrm;
 | 
			
		||||
      nuint8   hblm;         /* lock minutes */
 | 
			
		||||
      nuint8   lblm;
 | 
			
		||||
   } EILockChg;
 | 
			
		||||
 | 
			
		||||
   struct eventLogin
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  userID;
 | 
			
		||||
      nuint8   networkAddressType;
 | 
			
		||||
      nuint8   networkAddressLength;
 | 
			
		||||
      nuint8   networkAddress[1];   /* variable length */
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } ELogin;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   struct eventChgPasswd
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   name[1];      /* object or user name */
 | 
			
		||||
   } EChgPasswd;
 | 
			
		||||
 | 
			
		||||
   struct eventChgSecurity
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  newSecurity;
 | 
			
		||||
      nuint32  oldSecurity;
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EChgSecurity;
 | 
			
		||||
 | 
			
		||||
   struct eventFDelete
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  nameSpace;
 | 
			
		||||
      nuint8   fileName[1];
 | 
			
		||||
   } EFDelete;
 | 
			
		||||
 | 
			
		||||
   struct eventFOpen
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  handle;
 | 
			
		||||
      nuint32  rights;
 | 
			
		||||
      nuint32  nameSpace;
 | 
			
		||||
      nuint8   fileName[1];
 | 
			
		||||
   } EFOpen;
 | 
			
		||||
 | 
			
		||||
   struct eventFClose
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  handle;
 | 
			
		||||
      nuint32  modified;
 | 
			
		||||
   } EFClose;
 | 
			
		||||
 | 
			
		||||
   struct eventFRead
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  handle;
 | 
			
		||||
      nuint32  byteCount;
 | 
			
		||||
      nuint32  offset;
 | 
			
		||||
   } EFRead;
 | 
			
		||||
 | 
			
		||||
   struct eventAuditProperty
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
   } EAuditProperty;
 | 
			
		||||
 | 
			
		||||
   struct eventModify                            /* modify dir entry */
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  modifyBits;
 | 
			
		||||
      nuint32  nameSpace;
 | 
			
		||||
      nuint8   modifyStruct[ sizeof(NWModifyStructure) ];
 | 
			
		||||
      nuint8   fileName[1];
 | 
			
		||||
      /* the following length preceeded strings are optional
 | 
			
		||||
         as defined by the modify bits */
 | 
			
		||||
      nuint8   oldDosName[1];
 | 
			
		||||
      nuint8   newOwner[1];
 | 
			
		||||
      nuint8   lastArchivedBy[1];
 | 
			
		||||
      nuint8   lastModifiedBy[1];
 | 
			
		||||
   } EModify;
 | 
			
		||||
 | 
			
		||||
   struct eventQAttach
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   qname[1];
 | 
			
		||||
   } EQAttach;
 | 
			
		||||
 | 
			
		||||
   struct eventQCreate
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  qType;
 | 
			
		||||
      nuint8   fileName[1];
 | 
			
		||||
   } EQCreate;
 | 
			
		||||
 | 
			
		||||
   struct eventQJobService
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  tType;
 | 
			
		||||
      nuint8   qname[1];
 | 
			
		||||
   } EQJobService;
 | 
			
		||||
 | 
			
		||||
   struct eventQSetStatus
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  status;
 | 
			
		||||
      nuint8   qname[1];
 | 
			
		||||
   } EQSetStatus;
 | 
			
		||||
 | 
			
		||||
   struct eventStationRestrictions
 | 
			
		||||
   {
 | 
			
		||||
      nuint8   name[1];
 | 
			
		||||
      nuint8   netAddress[1];
 | 
			
		||||
   } EStnRestrictions;
 | 
			
		||||
 | 
			
		||||
   struct eventTrustee
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  trusteeID;
 | 
			
		||||
      nuint32  rights;
 | 
			
		||||
      nuint32  nameSpace;
 | 
			
		||||
      nuint8   trusteeName[1];
 | 
			
		||||
      nuint8   fileName[1];
 | 
			
		||||
   } ETrustee;
 | 
			
		||||
 | 
			
		||||
   struct eventTrusteeSpace
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  spaceValue;
 | 
			
		||||
      nuint8   trusteeName[1];
 | 
			
		||||
   } ETSpace;
 | 
			
		||||
 | 
			
		||||
   struct auditingNLMAddRecord
 | 
			
		||||
   {
 | 
			
		||||
      nuint32  recordTypeID;
 | 
			
		||||
      nuint32  dataLen;
 | 
			
		||||
      nuint8   userName[1];
 | 
			
		||||
      nuint8   data[1];
 | 
			
		||||
   } ENLMRecord;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* The following is used for Directory Services Auditing Events */
 | 
			
		||||
typedef struct tagNWContAuditRecord
 | 
			
		||||
{
 | 
			
		||||
   nuint16  replicaNumber;
 | 
			
		||||
   nuint16  eventTypeID;
 | 
			
		||||
   nuint32  recordNumber;
 | 
			
		||||
   nuint32  dosDateTime;
 | 
			
		||||
   nuint32  userID;
 | 
			
		||||
   nuint32  processUniqueID;
 | 
			
		||||
   nuint32  successFailureStatusCode;
 | 
			
		||||
/* nuint8   extra[0];   start of 'union EventUnion'  */
 | 
			
		||||
}NWContAuditRecord, N_FAR *pNWContAuditRecord;
 | 
			
		||||
 | 
			
		||||
/* Audit event bit definitions for Container Auditing */
 | 
			
		||||
#define ADS_BIT_ADD_ENTRY                    1  /* first bit no. is 1 */
 | 
			
		||||
#define ADS_BIT_REMOVE_ENTRY                 2
 | 
			
		||||
#define ADS_BIT_RENAME_OBJECT                3
 | 
			
		||||
#define ADS_BIT_MOVE_ENTRY                   4
 | 
			
		||||
#define ADS_BIT_CHANGE_SECURITY_EQUIV        5
 | 
			
		||||
#define ADS_BIT_CHG_SECURITY_ALSO_EQUAL      6
 | 
			
		||||
#define ADS_BIT_CHANGE_ACL                   7
 | 
			
		||||
#define ADS_BIT_CHG_STATION_RESTRICTION      8
 | 
			
		||||
#define ADS_BIT_LOGIN                        9
 | 
			
		||||
#define ADS_BIT_LOGOUT                       10
 | 
			
		||||
#define ADS_BIT_CHANGE_PASSWORD              11
 | 
			
		||||
#define ADS_BIT_USER_LOCKED                  12
 | 
			
		||||
#define ADS_BIT_USER_UNLOCKED                13
 | 
			
		||||
#define ADS_BIT_USER_DISABLE                 14
 | 
			
		||||
#define ADS_BIT_USER_ENABLE                  15
 | 
			
		||||
#define ADS_BIT_CHANGE_INTRUDER_DETECT       16
 | 
			
		||||
 | 
			
		||||
#define ADS_BIT_ADD_PARTITION                17
 | 
			
		||||
#define ADS_BIT_REMOVE_PARTITION             18
 | 
			
		||||
#define ADS_BIT_ADD_REPLICA                  19
 | 
			
		||||
#define ADS_BIT_REMOVE_REPLICA               20
 | 
			
		||||
 | 
			
		||||
#define ADS_BIT_SPLIT_PARTITION              21
 | 
			
		||||
#define ADS_BIT_JOIN_PARTITIONS              22
 | 
			
		||||
#define ADS_BIT_CHANGE_REPLICA_TYPE          23
 | 
			
		||||
#define ADS_BIT_REPAIR_TIME_STAMPS           24
 | 
			
		||||
#define ADS_BIT_MOVE_SUB_TREE                25
 | 
			
		||||
#define ADS_BIT_ABORT_PARTITION_OP           26
 | 
			
		||||
#define ADS_BIT_SEND_REPLICA_UPDATES         27
 | 
			
		||||
#define ADS_BIT_RECEIVE_REPLICA_UPDATES      28
 | 
			
		||||
 | 
			
		||||
/* Added for Trusted NetWare auditing  */
 | 
			
		||||
#define ADS_BIT_ADD_MEMBER                   29
 | 
			
		||||
#define ADS_BIT_BACKUP_ENTRY                 30
 | 
			
		||||
#define ADS_BIT_CHANGE_BIND_OBJ_SECUR        31
 | 
			
		||||
#define ADS_BIT_CHANGE_PROP_SECURITY         32
 | 
			
		||||
#define ADS_BIT_CHANGE_TREE_NAME             33
 | 
			
		||||
#define ADS_BIT_CHECK_CONSOLE_OPERATOR       34
 | 
			
		||||
#define ADS_BIT_COMPARE_ATTR_VALUE           35
 | 
			
		||||
#define ADS_BIT_CREATE_PROPERTY              36
 | 
			
		||||
#define ADS_BIT_CREATE_SUBORDINATE_REF       37
 | 
			
		||||
#define ADS_BIT_DEFINE_ATTR_DEF              38
 | 
			
		||||
#define ADS_BIT_DEFINE_CLASS_DEF             39
 | 
			
		||||
#define ADS_BIT_DELETE_MEMBER                40
 | 
			
		||||
#define ADS_BIT_DELETE_PROPERTY              41
 | 
			
		||||
#define ADS_BIT_DS_NCP_RELOAD                42
 | 
			
		||||
#define ADS_BIT_RESET_DS_COUNTERS            43
 | 
			
		||||
#define ADS_BIT_FRAG_REQUEST                 44
 | 
			
		||||
#define ADS_BIT_INSPECT_ENTRY                45
 | 
			
		||||
#define ADS_BIT_LIST_CONTAINABLE_CLASS       46
 | 
			
		||||
#define ADS_BIT_LIST_PARTITIONS              47
 | 
			
		||||
#define ADS_BIT_LIST_SUBORDINATES            48
 | 
			
		||||
#define ADS_BIT_MERGE_TREE                   49
 | 
			
		||||
#define ADS_BIT_MODIFY_CLASS_DEF             50
 | 
			
		||||
#define ADS_BIT_MOVE_TREE                    51
 | 
			
		||||
#define ADS_BIT_OPEN_STREAM                  52
 | 
			
		||||
#define ADS_BIT_READ                         53
 | 
			
		||||
#define ADS_BIT_READ_REFERENCES              54
 | 
			
		||||
#define ADS_BIT_REMOVE_ATTR_DEF              55
 | 
			
		||||
#define ADS_BIT_REMOVE_CLASS_DEF             56
 | 
			
		||||
#define ADS_BIT_REMOVE_ENTRY_DIR             57
 | 
			
		||||
#define ADS_BIT_RESTORE_ENTRY                58
 | 
			
		||||
#define ADS_BIT_START_JOIN                   59
 | 
			
		||||
#define ADS_BIT_START_UPDATE_REPLICA         60
 | 
			
		||||
#define ADS_BIT_START_UPDATE_SCHEMA          61
 | 
			
		||||
#define ADS_BIT_SYNC_PARTITION               62
 | 
			
		||||
#define ADS_BIT_SYNC_SCHEMA                  63
 | 
			
		||||
#define ADS_BIT_UPDATE_REPLICA               64
 | 
			
		||||
#define ADS_BIT_UPDATE_SCHEMA                65
 | 
			
		||||
#define ADS_BIT_VERIFY_PASSWORD              66
 | 
			
		||||
#define ADS_BIT_ABORT_JOIN                   67
 | 
			
		||||
#define ADS_BIT_RESEND_ENTRY                 68
 | 
			
		||||
#define ADS_BIT_MUTATE_ENTRY                 69
 | 
			
		||||
#define ADS_BIT_MERGE_ENTRIES                70
 | 
			
		||||
#define ADS_BIT_END_UPDATE_REPLICA           71
 | 
			
		||||
#define ADS_BIT_END_UPDATE_SCHEMA            72
 | 
			
		||||
#define ADS_BIT_CREATE_BACKLINK              73
 | 
			
		||||
#define ADS_BIT_MODIFY_ENTRY                 74
 | 
			
		||||
#define ADS_BIT_REMOVE_BACKLINK              75
 | 
			
		||||
#define ADS_BIT_NEW_SCHEMA_EPOCH             76
 | 
			
		||||
#define ADS_BIT_CLOSE_BINDERY                77
 | 
			
		||||
#define ADS_BIT_OPEN_BINDERY                 78
 | 
			
		||||
#define ADS_BIT_NLM_FIRST                    89
 | 
			
		||||
#define ADS_BIT_NLS_NLM                      89
 | 
			
		||||
#define ADS_BIT_NLM_LAST                     99
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Audit Event ID for Container Audit Events */
 | 
			
		||||
 | 
			
		||||
#define ADS_ADD_ENTRY                  101 /* unsigned long newEntryID */
 | 
			
		||||
#define ADS_REMOVE_ENTRY               102 /* unsigned long oldEntryID */
 | 
			
		||||
#define ADS_RENAME_OBJECT              103 /* unsigned long renamedEntryID, char *oldRDN */
 | 
			
		||||
#define ADS_MOVE_ENTRY                 104 /* unsigned long movedEntryID, char *oldDN */
 | 
			
		||||
#define ADS_CHANGE_SECURITY_EQUIV      105
 | 
			
		||||
#define ADS_CHG_SECURITY_ALSO_EQUAL    106
 | 
			
		||||
#define ADS_CHANGE_ACL                 107
 | 
			
		||||
#define ADS_CHG_STATION_RESTRICTION    108
 | 
			
		||||
#define ADS_LOGIN                      109 /* unsigned long entryID */
 | 
			
		||||
#define ADS_LOGOUT                     110
 | 
			
		||||
#define ADS_CHANGE_PASSWORD            111 /* unsigned long entryID */
 | 
			
		||||
#define ADS_USER_LOCKED                112 /* unsigned long entryID */
 | 
			
		||||
#define ADS_USER_UNLOCKED              113 /* unsigned long entryID */
 | 
			
		||||
#define ADS_USER_DISABLE               114 /* unsigned long entryID */
 | 
			
		||||
#define ADS_USER_ENABLE                115 /* unsigned long entryID */
 | 
			
		||||
#define ADS_CHANGE_INTRUDER_DETECT     116
 | 
			
		||||
#define ADS_ADD_PARTITION              117
 | 
			
		||||
#define ADS_REMOVE_PARTITION           118
 | 
			
		||||
#define ADS_ADD_REPLICA                119
 | 
			
		||||
#define ADS_REMOVE_REPLICA             120
 | 
			
		||||
#define ADS_SPLIT_PARTITION            121
 | 
			
		||||
#define ADS_JOIN_PARTITIONS            122
 | 
			
		||||
#define ADS_CHANGE_REPLICA_TYPE        123
 | 
			
		||||
#define ADS_REPAIR_TIME_STAMPS         124
 | 
			
		||||
#define ADS_MOVE_SUB_TREE              125
 | 
			
		||||
#define ADS_ABORT_PARTITION_OP         126
 | 
			
		||||
#define ADS_SEND_REPLICA_UPDATES       127
 | 
			
		||||
#define ADS_RECEIVE_REPLICA_UPDATES    128
 | 
			
		||||
 | 
			
		||||
/* start Trusted NetWare auditing events */
 | 
			
		||||
#define ADS_ADD_MEMBER                 129
 | 
			
		||||
#define ADS_BACKUP_ENTRY               130
 | 
			
		||||
#define ADS_CHANGE_BIND_OBJ_SECURITY   131
 | 
			
		||||
#define ADS_CHANGE_PROP_SECURITY       132
 | 
			
		||||
#define ADS_CHANGE_TREE_NAME           133
 | 
			
		||||
#define ADS_CHECK_CONSOLE_OPERATOR     134
 | 
			
		||||
#define ADS_COMPARE_ATTR_VALUE         135
 | 
			
		||||
#define ADS_CREATE_PROPERTY            136
 | 
			
		||||
#define ADS_CREATE_SUBORDINATE_REF     137
 | 
			
		||||
#define ADS_DEFINE_ATTR_DEF            138
 | 
			
		||||
#define ADS_DEFINE_CLASS_DEF           139
 | 
			
		||||
#define ADS_DELETE_MEMBER              140
 | 
			
		||||
#define ADS_DELETE_PROPERTY            141
 | 
			
		||||
#define ADS_DS_NCP_RELOAD              142
 | 
			
		||||
#define ADS_RESET_DS_COUNTERS          143
 | 
			
		||||
#define ADS_FRAG_REQUEST               144
 | 
			
		||||
#define ADS_INSPECT_ENTRY              145
 | 
			
		||||
#define ADS_LIST_CONTAINABLE_CLASSES   146
 | 
			
		||||
#define ADS_LIST_PARTITIONS            147
 | 
			
		||||
#define ADS_LIST_SUBORDINATES          148
 | 
			
		||||
#define ADS_MERGE_TREE                 149
 | 
			
		||||
#define ADS_MODIFY_CLASS_DEF           150
 | 
			
		||||
#define ADS_MOVE_TREE                  151
 | 
			
		||||
#define ADS_OPEN_STREAM                152
 | 
			
		||||
#define ADS_READ                       153
 | 
			
		||||
#define ADS_READ_REFERENCES            154
 | 
			
		||||
#define ADS_REMOVE_ATTR_DEF            155
 | 
			
		||||
#define ADS_REMOVE_CLASS_DEF           156
 | 
			
		||||
#define ADS_REMOVE_ENTRY_DIR           157
 | 
			
		||||
#define ADS_RESTORE_ENTRY              158
 | 
			
		||||
#define ADS_START_JOIN                 159
 | 
			
		||||
#define ADS_START_UPDATE_REPLICA       160
 | 
			
		||||
#define ADS_START_UPDATE_SCHEMA        161
 | 
			
		||||
#define ADS_SYNC_PARTITION             162
 | 
			
		||||
#define ADS_SYNC_SCHEMA                163
 | 
			
		||||
#define ADS_UPDATE_REPLICA             164
 | 
			
		||||
#define ADS_UPDATE_SCHEMA              165
 | 
			
		||||
#define ADS_VERIFY_PASSWORD            166
 | 
			
		||||
#define ADS_ABORT_JOIN                 167
 | 
			
		||||
#define ADS_MUTATE_ENTRY               169
 | 
			
		||||
#define ADS_MERGE_ENTRIES              170
 | 
			
		||||
 | 
			
		||||
#define ADS_END_UPDATE_REPLICA         171
 | 
			
		||||
#define ADS_END_UPDATE_SCHEMA          172
 | 
			
		||||
#define ADS_CREATE_BACKLINK            173
 | 
			
		||||
#define ADS_MODIFY_ENTRY               174
 | 
			
		||||
#define ADS_REMOVE_BACKLINK            175
 | 
			
		||||
#define ADS_NEW_SCHEMA_EPOCH           176
 | 
			
		||||
#define ADS_CLOSE_BINDERY              177
 | 
			
		||||
#define ADS_OPEN_BINDERY               178
 | 
			
		||||
#define ADS_CLOSE_STREAM               179
 | 
			
		||||
/*
 | 
			
		||||
   180 - 188 reserved
 | 
			
		||||
*/
 | 
			
		||||
#define ADS_NLM_FIRST                  189
 | 
			
		||||
#define ADS_NLS_NLM                    189
 | 
			
		||||
#define ADS_NLM_LAST                   199
 | 
			
		||||
#define ADS_LAST_PLUS_ONE              200 /* Must be last one */
 | 
			
		||||
/* end TNW additions */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWADEVNT_H */
 | 
			
		||||
							
								
								
									
										306
									
								
								c_clientlogin/xplatincl/nwafp.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										306
									
								
								c_clientlogin/xplatincl/nwafp.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,306 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwafp.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Thu Oct 14 15:23:44 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAFP_H )
 | 
			
		||||
#define NWAFP_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/** This is the structure that the application expects to see. Note that the
 | 
			
		||||
    long name and short name will be null terminated, and one extra byte has
 | 
			
		||||
    been added to long name and short name to assure word alignment **/
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  entryID;
 | 
			
		||||
   nuint32  parentID;
 | 
			
		||||
   nuint16  attributes;
 | 
			
		||||
   nuint32  dataForkLength;
 | 
			
		||||
   nuint32  resourceForkLength;
 | 
			
		||||
   nuint16  numOffspring;
 | 
			
		||||
   nuint16  creationDate;
 | 
			
		||||
   nuint16  accessDate;
 | 
			
		||||
   nuint16  modifyDate;
 | 
			
		||||
   nuint16  modifyTime;
 | 
			
		||||
   nuint16  backupDate;
 | 
			
		||||
   nuint16  backupTime;
 | 
			
		||||
   nuint8   finderInfo[32];
 | 
			
		||||
   nstr8    longName[34];
 | 
			
		||||
   nuint32  ownerID;
 | 
			
		||||
   nstr8    shortName[14];
 | 
			
		||||
   nuint16  accessPrivileges;
 | 
			
		||||
   nuint8   proDOSInfo[6];
 | 
			
		||||
} AFPFILEINFO, NW_AFP_FILE_INFO;
 | 
			
		||||
 | 
			
		||||
/** This is the structure that is actually returned from the NCP call **/
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  entryID;
 | 
			
		||||
   nuint32  parentID;
 | 
			
		||||
   nuint16  attributes;
 | 
			
		||||
   nuint32  dataForkLength;
 | 
			
		||||
   nuint32  resourceForkLength;
 | 
			
		||||
   nuint16  numOffspring;
 | 
			
		||||
   nuint16  creationDate;
 | 
			
		||||
   nuint16  accessDate;
 | 
			
		||||
   nuint16  modifyDate;
 | 
			
		||||
   nuint16  modifyTime;
 | 
			
		||||
   nuint16  backupDate;
 | 
			
		||||
   nuint16  backupTime;
 | 
			
		||||
   nuint8   finderInfo[32];
 | 
			
		||||
   nstr8    longName[32];
 | 
			
		||||
   nuint32  ownerID;
 | 
			
		||||
   nstr8    shortName[12];
 | 
			
		||||
   nuint16  accessPrivileges;
 | 
			
		||||
   nuint8   proDOSInfo[6];
 | 
			
		||||
} RECPKT_AFPFILEINFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16  attributes;
 | 
			
		||||
   nuint16  creationDate;
 | 
			
		||||
   nuint16  accessDate;
 | 
			
		||||
   nuint16  modifyDate;
 | 
			
		||||
   nuint16  modifyTime;
 | 
			
		||||
   nuint16  backupDate;
 | 
			
		||||
   nuint16  backupTime;
 | 
			
		||||
   nuint8   finderInfo[32];
 | 
			
		||||
   nuint8   proDOSInfo[6];
 | 
			
		||||
} AFPSETINFO, NW_AFP_SET_INFO;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* the following are the constants that can be used for requestMasks
 | 
			
		||||
   in NWAFPScanFileInformation and NWAFPGetFileInformation.
 | 
			
		||||
*/
 | 
			
		||||
#ifndef AFP_GET_ATTRIBUTES
 | 
			
		||||
#define AFP_GET_ATTRIBUTES       0x0001
 | 
			
		||||
#define AFP_GET_PARENT_ID        0x0002
 | 
			
		||||
#define AFP_GET_CREATE_DATE      0x0004
 | 
			
		||||
#define AFP_GET_ACCESS_DATE      0x0008
 | 
			
		||||
#define AFP_GET_MODIFY_DATETIME  0x0010
 | 
			
		||||
#define AFP_GET_BACKUP_DATETIME  0x0020
 | 
			
		||||
#define AFP_GET_FINDER_INFO      0x0040
 | 
			
		||||
#define AFP_GET_LONG_NAME        0x0080
 | 
			
		||||
#define AFP_GET_ENTRY_ID         0x0100
 | 
			
		||||
#define AFP_GET_DATA_LEN         0x0200
 | 
			
		||||
#define AFP_GET_RESOURCE_LEN     0x0400
 | 
			
		||||
#define AFP_GET_NUM_OFFSPRING    0x0800
 | 
			
		||||
#define AFP_GET_OWNER_ID         0x1000
 | 
			
		||||
#define AFP_GET_SHORT_NAME       0x2000
 | 
			
		||||
#define AFP_GET_ACCESS_RIGHTS    0x4000
 | 
			
		||||
#define AFP_GET_PRO_DOS_INFO     0x8000
 | 
			
		||||
#define AFP_GET_ALL              0xffff
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
  The following constants are used for NWAFPSetFileInformation
 | 
			
		||||
*/
 | 
			
		||||
#ifndef AFP_SET_ATTRIBUTES
 | 
			
		||||
#define AFP_SET_ATTRIBUTES       0x0001
 | 
			
		||||
#define AFP_SET_CREATE_DATE      0x0004
 | 
			
		||||
#define AFP_SET_ACCESS_DATE      0x0008
 | 
			
		||||
#define AFP_SET_MODIFY_DATETIME  0x0010
 | 
			
		||||
#define AFP_SET_BACKUP_DATETIME  0x0020
 | 
			
		||||
#define AFP_SET_FINDER_INFO      0x0040
 | 
			
		||||
#define AFP_SET_PRO_DOS_INFO     0x8000
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef AFP_SA_HIDDEN
 | 
			
		||||
#define AFP_SA_NORMAL        0x0000
 | 
			
		||||
#define AFP_SA_HIDDEN        0x0100
 | 
			
		||||
#define AFP_SA_SYSTEM        0x0200
 | 
			
		||||
#define AFP_SA_SUBDIR        0x0400
 | 
			
		||||
#define AFP_SA_FILES         0x0800
 | 
			
		||||
#define AFP_SA_ALL           0x0F00
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPAllocTemporaryDirHandle
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   nuint16              volNum,
 | 
			
		||||
   nuint32              AFPEntryID,
 | 
			
		||||
   const nstr8  N_FAR * AFPPathString,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * dirHandle,
 | 
			
		||||
   pnuint8              accessRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPCreateDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        volNum,
 | 
			
		||||
   nuint32        AFPEntryID,
 | 
			
		||||
   pnuint8        finderInfo,
 | 
			
		||||
   pnstr8         AFPPathString,
 | 
			
		||||
   pnuint32       newAFPEntryID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPCreateFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        volNum,
 | 
			
		||||
   nuint32        AFPEntryID,
 | 
			
		||||
   nuint8         delExistingFile,
 | 
			
		||||
   pnuint8        finderInfo,
 | 
			
		||||
   pnstr8         AFPPathString,
 | 
			
		||||
   pnuint32       newAFPEntryID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPDelete
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             volNum,
 | 
			
		||||
   nuint32             AFPEntryID,
 | 
			
		||||
   const nstr8 N_FAR * AFPPathString
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPGetEntryIDFromName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             volNum,
 | 
			
		||||
   nuint32             AFPEntryID,
 | 
			
		||||
   const nstr8 N_FAR * AFPPathString,
 | 
			
		||||
   pnuint32            newAFPEntryID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPGetEntryIDFromHandle
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   const nuint8 N_FAR * NWHandle,
 | 
			
		||||
   pnuint16             volNum,
 | 
			
		||||
   pnuint32             AFPEntryID,
 | 
			
		||||
   pnuint8              forkIndicator
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPGetEntryIDFromPathName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint32            AFPEntryID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPGetFileInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   nuint16                  volNum,
 | 
			
		||||
   nuint32                  AFPEntryID,
 | 
			
		||||
   nuint16                  reqMask,
 | 
			
		||||
   const nstr8      N_FAR * AFPPathString,
 | 
			
		||||
   nuint16                  structSize,
 | 
			
		||||
   NW_AFP_FILE_INFO N_FAR * AFPFileInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPDirectoryEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPOpenFileFork
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   nuint16               volNum,
 | 
			
		||||
   nuint32               AFPEntryID,
 | 
			
		||||
   nuint8                forkIndicator,
 | 
			
		||||
   nuint8                accessMode,
 | 
			
		||||
   const nstr8   N_FAR * AFPPathString,
 | 
			
		||||
   pnuint32              fileID,
 | 
			
		||||
   pnuint32              forkLength,
 | 
			
		||||
   pnuint8               NWHandle,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * DOSFileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPRename
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint16             volNum,
 | 
			
		||||
   nuint32             AFPSourceEntryID,
 | 
			
		||||
   nuint32             AFPDestEntryID,
 | 
			
		||||
   const nstr8 N_FAR * AFPSrcPath,
 | 
			
		||||
   const nstr8 N_FAR * AFPDstPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPScanFileInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   nuint16                  volNum,
 | 
			
		||||
   nuint32                  AFPEntryID,
 | 
			
		||||
   pnuint32                 AFPLastSeenID,
 | 
			
		||||
   nuint16                  searchMask,
 | 
			
		||||
   nuint16                  reqMask,
 | 
			
		||||
   const nstr8      N_FAR * AFPPathString,
 | 
			
		||||
   nuint16                  structSize,
 | 
			
		||||
   NW_AFP_FILE_INFO N_FAR * AFPFileInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPSetFileInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint16                 volNum,
 | 
			
		||||
   nuint32                 AFPBaseID,
 | 
			
		||||
   nuint16                 reqMask,
 | 
			
		||||
   const nstr8     N_FAR * AFPPathString,
 | 
			
		||||
   nuint16                 structSize,
 | 
			
		||||
   NW_AFP_SET_INFO N_FAR * AFPSetInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPSupported
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        volNum
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAFPASCIIZToLenStr
 | 
			
		||||
(
 | 
			
		||||
   pnstr8              pbstrDstStr,
 | 
			
		||||
   const nstr8 N_FAR * pbstrSrcStr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										329
									
								
								c_clientlogin/xplatincl/nwalias.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										329
									
								
								c_clientlogin/xplatincl/nwalias.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,329 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwalias.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:05:25 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWALIAS_H )
 | 
			
		||||
#define NWALIAS_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define FILE_ATTRIBUTES_MASK      nuint32
 | 
			
		||||
#define NWACCESS_MODE             nuint8
 | 
			
		||||
#define NWACCESS_RIGHTS           nuint8
 | 
			
		||||
#define NWACCT_BALANCE            nint32
 | 
			
		||||
#define NWACCT_HOLDS              nuint16
 | 
			
		||||
#define NWACCT_LIMIT              nint32
 | 
			
		||||
#define NWADDR_LEN                nuint8
 | 
			
		||||
#define NWADDR_TYPE               nuint8
 | 
			
		||||
#define NWAES_COUNT               nuint16
 | 
			
		||||
#define NWAFP_ACCESS_PRIVILEGES   nuint16
 | 
			
		||||
#define NWAFP_ENTRY_ID            nuint32
 | 
			
		||||
#define NWAFP_FILE_ATTRIBUTES     nuint16
 | 
			
		||||
#define NWAFP_FILE_INFO           AFPFILEINFO
 | 
			
		||||
#define NWAFP_FORK_LEN            nuint32
 | 
			
		||||
#define NWAFP_NUM_OFFSPRING       nuint16
 | 
			
		||||
#define NWAFP_SET_INFO            AFPSETINFO
 | 
			
		||||
#define NWAPP_NUM                 nuint16
 | 
			
		||||
#define NWASN1_ID                 Asn1ID_T
 | 
			
		||||
#define NWATTR                    nuint32
 | 
			
		||||
#define NWATTRIBUTES              nuint32
 | 
			
		||||
#define NWATTR_INFO               Attr_Info_T
 | 
			
		||||
#define NWAUDIT_BUF_SIZE          nuint16
 | 
			
		||||
#define NWAUDIT_CONN_ID           nuint32
 | 
			
		||||
#define NWAUDIT_CONTAINER_BIT_MAP nuint32
 | 
			
		||||
#define NWAUDIT_DATA_LEN          nuint32
 | 
			
		||||
#define NWAUDIT_DATE_TIME         nuint32
 | 
			
		||||
#define NWAUDIT_DS_FLAG           nint16
 | 
			
		||||
#define NWAUDIT_EVENT             nuint16
 | 
			
		||||
#define NWAUDIT_FILE_CODE         nint16
 | 
			
		||||
#define NWAUDIT_FILE_HANDLE       nuint32
 | 
			
		||||
#define NWAUDIT_FLAGS             nuint32
 | 
			
		||||
#define NWAUDIT_KEY_BUF           pnuint8
 | 
			
		||||
#define NWAUDIT_LEVEL             nuint8
 | 
			
		||||
#define NWAUDIT_NAME_SPACE        nuint32
 | 
			
		||||
#define NWAUDIT_OBJ_SECURITY      nuint32
 | 
			
		||||
#define NWAUDIT_PASSWORD          pnuint8
 | 
			
		||||
#define NWAUDIT_PROCESS_ID        nuint32
 | 
			
		||||
#define NWAUDIT_QUEUE_TYPE        nuint32
 | 
			
		||||
#define NWAUDIT_RECORD_ID         nuint32
 | 
			
		||||
#define NWAUDIT_REC_NUM           nuint32
 | 
			
		||||
#define NWAUDIT_REPLICA_NUM       nuint16
 | 
			
		||||
#define NWAUDIT_SIZE              NWSIZE
 | 
			
		||||
#define NWAUDIT_STATUS_CODE       nuint32
 | 
			
		||||
#define NWAUDIT_TRUSTEE_RIGHTS    nuint32
 | 
			
		||||
#define NWAUDIT_VOL_NUM           nuint32
 | 
			
		||||
#define NWAUGMENT                 nuint16 /* AN ADDITIONAL FLAG SIZE */
 | 
			
		||||
#define NWBITS                    nuint32
 | 
			
		||||
#define NWBROADCAST_MODE          nuint16
 | 
			
		||||
#define NWBUF_SIZE                nuint16
 | 
			
		||||
#define NWCHANGE_BITS             nuint32
 | 
			
		||||
#define NWCHANGE_TYPE             nuint32
 | 
			
		||||
#define NWCHARGE_AMOUNT           nint32
 | 
			
		||||
#define NWCLASS_INFO              Class_Info_T
 | 
			
		||||
#define NWCONFIG_DEFAULT_VALUE    nint32
 | 
			
		||||
#define NWCONFIG_ELEMENT_NUM      nint16
 | 
			
		||||
#define NWCONFIG_PARAM_TYPE       nint16
 | 
			
		||||
#define NWCONN_FLAGS              nuint16
 | 
			
		||||
#define NWCONN_NUM_WORD           nuint16
 | 
			
		||||
#define NWCONN_TYPE               nuint8
 | 
			
		||||
#define NWCOUNT                   nuint32
 | 
			
		||||
#define NWCTLR_NUM                nuint8
 | 
			
		||||
#define NWCTLR_TYPE               nuint8
 | 
			
		||||
#define NWCURRENT_REC             nuint16
 | 
			
		||||
#define NWDATA_STREAM             nuint32
 | 
			
		||||
#define NWDATE                    nuint16
 | 
			
		||||
#define NWDATE_TIME               nuint32
 | 
			
		||||
#define NWDELETE_TIME             nuint32
 | 
			
		||||
#define NWDENY_COUNT              nuint16
 | 
			
		||||
#define NWDEVICE_ID               nuint16
 | 
			
		||||
#define NWDIR_ATTRIBUTES          nuint8
 | 
			
		||||
#define NWDIR_BASE                nuint32
 | 
			
		||||
#define NWDIR_ENTRY               nuint32
 | 
			
		||||
#define NWDIR_ID                  nuint8
 | 
			
		||||
#define NWDIR_NUM                 nuint16
 | 
			
		||||
#define NWDIR_SPACE               nuint32
 | 
			
		||||
#define NWDIR_STAMP               nuint16
 | 
			
		||||
#define NWDIR_TRUSTEE_RIGHTS      nuint16
 | 
			
		||||
#define NWDIR_VOL                 nuint8
 | 
			
		||||
#define NWDISK_CHANNEL            nuint8
 | 
			
		||||
#define NWDISK_DRV_TYPE           nuint8
 | 
			
		||||
#define NWDISK_FLAGS              nuint16
 | 
			
		||||
#define NWDISK_NUM                nuint8
 | 
			
		||||
#define NWDISK_SPACE              nuint32
 | 
			
		||||
#define NWDISK_TYPE               nuint8
 | 
			
		||||
#define NWDISTANCE                nuint16
 | 
			
		||||
#define NWDMA                     nuint8
 | 
			
		||||
#define NWDM_FLAGS                nuint32
 | 
			
		||||
#define NWDRIVE_NUM               nuint16
 | 
			
		||||
#define NWDRIVE_NUMBER            nuint8
 | 
			
		||||
#define NWDRV_COMMAND             nuint32
 | 
			
		||||
#define NWDRV_CONFIG              nuint32
 | 
			
		||||
#define NWDRV_FLAGS               nuint16
 | 
			
		||||
#define NWDRV_ID                  nuint16
 | 
			
		||||
#define NWDRV_LINK                nuint32
 | 
			
		||||
#define NWDRV_MEM                 nuint32
 | 
			
		||||
#define NWDRV_NAME                nuint32
 | 
			
		||||
#define NWDRV_TAG                 nuint32
 | 
			
		||||
#define NWDRV_TYPE                nuint32
 | 
			
		||||
#define NWDRV_VERSION             nuint8
 | 
			
		||||
#define NWDSLEN                   nuint32
 | 
			
		||||
#define NWDS_BUFFER               Buf_T
 | 
			
		||||
#define NWDS_EVENT                nuint32
 | 
			
		||||
#define NWDS_FILTER_CURSOR        Filter_Cursor_T
 | 
			
		||||
#define NWDS_FILTER_LEVEL         nuint16
 | 
			
		||||
#define NWDS_FILTER_NODE          Filter_Node_T
 | 
			
		||||
#define NWDS_FLAGS                nuint32
 | 
			
		||||
#define NWDS_ID                   nint16
 | 
			
		||||
#define NWDS_INTERVAL             nuint32
 | 
			
		||||
#define NWDS_ITERATION            nint32
 | 
			
		||||
#define NWDS_LOGIN_FILE           nint16
 | 
			
		||||
#define NWDS_NUM_OBJ              nint32
 | 
			
		||||
#define NWDS_OPERATION            nuint32
 | 
			
		||||
#define NWDS_PRIVILEGES           nuint32
 | 
			
		||||
#define NWDS_SEARCH_SCOPE         nuint16
 | 
			
		||||
#define NWDS_SESSION_KEY          NWDS_Session_Key_T
 | 
			
		||||
#define NWDS_SIZE                 nuint32
 | 
			
		||||
#define NWDS_SYNTAX_FLAGS         nint16
 | 
			
		||||
#define NWDS_TOKEN                nuint16
 | 
			
		||||
#define NWDS_TYPE                 nuint32
 | 
			
		||||
#define NWDS_TYPE_LEVEL           nuint32
 | 
			
		||||
#define NWDS_VALIDITY             nuint32
 | 
			
		||||
#define NWDS_VALUE                nuint32
 | 
			
		||||
#define NWEA                      NW_EA_HANDLE
 | 
			
		||||
#define NWEA_HANDLE               nuint32
 | 
			
		||||
#define NWEA_KEY                  nuint16
 | 
			
		||||
#define NWEA_KEY_LEN              nuint16
 | 
			
		||||
#define NWEA_KEY_OFFSET           nuint16
 | 
			
		||||
#define NWEA_SCAN                 NW_EA_FF_STRUCT
 | 
			
		||||
#define NWECB_CANCEL_COUNT        nuint16
 | 
			
		||||
#define NWELEMENT_VALUE           nint16
 | 
			
		||||
#define NWEMAIL_TYPE              nuint32
 | 
			
		||||
#define NWFACTOR                  nuint32
 | 
			
		||||
#define NWFAT                     nuint32
 | 
			
		||||
#define NWFILE_ATTR               nuint8
 | 
			
		||||
#define NWFILE_LEN                nuint32
 | 
			
		||||
#define NWFILE_MODE               nuint8
 | 
			
		||||
#define NWFILE_SYS_ID             nuint32
 | 
			
		||||
#define NWFINDER_INFO             nuint8
 | 
			
		||||
#define NWFLAGS                   nuint8
 | 
			
		||||
#define NWFORM_NUM                nuint8
 | 
			
		||||
#define NWFORM_TYPE               nuint16
 | 
			
		||||
#define NWFRAG_SIZE               nuint16
 | 
			
		||||
#define NWFSE_CONN_TYPE           nuint32
 | 
			
		||||
#define NWFSE_FLAGS               nuint32
 | 
			
		||||
#define NWGLT_FAIL_COUNT          nuint16
 | 
			
		||||
#define NWHANDLE                  nuint8
 | 
			
		||||
#define NWHF_START                nuint32
 | 
			
		||||
#define NWHOLDS_INFO              HOLDS_INFO
 | 
			
		||||
#define NWHOLDS_STATUS            HOLDS_STATUS
 | 
			
		||||
#define NWHOLD_AMOUNT             nuint32
 | 
			
		||||
#define NWHOLD_CANCEL_AMOUNT      nuint32
 | 
			
		||||
#define NWINFO_LEVEL              nuint32
 | 
			
		||||
#define NWINTERRUPT               nuint8
 | 
			
		||||
#define NWIO_MEM                  nuint16
 | 
			
		||||
#define NWJOB_FLAGS               nuint16
 | 
			
		||||
#define NWJOB_HANDLE              nuint32
 | 
			
		||||
#define NWJOB_POSITION            nuint8
 | 
			
		||||
#define NWJOB_POSITION2           nuint16
 | 
			
		||||
#define NWJOB_TYPE                nuint16
 | 
			
		||||
#define NWLAN_NUM                 nuint8
 | 
			
		||||
#define NWLAST_RECORD             nint16
 | 
			
		||||
#define NWLEN                     nuint32
 | 
			
		||||
#define NWLENGTH                  nuint16
 | 
			
		||||
#define NWLOCAL_FILE_HANDLE       nuint16    /* FOR DOS, OS/2, AND WINDOWS */
 | 
			
		||||
#define NWLOCAL_MODE              nuint16
 | 
			
		||||
#define NWLOCAL_SCOPE             nuint16
 | 
			
		||||
#define NWLOCK_COUNT              nuint16
 | 
			
		||||
#define NWLOCK_DATA_STREAM        nuint8
 | 
			
		||||
#define NWLOCK_STATE              nuint8
 | 
			
		||||
#define NWLOCK_TYPE               nuint8
 | 
			
		||||
#define NWLOCK_TYPE               nuint8
 | 
			
		||||
#define NWLOGIN_TIME              nuint8[7]
 | 
			
		||||
#define NWLPT                     nuint8
 | 
			
		||||
#define NWMAX_PACKET_SIZE         nuint16
 | 
			
		||||
#define NWMEDIA_MASK              nuint32
 | 
			
		||||
#define NWMEDIA_TYPE              nuint32
 | 
			
		||||
#define NWMEM_OFFSET              nuint16
 | 
			
		||||
#define NWMINUTES                 nuint8
 | 
			
		||||
#define NWMODULE_ID               nuint32
 | 
			
		||||
#define NWNAME                    pnuint8
 | 
			
		||||
#define NWNAME_LEN                nuint8
 | 
			
		||||
#define NWNAME_SPACE              nuint8
 | 
			
		||||
#define NWNAME_SPACE_TYPE         nuint32
 | 
			
		||||
#define NWNET_ADDR                nuint8
 | 
			
		||||
#define NWNET_ADDR_LEN            nuint32
 | 
			
		||||
#define NWNET_ADDR_TYPE           nuint32
 | 
			
		||||
#define NWNEXT_REQUEST            nuint16
 | 
			
		||||
#define NWNLM_ID                  nuint32
 | 
			
		||||
#define NWNLM_TYPE                nuint32
 | 
			
		||||
#define NWNOTE_TYPE               nuint16
 | 
			
		||||
#define NWNS_ACCESS_MODE          nuint16
 | 
			
		||||
#define NWNS_ACCESS_RIGHTS        nuint16
 | 
			
		||||
#define NWNS_ATTR                 nuint16
 | 
			
		||||
#define NWNS_BITS                 nuint16
 | 
			
		||||
#define NWNS_DATA_STREAM          nuint8
 | 
			
		||||
#define NWNS_DATA_STREAM2         nuint16
 | 
			
		||||
#define NWNS_FLAGS                nuint16
 | 
			
		||||
#define NWNS_HANDLE               nuint32
 | 
			
		||||
#define NWNS_LIST_SIZE            nuint8
 | 
			
		||||
#define NWNS_MASK                 nuint32
 | 
			
		||||
#define NWNS_NUM                  nuint8
 | 
			
		||||
#define NWNS_TYPE                 nuint16
 | 
			
		||||
#define NWNUM                     nuint32
 | 
			
		||||
#define NWNUMBER                  nuint16
 | 
			
		||||
#define NWNUMBER_ENTRIES          nuint8
 | 
			
		||||
#define NWNUM_BLOCKS              nuint32
 | 
			
		||||
#define NWNUM_BUFFERS             nuint16
 | 
			
		||||
#define NWNUM_BYTES               nuint32
 | 
			
		||||
#define NWNUM_CONNS               nuint8
 | 
			
		||||
#define NWNUM_COPIES              nuint8
 | 
			
		||||
#define NWNUM_DIR_ENTRIES         nuint32
 | 
			
		||||
#define NWNUM_DRIVES              nuint8
 | 
			
		||||
#define NWNUM_ELEMENTS            nint16
 | 
			
		||||
#define NWNUM_ENTRIES             nuint16
 | 
			
		||||
#define NWNUM_FORKS               nuint8
 | 
			
		||||
#define NWNUM_HEADS               nuint8
 | 
			
		||||
#define NWNUM_HOPS                nuint16
 | 
			
		||||
#define NWNUM_PACKETS             nuint32
 | 
			
		||||
#define NWNUM_REQUESTS            nuint32
 | 
			
		||||
#define NWNUM_SECTORS             nuint8
 | 
			
		||||
#define NWNUM_TRANSACTIONS        nuint8
 | 
			
		||||
#define NWOBJECT_INFO             Object_Info_T
 | 
			
		||||
#define NWOBJ_ID                  nuint32
 | 
			
		||||
#define NWOBJ_TYPE                nuint16
 | 
			
		||||
#define NWOFFSET                  nuint32
 | 
			
		||||
#define NWOPEN_COUNT              nuint16
 | 
			
		||||
#define NWOPTION_NUM              nuint8
 | 
			
		||||
#define NWOS_REVISION             nuint16
 | 
			
		||||
#define NWOS_VERSION              nuint16
 | 
			
		||||
#define NWPATH_SIZE               nuint16
 | 
			
		||||
#define NWPATH_VOL                nuint8
 | 
			
		||||
#define NWPOSITION                nuint32
 | 
			
		||||
#define NWPRINTER                 nuint16
 | 
			
		||||
#define NWPRINT_FLAGS             nuint16
 | 
			
		||||
#define NWPRINT_TASK              nuint32
 | 
			
		||||
#define NWPROTOCOL_MASK           nuint32
 | 
			
		||||
#define NWPROTOCOL_VERSION        nuint8
 | 
			
		||||
#define NWPSTR                    pnstr
 | 
			
		||||
#define NWQMS_HANDLE              nuint32
 | 
			
		||||
#define NWQMS_TASK                nuint32
 | 
			
		||||
#define NWREC_OFFSET              nuint16
 | 
			
		||||
#define NWREPLICA_NUM             nint32
 | 
			
		||||
#define NWREPLICA_TYPE            nuint32
 | 
			
		||||
#define NWREQUESTER_VERSION       nuint8
 | 
			
		||||
#define NWREQUEST_MASK            nuint16
 | 
			
		||||
#define NWRESERVED16              nuint32
 | 
			
		||||
#define NWRESERVED32              nuint32
 | 
			
		||||
#define NWREVISION                nuint32
 | 
			
		||||
#define NWRIGHTS                  nuint32
 | 
			
		||||
#define NWRIGHTS_MASK             nuint16
 | 
			
		||||
#define NWSEARCH_ATTR             nuint8
 | 
			
		||||
#define NWSEARCH_ATTRIBUTES       nuint16
 | 
			
		||||
#define NWSEARCH_CONTEXT          nuint16
 | 
			
		||||
#define NWSEARCH_MASK             nuint16
 | 
			
		||||
#define NWSECONDS                 nuint32
 | 
			
		||||
#define NWSEGMENT_DATA            pnuint8
 | 
			
		||||
#define NWSEGMENT_NUM             nuint8
 | 
			
		||||
#define NWSEM_HANDLE              nuint32
 | 
			
		||||
#define NWSEM_INT                 nint16
 | 
			
		||||
#define NWSEM_VALUE               nuint16
 | 
			
		||||
#define NWSEQUENCE                nuint32
 | 
			
		||||
#define NWSEQUENCE_NUM            nuint16
 | 
			
		||||
#define NWSEQ_NUM                 nuint8
 | 
			
		||||
#define NWSERVER_NAME_LEN         nuint16
 | 
			
		||||
#define NWSERVER_TYPE             nuint16
 | 
			
		||||
#define NWSERVICE_VERSION         nuint8
 | 
			
		||||
#define NWSESSION_ID              nuint16
 | 
			
		||||
#define NWSIZE                    nuint32
 | 
			
		||||
#define NWSOCKET_COUNT            nuint16
 | 
			
		||||
#define NWSPX_COUNT               nuint16
 | 
			
		||||
#define NWSTATION_NUM             nuint8
 | 
			
		||||
#define NWSTATION_NUM2            nuint32
 | 
			
		||||
#define NWSTATS_VERSION           nuint8
 | 
			
		||||
#define NWSTATUS                  nuint32
 | 
			
		||||
#define NWSTRUCT_SIZE             nuint16
 | 
			
		||||
#define NWSUPPORT_LEVEL           nuint8
 | 
			
		||||
#define NWSYNTAX_ID               nuint32
 | 
			
		||||
#define NWSYNTAX_INFO             Syntax_Info_T
 | 
			
		||||
#define NWSYS_TIME                nuint32
 | 
			
		||||
#define NWTAB                     nuint8
 | 
			
		||||
#define NWTASK                    nuint16
 | 
			
		||||
#define NWTASK_COUNT              nuint8
 | 
			
		||||
#define NWTASK_NUM                nuint16
 | 
			
		||||
#define NWTASK_STATE              nuint8
 | 
			
		||||
#define NWTDS                     nuint16
 | 
			
		||||
#define NWTDS_OFFSET              nuint16
 | 
			
		||||
#define NWTICKS                   nuint16
 | 
			
		||||
#define NWTIME                    nuint16
 | 
			
		||||
#define NWTRAN_TYPE               nuint8
 | 
			
		||||
#define NWTRUSTEE_SEQUENCE_NUM    nuint16
 | 
			
		||||
#define NWUSE_COUNT               nuint16
 | 
			
		||||
#define NWUTILIZATION             nuint32
 | 
			
		||||
#define NWVCONSOLE_REVISION       nuint8
 | 
			
		||||
#define NWVCONSOLE_VERSION        nuint8
 | 
			
		||||
#define NWVERSION                 nuint32
 | 
			
		||||
#define NWVOL                     nuint32
 | 
			
		||||
#define NWVOL_FLAGS               nuint16
 | 
			
		||||
#define NWVOL_NUM                 nuint16
 | 
			
		||||
#define NWVOL_NUMBER              nuint8
 | 
			
		||||
#define NWVOL_TYPE                nuint32
 | 
			
		||||
#define TRUSTEE_RIGHTS            nuint32
 | 
			
		||||
 | 
			
		||||
#endif /* NWALIAS_H */
 | 
			
		||||
							
								
								
									
										60
									
								
								c_clientlogin/xplatincl/nwapidef.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								c_clientlogin/xplatincl/nwapidef.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwapidef.h %
 | 
			
		||||
  %version: 5 %
 | 
			
		||||
  %date_modified: Thu Jan 16 15:50:00 1997 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#define NWAPIDEF_H
 | 
			
		||||
 | 
			
		||||
/* Miscellaneous string lengths (constant) */
 | 
			
		||||
/* NOTE: These max values include a byte for null  */
 | 
			
		||||
#define NW_MAX_USER_NAME_LEN              49
 | 
			
		||||
#define NW_MAX_VOLUME_NAME_LEN            17
 | 
			
		||||
#define NW_MAX_SERVER_NAME_LEN            49
 | 
			
		||||
#define NW_MAX_TREE_NAME_LEN              33
 | 
			
		||||
#define NW_MAX_SERVICE_TYPE_LEN           49
 | 
			
		||||
 | 
			
		||||
/* Miscellaneous unicode string sizes in bytes (constant) */
 | 
			
		||||
 | 
			
		||||
#define NW_MAX_USER_NAME_BYTES              2 * NW_MAX_USER_NAME_LEN
 | 
			
		||||
#define NW_MAX_VOLUME_NAME_BYTES            2 * NW_MAX_VOLUME_NAME_LEN
 | 
			
		||||
#define NW_MAX_SERVER_NAME_BYTES            2 * NW_MAX_SERVER_NAME_LEN
 | 
			
		||||
#define NW_MAX_TREE_NAME_BYTES              2 * NW_MAX_TREE_NAME_LEN
 | 
			
		||||
#define NW_MAX_SERVICE_TYPE_BYTES           2 * NW_MAX_SERVICE_TYPE_LEN
 | 
			
		||||
 | 
			
		||||
/* PrintFlags (nuint16 value) */
 | 
			
		||||
#define NW_PRINT_FLAG_RELEASE             0x0001
 | 
			
		||||
#define NW_PRINT_FLAG_SUPPRESS_FF         0x0002
 | 
			
		||||
#define NW_PRINT_FLAG_TEXT_FILE           0x0004
 | 
			
		||||
#define NW_PRINT_FLAG_PRINT_BANNER        0x0008
 | 
			
		||||
#define NW_PRINT_FLAG_NOTIFY              0x0010
 | 
			
		||||
 | 
			
		||||
/* Print string lengths (constant) */
 | 
			
		||||
#define NW_MAX_JOBDESCR_LEN               50
 | 
			
		||||
#define NW_MAX_FORM_NAME_LEN              13
 | 
			
		||||
#define NW_MAX_BANNER_NAME_LEN            13
 | 
			
		||||
#define NW_MAX_QUEUE_NAME_LEN             65
 | 
			
		||||
 | 
			
		||||
/* Client Types : these are returned by NWGetClientType */
 | 
			
		||||
#define NW_NETX_SHELL   1
 | 
			
		||||
#define NW_VLM_REQ      2
 | 
			
		||||
#define NW_CLIENT32     3
 | 
			
		||||
#define NW_NT_REQ       4
 | 
			
		||||
#define NW_OS2_REQ      5
 | 
			
		||||
#define NW_NLM_REQ      6
 | 
			
		||||
 | 
			
		||||
#endif  /* NWAPIDEF_INC */
 | 
			
		||||
							
								
								
									
										560
									
								
								c_clientlogin/xplatincl/nwaudit.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										560
									
								
								c_clientlogin/xplatincl/nwaudit.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,560 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwaudit.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:05:36 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAUDIT_H )
 | 
			
		||||
#define NWAUDIT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWADEVNT_H )
 | 
			
		||||
#include "nwadevnt.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
/* Error codes */
 | 
			
		||||
#define ERROR_AUDITING_NOT_INITIALIZED  224
 | 
			
		||||
 | 
			
		||||
/* bit map sizes */
 | 
			
		||||
#define NW_AUDIT_NUMBER_EVENT_BITS      256
 | 
			
		||||
#define NW_AUDIT_NUMBER_EVENT_BITS_TNW  512
 | 
			
		||||
 | 
			
		||||
/* audit ID types */
 | 
			
		||||
#define AUDIT_ID_IS_TRUSTED_NETWARE       2
 | 
			
		||||
#define AUDIT_ID_IS_CONTAINER             1
 | 
			
		||||
#define AUDIT_ID_IS_VOLUME                0
 | 
			
		||||
 | 
			
		||||
/* audit flags */
 | 
			
		||||
#define DiscardAuditRcdsOnErrorFlag 0x01
 | 
			
		||||
#define ConcurrentVolAuditorAccess  0x02
 | 
			
		||||
#define DualLevelPasswordsActive    0x04
 | 
			
		||||
#define BroadcastWarningsToAllUsers 0x08
 | 
			
		||||
#define LevelTwoPasswordSet         0x10
 | 
			
		||||
#define ArchiveAuditFileOnErrorFlag 0x20
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWADOpenStatus
 | 
			
		||||
{
 | 
			
		||||
   nuint32 auditingStatus;
 | 
			
		||||
   nuint32 isTrustedNetWare;
 | 
			
		||||
   nuint32 trustedNetWareStatus;
 | 
			
		||||
   nuint32 reserved1; /* Future status */
 | 
			
		||||
   nuint32 reserved2;
 | 
			
		||||
   nuint32 reserved3;
 | 
			
		||||
   nuint32 reserved4;
 | 
			
		||||
} NWADOpenStatus, N_FAR *pNWADOpenStatus;
 | 
			
		||||
 | 
			
		||||
typedef struct tagTIMESTAMP
 | 
			
		||||
{
 | 
			
		||||
   nuint32 seconds;
 | 
			
		||||
   nuint16 replicaNumber;
 | 
			
		||||
   nuint16 event;
 | 
			
		||||
} TIMESTAMP;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWAuditBitMap
 | 
			
		||||
{
 | 
			
		||||
   nuint8 bitMap[NW_AUDIT_NUMBER_EVENT_BITS / 8];
 | 
			
		||||
}NWAuditBitMap, N_FAR *pNWAuditBitMap;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWAuditBitMapTNW
 | 
			
		||||
{
 | 
			
		||||
   nuint8 bitMap[NW_AUDIT_NUMBER_EVENT_BITS_TNW / 8];
 | 
			
		||||
}NWAuditBitMapTNW, N_FAR *pNWAuditBitMapTNW;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWAuditFileList
 | 
			
		||||
{
 | 
			
		||||
   nuint32 fileCreateDateTime[16];
 | 
			
		||||
   nuint32 fileSize[16];
 | 
			
		||||
}NWAuditFileList, N_FAR *pNWAuditFileList;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWConfigHeader
 | 
			
		||||
{
 | 
			
		||||
   nuint16        fileVersionDate;
 | 
			
		||||
   nuint8         auditFlags;
 | 
			
		||||
   nuint8         errMsgDelayMinutes;
 | 
			
		||||
   nuint8         reserved1[16];
 | 
			
		||||
   nuint32        auditFileMaxSize;
 | 
			
		||||
   nuint32        auditFileSizeThreshold;
 | 
			
		||||
   nuint32        auditRecordCount;
 | 
			
		||||
   nuint32        historyRecordCount;
 | 
			
		||||
   nuint8         reserved2[16];
 | 
			
		||||
   nuint32        reserved3[3];
 | 
			
		||||
   nuint8         auditEventBitMap[NW_AUDIT_NUMBER_EVENT_BITS / 8];
 | 
			
		||||
   nuint32        auditFileCreationDateTime;
 | 
			
		||||
   nuint8         reserved4[8];
 | 
			
		||||
   nuint16        auditFlags2;
 | 
			
		||||
   nuint16        fileVersionDate2;
 | 
			
		||||
   nuint8         fileArchiveDays;
 | 
			
		||||
   nuint8         fileArchiveHour;
 | 
			
		||||
   nuint8         numOldAuditFilesToKeep;
 | 
			
		||||
   nuint8         reserved5;
 | 
			
		||||
   nuint32        headerChecksum;
 | 
			
		||||
   nuint32        headerModifiedCounter;
 | 
			
		||||
   nuint32        reserved6;
 | 
			
		||||
   /* Trusted NetWare uses the following two fields */
 | 
			
		||||
   nuint8         newBitMap[64];  /* Tusted NetWare uses this bit map instead of volumeAuditEventBitMap above */
 | 
			
		||||
   nuint8         reserved7[64];
 | 
			
		||||
} NWConfigHeader, N_FAR *pNWConfigHeader;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWDSContainerConfigHdr
 | 
			
		||||
{
 | 
			
		||||
   nuint16     fileVersionDate;
 | 
			
		||||
   nuint8      auditFlags;
 | 
			
		||||
   nuint8      errMsgDelayMinutes;
 | 
			
		||||
   nuint32     containerID;
 | 
			
		||||
   nuint32     reserved1;
 | 
			
		||||
   TIMESTAMP   creationTS;
 | 
			
		||||
   nuint32     bitMap;
 | 
			
		||||
   nuint32     auditFileMaxSize;
 | 
			
		||||
   nuint32     auditFileSizeThreshold;
 | 
			
		||||
   nuint32     auditRecordCount;
 | 
			
		||||
   nuint16     replicaNumber;
 | 
			
		||||
   nuint8      enabledFlag;
 | 
			
		||||
   nuint8      fileArchiveDays;
 | 
			
		||||
   nuint8      fileArchiveHour;
 | 
			
		||||
   nuint8      numOldFilesToKeep;
 | 
			
		||||
   nuint16     numberReplicaEntries;
 | 
			
		||||
   nuint32     auditFileCreationDateTime;
 | 
			
		||||
   nuint8      reserved2[8];
 | 
			
		||||
   nuint32     partitionID;
 | 
			
		||||
   nuint32     headerChecksum;
 | 
			
		||||
   nuint32     reserved3[4];
 | 
			
		||||
   nuint32     auditDisabledCounter;
 | 
			
		||||
   nuint32     auditEnabledCounter;
 | 
			
		||||
   nuint8      reserved4[32];
 | 
			
		||||
   nuint32     hdrModifiedCounter;
 | 
			
		||||
   nuint32     fileResetCounter;
 | 
			
		||||
   /* Trusted NetWare uses the following two fields */
 | 
			
		||||
   nuint8      newBitMap[64]; /* Tusted NetWare uses this bit map */
 | 
			
		||||
   nuint8      reserved5[64];
 | 
			
		||||
} NWDSContainerConfigHdr, N_FAR *pNWDSContainerConfigHdr;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWAuditStatus
 | 
			
		||||
{
 | 
			
		||||
   nuint16  auditingVersionDate;
 | 
			
		||||
   nuint16  auditFileVersionDate;
 | 
			
		||||
   nuint32  auditingEnabledFlag;
 | 
			
		||||
   nuint32  auditFileSize;
 | 
			
		||||
   nuint32  modifiedCounter;
 | 
			
		||||
   nuint32  auditFileMaxSize;
 | 
			
		||||
   nuint32  auditFileSizeThreshold;
 | 
			
		||||
   nuint32  auditRecordCount;
 | 
			
		||||
   nuint32  auditingFlags;
 | 
			
		||||
} NWAuditStatus, N_FAR *pNWAuditStatus;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWAuditRecord
 | 
			
		||||
{
 | 
			
		||||
   nuint32 recordLength;
 | 
			
		||||
   pnuint8 record;
 | 
			
		||||
} NWAuditRecord, N_FAR *pNWAuditRecord;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWADAuditPolicy
 | 
			
		||||
{
 | 
			
		||||
   nuint16 policyVersionDate;
 | 
			
		||||
   nuint16 reserved;
 | 
			
		||||
   nuint8  auditFlags[4];
 | 
			
		||||
   nuint32 auditFileMaxSize;
 | 
			
		||||
   nuint32 auditFileThresholdSize;
 | 
			
		||||
   nuint8  fileArchiveDays;
 | 
			
		||||
   nuint8  fileArchiveHour;
 | 
			
		||||
   nuint8  numOldAuditFilesToKeep;
 | 
			
		||||
   nuint8  userRestrictionFlag;
 | 
			
		||||
   nuint32 modifiedCounter;
 | 
			
		||||
   nuint32 auditOverflowFileSize;
 | 
			
		||||
   nuint32 reservedLong;
 | 
			
		||||
   nuint8  auditedEventBitMap[256];
 | 
			
		||||
} NWADAuditPolicy, N_FAR *pNWADAuditPolicy;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWGetNWADVersion
 | 
			
		||||
(
 | 
			
		||||
  pnuint8 majorVersion,
 | 
			
		||||
  pnuint8 minorVersion,
 | 
			
		||||
  pnuint8 revisionLevel,
 | 
			
		||||
  pnuint8 betaReleaseLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* allocate auditHandle for use in other Auditing calls */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADOpen
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE     conn,
 | 
			
		||||
   nuint32           auditIDType,
 | 
			
		||||
   nuint32           auditID,
 | 
			
		||||
   pnptr             auditHandle,   /* allocate auditHandle */
 | 
			
		||||
   pNWADOpenStatus   openStatus
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* free auditHandle and NULL the pointer */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADClose
 | 
			
		||||
(
 | 
			
		||||
   pnptr          auditHandle  /* free auditHandle */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWGetVolumeAuditStats(a, b, c, d) \
 | 
			
		||||
      NWADGetStatus(a, AUDIT_ID_IS_VOLUME, b, c, d)
 | 
			
		||||
#define NWDSGetContainerAuditStats(a, b, c, d) \
 | 
			
		||||
      NWADGetStatus(a, AUDIT_ID_IS_CONTAINER, b, c, d)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADGetStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   pNWAuditStatus auditStatus,
 | 
			
		||||
   nuint16        bufferSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWGetAuditingFlags(a, b, c, d) \
 | 
			
		||||
   NWADGetFlags(a, AUDIT_ID_IS_VOLUME, b, c, d)
 | 
			
		||||
#define NWDSGetAuditingFlags(a, b, c, d) \
 | 
			
		||||
   NWADGetFlags(a, AUDIT_ID_IS_CONTAINER, b, c, d)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADGetFlags
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   pnuint8        flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWLoginAsVolumeAuditor(a, b, c, d) \
 | 
			
		||||
      NWADLogin(a, AUDIT_ID_IS_VOLUME, b, c, d)
 | 
			
		||||
#define NWDSLoginAsContainerAuditor(a, b, c, d) \
 | 
			
		||||
      NWADLogin(a, AUDIT_ID_IS_CONTAINER, b, c, d)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADLogin
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   pnuint8        password
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWInitAuditLevelTwoPassword NWADInitLevelTwoPassword
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADInitLevelTwoPassword
 | 
			
		||||
(
 | 
			
		||||
   nptr     auditHandle,
 | 
			
		||||
   pnuint8  password
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWLogoutAsVolumeAuditor(a, b, c) \
 | 
			
		||||
   NWADLogout(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSLogoutAsContainerAuditor(a, b, c) \
 | 
			
		||||
   NWADLogout(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADLogout
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWChangeAuditorPassword(a, b, c, d, e) \
 | 
			
		||||
      NWADChangePassword(a, AUDIT_ID_IS_VOLUME, b, c, d, e)
 | 
			
		||||
#define NWDSChangeAuditorPassword(a, b, c, d, e) \
 | 
			
		||||
      NWADChangePassword(a, AUDIT_ID_IS_CONTAINER, b, c, d, e)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADChangePassword
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   pnuint8        newPassword,
 | 
			
		||||
   nuint8         level
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWCheckAuditAccess(a, b) \
 | 
			
		||||
   NWADCheckAccess(a, AUDIT_ID_IS_VOLUME, b)
 | 
			
		||||
#define NWDSCheckAuditAccess(a, b) \
 | 
			
		||||
   NWADCheckAccess(a, AUDIT_ID_IS_CONTAINER, b)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADCheckAccess
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWCheckAuditLevelTwoAccess(a, b, c) \
 | 
			
		||||
   NWADCheckLevelTwoAccess(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSCheckAuditLevelTwoAccess(a, b, c) \
 | 
			
		||||
   NWADCheckLevelTwoAccess(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADCheckLevelTwoAccess
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWEnableAuditingOnVolume(a, b, c) \
 | 
			
		||||
   NWADEnable(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSEnableAuditingOnContainer(a, b, c) \
 | 
			
		||||
   NWADEnable(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADEnable
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWDisableAuditingOnVolume(a, b, c) \
 | 
			
		||||
   NWADDisable(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSDisableAuditingOnContainer(a, b, c) \
 | 
			
		||||
   NWADDisable(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADDisable
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWIsUserBeingAudited(a, b, c, d) \
 | 
			
		||||
   NWADIsObjectAudited(a, AUDIT_ID_IS_VOLUME, b, d)
 | 
			
		||||
#define NWDSIsObjectBeingAudited(a, b, c) \
 | 
			
		||||
   NWADIsObjectAudited(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADIsObjectAudited
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nuint32        userObjectID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWAddAuditProperty(a, b, c, d) \
 | 
			
		||||
   NWADChangeObjectProperty(a, AUDIT_ID_IS_VOLUME, b, c, d, 1)
 | 
			
		||||
#define NWRemoveAuditProperty(a, b, c, d) \
 | 
			
		||||
   NWADChangeObjectProperty(a, AUDIT_ID_IS_VOLUME, b, c, d, 0)
 | 
			
		||||
#define NWDSChangeObjectAuditProperty(a, b, c, d, e) \
 | 
			
		||||
   NWADChangeObjectProperty(a, AUDIT_ID_IS_CONTAINER, b, c, d, e)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADChangeObjectProperty
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   nuint32        objectID,
 | 
			
		||||
   nuint8         auditFlag  /* 0:remove 1:add */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* Volume audit call only */
 | 
			
		||||
#define NWReadAuditingBitMap(a, b, c, d, e)\
 | 
			
		||||
   NWADReadBitMap(a, b, d, e)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADReadBitMap
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditID,  /* can only be volume */
 | 
			
		||||
   NWAuditBitMap  N_FAR *buffer,
 | 
			
		||||
   nuint16        bufferSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWReadAuditConfigHeader(a, b, c, d, e) \
 | 
			
		||||
   NWADReadConfigHeader(a, AUDIT_ID_IS_VOLUME, b, c, d, e)
 | 
			
		||||
#define NWDSReadAuditConfigHeader(a, b, c, d, e) \
 | 
			
		||||
   NWADReadConfigHeader(a, AUDIT_ID_IS_CONTAINER, b, c, d, e)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADReadConfigHeader
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   nptr           buffer,
 | 
			
		||||
   nuint16        bufferSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* volume auditing only */
 | 
			
		||||
#define NWWriteAuditingBitMap(a, b, c, d) \
 | 
			
		||||
   NWADWriteBitMap(a, b, c, d)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADWriteBitMap
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditID,  /* can only be volume */
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   NWAuditBitMap  N_FAR *buffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWWriteAuditConfigHeader(a, b, c, d) \
 | 
			
		||||
   NWADWriteConfigHeader(a, AUDIT_ID_IS_VOLUME, b, c, d)
 | 
			
		||||
#define NWDSWriteAuditConfigHeader(a, b, c, d) \
 | 
			
		||||
   NWADWriteConfigHeader(a, AUDIT_ID_IS_CONTAINER, b, c, d)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADWriteConfigHeader
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE   conn,
 | 
			
		||||
   nuint32         auditIDType,
 | 
			
		||||
   nuint32         auditID,
 | 
			
		||||
   nptr            auditHandle,
 | 
			
		||||
   pNWConfigHeader buffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWResetAuditingFile(a, b, c) \
 | 
			
		||||
   NWADResetFile(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSResetAuditingFile(a, b, c) \
 | 
			
		||||
   NWADResetFile(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADResetFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* NWADOpenReadFile will only work with NetWare version 4.10 or newer */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADOpenRecordFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   nint16         fileCode,
 | 
			
		||||
   pnptr          recordHandle  /* Allocate record handle */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* NWADInitRead will only work with NetWare version 4.10 or newer */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADReadRecord
 | 
			
		||||
(
 | 
			
		||||
   nptr        recordHandle,   /* Allocated in NWADOpenRecordFile */
 | 
			
		||||
   nuint16     maxSize,
 | 
			
		||||
   nint16      direction,
 | 
			
		||||
   pnuint8     buffer,
 | 
			
		||||
   pnuint16    bufferSize,
 | 
			
		||||
   pnuint8     eofFlag,
 | 
			
		||||
   pnuint32    offsetPtr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* NWADInitRead will only work with NetWare version 4.10 or newer */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADCloseRecordFile
 | 
			
		||||
(
 | 
			
		||||
   pnptr       recordHandle  /* Free record handle */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWCloseOldAuditingFile(a, b, c) \
 | 
			
		||||
   NWADCloseOldFile(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSCloseOldAuditingFile(a, b, c) \
 | 
			
		||||
   NWADCloseOldFile(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADCloseOldFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWDeleteOldAuditingFile(a, b, c) \
 | 
			
		||||
   NWADDeleteFile(a, AUDIT_ID_IS_VOLUME, b, c)
 | 
			
		||||
#define NWDSDeleteOldAuditingFile(a, b, c) \
 | 
			
		||||
   NWADDeleteFile(a, AUDIT_ID_IS_CONTAINER, b, c)
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADDeleteFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* NetWare version 4.10 or newer */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADGetFileList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE     conn,
 | 
			
		||||
   nuint32           auditIDType,
 | 
			
		||||
   nuint32           auditID,
 | 
			
		||||
   nptr              auditHandle,
 | 
			
		||||
   pNWAuditFileList  fileList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADDeleteOldFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   nuint32        fileCode
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* Trusted NetWare and Volume Only */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADRestartVolumeAuditing
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* Trusted NetWare Only */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADSetPassword
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditIDType,
 | 
			
		||||
   nuint32        auditID,
 | 
			
		||||
   nptr           auditHandle,
 | 
			
		||||
   pnuint8        newPassword
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* Trusted NetWare Only */
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWADAppendExternalRecords
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        auditFileObjectID,
 | 
			
		||||
   nuint32        vendorID,
 | 
			
		||||
   nuint32        numberRecords,
 | 
			
		||||
   pNWAuditRecord recordsPtr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWAUDIT_H */
 | 
			
		||||
							
								
								
									
										413
									
								
								c_clientlogin/xplatincl/nwbindry.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										413
									
								
								c_clientlogin/xplatincl/nwbindry.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,413 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwbindry.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Tue Feb 10 13:24:44 2004 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWBINDRY_H )
 | 
			
		||||
#define NWBINDRY_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NUNICODE_H )
 | 
			
		||||
#include "nunicode.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Bindery object types (in HIGH-LOW order) */
 | 
			
		||||
#define OT_WILD                 0xFFFF
 | 
			
		||||
#define OT_UNKNOWN              0x0000
 | 
			
		||||
#define OT_USER                 0x0100
 | 
			
		||||
#define OT_USER_GROUP           0x0200
 | 
			
		||||
#define OT_PRINT_QUEUE          0x0300
 | 
			
		||||
#define OT_FILE_SERVER          0x0400
 | 
			
		||||
#define OT_JOB_SERVER           0x0500
 | 
			
		||||
#define OT_GATEWAY              0x0600
 | 
			
		||||
#define OT_PRINT_SERVER         0x0700
 | 
			
		||||
#define OT_ARCHIVE_QUEUE        0x0800
 | 
			
		||||
#define OT_ARCHIVE_SERVER       0x0900
 | 
			
		||||
#define OT_JOB_QUEUE            0x0A00
 | 
			
		||||
#define OT_ADMINISTRATION       0x0B00
 | 
			
		||||
#define OT_NAS_SNA_GATEWAY      0x2100
 | 
			
		||||
#define OT_REMOTE_BRIDGE_SERVER 0x2600
 | 
			
		||||
#define OT_TCPIP_GATEWAY        0x2700
 | 
			
		||||
#define OT_TREE_NAME            0x7802
 | 
			
		||||
 | 
			
		||||
/* Extended bindery object types */
 | 
			
		||||
#define OT_TIME_SYNCHRONIZATION_SERVER 0x2D00
 | 
			
		||||
#define OT_ARCHIVE_SERVER_DYNAMIC_SAP  0x2E00
 | 
			
		||||
#define OT_ADVERTISING_PRINT_SERVER    0x4700
 | 
			
		||||
#define OT_BTRIEVE_VAP                 0x5000
 | 
			
		||||
#define OT_PRINT_QUEUE_USER            0x5300
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Bindery object and property flags */
 | 
			
		||||
#define BF_STATIC   0x00
 | 
			
		||||
#define BF_DYNAMIC  0x01
 | 
			
		||||
#define BF_ITEM     0x00
 | 
			
		||||
#define BF_SET      0x02
 | 
			
		||||
 | 
			
		||||
/*********  Bindery object and property security access levels  **********/
 | 
			
		||||
#define BS_ANY_READ      0x00   /* Readable by anyone                */
 | 
			
		||||
#define BS_LOGGED_READ   0x01   /* Must be logged in to read         */
 | 
			
		||||
#define BS_OBJECT_READ   0x02   /* Readable by same object or super  */
 | 
			
		||||
#define BS_SUPER_READ    0x03   /* Readable by supervisor only       */
 | 
			
		||||
#define BS_BINDERY_READ  0x04   /* Readable only by the bindery      */
 | 
			
		||||
#define BS_ANY_WRITE     0x00   /* Writeable by anyone               */
 | 
			
		||||
#define BS_LOGGED_WRITE  0x10   /* Must be logged in to write        */
 | 
			
		||||
#define BS_OBJECT_WRITE  0x20   /* Writeable by same object or super */
 | 
			
		||||
#define BS_SUPER_WRITE   0x30   /* Writeable only by the supervisor  */
 | 
			
		||||
#define BS_BINDERY_WRITE 0x40   /* Writeable by the bindery only     */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWVerifyObjectPassword
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * password
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDisallowObjectPassword
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * disallowedPassword
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeObjectPassword
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE       conn,
 | 
			
		||||
  const nstr8 N_FAR * objName,
 | 
			
		||||
  nuint16             objType,
 | 
			
		||||
  const nstr8 N_FAR * oldPassword,
 | 
			
		||||
  const nstr8 N_FAR * newPassword
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadPropertyValue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName,
 | 
			
		||||
   nuint8              segmentNum,
 | 
			
		||||
   pnuint8             segmentData,
 | 
			
		||||
   pnuint8             moreSegments,
 | 
			
		||||
   pnuint8             flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWritePropertyValue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   const nstr8  N_FAR * objName,
 | 
			
		||||
   nuint16              objType,
 | 
			
		||||
   const nstr8  N_FAR * propertyName,
 | 
			
		||||
   nuint8               segmentNum,
 | 
			
		||||
   const nuint8 N_FAR * segmentData,
 | 
			
		||||
   nuint8               moreSegments
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAddObjectToSet
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName,
 | 
			
		||||
   const nstr8 N_FAR * memberName,
 | 
			
		||||
   nuint16             memberType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteObjectFromSet
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   pnstr8              propertyName,
 | 
			
		||||
   pnstr8              memberName,
 | 
			
		||||
   nuint16             memberType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIsObjectInSet
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName,
 | 
			
		||||
   const nstr8 N_FAR * memberName,
 | 
			
		||||
   nuint16             memberType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanProperty
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   pnstr8              searchPropertyName,
 | 
			
		||||
   pnuint32            iterHandle,
 | 
			
		||||
   pnstr8              propertyName,
 | 
			
		||||
   pnuint8             propertyFlags,
 | 
			
		||||
   pnuint8             propertySecurity,
 | 
			
		||||
   pnuint8             valueAvailable,
 | 
			
		||||
   pnuint8             moreFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectID
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   pnuint32            objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectDiskSpaceLeft
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        objID,
 | 
			
		||||
   pnuint32       systemElapsedTime,
 | 
			
		||||
   pnuint32       unusedDiskBlocks,
 | 
			
		||||
   pnuint8        restrictionEnforced
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        objID,
 | 
			
		||||
   pnstr8         objName,
 | 
			
		||||
   pnuint16       objType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanObject
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * searchName,
 | 
			
		||||
   nuint16             searchType,
 | 
			
		||||
   pnuint32            objID,
 | 
			
		||||
   pnstr8              objName,
 | 
			
		||||
   pnuint16            objType,
 | 
			
		||||
   pnuint8             hasPropertiesFlag,
 | 
			
		||||
   pnuint8             objFlags,
 | 
			
		||||
   pnuint8             objSecurity
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetBinderyAccessLevel
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        accessLevel,
 | 
			
		||||
   pnuint32       objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateProperty
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName,
 | 
			
		||||
   nuint8              propertyFlags,
 | 
			
		||||
   nuint8              propertySecurity
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteProperty
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangePropertySecurity
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * propertyName,
 | 
			
		||||
   nuint8              newPropertySecurity
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateObject
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         objName,
 | 
			
		||||
   nuint16        objType,
 | 
			
		||||
   nuint8         objFlags,
 | 
			
		||||
   nuint8         objSecurity
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteObject
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRenameObject
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * oldObjName,
 | 
			
		||||
   const nstr8 N_FAR * newObjName,
 | 
			
		||||
   nuint16             objType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeObjectSecurity
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   nuint8              newObjSecurity
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenBindery
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseBindery
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanObjectTrusteePaths
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        objID,
 | 
			
		||||
   nuint16        volNum,
 | 
			
		||||
   pnuint16       iterHandle,
 | 
			
		||||
   pnuint8        accessRights,
 | 
			
		||||
   pnstr8         dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanObjectTrusteePathsExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        objID,
 | 
			
		||||
   nuint16        volNum,
 | 
			
		||||
   pnuint16       iterHandle,
 | 
			
		||||
   pnuint8        accessRights,
 | 
			
		||||
   pnstr8         dirPath1506
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectEffectiveRights
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint32             objID,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint16            rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectEffectiveRightsExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint32             objID,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              buNameSpace,
 | 
			
		||||
   pnuint16            rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectEffectiveRights2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint32             objID,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint16            rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesBeginA
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luObjectType,
 | 
			
		||||
	pnuint32       pluHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesNextA
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luHandle,
 | 
			
		||||
	pnuint32       pluLenBuffer,
 | 
			
		||||
	pnstr8         strBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesEndA
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesBeginW
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luObjectType,
 | 
			
		||||
	pnuint32       pluHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesNextW
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luHandle,
 | 
			
		||||
	pnuint32       pluLenBuffer,
 | 
			
		||||
	punicode       strBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectNamesEndW
 | 
			
		||||
(
 | 
			
		||||
   nuint32        luHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										190
									
								
								c_clientlogin/xplatincl/nwcaldef.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										190
									
								
								c_clientlogin/xplatincl/nwcaldef.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,190 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwcaldef.h %
 | 
			
		||||
  %version: 8 %
 | 
			
		||||
  %date_modified: Mon Mar 28 12:52:37 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#define NWCALDEF_H
 | 
			
		||||
 | 
			
		||||
#ifdef N_PLAT_NLM
 | 
			
		||||
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
#if ! defined ( _NWFATTR_H_ )
 | 
			
		||||
#include <nwtypes.h>
 | 
			
		||||
#include <nwfattr.h>
 | 
			
		||||
#endif
 | 
			
		||||
#undef   FA_NORMAL
 | 
			
		||||
#undef   FA_HIDDEN
 | 
			
		||||
#undef   FA_SYSTEM
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWPASCAL
 | 
			
		||||
#define NWPASCAL N_PASCAL
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWFAR
 | 
			
		||||
#define NWFAR N_FAR
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define NWCONN_HANDLE   nuint
 | 
			
		||||
#define pNWCONN_HANDLE  pnuint  
 | 
			
		||||
#define NWCONN_NUM      nuint16
 | 
			
		||||
#define NWCCODE         nuint
 | 
			
		||||
#define NWDIR_HANDLE    nuint8
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
Changes to this structure need to be mirrored in 
 | 
			
		||||
internal header nwclient.h.  Would be nice to have
 | 
			
		||||
win31 and OS/2 be defined as HFILE.  Need to look
 | 
			
		||||
into that a little more.
 | 
			
		||||
*/
 | 
			
		||||
//#if (defined (N_PLAT_MSW) && defined (N_ARCH_32)) || defined(N_PLAT_UNIX)
 | 
			
		||||
#if (defined (N_PLAT_MSW) && defined (N_ARCH_32))
 | 
			
		||||
    #define NWFILE_HANDLE     nptr
 | 
			
		||||
#elif   defined (N_PLAT_OS2)
 | 
			
		||||
    #define NWFILE_HANDLE     unsigned long
 | 
			
		||||
#else
 | 
			
		||||
    #define NWFILE_HANDLE     nint
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(N_PLAT_UNIX)
 | 
			
		||||
typedef struct UNIX_NWFILE_STRUCT
 | 
			
		||||
{
 | 
			
		||||
   NWCONN_HANDLE  conn;
 | 
			
		||||
//   nuint16        suHandleType;
 | 
			
		||||
   nuint8         pbuNWHandle[6];
 | 
			
		||||
   nuint32        luOffset;
 | 
			
		||||
 | 
			
		||||
} UNIX_NWFILE_STRUCT;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if !defined(__WINDOWS_H) &&         \
 | 
			
		||||
    !defined(_INC_WINDOWS) &&        \
 | 
			
		||||
    !defined(__WIN386_INCLUDED__)
 | 
			
		||||
 | 
			
		||||
#if !defined(BYTE) && !defined(OS2DEF_INCLUDED)
 | 
			
		||||
#define BYTE nuint8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef WORD
 | 
			
		||||
#define WORD nuint16
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef DWORD
 | 
			
		||||
#define DWORD nuint32
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef LONG
 | 
			
		||||
#define LONG nuint32
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef FA_READ_ONLY
 | 
			
		||||
#define FA_NORMAL         0x00
 | 
			
		||||
#define FA_READ_ONLY      0x01
 | 
			
		||||
#define FA_HIDDEN         0x02
 | 
			
		||||
#define FA_SYSTEM         0x04
 | 
			
		||||
#define FA_EXECUTE_ONLY   0x08
 | 
			
		||||
#define FA_DIRECTORY      0x10
 | 
			
		||||
#define FA_NEEDS_ARCHIVED 0x20
 | 
			
		||||
#define FA_SHAREABLE      0x80
 | 
			
		||||
 | 
			
		||||
/* Extended file attributes */
 | 
			
		||||
#define FA_TRANSACTIONAL  0x10
 | 
			
		||||
#define FA_INDEXED        0x20
 | 
			
		||||
#define FA_READ_AUDIT     0x40
 | 
			
		||||
#define FA_WRITE_AUDIT    0x80
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* the following is a the correct attribute mask list */
 | 
			
		||||
/* The difference between these and the FA_ constants above is that these
 | 
			
		||||
   are in the correct positions. The last four attributes above are 8 bits
 | 
			
		||||
   off. (They need to be shifted 8 bits to the left.) */
 | 
			
		||||
#ifndef A_NORMAL
 | 
			
		||||
#define A_NORMAL             0x00000000L
 | 
			
		||||
#define A_READ_ONLY          0x00000001L
 | 
			
		||||
#define A_HIDDEN             0x00000002L
 | 
			
		||||
#define A_SYSTEM             0x00000004L
 | 
			
		||||
#define A_EXECUTE_ONLY       0x00000008L
 | 
			
		||||
#define A_DIRECTORY          0x00000010L
 | 
			
		||||
#define A_NEEDS_ARCHIVED     0x00000020L
 | 
			
		||||
#define A_SHAREABLE          0x00000080L
 | 
			
		||||
#define A_DONT_SUBALLOCATE   0x00000800L 
 | 
			
		||||
#define A_TRANSACTIONAL      0x00001000L
 | 
			
		||||
#define A_INDEXED            0x00002000L /* not in the NCP book */
 | 
			
		||||
#define A_READ_AUDIT         0x00004000L
 | 
			
		||||
#define A_WRITE_AUDIT        0x00008000L
 | 
			
		||||
#define A_IMMEDIATE_PURGE    0x00010000L
 | 
			
		||||
#define A_RENAME_INHIBIT     0x00020000L
 | 
			
		||||
#define A_DELETE_INHIBIT     0x00040000L
 | 
			
		||||
#define A_COPY_INHIBIT       0x00080000L
 | 
			
		||||
#define A_FILE_MIGRATED      0x00400000L
 | 
			
		||||
#define A_DONT_MIGRATE       0x00800000L
 | 
			
		||||
#define A_IMMEDIATE_COMPRESS 0x02000000L
 | 
			
		||||
#define A_FILE_COMPRESSED    0x04000000L
 | 
			
		||||
#define A_DONT_COMPRESS      0x08000000L
 | 
			
		||||
#define A_CANT_COMPRESS      0x20000000L
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* access rights attributes */
 | 
			
		||||
#ifndef AR_READ_ONLY
 | 
			
		||||
#define AR_READ           0x0001
 | 
			
		||||
#define AR_WRITE          0x0002
 | 
			
		||||
#define AR_READ_ONLY      0x0001
 | 
			
		||||
#define AR_WRITE_ONLY     0x0002
 | 
			
		||||
#define AR_DENY_READ      0x0004
 | 
			
		||||
#define AR_DENY_WRITE     0x0008
 | 
			
		||||
#define AR_COMPATIBILITY  0x0010
 | 
			
		||||
#define AR_WRITE_THROUGH  0x0040
 | 
			
		||||
#define AR_OPEN_COMPRESSED 0x0100
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* search attributes */
 | 
			
		||||
#ifndef SA_HIDDEN
 | 
			
		||||
#define SA_NORMAL         0x0000
 | 
			
		||||
#define SA_HIDDEN         0x0002
 | 
			
		||||
#define SA_SYSTEM         0x0004
 | 
			
		||||
#define SA_SUBDIR_ONLY    0x0010
 | 
			
		||||
#define SA_SUBDIR_FILES   0x8000
 | 
			
		||||
#define SA_ALL            0x8006
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef USE_NW_WILD_MATCH
 | 
			
		||||
#define USE_NW_WILD_MATCH   0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef USE_DOS_WILD_MATCH
 | 
			
		||||
#define USE_DOS_WILD_MATCH  1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Scope specifiers */
 | 
			
		||||
#define GLOBAL       0
 | 
			
		||||
#define PRIVATE      1
 | 
			
		||||
#define MY_SESSION   2
 | 
			
		||||
#define ALL_SESSIONS 3
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										127
									
								
								c_clientlogin/xplatincl/nwcalls.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										127
									
								
								c_clientlogin/xplatincl/nwcalls.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,127 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwcalls.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Tue Jul 29 15:44:05 1997 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALLS_H )
 | 
			
		||||
#define NWCALLS_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#include "nwapidef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWALIAS_H )
 | 
			
		||||
#include "nwalias.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOAFP_INC )
 | 
			
		||||
#include "nwafp.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOBINDRY_INC )
 | 
			
		||||
#include "nwbindry.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOCONNECT_INC )
 | 
			
		||||
#include "nwconnec.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NODEL_INC )
 | 
			
		||||
#include "nwdel.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NODENTRY_INC )
 | 
			
		||||
#include "nwdentry.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NODIRECTORY_INC )
 | 
			
		||||
#include "nwdirect.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NODPATH_INC )
 | 
			
		||||
#include "nwdpath.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOEA_INC )
 | 
			
		||||
#include "nwea.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOERROR_INC )
 | 
			
		||||
#include "nwerror.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOFILES_INC )
 | 
			
		||||
#include "nwfile.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOMISC_INC )
 | 
			
		||||
#include "nwmisc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOMESSAGES_INC )
 | 
			
		||||
#include "nwmsg.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NONAMSPC_INC )
 | 
			
		||||
#include "nwnamspc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOPRINT_INC )
 | 
			
		||||
#include "nwprint.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOQUEUE_INC )
 | 
			
		||||
#include "nwqms.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOSERVER_INC )
 | 
			
		||||
#include "nwserver.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOSYNC_INC )
 | 
			
		||||
#include "nwsync.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NONTTS_INC )
 | 
			
		||||
#include "nwtts.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOVOL_INC )
 | 
			
		||||
#include "nwvol.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOACCT_INC )
 | 
			
		||||
#include "nwacct.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOFSE_INC )
 | 
			
		||||
#include "nwfse.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOMIGRATE_INC )
 | 
			
		||||
#include "nwmigrat.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NOSM_INC )
 | 
			
		||||
#include "nwsm.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* NWCALLS_INC */
 | 
			
		||||
							
								
								
									
										495
									
								
								c_clientlogin/xplatincl/nwclxcon.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										495
									
								
								c_clientlogin/xplatincl/nwclxcon.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,495 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwclxcon.h %
 | 
			
		||||
  %version: 21 %
 | 
			
		||||
  %date_modified: Thu Oct 14 13:13:16 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 ***************************************************************************/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCLXCON_H )
 | 
			
		||||
#define NWCLXCON_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#include "nwapidef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )  /* include nwcaldef.h for connection handle */
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
/* Authentication States */
 | 
			
		||||
#define NWCC_AUTHENT_STATE_NONE     0x0000
 | 
			
		||||
#define NWCC_AUTHENT_STATE_BIND     0x0001
 | 
			
		||||
#define NWCC_AUTHENT_STATE_NDS      0x0002
 | 
			
		||||
 | 
			
		||||
/* Broadcast States */
 | 
			
		||||
#define NWCC_BCAST_PERMIT_ALL       0x0000
 | 
			
		||||
#define NWCC_BCAST_PERMIT_SYSTEM    0x0001
 | 
			
		||||
#define NWCC_BCAST_PERMIT_NONE      0x0002
 | 
			
		||||
#define NWCC_BCAST_PERMIT_POLL      0x0003  /* DOS Windows and OS/2 only */
 | 
			
		||||
 | 
			
		||||
/* NDS States */
 | 
			
		||||
#define NWCC_NDS_NOT_CAPABLE        0x0000
 | 
			
		||||
#define NWCC_NDS_CAPABLE            0x0001
 | 
			
		||||
 | 
			
		||||
/* License States */
 | 
			
		||||
#define NWCC_NOT_LICENSED           0x0000
 | 
			
		||||
#define NWCC_CONNECTION_LICENSED    0x0001
 | 
			
		||||
#define NWCC_HANDLE_LICENSED        0x0002
 | 
			
		||||
 | 
			
		||||
/* Name Format types */
 | 
			
		||||
#define NWCC_NAME_FORMAT_NDS        0x0001  /* Unicode full dot format name */
 | 
			
		||||
#define NWCC_NAME_FORMAT_BIND       0x0002
 | 
			
		||||
#define NWCC_NAME_FORMAT_NDS_TREE   0x0008
 | 
			
		||||
#define NWCC_NAME_FORMAT_WILD       0x8000
 | 
			
		||||
 | 
			
		||||
/* Transport types */
 | 
			
		||||
#define NWCC_TRAN_TYPE_IPX          0x00000001
 | 
			
		||||
#define NWCC_TRAN_TYPE_DDP          0x00000003
 | 
			
		||||
#define NWCC_TRAN_TYPE_ASP          0x00000004
 | 
			
		||||
#define NWCC_TRAN_TYPE_UDP          0x00000008
 | 
			
		||||
#define NWCC_TRAN_TYPE_TCP          0x00000009
 | 
			
		||||
#define NWCC_TRAN_TYPE_UDP6         0x0000000A
 | 
			
		||||
#define NWCC_TRAN_TYPE_TCP6         0x0000000B
 | 
			
		||||
#define NWCC_TRAN_TYPE_WILD         0x00008000
 | 
			
		||||
 | 
			
		||||
/* Open States */
 | 
			
		||||
#define NWCC_OPEN_LICENSED          0x0001
 | 
			
		||||
#define NWCC_OPEN_UNLICENSED        0x0002
 | 
			
		||||
#define NWCC_OPEN_PRIVATE           0x0004
 | 
			
		||||
#define NWCC_OPEN_PUBLIC            0x0008
 | 
			
		||||
#define NWCC_OPEN_EXISTING_HANDLE   0x0010
 | 
			
		||||
#define NWCC_OPEN_NEAREST           0x0100
 | 
			
		||||
#define NWCC_OPEN_IGNORE_CACHE      0x0200
 | 
			
		||||
 | 
			
		||||
/* Scan connection information flags (nuint value) */
 | 
			
		||||
#define NWCC_MATCH_NOT_EQUALS              0x0000
 | 
			
		||||
#define NWCC_MATCH_EQUALS                  0x0001
 | 
			
		||||
#define NWCC_RETURN_PUBLIC                 0x0002
 | 
			
		||||
#define NWCC_RETURN_PRIVATE                0x0004
 | 
			
		||||
#define NWCC_RETURN_LICENSED               0x0008
 | 
			
		||||
#define NWCC_RETURN_UNLICENSED             0x0010
 | 
			
		||||
 | 
			
		||||
/* Reserved Value */
 | 
			
		||||
#define NWCC_RESERVED               0x0000
 | 
			
		||||
 | 
			
		||||
/* Values used with Security Flags */
 | 
			
		||||
/* NOTE: 
 | 
			
		||||
Two previously defined security flags have been redefined in order to be
 | 
			
		||||
compliant with the ANSI standard maximum length of 31.  Here is a list showing
 | 
			
		||||
what the #define was previously, and what it has been redefined to be.
 | 
			
		||||
PREVIOUSLY                          CURRENTLY
 | 
			
		||||
NWCC_SECURITY_SIGNING_NOT_IN_USE    NWCC_SECUR_SIGNING_NOT_IN_USE
 | 
			
		||||
NWCC_SECURITY_LEVEL_SIGN_HEADERS    NWCC_SECUR_LEVEL_SIGN_HEADERS
 | 
			
		||||
*/
 | 
			
		||||
#define NWCC_SECURITY_SIGNING_NOT_IN_USE     0x00000000 
 | 
			
		||||
#define NWCC_SECURITY_SIGNING_IN_USE      0x00000001
 | 
			
		||||
#define NWCC_SECURITY_LEVEL_CHECKSUM      0x00000100
 | 
			
		||||
#define NWCC_SECURITY_LEVEL_SIGN_HEADERS     0x00000200
 | 
			
		||||
#define NWCC_SECURITY_LEVEL_SIGN_ALL      0x00000400
 | 
			
		||||
#define NWCC_SECURITY_LEVEL_ENCRYPT       0x00000800
 | 
			
		||||
 | 
			
		||||
/* Feature Codes */
 | 
			
		||||
#define NWCC_FEAT_PRIV_CONN         0x0001
 | 
			
		||||
#define NWCC_FEAT_REQ_AUTH          0x0002
 | 
			
		||||
#define NWCC_FEAT_SECURITY          0x0003
 | 
			
		||||
#define NWCC_FEAT_NDS               0x0004
 | 
			
		||||
#define NWCC_FEAT_NDS_MTREE         0x0005
 | 
			
		||||
#define NWCC_FEAT_PRN_CAPTURE       0x0006
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWCCTranAddr
 | 
			
		||||
{
 | 
			
		||||
   nuint32  type;
 | 
			
		||||
   nuint32  len;
 | 
			
		||||
   pnuint8  buffer;
 | 
			
		||||
} NWCCTranAddr, N_FAR *pNWCCTranAddr;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWCCVersion
 | 
			
		||||
{
 | 
			
		||||
   nuint major;
 | 
			
		||||
   nuint minor;
 | 
			
		||||
   nuint revision;
 | 
			
		||||
}NWCCVersion, N_FAR *pNWCCVersion;
 | 
			
		||||
 | 
			
		||||
/* Info Types */
 | 
			
		||||
#define NWCC_INFO_NONE               0
 | 
			
		||||
#define NWCC_INFO_AUTHENT_STATE      1
 | 
			
		||||
#define NWCC_INFO_BCAST_STATE        2
 | 
			
		||||
#define NWCC_INFO_CONN_REF           3
 | 
			
		||||
#define NWCC_INFO_TREE_NAME          4
 | 
			
		||||
#define NWCC_INFO_CONN_NUMBER        5
 | 
			
		||||
#define NWCC_INFO_USER_ID            6
 | 
			
		||||
#define NWCC_INFO_SERVER_NAME        7
 | 
			
		||||
#define NWCC_INFO_NDS_STATE          8
 | 
			
		||||
#define NWCC_INFO_MAX_PACKET_SIZE    9
 | 
			
		||||
#define NWCC_INFO_LICENSE_STATE     10
 | 
			
		||||
#define NWCC_INFO_DISTANCE          11
 | 
			
		||||
#define NWCC_INFO_SERVER_VERSION    12
 | 
			
		||||
#define NWCC_INFO_TRAN_ADDR         13    /* Version 2 */
 | 
			
		||||
#define NWCC_INFO_IDENTITY_HANDLE   14    /* Version 3 */
 | 
			
		||||
 | 
			
		||||
#define NWCC_INFO_RETURN_ALL        0xFFFF
 | 
			
		||||
 | 
			
		||||
/* Current Info Version */
 | 
			
		||||
#define NWCC_INFO_VERSION_1         0x0001
 | 
			
		||||
#define NWCC_INFO_VERSION_2         0x0002
 | 
			
		||||
#define NWCC_INFO_VERSION_3         0x0003
 | 
			
		||||
 | 
			
		||||
/* Should use above definitions instead of this one */
 | 
			
		||||
#define NWCC_INFO_VERSION           NWCC_INFO_VERSION_1
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWCCConnInfo
 | 
			
		||||
{
 | 
			
		||||
   nuint          authenticationState;
 | 
			
		||||
   nuint          broadcastState;
 | 
			
		||||
   nuint32        connRef;
 | 
			
		||||
   nstr           treeName[NW_MAX_TREE_NAME_LEN];
 | 
			
		||||
   nuint          connNum;
 | 
			
		||||
   nuint32        userID;
 | 
			
		||||
   nstr           serverName[NW_MAX_SERVER_NAME_LEN];
 | 
			
		||||
   nuint          NDSState;
 | 
			
		||||
   nuint          maxPacketSize;
 | 
			
		||||
   nuint          licenseState;
 | 
			
		||||
   nuint          distance;
 | 
			
		||||
   NWCCVersion    serverVersion;
 | 
			
		||||
#ifdef NWCC_INFO_VERSION_2
 | 
			
		||||
   pNWCCTranAddr  tranAddr;
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef NWCC_INFO_VERSION_3
 | 
			
		||||
   nuint32        identityHandle;
 | 
			
		||||
#endif
 | 
			
		||||
}NWCCConnInfo, N_FAR *pNWCCConnInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct tagNWCCFrag
 | 
			
		||||
{
 | 
			
		||||
   nptr        address;
 | 
			
		||||
   nuint       length;
 | 
			
		||||
}NWCCFrag, N_FAR *pNWCCFrag;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCLXInit
 | 
			
		||||
(
 | 
			
		||||
   nptr reserved1, 
 | 
			
		||||
   nptr reserved2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCLXTerm
 | 
			
		||||
(
 | 
			
		||||
   nptr reserved
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWCCGetCLXVersion
 | 
			
		||||
(
 | 
			
		||||
  pnuint8 majorVersion,
 | 
			
		||||
  pnuint8 minorVersion,
 | 
			
		||||
  pnuint8 revisionLevel,
 | 
			
		||||
  pnuint8 betaReleaseLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCOpenConnByName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       startConnHandle,     /* in     */
 | 
			
		||||
   const nstr8 N_FAR * name,                /* in     */
 | 
			
		||||
   nuint               nameFormat,          /* in     */
 | 
			
		||||
   nuint               openState,           /* in     */
 | 
			
		||||
   nuint               tranType,            /* in     * use NWCC_RESERVED */
 | 
			
		||||
   pNWCONN_HANDLE      pConnHandle          /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCOpenConnByAddr
 | 
			
		||||
(
 | 
			
		||||
   const NWCCTranAddr N_FAR * tranAddr,   /* in     */
 | 
			
		||||
   nuint                      openState,  /* in     */
 | 
			
		||||
   nuint                      reserved,   /* in     * use NWCC_RESERVED */
 | 
			
		||||
   pNWCONN_HANDLE             pConnHandle /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCOpenConnByRef
 | 
			
		||||
(
 | 
			
		||||
   nuint32        connRef,             /* in     */
 | 
			
		||||
   nuint          openState,           /* in     */
 | 
			
		||||
   nuint          reserved,            /* in     * use NWCC_RESERVED */
 | 
			
		||||
   pNWCONN_HANDLE pConnHandle          /*    out */          
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCCloseConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle                    /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCSysCloseConnRef
 | 
			
		||||
(
 | 
			
		||||
   nuint32        connRef                       /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCMakeConnPermanent
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle                    /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCLicenseConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle                    /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCUnlicenseConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle                    /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnRef
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,                   /* in     */
 | 
			
		||||
   pnuint32       connRef                       /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetPrefServerName
 | 
			
		||||
(
 | 
			
		||||
   nuint       len,                             /* in     */
 | 
			
		||||
   pnstr       prefServer                       /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCSetPrefServerName
 | 
			
		||||
(
 | 
			
		||||
   const nstr N_FAR * prefServer                /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetPrimConnRef
 | 
			
		||||
(
 | 
			
		||||
   pnuint32    connRef                          /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCSetPrimConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle                    /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCScanConnRefs
 | 
			
		||||
(  
 | 
			
		||||
   pnuint32    scanIterator,                    /* in/out : initialize to 0 */
 | 
			
		||||
   pnuint32    connRef                          /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,                   /* in     */
 | 
			
		||||
   nuint          infoType,                     /* in     */
 | 
			
		||||
   nuint          len,                          /* in     */
 | 
			
		||||
   nptr           buffer                        /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnRefInfo
 | 
			
		||||
(
 | 
			
		||||
   nuint32        connRef,                      /* in     */
 | 
			
		||||
   nuint          infoType,                     /* in     */
 | 
			
		||||
   nuint          len,                          /* in     */
 | 
			
		||||
   nptr           buffer                        /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetAllConnInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,                /* in     */
 | 
			
		||||
   /* connInfoVersion should always be set to NWCC_INFO_VERSION 
 | 
			
		||||
         or NWCC_INFO_VERSION_n */
 | 
			
		||||
   nuint          connInfoVersion,           /* in     */
 | 
			
		||||
   pNWCCConnInfo  connInfoBuffer             /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetAllConnRefInfo
 | 
			
		||||
(
 | 
			
		||||
   nuint32        connRef,                   /* in     */
 | 
			
		||||
   /* connInfoVersion should always be set to NWCC_INFO_VERSION 
 | 
			
		||||
         or NWCC_INFO_VERSION_n */
 | 
			
		||||
   nuint          connInfoVersion,           /* in     */
 | 
			
		||||
   pNWCCConnInfo  connInfoBuffer             /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCScanConnInfo
 | 
			
		||||
(
 | 
			
		||||
   pnuint32           scanIterator,                   /* in    */
 | 
			
		||||
   nuint              scanInfoLevel,                  /* in    */
 | 
			
		||||
   const void N_FAR * scanConnInfo,                   /* in    */
 | 
			
		||||
   nuint              scanFlags,                      /* in    */
 | 
			
		||||
   /* connInfoVersion should always be set to NWCC_INFO_VERSION 
 | 
			
		||||
         or NWCC_INFO_VERSION_n */
 | 
			
		||||
   nuint              connInfoVersion,                /* in  */
 | 
			
		||||
   nuint              returnInfoLevel,                /* in  */
 | 
			
		||||
   nptr               returnConnInfo,                 /*   out */
 | 
			
		||||
   pnuint32           connReference                   /*   out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnAddressLength
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,                /* in     */
 | 
			
		||||
   pnuint32       addrLen                    /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnRefAddressLength
 | 
			
		||||
(
 | 
			
		||||
   nuint32           connRef,                /* in     */
 | 
			
		||||
   pnuint32          addrLen                 /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnAddress
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,                /* in     */
 | 
			
		||||
   nuint32        bufferLen,                 /* in     */
 | 
			
		||||
   pNWCCTranAddr  tranAddr                   /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetConnRefAddress
 | 
			
		||||
(
 | 
			
		||||
   nuint32        connRef,                   /* in     */
 | 
			
		||||
   nuint32        bufferLen,                 /* in     */
 | 
			
		||||
   pNWCCTranAddr  tranAddr                   /*    out */
 | 
			
		||||
); 
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCOpenConnByPref
 | 
			
		||||
(
 | 
			
		||||
   nuint          tranType,            /* in     * NWCC_TRAN_TYPE_IPX */
 | 
			
		||||
   nuint          openState,           /* in     */
 | 
			
		||||
   nuint          reserved,            /* in     * use NWCC_RESERVED  */
 | 
			
		||||
   pNWCONN_HANDLE pConnHandle          /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCQueryFeature
 | 
			
		||||
(
 | 
			
		||||
   nuint          featureCode          /* in     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetNumConns
 | 
			
		||||
(
 | 
			
		||||
   pnuint         maxConns,            /*    out */
 | 
			
		||||
   pnuint         publicConns,         /*    out */
 | 
			
		||||
   pnuint         myPrivateConns       /*    out */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCGetSecurityFlags
 | 
			
		||||
(
 | 
			
		||||
   pnuint32     enabSecurityFlags,
 | 
			
		||||
   pnuint32     prefSecurityFlags,
 | 
			
		||||
   pnuint32     reqSecurityFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCSetSecurityFlags
 | 
			
		||||
(
 | 
			
		||||
   nuint32     prefSecurityFlags,
 | 
			
		||||
   nuint32     reqSecurityFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCRenegotiateSecurityLevel
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           connHandle,
 | 
			
		||||
   nuint32                 securityFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCResetRequester
 | 
			
		||||
(
 | 
			
		||||
   pnuint32       keepConnRef,
 | 
			
		||||
   nuint          connFlags,
 | 
			
		||||
   pnstr          firstLocalAlias
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCRequest
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           connHandle,
 | 
			
		||||
   nuint                   function,
 | 
			
		||||
   nuint                   numReqFrags,
 | 
			
		||||
   const NWCCFrag N_FAR *  reqFrags,
 | 
			
		||||
   nuint                   numReplyFrags,
 | 
			
		||||
   pNWCCFrag               replyFrags,
 | 
			
		||||
   pnuint                  actualReplyLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCFragmentRequest
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           connHandle,
 | 
			
		||||
   nuint                   function,
 | 
			
		||||
   nuint                   verb,
 | 
			
		||||
   nuint                   reserved,
 | 
			
		||||
   nuint                   numReqFrags,
 | 
			
		||||
   const NWCCFrag N_FAR  * reqFrags,
 | 
			
		||||
   nuint                   numReplyFrags,
 | 
			
		||||
   pNWCCFrag               replyFrags,
 | 
			
		||||
   pnuint                  actualReplyLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
   /* The following functions are NLM CLIB specific and not supported in the 
 | 
			
		||||
    * NLM LibC x-plat libraries.  The LibC stddef.h file defines
 | 
			
		||||
    * __NOVELL_LIBC__
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWRCODE )
 | 
			
		||||
NWCCSetCurrentConnection
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif /* NWCLXCON_INC */
 | 
			
		||||
							
								
								
									
										102
									
								
								c_clientlogin/xplatincl/nwconfig.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								c_clientlogin/xplatincl/nwconfig.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,102 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwconfig.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:06:05 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1996 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCONFIG_H )
 | 
			
		||||
#define NWCONFIG_H
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#define T_OPTIONAL    0x80
 | 
			
		||||
 | 
			
		||||
#define T_NUMBER      0x01
 | 
			
		||||
#define T_INDEX       0x02
 | 
			
		||||
#define T_STRING      0x03
 | 
			
		||||
#define T_HEX_STRING  0x04
 | 
			
		||||
#define T_HEX_NUMBER  0x05
 | 
			
		||||
#define T_LONG_NUMBER 0x06
 | 
			
		||||
#define T_LONG_HEX    0x07
 | 
			
		||||
 | 
			
		||||
#define T_SET_1       0x10
 | 
			
		||||
#define T_SET_2       0x11
 | 
			
		||||
#define T_SET_3       0x12
 | 
			
		||||
#define T_SET_4       0x13
 | 
			
		||||
#define T_SET_5       0x14
 | 
			
		||||
#define T_SET_6       0x15
 | 
			
		||||
#define T_SET_7       0x16
 | 
			
		||||
#define T_SET_8       0x17
 | 
			
		||||
#define T_SET_9       0x18
 | 
			
		||||
#define T_SET_10      0x19
 | 
			
		||||
#define T_SET_11      0x1A
 | 
			
		||||
#define T_SET_12      0x1B
 | 
			
		||||
#define T_SET_13      0x1C
 | 
			
		||||
#define T_SET_14      0x1D
 | 
			
		||||
#define T_SET_15      0x1E
 | 
			
		||||
#define T_SET_16      0x1F
 | 
			
		||||
 | 
			
		||||
#define MAX_PARAMETERS        8
 | 
			
		||||
#define MAX_SECTION_NAME_SIZE 32
 | 
			
		||||
#define MAX_VALUE_SIZE        80
 | 
			
		||||
#define MAX_SET_ELEMENTS      20
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  int numberOfElements;
 | 
			
		||||
  int *elementCode;
 | 
			
		||||
  char N_FAR * N_FAR *elementName;
 | 
			
		||||
  int N_FAR *elementValue;
 | 
			
		||||
} SetTableStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  int paramType;
 | 
			
		||||
  long defaultValue;
 | 
			
		||||
} TypeDefaultStruct;
 | 
			
		||||
 | 
			
		||||
typedef union
 | 
			
		||||
{
 | 
			
		||||
  char N_FAR *string;
 | 
			
		||||
  unsigned int number;
 | 
			
		||||
  unsigned long longNumber;
 | 
			
		||||
} PARAMETER_TABLE_TYPE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  int keywordCode;
 | 
			
		||||
  char N_FAR *keyword;
 | 
			
		||||
  void (N_FAR *function)(PARAMETER_TABLE_TYPE N_FAR *);
 | 
			
		||||
  TypeDefaultStruct typeDefault[MAX_PARAMETERS];
 | 
			
		||||
} GrammarTableStruct;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
N_EXTERN_LIBRARY( int )
 | 
			
		||||
NWParseConfig(
 | 
			
		||||
  PCHAR configFile,
 | 
			
		||||
  PCHAR sectionName,
 | 
			
		||||
  UINT  sectionInstance,
 | 
			
		||||
  UINT  grammarTableSize,
 | 
			
		||||
  GrammarTableStruct N_FAR *grammarTable,
 | 
			
		||||
  SetTableStruct N_FAR *setTable);
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										159
									
								
								c_clientlogin/xplatincl/nwconnec.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										159
									
								
								c_clientlogin/xplatincl/nwconnec.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,159 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwconnec.h %
 | 
			
		||||
  %version: 11 %
 | 
			
		||||
  %date_modified: Tue Aug 29 17:32:28 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCONNECT_H )
 | 
			
		||||
#define NWCONNECT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct tNWINET_ADDR
 | 
			
		||||
{
 | 
			
		||||
  nuint8   networkAddr[4];
 | 
			
		||||
  nuint8   netNodeAddr[6];
 | 
			
		||||
  nuint16  socket;
 | 
			
		||||
  nuint16  connType;  /* 3.11 and above only: 0=not in use, 2=NCP over IPX, 4=AFP */
 | 
			
		||||
} NWINET_ADDR;
 | 
			
		||||
 | 
			
		||||
#define CONNECTION_AVAILABLE            0x0001
 | 
			
		||||
#define CONNECTION_PRIVATE              0x0002  /* obsolete */
 | 
			
		||||
#define CONNECTION_LOGGED_IN            0x0004
 | 
			
		||||
#define CONNECTION_LICENSED             0x0004
 | 
			
		||||
#define CONNECTION_BROADCAST_AVAILABLE  0x0008
 | 
			
		||||
#define CONNECTION_ABORTED              0x0010
 | 
			
		||||
#define CONNECTION_REFUSE_GEN_BROADCAST 0x0020
 | 
			
		||||
#define CONNECTION_BROADCASTS_DISABLED  0x0040
 | 
			
		||||
#define CONNECTION_PRIMARY              0x0080
 | 
			
		||||
#define CONNECTION_NDS                  0x0100
 | 
			
		||||
#define CONNECTION_PNW                  0x4000  /* obsolete */
 | 
			
		||||
#define CONNECTION_AUTHENTICATED        0x8000
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* End of new connection model calls. */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLockConnection
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetConnectionInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,
 | 
			
		||||
   nuint16        connNumber,
 | 
			
		||||
   pnstr8         pObjName,
 | 
			
		||||
   pnuint16       pObjType,
 | 
			
		||||
   pnuint32       pObjID,
 | 
			
		||||
   pnuint8        pLoginTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetInternetAddress
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE connHandle,
 | 
			
		||||
   nuint16        connNumber,
 | 
			
		||||
   pnuint8       pInetAddr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetInetAddr
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,
 | 
			
		||||
   nuint16        connNum,
 | 
			
		||||
   NWINET_ADDR N_FAR * pInetAddr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearConnectionNumber
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,
 | 
			
		||||
   nuint16        connNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDefaultConnRef
 | 
			
		||||
(
 | 
			
		||||
   pnuint32 pConnReference
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjectConnectionNumbers
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        connHandle,
 | 
			
		||||
   const nstr8 N_FAR *  pObjName,
 | 
			
		||||
   nuint16              objType,
 | 
			
		||||
   pnuint16             pNumConns,
 | 
			
		||||
   pnuint16             pConnHandleList,
 | 
			
		||||
   nuint16              maxConns
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetConnListFromObject
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,
 | 
			
		||||
   nuint32        objID,
 | 
			
		||||
   nuint32        searchConnNum,
 | 
			
		||||
   pnuint16       pConnListLen,
 | 
			
		||||
   pnuint32       pConnList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifndef NWOS2
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPreferredServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE N_FAR * pConnHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetPreferredServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWResetConnectionConfig
 | 
			
		||||
(
 | 
			
		||||
   nuint32  flags
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_connec.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWCONNECT_H */
 | 
			
		||||
							
								
								
									
										161
									
								
								c_clientlogin/xplatincl/nwdel.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										161
									
								
								c_clientlogin/xplatincl/nwdel.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,161 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdel.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Tue Aug 29 17:50:53 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDEL_H )
 | 
			
		||||
#define NWDEL_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  sequence;
 | 
			
		||||
   nuint32  parent;
 | 
			
		||||
   nuint32  attributes;
 | 
			
		||||
   nuint8   uniqueID;
 | 
			
		||||
   nuint8   flags;
 | 
			
		||||
   nuint8   nameSpace;
 | 
			
		||||
   nuint8   nameLength;
 | 
			
		||||
   nuint8   name [256];
 | 
			
		||||
   nuint32  creationDateAndTime;
 | 
			
		||||
   nuint32  ownerID;
 | 
			
		||||
   nuint32  lastArchiveDateAndTime;
 | 
			
		||||
   nuint32  lastArchiverID;
 | 
			
		||||
   nuint32  updateDateAndTime;
 | 
			
		||||
   nuint32  updatorID;
 | 
			
		||||
   nuint32  fileSize;
 | 
			
		||||
   nuint8   reserved[44];
 | 
			
		||||
   nuint16  inheritedRightsMask;
 | 
			
		||||
   nuint16  lastAccessDate;
 | 
			
		||||
   nuint32  deletedTime;
 | 
			
		||||
   nuint32  deletedDateAndTime;
 | 
			
		||||
   nuint32  deletorID;
 | 
			
		||||
   nuint8   reserved3 [16];
 | 
			
		||||
} NWDELETED_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  sequence;
 | 
			
		||||
   nuint32  parent;
 | 
			
		||||
   nuint32  attributes;
 | 
			
		||||
   nuint8   uniqueID;
 | 
			
		||||
   nuint8   flags;
 | 
			
		||||
   nuint8   nameSpace;
 | 
			
		||||
   nuint16  nameLength;
 | 
			
		||||
   nuint8   name [766];
 | 
			
		||||
   nuint32  creationDateAndTime;
 | 
			
		||||
   nuint32  ownerID;
 | 
			
		||||
   nuint32  lastArchiveDateAndTime;
 | 
			
		||||
   nuint32  lastArchiverID;
 | 
			
		||||
   nuint32  updateDateAndTime;
 | 
			
		||||
   nuint32  updatorID;
 | 
			
		||||
   nuint32  fileSize;
 | 
			
		||||
   nuint8   reserved[44];
 | 
			
		||||
   nuint16  inheritedRightsMask;
 | 
			
		||||
   nuint16  lastAccessDate;
 | 
			
		||||
   nuint32  deletedTime;
 | 
			
		||||
   nuint32  deletedDateAndTime;
 | 
			
		||||
   nuint32  deletorID;
 | 
			
		||||
   nuint8   reserved3 [16];
 | 
			
		||||
} NWDELETED_INFO_EXT;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWPurgeDeletedFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   nuint32             iterHandle,
 | 
			
		||||
   nuint32             volNum,
 | 
			
		||||
   nuint32             dirBase,
 | 
			
		||||
   const nstr8 N_FAR * fileName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRecoverDeletedFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   nuint32        iterHandle,
 | 
			
		||||
   nuint32        volNum,
 | 
			
		||||
   nuint32        dirBase,
 | 
			
		||||
   pnstr8         delFileName,
 | 
			
		||||
   pnstr8         rcvrFileName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRecoverDeletedFileExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   nuint32        iterHandle,
 | 
			
		||||
   nuint32        volNum,
 | 
			
		||||
   nuint32        dirBase,
 | 
			
		||||
   pnstr8         delFileName,
 | 
			
		||||
   pnstr8         rcvrFileName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanForDeletedFiles
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnuint32       iterHandle,
 | 
			
		||||
   pnuint32       volNum,
 | 
			
		||||
   pnuint32       dirBase,
 | 
			
		||||
   NWDELETED_INFO N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanForDeletedFilesExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE              conn,
 | 
			
		||||
   NWDIR_HANDLE               dirHandle,
 | 
			
		||||
   pnuint32                   iterHandle,
 | 
			
		||||
   pnuint32                   volNum,
 | 
			
		||||
   pnuint32                   dirBase,
 | 
			
		||||
   NWDELETED_INFO_EXT N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_del.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif  /* NWDEL_H */
 | 
			
		||||
							
								
								
									
										316
									
								
								c_clientlogin/xplatincl/nwdentry.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										316
									
								
								c_clientlogin/xplatincl/nwdentry.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,316 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdentry.h %
 | 
			
		||||
  %version: 9 %
 | 
			
		||||
  %date_modified: Thu Oct 14 14:44:57 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDENTRY_H )
 | 
			
		||||
#define NWDENTRY_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDIRECT_H ) /* Needed to define TRUSTEE_INFO */
 | 
			
		||||
#include "nwdirect.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nstr8   entryName[16];
 | 
			
		||||
   nuint32 creationDateAndTime;
 | 
			
		||||
   nuint32 ownerID;
 | 
			
		||||
   nuint32 sequenceNumber;
 | 
			
		||||
   TRUSTEE_INFO trusteeList[20];
 | 
			
		||||
} NWET_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nstr8   entryName[16];
 | 
			
		||||
   nuint32 creationDateAndTime;
 | 
			
		||||
   nuint32 ownerID;
 | 
			
		||||
   nuint32 sequenceNumber;
 | 
			
		||||
   TRUSTEE_INFO trusteeList[100];
 | 
			
		||||
} NWET_INFO_EXT;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  updateDateAndTime;
 | 
			
		||||
   nuint32  updatorID;
 | 
			
		||||
   nuint32  fileSize;
 | 
			
		||||
   nuint8   reserved[44];
 | 
			
		||||
   nuint16  inheritedRightsMask;
 | 
			
		||||
   nuint16  lastAccessDate;
 | 
			
		||||
   nuint8   reserved2[28];
 | 
			
		||||
} NWFILE_INFO;
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  lastModifyDateAndTime;
 | 
			
		||||
   nuint32  nextTrusteeEntry;
 | 
			
		||||
   nuint8   reserved[48];
 | 
			
		||||
   nuint32  maximumSpace;
 | 
			
		||||
   nuint16  inheritedRightsMask;
 | 
			
		||||
   nuint8   reserved2[14];
 | 
			
		||||
   nuint32  volObjectID;
 | 
			
		||||
   nuint8   reserved3[8];
 | 
			
		||||
} NWDIR_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  sequence;
 | 
			
		||||
   nuint32  parent;
 | 
			
		||||
   nuint32  attributes;
 | 
			
		||||
   nuint8   uniqueID;
 | 
			
		||||
   nuint8   flags;
 | 
			
		||||
   nuint8   nameSpace;
 | 
			
		||||
   nuint8   nameLength;
 | 
			
		||||
   nuint8   name[12];
 | 
			
		||||
   nuint32  creationDateAndTime;
 | 
			
		||||
   nuint32  ownerID;
 | 
			
		||||
   nuint32  lastArchiveDateAndTime;
 | 
			
		||||
   nuint32  lastArchiverID;
 | 
			
		||||
 | 
			
		||||
   union
 | 
			
		||||
   {
 | 
			
		||||
      NWFILE_INFO file;
 | 
			
		||||
      NWDIR_INFO   dir;
 | 
			
		||||
   }info;
 | 
			
		||||
 | 
			
		||||
} NWENTRY_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 sequence;
 | 
			
		||||
   nuint32 parent;
 | 
			
		||||
   nuint32 attributes;
 | 
			
		||||
   nuint8  uniqueID;
 | 
			
		||||
   nuint8  flags;
 | 
			
		||||
   nuint8  nameSpace;
 | 
			
		||||
   nuint8  nameLength;
 | 
			
		||||
   nuint8  name [12];
 | 
			
		||||
   nuint32 creationDateAndTime;
 | 
			
		||||
   nuint32 ownerID;
 | 
			
		||||
   nuint32 lastArchiveDateAndTime;
 | 
			
		||||
   nuint32 lastArchiverID;
 | 
			
		||||
   nuint32 updateDateAndTime;
 | 
			
		||||
   nuint32 lastUpdatorID;
 | 
			
		||||
   nuint32 dataForkSize;         /* file size */
 | 
			
		||||
   nuint32 dataForkFirstFAT;
 | 
			
		||||
   nuint32 nextTrusteeEntry;
 | 
			
		||||
   nuint8  reserved[36];
 | 
			
		||||
   nuint16 inheritedRightsMask;
 | 
			
		||||
   nuint16 lastAccessDate;
 | 
			
		||||
   nuint32 deletedFileTime;
 | 
			
		||||
   nuint32 deletedDateAndTime;
 | 
			
		||||
   nuint32 deletorID;
 | 
			
		||||
   nuint8  reserved2 [16];
 | 
			
		||||
   nuint32 otherForkSize[2];
 | 
			
		||||
} NW_EXT_FILE_INFO;
 | 
			
		||||
 | 
			
		||||
#define TR_NONE         0x0000
 | 
			
		||||
#define TR_READ         0x0001
 | 
			
		||||
#define TR_WRITE        0x0002
 | 
			
		||||
#define TR_OPEN         0x0004
 | 
			
		||||
#define TR_DIRECTORY    0x0004
 | 
			
		||||
#define TR_CREATE       0x0008
 | 
			
		||||
#define TR_DELETE       0x0010
 | 
			
		||||
#define TR_ERASE        0x0010
 | 
			
		||||
#define TR_OWNERSHIP    0x0020
 | 
			
		||||
#define TR_ACCESS_CTRL  0x0020
 | 
			
		||||
#define TR_FILE_SCAN    0x0040
 | 
			
		||||
#define TR_SEARCH       0x0040
 | 
			
		||||
#define TR_FILE_ACCESS  0x0040
 | 
			
		||||
#define TR_MODIFY       0x0080
 | 
			
		||||
#define TR_ALL          0x01FB
 | 
			
		||||
#define TR_SUPERVISOR   0x0100
 | 
			
		||||
#define TR_NORMAL       0x00FB
 | 
			
		||||
 | 
			
		||||
#ifndef MModifyNameBit
 | 
			
		||||
#define MModifyNameBit           0x0001L
 | 
			
		||||
#define MFileAttributesBit       0x0002L
 | 
			
		||||
#define MCreateDateBit           0x0004L
 | 
			
		||||
#define MCreateTimeBit           0x0008L
 | 
			
		||||
#define MOwnerIDBit              0x0010L
 | 
			
		||||
#define MLastArchivedDateBit     0x0020L
 | 
			
		||||
#define MLastArchivedTimeBit     0x0040L
 | 
			
		||||
#define MLastArchivedIDBit       0x0080L
 | 
			
		||||
#define MLastUpdatedDateBit      0x0100L
 | 
			
		||||
#define MLastUpdatedTimeBit      0x0200L
 | 
			
		||||
#define MLastUpdatedIDBit        0x0400L
 | 
			
		||||
#define MLastAccessedDateBit     0x0800L
 | 
			
		||||
#define MInheritedRightsMaskBit  0x1000L
 | 
			
		||||
#define MMaximumSpaceBit         0x2000L
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteTrustee
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   nuint32             objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteTrusteeExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   nuint32             objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAddTrustee
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             objID,
 | 
			
		||||
   nuint16             rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAddTrusteeExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             objID,
 | 
			
		||||
   nuint16             rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanDirEntryInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   nuint16              attrs,
 | 
			
		||||
   pnuint32             iterHandle,
 | 
			
		||||
   const nuint8 N_FAR * searchPattern,
 | 
			
		||||
   NWENTRY_INFO N_FAR * entryInfo,
 | 
			
		||||
   nuint16              augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWScanForTrustees(a, b, c, d, e, f) \
 | 
			
		||||
        NWIntScanForTrustees(a, b, c, d, e, f, 0)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanForTrustees
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint32            iterHandle,
 | 
			
		||||
   pnuint16            numOfEntries,
 | 
			
		||||
   NWET_INFO   N_FAR * entryTrusteeInfo,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWScanForTrusteesExt(a, b, c, d, e, f) \
 | 
			
		||||
        NWIntScanForTrusteesExt(a, b, c, d, e, f, 0)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanForTrusteesExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   NWDIR_HANDLE          dirHandle,
 | 
			
		||||
   const nstr8 N_FAR *   path,
 | 
			
		||||
   pnuint32              iterHandle,
 | 
			
		||||
   pnuint16              numOfEntries,
 | 
			
		||||
   NWET_INFO_EXT N_FAR * entryTrusteeInfo,
 | 
			
		||||
   nuint16               augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntMoveDirEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              searchAttrs,
 | 
			
		||||
   NWDIR_HANDLE        srcDirHandle,
 | 
			
		||||
   const nstr8 N_FAR * srcPath,
 | 
			
		||||
   NWDIR_HANDLE        dstDirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dstPath,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDirEntryInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE              conn,
 | 
			
		||||
   NWDIR_HANDLE               dirHandle,
 | 
			
		||||
   nuint8                     searchAttrs,
 | 
			
		||||
   nuint32                    iterHandle,
 | 
			
		||||
   nuint32                    changeBits,
 | 
			
		||||
   const NWENTRY_INFO N_FAR * newEntryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanExtendedInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   NWDIR_HANDLE             dirHandle,
 | 
			
		||||
   nuint8                   attrs,
 | 
			
		||||
   pnuint32                 iterHandle,
 | 
			
		||||
   const nstr8      N_FAR * searchPattern,
 | 
			
		||||
   NW_EXT_FILE_INFO N_FAR * entryInfo,
 | 
			
		||||
   nuint16                  augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEffectiveRights
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint16            effectiveRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEffectiveRightsExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint16            effectiveRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dentry.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										354
									
								
								c_clientlogin/xplatincl/nwdirect.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										354
									
								
								c_clientlogin/xplatincl/nwdirect.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,354 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdirect.h %
 | 
			
		||||
  %version: 11 %
 | 
			
		||||
  %date_modified: Fri Apr 22 11:43:53 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDIRECT_H )
 | 
			
		||||
#define NWDIRECT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#include "nwapidef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 totalBlocks;
 | 
			
		||||
   nuint32 availableBlocks;
 | 
			
		||||
 | 
			
		||||
   nuint32 purgeableBlocks;       /* set to zero if a dirHandle is present */
 | 
			
		||||
   nuint32 notYetPurgeableBlocks;/*....when the NWGetDIrSpaceInfo() is called */
 | 
			
		||||
 | 
			
		||||
   nuint32 totalDirEntries;
 | 
			
		||||
   nuint32 availableDirEntries;
 | 
			
		||||
   nuint32 reserved;
 | 
			
		||||
   nuint8  sectorsPerBlock;
 | 
			
		||||
   nuint8  volLen;
 | 
			
		||||
   nuint8  volName[NW_MAX_VOLUME_NAME_LEN];
 | 
			
		||||
} DIR_SPACE_INFO;
 | 
			
		||||
 | 
			
		||||
/* Trustee Access Rights in a network directory */
 | 
			
		||||
/* NOTE: TA_OPEN is obsolete in 3.x */
 | 
			
		||||
#ifndef TA_NONE
 | 
			
		||||
#define TA_NONE       0x00
 | 
			
		||||
#define TA_READ       0x01
 | 
			
		||||
#define TA_WRITE      0x02
 | 
			
		||||
#define TA_OPEN       0x04
 | 
			
		||||
#define TA_CREATE     0x08
 | 
			
		||||
#define TA_DELETE     0x10
 | 
			
		||||
#define TA_OWNERSHIP  0x20
 | 
			
		||||
#define TA_SEARCH     0x40
 | 
			
		||||
#define TA_MODIFY     0x80
 | 
			
		||||
#define TA_ALL        0xFB
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  objectID;
 | 
			
		||||
   nuint16  objectRights;
 | 
			
		||||
} TRUSTEE_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
      nuint8  level;
 | 
			
		||||
      nuint32 max;
 | 
			
		||||
      nuint32 current;
 | 
			
		||||
} NW_LIMIT_LIST_INNER;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint8 numEntries;
 | 
			
		||||
   NW_LIMIT_LIST_INNER list[102];
 | 
			
		||||
} NW_LIMIT_LIST;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAddTrusteeToDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             trusteeID,
 | 
			
		||||
   nuint8              rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteTrusteeFromDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEffectiveDirectoryRights
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint16            rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWModifyMaximumRightsMask
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              revokeRightsMask,
 | 
			
		||||
   nuint8              grantRightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanDirectoryForTrustees
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * searchPath,
 | 
			
		||||
   pnuint16            iterHandle,
 | 
			
		||||
   pnstr8              dirName,
 | 
			
		||||
   pnuint32            dirDateTime,
 | 
			
		||||
   pnuint32            ownerID,
 | 
			
		||||
   pnuint32            trusteeIDs,
 | 
			
		||||
   pnuint8             trusteeRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanDirectoryForTrustees2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * searchPath,
 | 
			
		||||
   pnuint32             iterHandle,
 | 
			
		||||
   pnstr8               dirName,
 | 
			
		||||
   pnuint32             dirDateTime,
 | 
			
		||||
   pnuint32             ownerID,
 | 
			
		||||
   TRUSTEE_INFO N_FAR * trusteeList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWScanDirectoryInformation(a, b, c, d, e, f, g, h) \
 | 
			
		||||
        NWIntScanDirectoryInformation(a, b, c, d, e, f, g, h, 0)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanDirectoryInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * searchPath,
 | 
			
		||||
   pnuint16            iterHandle,
 | 
			
		||||
   pnstr8              dirName,
 | 
			
		||||
   pnuint32            dirDateTime,
 | 
			
		||||
   pnuint32            ownerID,
 | 
			
		||||
   pnuint8             rightsMask,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanDirectoryInformation2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * searchPath,
 | 
			
		||||
   pnuint8             sequence,
 | 
			
		||||
   pnstr8              dirName,
 | 
			
		||||
   pnuint32            dirDateTime,
 | 
			
		||||
   pnuint32            ownerID,
 | 
			
		||||
   pnuint8             rightsMask,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDirectoryInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             dirDateTime,
 | 
			
		||||
   nuint32             ownerID,
 | 
			
		||||
   nuint8              rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAllocPermanentDirectoryHandle
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * dirPath,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * newDirHandle,
 | 
			
		||||
   pnuint8              effectiveRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAllocTemporaryDirectoryHandle
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * dirPath,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * newDirHandle,
 | 
			
		||||
   pnuint8              rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeallocateDirectoryHandle
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDirectoryHandlePath
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        sourceDirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   NWDIR_HANDLE        destDirHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirectoryHandlePath
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnstr8         dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   nuint8              accessMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRenameDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * oldName,
 | 
			
		||||
   const nstr8 N_FAR * newName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDirSpaceLimit
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   nuint32        spaceLimit
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirSpaceLimitList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnuint8        returnBuf
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirSpaceLimitList2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   NW_LIMIT_LIST N_FAR * limitList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirSpaceInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   nuint16        volNum,
 | 
			
		||||
   DIR_SPACE_INFO N_FAR * spaceInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifndef TF_READ_ONLY
 | 
			
		||||
#define TF_NORMAL          0x0000
 | 
			
		||||
#define TF_READ_ONLY       0x0001L
 | 
			
		||||
#define TF_HIDDEN          0x0002L
 | 
			
		||||
#define TF_SYSTEM          0x0004L
 | 
			
		||||
#define TF_EXECUTE_ONLY    0x0008L
 | 
			
		||||
 | 
			
		||||
#define TF_DIRECTORY       0x0010L
 | 
			
		||||
#define TF_NEEDS_ARCHIVED  0x0020L
 | 
			
		||||
#define TF_EXECUTE_CONFIRM 0X0040L
 | 
			
		||||
#define TF_SHAREABLE       0x0080L
 | 
			
		||||
 | 
			
		||||
#define TF_LOW_SEARCH_BIT  0x0100L
 | 
			
		||||
#define TF_MID_SEARCH_BIT  0x0200L
 | 
			
		||||
#define TF_HI_SEARCH_BIT   0x0400L
 | 
			
		||||
#define TF_PRIVATE         0x0800L
 | 
			
		||||
 | 
			
		||||
#define TF_TRANSACTIONAL   0x1000L
 | 
			
		||||
#define TF_INDEXED         0x2000L
 | 
			
		||||
#define TF_READ_AUDIT      0x4000L
 | 
			
		||||
#define TF_WRITE_AUDIT     0x8000L
 | 
			
		||||
 | 
			
		||||
#define TF_PURGE           0x10000L
 | 
			
		||||
#define TF_RENAME_INHIBIT  0x20000L
 | 
			
		||||
#define TF_DELETE_INHIBIT  0x40000L
 | 
			
		||||
#define TF_COPY_INHIBIT    0x80000L
 | 
			
		||||
#define TF_AUDITING_BIT   0x00100000L
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* DIRECTORY ATTRIBUTES */
 | 
			
		||||
 | 
			
		||||
#define TD_HIDDEN          TF_HIDDEN
 | 
			
		||||
#define TD_SYSTEM          TF_SYSTEM
 | 
			
		||||
#define TD_PURGE           TF_PURGE
 | 
			
		||||
#define TD_PRIVATE         TF_PRIVATE
 | 
			
		||||
#define TD_VISIBLE         TF_PRIVATE
 | 
			
		||||
#define TD_RENAME_INHIBIT  TF_RENAME_INHIBIT
 | 
			
		||||
#define TD_DELETE_INHIBIT  TF_DELETE_INHIBIT
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_direct.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										302
									
								
								c_clientlogin/xplatincl/nwdpath.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										302
									
								
								c_clientlogin/xplatincl/nwdpath.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,302 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdpath.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Tue Jun 14 08:39:23 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDPATH_H )
 | 
			
		||||
#define NWDPATH_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* status values for NWGetDriveStatus */
 | 
			
		||||
#define NW_UNMAPPED_DRIVE     0x0000
 | 
			
		||||
#define NW_FREE_DRIVE         0x0000
 | 
			
		||||
#define NW_CDROM_DRIVE        0x0400
 | 
			
		||||
#define NW_LOCAL_FREE_DRIVE   0x0800
 | 
			
		||||
#define NW_LOCAL_DRIVE        0x1000
 | 
			
		||||
#define NW_NETWORK_DRIVE      0x2000
 | 
			
		||||
#define NW_LITE_DRIVE         0x4000
 | 
			
		||||
#define NW_PNW_DRIVE          0x4000
 | 
			
		||||
#define NW_NETWARE_DRIVE      0x8000
 | 
			
		||||
 | 
			
		||||
/* return error for NWGetDriveStatus */
 | 
			
		||||
#define NW_INVALID_DRIVE       15
 | 
			
		||||
 | 
			
		||||
/* defined for pathFormat parameter in NWGetDriveStatus */
 | 
			
		||||
#define NW_FORMAT_NETWARE       0
 | 
			
		||||
#define NW_FORMAT_SERVER_VOLUME 1
 | 
			
		||||
#define NW_FORMAT_DRIVE         2
 | 
			
		||||
#define NW_FORMAT_UNC           3
 | 
			
		||||
 | 
			
		||||
#if !defined(N_PLAT_UNIX)
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDriveBase
 | 
			
		||||
(
 | 
			
		||||
   nuint16             driveNum,
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   nuint16             driveScope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetInitDrive
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetSearchDriveVector
 | 
			
		||||
(
 | 
			
		||||
   pnstr8   vectorBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetSearchDriveVector
 | 
			
		||||
(
 | 
			
		||||
   pnstr8   vectorBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteDriveBase
 | 
			
		||||
(
 | 
			
		||||
   nuint16  driveNum,
 | 
			
		||||
   nuint16  driveScope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDrivePathConnRef
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        mode,
 | 
			
		||||
   pnuint32       connRef,
 | 
			
		||||
   pnstr8         basePath,
 | 
			
		||||
   pnuint16       driveScope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDrivePath
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        mode,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   pnstr8         basePath,
 | 
			
		||||
   pnuint16       driveScope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDriveInformation
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        mode,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * dirHandle,
 | 
			
		||||
   pnuint16       driveScope,
 | 
			
		||||
   pnstr8         dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDriveInfoConnRef
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        mode,
 | 
			
		||||
   pnuint32       connRef,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * dirHandle,
 | 
			
		||||
   pnuint16       driveScope,
 | 
			
		||||
   pnstr8         dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDriveStatus
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        pathFormat,
 | 
			
		||||
   pnuint16       status,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   pnstr8         rootPath,
 | 
			
		||||
   pnstr8         relPath,
 | 
			
		||||
   pnstr8         fullPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDriveStatusConnRef
 | 
			
		||||
(
 | 
			
		||||
   nuint16        driveNum,
 | 
			
		||||
   nuint16        pathFormat,
 | 
			
		||||
   pnuint16       status,
 | 
			
		||||
   pnuint32       connRef,
 | 
			
		||||
   pnstr8         rootPath,
 | 
			
		||||
   pnstr8         relPath,
 | 
			
		||||
   pnstr8         fullPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFirstDrive
 | 
			
		||||
(
 | 
			
		||||
   pnuint16       firstDrive
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDriveStatusConnRef2
 | 
			
		||||
(
 | 
			
		||||
   pnstr     path,
 | 
			
		||||
   nuint16   pathFormat,
 | 
			
		||||
   pnuint16  status,
 | 
			
		||||
   pnuint32  connRef,
 | 
			
		||||
   pnstr8    rootPath,
 | 
			
		||||
   pnstr8    relPath,
 | 
			
		||||
   pnstr8    fullPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDriveBase2
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 *  localPath,
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   const nstr8 *  dirPath,
 | 
			
		||||
   nuint32        flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteDriveBase2
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 *  localPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetMappedDrives
 | 
			
		||||
(
 | 
			
		||||
   nptr           mapBuffer,
 | 
			
		||||
   pnuint32       mapBufferLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWEnumMappedDrives
 | 
			
		||||
(
 | 
			
		||||
   nptr           mapBuffer,
 | 
			
		||||
   pnuint32       mapIndex,
 | 
			
		||||
   pnuint32       connReference,
 | 
			
		||||
   nuint          localPathLen,
 | 
			
		||||
   pnstr8         localPath,
 | 
			
		||||
   nuint          dirPathLen,
 | 
			
		||||
   pnstr8         dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetMountPath
 | 
			
		||||
(
 | 
			
		||||
   pnstr8         pathBuffer,
 | 
			
		||||
   pnuint32       pathPathLen
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPathFromDirectoryBase  /* 3.x & 4.x file servers */
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         volNum,
 | 
			
		||||
   nuint32        dirBase,
 | 
			
		||||
   nuint8         namSpc,
 | 
			
		||||
   pnuint8        len,
 | 
			
		||||
   pnstr8         pathName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPathFromDirectoryEntry  /* 2.x file servers only */
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         volNum,
 | 
			
		||||
   nuint16        dirEntry,
 | 
			
		||||
   pnuint8        len,
 | 
			
		||||
   pnstr8         pathName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParseNetWarePath
 | 
			
		||||
(
 | 
			
		||||
   const nstr8   N_FAR * path,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   NWDIR_HANDLE  N_FAR * dirHandle,
 | 
			
		||||
   pnstr8                newPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParseNetWarePathConnRef
 | 
			
		||||
(
 | 
			
		||||
   const nstr8  N_FAR * path,
 | 
			
		||||
   pnuint32             connRef,
 | 
			
		||||
   NWDIR_HANDLE N_FAR * dirHandle,
 | 
			
		||||
   pnstr8               newPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParsePathConnRef
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnstr8              serverName,
 | 
			
		||||
   pnuint32            connRef,
 | 
			
		||||
   pnstr8              volName,
 | 
			
		||||
   pnstr8              dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParsePath
 | 
			
		||||
(
 | 
			
		||||
   const nstr8   N_FAR * path,
 | 
			
		||||
   pnstr8                serverName,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   pnstr8                volName,
 | 
			
		||||
   pnstr8                dirPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( pnstr8 )
 | 
			
		||||
NWStripServerOffPath
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnstr8              server
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateUNCPath
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnstr8         path,
 | 
			
		||||
   pnstr8         UNCPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										71
									
								
								c_clientlogin/xplatincl/nwdsacl.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								c_clientlogin/xplatincl/nwdsacl.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,71 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsacl.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:06:37 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSACL_H )
 | 
			
		||||
#define NWDSACL_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H ) /* Needed to defined pBuf_T */
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )   /* Needed to defined NWDSContextHandle */
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetEffectiveRights
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            subjectName,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   pnuint32          privileges
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListAttrsEffectiveRights
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            subjectName,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            privilegeInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSACL_H */
 | 
			
		||||
							
								
								
									
										193
									
								
								c_clientlogin/xplatincl/nwdsapi.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										193
									
								
								c_clientlogin/xplatincl/nwdsapi.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,193 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
  Source module name:  
 | 
			
		||||
  Release Version:     
 | 
			
		||||
 | 
			
		||||
  %name: nwdsapi.h %
 | 
			
		||||
  %version: 8 %
 | 
			
		||||
  %date_modified: Mon Jan 26 17:53:18 1998 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1996 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#ifndef   __NWDSAPI_H__
 | 
			
		||||
#define   __NWDSAPI_H__
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 ===============================================================================
 | 
			
		||||
 = WARNING: This header is obsolete and is only for backward compatibility 
 | 
			
		||||
 = with the legacy DSAPI.NLM.  The equivalent functionality is available
 | 
			
		||||
 = in NWNet.h.  The NWNet.h header should be used.
 | 
			
		||||
 ===============================================================================
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
#if ! defined ( _NWFATTR_H_ )
 | 
			
		||||
#include <nwtypes.h>
 | 
			
		||||
#include <nwfattr.h>
 | 
			
		||||
#endif
 | 
			
		||||
#undef   FA_NORMAL
 | 
			
		||||
#undef   FA_HIDDEN
 | 
			
		||||
#undef   FA_SYSTEM
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* nwalias.h defines NWCONN_TYPE, NWSTATUS, NWOBJ_TYPE for us */
 | 
			
		||||
#if ! defined ( NWALIAS_H )
 | 
			
		||||
# include "nwalias.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifndef USE_NW_WILD_MATCH
 | 
			
		||||
#define USE_NW_WILD_MATCH   0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef USE_DOS_WILD_MATCH
 | 
			
		||||
#define USE_DOS_WILD_MATCH  1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Scope specifiers */
 | 
			
		||||
#define GLOBAL       0
 | 
			
		||||
#define PRIVATE      1
 | 
			
		||||
#define MY_SESSION   2
 | 
			
		||||
#define ALL_SESSIONS 3
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* nwdstype defines NWDSCODE for us */
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
# include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWCONN_ID
 | 
			
		||||
# define NWCONN_ID  unsigned int
 | 
			
		||||
#endif
 | 
			
		||||
										 
 | 
			
		||||
#ifndef NWCONN_NUM_BYTE
 | 
			
		||||
# define NWCONN_NUM_BYTE    unsigned char 
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSDEFS_H
 | 
			
		||||
# include <NWDSDefs.h>
 | 
			
		||||
typedef enum EMAIL_ADDRESS_TYPE 
 | 
			
		||||
{
 | 
			
		||||
	SMF70 = 1, SMF71, SMTP, X400, SNADS, PROFS
 | 
			
		||||
} EMAIL_ADDRESS_TYPE;
 | 
			
		||||
 | 
			
		||||
#define DS_TYPES_REQUIRED                       0x0010
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   __NWDSERR_H
 | 
			
		||||
# include <NWDSErr.h>      /* Not present in xplat */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSNAME_H
 | 
			
		||||
# include <NWDSName.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSFILT_H
 | 
			
		||||
# include <NWDSFilt.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSMISC_H
 | 
			
		||||
# include <NWDSMisc.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSACL_H
 | 
			
		||||
# include <NWDSACL.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSAUD_H
 | 
			
		||||
# include <NWDSAud.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSDSA_H
 | 
			
		||||
# include <NWDSDSA.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSSCH_H
 | 
			
		||||
# include <NWDSSch.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSATTR_H
 | 
			
		||||
# include <NWDSAttr.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSASA_H
 | 
			
		||||
# include <NWDSASA.h>
 | 
			
		||||
# define        GENERATE_CERTIFICATION_KP_F                     1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSPART_H
 | 
			
		||||
# include <NWDSPart.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSBUFT_H
 | 
			
		||||
# include <NWDSBufT.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NWDSNMTP_H
 | 
			
		||||
# include <NWDSNMTP.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef   NUNICODE_H
 | 
			
		||||
# include <nunicode.h>
 | 
			
		||||
#define DONT_USE_NOMAP_CHAR     0L   /* for 'noMapFlag' in NWLocalToUnicode() */
 | 
			
		||||
#define USE_NOMAP_CHAR          1L   /* and NWUnicodeToLocal() */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWDSLoginAsServer
 | 
			
		||||
(
 | 
			
		||||
	NWDSContextHandle       context
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*==============================================================================
 | 
			
		||||
** NLM-specific error codes which may be returned from Directory Services calls.
 | 
			
		||||
** For principal Directory Services error codes, see file NWDSErr.h.
 | 
			
		||||
**==============================================================================
 | 
			
		||||
*/
 | 
			
		||||
#define ERR_BAD_SERVICE_CONNECTION  -400
 | 
			
		||||
#define ERR_BAD_NETWORK             -401
 | 
			
		||||
#define ERR_BAD_ADDRESS             -402
 | 
			
		||||
#define ERR_SLOT_ALLOCATION         -403
 | 
			
		||||
#define ERR_BAD_BROADCAST           -404
 | 
			
		||||
#define ERR_BAD_SERVER_NAME         -405
 | 
			
		||||
#define ERR_BAD_USER_NAME           -406
 | 
			
		||||
#define ERR_NO_MEMORY               -408
 | 
			
		||||
 | 
			
		||||
#define ERR_BAD_SOCKET              -410
 | 
			
		||||
#define ERR_TAG_ALLOCATION          -411
 | 
			
		||||
#define ERR_CONNECTION_ABORTED      -412
 | 
			
		||||
#define ERR_TIMEOUT                 -413
 | 
			
		||||
#define ERR_CHECKSUM                -414
 | 
			
		||||
#define ERR_NO_FRAGMENT_LIST        -415
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										181
									
								
								c_clientlogin/xplatincl/nwdsasa.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										181
									
								
								c_clientlogin/xplatincl/nwdsasa.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,181 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsasa.h %
 | 
			
		||||
  %version: 10 %
 | 
			
		||||
  %date_modified: Mon Nov  1 13:40:27 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSASA_H )
 | 
			
		||||
#define NWDSASA_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"     /* for NWDSContextHandle typedef */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#define SESSION_KEY_SIZE   16
 | 
			
		||||
typedef nuint8 NWDS_Session_Key_T[SESSION_KEY_SIZE];  /* Optional session key */
 | 
			
		||||
typedef NWDS_Session_Key_T N_FAR *  pNWDS_Session_Key_T;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAuthenticateConn
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAuthenticateConnEx
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSChangeObjectPassword
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nflag32           pwdOption,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            oldPassword,
 | 
			
		||||
   pnstr8            newPassword
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGenerateObjectKeyPair
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle contextHandle,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            objectPassword,
 | 
			
		||||
   nflag32           pwdOption
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGenerateObjectKeyPair2
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle  context,
 | 
			
		||||
   pnstr8             objectName,
 | 
			
		||||
   nuint32            pseudoID,
 | 
			
		||||
   nuint32            pwdLen,
 | 
			
		||||
   pnstr8             pwdHash,
 | 
			
		||||
   nuint32            optionsFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSLogin
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nflag32           optionsFlag,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            password,
 | 
			
		||||
   nuint32           validityPeriod
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSLogout
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSVerifyObjectPassword
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nflag32           optionsFlag,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            password
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   /* The following APIs support extended and international characters in
 | 
			
		||||
    * passwords - see nwdsdefs.h for a list of supported password 
 | 
			
		||||
    * formats
 | 
			
		||||
   */
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGenerateKeyPairEx
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           pwdFormat,
 | 
			
		||||
   nptr              pwd,
 | 
			
		||||
   nuint32           pwdOption
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSChangePwdEx
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           pwdFormat,
 | 
			
		||||
   nptr              oldPwd,
 | 
			
		||||
   nptr              newPwd,
 | 
			
		||||
   nuint32           pwdOption
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSLoginEx
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           pwdFormat,
 | 
			
		||||
   nptr              pwd
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSVerifyPwdEx
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           pwdFormat,
 | 
			
		||||
   nptr              pwd
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWDSLoginAsServer
 | 
			
		||||
(
 | 
			
		||||
	NWDSContextHandle       context
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dsasa.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										159
									
								
								c_clientlogin/xplatincl/nwdsattr.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										159
									
								
								c_clientlogin/xplatincl/nwdsattr.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,159 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsattr.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:06:53 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSATTR_H )
 | 
			
		||||
#define NWDSATTR_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#define  TIME_BITMAP_LEN               42
 | 
			
		||||
#define  NUM_POSTAL_ADDRESS_ELEMENTS   6
 | 
			
		||||
 | 
			
		||||
typedef  pnstr8   CE_String_T;
 | 
			
		||||
typedef  pnstr8   Class_Name_T;
 | 
			
		||||
typedef  pnstr8   CI_String_T;
 | 
			
		||||
typedef  pnstr8   CN_String_T;
 | 
			
		||||
typedef  pnstr8   DN_T;
 | 
			
		||||
typedef  nint32   Integer_T;
 | 
			
		||||
typedef  nuint8   Boolean_T;
 | 
			
		||||
typedef  pnstr8   NU_String_T;
 | 
			
		||||
typedef  pnstr8   Postal_Address_T[NUM_POSTAL_ADDRESS_ELEMENTS];
 | 
			
		||||
typedef  pnstr8   PR_String_T;
 | 
			
		||||
typedef  pnstr8   Secure_Name_T;
 | 
			
		||||
typedef  pnstr8   TN_String_T;
 | 
			
		||||
typedef  nuint32  Counter_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  remoteID;
 | 
			
		||||
   pnstr8   objectName;
 | 
			
		||||
} Back_Link_T, N_FAR *pBack_Link_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  numOfBits;
 | 
			
		||||
   pnuint8  data;
 | 
			
		||||
} Bit_String_T, N_FAR *pBit_String_T;
 | 
			
		||||
 | 
			
		||||
typedef  struct _ci_list
 | 
			
		||||
{
 | 
			
		||||
   struct _ci_list   N_FAR *next;
 | 
			
		||||
   pnstr8                  s;
 | 
			
		||||
} CI_List_T, N_FAR *pCI_List_T;
 | 
			
		||||
 | 
			
		||||
typedef  struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8         telephoneNumber;
 | 
			
		||||
   Bit_String_T   parameters;
 | 
			
		||||
}Fax_Number_T, N_FAR *pFax_Number_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8   objectName;
 | 
			
		||||
   nuint32  level;
 | 
			
		||||
   nuint32  interval;
 | 
			
		||||
} Typed_Name_T, N_FAR *pTyped_Name_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  addressType;
 | 
			
		||||
   nuint32  addressLength;
 | 
			
		||||
   pnuint8  address;
 | 
			
		||||
} Net_Address_T, N_FAR *pNet_Address_T;
 | 
			
		||||
 | 
			
		||||
typedef  struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8   protectedAttrName;
 | 
			
		||||
   pnstr8   subjectName;
 | 
			
		||||
   nuint32  privileges;
 | 
			
		||||
} Object_ACL_T, N_FAR *pObject_ACL_T;
 | 
			
		||||
 | 
			
		||||
typedef  struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  length;
 | 
			
		||||
   pnuint8  data;
 | 
			
		||||
} Octet_String_T, N_FAR *pOctet_String_T;
 | 
			
		||||
 | 
			
		||||
typedef Octet_String_T  Stream_T;
 | 
			
		||||
typedef pOctet_String_T pStream_T;
 | 
			
		||||
 | 
			
		||||
typedef  struct _octet_list
 | 
			
		||||
{
 | 
			
		||||
   struct _octet_list   N_FAR *next;
 | 
			
		||||
   nuint32                    length;
 | 
			
		||||
   pnuint8                    data;
 | 
			
		||||
} Octet_List_T, N_FAR *pOctet_List_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8   objectName;
 | 
			
		||||
   nuint32  amount;
 | 
			
		||||
} Hold_T, N_FAR *pHold_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8         serverName;
 | 
			
		||||
   nint32         replicaType;
 | 
			
		||||
   nint32         replicaNumber;
 | 
			
		||||
   nuint32        count;
 | 
			
		||||
   Net_Address_T  replicaAddressHint[1];
 | 
			
		||||
} Replica_Pointer_T, N_FAR *pReplica_Pointer_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  type;
 | 
			
		||||
   pnstr8   address;
 | 
			
		||||
} EMail_Address_T, N_FAR *pEMail_Address_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  nameSpaceType;
 | 
			
		||||
   pnstr8   volumeName;
 | 
			
		||||
   pnstr8   path;
 | 
			
		||||
} Path_T, N_FAR *pPath_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 wholeSeconds;
 | 
			
		||||
   nuint32 eventID;
 | 
			
		||||
} NWDS_TimeStamp_T, N_FAR *pNWDS_TimeStamp_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  wholeSeconds;
 | 
			
		||||
   nuint16  replicaNum;
 | 
			
		||||
   nuint16  eventID;
 | 
			
		||||
} TimeStamp_T, N_FAR *pTimeStamp_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   pnstr8   attrName;
 | 
			
		||||
   nuint32  syntaxID;
 | 
			
		||||
   nuint32  valueLen;
 | 
			
		||||
   nptr     value;
 | 
			
		||||
} Unknown_Attr_T, N_FAR *pUnknown_Attr_T;
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSATTR_H */
 | 
			
		||||
							
								
								
									
										51
									
								
								c_clientlogin/xplatincl/nwdsaud.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								c_clientlogin/xplatincl/nwdsaud.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,51 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsaud.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:06:58 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSAUD_H )
 | 
			
		||||
#define NWDSAUD_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dsaud.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSAUD_H */
 | 
			
		||||
							
								
								
									
										385
									
								
								c_clientlogin/xplatincl/nwdsbuft.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										385
									
								
								c_clientlogin/xplatincl/nwdsbuft.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,385 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name :          %
 | 
			
		||||
  %version :       %
 | 
			
		||||
  %date_modified : %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1998 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#define NWDSBUFT_H
 | 
			
		||||
 | 
			
		||||
#include <time.h>
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDEFS_H )
 | 
			
		||||
#include "nwdsdefs.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSATTR_H )
 | 
			
		||||
#include "nwdsattr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#define  INPUT_BUFFER   0x00000001
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  operation;
 | 
			
		||||
   nuint32  flags;
 | 
			
		||||
   nuint32  maxLen;
 | 
			
		||||
   nuint32  curLen;
 | 
			
		||||
   pnuint8  lastCount;
 | 
			
		||||
   pnuint8  curPos;
 | 
			
		||||
   pnuint8  data;
 | 
			
		||||
} Buf_T, N_FAR *pBuf_T, N_FAR * N_FAR *ppBuf_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  objectFlags;
 | 
			
		||||
   nuint32  subordinateCount;
 | 
			
		||||
   time_t   modificationTime;
 | 
			
		||||
   char     baseClass[MAX_SCHEMA_NAME_BYTES + 2];
 | 
			
		||||
} Object_Info_T, N_FAR *pObject_Info_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  length;
 | 
			
		||||
   nuint8   data[MAX_ASN1_NAME];
 | 
			
		||||
} Asn1ID_T, N_FAR *pAsn1ID_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  attrFlags;
 | 
			
		||||
   nint32  attrSyntaxID;
 | 
			
		||||
   nint32  attrLower;
 | 
			
		||||
   nint32  attrUpper;
 | 
			
		||||
   Asn1ID_T asn1ID;
 | 
			
		||||
} Attr_Info_T, N_FAR *pAttr_Info_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  classFlags;
 | 
			
		||||
   Asn1ID_T asn1ID;
 | 
			
		||||
} Class_Info_T, N_FAR *pClass_Info_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  ID;
 | 
			
		||||
   char     defStr[MAX_SCHEMA_NAME_BYTES + 2];
 | 
			
		||||
   nflag16  flags;
 | 
			
		||||
} Syntax_Info_T, N_FAR *pSyntax_Info_T;
 | 
			
		||||
 | 
			
		||||
#define NWDSPutClassName(c, b, n) NWDSPutClassItem(c, b, n)
 | 
			
		||||
#define NWDSPutSyntaxName(c, b, n) NWDSPutClassItem(c, b, n)
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAllocBuf
 | 
			
		||||
(
 | 
			
		||||
   size_t   size,
 | 
			
		||||
   ppBuf_T  buf
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSComputeAttrValSize
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   pnuint32          attrValSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSFreeBuf
 | 
			
		||||
(
 | 
			
		||||
   pBuf_T   buf
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrCount
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          attrCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   pAttr_Info_T      attrInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   pnuint32          attrValCount,
 | 
			
		||||
   pnuint32          syntaxID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrVal
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   nptr              attrVal
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrValModTime
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pTimeStamp_T      timeStamp
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetAttrValFlags
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          valueFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetClassDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pClass_Info_T     classInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetClassDefCount
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          classDefCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetClassItem
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            itemName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetClassItemCount
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          itemCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetObjectCount
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          objectCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetObjectName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnuint32          attrCount,
 | 
			
		||||
   pObject_Info_T    objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetObjectNameAndInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle    context,
 | 
			
		||||
   pBuf_T               buf,
 | 
			
		||||
   pnstr8               objectName,
 | 
			
		||||
   pnuint32             attrCount,
 | 
			
		||||
   ppnstr8              objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetDSIInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nptr              buf,
 | 
			
		||||
   nuint32           bufLen,
 | 
			
		||||
   nuint32           infoFlag,
 | 
			
		||||
   nptr              data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetPartitionInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            partitionName,
 | 
			
		||||
   pnuint32          replicaType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetReplicaReferenceRootID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          replicaRootID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetServerName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pnuint32          partitionCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetPartitionExtInfoPtr
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   ppnstr8            infoPtr,
 | 
			
		||||
   ppnstr8            infoPtrEnd
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetPartitionExtInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            infoPtr,
 | 
			
		||||
   pnstr8            limit,
 | 
			
		||||
   nflag32           infoFlag,
 | 
			
		||||
   pnuint32          length,
 | 
			
		||||
   nptr              data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetSyntaxCount
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnuint32          syntaxCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetSyntaxDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            syntaxName,
 | 
			
		||||
   pSyntax_Info_T    syntaxDef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSInitBuf
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           operation,
 | 
			
		||||
   pBuf_T            buf
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutAttrName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            attrName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutAttrVal
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   nptr              attrVal
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutAttrNameAndVal
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   nptr              attrVal
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutChange
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   nuint32           changeType,
 | 
			
		||||
   pnstr8            attrName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutChangeAndVal
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   nuint32           changeType,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   nptr              attrVal
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutClassItem
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnstr8            itemName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSBeginClassItem
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            buf
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSBUFT_H */
 | 
			
		||||
							
								
								
									
										121
									
								
								c_clientlogin/xplatincl/nwdsconn.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										121
									
								
								c_clientlogin/xplatincl/nwdsconn.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,121 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsconn.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:07:08 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSCONN_H )
 | 
			
		||||
#define NWDSCONN_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSOpenConnToNDSServer
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pNWCONN_HANDLE    connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetDefNameContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint             nameContextLen,
 | 
			
		||||
   pnstr8            nameContext
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSetDefNameContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint             nameContextLen,
 | 
			
		||||
   pnstr8            nameContext
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetMonitoredConnRef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnuint32          connRef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSOpenMonitoredConn
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pNWCONN_HANDLE    connHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSScanConnsForTrees
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint             numOfPtrs,
 | 
			
		||||
   pnuint            numOfTrees,
 | 
			
		||||
   ppnstr8           treeBufPtrs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSScanForAvailableTrees
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnstr             scanFilter,
 | 
			
		||||
   pnint32           scanIndex,
 | 
			
		||||
   pnstr             treeName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReturnBlockOfAvailableTrees
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnstr             scanFilter,
 | 
			
		||||
   pnstr             lastBlocksString,
 | 
			
		||||
   pnstr             endBoundString,
 | 
			
		||||
   nuint32           maxTreeNames,           
 | 
			
		||||
   ppnstr            arrayOfNames,
 | 
			
		||||
   pnuint32          numberOfTrees,
 | 
			
		||||
   pnuint32          totalUniqueTrees
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCanDSAuthenticate
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
#endif /* NWDSCONN_H */
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										176
									
								
								c_clientlogin/xplatincl/nwdsdc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										176
									
								
								c_clientlogin/xplatincl/nwdsdc.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,176 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name:          nwdsdc.h %
 | 
			
		||||
  %version:       17 %
 | 
			
		||||
  %date_modified: Tue Aug 29 18:16:45 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1997 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#define NWDSDC_H
 | 
			
		||||
 | 
			
		||||
#if ! defined( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
/* Directory Context Key names */
 | 
			
		||||
 | 
			
		||||
#define  DCK_FLAGS               1
 | 
			
		||||
#define  DCK_CONFIDENCE          2
 | 
			
		||||
#define  DCK_NAME_CONTEXT        3
 | 
			
		||||
#define  DCK_TRANSPORT_TYPE      4
 | 
			
		||||
#define  DCK_REFERRAL_SCOPE      5
 | 
			
		||||
#define  DCK_LAST_CONNECTION     8
 | 
			
		||||
#define  DCK_LAST_SERVER_ADDRESS 9  /* CLIB NLM only */
 | 
			
		||||
#define  DCK_LAST_ADDRESS_USED   10 /* CLIB NLM only */
 | 
			
		||||
#define  DCK_TREE_NAME           11
 | 
			
		||||
#define  DCK_DSI_FLAGS           12
 | 
			
		||||
#define  DCK_NAME_FORM           13
 | 
			
		||||
#define  DCK_NAME_CACHE_DEPTH    15
 | 
			
		||||
#define  DCK_AUTHENTICATION_MODE 20
 | 
			
		||||
 | 
			
		||||
/* DCK_FLAGS bit values key */
 | 
			
		||||
 | 
			
		||||
#define  DCV_DEREF_ALIASES              0x00000001L
 | 
			
		||||
#define  DCV_XLATE_STRINGS              0x00000002L
 | 
			
		||||
#define  DCV_TYPELESS_NAMES             0x00000004L
 | 
			
		||||
#define  DCV_ASYNC_MODE                 0x00000008L
 | 
			
		||||
#define  DCV_CANONICALIZE_NAMES         0x00000010L
 | 
			
		||||
#define  DCV_DEREF_BASE_CLASS           0x00000040L
 | 
			
		||||
#define  DCV_DISALLOW_REFERRALS         0x00000080L
 | 
			
		||||
#define  DCV_ALWAYS_EVALUATE_REFERRALS  0x00000100L
 | 
			
		||||
#define  DCV_EXTERNAL_REFERENCES        0x00000200L
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* values for DCK_CONFIDENCE key */
 | 
			
		||||
#define  DCV_LOW_CONF         0
 | 
			
		||||
#define  DCV_MED_CONF         1
 | 
			
		||||
#define  DCV_HIGH_CONF        2
 | 
			
		||||
 | 
			
		||||
#define  MAX_MESSAGE_LEN            (0xFC00)  /* (63*1024) */
 | 
			
		||||
#define  DEFAULT_MESSAGE_LEN        (4*1024)
 | 
			
		||||
 | 
			
		||||
/* values for DCK_REFERRAL_SCOPE key */
 | 
			
		||||
#define  DCV_ANY_SCOPE              0
 | 
			
		||||
#define  DCV_COUNTRY_SCOPE          1
 | 
			
		||||
#define  DCV_ORGANIZATION_SCOPE     2
 | 
			
		||||
#define  DCV_LOCAL_SCOPE            3
 | 
			
		||||
 | 
			
		||||
/* values for DCK_DSI_FLAGS key */
 | 
			
		||||
#define DSI_OUTPUT_FIELDS               0x00000001L
 | 
			
		||||
#define DSI_ENTRY_ID                    0x00000002L
 | 
			
		||||
#define DSI_ENTRY_FLAGS                 0x00000004L
 | 
			
		||||
#define DSI_SUBORDINATE_COUNT           0x00000008L
 | 
			
		||||
#define DSI_MODIFICATION_TIME           0x00000010L
 | 
			
		||||
#define DSI_MODIFICATION_TIMESTAMP      0x00000020L
 | 
			
		||||
#define DSI_CREATION_TIMESTAMP          0x00000040L
 | 
			
		||||
#define DSI_PARTITION_ROOT_ID           0x00000080L
 | 
			
		||||
#define DSI_PARENT_ID                   0x00000100L
 | 
			
		||||
#define DSI_REVISION_COUNT              0x00000200L
 | 
			
		||||
#define DSI_REPLICA_TYPE                0x00000400L
 | 
			
		||||
#define DSI_BASE_CLASS                  0x00000800L
 | 
			
		||||
#define DSI_ENTRY_RDN                   0x00001000L
 | 
			
		||||
#define DSI_ENTRY_DN                    0x00002000L
 | 
			
		||||
#define DSI_PARTITION_ROOT_DN           0x00004000L
 | 
			
		||||
#define DSI_PARENT_DN                   0x00008000L
 | 
			
		||||
#define DSI_PURGE_TIME                  0x00010000L
 | 
			
		||||
#define DSI_DEREFERENCE_BASE_CLASS      0x00020000L
 | 
			
		||||
#define DSI_REPLICA_NUMBER              0x00040000L
 | 
			
		||||
#define DSI_REPLICA_STATE               0x00080000L
 | 
			
		||||
#define DSI_FEDERATION_BOUNDARY         0x00100000L
 | 
			
		||||
#define DSI_SCHEMA_BOUNDARY             0x00200000L
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* values for DCK_NAME_FORM key */
 | 
			
		||||
#define DCV_NF_PARTIAL_DOT             1
 | 
			
		||||
#define DCV_NF_FULL_DOT                2
 | 
			
		||||
#define DCV_NF_SLASH                   3
 | 
			
		||||
 | 
			
		||||
/* values for DCK_AUTHENTICATION_MODE key */
 | 
			
		||||
#define DCV_PUBLIC_AUTHEN              1
 | 
			
		||||
#define DCV_PRIVATE_AUTHEN             2
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
typedef  nuint32   NWDSContextHandle;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if defined(N_PLAT_NLM)
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   addressType;
 | 
			
		||||
   nuint32   addressLength;
 | 
			
		||||
   nuint8    address[12];
 | 
			
		||||
} NWDSIPXNetworkAddr;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSFreeContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nint              key,
 | 
			
		||||
   nptr              value
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSetContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nint              key,
 | 
			
		||||
   nptr              value
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCreateContextHandle
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle N_FAR *newHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSDuplicateContextHandle
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle       srcContextHandle,
 | 
			
		||||
   NWDSContextHandle N_FAR *destContextHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dsdc.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
 | 
			
		||||
#endif   /* NWDSDC_H */
 | 
			
		||||
							
								
								
									
										486
									
								
								c_clientlogin/xplatincl/nwdsdefs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										486
									
								
								c_clientlogin/xplatincl/nwdsdefs.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,486 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsdefs.h %
 | 
			
		||||
  %version: 38 %
 | 
			
		||||
  %date_modified: Tue Mar 29 17:51:54 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSDEFS_H )
 | 
			
		||||
#define NWDSDEFS_H
 | 
			
		||||
 | 
			
		||||
/* * Directory Services NCP verb and subverbs * */
 | 
			
		||||
#define DS_NCP_VERB                104
 | 
			
		||||
 | 
			
		||||
/* subverbs */
 | 
			
		||||
#define DS_NCP_PING                  1
 | 
			
		||||
#define DS_NCP_FRAGMENT              2
 | 
			
		||||
#define DS_NCP_FRAGMENT_CLOSE        3
 | 
			
		||||
#define DS_NCP_BINDERY_CONTEXT       4
 | 
			
		||||
#define DS_NCP_MONITOR_CONNECTION    5
 | 
			
		||||
#define DS_NCP_GET_DS_STATISTICS     6
 | 
			
		||||
#define DS_NCP_RESET_DS_COUNTERS     7
 | 
			
		||||
#define DS_NCP_RELOAD                8
 | 
			
		||||
#define DS_NCP_AUDITING            200  /* 200 - 255 reserved for auditing */
 | 
			
		||||
 | 
			
		||||
/* Directory Services PING information FLAGS */
 | 
			
		||||
/* ping input flags, these flag are order dependent and alignment dependent */
 | 
			
		||||
#define DSPING_SUPPORTED_FIELDS        0x00000001L
 | 
			
		||||
#define DSPING_DEPTH                   0x00000002L
 | 
			
		||||
#define DSPING_BUILD_NUMBER            0x00000004L
 | 
			
		||||
#define DSPING_FLAGS                   0x00000008L
 | 
			
		||||
#define DSPING_VERIFICATION_FLAGS      0x00000010L
 | 
			
		||||
#define DSPING_LETTER_VERSION          0x00000020L
 | 
			
		||||
#define DSPING_OS_VERSION              0x00000040L
 | 
			
		||||
#define DSPING_TIMESYNC_STATE          0x00000080L
 | 
			
		||||
#define DSPING_LICENSE_FLAGS           0x00000100L
 | 
			
		||||
#define DSPING_DS_TIME                 0x00000200L
 | 
			
		||||
#define DSPING_SERVER_TIME					0x00000400L
 | 
			
		||||
#define DSPING_MODULE_CREATETIME			0x00000800L
 | 
			
		||||
 | 
			
		||||
/* String and values that depend on alignment. */
 | 
			
		||||
#define DSPING_SAP_NAME                0x00010000L
 | 
			
		||||
#define DSPING_TREE_NAME               0x00020000L
 | 
			
		||||
#define DSPING_OS_NAME                 0x00040000L
 | 
			
		||||
#define DSPING_HARDWARE_NAME           0x00080000L
 | 
			
		||||
#define DSPING_VENDOR_NAME             0x00100000L
 | 
			
		||||
 | 
			
		||||
/* ping output flags */
 | 
			
		||||
#define DSPONG_ROOT_MOST_MASTER        0x0001
 | 
			
		||||
#define DSPONG_TIME_SYNCHRONIZED       0x0002
 | 
			
		||||
 | 
			
		||||
/* ping verification flags */
 | 
			
		||||
#define DSPING_VERIFICATION_CHECKSUM   0x00000001L
 | 
			
		||||
#define DSPING_VERIFICATION_CRC32      0x00000002L
 | 
			
		||||
 | 
			
		||||
/* ping license flags */
 | 
			
		||||
#define DSPING_LICENSE_SCALE           0x00000001L
 | 
			
		||||
 | 
			
		||||
/* * Directory Services Large Packet Verb Numbers *  */
 | 
			
		||||
#define DSV_UNUSED_0                  0       /* 0x00 */
 | 
			
		||||
#define DSV_RESOLVE_NAME              1       /* 0x01 */
 | 
			
		||||
#define DSV_READ_ENTRY_INFO           2       /* 0x02 */
 | 
			
		||||
#define DSV_READ                      3       /* 0x03 */
 | 
			
		||||
#define DSV_COMPARE                   4       /* 0x04 */
 | 
			
		||||
#define DSV_LIST                      5       /* 0x05 */
 | 
			
		||||
#define DSV_SEARCH                    6       /* 0x06 */
 | 
			
		||||
#define DSV_ADD_ENTRY                 7       /* 0x07 */
 | 
			
		||||
#define DSV_REMOVE_ENTRY              8       /* 0x08 */
 | 
			
		||||
#define DSV_MODIFY_ENTRY              9       /* 0x09 */
 | 
			
		||||
#define DSV_MODIFY_RDN                10      /* 0x0A */
 | 
			
		||||
#define DSV_DEFINE_ATTR               11      /* 0x0B */
 | 
			
		||||
#define DSV_READ_ATTR_DEF             12      /* 0x0C */
 | 
			
		||||
#define DSV_REMOVE_ATTR_DEF           13      /* 0x0D */
 | 
			
		||||
#define DSV_DEFINE_CLASS              14      /* 0x0E */
 | 
			
		||||
#define DSV_READ_CLASS_DEF            15      /* 0x0F */
 | 
			
		||||
#define DSV_MODIFY_CLASS_DEF          16      /* 0x10 */
 | 
			
		||||
#define DSV_REMOVE_CLASS_DEF          17      /* 0x11 */
 | 
			
		||||
#define DSV_LIST_CONTAINABLE_CLASSES  18      /* 0x12 */
 | 
			
		||||
#define DSV_GET_EFFECTIVE_RIGHTS      19      /* 0x13 */
 | 
			
		||||
#define DSV_ADD_PARTITION             20      /* 0x14 */
 | 
			
		||||
#define DSV_REMOVE_PARTITION          21      /* 0x15 */
 | 
			
		||||
#define DSV_LIST_PARTITIONS           22      /* 0x16 */
 | 
			
		||||
#define DSV_SPLIT_PARTITION           23      /* 0x17 */
 | 
			
		||||
#define DSV_JOIN_PARTITIONS           24      /* 0x18 */
 | 
			
		||||
#define DSV_ADD_REPLICA               25      /* 0x19 */
 | 
			
		||||
#define DSV_REMOVE_REPLICA            26      /* 0x1A */
 | 
			
		||||
#define DSV_OPEN_STREAM               27      /* 0x1B */
 | 
			
		||||
#define DSV_SEARCH_FILTER             28      /* 0x1C */
 | 
			
		||||
/* NDS Internal                       29 */   /* 0x1D */
 | 
			
		||||
/* NDS Internal                       30 */   /* 0x1E */
 | 
			
		||||
#define DSV_CHANGE_REPLICA_TYPE       31      /* 0x1F */
 | 
			
		||||
/* NDS Internal                       32 */   /* 0x20 */
 | 
			
		||||
/* NDS Internal                       33 */   /* 0x21 */
 | 
			
		||||
/* NDS Internal                       34 */   /* 0x22 */
 | 
			
		||||
/* NDS Internal                       35 */   /* 0x23 */
 | 
			
		||||
/* NDS Internal                       36 */   /* 0x24 */
 | 
			
		||||
#define DSV_UPDATE_REPLICA            37      /* 0x25 */
 | 
			
		||||
#define DSV_SYNC_PARTITION            38      /* 0x26 */
 | 
			
		||||
#define DSV_SYNC_SCHEMA               39      /* 0x27 */
 | 
			
		||||
#define DSV_READ_SYNTAXES             40      /* 0x28 */
 | 
			
		||||
#define DSV_GET_REPLICA_ROOT_ID       41      /* 0x29 */
 | 
			
		||||
#define DSV_BEGIN_MOVE_ENTRY          42      /* 0x2A */
 | 
			
		||||
#define DSV_FINISH_MOVE_ENTRY         43      /* 0x2B */
 | 
			
		||||
#define DSV_RELEASE_MOVED_ENTRY       44      /* 0x2C */
 | 
			
		||||
#define DSV_BACKUP_ENTRY              45      /* 0x2D */
 | 
			
		||||
#define DSV_RESTORE_ENTRY             46      /* 0x2E */
 | 
			
		||||
/* NDS Internal                       47 */   /* 0x2F */
 | 
			
		||||
/* NDS Internal                       48 */   /* 0x30 */
 | 
			
		||||
/* NDS Internal                       49 */   /* 0x31 */
 | 
			
		||||
#define DSV_CLOSE_ITERATION           50      /* 0x32 */
 | 
			
		||||
#define DSV_MUTATE_ENTRY              51      /* 0x33 */
 | 
			
		||||
/* NDS Internal                       52 */   /* 0x34 */
 | 
			
		||||
#define DSV_GET_SERVER_ADDRESS        53      /* 0x35 */
 | 
			
		||||
#define DSV_SET_KEYS                  54      /* 0x36 */
 | 
			
		||||
#define DSV_CHANGE_PASSWORD           55      /* 0x37 */
 | 
			
		||||
#define DSV_VERIFY_PASSWORD           56      /* 0x38 */
 | 
			
		||||
#define DSV_BEGIN_LOGIN               57      /* 0x39 */
 | 
			
		||||
#define DSV_FINISH_LOGIN              58      /* 0x3A */
 | 
			
		||||
#define DSV_BEGIN_AUTHENTICATION      59      /* 0x3B */
 | 
			
		||||
#define DSV_FINISH_AUTHENTICATION     60      /* 0x3C */
 | 
			
		||||
#define DSV_LOGOUT                    61      /* 0x3D */
 | 
			
		||||
#define DSV_REPAIR_RING               62      /* 0x3E */
 | 
			
		||||
#define DSV_REPAIR_TIMESTAMPS         63      /* 0x3F */
 | 
			
		||||
/* NDS Internal                       64 */   /* 0x40 */
 | 
			
		||||
/* NDS Internal                       65 */   /* 0x41 */
 | 
			
		||||
/* NDS Internal                       66 */   /* 0x42 */
 | 
			
		||||
/* NDS Internal                       67 */   /* 0x43 */
 | 
			
		||||
/* NDS Internal                       68 */   /* 0x44 */
 | 
			
		||||
#define DSV_DESIGNATE_NEW_MASTER      69      /* 0x45 */
 | 
			
		||||
/* NDS Internal                       70 */   /* 0x46 */
 | 
			
		||||
/* NDS Internal                       71 */   /* 0x47 */
 | 
			
		||||
#define DSV_CHECK_LOGIN_RESTRICTIONS  72      /* 0x48 */
 | 
			
		||||
/* NDS Internal                       73 */   /* 0x49 */
 | 
			
		||||
/* NDS Internal                       74 */   /* 0x4A */
 | 
			
		||||
/* NDS Internal                       75 */   /* 0x4B */
 | 
			
		||||
#define DSV_ABORT_PARTITION_OPERATION 76      /* 0x4C */
 | 
			
		||||
/* NDS Internal                       77 */   /* 0x4D */
 | 
			
		||||
/* NDS Internal                       78 */   /* 0x4E */
 | 
			
		||||
#define DSV_READ_REFERENCES           79      /* 0x4F */
 | 
			
		||||
#define DSV_INSPECT_ENTRY             80      /* 0x50 */
 | 
			
		||||
#define DSV_GET_REMOTE_ENTRY_ID       81      /* 0x51 */ 
 | 
			
		||||
#define DSV_CHANGE_SECURITY           82      /* 0x52 */ 
 | 
			
		||||
#define DSV_CHECK_CONSOLE_OPERATOR    83      /* 0x53 */ 
 | 
			
		||||
/* NDS Internal                       84 */   /* 0x54 */
 | 
			
		||||
#define DSV_MOVE_TREE                 85      /* 0x55 */ 
 | 
			
		||||
/* NDS Internal                       86 */   /* 0x56 */
 | 
			
		||||
/* NDS Internal                       87 */   /* 0x57 */
 | 
			
		||||
#define DSV_CHECK_SEV                 88      /* 0x58 */ 
 | 
			
		||||
/* NDS Internal                       89 */   /* 0x59 */ 
 | 
			
		||||
/* NDS Internal                       90 */   /* 0x5a */ 
 | 
			
		||||
#define DSV_RESEND_ENTRY              91      /* 0x5b */ 
 | 
			
		||||
/* NDS Internal                       92 */   /* 0x5c */
 | 
			
		||||
#define DSV_STATISTICS                93      /* 0x5d */ 
 | 
			
		||||
#define DSV_PING                      94      /* 0x5e */ 
 | 
			
		||||
#define DSV_GET_BINDERY_CONTEXTS      95      /* 0x5f */ 
 | 
			
		||||
#define DSV_MONITOR_CONNECTION        96      /* 0x60 */ 
 | 
			
		||||
#define DSV_GET_DS_STATISTICS         97      /* 0x61 */ 
 | 
			
		||||
#define DSV_RESET_DS_COUNTERS         98      /* 0x62 */ 
 | 
			
		||||
#define DSV_CONSOLE                   99      /* 0x63 */ 
 | 
			
		||||
#define DSV_READ_STREAM               100     /* 0x64 */ 
 | 
			
		||||
#define DSV_WRITE_STREAM              101     /* 0x65 */ 
 | 
			
		||||
#define DSV_CREATE_ORPHAN_PARTITION   102     /* 0x66 */ 
 | 
			
		||||
#define DSV_REMOVE_ORPHAN_PARTITION   103     /* 0x67 */ 
 | 
			
		||||
/* NDS Internal                       104 */  /* 0x68 */
 | 
			
		||||
/* NDS Internal                       105 */  /* 0x69 */
 | 
			
		||||
#define DSV_GUID_CREATE               106     /* 0x6A */
 | 
			
		||||
#define DSV_GUID_INFO                 107     /* 0x6B */ 
 | 
			
		||||
/* NDS Internal                       108 */  /* 0x6C */
 | 
			
		||||
/* NDS Internal                       109 */  /* 0x6D */
 | 
			
		||||
#define DSV_ITERATOR                  110     /* 0x6E */ 
 | 
			
		||||
/* unused                             111 */  /* 0x6F */
 | 
			
		||||
#define DSV_CLOSE_STREAM              112     /* 0x70 */ 
 | 
			
		||||
/* unused                             113 */  /* 0x61 */
 | 
			
		||||
#define DSV_READ_STATUS               114     /* 0x72 */ 
 | 
			
		||||
#define DSV_PARTITION_SYNC_STATUS     115     /* 0x73 */ 
 | 
			
		||||
#define DSV_READ_REF_DATA             116     /* 0x74 */ 
 | 
			
		||||
#define DSV_WRITE_REF_DATA            117     /* 0x75 */ 
 | 
			
		||||
#define DSV_RESOURCE_EVENT            118     /* 0x76 */ 
 | 
			
		||||
/* NDS Internal                       119 */  /* 0x77 */
 | 
			
		||||
/* NDS Internal                       120 */  /* 0x78 */
 | 
			
		||||
/* NDS Internal                       121 */  /* 0x79 */
 | 
			
		||||
#define DSV_CHANGE_ATTR_DEF           122     /* 0x7A */
 | 
			
		||||
#define DSV_SCHEMA_IN_USE             123     /* 0x7B */
 | 
			
		||||
 | 
			
		||||
                                             
 | 
			
		||||
/* maximum number of characters in names, not including terminator */
 | 
			
		||||
#define MAX_RDN_CHARS           128
 | 
			
		||||
#define MAX_DN_CHARS            256
 | 
			
		||||
#define MAX_SCHEMA_NAME_CHARS    32
 | 
			
		||||
#define MAX_TREE_NAME_CHARS      32
 | 
			
		||||
#define MAX_SAP_NAME_CHARS       47
 | 
			
		||||
 | 
			
		||||
/* maximum size of names, including terminator */
 | 
			
		||||
#define MAX_RDN_BYTES           (2*(MAX_RDN_CHARS + 1))
 | 
			
		||||
#define MAX_DN_BYTES            (2*(MAX_DN_CHARS + 1))
 | 
			
		||||
#define MAX_SCHEMA_NAME_BYTES   (2*(MAX_SCHEMA_NAME_CHARS + 1))
 | 
			
		||||
 | 
			
		||||
#define MAX_ASN1_NAME           32
 | 
			
		||||
#define MAX_VALUE               (63U * 1024U)
 | 
			
		||||
#define MAX_MESSAGE             0x00010000L
 | 
			
		||||
#define NO_MORE_ITERATIONS      0xffffffffL
 | 
			
		||||
 | 
			
		||||
/* delimiters in names */
 | 
			
		||||
#define DELIM_VALUE             '='
 | 
			
		||||
#define DELIM_DV                '+'
 | 
			
		||||
#define DELIM_RDN               '.'
 | 
			
		||||
#define ESCAPE_CHAR             '\\'
 | 
			
		||||
 | 
			
		||||
/* special entry names in ACLs */
 | 
			
		||||
#define DS_ROOT_NAME            "[Root]"
 | 
			
		||||
#define DS_PUBLIC_NAME          "[Public]"
 | 
			
		||||
#define DS_MASK_NAME            "[Inheritance Mask]"
 | 
			
		||||
#define DS_CREATOR_NAME         "[Creator]"  /* can only be used in AddEntry */
 | 
			
		||||
#define DS_SELF_NAME            "[Self]"     /* can only be used in AddEntry */
 | 
			
		||||
 | 
			
		||||
/* special attribute names in ACLs */
 | 
			
		||||
#define DS_ALL_ATTRS_NAME       "[All Attributes Rights]"
 | 
			
		||||
#define DS_ENTRY_RIGHTS_NAME    "[Entry Rights]"
 | 
			
		||||
 | 
			
		||||
typedef enum SYNTAX
 | 
			
		||||
{
 | 
			
		||||
   SYN_UNKNOWN,                /* 0  */
 | 
			
		||||
   SYN_DIST_NAME,              /* 1  */
 | 
			
		||||
   SYN_CE_STRING,              /* 2  */
 | 
			
		||||
   SYN_CI_STRING,              /* 3  */
 | 
			
		||||
   SYN_PR_STRING,              /* 4  */
 | 
			
		||||
   SYN_NU_STRING,              /* 5  */
 | 
			
		||||
   SYN_CI_LIST,                /* 6  */
 | 
			
		||||
   SYN_BOOLEAN,                /* 7  */
 | 
			
		||||
   SYN_INTEGER,                /* 8  */
 | 
			
		||||
   SYN_OCTET_STRING,           /* 9  */
 | 
			
		||||
   SYN_TEL_NUMBER,             /* 10 */
 | 
			
		||||
   SYN_FAX_NUMBER,             /* 11 */
 | 
			
		||||
   SYN_NET_ADDRESS,            /* 12 */
 | 
			
		||||
   SYN_OCTET_LIST,             /* 13 */
 | 
			
		||||
   SYN_EMAIL_ADDRESS,          /* 14 */
 | 
			
		||||
   SYN_PATH,                   /* 15 */
 | 
			
		||||
   SYN_REPLICA_POINTER,        /* 16 */
 | 
			
		||||
   SYN_OBJECT_ACL,             /* 17 */
 | 
			
		||||
   SYN_PO_ADDRESS,             /* 18 */
 | 
			
		||||
   SYN_TIMESTAMP,              /* 19 */
 | 
			
		||||
   SYN_CLASS_NAME,             /* 20 */
 | 
			
		||||
   SYN_STREAM,                 /* 21 */
 | 
			
		||||
   SYN_COUNTER,                /* 22 */
 | 
			
		||||
   SYN_BACK_LINK,              /* 23 */
 | 
			
		||||
   SYN_TIME,                   /* 24 */
 | 
			
		||||
   SYN_TYPED_NAME,             /* 25 */
 | 
			
		||||
   SYN_HOLD,                   /* 26 */
 | 
			
		||||
   SYN_INTERVAL,               /* 27 */
 | 
			
		||||
   SYNTAX_COUNT                /* 28 */
 | 
			
		||||
} SYNTAX;
 | 
			
		||||
 | 
			
		||||
typedef enum NAME_SPACE_TYPE
 | 
			
		||||
{
 | 
			
		||||
   DS_DOS, DS_MACINTOSH, DS_UNIX, DS_FTAM, DS_OS2
 | 
			
		||||
} NAME_SPACE_TYPE;
 | 
			
		||||
 | 
			
		||||
typedef enum REPLICA_TYPE
 | 
			
		||||
{
 | 
			
		||||
   RT_MASTER, RT_SECONDARY, RT_READONLY, RT_SUBREF,
 | 
			
		||||
   RT_SPARSE_WRITE, RT_SPARSE_READ, RT_COUNT
 | 
			
		||||
} REPLICA_TYPE;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
typedef enum REPLICA_STATE
 | 
			
		||||
{
 | 
			
		||||
   RS_ON, RS_NEW_REPLICA, RS_DYING_REPLICA,
 | 
			
		||||
   RS_LOCKED, RS_CRT_0, RS_CRT_1,
 | 
			
		||||
   RS_TRANSITION_ON, RS_DEAD_REPLICA, RS_BEGIN_ADD,
 | 
			
		||||
   RS_MASTER_START = 11, RS_MASTER_DONE, RS_FEDERATED,
 | 
			
		||||
   RS_SS_0 = 48, RS_SS_1,
 | 
			
		||||
   RS_JS_0 = 64, RS_JS_1, RS_JS_2,
 | 
			
		||||
   RS_MS_0 = 80, RS_MS_1,
 | 
			
		||||
   RS_COUNT
 | 
			
		||||
} REPLICA_STATE;
 | 
			
		||||
 | 
			
		||||
#define GET_REPLICA_TYPE(rpt)    ((rpt) & 0x0000FFFF)
 | 
			
		||||
#define GET_REPLICA_STATE(rpt)   ((rpt) >> 16)
 | 
			
		||||
 | 
			
		||||
/* typedef enum NET_ADDRESS_TYPE                                                   */
 | 
			
		||||
/* {                                                                               */
 | 
			
		||||
/*   NT_IPX, NT_IP, NT_SDLC, NT_TOKENRING_ETHERNET, NT_OSI, NT_APPLETALK, NT_COUNT */
 | 
			
		||||
/* } NET_ADDRESS_TYPE;                                                             */
 | 
			
		||||
 | 
			
		||||
typedef enum NET_ADDRESS_TYPE
 | 
			
		||||
{
 | 
			
		||||
   NT_IPX, NT_IP, NT_SDLC, NT_TOKENRING_ETHERNET,
 | 
			
		||||
   NT_OSI, NT_APPLETALK, NT_NETBEUI, NT_SOCKADDR,
 | 
			
		||||
   NT_UDP, NT_TCP, NT_UDP6, NT_TCP6, NT_INTERNAL,
 | 
			
		||||
   NT_URL, NT_COUNT
 | 
			
		||||
} NET_ADDRESS_TYPE;
 | 
			
		||||
 | 
			
		||||
typedef enum NCP_SERVER_STATUS
 | 
			
		||||
{
 | 
			
		||||
   DS_UNKNOWN, DS_DOWN, DS_UP
 | 
			
		||||
} NCP_SERVER_STATUS;
 | 
			
		||||
 | 
			
		||||
#define IPX_ADDRESS_LEN   12
 | 
			
		||||
#define IP_ADDRESS_LEN    6
 | 
			
		||||
#define IP6_ADDRESS_LEN   22
 | 
			
		||||
 | 
			
		||||
/*Entry flag definitions used by DSV_LIST, DSV_READ_ENTRY_INFO, DSV_SEARCH. */
 | 
			
		||||
#if !defined(DS_ALIAS_ENTRY)
 | 
			
		||||
#define DS_ALIAS_ENTRY         0x0001
 | 
			
		||||
#define DS_PARTITION_ROOT      0x0002
 | 
			
		||||
#define DS_CONTAINER_ENTRY     0x0004
 | 
			
		||||
#define DS_CONTAINER_ALIAS     0x0008
 | 
			
		||||
#define DS_MATCHES_LIST_FILTER 0x0010   /* only returned by DSV_LIST */
 | 
			
		||||
#define DS_REFERENCE_ENTRY     0x0020
 | 
			
		||||
#define DS_40X_REFERENCE_ENTRY 0x0040
 | 
			
		||||
#define DS_BACKLINKED          0x0080
 | 
			
		||||
#define DS_NEW_ENTRY           0x0100
 | 
			
		||||
#define DS_TEMPORARY_REFERENCE 0x0200
 | 
			
		||||
#define DS_AUDITED             0x0400
 | 
			
		||||
#define DS_ENTRY_NOT_PRESENT   0x0800
 | 
			
		||||
#define DS_ENTRY_VERIFY_CTS    0x1000
 | 
			
		||||
#define DS_ENTRY_DAMAGED       0x2000
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_MODIFY_ENTRY * */
 | 
			
		||||
#define DS_ADD_ATTRIBUTE       0x00 /* add first value of attribute, error if it already exists */
 | 
			
		||||
#define DS_REMOVE_ATTRIBUTE    0x01 /* remove all values, error if attribute does not exist */
 | 
			
		||||
#define DS_ADD_VALUE           0x02 /* add first or additional value, error if duplicate */
 | 
			
		||||
#define DS_REMOVE_VALUE        0x03 /* remove a value, error if it does not exist */
 | 
			
		||||
#define DS_ADDITIONAL_VALUE    0x04 /* add additional value, error if duplicate or first */
 | 
			
		||||
#define DS_OVERWRITE_VALUE     0x05 /* add first or additional value, overwrite if duplicate */
 | 
			
		||||
#define DS_CLEAR_ATTRIBUTE     0x06 /* remove all values, no error if attribute does not exists */
 | 
			
		||||
#define DS_CLEAR_VALUE         0x07 /* remove value, no error if value does not exists */
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_READ, DSV_SEARCH * */
 | 
			
		||||
#define DS_ATTRIBUTE_NAMES       0x00
 | 
			
		||||
#define DS_ATTRIBUTE_VALUES      0x01
 | 
			
		||||
#define DS_EFFECTIVE_PRIVILEGES  0x02
 | 
			
		||||
#define DS_VALUE_INFO            0x03
 | 
			
		||||
#define DS_ABBREVIATED_VALUE     0x04
 | 
			
		||||
#define DS_EXPANDED_CLASS        0x08 /* Only good on schema class definitions */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_READ for value flags * */
 | 
			
		||||
#define DS_NOT_PRESENT          0x0000
 | 
			
		||||
#define DS_NAMING               0x0001
 | 
			
		||||
#define DS_BASECLASS            0x0002
 | 
			
		||||
#define DS_PRESENT              0x0004
 | 
			
		||||
#define DS_VALUE_DAMAGED        0x0008
 | 
			
		||||
#define DS_SUPERCLASS           0x0010
 | 
			
		||||
#define DS_AUXILIARYCLASS       0x0020
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_READ_ATTR_DEF * */
 | 
			
		||||
#if !defined(DS_SINGLE_VALUED_ATTR)
 | 
			
		||||
#define DS_SINGLE_VALUED_ATTR   0x0001   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_SIZED_ATTR           0x0002   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_NONREMOVABLE_ATTR    0x0004
 | 
			
		||||
#define DS_READ_ONLY_ATTR       0x0008
 | 
			
		||||
#define DS_HIDDEN_ATTR          0x0010
 | 
			
		||||
#define DS_STRING_ATTR          0x0020
 | 
			
		||||
#define DS_SYNC_IMMEDIATE       0x0040   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_PUBLIC_READ          0x0080   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_SERVER_READ          0x0100
 | 
			
		||||
#define DS_WRITE_MANAGED        0x0200   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_PER_REPLICA          0x0400   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_SCHEDULE_SYNC_NEVER  0x0800   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_OPERATIONAL          0x1000   /* also used by DSV_DEFINE_ATTR */
 | 
			
		||||
#define DS_SPARSE_REQUIRED_ATTR 0x2000
 | 
			
		||||
#define DS_SPARSE_OPERATIONAL_ATTR 0x4000
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* info types and union tags */
 | 
			
		||||
#define DS_ATTR_DEF_NAMES       0
 | 
			
		||||
#define DS_ATTR_DEFS            1
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_DEFINE_CLASS and DSV_READ_CLASS_DEF * */
 | 
			
		||||
#define DS_CONTAINER_CLASS          0x01
 | 
			
		||||
#define DS_EFFECTIVE_CLASS          0x02
 | 
			
		||||
#define DS_NONREMOVABLE_CLASS       0x04
 | 
			
		||||
#define DS_AMBIGUOUS_NAMING         0x08
 | 
			
		||||
#define DS_AMBIGUOUS_CONTAINMENT    0x10
 | 
			
		||||
#define DS_AUXILIARY_CLASS          0x20
 | 
			
		||||
#define DS_OPERATIONAL_CLASS        0x40
 | 
			
		||||
#define DS_SPARSE_REQUIRED_CLASS    0x80     /* Read-only */
 | 
			
		||||
#define DS_SPARSE_OPERATIONAL_CLASS 0x100    /* Read-only */
 | 
			
		||||
 | 
			
		||||
/* info types and union tags */
 | 
			
		||||
#define DS_CLASS_DEF_NAMES       0
 | 
			
		||||
#define DS_CLASS_DEFS            1
 | 
			
		||||
#define DS_EXPANDED_CLASS_DEFS   2
 | 
			
		||||
#define DS_INFO_CLASS_DEFS       3
 | 
			
		||||
#define DS_FULL_CLASS_DEFS       4
 | 
			
		||||
 | 
			
		||||
/* * definitions used by DSV_SEARCH * */
 | 
			
		||||
#define DS_SEARCH_ENTRY             0
 | 
			
		||||
#define DS_SEARCH_SUBORDINATES      1
 | 
			
		||||
#define DS_SEARCH_SUBTREE           2
 | 
			
		||||
#define DS_SEARCH_PARTITION         3
 | 
			
		||||
 | 
			
		||||
#define DS_ALIAS_REFERRAL           0
 | 
			
		||||
#define DS_PARTITION_REFERRAL       1
 | 
			
		||||
 | 
			
		||||
#define DS_SEARCH_ITEM              0
 | 
			
		||||
#define DS_SEARCH_OR                1
 | 
			
		||||
#define DS_SEARCH_AND               2
 | 
			
		||||
#define DS_SEARCH_NOT               3
 | 
			
		||||
 | 
			
		||||
#define DS_SEARCH_EQUAL             7
 | 
			
		||||
#define DS_SEARCH_GREATER_OR_EQUAL  8
 | 
			
		||||
#define DS_SEARCH_LESS_OR_EQUAL     9
 | 
			
		||||
#define DS_SEARCH_APPROX           10
 | 
			
		||||
#define DS_SEARCH_PRESENT          15
 | 
			
		||||
#define DS_SEARCH_RDN              16
 | 
			
		||||
#define DS_SEARCH_BASE_CLASS       17
 | 
			
		||||
#define DS_SEARCH_MODIFICATION_GE  18
 | 
			
		||||
#define DS_SEARCH_VALUE_TIME_GE    19
 | 
			
		||||
#define DS_SEARCH_REFERENCES       20
 | 
			
		||||
#define DS_SEARCH_DN_IN_VALUE      21
 | 
			
		||||
#define DS_SEARCH_SCHEMA_IN_VALUE  22
 | 
			
		||||
 | 
			
		||||
/* * definitions used by Access Control * */
 | 
			
		||||
#define DS_DYNAMIC_ACL          0x40000000L
 | 
			
		||||
 | 
			
		||||
#define DS_ENTRY_BROWSE         0x00000001L
 | 
			
		||||
#define DS_ENTRY_ADD            0x00000002L
 | 
			
		||||
#define DS_ENTRY_DELETE         0x00000004L
 | 
			
		||||
#define DS_ENTRY_RENAME         0x00000008L
 | 
			
		||||
#define DS_ENTRY_SUPERVISOR     0x00000010L
 | 
			
		||||
#define DS_ENTRY_INHERIT_CTL    0x00000040L
 | 
			
		||||
 | 
			
		||||
#define DS_ENTRY_MASK         (DS_ENTRY_BROWSE | DS_ENTRY_ADD \
 | 
			
		||||
                              | DS_ENTRY_DELETE | DS_ENTRY_RENAME \
 | 
			
		||||
                              | DS_ENTRY_SUPERVISOR | DS_ENTRY_INHERIT_CTL \
 | 
			
		||||
                              | DS_DYNAMIC_ACL )
 | 
			
		||||
 | 
			
		||||
#define DS_ATTR_COMPARE         0x00000001L
 | 
			
		||||
#define DS_ATTR_READ            0x00000002L
 | 
			
		||||
#define DS_ATTR_WRITE           0x00000004L
 | 
			
		||||
#define DS_ATTR_SELF            0x00000008L
 | 
			
		||||
#define DS_ATTR_SUPERVISOR      0x00000020L
 | 
			
		||||
#define DS_ATTR_INHERIT_CTL     0x00000040L
 | 
			
		||||
 | 
			
		||||
#define DS_ATTR_MASK          (DS_ATTR_COMPARE | DS_ATTR_READ | DS_ATTR_WRITE \
 | 
			
		||||
                              | DS_ATTR_SELF | DS_ATTR_SUPERVISOR \
 | 
			
		||||
                              | DS_ATTR_INHERIT_CTL | DS_DYNAMIC_ACL)
 | 
			
		||||
 | 
			
		||||
#define DS_READ_STREAM          0x00000001L
 | 
			
		||||
#define DS_WRITE_STREAM         0x00000002L
 | 
			
		||||
 | 
			
		||||
#define SF_DO_IMMEDIATE         0x00000001
 | 
			
		||||
#define SF_TRANSITION           0x00000002
 | 
			
		||||
#define SF_SEND_ALL             0x00000004
 | 
			
		||||
 | 
			
		||||
/* NDS Interval definitions */
 | 
			
		||||
#define DS_INTERVAL_OUTPUT_FIELDS   0x00000001L
 | 
			
		||||
#define DS_INTERVAL_JANITOR         0x00000002L
 | 
			
		||||
#define DS_INTERVAL_FLAT_CLEANER    0x00000004L
 | 
			
		||||
#define DS_INTERVAL_BACKLINK        0x00000008L
 | 
			
		||||
#define DS_INTERVAL_SKULK_ERROR     0x00000010L
 | 
			
		||||
#define DS_INTERVAL_FAST_SYNC       0x00000020L
 | 
			
		||||
#define DS_INTERVAL_SLOW_SYNC       0x00000040L
 | 
			
		||||
#define DS_INTERVAL_HEARTBEAT_SKULK 0x00000080L
 | 
			
		||||
 | 
			
		||||
/* Password flags */
 | 
			
		||||
#define ALL_PASSWORDS               0x00000000
 | 
			
		||||
#define NDS_PASSWORD                0x00000001
 | 
			
		||||
#define NT_PASSWORD                 0x00000002
 | 
			
		||||
#define AD_PASSWORD                 0x00000004
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Password format flags used with the apis which support 
 | 
			
		||||
 * extended and international characters in passwords
 | 
			
		||||
*/
 | 
			
		||||
#define PWD_UNICODE_STRING          1
 | 
			
		||||
#define PWD_UTF8_STRING             2
 | 
			
		||||
#define PWD_RAW_C_STRING            3 /* binary data terminated with NULL */
 | 
			
		||||
 | 
			
		||||
/* flags for DSV_MUTATE_ENTRY */
 | 
			
		||||
#define DSM_APPLY_ACL_TEMPLATES     0x0001
 | 
			
		||||
 | 
			
		||||
#endif /* NWDSDEFS_H */
 | 
			
		||||
							
								
								
									
										471
									
								
								c_clientlogin/xplatincl/nwdsdsa.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										471
									
								
								c_clientlogin/xplatincl/nwdsdsa.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,471 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name:          nwdsdsa.h %
 | 
			
		||||
  %version:       10 %
 | 
			
		||||
  %date_modified: Tue Oct 12 13:04:23 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1997 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSDSA_H )
 | 
			
		||||
#define NWDSDSA_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSATTR_H )
 | 
			
		||||
#include "nwdsattr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NUNICODE_H )
 | 
			
		||||
#include "nunicode.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAddObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   nbool8            more,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSBackupObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCompare
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            object,
 | 
			
		||||
   pBuf_T            buf,
 | 
			
		||||
   pnbool8           matched
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetPartitionRoot
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            partitionRoot
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSList
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            object,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            subordinates
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListContainers
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            object,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            subordinates
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListByClassAndName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pnstr8            subordinateName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            subordinates
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetCountByClassAndName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pnstr8            subordinateName,
 | 
			
		||||
   pnint32           count
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSMapIDToName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   nuint32           objectID,
 | 
			
		||||
   pnstr8            object
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSMapNameToID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnstr8            object,
 | 
			
		||||
   pnuint32          objectID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSModifyObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   nbool8            more,
 | 
			
		||||
   pBuf_T            changes
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSModifyDN
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            newDN,
 | 
			
		||||
   nbool8            deleteOldRDN
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSModifyRDN
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            newDN,
 | 
			
		||||
   nbool8            deleteOldRDN
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSMoveObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            destParentDN,
 | 
			
		||||
   pnstr8            destRDN
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRead
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            object,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadObjectInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle    context,
 | 
			
		||||
   pnstr8               object,
 | 
			
		||||
   pnstr8               distinguishedName,
 | 
			
		||||
   pObject_Info_T       objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadObjectDSIInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle    context,
 | 
			
		||||
   pnstr8               object,
 | 
			
		||||
   nuint32              infoLength,
 | 
			
		||||
   nptr                 objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemoveObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            object
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRestoreObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   nbool8            more,
 | 
			
		||||
   nuint32           size,
 | 
			
		||||
   pnuint8           objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSearch
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            baseObjectName,
 | 
			
		||||
   nint              scope,
 | 
			
		||||
   nbool8            searchAliases,
 | 
			
		||||
   pBuf_T            filter,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   nint32            countObjectsToSearch,
 | 
			
		||||
   pnint32           countObjectsSearched,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSOpenStream
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle    context,
 | 
			
		||||
   pnstr8               objectName,
 | 
			
		||||
   pnstr8               attrName,
 | 
			
		||||
   nflag32              flags,
 | 
			
		||||
   NWFILE_HANDLE N_FAR  *fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSWhoAmI
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetServerDN
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnstr8            serverDN
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetServerAddresses2
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnuint32          countNetAddress,
 | 
			
		||||
   pBuf_T            netAddresses
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSInspectEntry
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pBuf_T            errBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadReferences
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   nuint32           timeFilter,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSExtSyncList
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pnstr8            subordinateName,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pTimeStamp_T      timeStamp,
 | 
			
		||||
   nbool             onlyContainers,
 | 
			
		||||
   pBuf_T            subordinates
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSExtSyncRead
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pTimeStamp_T      timeStamp,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSExtSyncSearch
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            baseObjectName,
 | 
			
		||||
   nint              scope,
 | 
			
		||||
   nbool8            searchAliases,
 | 
			
		||||
   pBuf_T            filter,
 | 
			
		||||
   pTimeStamp_T      timeStamp,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   nint32            countObjectsToSearch,
 | 
			
		||||
   pnint32           countObjectsSearched,
 | 
			
		||||
   pBuf_T            objectInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemSecurityEquiv
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            equalFrom,
 | 
			
		||||
   pnstr8            equalTo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAddSecurityEquiv
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            equalFrom,
 | 
			
		||||
   pnstr8            equalTo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSMutateObject
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            newObjectClass,
 | 
			
		||||
   nuint32           flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/*----- NDS Register For Event Function Prototypes -----*/
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSERegisterForEvent
 | 
			
		||||
(
 | 
			
		||||
   nint    priority,
 | 
			
		||||
   nuint32 type,
 | 
			
		||||
   nint    (*handler)(nuint32 type, nuint size, nptr data)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSERegisterForEventWithResult
 | 
			
		||||
(
 | 
			
		||||
   nint    priority,
 | 
			
		||||
   nuint32 type,
 | 
			
		||||
   nint    (*handler)(nuint32 type, nuint size, nptr data, nint result),
 | 
			
		||||
   nint    flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEUnRegisterForEvent
 | 
			
		||||
(
 | 
			
		||||
   nint    priority,
 | 
			
		||||
   nuint32 type,
 | 
			
		||||
   nint    (*handler)(nuint32 type, nuint size, nptr data)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalEntryName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           entryID,
 | 
			
		||||
   pnstr             objectName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEConvertEntryName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   const punicode    DSEventName,
 | 
			
		||||
   pnstr             objectName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalAttrName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           attrID,
 | 
			
		||||
   pnstr             name
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalClassName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           classID,
 | 
			
		||||
   pnstr             name
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalAttrID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   const pnstr       name,
 | 
			
		||||
   pnuint32          id
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalClassID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   const pnstr       name,
 | 
			
		||||
   pnuint32          id
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSEGetLocalEntryID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   const pnstr       objectName,
 | 
			
		||||
   pnuint32          id
 | 
			
		||||
);
 | 
			
		||||
#endif      /* N_PLAT_NLM */
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dsdsa.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSDSA_H */
 | 
			
		||||
							
								
								
									
										417
									
								
								c_clientlogin/xplatincl/nwdserr.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										417
									
								
								c_clientlogin/xplatincl/nwdserr.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,417 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 *
 | 
			
		||||
 *	Copyright (C) Unpublished Work of Novell, Inc.
 | 
			
		||||
 *	All Rights Reserved.
 | 
			
		||||
 *
 | 
			
		||||
 *	This work is an unpublished work and contains confidential,
 | 
			
		||||
 *	proprietary and trade secret information of Novell, Inc. Access
 | 
			
		||||
 *	to this work is restricted to (i) Novell, Inc. employees who have
 | 
			
		||||
 *	a need to know how to perform tasks within the scope of their
 | 
			
		||||
 *	assignments and (ii) entities other than Novell, Inc. who have
 | 
			
		||||
 *	entered into appropriate license agreements. No part of this work
 | 
			
		||||
 *	may be used, practiced, performed, copied, distributed, revised,
 | 
			
		||||
 *	modified, translated, abridged, condensed, expanded, collected,
 | 
			
		||||
 *	compiled, linked, recast, transformed or adapted without the
 | 
			
		||||
 *	prior written consent of Novell, Inc. Any use or exploitation of
 | 
			
		||||
 *	this work without authorization could subject the perpetrator to
 | 
			
		||||
 *	criminal and civil liability.
 | 
			
		||||
 *
 | 
			
		||||
 *	Name:					nwdserr.h
 | 
			
		||||
 *	%version:       	31.1.3 %
 | 
			
		||||
 *	%created_by:    	bireland %
 | 
			
		||||
 *	%date_modified:	Fri Jun 25 14:44:17 1999 %
 | 
			
		||||
 *
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#ifndef NWDSERR_H
 | 
			
		||||
#define NWDSERR_H
 | 
			
		||||
 | 
			
		||||
/* errors from the file system, IPX, NCP, and other NW OS services are one byte
 | 
			
		||||
 * and are mapped to -1 to -256 when returned as a directory services error
 | 
			
		||||
 */
 | 
			
		||||
#define DSERR_INSUFFICIENT_SPACE					-001		/* FFFFFFFF */
 | 
			
		||||
#define DSERR_BUFFER_TOO_SMALL					-119		/* FFFFFF89 */
 | 
			
		||||
#define DSERR_VOLUME_FLAG_NOT_SET				-120		/* FFFFFF88 */
 | 
			
		||||
#define DSERR_NO_ITEMS_FOUND						-121		/* FFFFFF87 */
 | 
			
		||||
#define DSERR_CONN_ALREADY_TEMPORARY			-122		/* FFFFFF86 */
 | 
			
		||||
#define DSERR_CONN_ALREADY_LOGGED_IN			-123		/* FFFFFF85 */
 | 
			
		||||
#define DSERR_CONN_NOT_AUTHENTICATED			-124		/* FFFFFF84 */
 | 
			
		||||
#define DSERR_CONN_NOT_LOGGED_IN					-125		/* FFFFFF83 */
 | 
			
		||||
#define DSERR_NCP_BOUNDARY_CHECK_FAILED		-126		/* FFFFFF82 */
 | 
			
		||||
#define DSERR_LOCK_WAITING							-127		/* FFFFFF81 */
 | 
			
		||||
#define DSERR_LOCK_FAIL 							-128		/* FFFFFF80 */
 | 
			
		||||
#define DSERR_OUT_OF_HANDLES						-129		/* FFFFFF7F */
 | 
			
		||||
#define DSERR_NO_OPEN_PRIVILEGE 					-130		/* FFFFFF7E */
 | 
			
		||||
#define DSERR_HARD_IO_ERROR 						-131		/* FFFFFF7D */
 | 
			
		||||
#define DSERR_NO_CREATE_PRIVILEGE				-132		/* FFFFFF7C */
 | 
			
		||||
#define DSERR_NO_CREATE_DELETE_PRIV 			-133		/* FFFFFF7B */
 | 
			
		||||
#define DSERR_R_O_CREATE_FILE						-134		/* FFFFFF7A */
 | 
			
		||||
#define DSERR_CREATE_FILE_INVALID_NAME			-135		/* FFFFFF79 */
 | 
			
		||||
#define DSERR_INVALID_FILE_HANDLE				-136		/* FFFFFF78 */
 | 
			
		||||
#define DSERR_NO_SEARCH_PRIVILEGE				-137		/* FFFFFF77 */
 | 
			
		||||
#define DSERR_NO_DELETE_PRIVILEGE				-138		/* FFFFFF76 */
 | 
			
		||||
#define DSERR_NO_RENAME_PRIVILEGE				-139		/* FFFFFF75 */
 | 
			
		||||
#define DSERR_NO_SET_PRIVILEGE					-140		/* FFFFFF74 */
 | 
			
		||||
#define DSERR_SOME_FILES_IN_USE 					-141		/* FFFFFF73 */
 | 
			
		||||
#define DSERR_ALL_FILES_IN_USE					-142		/* FFFFFF72 */
 | 
			
		||||
#define DSERR_SOME_READ_ONLY						-143		/* FFFFFF71 */
 | 
			
		||||
#define DSERR_ALL_READ_ONLY 						-144		/* FFFFFF70 */
 | 
			
		||||
#define DSERR_SOME_NAMES_EXIST					-145		/* FFFFFF6F */
 | 
			
		||||
#define DSERR_ALL_NAMES_EXIST						-146		/* FFFFFF6E */
 | 
			
		||||
#define DSERR_NO_READ_PRIVILEGE 					-147		/* FFFFFF6D */
 | 
			
		||||
#define DSERR_NO_WRITE_PRIVILEGE					-148		/* FFFFFF6C */
 | 
			
		||||
#define DSERR_FILE_DETACHED 						-149		/* FFFFFF6B */
 | 
			
		||||
#define ERR_INSUFFICIENT_MEMORY 					-150		/* FFFFFF6A */
 | 
			
		||||
#define DSERR_NO_ALLOC_SPACE						-150		/* FFFFFF6A */
 | 
			
		||||
#define DSERR_TARGET_NOT_A_SUBDIR				-150		/* FFFFFF6A */
 | 
			
		||||
#define DSERR_NO_SPOOL_SPACE						-151		/* FFFFFF69 */
 | 
			
		||||
#define DSERR_INVALID_VOLUME						-152		/* FFFFFF68 */
 | 
			
		||||
#define DSERR_DIRECTORY_FULL						-153		/* FFFFFF67 */
 | 
			
		||||
#define DSERR_RENAME_ACROSS_VOLUME				-154		/* FFFFFF66 */
 | 
			
		||||
#define DSERR_BAD_DIR_HANDLE						-155		/* FFFFFF65 */
 | 
			
		||||
#define DSERR_INVALID_PATH							-156		/* FFFFFF64 */
 | 
			
		||||
#define DSERR_NO_SUCH_EXTENSION 					-156		/* FFFFFF64 */
 | 
			
		||||
#define DSERR_NO_DIR_HANDLES						-157		/* FFFFFF63 */
 | 
			
		||||
#define DSERR_BAD_FILE_NAME 						-158		/* FFFFFF62 */
 | 
			
		||||
#define DSERR_DIRECTORY_ACTIVE					-159		/* FFFFFF61 */
 | 
			
		||||
#define DSERR_DIRECTORY_NOT_EMPTY				-160		/* FFFFFF60 */
 | 
			
		||||
#define DSERR_DIRECTORY_IO_ERROR					-161		/* FFFFFF5F */
 | 
			
		||||
#define DSERR_IO_LOCKED 							-162		/* FFFFFF5E */
 | 
			
		||||
#define DSERR_TRANSACTION_RESTARTED 			-163		/* FFFFFF5D */
 | 
			
		||||
#define DSERR_RENAME_DIR_INVALID					-164		/* FFFFFF5C */
 | 
			
		||||
#define DSERR_INVALID_OPENCREATE_MODE			-165		/* FFFFFF5B */
 | 
			
		||||
#define DSERR_ALREADY_IN_USE						-166		/* FFFFFF5A */
 | 
			
		||||
#define DSERR_INVALID_RESOURCE_TAG				-167		/* FFFFFF59 */
 | 
			
		||||
#define DSERR_ACCESS_DENIED 						-168		/* FFFFFF58 */
 | 
			
		||||
#define DSERR_LOGIN_SIGNING_REQUIRED			-188		/* FFFFFF44 */
 | 
			
		||||
#define DSERR_LOGIN_ENCRYPT_REQUIRED			-189		/* FFFFFF43 */
 | 
			
		||||
#define DSERR_INVALID_DATA_STREAM				-190		/* FFFFFF42 */
 | 
			
		||||
#define DSERR_INVALID_NAME_SPACE					-191		/* FFFFFF41 */
 | 
			
		||||
#define DSERR_NO_ACCOUNTING_PRIVILEGES			-192		/* FFFFFF40 */
 | 
			
		||||
#define DSERR_NO_ACCOUNT_BALANCE					-193		/* FFFFFF3F */
 | 
			
		||||
#define DSERR_CREDIT_LIMIT_EXCEEDED 			-194		/* FFFFFF3E */
 | 
			
		||||
#define DSERR_TOO_MANY_HOLDS						-195		/* FFFFFF3D */
 | 
			
		||||
#define DSERR_ACCOUNTING_DISABLED				-196		/* FFFFFF3C */
 | 
			
		||||
#define DSERR_LOGIN_LOCKOUT 						-197		/* FFFFFF3B */
 | 
			
		||||
#define DSERR_NO_CONSOLE_RIGHTS 					-198		/* FFFFFF3A */
 | 
			
		||||
#define DSERR_Q_IO_FAILURE							-208		/* FFFFFF30 */
 | 
			
		||||
#define DSERR_NO_QUEUE								-209		/* FFFFFF2F */
 | 
			
		||||
#define DSERR_NO_Q_SERVER							-210		/* FFFFFF2E */
 | 
			
		||||
#define DSERR_NO_Q_RIGHTS							-211		/* FFFFFF2D */
 | 
			
		||||
#define DSERR_Q_FULL									-212		/* FFFFFF2C */
 | 
			
		||||
#define DSERR_NO_Q_JOB								-213		/* FFFFFF2B */
 | 
			
		||||
#define DSERR_NO_Q_JOB_RIGHTS						-214		/* FFFFFF2A */
 | 
			
		||||
#define DSERR_UNENCRYPTED_NOT_ALLOWED			-214		/* FFFFFF2A */
 | 
			
		||||
#define DSERR_Q_IN_SERVICE							-215		/* FFFFFF29 */
 | 
			
		||||
#define DSERR_DUPLICATE_PASSWORD					-215		/* FFFFFF29 */
 | 
			
		||||
#define DSERR_Q_NOT_ACTIVE							-216		/* FFFFFF28 */
 | 
			
		||||
#define DSERR_PASSWORD_TOO_SHORT					-216		/* FFFFFF28 */
 | 
			
		||||
#define DSERR_Q_STN_NOT_SERVER					-217		/* FFFFFF27 */
 | 
			
		||||
#define DSERR_MAXIMUM_LOGINS_EXCEEDED			-217		/* FFFFFF27 */
 | 
			
		||||
#define DSERR_Q_HALTED								-218		/* FFFFFF26 */
 | 
			
		||||
#define DSERR_BAD_LOGIN_TIME						-218		/* FFFFFF26 */
 | 
			
		||||
#define DSERR_Q_MAX_SERVERS 						-219		/* FFFFFF25 */
 | 
			
		||||
#define DSERR_NODE_ADDRESS_VIOLATION			-219		/* FFFFFF25 */
 | 
			
		||||
#define DSERR_LOG_ACCOUNT_EXPIRED				-220		/* FFFFFF24 */
 | 
			
		||||
#define DSERR_BAD_PASSWORD							-222		/* FFFFFF22 */
 | 
			
		||||
#define DSERR_PASSWORD_EXPIRED					-223		/* FFFFFF21 */
 | 
			
		||||
#define DSERR_NO_LOGIN_CONN_AVAILABLE			-224		/* FFFFFF20 */
 | 
			
		||||
#define DSERR_WRITE_TO_GROUP_PROPERTY			-232		/* FFFFFF18 */
 | 
			
		||||
#define DSERR_MEMBER_ALREADY_EXISTS 			-233		/* FFFFFF17 */
 | 
			
		||||
#define DSERR_NO_SUCH_MEMBER						-234		/* FFFFFF16 */
 | 
			
		||||
#define DSERR_PROPERTY_NOT_GROUP					-235		/* FFFFFF15 */
 | 
			
		||||
#define DSERR_NO_SUCH_VALUE_SET 					-236		/* FFFFFF14 */
 | 
			
		||||
#define DSERR_PROPERTY_ALREADY_EXISTS			-237		/* FFFFFF13 */
 | 
			
		||||
#define DSERR_OBJECT_ALREADY_EXISTS 			-238		/* FFFFFF12 */
 | 
			
		||||
#define DSERR_ILLEGAL_NAME							-239		/* FFFFFF11 */
 | 
			
		||||
#define DSERR_ILLEGAL_WILDCARD					-240		/* FFFFFF10 */
 | 
			
		||||
#define DSERR_BINDERY_SECURITY					-241		/* FFFFFF0F */
 | 
			
		||||
#define DSERR_NO_OBJECT_READ_RIGHTS 			-242		/* FFFFFF0E */
 | 
			
		||||
#define DSERR_NO_OBJECT_RENAME_RIGHTS			-243		/* FFFFFF0D */
 | 
			
		||||
#define DSERR_NO_OBJECT_DELETE_RIGHTS			-244		/* FFFFFF0C */
 | 
			
		||||
#define DSERR_NO_OBJECT_CREATE_RIGHTS			-245		/* FFFFFF0B */
 | 
			
		||||
#define DSERR_NO_PROPERTY_DELETE_RIGHTS 		-246		/* FFFFFF0A */
 | 
			
		||||
#define DSERR_NO_PROPERTY_CREATE_RIGHTS 		-247		/* FFFFFF09 */
 | 
			
		||||
#define DSERR_NO_PROPERTY_WRITE_RIGHTS			-248		/* FFFFFF08 */
 | 
			
		||||
#define DSERR_NO_PROPERTY_READ_RIGHTS			-249		/* FFFFFF07 */
 | 
			
		||||
#define DSERR_TEMP_REMAP							-250		/* FFFFFF06 */
 | 
			
		||||
#define ERR_REQUEST_UNKNOWN 						-251		/* FFFFFF05 */
 | 
			
		||||
#define DSERR_UNKNOWN_REQUEST						-251		/* FFFFFF05 */
 | 
			
		||||
#define DSERR_NO_SUCH_PROPERTY					-251		/* FFFFFF05 */
 | 
			
		||||
#define DSERR_MESSAGE_QUEUE_FULL					-252		/* FFFFFF04 */
 | 
			
		||||
#define DSERR_TARGET_ALREADY_HAS_MSG			-252		/* FFFFFF04 */
 | 
			
		||||
#define DSERR_NO_SUCH_OBJECT						-252		/* FFFFFF04 */
 | 
			
		||||
#define DSERR_BAD_STATION_NUMBER					-253		/* FFFFFF03 */
 | 
			
		||||
#define DSERR_BINDERY_LOCKED						-254		/* FFFFFF02 */
 | 
			
		||||
#define DSERR_DIR_LOCKED							-254		/* FFFFFF02 */
 | 
			
		||||
#define DSERR_SPOOL_DELETE							-254		/* FFFFFF02 */
 | 
			
		||||
#define DSERR_TRUSTEE_NOT_FOUND 					-254		/* FFFFFF02 */
 | 
			
		||||
#define DSERR_TIMEOUT			 					-254		/* FFFFFF02 */
 | 
			
		||||
#define DSERR_HARD_FAILURE							-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_FILE_NAME 							-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_FILE_EXISTS							-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_CLOSE_FCB 							-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_IO_BOUND								-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_NO_SPOOL_FILE 						-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_BAD_SPOOL_PRINTER 					-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_BAD_PARAMETER 						-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_NO_FILES_FOUND						-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_NO_TRUSTEE_CHANGE_PRIV			-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_TARGET_NOT_LOGGED_IN				-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_TARGET_NOT_ACCEPTING_MSGS		-255		/* FFFFFF01 */
 | 
			
		||||
#define DSERR_MUST_FORCE_DOWN						-255		/* FFFFFF01 */
 | 
			
		||||
#define ERR_OF_SOME_SORT							-255		/* FFFFFF01 */
 | 
			
		||||
 | 
			
		||||
/* -301 to -399 are returned by the directory services client library */
 | 
			
		||||
#define ERR_NOT_ENOUGH_MEMORY						-301		/* 0xFFFFFED3 */
 | 
			
		||||
#define ERR_BAD_KEY 									-302		/* 0xFFFFFED2 */
 | 
			
		||||
#define ERR_BAD_CONTEXT 							-303		/* 0xFFFFFED1 */
 | 
			
		||||
#define ERR_BUFFER_FULL 							-304		/* 0xFFFFFED0 */
 | 
			
		||||
#define ERR_LIST_EMPTY								-305		/* 0xFFFFFECF */
 | 
			
		||||
#define ERR_BAD_SYNTAX								-306		/* 0xFFFFFECE */
 | 
			
		||||
#define ERR_BUFFER_EMPTY							-307		/* 0xFFFFFECD */
 | 
			
		||||
#define ERR_BAD_VERB									-308		/* 0xFFFFFECC */
 | 
			
		||||
#define ERR_EXPECTED_IDENTIFIER 					-309		/* 0xFFFFFECB */
 | 
			
		||||
#define ERR_EXPECTED_EQUALS 						-310		/* 0xFFFFFECA */
 | 
			
		||||
#define ERR_ATTR_TYPE_EXPECTED					-311		/* 0xFFFFFEC9 */
 | 
			
		||||
#define ERR_ATTR_TYPE_NOT_EXPECTED				-312		/* 0xFFFFFEC8 */
 | 
			
		||||
#define ERR_FILTER_TREE_EMPTY						-313		/* 0xFFFFFEC7 */
 | 
			
		||||
#define ERR_INVALID_OBJECT_NAME 					-314		/* 0xFFFFFEC6 */
 | 
			
		||||
#define ERR_EXPECTED_RDN_DELIMITER				-315		/* 0xFFFFFEC5 */
 | 
			
		||||
#define ERR_TOO_MANY_TOKENS 						-316		/* 0xFFFFFEC4 */
 | 
			
		||||
#define ERR_INCONSISTENT_MULTIAVA				-317		/* 0xFFFFFEC3 */
 | 
			
		||||
#define ERR_COUNTRY_NAME_TOO_LONG				-318		/* 0xFFFFFEC2 */
 | 
			
		||||
#define ERR_SYSTEM_ERROR							-319		/* 0xFFFFFEC1 */
 | 
			
		||||
#define ERR_CANT_ADD_ROOT							-320		/* 0xFFFFFEC0 */
 | 
			
		||||
#define ERR_UNABLE_TO_ATTACH						-321		/* 0xFFFFFEBF */
 | 
			
		||||
#define ERR_INVALID_HANDLE							-322		/* 0xFFFFFEBE */
 | 
			
		||||
#define ERR_BUFFER_ZERO_LENGTH					-323		/* 0xFFFFFEBD */
 | 
			
		||||
#define ERR_INVALID_REPLICA_TYPE					-324		/* 0xFFFFFEBC */
 | 
			
		||||
#define ERR_INVALID_ATTR_SYNTAX 					-325		/* 0xFFFFFEBB */
 | 
			
		||||
#define ERR_INVALID_FILTER_SYNTAX				-326		/* 0xFFFFFEBA */
 | 
			
		||||
#define ERR_CONTEXT_CREATION						-328		/* 0xFFFFFEB8 */
 | 
			
		||||
#define ERR_INVALID_UNION_TAG						-329		/* 0xFFFFFEB7 */
 | 
			
		||||
#define ERR_INVALID_SERVER_RESPONSE 			-330		/* 0xFFFFFEB6 */
 | 
			
		||||
#define ERR_NULL_POINTER							-331		/* 0xFFFFFEB5 */
 | 
			
		||||
#define ERR_NO_SERVER_FOUND 						-332		/* 0xFFFFFEB4 */
 | 
			
		||||
#define ERR_NO_CONNECTION							-333		/* 0xFFFFFEB3 */
 | 
			
		||||
#define ERR_RDN_TOO_LONG							-334		/* 0xFFFFFEB2 */
 | 
			
		||||
#define ERR_DUPLICATE_TYPE							-335		/* 0xFFFFFEB1 */
 | 
			
		||||
#define ERR_DATA_STORE_FAILURE					-336		/* 0xFFFFFEB0 */
 | 
			
		||||
#define ERR_NOT_LOGGED_IN							-337		/* 0xFFFFFEAF */
 | 
			
		||||
#define ERR_INVALID_PASSWORD_CHARS				-338		/* 0xFFFFFEAE */
 | 
			
		||||
#define ERR_FAILED_SERVER_AUTHENT				-339		/* 0xFFFFFEAD */
 | 
			
		||||
#define ERR_TRANSPORT								-340		/* 0xFFFFFEAC */
 | 
			
		||||
#define ERR_NO_SUCH_SYNTAX							-341		/* 0xFFFFFEAB */
 | 
			
		||||
#define ERR_INVALID_DS_NAME 						-342		/* 0xFFFFFEAA */
 | 
			
		||||
#define ERR_ATTR_NAME_TOO_LONG					-343		/* 0xFFFFFEA9 */
 | 
			
		||||
#define ERR_INVALID_TDS 							-344		/* 0xFFFFFEA8 */
 | 
			
		||||
#define ERR_INVALID_DS_VERSION					-345		/* 0xFFFFFEA7 */
 | 
			
		||||
#define ERR_UNICODE_TRANSLATION 					-346		/* 0xFFFFFEA6 */
 | 
			
		||||
#define ERR_SCHEMA_NAME_TOO_LONG					-347		/* 0xFFFFFEA5 */
 | 
			
		||||
#define ERR_UNICODE_FILE_NOT_FOUND				-348		/* 0xFFFFFEA4 */
 | 
			
		||||
#define ERR_UNICODE_ALREADY_LOADED				-349		/* 0xFFFFFEA3 */
 | 
			
		||||
#define ERR_NOT_CONTEXT_OWNER						-350		/* 0xFFFFFEA2 */
 | 
			
		||||
#define ERR_ATTEMPT_TO_AUTHENTICATE_0			-351		/* 0xFFFFFEA1 */
 | 
			
		||||
#define ERR_NO_WRITABLE_REPLICAS					-352		/* 0xFFFFFEA0 */
 | 
			
		||||
#define ERR_DN_TOO_LONG 							-353		/* 0xFFFFFE9F */
 | 
			
		||||
#define ERR_RENAME_NOT_ALLOWED					-354		/* 0xFFFFFE9E */
 | 
			
		||||
#define ERR_NOT_NDS_FOR_NT							-355		/* 0xFFFFFE9D */
 | 
			
		||||
#define ERR_NDS_FOR_NT_NO_DOMAIN          	-356		/* 0xFFFFFE9C */
 | 
			
		||||
#define ERR_NDS_FOR_NT_SYNC_DISABLED      	-357		/* 0xFFFFFE9B */
 | 
			
		||||
#define ERR_ITR_INVALID_HANDLE		      	-358		/* 0xFFFFFE9A */
 | 
			
		||||
#define ERR_ITR_INVALID_POSITION		      	-359		/* 0xFFFFFE99 */
 | 
			
		||||
#define ERR_ITR_INVALID_SEARCH_DATA	      	-360		/* 0xFFFFFE98 */
 | 
			
		||||
#define ERR_ITR_INVALID_SCOPE			      	-361		/* 0xFFFFFE97 */
 | 
			
		||||
#define ERR_ITR_MAX_COUNT			      	-362		/* 0xFFFFFE96 */
 | 
			
		||||
 | 
			
		||||
/* -601 to -799 are returned by the directory services agent in the server */
 | 
			
		||||
#define ERR_NO_SUCH_ENTRY							-601		/* 0xFFFFFDA7 */
 | 
			
		||||
#define ERR_NO_SUCH_VALUE							-602		/* 0xFFFFFDA6 */
 | 
			
		||||
#define ERR_NO_SUCH_ATTRIBUTE						-603		/* 0xFFFFFDA5 */
 | 
			
		||||
#define ERR_NO_SUCH_CLASS							-604		/* 0xFFFFFDA4 */
 | 
			
		||||
#define ERR_NO_SUCH_PARTITION						-605		/* 0xFFFFFDA3 */
 | 
			
		||||
#define ERR_ENTRY_ALREADY_EXISTS					-606		/* 0xFFFFFDA2 */
 | 
			
		||||
#define ERR_NOT_EFFECTIVE_CLASS 					-607		/* 0xFFFFFDA1 */
 | 
			
		||||
#define ERR_ILLEGAL_ATTRIBUTE						-608		/* 0xFFFFFDA0 */
 | 
			
		||||
#define ERR_MISSING_MANDATORY						-609		/* 0xFFFFFD9F */
 | 
			
		||||
#define ERR_ILLEGAL_DS_NAME 						-610		/* 0xFFFFFD9E */
 | 
			
		||||
#define ERR_ILLEGAL_CONTAINMENT 					-611		/* 0xFFFFFD9D */
 | 
			
		||||
#define ERR_CANT_HAVE_MULTIPLE_VALUES			-612		/* 0xFFFFFD9C */
 | 
			
		||||
#define ERR_SYNTAX_VIOLATION						-613		/* 0xFFFFFD9B */
 | 
			
		||||
#define ERR_DUPLICATE_VALUE 						-614		/* 0xFFFFFD9A */
 | 
			
		||||
#define ERR_ATTRIBUTE_ALREADY_EXISTS			-615		/* 0xFFFFFD99 */
 | 
			
		||||
#define ERR_MAXIMUM_ENTRIES_EXIST				-616		/* 0xFFFFFD98 */
 | 
			
		||||
#define ERR_DATABASE_FORMAT 						-617		/* 0xFFFFFD97 */
 | 
			
		||||
#define ERR_INCONSISTENT_DATABASE				-618		/* 0xFFFFFD96 */
 | 
			
		||||
#define ERR_INVALID_COMPARISON					-619		/* 0xFFFFFD95 */
 | 
			
		||||
#define ERR_COMPARISON_FAILED						-620		/* 0xFFFFFD94 */
 | 
			
		||||
#define ERR_TRANSACTIONS_DISABLED				-621		/* 0xFFFFFD93 */
 | 
			
		||||
#define ERR_INVALID_TRANSPORT						-622		/* 0xFFFFFD92 */
 | 
			
		||||
#define ERR_SYNTAX_INVALID_IN_NAME				-623		/* 0xFFFFFD91 */
 | 
			
		||||
#define ERR_REPLICA_ALREADY_EXISTS				-624		/* 0xFFFFFD90 */
 | 
			
		||||
#define ERR_TRANSPORT_FAILURE						-625		/* 0xFFFFFD8F */
 | 
			
		||||
#define ERR_ALL_REFERRALS_FAILED					-626		/* 0xFFFFFD8E */
 | 
			
		||||
#define ERR_CANT_REMOVE_NAMING_VALUE			-627		/* 0xFFFFFD8D */
 | 
			
		||||
#define ERR_OBJECT_CLASS_VIOLATION				-628		/* 0xFFFFFD8C */
 | 
			
		||||
#define ERR_ENTRY_IS_NOT_LEAF						-629		/* 0xFFFFFD8B */
 | 
			
		||||
#define ERR_DIFFERENT_TREE							-630		/* 0xFFFFFD8A */
 | 
			
		||||
#define ERR_ILLEGAL_REPLICA_TYPE					-631		/* 0xFFFFFD89 */
 | 
			
		||||
#define ERR_SYSTEM_FAILURE							-632		/* 0xFFFFFD88 */
 | 
			
		||||
#define ERR_INVALID_ENTRY_FOR_ROOT				-633		/* 0xFFFFFD87 */
 | 
			
		||||
#define ERR_NO_REFERRALS							-634		/* 0xFFFFFD86 */
 | 
			
		||||
#define ERR_REMOTE_FAILURE							-635		/* 0xFFFFFD85 */
 | 
			
		||||
#define ERR_UNREACHABLE_SERVER					-636		/* 0XFFFFFD84 */
 | 
			
		||||
#define ERR_PREVIOUS_MOVE_IN_PROGRESS			-637		/* 0XFFFFFD83 */
 | 
			
		||||
#define ERR_NO_CHARACTER_MAPPING					-638		/* 0XFFFFFD82 */
 | 
			
		||||
#define ERR_INCOMPLETE_AUTHENTICATION			-639		/* 0XFFFFFD81 */
 | 
			
		||||
#define ERR_INVALID_CERTIFICATE 					-640		/* 0xFFFFFD80 */
 | 
			
		||||
#define ERR_INVALID_REQUEST 						-641		/* 0xFFFFFD7F */
 | 
			
		||||
#define ERR_INVALID_ITERATION						-642		/* 0xFFFFFD7E */
 | 
			
		||||
#define ERR_SCHEMA_IS_NONREMOVABLE				-643		/* 0xFFFFFD7D */
 | 
			
		||||
#define ERR_SCHEMA_IS_IN_USE						-644		/* 0xFFFFFD7C */
 | 
			
		||||
#define ERR_CLASS_ALREADY_EXISTS					-645		/* 0xFFFFFD7B */
 | 
			
		||||
#define ERR_BAD_NAMING_ATTRIBUTES				-646		/* 0xFFFFFD7A */
 | 
			
		||||
#define ERR_NOT_ROOT_PARTITION					-647		/* 0xFFFFFD79 */
 | 
			
		||||
#define ERR_INSUFFICIENT_STACK					-648		/* 0xFFFFFD78 */
 | 
			
		||||
#define ERR_INSUFFICIENT_BUFFER 					-649		/* 0xFFFFFD77 */
 | 
			
		||||
#define ERR_AMBIGUOUS_CONTAINMENT				-650		/* 0xFFFFFD76 */
 | 
			
		||||
#define ERR_AMBIGUOUS_NAMING						-651		/* 0xFFFFFD75 */
 | 
			
		||||
#define ERR_DUPLICATE_MANDATORY 					-652		/* 0xFFFFFD74 */
 | 
			
		||||
#define ERR_DUPLICATE_OPTIONAL					-653		/* 0xFFFFFD73 */
 | 
			
		||||
#define ERR_PARTITION_BUSY							-654		/* 0XFFFFFD72 */
 | 
			
		||||
#define ERR_MULTIPLE_REPLICAS						-655		/* 0xFFFFFD71 */
 | 
			
		||||
#define ERR_CRUCIAL_REPLICA 						-656		/* 0xFFFFFD70 */
 | 
			
		||||
#define ERR_SCHEMA_SYNC_IN_PROGRESS 			-657		/* 0xFFFFFD6F */
 | 
			
		||||
#define ERR_SKULK_IN_PROGRESS						-658		/* 0xFFFFFD6E */
 | 
			
		||||
#define ERR_TIME_NOT_SYNCHRONIZED				-659		/* 0xFFFFFD6D */
 | 
			
		||||
#define ERR_RECORD_IN_USE							-660		/* 0xFFFFFD6C */
 | 
			
		||||
#define ERR_DS_VOLUME_NOT_MOUNTED				-661		/* 0xFFFFFD6B */
 | 
			
		||||
#define ERR_DS_VOLUME_IO_FAILURE					-662		/* 0xFFFFFD6A */
 | 
			
		||||
#define ERR_DS_LOCKED								-663		/* 0xFFFFFD69 */
 | 
			
		||||
#define ERR_OLD_EPOCH								-664		/* 0xFFFFFD68 */
 | 
			
		||||
#define ERR_NEW_EPOCH								-665		/* 0xFFFFFD67 */
 | 
			
		||||
#define ERR_INCOMPATIBLE_DS_VERSION 			-666		/* 0xFFFFFD66 */
 | 
			
		||||
#define ERR_PARTITION_ROOT							-667		/* 0xFFFFFD65 */
 | 
			
		||||
#define ERR_ENTRY_NOT_CONTAINER 					-668		/* 0xFFFFFD64 */
 | 
			
		||||
#define ERR_FAILED_AUTHENTICATION				-669		/* 0xFFFFFD63 */
 | 
			
		||||
#define ERR_INVALID_CONTEXT 						-670		/* 0xFFFFFD62 */
 | 
			
		||||
#define ERR_NO_SUCH_PARENT							-671		/* 0xFFFFFD61 */
 | 
			
		||||
#define ERR_NO_ACCESS								-672		/* 0xFFFFFD60 */
 | 
			
		||||
#define ERR_REPLICA_NOT_ON							-673		/* 0xFFFFFD5F */
 | 
			
		||||
#define ERR_INVALID_NAME_SERVICE					-674		/* 0xFFFFFD5E */
 | 
			
		||||
#define ERR_INVALID_TASK							-675		/* 0xFFFFFD5D */
 | 
			
		||||
#define ERR_INVALID_CONN_HANDLE 					-676		/* 0xFFFFFD5C */
 | 
			
		||||
#define ERR_INVALID_IDENTITY						-677		/* 0xFFFFFD5B */
 | 
			
		||||
#define ERR_DUPLICATE_ACL							-678		/* 0xFFFFFD5A */
 | 
			
		||||
#define ERR_PARTITION_ALREADY_EXISTS			-679		/* 0xFFFFFD59 */
 | 
			
		||||
#define ERR_TRANSPORT_MODIFIED					-680		/* 0xFFFFFD58 */
 | 
			
		||||
#define ERR_ALIAS_OF_AN_ALIAS						-681		/* 0xFFFFFD57 */
 | 
			
		||||
#define ERR_AUDITING_FAILED 						-682		/* 0xFFFFFD56 */
 | 
			
		||||
#define ERR_INVALID_API_VERSION 					-683		/* 0xFFFFFD55 */
 | 
			
		||||
#define ERR_SECURE_NCP_VIOLATION					-684		/* 0xFFFFFD54 */
 | 
			
		||||
#define ERR_MOVE_IN_PROGRESS						-685		/* 0xFFFFFD53 */
 | 
			
		||||
#define ERR_NOT_LEAF_PARTITION					-686		/* 0xFFFFFD52 */
 | 
			
		||||
#define ERR_CANNOT_ABORT							-687		/* 0xFFFFFD51 */
 | 
			
		||||
#define ERR_CACHE_OVERFLOW							-688		/* 0xFFFFFD50 */
 | 
			
		||||
#define ERR_INVALID_SUBORDINATE_COUNT			-689		/* 0xFFFFFD4F */
 | 
			
		||||
#define ERR_INVALID_RDN 							-690		/* 0xFFFFFD4E */
 | 
			
		||||
#define ERR_MOD_TIME_NOT_CURRENT					-691		/* 0xFFFFFD4D */
 | 
			
		||||
#define ERR_INCORRECT_BASE_CLASS					-692		/* 0xFFFFFD4C */
 | 
			
		||||
#define ERR_MISSING_REFERENCE						-693		/* 0xFFFFFD4B */
 | 
			
		||||
#define ERR_LOST_ENTRY								-694		/* 0xFFFFFD4A */
 | 
			
		||||
#define ERR_AGENT_ALREADY_REGISTERED			-695		/* 0xFFFFFD49 */
 | 
			
		||||
#define ERR_DS_LOADER_BUSY							-696		/* 0xFFFFFD48 */
 | 
			
		||||
#define ERR_DS_CANNOT_RELOAD						-697		/* 0xFFFFFD47 */
 | 
			
		||||
#define ERR_REPLICA_IN_SKULK						-698		/* 0xFFFFFD46 */
 | 
			
		||||
#define ERR_FATAL										-699		/* 0xFFFFFD45 */
 | 
			
		||||
#define ERR_OBSOLETE_API							-700		/* 0xFFFFFD44 */
 | 
			
		||||
#define ERR_SYNCHRONIZATION_DISABLED			-701		/* 0xFFFFFD43 */
 | 
			
		||||
#define ERR_INVALID_PARAMETER						-702		/* 0xFFFFFD42 */
 | 
			
		||||
#define ERR_DUPLICATE_TEMPLATE					-703		/* 0xFFFFFD41 */
 | 
			
		||||
#define ERR_NO_MASTER_REPLICA						-704		/* 0xFFFFFD40 */
 | 
			
		||||
#define ERR_DUPLICATE_CONTAINMENT				-705		/* 0xFFFFFD3F */
 | 
			
		||||
#define ERR_NOT_SIBLING 							-706		/* 0xFFFFFD3E */
 | 
			
		||||
#define ERR_INVALID_SIGNATURE						-707		/* 0xFFFFFD3D */
 | 
			
		||||
#define ERR_INVALID_RESPONSE						-708		/* 0xFFFFFD3C */
 | 
			
		||||
#define ERR_INSUFFICIENT_SOCKETS					-709		/* 0xFFFFFD3B */
 | 
			
		||||
#define ERR_DATABASE_READ_FAIL					-710		/* 0xFFFFFD3A */
 | 
			
		||||
#define ERR_INVALID_CODE_PAGE						-711		/* 0xFFFFFD39 */
 | 
			
		||||
#define ERR_INVALID_ESCAPE_CHAR 					-712		/* 0xFFFFFD38 */
 | 
			
		||||
#define ERR_INVALID_DELIMITERS					-713		/* 0xFFFFFD37 */
 | 
			
		||||
#define ERR_NOT_IMPLEMENTED 						-714		/* 0xFFFFFD36 */
 | 
			
		||||
#define ERR_CHECKSUM_FAILURE						-715		/* 0xFFFFFD35 */
 | 
			
		||||
#define ERR_CHECKSUMMING_NOT_SUPPORTED			-716		/* 0xFFFFFD34 */
 | 
			
		||||
#define ERR_CRC_FAILURE 							-717		/* 0xFFFFFD33 */
 | 
			
		||||
#define ERR_INVALID_ENTRY_HANDLE					-718		/* 0xFFFFFD32 */
 | 
			
		||||
#define ERR_INVALID_VALUE_HANDLE					-719		/* 0xFFFFFD31 */
 | 
			
		||||
#define ERR_CONNECTION_DENIED						-720		/* 0xFFFFFD30 */
 | 
			
		||||
#define ERR_NO_SUCH_FEDERATION_LINK 			-721		/* 0xFFFFFD2F */
 | 
			
		||||
#define ERR_OP_SCHEMA_MISMATCH 					-722		/* 0xFFFFFD2E */
 | 
			
		||||
#define ERR_STREAM_NOT_FOUND						-723		/* 0xFFFFFD2D */
 | 
			
		||||
#define ERR_DCLIENT_UNAVAILABLE 					-724		/* 0xFFFFFD2C */
 | 
			
		||||
#define ERR_MASV_NO_ACCESS							-725		/* 0xFFFFFD2B */
 | 
			
		||||
#define ERR_MASV_INVALID_REQUEST					-726		/* 0xFFFFFD2A */
 | 
			
		||||
#define ERR_MASV_FAILURE							-727		/* 0xFFFFFD29 */
 | 
			
		||||
#define ERR_MASV_ALREADY_EXISTS					-728		/* 0xFFFFFD28 */
 | 
			
		||||
#define ERR_MASV_NOT_FOUND							-729		/* 0xFFFFFD27 */
 | 
			
		||||
#define ERR_MASV_BAD_RANGE							-730		/* 0xFFFFFD26 */
 | 
			
		||||
#define ERR_VALUE_DATA								-731		/* 0xFFFFFD25 */
 | 
			
		||||
#define ERR_DATABASE_LOCKED						-732		/* 0xFFFFFD24 */
 | 
			
		||||
#define ERR_DATABASE_ALREADY_EXISTS				-733		/* 0xFFFFFD23 */
 | 
			
		||||
#define ERR_DATABASE_NOT_FOUND					-734		/* 0xFFFFFD22 */
 | 
			
		||||
#define ERR_NOTHING_TO_ABORT						-735		/* 0xFFFFFD21 */
 | 
			
		||||
#define ERR_END_OF_STREAM							-736		/* 0xFFFFFD20 */
 | 
			
		||||
#define ERR_NO_SUCH_TEMPLATE						-737		/* 0xFFFFFD1F */
 | 
			
		||||
#define ERR_SAS_LOCKED								-738		/* 0xFFFFFD1E */
 | 
			
		||||
#define ERR_INVALID_SAS_VERSION					-739		/* 0xFFFFFD1D */
 | 
			
		||||
#define ERR_SAS_ALREADY_REGISTERED				-740		/* 0xFFFFFD1C */
 | 
			
		||||
#define ERR_NAME_TYPE_NOT_SUPPORTED				-741		/* 0xFFFFFD1B */
 | 
			
		||||
#define ERR_WRONG_DS_VERSION						-742		/* 0xFFFFFD1A */
 | 
			
		||||
#define ERR_INVALID_CONTROL_FUNCTION			-743		/* 0xFFFFFD19 */
 | 
			
		||||
#define ERR_INVALID_CONTROL_STATE				-744		/* 0xFFFFFD18 */
 | 
			
		||||
#define ERR_CACHE_IN_USE							-745		/* 0xFFFFFD17 */
 | 
			
		||||
#define ERR_ZERO_CREATION_TIME					-746		/* 0xFFFFFD16 */
 | 
			
		||||
#define ERR_WOULD_BLOCK								-747		/* 0xFFFFFD15 */
 | 
			
		||||
#define ERR_CONN_TIMEOUT							-748		/* 0xFFFFFD14 */
 | 
			
		||||
#define ERR_TOO_MANY_REFERRALS					-749		/* 0xFFFFFD13 */
 | 
			
		||||
#define ERR_OPERATION_CANCELLED					-750		/* 0xFFFFFD12 */
 | 
			
		||||
#define ERR_UNKNOWN_TARGET							-751		/* 0xFFFFFD11 */
 | 
			
		||||
#define ERR_GUID_FAILURE							-752		/* 0xFFFFFD10 */
 | 
			
		||||
#define ERR_INCOMPATIBLE_OS						-753		/* 0xFFFFFD0F */
 | 
			
		||||
#define ERR_CALLBACK_CANCEL						-754		/* 0xFFFFFD0E */
 | 
			
		||||
#define ERR_INVALID_SYNC_DATA						-755		/* 0xFFFFFD0D */
 | 
			
		||||
#define ERR_STREAM_EXISTS							-756		/* 0xFFFFFD0C */
 | 
			
		||||
#define ERR_AUXILIARY_HAS_CONTAINMENT			-757		/* 0xFFFFFD0B */
 | 
			
		||||
#define ERR_AUXILIARY_NOT_CONTAINER				-758		/* 0xFFFFFD0A */
 | 
			
		||||
#define ERR_AUXILIARY_NOT_EFFECTIVE				-759		/* 0XFFFFFD09 */
 | 
			
		||||
#define ERR_AUXILIARY_ON_ALIAS					-760		/* 0xFFFFFD08 */
 | 
			
		||||
#define ERR_HAVE_SEEN_STATE						-761		/* 0xFFFFFD07 */
 | 
			
		||||
#define ERR_VERB_LOCKED								-762		/* 0xFFFFFD06 */
 | 
			
		||||
#define ERR_VERB_EXCEEDS_TABLE_LENGTH			-763		/* 0xFFFFFD05 */
 | 
			
		||||
#define ERR_BOF_HIT									-764		/* 0xFFFFFD04 */
 | 
			
		||||
#define ERR_EOF_HIT									-765		/* 0xFFFFFD03 */
 | 
			
		||||
#define ERR_INCOMPATIBLE_REPLICA_VER			-766		/* 0xFFFFFD02 */
 | 
			
		||||
#define ERR_QUERY_TIMEOUT							-767		/* 0xFFFFFD01 */
 | 
			
		||||
#define ERR_QUERY_MAX_COUNT						-768		/* 0xFFFFFD00 */
 | 
			
		||||
#define ERR_DUPLICATE_NAMING						-769		/* 0xFFFFFCFF */
 | 
			
		||||
#define ERR_NO_TRANS_ACTIVE						-770		/* 0xFFFFFCFE */
 | 
			
		||||
#define ERR_TRANS_ACTIVE							-771		/* 0xFFFFFCFD */
 | 
			
		||||
#define ERR_ILLEGAL_TRANS_OP						-772		/* 0xFFFFFCFC */
 | 
			
		||||
#define ERR_ITERATOR_SYNTAX						-773		/* 0xFFFFFCFB */
 | 
			
		||||
#define ERR_REPAIRING_DIB							-774     /* 0xFFFFFCFA */
 | 
			
		||||
#define ERR_INVALID_OID_FORMAT					-775     /* 0xFFFFFCF9 */
 | 
			
		||||
#define ERR_DS_AGENT_CLOSING						-776     /* 0xFFFFFCF8 */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
* -777 and -778 reserved for sparse replica errors that are in tao
 | 
			
		||||
*/
 | 
			
		||||
#define ERR_CANNOT_GO_REMOTE						-779     /* 0xFFFFFCF5 */
 | 
			
		||||
 | 
			
		||||
/* NOTE: In order to accommodate older compilers, do not introduce a new
 | 
			
		||||
 * error code name longer than 31 characters.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/*===========================================================================*/
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										705
									
								
								c_clientlogin/xplatincl/nwdsevnt.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										705
									
								
								c_clientlogin/xplatincl/nwdsevnt.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,705 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
  Source module name:  nwdsevnt.h
 | 
			
		||||
  Release Version:
 | 
			
		||||
 | 
			
		||||
  %name: nwdsevnt.h %
 | 
			
		||||
  %version: 10 %
 | 
			
		||||
  %date_modified: Wed Aug 25 09:48:37 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1998 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#ifndef  _NWDSEVNT_HEADER_
 | 
			
		||||
#define  _NWDSEVNT_HEADER_
 | 
			
		||||
 | 
			
		||||
/*---------------------------------------------------------------------------
 | 
			
		||||
 * definitions and functions required to receive event reports
 | 
			
		||||
 */
 | 
			
		||||
typedef enum DSEventPriority {EP_INLINE, EP_JOURNAL, EP_WORK} DSEventPriority;
 | 
			
		||||
 | 
			
		||||
/*---------------------------------------------------------------------------
 | 
			
		||||
 * event types
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define DSE_INLINE_ONLY             0x80000000
 | 
			
		||||
#define DSE_EVENT_MASK              0x7FFFFFFF
 | 
			
		||||
 | 
			
		||||
/* First 19 events in 4.10 release; events 20-25 added to IW2 */
 | 
			
		||||
#define DSE_INVALID                    0
 | 
			
		||||
#define DSE_CREATE_ENTRY               1  /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_DELETE_ENTRY               2  /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_RENAME_ENTRY               3  /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_MOVE_SOURCE_ENTRY          4  /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_ADD_VALUE                  5  /* data is DSEValueInfo */
 | 
			
		||||
#define DSE_DELETE_VALUE               6  /* data is DSEValueInfo */
 | 
			
		||||
#define DSE_CLOSE_STREAM               7  /* data is DSEValueInfo */
 | 
			
		||||
#define DSE_DELETE_ATTRIBUTE           8  /* data is DSEValueInfo */
 | 
			
		||||
#define DSE_SET_BINDERY_CONTEXT        9  /* no data */
 | 
			
		||||
#define DSE_CREATE_BINDERY_OBJECT      10 /* data is DSEBinderyObjectInfo */
 | 
			
		||||
#define DSE_DELETE_BINDERY_OBJECT      11 /* data is DSEBinderyObjectInfo */
 | 
			
		||||
#define DSE_CHECK_SEV                  12 /* data is DSESEVInfo */
 | 
			
		||||
#define DSE_UPDATE_SEV                 13 /* no data */
 | 
			
		||||
#define DSE_MOVE_DEST_ENTRY            14 /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_DELETE_UNUSED_EXTREF       15 /* data is DSEEntryInfo */
 | 
			
		||||
#define DSE_REMOTE_SERVER_DOWN         17 /* data is DSENetAddress */
 | 
			
		||||
#define DSE_NCP_RETRY_EXPENDED         18 /* data is DSENetAddress */
 | 
			
		||||
#define DSE_REMOTE_CONN_CLEARED        19 /* data is DSENetAddress */
 | 
			
		||||
#define DSE_PARTITION_OPERATION_EVENT  20 /* data is DSEEventData; used by SCALE */
 | 
			
		||||
#define DSE_CHANGE_MODULE_STATE        21 /* data is DSEModuleState */
 | 
			
		||||
#define DSE_RESERVED_2                 22 /* reserved */
 | 
			
		||||
#define DSE_RESERVED_3                 23 /* reserved */
 | 
			
		||||
#define DSE_RESERVED_4                 24 /* reserved */
 | 
			
		||||
#define DSE_RESERVED_5                 25 /* reserved */
 | 
			
		||||
 | 
			
		||||
/* Events added post 4.10 */
 | 
			
		||||
   /* All the DSE_DB_... events are "debug" trace events, each event
 | 
			
		||||
    * corresponds to one old DSTrace type TV_..., most have many messages
 | 
			
		||||
    * using the same event ID. No attempt has been made to make these calls
 | 
			
		||||
    * outside the NDS locks, so you must presume that all these calls come
 | 
			
		||||
    * inside the locks.  These all use the DSEDebugInfo data structure,
 | 
			
		||||
    * and the result (error) field is always 0 for these events
 | 
			
		||||
   */
 | 
			
		||||
#define DSE_DB_AUTHEN                  26 /* authentication */
 | 
			
		||||
#define DSE_DB_BACKLINK                27 /* backlink */
 | 
			
		||||
#define DSE_DB_BUFFERS                 28 /* request buffer display */
 | 
			
		||||
#define DSE_DB_COLL                    29 /* collisions */
 | 
			
		||||
#define DSE_DB_DSAGENT                 30 /* low level DSA tracing */
 | 
			
		||||
#define DSE_DB_EMU                     31 /* bindery emulator */
 | 
			
		||||
#define DSE_DB_FRAGGER                 32 /* fragger */
 | 
			
		||||
#define DSE_DB_INIT                    33 /* initialization */
 | 
			
		||||
#define DSE_DB_INSPECTOR               34 /* inspector */
 | 
			
		||||
#define DSE_DB_JANITOR                 35 /* janitor */
 | 
			
		||||
#define DSE_DB_LIMBER                  36 /* limber */
 | 
			
		||||
#define DSE_DB_LOCKING                 37 /* locking */
 | 
			
		||||
#define DSE_DB_MOVE                    38 /* move */
 | 
			
		||||
#define DSE_DB_MIN                     39 /* default dstrace messages (equivalent to ON) */
 | 
			
		||||
#define DSE_DB_MISC                    40 /* miscellaneous */
 | 
			
		||||
#define DSE_DB_PART                    41 /* partition operations */
 | 
			
		||||
#define DSE_DB_RECMAN                  42 /* record manager */
 | 
			
		||||
#define DSE_DB_RESNAME                 44 /* resolve name */
 | 
			
		||||
#define DSE_DB_SAP                     45 /* SAP */
 | 
			
		||||
#define DSE_DB_SCHEMA                  46 /* schema */
 | 
			
		||||
#define DSE_DB_SKULKER                 47 /* skulker */
 | 
			
		||||
#define DSE_DB_STREAMS                 48 /* streams */
 | 
			
		||||
#define DSE_DB_SYNC_IN                 49 /* incoming sync traffic */
 | 
			
		||||
#define DSE_DB_THREADS                 50 /* DS thread scheduling */
 | 
			
		||||
#define DSE_DB_TIMEVECTOR              51 /* time vectors */
 | 
			
		||||
#define DSE_DB_VCLIENT                 52 /* virtual client */
 | 
			
		||||
 | 
			
		||||
   /* Nearly all the following events use the same DSEEventData structure.
 | 
			
		||||
    * Not all fields are filled in for each event.  The data in the
 | 
			
		||||
    * structure is shown for each event.  Any unused fields are set to -1
 | 
			
		||||
    * for the ids or values, or set to 0 for the pointers.
 | 
			
		||||
    */
 | 
			
		||||
#define DSE_AGENT_OPEN_LOCAL           53 /* d1-state(2-Audit, 1-start, 0-end), result-valid for end state only, not in locks */
 | 
			
		||||
#define DSE_AGENT_CLOSE_LOCAL          54 /* d1-state(1-start, 0-end), not in locks */
 | 
			
		||||
#define DSE_DS_ERR_VIA_BINDERY         55 /* d1-error code being returned via the bindery, not in locks */
 | 
			
		||||
#define DSE_DSA_BAD_VERB               56 /* d1-bad verb number given to DSA Request (NCP 104, 2), not in locks */
 | 
			
		||||
#define DSE_DSA_REQUEST_START          57 /* d1-verb number (NCP 104, 2), not in locks */
 | 
			
		||||
#define DSE_DSA_REQUEST_END            58 /* d1-verb number, d2-primaryID, d3-request size, d4-reply size, not in locks */
 | 
			
		||||
#define DSE_MOVE_SUBTREE               59 /* d1-source ID, d1-Dest ID, not in locks */
 | 
			
		||||
#define DSE_NO_REPLICA_PTR             60 /* d1-partitionID of partition, inside locks */
 | 
			
		||||
#define DSE_SYNC_IN_END                61 /* d1-ID of server sending changes, d2 - partition Root ID, p3-Number entries sent(if no error), not in locks */
 | 
			
		||||
#define DSE_BKLINK_SEV                 62 /* d1-ID of object being updated, not in locks */
 | 
			
		||||
#define DSE_BKLINK_OPERATOR            63 /* d1-ID of object whose console operator privilegs were changes, d2-ID of server privileges changed on, not in locks */
 | 
			
		||||
#define DSE_DELETE_SUBTREE             64 /* d1-ID of subtree root, d2-count of objects deleted, inside locks & transaction */
 | 
			
		||||
#define DSE_SET_NEW_MASTER             65 /* d1-ID of partition being changed, not in locks */
 | 
			
		||||
#define DSE_PART_STATE_CHG_REQ         66 /* d1-ID of partition, d2-partnerPartID, d3-(function<<16)|type, d4-state */
 | 
			
		||||
#define DSE_REFERRAL                   67 /* d1-ID of local entry, d2-ID of partition, d3-referral type */
 | 
			
		||||
#define DSE_UPDATE_CLASS_DEF           68 /* uname-name of schema class updated (added), inside locks & transaction */
 | 
			
		||||
#define DSE_UPDATE_ATTR_DEF            69 /* uname-name of schema attribute updated (added), inside locks & transaction */
 | 
			
		||||
#define DSE_LOST_ENTRY                 70 /* d1-parent ID of entry, d2-timestamp.seconds of entry, d3-timestamp.replicaNumber, d4-timestamp.event, uname-unicode name of entry, inside locks & transaction */
 | 
			
		||||
#define DSE_PURGE_ENTRY_FAIL           71 /* d1-ID of entry that failed, inside lock & transaction */
 | 
			
		||||
#define DSE_PURGE_START                72 /* d1-ID of partition being purged, d2-replica type, inside lock */
 | 
			
		||||
#define DSE_PURGE_END                  73 /* d1-ID of partition purged, d2-number entries purged, d3-number values purged, not in locks */
 | 
			
		||||
#define DSE_FLAT_CLEANER_END           74 /* d1-number entries purged, d2-number values purged, not in locks */
 | 
			
		||||
#define DSE_ONE_REPLICA                75 /* d1-ID of partition with only one replica, inside lock */
 | 
			
		||||
#define DSE_LIMBER_DONE                76 /* d1-all initialized (boolean value), d2-found new RDN (boolean), not in lock */
 | 
			
		||||
#define DSE_SPLIT_DONE                 77 /* d1-ID of parent partition root, d2-ID of child partition root, not in lock */
 | 
			
		||||
#define DSE_SYNC_SVR_OUT_START         78 /* d1-ID of server, d2-rootID, d3-replica number, d4-replica state&type&flags, not in locks */
 | 
			
		||||
#define DSE_SYNC_SVR_OUT_END           79 /* d1-ID of server, d2-partition rootID, d3-objects sent, d4-values sent, not in locks */
 | 
			
		||||
#define DSE_SYNC_PART_START            80 /* d1-partition ID, d2-partition state, d3-replica type, inside lock */
 | 
			
		||||
#define DSE_SYNC_PART_END              81 /* d1-partition ID, d2-(boolean value=)AllProcessed, not in lock */
 | 
			
		||||
#define DSE_MOVE_TREE_START            82 /* d1-ID of subtree root being moved, d2-destination (parent) ID, d3-server ID starting from, not in lock */
 | 
			
		||||
#define DSE_MOVE_TREE_END              83 /* d1-ID of subtree root being moved, d2-server ID starting from, not in lock */
 | 
			
		||||
#define DSE_RECERT_PUB_KEY             84 /* d1-ID of entry whose keys are being certified, inside locks & transaction */
 | 
			
		||||
#define DSE_GEN_CA_KEYS                85 /* d1-ID of entry having CA Keys generated, inside locks & transaction */
 | 
			
		||||
#define DSE_JOIN_DONE                  86 /* d1-ID of parent partition root, d2-ID of child partition root, inside lock */
 | 
			
		||||
#define DSE_PARTITION_LOCKED           87 /* d1-ID of partition being locked, not in locks */
 | 
			
		||||
#define DSE_PARTITION_UNLOCKED         88 /* d1-ID of partition being unlocked, not in locks */
 | 
			
		||||
#define DSE_SCHEMA_SYNC                89 /* d1-(boolean value=)allProcessed, not in locks */
 | 
			
		||||
#define DSE_NAME_COLLISION             90 /* d1-ID of original entry, d2-ID of duplicate entry, inside locks & transaction */
 | 
			
		||||
#define DSE_NLM_LOADED                 91 /* d1-module handle of NLM that was loaded, not in locks */
 | 
			
		||||
#define DSE_PARTITION_EVENT            92 /* ** Uses DSEPartitionData structure */
 | 
			
		||||
#define DSE_SKULKER_EVENT              93 /* ** Uses DSESkulkData structure */
 | 
			
		||||
#define DSE_LUMBER_DONE                94 /* no parameters, not in lock */
 | 
			
		||||
#define DSE_BACKLINK_PROC_DONE         95 /* no parameters, not in lock */
 | 
			
		||||
#define DSE_SERVER_RENAME              96 /* name-ascii new server name, inside locks */
 | 
			
		||||
#define DSE_SYNTHETIC_TIME             97 /* d1-root entry ID of partition issuing timestamp, d2-partition id, d3-count of timestamps requested, inside locks & transaction */
 | 
			
		||||
#define DSE_SERVER_ADDRESS_CHANGE      98 /* no parameters, in locks */
 | 
			
		||||
#define DSE_DSA_READ                   99 /* d1-ID of entry being read, not in locks */
 | 
			
		||||
 | 
			
		||||
   /* The following section of events are primarily for auditing, and thus
 | 
			
		||||
    * whenever possible, the event is inside a transaction, so they can
 | 
			
		||||
    * return an error and abort the transaction if necessary
 | 
			
		||||
    */
 | 
			
		||||
#define DSE_LOGIN                      100 /* d1-parent id, d2-entry id, d3-usedNullPassword(boolean), d4-bindery login(0) or NDS login (-1) */
 | 
			
		||||
#define DSE_CHGPASS                    101 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_LOGOUT                     102 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_ADD_REPLICA                103 /* d1-partition root id, d2-server ID, d3-replicaType, uname-servername */
 | 
			
		||||
#define DSE_REMOVE_REPLICA             104 /* d1-partition root id, d2-server ID, uname-servername */
 | 
			
		||||
#define DSE_SPLIT_PARTITION            105 /* d1-parent partition root id, d2-new partition root id, uname-new partition entry name */
 | 
			
		||||
#define DSE_JOIN_PARTITIONS            106 /* d1-parent partition root id, d2-child partition root id */
 | 
			
		||||
#define DSE_CHANGE_REPLICA_TYPE        107 /* d1-partition root id, d2-target server ID, d3-old type, d4-new type*/
 | 
			
		||||
#define DSE_REMOVE_ENTRY               108 /* d1-parent id, d2-entry id, uname-entry name */
 | 
			
		||||
#define DSE_ABORT_PARTITION_OP         109 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_RECV_REPLICA_UPDATES       110 /* d1-replica root id */
 | 
			
		||||
#define DSE_REPAIR_TIME_STAMPS         111 /* d1-replica root id */
 | 
			
		||||
#define DSE_SEND_REPLICA_UPDATES       112 /* d1-replica root id */
 | 
			
		||||
#define DSE_VERIFY_PASS                113 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_BACKUP_ENTRY               114 /* d1-entry id */
 | 
			
		||||
#define DSE_RESTORE_ENTRY              115 /* d1-parent id, name-entry rdn */
 | 
			
		||||
#define DSE_DEFINE_ATTR_DEF            116 /* uname-attribute name*/
 | 
			
		||||
#define DSE_REMOVE_ATTR_DEF            117 /* d1-attr id, d2-schema root ID, uname-attribute name */
 | 
			
		||||
#define DSE_REMOVE_CLASS_DEF           118 /* d1-class id, d2-schema root ID, uname-class name */
 | 
			
		||||
#define DSE_DEFINE_CLASS_DEF           119 /* uname-class name*/
 | 
			
		||||
#define DSE_MODIFY_CLASS_DEF           120 /* d1-class id, d2-schema root ID, uname-class name */
 | 
			
		||||
#define DSE_RESET_DS_COUNTERS          121 /* d2-server ID */
 | 
			
		||||
#define DSE_REMOVE_ENTRY_DIR           122 /* d1-parent id, d2-entry id, uname-entry name*/
 | 
			
		||||
#define DSE_COMPARE_ATTR_VALUE         123 /* d1-parent id, d2-entry id, uname-attribute name*/
 | 
			
		||||
#define DSE_STREAM                     124 /* d1-DSE_ST_OPEN, d2-entry id, d3-attr id, d4-requested rights */
 | 
			
		||||
                                           /* d1-DSE_ST_CLOSE, d2-entry id, d3-attr id */
 | 
			
		||||
#define DSE_LIST_SUBORDINATES          125 /* d1-parent id, d2-entry id, uname-entry name */
 | 
			
		||||
#define DSE_LIST_CONT_CLASSES          126 /* d1-parent id, d2-entry id, uname-entry name */
 | 
			
		||||
#define DSE_INSPECT_ENTRY              127 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_RESEND_ENTRY               128 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_MUTATE_ENTRY               129 /* d1-entry id, d2-new class id, uname-new class name */
 | 
			
		||||
#define DSE_MERGE_ENTRIES              130 /* d1-winner parent id, d2-winner entry id, uname-loser entry name*/
 | 
			
		||||
#define DSE_MERGE_TREE                 131 /* d1-root entry id */
 | 
			
		||||
#define DSE_CREATE_SUBREF              132 /* d1-sub ref id */
 | 
			
		||||
#define DSE_LIST_PARTITIONS            133 /* d1-partition root entry id */
 | 
			
		||||
#define DSE_READ_ATTR                  134 /* d1-entry id, d2-attribute id */
 | 
			
		||||
#define DSE_READ_REFERENCES            135 /* d1-entry id */
 | 
			
		||||
#define DSE_UPDATE_REPLICA             136 /* d1-partition root id, d2-entry id, uname-entry name */
 | 
			
		||||
#define DSE_START_UPDATE_REPLICA       137 /* d1-partition root id */
 | 
			
		||||
#define DSE_END_UPDATE_REPLICA         138 /* d1-parititon root id */
 | 
			
		||||
#define DSE_SYNC_PARTITION             139 /* d1-partition root id */
 | 
			
		||||
#define DSE_SYNC_SCHEMA                140 /* d1-tree root id */
 | 
			
		||||
#define DSE_CREATE_BACKLINK            141 /* d1-tree root id, d2-server ID request came from, d3-local entry ID, d4-remote entry ID */
 | 
			
		||||
#define DSE_CHECK_CONSOLE_OPERATOR     142 /* d1-tree root id, d2-server ID, d3-isOperator boolean, d4-object ID being checked */
 | 
			
		||||
#define DSE_CHANGE_TREE_NAME           143 /* d1-tree root id, uname-new tree name */
 | 
			
		||||
#define DSE_START_JOIN                 144 /* d1-parent partition root id, d2-child partition root id */
 | 
			
		||||
#define DSE_ABORT_JOIN                 145 /* d1-parent partition root id, d2-child partition root id */
 | 
			
		||||
#define DSE_UPDATE_SCHEMA              146 /* d1-tree root id, d2-server id, inside locks & transaction */
 | 
			
		||||
#define DSE_START_UPDATE_SCHEMA        147 /* d1-tree root id, d2-server id */
 | 
			
		||||
#define DSE_END_UPDATE_SCHEMA          148 /* d1-tree root id, d2-server id */
 | 
			
		||||
#define DSE_MOVE_TREE                  149 /* d1-source parent id, d2-dest. parent id, d3-type (0|1), uname-(0=source DN)|(1=newName) */
 | 
			
		||||
#define DSE_RELOAD_DS                  150 /* d1-tree root id */
 | 
			
		||||
#define DSE_ADD_PROPERTY               151 /* d1-object id, d3-security, d4-flags, name-object name */
 | 
			
		||||
#define DSE_DELETE_PROPERTY            152 /* d1-object id, name-object name */
 | 
			
		||||
#define DSE_ADD_MEMBER                 153 /* d1-object id, d3-member id, name-property name */
 | 
			
		||||
#define DSE_DELETE_MEMBER              154 /* d1-object id, d3-member id, name-property name */
 | 
			
		||||
#define DSE_CHANGE_PROP_SECURITY       155 /* d1-object id, d3-new security, name-property name */
 | 
			
		||||
#define DSE_CHANGE_OBJ_SECURITY        156 /* d1-object parent id, d2-object id, d3-new security */
 | 
			
		||||
#define DSE_READ_OBJ_INFO              157 /* d1-parent id, d2-entry id */
 | 
			
		||||
#define DSE_CONNECT_TO_ADDRESS         158 /* d1-task id, d3-address type, d4-address size, name-address data */
 | 
			
		||||
#define DSE_SEARCH                     159 /* d1-base object id, d2-scope, d3-nodes to search (not used currently) d4-infoType */
 | 
			
		||||
#define DSE_PARTITION_STATE_CHG        160 /* d1-partitionRootID, d2-partnerPartID, d3-(function<<16)|type, d4-state */
 | 
			
		||||
#define DSE_REMOVE_BACKLINK            161 /* d1-object ID affected, d2-serverID of removed backlink, d3-remoteID of removed backlink */
 | 
			
		||||
#define DSE_LOW_LEVEL_JOIN             162 /* d1-parent partition Root ID, d2-child partition Root ID, not in lock */
 | 
			
		||||
#define DSE_CREATE_NAMEBASE            163 /* no data, not in lock */
 | 
			
		||||
#define DSE_CHANGE_SECURITY_EQUALS     164 /* d1-object ID, d2-equiv ID, d3-0=delete,1=add equivalence, inside locks & transaction */
 | 
			
		||||
#define DSE_DB_NCPENG                  166
 | 
			
		||||
#define DSE_CRC_FAILURE                167 /* d1-CRC failure type (0=server | 1=client) d2-server | client CRC error count */
 | 
			
		||||
#define DSE_ADD_ENTRY                  168 /* d1-parent id, d2-object id, (success DSE_DATATYPE_STRUCT1) */
 | 
			
		||||
#define DSE_MODIFY_ENTRY               169 /* d1-parent id, d2-object id, (success DSE_DATATYPE_STRUCT1) */
 | 
			
		||||
#define DSE_OPEN_BINDERY               171 /* d1-tree root id */
 | 
			
		||||
#define DSE_CLOSE_BINDERY              172 /* d1-tree root id */
 | 
			
		||||
#define DSE_CHANGE_CONN_STATE          173 /* data is DSEChangeConnState */
 | 
			
		||||
#define DSE_NEW_SCHEMA_EPOCH           174 /* d1-tree root id */
 | 
			
		||||
#define DSE_DB_AUDIT                   175 /* auditing debug messages */
 | 
			
		||||
#define DSE_DB_AUDIT_NCP               176 /* audit ncp debug messages */
 | 
			
		||||
#define DSE_DB_AUDIT_SKULK             177 /* audit skulking debug messages */
 | 
			
		||||
#define DSE_MODIFY_RDN                 178 /* d1-parentID, d2-entry ID, uname-oldRDN */
 | 
			
		||||
#define DSE_DB_LDAP                    179 /* ldap trace messages */
 | 
			
		||||
#define DSE_ORPHAN_PARTITION           180 /* d1-DSE_OP_CREATE, d2-newPartitionID, d3-targetPartitionID */
 | 
			
		||||
                                           /* d1-DSE_OP_REMOVE, d2-partitionID */
 | 
			
		||||
                                           /* d1-DSE_OP_LINK, d2-partitionID, d3-targetPartitionID, d4-targetServerID */
 | 
			
		||||
                                           /* d1-DSE_OP_UNLINK, d2-partitionID, d3-targetPartitionID */
 | 
			
		||||
#define DSE_ENTRYID_SWAP               181 /* d1-srcID, d2-destID */
 | 
			
		||||
 | 
			
		||||
#define DSE_DB_NCP_REQUEST             182 /* no data - used by lock check */
 | 
			
		||||
#define DSE_DB_LOST_ENTRY              183 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_DB_CHANGE_CACHE            184 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_LOW_LEVEL_SPLIT            185 /* d1-parent partition Root ID, d2-child partition Root ID, not in lock */
 | 
			
		||||
#define DSE_DB_PURGE                   186 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_END_NAMEBASE_TRANSACTION   187 /* no data */
 | 
			
		||||
#define DSE_ALLOW_LOGIN                188 /* d1-entryID, d2-flags */
 | 
			
		||||
#define DSE_DB_CLIENT_BUFFERS          189 /* uses DSEDebugInfo, request buffer display */
 | 
			
		||||
 | 
			
		||||
   /* The following section of events are primarily for WAN Traffic Manager,
 | 
			
		||||
    * and thus are expected to be used as inline events so that the policy
 | 
			
		||||
    * results can be returned to DS.
 | 
			
		||||
    */
 | 
			
		||||
 | 
			
		||||
#define DSE_DB_WANMAN                  190 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_WTM_NDS_BACKLINKS          191 /* DSEWtmInfo */
 | 
			
		||||
#define DSE_WTM_NDS_SCHEMA_SYNC        192 /* DSEWtmInfo */
 | 
			
		||||
#define DSE_WTM_NDS_LIMBER             193 /* DSEWtmInfo */
 | 
			
		||||
#define DSE_WTM_NDS_LOGIN_RESTRICTIONS 194 /* DSEWtmInfo */
 | 
			
		||||
#define DSE_WTM_NDS_JANITOR            195 /* DSEWtmInfo */
 | 
			
		||||
#define DSE_WTM_NDS_OPEN_CONNECTION    196 /* DSEWtmOpenInfo */
 | 
			
		||||
 | 
			
		||||
#define DSE_LOCAL_REPLICA_CHANGE       197 /* d1-DSE_LRC_* opcode, d2-replicaRootID */
 | 
			
		||||
#define DSE_DB_DRL                     198 /* reference link debug messages */
 | 
			
		||||
#define DSE_MOVE_ENTRY_SOURCE          199 /* d1-parentID, d2-dest parentID, d3-sourceID, uname-name */
 | 
			
		||||
#define DSE_MOVE_ENTRY_DEST            200 /* d1-parentID, d2-dest parentID, d3-sourceID, uname-newName */
 | 
			
		||||
#define DSE_NOTIFY_REF_CHANGE          201 /* d1-entryID used by obituary added to */
 | 
			
		||||
#define DSE_DB_ALLOC                   202 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_CONSOLE_OPERATION          203 /* d1-opCode - DSC_* flag */
 | 
			
		||||
#define DSE_DB_SERVER_PACKET           204 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_START_DIB_CHECK            205 /* RecMan DIB validation */
 | 
			
		||||
#define DSE_END_DIB_CHECK              206 /* RecMan DIB validation, d1-error status */
 | 
			
		||||
#define DSE_DB_OBIT                    207 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_REPLICA_IN_TRANSITION      208 /* d1-partition root ID, d2-last ID */
 | 
			
		||||
#define DSE_DB_SYNC_DETAIL             209 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_DB_CONN_TRACE              210 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_BEGIN_NAMEBASE_TRANSACTION 211 /* no data */
 | 
			
		||||
#define DSE_DB_VIRTUAL_REPLICA         212 /* uses DSEDebugInfo */
 | 
			
		||||
#define DSE_VR_DRIVER_STATE_CHANGE     213 /* used DSEEntryInfo */
 | 
			
		||||
#define DSE_CHANGE_CONFIG_PARM         214 /* uses DSEChangeConfigParm */
 | 
			
		||||
 | 
			
		||||
#define DSE_MAX_EVENTS                 215
 | 
			
		||||
 | 
			
		||||
/*---------------------------------------------------------------------------
 | 
			
		||||
 * data structures used for the data associated with events
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/* DSE_STREAM operation definitions */
 | 
			
		||||
#define DSE_ST_OPEN              0x0001
 | 
			
		||||
#define DSE_ST_CLOSE             0x0002
 | 
			
		||||
 | 
			
		||||
/* DSE_ORPHAN_PARTITION operation definitions */
 | 
			
		||||
#define DSE_OP_CREATE            0x0001
 | 
			
		||||
#define DSE_OP_REMOVE            0x0002
 | 
			
		||||
#define DSE_OP_LINK              0x0003
 | 
			
		||||
#define DSE_OP_UNLINK            0x0004
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 seconds;
 | 
			
		||||
   nuint16 replicaNumber;
 | 
			
		||||
   nuint16 event;
 | 
			
		||||
} DSETimeStamp;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint8 data[16];
 | 
			
		||||
} DSEGUID;
 | 
			
		||||
 | 
			
		||||
/* newDN used for DSE_MOVE_SOURCE_ENTRY and DSE_RENAME_ENTRY,
 | 
			
		||||
 * otherwise it is 0
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/* NetWare 4.x returns DSEntryInfo structure, NetWare 5.x returns
 | 
			
		||||
 * DSEntryInfo2 structure
 | 
			
		||||
*/
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 perpetratorID;
 | 
			
		||||
   nuint32 verb;
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 parentID;
 | 
			
		||||
   nuint32 classID;
 | 
			
		||||
   nuint32 flags;
 | 
			
		||||
   DSETimeStamp creationTime;
 | 
			
		||||
   const unicode *dn;
 | 
			
		||||
   const unicode *newDN;
 | 
			
		||||
   char data[1];     /* used to store data for dn and newDN fields */
 | 
			
		||||
} DSEEntryInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 perpetratorID;
 | 
			
		||||
   nuint32 verb;
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 parentID;
 | 
			
		||||
   nuint32 classID;
 | 
			
		||||
   nuint32 flags;
 | 
			
		||||
   DSETimeStamp creationTime;
 | 
			
		||||
   const unicode *dn;
 | 
			
		||||
   const unicode *newDN;
 | 
			
		||||
   nuint32 connID;
 | 
			
		||||
   char data[1];     /* used to store data for dn and newDN fields */
 | 
			
		||||
} DSEEntryInfo2;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* DSEEntryInfo flag definitions */
 | 
			
		||||
#define DSEF_PARTITION_ROOT   0x0001
 | 
			
		||||
#define DSEF_EXTREF           0x0002
 | 
			
		||||
#define DSEF_ALIAS            0x0004
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   perpetratorID;
 | 
			
		||||
   nuint32   verb;
 | 
			
		||||
   nuint32   entryID;
 | 
			
		||||
   nuint32   attrID;
 | 
			
		||||
   nuint32   syntaxID;
 | 
			
		||||
   nuint32   classID;
 | 
			
		||||
   DSETimeStamp timeStamp;
 | 
			
		||||
   nuint     size;
 | 
			
		||||
   char      data[1];    /* see DSEVal... structures for meanings of this field */
 | 
			
		||||
} DSEValueInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 parentID;
 | 
			
		||||
   nuint32 type;
 | 
			
		||||
   nuint32 emuObjFlags;
 | 
			
		||||
   nuint32 security;
 | 
			
		||||
   char    name[48];
 | 
			
		||||
} DSEBinderyObjectInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 retryCount;
 | 
			
		||||
   nuint32 valueID;
 | 
			
		||||
   unicode valueDN[MAX_DN_CHARS + 1];
 | 
			
		||||
   char referral[1];
 | 
			
		||||
} DSESEVInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   type;
 | 
			
		||||
   nuint32   length;
 | 
			
		||||
   nuint8    data[1];
 | 
			
		||||
} DSENetAddress;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   entryID;
 | 
			
		||||
   nuint32   attrID[2];
 | 
			
		||||
} DSESkulkData;
 | 
			
		||||
 | 
			
		||||
/* DSE_LOCAL_REPLICA_CHANGE flag definitions */
 | 
			
		||||
#define DSE_LRC_ADD              0x0001
 | 
			
		||||
#define DSE_LRC_REMOVE           0x0002
 | 
			
		||||
#define DSE_LRC_MODIFY           0x0003
 | 
			
		||||
 | 
			
		||||
/* DSE_PARTITION_OPERATION_EVENT flag definitions */
 | 
			
		||||
#define DSE_PF_STATE_CHANGE      0x0001
 | 
			
		||||
#define DSE_PF_ADD               0x0002
 | 
			
		||||
#define DSE_PF_PURGE             0x0004
 | 
			
		||||
#define DSE_PF_JOIN              0x0008
 | 
			
		||||
#define DSE_PF_SPLIT             0x0010
 | 
			
		||||
 | 
			
		||||
/* DSE_CHANGE_CONN_STATE flag definitions */
 | 
			
		||||
#define DSE_CONN_VALID              0x0001
 | 
			
		||||
#define DSE_CONN_AUTHENTIC          0x0002
 | 
			
		||||
#define DSE_CONN_SUPERVISOR         0x0004
 | 
			
		||||
#define DSE_CONN_OPERATOR           0x0008
 | 
			
		||||
#define DSE_CONN_LICENSED           0x0010
 | 
			
		||||
#define DSE_CONN_SEV_IS_STALE       0x0020
 | 
			
		||||
#define DSE_CONN_IS_NCP             0x0040
 | 
			
		||||
#define DSE_CONN_CHECKSUMMING       0x0080
 | 
			
		||||
#define DSE_CONN_OPERATIONAL_FLAGS  0x00FF
 | 
			
		||||
#define DSE_CONN_SIGNATURES         0x0100
 | 
			
		||||
#define DSE_CONN_CSIGNATURES        0x0200
 | 
			
		||||
#define DSE_CONN_ENCRYPTION         0x0400
 | 
			
		||||
#define DSE_CONN_SECURITY_FLAGS     0x0700
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 connID;
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 oldFlags;
 | 
			
		||||
   nuint32 newFlags;
 | 
			
		||||
} DSEChangeConnState;
 | 
			
		||||
 | 
			
		||||
/* DSEChangeConfigState parameter values */
 | 
			
		||||
#define DSE_CFG_UNSPECIFIED            0
 | 
			
		||||
#define DSE_CFG_RESPOND_TO_GET_NEAREST 1
 | 
			
		||||
#define DSE_CFG_SERVER_NAME            2
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 configParm;
 | 
			
		||||
} DSEChangeConfigParm;
 | 
			
		||||
 | 
			
		||||
/* DSEModuleState flags, the CHANGING flag is combined with LOADED
 | 
			
		||||
 * to show starting to load or starting to unload.
 | 
			
		||||
 */
 | 
			
		||||
#define DSE_MOD_CHANGING   0x01
 | 
			
		||||
#define DSE_MOD_LOADED     0x02
 | 
			
		||||
#define DSE_MOD_AUTOLOAD   0x04
 | 
			
		||||
#define DSE_MOD_HIDDEN     0x08
 | 
			
		||||
#define DSE_MOD_ENGINE     0x10
 | 
			
		||||
#define DSE_MOD_AUTOMATIC  0x20
 | 
			
		||||
#define DSE_MOD_DISABLED   0x40
 | 
			
		||||
#define DSE_MOD_MANUAL     0x80
 | 
			
		||||
#define DSE_MOD_SYSTEM     0x100 /* This is entries with PRELOAD_MODULE */
 | 
			
		||||
#define DSE_MOD_WAITING    0x200 /* state change is queued */
 | 
			
		||||
 | 
			
		||||
#define DSE_MAX_MODULE_NAME_CHARS   32
 | 
			
		||||
 | 
			
		||||
typedef struct DSEModuleState
 | 
			
		||||
{
 | 
			
		||||
   nuint32  connID;
 | 
			
		||||
   nuint32  flags;
 | 
			
		||||
   long     handle;
 | 
			
		||||
   unicode  name[DSE_MAX_MODULE_NAME_CHARS];
 | 
			
		||||
} DSEModuleState;
 | 
			
		||||
 | 
			
		||||
/*---------------------------------------------------------------------------
 | 
			
		||||
 * data structures used for contents of the data member of the
 | 
			
		||||
 * DSEValueInfo structure.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   nameSpaceType;
 | 
			
		||||
   nuint32   volumeEntryID;
 | 
			
		||||
   nuint32   length;
 | 
			
		||||
   unicode   data[1];
 | 
			
		||||
} DSEPath;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 serverID;
 | 
			
		||||
   nuint32 type;
 | 
			
		||||
   nuint32 number;
 | 
			
		||||
   nuint32 replicaRootID;   /* partition root ID on server where replica resides */
 | 
			
		||||
   char    referral[1];     /* transport address data in wire format */
 | 
			
		||||
} DSEReplicaPointer;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 serverID;
 | 
			
		||||
   nuint32 remoteID;
 | 
			
		||||
} DSEBackLink;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 attrID;
 | 
			
		||||
   nuint32 privileges;
 | 
			
		||||
} DSEACL;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 level;
 | 
			
		||||
   nuint32 interval;
 | 
			
		||||
} DSETypedName;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 entryID;
 | 
			
		||||
   nuint32 amount;
 | 
			
		||||
} DSEHold;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  type;        /* SMF70, SMF71, SMTP, X400, SNADS, PROFS */
 | 
			
		||||
   nuint32  length;                     /* length of address unicode string */
 | 
			
		||||
   unicode  address[1/*or more*/];   /* null terminated unicode string */
 | 
			
		||||
} DSEEmailAddress;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 numOfBits;
 | 
			
		||||
   nuint32 numOfBytes;
 | 
			
		||||
   char    data;
 | 
			
		||||
} DSEBitString;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  length;         /* length of telephone number unicode string */
 | 
			
		||||
   unicode  telephoneNumber[1/*or more*/]; /* null terminated unicode string */
 | 
			
		||||
   /*   The following field is dword aligned after unicode NULL:
 | 
			
		||||
   DSEBitString   parameters;
 | 
			
		||||
   */
 | 
			
		||||
} DSEFaxNumber;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  numOfStrings;   /* number of uint32 length proceeded, null terminated,
 | 
			
		||||
                              dword aligned unicode strings to follow */
 | 
			
		||||
   nuint32  length1;        /* length of first unicode string */
 | 
			
		||||
   unicode  string1[1];     /* 1st unicode string */
 | 
			
		||||
} DSECIList;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 numOfStrings;    /* number of null terminated, dword aligned byte
 | 
			
		||||
                              strings to follow */
 | 
			
		||||
   nuint8  string1[1];      /* 1st octet string */
 | 
			
		||||
} DSEOctetList;
 | 
			
		||||
 | 
			
		||||
typedef union
 | 
			
		||||
{
 | 
			
		||||
   /* used for SYN_CE_STRING, SYN_CI_STRING, SYN_PR_STRING,
 | 
			
		||||
    * SYN_NU_STRING, and SYN_TEL_NUMBER
 | 
			
		||||
    */
 | 
			
		||||
   unicode string[1/*or more*/]; /* null terminated unicode string */
 | 
			
		||||
   nuint32 num;                   /* used for SYN_INTEGER, SYN_COUNTER, SYN_TIME, SYN_INTERVAL */
 | 
			
		||||
   nuint32 entryID;               /* used for SYN_DIST_NAME */
 | 
			
		||||
   nuint32 classID;               /* used for SYN_CLASS_NAME */
 | 
			
		||||
   nuint8 boolean;                /* used for SYN_BOOLEAN */
 | 
			
		||||
   DSENetAddress netAddress;     /* used for SYN_NET_ADDRESS */
 | 
			
		||||
   DSEPath path;                 /* used for SYN_PATH */
 | 
			
		||||
   DSEReplicaPointer replica;    /* used for SYN_REPLICA_POINTER */
 | 
			
		||||
   DSEACL acl;                   /* used for SYN_OBJECT_ACL */
 | 
			
		||||
   DSETimeStamp timeStamp;       /* used for SYN_TIMESTAMP */
 | 
			
		||||
   DSEBackLink backLink;         /* used for SYN_BACK_LINK */
 | 
			
		||||
   DSETypedName typedName;       /* used for SYN_TYPED_NAME */
 | 
			
		||||
   DSEHold hold;                 /* used for SYN_HOLD */
 | 
			
		||||
   DSEEmailAddress emailAddress; /* used for SYN_EMAIL_ADDRESS */
 | 
			
		||||
   DSEFaxNumber faxNumber;       /* used for SYN_FAX_NUMBER */
 | 
			
		||||
   DSECIList ciList;             /* used for SYN_CI_LIST, SYN_PO_ADDRESS */
 | 
			
		||||
   nuint8 octetString[1];         /* used for SYN_OCTET_STRING, SYN_STREAM */
 | 
			
		||||
   DSEOctetList octetList;       /* used for SYN_OCTET_LIST */
 | 
			
		||||
} DSEValData;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define MAX_EVENT_PARMS 32
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32   dstime;                 /* time event occurred */
 | 
			
		||||
   nuint32   milliseconds;
 | 
			
		||||
   nuint32   curThread;              /* thread running when event occurs */
 | 
			
		||||
   nuint32   connID;                 /* connection number that caused this event */
 | 
			
		||||
   nuint32   perpetratorID;          /* "user" id that owns the connection */
 | 
			
		||||
   char      *fmtStr;                /* sprintf type format string describing parms */
 | 
			
		||||
   char      *parms[MAX_EVENT_PARMS];/* pseudo stack of parameters for va_list */
 | 
			
		||||
   char      data[1];                /* variable size, holds fmtStr & non-integer parm data */
 | 
			
		||||
} DSEDebugInfo;
 | 
			
		||||
 | 
			
		||||
#define DSE_DATATYPE_CHAR        1
 | 
			
		||||
#define DSE_DATATYPE_UNICODE     2
 | 
			
		||||
#define DSE_DATATYPE_STRUCT_1    3
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 attrID;
 | 
			
		||||
   nuint32 flags;
 | 
			
		||||
   nint len;
 | 
			
		||||
   void *data;
 | 
			
		||||
} DSES1data;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32    count;
 | 
			
		||||
   DSES1data  value[1];
 | 
			
		||||
} DSEStruct1;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32      dstime;        /* time event occurred */
 | 
			
		||||
   nuint32      milliseconds;
 | 
			
		||||
   nuint32      curProcess;    /* process running when event occurred */
 | 
			
		||||
   nuint32      connID;        /* connection number that caused this event */
 | 
			
		||||
   nuint32      verb;          /* verb */
 | 
			
		||||
   nuint32      perpetratorID; /* "user" id that owns the connection */
 | 
			
		||||
   nuint32      d1;            /* remaining fields vary depending on event number */
 | 
			
		||||
   nuint32      d2;
 | 
			
		||||
   nuint32      d3;
 | 
			
		||||
   nuint32      d4;
 | 
			
		||||
   nuint32      dataType;
 | 
			
		||||
   const void  *dataPtr;
 | 
			
		||||
   char         data[1];       /* variable size, holds either name or uname data */
 | 
			
		||||
} DSEEventData;
 | 
			
		||||
 | 
			
		||||
typedef struct /* use for WAN Traffic Manager Events */
 | 
			
		||||
{
 | 
			
		||||
   nuint32   lastTime;
 | 
			
		||||
   nint32    version;
 | 
			
		||||
   nint      checkEachNewOpen;
 | 
			
		||||
   nint      checkEachAlreadyOpen;
 | 
			
		||||
   nuint32   expirationInterval;
 | 
			
		||||
   nuint32   nextTime;
 | 
			
		||||
   nuint32   result;
 | 
			
		||||
   nint      send;
 | 
			
		||||
   nuint32   trafficTypeSubClass;
 | 
			
		||||
} DSEWtmInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct /* used for WAN Traffic Manager Open Events */
 | 
			
		||||
{
 | 
			
		||||
   nint32    version;
 | 
			
		||||
   nuint32   expirationInterval;
 | 
			
		||||
   nint      connIsAlreadyOpen;
 | 
			
		||||
   nuint32   lastAccessTime;
 | 
			
		||||
   nuint32   trafficType;
 | 
			
		||||
   char      *trafficTypeName;
 | 
			
		||||
   nint      send;
 | 
			
		||||
   nint      dstAdrType;
 | 
			
		||||
   nuint     dstAdrSize;
 | 
			
		||||
   void      *dstAdrData;
 | 
			
		||||
   char      *localReferral;
 | 
			
		||||
   nuint32   lastSyncTime;
 | 
			
		||||
   nuint32   trafficTypeSubClass;
 | 
			
		||||
} DSEWtmOpenInfo;
 | 
			
		||||
 | 
			
		||||
 /*
 | 
			
		||||
 * End data structures used for contents of the data member of the
 | 
			
		||||
 * DSEValueInfo structure.
 | 
			
		||||
 *-------------------------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
/* define trace vector category numbers */
 | 
			
		||||
#define TV_ON           0x00000001L    /* if set, tracing is enabled */
 | 
			
		||||
#define TV_AUDIT        0x00000002L    /* auditing */
 | 
			
		||||
#define TV_INIT         0x00000004L    /* initialization */
 | 
			
		||||
#define TV_FRAGGER      0x00000008L    /* fragger */
 | 
			
		||||
#define TV_MISC         0x00000010L    /* miscellaneous */
 | 
			
		||||
#define TV_RESNAME      0x00000020L    /* resolve name */
 | 
			
		||||
#define TV_STREAMS      0x00000040L    /* streams */
 | 
			
		||||
#define TV_LIMBER       0x00000080L    /* limber */
 | 
			
		||||
#define TV_JANITOR      0x00000100L    /* janitor */
 | 
			
		||||
#define TV_BACKLINK     0x00000200L    /* backlink */
 | 
			
		||||
#define TV_MERGE        0x00000400L    /* merge */
 | 
			
		||||
#define TV_SKULKER      0x00000800L    /* skulker */
 | 
			
		||||
#define TV_LOCKING      0x00001000L    /* locking */
 | 
			
		||||
#define TV_SAP          0x00002000L    /* SAP */
 | 
			
		||||
#define TV_SCHEMA       0x00004000L    /* schema */
 | 
			
		||||
#define TV_COLL         0x00008000L    /* collisions */
 | 
			
		||||
#define TV_INSPECTOR    0x00010000L    /* inspector */
 | 
			
		||||
#define TV_ERRORS       0x00020000L    /* errors */
 | 
			
		||||
#define TV_PART         0x00040000L    /* partition operations */
 | 
			
		||||
#define TV_EMU          0x00080000L    /* bindery emulator */
 | 
			
		||||
#define TV_VCLIENT      0x00100000L    /* virtual client */
 | 
			
		||||
#define TV_AUTHEN       0x00200000L    /* authentication */
 | 
			
		||||
#define TV_RECMAN       0x00400000L    /* record manager */
 | 
			
		||||
#define TV_TIMEVECTOR   0x00800000L    /* time vectors */
 | 
			
		||||
#define TV_REPAIR       0x01000000L    /* ds_repair */
 | 
			
		||||
#define TV_DSAGENT      0x02000000L    /* low level DSA tracing */
 | 
			
		||||
#define TV_ERRET        0x04000000L    /* ERRET and ERRTRACE */
 | 
			
		||||
#define TV_SYNC_IN      0x08000000L    /* incoming sync traffic */
 | 
			
		||||
#define TV_THREADS      0x10000000L    /* DS thread scheduling */
 | 
			
		||||
#define TV_MIN          0x20000000L    /* default dstrace messages */
 | 
			
		||||
#define TV_CHECK_BIT    0x80000000L    /* all TV_ values must have this bit */
 | 
			
		||||
#define TV_ALL          0xBFFFFFFEL    /* All vectors--default for DSTrace */
 | 
			
		||||
 | 
			
		||||
/*===========================================================================*/
 | 
			
		||||
 | 
			
		||||
/* Event handler flags - for NWDSERegisterForEventWithResult.
 | 
			
		||||
 */
 | 
			
		||||
#define HF_ALL          0x0000         /* Invoke handler regardless of event status */
 | 
			
		||||
#define HF_SUCCESS_ONLY 0x0004         /* Invoke handler if event is successful */
 | 
			
		||||
#define HF_FAIL_ONLY    0x0008         /* Invoke handler if event fails */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										151
									
								
								c_clientlogin/xplatincl/nwdsfilt.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										151
									
								
								c_clientlogin/xplatincl/nwdsfilt.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,151 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsfilt.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:07:33 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSFILT_H )
 | 
			
		||||
#define NWDSFILT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )   /* Need to defined NWDSContextHandle */
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H ) /* Needed to defined pBuf_T   */
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
typedef struct _filter_node
 | 
			
		||||
{
 | 
			
		||||
   struct _filter_node  N_FAR *parent;
 | 
			
		||||
   struct _filter_node  N_FAR *left;
 | 
			
		||||
   struct _filter_node  N_FAR *right;
 | 
			
		||||
   nptr                       value;
 | 
			
		||||
   nuint32                    syntax;
 | 
			
		||||
   nuint16                    token;
 | 
			
		||||
} Filter_Node_T, N_FAR *pFilter_Node_T;
 | 
			
		||||
 | 
			
		||||
#define FTOK_END     0
 | 
			
		||||
#define FTOK_OR      1
 | 
			
		||||
#define FTOK_AND     2
 | 
			
		||||
#define FTOK_NOT     3
 | 
			
		||||
#define FTOK_LPAREN  4
 | 
			
		||||
#define FTOK_RPAREN  5
 | 
			
		||||
#define FTOK_AVAL    6
 | 
			
		||||
#define FTOK_EQ      7
 | 
			
		||||
#define FTOK_GE      8
 | 
			
		||||
#define FTOK_LE      9
 | 
			
		||||
#define FTOK_APPROX  10
 | 
			
		||||
#define FTOK_ANAME   14
 | 
			
		||||
#define FTOK_PRESENT 15
 | 
			
		||||
#define FTOK_RDN     16
 | 
			
		||||
#define FTOK_BASECLS 17
 | 
			
		||||
#define FTOK_MODTIME 18
 | 
			
		||||
#define FTOK_VALTIME 19
 | 
			
		||||
 | 
			
		||||
#define FBIT_END     (1L << FTOK_END)
 | 
			
		||||
#define FBIT_OR      (1L << FTOK_OR)
 | 
			
		||||
#define FBIT_AND     (1L << FTOK_AND)
 | 
			
		||||
#define FBIT_NOT     (1L << FTOK_NOT)
 | 
			
		||||
#define FBIT_LPAREN  (1L << FTOK_LPAREN)
 | 
			
		||||
#define FBIT_RPAREN  (1L << FTOK_RPAREN)
 | 
			
		||||
#define FBIT_AVAL    (1L << FTOK_AVAL)
 | 
			
		||||
#define FBIT_EQ      (1L << FTOK_EQ)
 | 
			
		||||
#define FBIT_GE      (1L << FTOK_GE)
 | 
			
		||||
#define FBIT_LE      (1L << FTOK_LE)
 | 
			
		||||
#define FBIT_APPROX  (1L << FTOK_APPROX)
 | 
			
		||||
#define FBIT_ANAME   (1L << FTOK_ANAME)
 | 
			
		||||
#define FBIT_PRESENT (1L << FTOK_PRESENT)
 | 
			
		||||
#define FBIT_RDN     (1L << FTOK_RDN)
 | 
			
		||||
#define FBIT_BASECLS (1L << FTOK_BASECLS)
 | 
			
		||||
#define FBIT_MODTIME (1L << FTOK_MODTIME)
 | 
			
		||||
#define FBIT_VALTIME (1L << FTOK_VALTIME)
 | 
			
		||||
 | 
			
		||||
#define FBIT_OPERAND (FBIT_LPAREN | FBIT_NOT | FBIT_PRESENT | FBIT_RDN \
 | 
			
		||||
         | FBIT_BASECLS | FBIT_ANAME | FBIT_MODTIME | FBIT_VALTIME)
 | 
			
		||||
#define FBIT_RELOP   (FBIT_EQ | FBIT_GE | FBIT_LE | FBIT_APPROX)
 | 
			
		||||
#define FBIT_BOOLOP  (FBIT_AND | FBIT_OR)
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   pFilter_Node_T fn;
 | 
			
		||||
   nuint16        level;
 | 
			
		||||
   nuint32        expect;
 | 
			
		||||
} Filter_Cursor_T, N_FAR *pFilter_Cursor_T, N_FAR * N_FAR *ppFilter_Cursor_T;
 | 
			
		||||
 | 
			
		||||
#define FTAG_ITEM    0
 | 
			
		||||
#define FTAG_OR      1
 | 
			
		||||
#define FTAG_AND     2
 | 
			
		||||
#define FTAG_NOT     3
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAddFilterToken
 | 
			
		||||
(
 | 
			
		||||
   pFilter_Cursor_T  cur,
 | 
			
		||||
   nuint16           tok,
 | 
			
		||||
   nptr              val,
 | 
			
		||||
   nuint32           syntax
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAllocFilter
 | 
			
		||||
(
 | 
			
		||||
   ppFilter_Cursor_T cur
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (void)
 | 
			
		||||
NWDSFreeFilter
 | 
			
		||||
(
 | 
			
		||||
   pFilter_Cursor_T  cur,
 | 
			
		||||
   void (N_FAR N_CDECL *freeVal)(nuint32 syntax, nptr val)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPutFilter
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle       context,
 | 
			
		||||
   pBuf_T                  buf,
 | 
			
		||||
   pFilter_Cursor_T        cur,
 | 
			
		||||
   void (N_FAR N_CDECL *freeVal)(nuint32 syntax, nptr val)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSDelFilterToken
 | 
			
		||||
(
 | 
			
		||||
   pFilter_Cursor_T  cur,
 | 
			
		||||
   void (N_FAR N_CDECL *freeVal)(nuint32 syntax, nptr val)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWDSFILT_H */
 | 
			
		||||
							
								
								
									
										284
									
								
								c_clientlogin/xplatincl/nwdsmisc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										284
									
								
								c_clientlogin/xplatincl/nwdsmisc.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,284 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsmisc.h %
 | 
			
		||||
  %version: 9 %
 | 
			
		||||
  %date_modified: Tue Mar 29 18:40:36 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1998 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSMISC_H )
 | 
			
		||||
#define NWDSMISC_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NUNICODE_H )
 | 
			
		||||
#include "nunicode.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#define DS_SYNTAX_NAMES    0
 | 
			
		||||
#define DS_SYNTAX_DEFS     1
 | 
			
		||||
 | 
			
		||||
#define DS_STRING             0x0001   /* string, can be used in names */
 | 
			
		||||
#define DS_SINGLE_VALUED      0x0002
 | 
			
		||||
#define DS_SUPPORTS_ORDER     0x0004
 | 
			
		||||
#define DS_SUPPORTS_EQUAL     0x0008
 | 
			
		||||
#define DS_IGNORE_CASE        0x0010   /* Ignore case          */
 | 
			
		||||
#define DS_IGNORE_SPACE       0x0020   /* Ignore white space   */
 | 
			
		||||
#define DS_IGNORE_DASH        0x0040   /* Ignore dashes        */
 | 
			
		||||
#define DS_ONLY_DIGITS        0x0080
 | 
			
		||||
#define DS_ONLY_PRINTABLE     0x0100
 | 
			
		||||
#define DS_SIZEABLE           0x0200
 | 
			
		||||
#define DS_BITWISE_EQUAL      0x0400
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  statsVersion;
 | 
			
		||||
   nuint32  noSuchEntry;
 | 
			
		||||
   nuint32  localEntry;
 | 
			
		||||
   nuint32  typeReferral;
 | 
			
		||||
   nuint32  aliasReferral;
 | 
			
		||||
   nuint32  requestCount;
 | 
			
		||||
   nuint32  requestDataSize;
 | 
			
		||||
   nuint32  replyDataSize;
 | 
			
		||||
   nuint32  resetTime;
 | 
			
		||||
   nuint32  transportReferral;
 | 
			
		||||
   nuint32  upReferral;
 | 
			
		||||
   nuint32  downReferral;
 | 
			
		||||
} NDSStatsInfo_T, N_FAR *pNDSStatsInfo_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* the following two structures are used by NWDSGetNDSInfo() */
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  major;
 | 
			
		||||
   nuint32  minor;
 | 
			
		||||
   nuint32  revision;
 | 
			
		||||
} NDSOSVersion_T, N_FAR *pNDSOSVersion_T;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32  upTime;  /* in seconds */
 | 
			
		||||
   nuint32  agentLoadTime;
 | 
			
		||||
   nuint32  agentOpenTime;
 | 
			
		||||
} NDSServerTime_T, N_FAR *pNDSServerTime_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCloseIteration
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nint32            iterationHandle,
 | 
			
		||||
   nuint32           operation
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetSyntaxID
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   pnuint32          syntaxID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadSyntaxes
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allSyntaxes,
 | 
			
		||||
   pBuf_T            syntaxNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            syntaxDefs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadSyntaxDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           syntaxID,
 | 
			
		||||
   pSyntax_Info_T    syntaxDef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReplaceAttrNameAbbrev
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            inStr,
 | 
			
		||||
   pnstr8            outStr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetObjectHostServerAddress
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pBuf_T            netAddresses
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (void)
 | 
			
		||||
NWGetNWNetVersion
 | 
			
		||||
(
 | 
			
		||||
   nuint8 N_FAR *majorVersion,
 | 
			
		||||
   nuint8 N_FAR *minorVersion,
 | 
			
		||||
   nuint8 N_FAR *revisionLevel,
 | 
			
		||||
   nuint8 N_FAR *betaReleaseLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWIsDSServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         treeName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetBinderyContext
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   pnuint8           BinderyEmulationContext
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRepairTimeStamps
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            partitionRoot
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWGetFileServerUTCTime
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       time
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetDSVerInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       dsVersion,
 | 
			
		||||
   pnuint32       rootMostEntryDepth,
 | 
			
		||||
   pnstr8         sapName,
 | 
			
		||||
   pnuint32       flags,
 | 
			
		||||
   punicode       treeName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWDSCCODE )
 | 
			
		||||
NWDSGetNDSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pBuf_T            resultBuffer,
 | 
			
		||||
   nflag32           requestedField,
 | 
			
		||||
   nptr              data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWDSCCODE )
 | 
			
		||||
NWDSReadNDSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,
 | 
			
		||||
   nflag32        requestedFields,
 | 
			
		||||
   pBuf_T         resultBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSyncReplicaToServer
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   pnstr8            partitionRootName,
 | 
			
		||||
   pnstr8            destServerName,
 | 
			
		||||
   nuint32           actionFlags,
 | 
			
		||||
   nuint32           delaySeconds
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReloadDS
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWNetInit
 | 
			
		||||
(
 | 
			
		||||
   nptr  reserved1,
 | 
			
		||||
   nptr  reserved2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWNetTerm
 | 
			
		||||
(
 | 
			
		||||
   nptr  reserved
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetNDSStatistics
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName,
 | 
			
		||||
   nuint             statsInfoLen,
 | 
			
		||||
   pNDSStatsInfo_T   statsInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSResetNDSStatistics
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            serverName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSGetNDSIntervals
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,       /* IN     */
 | 
			
		||||
   nflag32        reqIntervalFlags, /* IN     */
 | 
			
		||||
   pnflag32       repIntervalFlags, /*    OUT */
 | 
			
		||||
   pnuint32       intervals         /*    OUT */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSetNDSIntervals
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  connHandle,       /* IN     */
 | 
			
		||||
   nflag32        intervalFlags,    /* IN     */
 | 
			
		||||
   nuint          numIntervals,     /* IN     */
 | 
			
		||||
   pnuint32       intervals         /* IN     */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										88
									
								
								c_clientlogin/xplatincl/nwdsname.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										88
									
								
								c_clientlogin/xplatincl/nwdsname.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,88 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsname.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:07:42 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSNAME_H )
 | 
			
		||||
#define NWDSNAME_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAbbreviateName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            inName,
 | 
			
		||||
   pnstr8            abbreviatedName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCanonicalizeName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            objectName,
 | 
			
		||||
   pnstr8            canonName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemoveAllTypes
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            name,
 | 
			
		||||
   pnstr8            typelessName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSResolveName
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle    context,
 | 
			
		||||
   pnstr8               objectName,
 | 
			
		||||
   NWCONN_HANDLE  N_FAR *conn,
 | 
			
		||||
   pnuint32             objectID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSCIStringsMatch
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            string1,
 | 
			
		||||
   pnstr8            string2,
 | 
			
		||||
   pnint             matches
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
#endif /* NWDSNAME_H */
 | 
			
		||||
							
								
								
									
										497
									
								
								c_clientlogin/xplatincl/nwdsnmtp.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										497
									
								
								c_clientlogin/xplatincl/nwdsnmtp.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,497 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdsnmtp.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Tue Mar 23 15:55:20 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSNMTP_H ) 
 | 
			
		||||
#define NWDSNMTP_H
 | 
			
		||||
 | 
			
		||||
#define C_AFP_SERVER                      "AFP Server"
 | 
			
		||||
#define C_ALIAS                           "Alias"
 | 
			
		||||
#define C_AUDIT_FILE_OBJECT               "Audit:File Object"
 | 
			
		||||
#define C_BINDERY_OBJECT                  "Bindery Object"
 | 
			
		||||
#define C_BINDERY_QUEUE                   "Bindery Queue"
 | 
			
		||||
#define C_COMMEXEC                        "CommExec"
 | 
			
		||||
#define C_COMPUTER                        "Computer"
 | 
			
		||||
#define C_COUNTRY                         "Country"
 | 
			
		||||
#define C_DEVICE                          "Device"
 | 
			
		||||
#define C_DIRECTORY_MAP                   "Directory Map"
 | 
			
		||||
#define C_ENTRUST_CRLDISTRIBUTIONPOINT    "Entrust:CRLDistributionPoint"
 | 
			
		||||
#define C_EXTERNAL_ENTITY                 "External Entity"
 | 
			
		||||
#define C_GROUP                           "Group"
 | 
			
		||||
#define C_LDAP_GROUP                      "LDAP Group"
 | 
			
		||||
#define C_LDAP_SERVER                     "LDAP Server"
 | 
			
		||||
#define C_LIST                            "List"
 | 
			
		||||
#define C_LOCALITY                        "Locality"
 | 
			
		||||
#define C_MASV_SECURITY_POLICY            "MASV:Security Policy"
 | 
			
		||||
#define C_MESSAGE_ROUTING_GROUP           "Message Routing Group"
 | 
			
		||||
#define C_MESSAGING_ROUTING_GROUP         "Messaging Routing Group"
 | 
			
		||||
#define C_MESSAGING_SERVER                "Messaging Server"
 | 
			
		||||
#define C_NCP_SERVER                      "NCP Server"
 | 
			
		||||
#define C_NDPS_BROKER                     "NDPS Broker"
 | 
			
		||||
#define C_NDPS_MANAGER                    "NDPS Manager"
 | 
			
		||||
#define C_NDPS_PRINTER                    "NDPS Printer"
 | 
			
		||||
#define C_NDSCAT_CATALOG                  "NDSCat:Catalog"
 | 
			
		||||
#define C_NDSCAT_MASTER_CATALOG           "NDSCat:Master Catalog"
 | 
			
		||||
#define C_NDSCAT_SLAVE_CATALOG            "NDSCat:Slave Catalog"
 | 
			
		||||
#define C_NDSPKI_CERTIFICATE_AUTHORITY    "NDSPKI:Certificate Authority"
 | 
			
		||||
#define C_NDSPKI_KEY_MATERIAL             "NDSPKI:Key Material"
 | 
			
		||||
#define C_NETSVC                          "NetSvc"
 | 
			
		||||
#define C_NLS_LICENSE_CERTIFICATE         "NLS:License Certificate"
 | 
			
		||||
#define C_NLS_LICENSE_SERVER              "NLS:License Server"
 | 
			
		||||
#define C_NLS_PRODUCT_CONTAINER           "NLS:Product Container"
 | 
			
		||||
#define C_NSCP_GROUPOFUNIQUENAMES5        "NSCP:groupOfUniqueNames5"
 | 
			
		||||
#define C_NSCP_MAILGROUP5                 "NSCP:mailGroup5"
 | 
			
		||||
#define C_NSCP_NETSCAPEMAILSERVER5        "NSCP:NetscapeMailServer5"
 | 
			
		||||
#define C_NSCP_NETSCAPESERVER5            "NSCP:NetscapeServer5"
 | 
			
		||||
#define C_NSCP_NGINFO                     "NSCP:Nginfo"
 | 
			
		||||
#define C_NSCP_NGINFO2                    "NSCP:Nginfo2"
 | 
			
		||||
#define C_ORGANIZATION                    "Organization"
 | 
			
		||||
#define C_ORGANIZATIONAL_PERSON           "Organizational Person"
 | 
			
		||||
#define C_ORGANIZATIONAL_ROLE             "Organizational Role"
 | 
			
		||||
#define C_ORGANIZATIONAL_UNIT             "Organizational Unit"
 | 
			
		||||
#define C_PARTITION                       "Partition"
 | 
			
		||||
#define C_PERSON                          "Person"
 | 
			
		||||
#define C_PRINT_SERVER                    "Print Server"
 | 
			
		||||
#define C_PRINTER                         "Printer"
 | 
			
		||||
#define C_PROFILE                         "Profile"
 | 
			
		||||
#define C_QUEUE                           "Queue"
 | 
			
		||||
#define C_RESOURCE                        "Resource"
 | 
			
		||||
#define C_SAS_SECURITY                    "SAS:Security"
 | 
			
		||||
#define C_SAS_SERVICE                     "SAS:Sevice"
 | 
			
		||||
#define C_SERVER                          "Server"
 | 
			
		||||
#define C_SLP_SCOPE_UNIT                  "SLP Scope Unit"
 | 
			
		||||
#define C_SLP_DIRECTORY_AGENT             "SLP Directory Agent"
 | 
			
		||||
#define C_SLP_SERVICE                     "SLP Service"
 | 
			
		||||
#define C_SMDR                            "SLP SMDR"
 | 
			
		||||
#define C_TEMPLATE                        "Template"
 | 
			
		||||
#define C_TOP                             "Top"
 | 
			
		||||
#define C_TREE_ROOT                       "Tree Root"
 | 
			
		||||
#define C_UNKNOWN                         "Unknown"
 | 
			
		||||
#define C_USER                            "User"
 | 
			
		||||
#define C_VOLUME                          "Volume"
 | 
			
		||||
#define C_WANMAN_LAN_Area                 "WANMAN:LAN Area"
 | 
			
		||||
 | 
			
		||||
#define A_ACCOUNT_BALANCE                 "Account Balance"
 | 
			
		||||
#define A_ACL                             "ACL"
 | 
			
		||||
#define A_ALIASED_OBJECT_NAME             "Aliased Object Name"
 | 
			
		||||
#define A_ALLOW_UNLIMITED_CREDIT          "Allow Unlimited Credit"
 | 
			
		||||
#define A_AUDIT_A_ENCRYPTION_KEY          "Audit:A Encryption Key"
 | 
			
		||||
#define A_AUDIT_B_ENCRYPTION_KEY          "Audit:B Encryption Key"
 | 
			
		||||
#define A_AUDIT_CONTENTS                  "Audit:Contents"
 | 
			
		||||
#define A_AUDIT_CURRENT_ENCRYPTION_KEY    "Audit:Current Encryption Key"
 | 
			
		||||
#define A_AUDIT_FILE_LINK                 "Audit:File Link"
 | 
			
		||||
#define A_AUDIT_LINK_LIST                 "Audit:Link List"
 | 
			
		||||
#define A_AUDIT_PATH                      "Audit:Path"
 | 
			
		||||
#define A_AUDIT_POLICY                    "Audit:Policy"
 | 
			
		||||
#define A_AUDIT_TYPE                      "Audit:Type"
 | 
			
		||||
#define A_AUTHORITY_REVOCATION            "Authority Revocation"
 | 
			
		||||
#define A_BACK_LINK                       "Back Link"
 | 
			
		||||
#define A_BINDERY_OBJECT_RESTRICTION      "Bindery Object Restriction"
 | 
			
		||||
#define A_BINDERY_PROPERTY                "Bindery Property"
 | 
			
		||||
#define A_BINDERY_RESTRICTION_LEVEL       "Bindery Restriction Level"
 | 
			
		||||
#define A_BINDERY_TYPE                    "Bindery Type"
 | 
			
		||||
#define A_CA_PRIVATE_KEY                  "CA Private Key"
 | 
			
		||||
#define A_CA_PUBLIC_KEY                   "CA Public Key"
 | 
			
		||||
#define A_CARTRIDGE                       "Cartridge"
 | 
			
		||||
#define A_CERTIFICATE_REVOCATION          "Certificate Revocation"
 | 
			
		||||
#define A_CERTIFICATE_VALIDITY_INTERVAL   "Certificate Validity Interval"
 | 
			
		||||
#define A_CLIENT_INSTALL_CANDIDATE        "Client Install Candidate"
 | 
			
		||||
#define A_COLOR_SUPPORTED                 "Color Supported"
 | 
			
		||||
#define A_COMMON_NAME                     "CN"
 | 
			
		||||
#define A_CONVERGENCE                     "Convergence"
 | 
			
		||||
#define A_COUNTRY_NAME                    "C"
 | 
			
		||||
#define A_CROSS_CERTIFICATE_PAIR          "Cross Certificate Pair"
 | 
			
		||||
#define A_DATABASE_DIR_PATH               "Database Dir Path"
 | 
			
		||||
#define A_DATABASE_VOLUME_NAME            "Database Volume Name"
 | 
			
		||||
#define A_DATAPOOL_LOCATION               "Datapool Location"
 | 
			
		||||
#define A_DATAPOOL_LOCATIONS              "Datapool Locations"
 | 
			
		||||
#define A_DEFAULT_QUEUE                   "Default Queue"
 | 
			
		||||
#define A_DELIVERY_METHODS_INSTALLED      "Delivery Methods Installed"
 | 
			
		||||
#define A_DESCRIPTION                     "Description"
 | 
			
		||||
#define A_DETECT_INTRUDER                 "Detect Intruder"
 | 
			
		||||
#define A_DEVICE                          "Device"
 | 
			
		||||
#define A_DISTINGUISHED_NAME              "dn"
 | 
			
		||||
#define A_DS_REVISION                     "DS Revision"
 | 
			
		||||
#define A_EMAIL_ADDRESS                   "EMail Address"
 | 
			
		||||
#define A_EMPLOYEE_ID                     "Employee ID"
 | 
			
		||||
#define A_ENTRUST_ATTRIBUTECERTIFICATE    "Entrust:AttributeCertificate"
 | 
			
		||||
#define A_ENTRUST_USER                    "Entrust:User"
 | 
			
		||||
#define A_EQUIVALENT_TO_ME                "Equivalent To Me"
 | 
			
		||||
#define A_EXTERNAL_NAME                   "External Name"
 | 
			
		||||
#define A_EXTERNAL_SYNCHRONIZER           "External Synchronizer"
 | 
			
		||||
#define A_FACSIMILE_TELEPHONE_NUMBER      "Facsimile Telephone Number"
 | 
			
		||||
#define A_FULL_NAME                       "Full Name"
 | 
			
		||||
#define A_GENERATIONAL_QUALIFIER          "Generational Qualifier"
 | 
			
		||||
#define A_GID                             "GID"
 | 
			
		||||
#define A_GIVEN_NAME                      "Given Name"
 | 
			
		||||
#define A_GROUP_MEMBERSHIP                "Group Membership"
 | 
			
		||||
#define A_GUID                            "GUID"
 | 
			
		||||
#define A_GW_API_GATEWAY_DIRECTORY_PATH   "GW API Gateway Directory Path"
 | 
			
		||||
#define A_GW_API_GATEWAY_DIRECTORY_VOL    "GW API Gateway Directory Volume"
 | 
			
		||||
#define A_HIGH_SYNC_INTERVAL              "High Convergence Sync Interval"
 | 
			
		||||
#define A_HIGHER_PRIVILEGES               "Higher Privileges"
 | 
			
		||||
#define A_HOME_DIRECTORY                  "Home Directory"
 | 
			
		||||
#define A_HOME_DIRECTORY_RIGHTS           "Home Directory Rights"
 | 
			
		||||
#define A_HOST_DEVICE                     "Host Device"
 | 
			
		||||
#define A_HOST_RESOURCE_NAME              "Host Resource Name"
 | 
			
		||||
#define A_HOST_SERVER                     "Host Server"
 | 
			
		||||
#define A_INHERITED_ACL                   "Inherited ACL"
 | 
			
		||||
#define A_INITIALS                        "Initials"
 | 
			
		||||
#define A_INTERNET_EMAIL_ADDRESS          "Internet EMail Address"
 | 
			
		||||
#define A_INTRUDER_ATTEMPT_RESET_INTRVL   "Intruder Attempt Reset Interval"
 | 
			
		||||
#define A_INTRUDER_LOCKOUT_RESET_INTRVL   "Intruder Lockout Reset Interval"
 | 
			
		||||
#define A_IPP_URI                         "IPP URI"
 | 
			
		||||
#define A_IPP_URI_SECURITY_SCHEME         "IPP URI Security Scheme"
 | 
			
		||||
#define A_LOCALITY_NAME                   "L"
 | 
			
		||||
#define A_LANGUAGE                        "Language"
 | 
			
		||||
#define A_LAST_LOGIN_TIME                 "Last Login Time"
 | 
			
		||||
#define A_LAST_REFERENCED_TIME            "Last Referenced Time"
 | 
			
		||||
#define A_LDAP_ACL_V11                    "LDAP ACL v11"
 | 
			
		||||
#define A_LDAP_ALLOW_CLEAR_TEXT_PWD       "LDAP Allow Clear Text Password"
 | 
			
		||||
#define A_LDAP_ANONYMOUS_IDENTITY         "LDAP Anonymous Identity"
 | 
			
		||||
#define A_LDAP_ATTRIBUTE_MAP_V11          "LDAP Attribute Map v11"
 | 
			
		||||
#define A_LDAP_BACKUP_LOG_FILENAME        "LDAP Backup Log Filename"
 | 
			
		||||
#define A_LDAP_CLASS_MAP                  "LDAP Class Map"
 | 
			
		||||
#define A_LDAP_CLASS_MAP_V11              "LDAP Class Map v11"
 | 
			
		||||
#define A_LDAP_ENABLE_SSL                 "LDAP Enable SSL"
 | 
			
		||||
#define A_LDAP_ENABLE_TCP                 "LDAP Enable TCP"
 | 
			
		||||
#define A_LDAP_ENABLE_UDP                 "LDAP Enable UDP"
 | 
			
		||||
#define A_LDAP_GROUP                      "LDAP Group"
 | 
			
		||||
#define A_LDAP_HOST_SERVER                "LDAP Host Server"
 | 
			
		||||
#define A_LDAP_LOG_FILENAME               "LDAP Log Filename"
 | 
			
		||||
#define A_LDAP_LOG_LEVEL                  "LDAP Log Level"
 | 
			
		||||
#define A_LDAP_LOG_SIZE_LIMIT             "LDAP Log Size Limit"
 | 
			
		||||
#define A_LDAP_REFERRAL                   "LDAP Referral"
 | 
			
		||||
#define A_LDAP_SCREEN_LEVEL               "LDAP Screen Level"
 | 
			
		||||
#define A_LDAP_SEARCH_SIZE_LIMIT          "LDAP Search Size Limit"
 | 
			
		||||
#define A_LDAP_SEARCH_TIME_LIMIT          "LDAP Search Time Limit"
 | 
			
		||||
#define A_LDAP_SERVER                     "LDAP Server"
 | 
			
		||||
#define A_LDAP_SERVER_BIND_LIMIT          "LDAP Server Bind Limit"
 | 
			
		||||
#define A_LDAP_SERVER_IDLE_TIMEOUT        "LDAP Server Idle Timeout"
 | 
			
		||||
#define A_LDAP_SERVER_LIST                "LDAP Server List"
 | 
			
		||||
#define A_LDAP_SSL_PORT                   "LDAP SSL Port"
 | 
			
		||||
#define A_LDAP_SUFFIX                     "LDAP Suffix"
 | 
			
		||||
#define A_LDAP_TCP_PORT                   "LDAP TCP Port"
 | 
			
		||||
#define A_LDAP_UDP_PORT                   "LDAP UDP Port"
 | 
			
		||||
#define A_LDAPUSERCERTIFICATE             "LDAPUserCertificate"
 | 
			
		||||
#define A_LDAP_ARL                        "LDAP:ARL"
 | 
			
		||||
#define A_LDAP_BINDCATALOG                "LDAP:bindCatalog"
 | 
			
		||||
#define A_LDAP_BINDCATALOGUSAGE           "LDAP:bindCatalogUsage"
 | 
			
		||||
#define A_LDAP_CACERTIFICATE              "LDAP:caCertificate"
 | 
			
		||||
#define A_LDAP_CRL                        "LDAP:CRL"
 | 
			
		||||
#define A_LDAP_CROSSCERTIFICATEPAIR       "LDAP:crossCertificatePair"
 | 
			
		||||
#define A_LDAP_KEYMATERIALNAME            "LDAP:keyMaterialName"
 | 
			
		||||
#define A_LDAP_SEARCHCATALOG              "LDAP:searchCatalog"
 | 
			
		||||
#define A_LDAP_SEARCHCATALOGUSAGE         "LDAP:searchCatalogUsage"
 | 
			
		||||
#define A_LOCKED_BY_INTRUDER              "Locked By Intruder"
 | 
			
		||||
#define A_LOCKOUT_AFTER_DETECTION         "Lockout After Detection"
 | 
			
		||||
#define A_LOGIN_ALLOWED_TIME_MAP          "Login Allowed Time Map"
 | 
			
		||||
#define A_LOGIN_DISABLED                  "Login Disabled"
 | 
			
		||||
#define A_LOGIN_EXPIRATION_TIME           "Login Expiration Time"
 | 
			
		||||
#define A_LOGIN_GRACE_LIMIT               "Login Grace Limit"
 | 
			
		||||
#define A_LOGIN_GRACE_REMAINING           "Login Grace Remaining"
 | 
			
		||||
#define A_LOGIN_INTRUDER_ADDRESS          "Login Intruder Address"
 | 
			
		||||
#define A_LOGIN_INTRUDER_ATTEMPTS         "Login Intruder Attempts"
 | 
			
		||||
#define A_LOGIN_INTRUDER_LIMIT            "Login Intruder Limit"
 | 
			
		||||
#define A_LOGIN_INTRUDER_RESET_TIME       "Login Intruder Reset Time"
 | 
			
		||||
#define A_LOGIN_MAXIMUM_SIMULTANEOUS      "Login Maximum Simultaneous"
 | 
			
		||||
#define A_LOGIN_SCRIPT                    "Login Script"
 | 
			
		||||
#define A_LOGIN_TIME                      "Login Time"
 | 
			
		||||
#define A_LOW_RESET_TIME                  "Low Convergence Reset Time"
 | 
			
		||||
#define A_LOW_SYNC_INTERVAL               "Low Convergence Sync Interval"
 | 
			
		||||
#define A_MAILBOX_ID                      "Mailbox ID"
 | 
			
		||||
#define A_MAILBOX_LOCATION                "Mailbox Location"
 | 
			
		||||
#define A_MASV_AUTHORIZED_RANGE           "MASV:Authorized Range"
 | 
			
		||||
#define A_MASV_DEFAULT_RANGE              "MASV:Default Range"
 | 
			
		||||
#define A_MASV_DOMAIN_POLICY              "MASV:Domain Policy"
 | 
			
		||||
#define A_MASV_LABEL                      "MASV:Label"
 | 
			
		||||
#define A_MASV_PROPOSED_LABEL             "MASV:Proposed Label"
 | 
			
		||||
#define A_MAXIMUM_SPEED                   "Maximum Speed"
 | 
			
		||||
#define A_MAXIMUM_SPEED_UNITS             "Maximum Speed Units"
 | 
			
		||||
#define A_MEMBER                          "Member"
 | 
			
		||||
#define A_MEMBERS_OF_TEMPLATE             "Members Of Template"
 | 
			
		||||
#define A_MEMORY                          "Memory"
 | 
			
		||||
#define A_MESSAGE_ROUTING_GROUP           "Message Routing Group"
 | 
			
		||||
#define A_MESSAGE_SERVER                  "Message Server"
 | 
			
		||||
#define A_MESSAGING_DATABASE_LOCATION     "Messaging Database Location"
 | 
			
		||||
#define A_MESSAGING_ROUTING_GROUP         "Messaging Routing Group"
 | 
			
		||||
#define A_MESSAGING_SERVER                "Messaging Server"
 | 
			
		||||
#define A_MESSAGING_SERVER_TYPE           "Messaging Server Type"
 | 
			
		||||
#define A_MHS_SEND_DIRECTORY_PATH         "MHS Send Directory Path"
 | 
			
		||||
#define A_MHS_SEND_DIRECTORY_VOLUME       "MHS Send Directory Volume"
 | 
			
		||||
#define A_MINIMUM_ACCOUNT_BALANCE         "Minimum Account Balance"
 | 
			
		||||
#define A_NDPS_ACCOUNTANT_ROLE            "NDPS Accountant Role"
 | 
			
		||||
#define A_NDPS_CONTROL_FLAGS              "NDPS Control Flags"
 | 
			
		||||
#define A_NDPS_DATABASE_SAVED_TIMESTAMP   "NDPS Database Saved Timestamp"
 | 
			
		||||
#define A_NDPS_DATABASE_SAVED_DATA_IMG    "NDPS Database Saved Data Image"
 | 
			
		||||
#define A_NDPS_DATABASE_SAVED_INDEX_IMG   "NDPS Database Saved Index Image"
 | 
			
		||||
#define A_NDPS_DEFAULT_PRINTER            "NDPS Default Printer"
 | 
			
		||||
#define A_NDPS_DEFAULT_PUBLIC_PRINTER     "NDPS Default Public Printer"
 | 
			
		||||
#define A_NDPS_JOB_CONFIGURATION          "NDPS Job Configuration"
 | 
			
		||||
#define A_NDPS_MANAGER_STATUS             "NDPS Manager Status"
 | 
			
		||||
#define A_NDPS_OPERATOR_ROLE              "NDPS Operator Role"
 | 
			
		||||
#define A_NDPS_PRINTER_INSTALL_LIST       "NDPS Printer Install List"
 | 
			
		||||
#define A_NDPS_PRINTER_INST_TIMESTAMP     "NDPS Printer Install Timestamp"
 | 
			
		||||
#define A_NDPS_PRINTER_QUEUE_LIST         "NDPS Printer Queue List"
 | 
			
		||||
#define A_NDPS_PRINTER_SIBLINGS           "NDPS Printer Siblings"
 | 
			
		||||
#define A_NDPS_PUBLIC_PRINTER_INST_LIST   "NDPS Public Printer Install List"
 | 
			
		||||
#define A_NDPS_REPLACE_ALL_CLIENT_PRINT   "NDPS Replace All Client Printers"
 | 
			
		||||
#define A_NDPS_SMTP_SERVER                "NDPS SMTP Server"
 | 
			
		||||
#define A_NDPS_USER_ROLE                  "NDPS User Role"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_ALL_ATTRIBUTES    "NDSCat:Actual All Attributes"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_ATTRIBUTE_COUNT   "NDSCat:Actual Attribute Count"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_ATTRIBUTES        "NDSCat:Actual Attributes"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_BASE_OBJECT       "NDSCat:Actual Base Object"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_CATALOG_SIZE      "NDSCat:Actual Catalog Size"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_END_TIME          "NDSCat:Actual End Time"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_FILTER            "NDSCat:Actual Filter"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_OBJECT_COUNT      "NDSCat:Actual Object Count"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_RETURN_CODE       "NDSCat:Actual Return Code"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_SCOPE             "NDSCat:Actual Scope"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_SEARCH_ALIASES    "NDSCat:Actual Search Aliases"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_START_TIME        "NDSCat:Actual Start Time"
 | 
			
		||||
#define A_NDSCAT_ACTUAL_VALUE_COUNT       "NDSCat:Actual Value Count"
 | 
			
		||||
#define A_NDSCAT_ALL_ATTRIBUTES           "NDSCat:All Attributes"
 | 
			
		||||
#define A_NDSCAT_ATTRDEFTBL               "NDSCat:AttrDefTbl"
 | 
			
		||||
#define A_NDSCAT_ATTRIBUTES               "NDSCat:Attributes"
 | 
			
		||||
#define A_NDSCAT_AUTO_DREDGE              "NDSCat:Auto Dredge"
 | 
			
		||||
#define A_NDSCAT_BASE_OBJECT              "NDSCat:Base Object"
 | 
			
		||||
#define A_NDSCAT_CATALOGDB                "NDSCat:CatalogDB"
 | 
			
		||||
#define A_NDSCAT_CATALOG_LIST             "NDSCat:Catalog List"
 | 
			
		||||
#define A_NDSCAT_DREDGE_INTERVAL          "NDSCat:Dredge Interval"
 | 
			
		||||
#define A_NDSCAT_FILTER                   "NDSCat:Filter"
 | 
			
		||||
#define A_NDSCAT_INDEXDEFTBL              "NDSCat:IndexDefTbl"
 | 
			
		||||
#define A_NDSCAT_INDEXES                  "NDSCat:Indexes"
 | 
			
		||||
#define A_NDSCAT_LABEL                    "NDSCat:Label"
 | 
			
		||||
#define A_NDSCAT_LOG                      "NDSCat:Log"
 | 
			
		||||
#define A_NDSCAT_MASTER_CATALOG           "NDSCat:Master Catalog"
 | 
			
		||||
#define A_NDSCAT_MAX_LOG_SIZE             "NDSCat:Max Log Size"
 | 
			
		||||
#define A_NDSCAT_MAX_RETRIES              "NDSCat:Max Retries"
 | 
			
		||||
#define A_NDSCAT_MAX_THREADS              "NDSCat:Max Threads"
 | 
			
		||||
#define A_NDSCAT_RETRY_INTERVAL           "NDSCat:Retry Interval"
 | 
			
		||||
#define A_NDSCAT_SCOPE                    "NDSCat:Scope"
 | 
			
		||||
#define A_NDSCAT_SEARCH_ALIASES           "NDSCat:Search Aliases"
 | 
			
		||||
#define A_NDSCAT_SLAVE_CATALOG_LIST       "NDSCat:Slave Catalog List"
 | 
			
		||||
#define A_NDSCAT_START_TIME               "NDSCat:Start Time"
 | 
			
		||||
#define A_NDSCAT_SYNCH_INTERVAL           "NDSCat:Synch Interval"
 | 
			
		||||
#define A_NDSPKI_CERTIFICATE_CHAIN        "NDSPKI:Certificate Chain"
 | 
			
		||||
#define A_NDSPKI_GIVEN_NAME               "NDSPKI:Given Name"
 | 
			
		||||
#define A_NDSPKI_KEY_FILE                 "NDSPKI:Key File"
 | 
			
		||||
#define A_NDSPKI_Key_Material_DN          "NDSPKI:Key Material DN"
 | 
			
		||||
#define A_NDSPKI_PARENT_CA                "NDSPKI:Parent CA"
 | 
			
		||||
#define A_NDSPKI_PARENT_CA_DN             "NDSPKI:Parent CA DN"
 | 
			
		||||
#define A_NDSPKI_PRIVATE_KEY              "NDSPKI:Private Key"
 | 
			
		||||
#define A_NDSPKI_PUBLIC_KEY               "NDSPKI:Public Key"
 | 
			
		||||
#define A_NDSPKI_PUBLIC_KEY_CERTIFICATE   "NDSPKI:Public Key Certificate"
 | 
			
		||||
#define A_NDSPKI_SUBJECT_NAME             "NDSPKI:Subject Name"
 | 
			
		||||
#define A_NDSPKI_TREE_CA_DN               "NDSPKI:Tree CA DN"
 | 
			
		||||
#define A_NETWORK_ADDRESS                 "Network Address"
 | 
			
		||||
#define A_NETWORK_ADDRESS_RESTRICTION     "Network Address Restriction"
 | 
			
		||||
#define A_NEW_OBJECTS_DS_RIGHTS           "New Object's DS Rights"
 | 
			
		||||
#define A_NEW_OBJECTS_FS_RIGHTS           "New Object's FS Rights"
 | 
			
		||||
#define A_NEW_OBJECTS_SELF_RIGHTS         "New Object's Self Rights"
 | 
			
		||||
#define A_NLS_COMMON_CERTIFICATE          "NLS:Common Certificate"
 | 
			
		||||
#define A_NLS_CURRENT_INSTALLED           "NLS:Current Installed"
 | 
			
		||||
#define A_NLS_CURRENT_PEAK_INSTALLED      "NLS:Current Peak Installed"
 | 
			
		||||
#define A_NLS_CURRENT_PEAK_USED           "NLS:Current Peak Used"
 | 
			
		||||
#define A_NLS_CURRENT_USED                "NLS:Current Used"
 | 
			
		||||
#define A_NLS_HOURLY_DATA_SIZE            "NLS:Hourly Data Size"
 | 
			
		||||
#define A_NLS_LICENSE_DATABASE            "NLS:License Database"
 | 
			
		||||
#define A_NLS_LICENSE_ID                  "NLS:License ID"
 | 
			
		||||
#define A_NLS_LICENSE_SERVICE_PROVIDER    "NLS:License Service Provider"
 | 
			
		||||
#define A_NLS_LSP_REVISION                "NLS:LSP Revision"
 | 
			
		||||
#define A_NLS_OWNER                       "NLS:Owner"
 | 
			
		||||
#define A_NLS_PEAK_INSTALLED_DATA         "NLS:Peak Installed Data"
 | 
			
		||||
#define A_NLS_PEAK_USED_DATA              "NLS:Peak Used Data"
 | 
			
		||||
#define A_NLS_PRODUCT                     "NLS:Product"
 | 
			
		||||
#define A_NLS_PUBLISHER                   "NLS:Publisher"
 | 
			
		||||
#define A_NLS_REVISION                    "NLS:Revision"
 | 
			
		||||
#define A_NLS_SEARCH_TYPE                 "NLS:Search Type"
 | 
			
		||||
#define A_NLS_SUMMARY_UPDATE_TIME         "NLS:Summary Update Time"
 | 
			
		||||
#define A_NLS_SUMMARY_VERSION             "NLS:Summary Version"
 | 
			
		||||
#define A_NLS_TRANSACTION_DATABASE        "NLS:Transaction Database"
 | 
			
		||||
#define A_NLS_TRANSACTION_LOG_NAME        "NLS:Transaction Log Name"
 | 
			
		||||
#define A_NLS_TRANSACTION_LOG_SIZE        "NLS:Transaction Log Size"
 | 
			
		||||
#define A_NLS_VERSION                     "NLS:Version"
 | 
			
		||||
#define A_NNS_DOMAIN                      "NNS Domain"
 | 
			
		||||
#define A_NOTIFICATION_CONSUMERS          "Notification Consumers"
 | 
			
		||||
#define A_NOTIFICATION_PROFILE            "Notification Profile"
 | 
			
		||||
#define A_NOTIFICATION_SERVICE_ENABLED    "Notification Service Enabled"
 | 
			
		||||
#define A_NOTIFICATION_SRVC_NET_ADDR      "Notification Srvc Net Addr"
 | 
			
		||||
#define A_NOTIFICATION_SRVC_NET_ADDRESS   "Notification Srvc Net Address"
 | 
			
		||||
#define A_NOTIFY                          "Notify"
 | 
			
		||||
#define A_NRD_REGISTRY_DATA               "NRD:Registry Data"
 | 
			
		||||
#define A_NRD_REGISTRY_INDEX              "NRD:Registry Index"
 | 
			
		||||
#define A_NSCP_ADMINISTRATORCONTACTINFO   "NSCP:administratorContactInfo"
 | 
			
		||||
#define A_NSCP_ADMINURL                   "NSCP:adminURL"
 | 
			
		||||
#define A_NSCP_INSTALLATIONTIMESTAMP      "NSCP:installationTimeStamp"
 | 
			
		||||
#define A_NSCP_MAILACCESSDOMAIN           "NSCP:mailAccessDomain"
 | 
			
		||||
#define A_NSCP_MAILALTERNATEADDRESS       "NSCP:mailAlternateAddress"
 | 
			
		||||
#define A_NSCP_MAILAUTOREPLYMODE          "NSCP:mailAutoReplyMode"
 | 
			
		||||
#define A_NSCP_MAILAUTOREPLYTEXT          "NSCP:mailAutoReplyText"
 | 
			
		||||
#define A_NSCP_MAILDELIVERYOPTION         "NSCP:mailDeliveryOption"
 | 
			
		||||
#define A_NSCP_MAILFORWARDINGADDRESS      "NSCP:mailForwardingAddress"
 | 
			
		||||
#define A_NSCP_MAILHOST                   "NSCP:mailHost"
 | 
			
		||||
#define A_NSCP_MAILMESSAGESTORE           "NSCP:mailMessageStore"
 | 
			
		||||
#define A_NSCP_MAILPROGRAMDELIVERYINFO    "NSCP:mailProgramDeliveryInfo"
 | 
			
		||||
#define A_NSCP_MAILQUOTA                  "NSCP:mailQuota"
 | 
			
		||||
#define A_NSCP_MGRPRFC822MAILMEMBER       "NSCP:mgrpRFC822mailmember"
 | 
			
		||||
#define A_NSCP_NGCOMPONENT                "NSCP:ngComponent"
 | 
			
		||||
#define A_NSCP_NSACLROLE                  "NSCP:nsaclrole"
 | 
			
		||||
#define A_NSCP_NSCREATOR                  "NSCP:nscreator"
 | 
			
		||||
#define A_NSCP_NSFLAGS                    "NSCP:nsflags"
 | 
			
		||||
#define A_NSCP_NSLICENSEDENDTIME          "NSCP:nsLicensedEndTime"
 | 
			
		||||
#define A_NSCP_NSLICENSEDFOR              "NSCP:nsLicensedFor"
 | 
			
		||||
#define A_NSCP_NSLICENSEDSTARTTIME        "NSCP:nsLicensedStartTime"
 | 
			
		||||
#define A_NSCP_NSNEWSACL                  "NSCP:nsnewsACL"
 | 
			
		||||
#define A_NSCP_NSPRETTYNAME               "NSCP:nsprettyname"
 | 
			
		||||
#define A_NSCP_SERVERHOSTNAME             "NSCP:serverHostName"
 | 
			
		||||
#define A_NSCP_SERVERPRODUCTNAME          "NSCP:serverProductName"
 | 
			
		||||
#define A_NSCP_SERVERROOT                 "NSCP:serverRoot"
 | 
			
		||||
#define A_NSCP_SERVERVERSIONNUMBER        "NSCP:serverVersionNumber"
 | 
			
		||||
#define A_NSCP_SUBTREEACI                 "NSCP:subtreeACI"
 | 
			
		||||
#define A_OBITUARY                        "Obituary"
 | 
			
		||||
#define A_OBITUARY_NOTIFY                 "Obituary Notify"
 | 
			
		||||
#define A_ORGANIZATION_NAME               "O"
 | 
			
		||||
#define A_OBJECT_CLASS                    "Object Class"
 | 
			
		||||
#define A_OPERATOR                        "Operator"
 | 
			
		||||
#define A_OTHER_GUID                      "Other GUID"
 | 
			
		||||
#define A_ORGANIZATIONAL_UNIT_NAME        "OU"
 | 
			
		||||
#define A_OWNER                           "Owner"
 | 
			
		||||
#define A_PAGE_DESCRIPTION_LANGUAGE       "Page Description Language"
 | 
			
		||||
#define A_PAGE_DESCRIPTION_LANGUAGES      "Page Description Languages"
 | 
			
		||||
#define A_PARTITION_CONTROL               "Partition Control"
 | 
			
		||||
#define A_PARTITION_CREATION_TIME         "Partition Creation Time"
 | 
			
		||||
#define A_PARTITION_STATUS                "Partition Status"
 | 
			
		||||
#define A_PASSWORD_ALLOW_CHANGE           "Password Allow Change"
 | 
			
		||||
#define A_PASSWORD_EXPIRATION_INTERVAL    "Password Expiration Interval"
 | 
			
		||||
#define A_PASSWORD_EXPIRATION_TIME        "Password Expiration Time"
 | 
			
		||||
#define A_PASSWORD_MANAGEMENT             "Password Management"
 | 
			
		||||
#define A_PASSWORD_MINIMUM_LENGTH         "Password Minimum Length"
 | 
			
		||||
#define A_PASSWORD_REQUIRED               "Password Required"
 | 
			
		||||
#define A_PASSWORD_UNIQUE_REQUIRED        "Password Unique Required"
 | 
			
		||||
#define A_PASSWORDS_USED                  "Passwords Used"
 | 
			
		||||
#define A_PATH                            "Path"
 | 
			
		||||
#define A_PERMANENT_CONFIG_PARMS          "Permanent Config Parms"
 | 
			
		||||
#define A_PHYSICAL_DELIVERY_OFFICE_NAME   "Physical Delivery Office Name"
 | 
			
		||||
#define A_POSTAL_ADDRESS                  "Postal Address"
 | 
			
		||||
#define A_POSTAL_CODE                     "Postal Code"
 | 
			
		||||
#define A_POSTAL_OFFICE_BOX               "Postal Office Box"
 | 
			
		||||
#define A_POSTMASTER                      "Postmaster"
 | 
			
		||||
#define A_PRIMARY_NOTIFICATION_SERVICE    "Primary Notification Service"
 | 
			
		||||
#define A_PRIMARY_RESOURCE_SERVICE        "Primary Resource Service"
 | 
			
		||||
#define A_PRINT_JOB_CONFIGURATION         "Print Job Configuration"
 | 
			
		||||
#define A_PRINT_SERVER                    "Print Server"
 | 
			
		||||
#define A_PRINTER                         "Printer"
 | 
			
		||||
#define A_PRINTER_AGENT_NAME              "Printer Agent Name"
 | 
			
		||||
#define A_PRINTER_CONFIGURATION           "Printer Configuration"
 | 
			
		||||
#define A_PRINTER_CONTROL                 "Printer Control"
 | 
			
		||||
#define A_PRINTER_MANUFACTURER            "Printer Manufacturer"
 | 
			
		||||
#define A_PRINTER_MECHANISM_TYPES         "Printer Mechanism Types"
 | 
			
		||||
#define A_PRINTER_MODEL                   "Printer Model"
 | 
			
		||||
#define A_PRINTER_STATUS                  "Printer Status"
 | 
			
		||||
#define A_PRINTER_TO_PA_ID_MAPPINGS       "Printer to PA ID Mappings"
 | 
			
		||||
#define A_PRIVATE_KEY                     "Private Key"
 | 
			
		||||
#define A_PROFILE                         "Profile"
 | 
			
		||||
#define A_PROFILE_MEMBERSHIP              "Profile Membership"
 | 
			
		||||
#define A_PSM_NAME                        "PSM Name"
 | 
			
		||||
#define A_PUBLIC_KEY                      "Public Key"
 | 
			
		||||
#define A_PURGE_VECTOR                    "Purge Vector"
 | 
			
		||||
#define A_QUEUE                           "Queue"
 | 
			
		||||
#define A_QUEUE_DIRECTORY                 "Queue Directory"
 | 
			
		||||
#define A_RECEIVED_UP_TO                  "Received Up To"
 | 
			
		||||
#define A_REFERENCE                       "Reference"
 | 
			
		||||
#define A_REGISTRY_ADVERTISING_NAME       "Registry Advertising Name"
 | 
			
		||||
#define A_REGISTRY_SERVICE_ENABLED        "Registry Service Enabled"
 | 
			
		||||
#define A_REGISTRY_SRVC_NET_ADDR          "Registry Srvc Net Addr"
 | 
			
		||||
#define A_REGISTRY_SRVC_NET_ADDRESS       "Registry Srvc Net Address"
 | 
			
		||||
#define A_REPLICA                         "Replica"
 | 
			
		||||
#define A_REPLICA_UP_TO                   "Replica Up To"
 | 
			
		||||
#define A_RESOLUTION                      "Resolution"
 | 
			
		||||
#define A_RESOURCE                        "Resource"
 | 
			
		||||
#define A_RESOURCE_MGMT_SRVC_NET_ADDR     "Resource Mgmt Srvc Net Addr"
 | 
			
		||||
#define A_RESOURCE_MGMT_SRVC_NET_ADDRES   "Resource Mgmt Srvc Net Address"
 | 
			
		||||
#define A_RESOURCE_MGMT_SERVICE_ENABLED   "Resource Mgmt Service Enabled"
 | 
			
		||||
#define A_RESOURCE_MGR_DATABASE_PATH      "Resource Mgr Database Path"
 | 
			
		||||
#define A_RESOURCE_MGR_DATABASE_VOLUME    "Resource Mgr Database Volume"
 | 
			
		||||
#define A_REVISION                        "Revision"
 | 
			
		||||
#define A_ROLE_OCCUPANT                   "Role Occupant"
 | 
			
		||||
#define A_RUNF_SETUP_SCRIPT               "Run Setup Script"
 | 
			
		||||
#define A_STATE_OR_PROVINCE_NAME          "S"
 | 
			
		||||
#define A_STREET_ADDRESS                  "SA"
 | 
			
		||||
#define A_SAP_NAME                        "SAP Name"
 | 
			
		||||
#define A_SAS_SECURITY_DN                 "SAS:Security DN"
 | 
			
		||||
#define A_SAS_SERVICE_DN                  "SAS:Service DN"
 | 
			
		||||
#define A_SECURITY_EQUALS                 "Security Equals"
 | 
			
		||||
#define A_SECURITY_FLAGS                  "Security Flags"
 | 
			
		||||
#define A_SEE_ALSO                        "See Also"
 | 
			
		||||
#define A_SERIAL_NUMBER                   "Serial Number"
 | 
			
		||||
#define A_SERVER                          "Server"
 | 
			
		||||
#define A_SERVER_HOLDS                    "Server Holds"
 | 
			
		||||
#define A_SET_PASSWORD_AFTER_CREATE       "Set Password After Create"
 | 
			
		||||
#define A_SETUP_SCRIPT                    "Setup Script"
 | 
			
		||||
#define A_SIDES_SUPPORTED                 "Sides Supported"
 | 
			
		||||
#define A_SLP_ATTRIBUTE                   "SLP Attribute"
 | 
			
		||||
#define A_SLP_CACHE_LIMIT                 "SLP Cache Limit"
 | 
			
		||||
#define A_SLP_DA_BACK_LINK                "SLP DA Back Link"
 | 
			
		||||
#define A_SLP_DIRECTORY_AGENT_DN          "SLP Directory Agent DN"
 | 
			
		||||
#define A_SLP_LANGUAGE                    "SLP Language"
 | 
			
		||||
#define A_SLP_LIFETIME                    "SLP Lifetime"
 | 
			
		||||
#define A_SLP_SCOPE_NAME                  "SLP Scope Name"
 | 
			
		||||
#define A_SLP_SCOPE_UNIT_DN               "SLP Scope Unit DN"
 | 
			
		||||
#define A_SLP_START_PURGE_HOUR            "SLP Start Purge Hour"
 | 
			
		||||
#define A_SLP_STATUS                      "SLP Status"
 | 
			
		||||
#define A_SLP_SU_BACK_LINK                "SLP SU Back Link"
 | 
			
		||||
#define A_SLP_SU_TYPE                     "SLP SU Type"
 | 
			
		||||
#define A_SLP_TYPE                        "SLP Type"
 | 
			
		||||
#define A_SLP_URL                         "SLP URL"
 | 
			
		||||
#define A_SMS_PROTOCOL_ADDRESS            "SMS Protocol Address"
 | 
			
		||||
#define A_SMS_REGISTERED_SERVICE          "SMS Registered Service"
 | 
			
		||||
#define A_STATUS                          "Status"
 | 
			
		||||
#define A_SU                              "SU"
 | 
			
		||||
#define A_SUPPORTED_CONNECTIONS           "Supported Connections"
 | 
			
		||||
#define A_SUPPORTED_GATEWAY               "Supported Gateway"
 | 
			
		||||
#define A_SUPPORTED_SERVICES              "Supported Services"
 | 
			
		||||
#define A_SUPPORTED_TYPEFACES             "Supported Typefaces"
 | 
			
		||||
#define A_SURNAME                         "Surname"
 | 
			
		||||
#define A_SVCINFO                         "SvcInfo"
 | 
			
		||||
#define A_SVCTYPE                         "SvcType"
 | 
			
		||||
#define A_SVCTYPEID                       "SvcTypeID"
 | 
			
		||||
#define A_SYNCHRONIZATION_TOLERANCE       "Synchronization Tolerance"
 | 
			
		||||
#define A_IN_SYNC_UP_TO                   "Synchronized Up To"
 | 
			
		||||
#define A_TELEPHONE_NUMBER                "Telephone Number"
 | 
			
		||||
#define A_TIMEZONE                        "Timezone"
 | 
			
		||||
#define A_TITLE                           "Title"
 | 
			
		||||
#define A_TRANSITIVE_VECTOR               "Transitive Vector"
 | 
			
		||||
#define A_TRUSTEES_OF_NEW_OBJECT          "Trustees Of New Object"
 | 
			
		||||
#define A_TREE_NAME                       "T"
 | 
			
		||||
#define A_TYPE_CREATOR_MAP                "Type Creator Map"
 | 
			
		||||
#define A_UID                             "UID"
 | 
			
		||||
#define A_UNKNOWN                         "Unknown"
 | 
			
		||||
#define A_UNKNOWN_BASE_CLASS              "Unknown Base Class"
 | 
			
		||||
#define A_USED_BY                         "Used By"
 | 
			
		||||
#define A_USER                            "User"
 | 
			
		||||
#define A_USES                            "Uses"
 | 
			
		||||
#define A_VERSION                         "Version"
 | 
			
		||||
#define A_VOLUME                          "Volume"
 | 
			
		||||
#define A_VOLUME_SPACE_RESTRICTIONS       "Volume Space Restrictions"
 | 
			
		||||
#define A_WANMAN_COST                     "WANMAN:Cost"
 | 
			
		||||
#define A_WANMAN_DEFAULT_COST             "WANMAN:Default Cost"
 | 
			
		||||
#define A_WANMAN_LAN_AREA_MEMBERSHIP      "WANMAN:LAN Area Membership"
 | 
			
		||||
#define A_WANMAN_WAN_POLICY               "WANMAN:WAN Policy"
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										174
									
								
								c_clientlogin/xplatincl/nwdspart.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										174
									
								
								c_clientlogin/xplatincl/nwdspart.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,174 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdspart.h %
 | 
			
		||||
  %version: 8 %
 | 
			
		||||
  %date_modified: Tue Aug 29 18:11:41 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSPART_H )
 | 
			
		||||
#define NWDSPART_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
/*---------------------------------------------------------------------------
 | 
			
		||||
 * flags which specify partition info output of
 | 
			
		||||
 * DSV_LIST_PARTITIONS
 | 
			
		||||
 */
 | 
			
		||||
#define DSP_OUTPUT_FIELDS               0x00000001L
 | 
			
		||||
#define DSP_PARTITION_ID                0x00000002L
 | 
			
		||||
#define DSP_REPLICA_STATE               0x00000004L
 | 
			
		||||
#define DSP_MODIFICATION_TIMESTAMP      0x00000008L
 | 
			
		||||
#define DSP_PURGE_TIME                  0x00000010L
 | 
			
		||||
#define DSP_LOCAL_PARTITION_ID          0x00000020L
 | 
			
		||||
#define DSP_PARTITION_DN                0x00000040L
 | 
			
		||||
#define DSP_REPLICA_TYPE                0x00000080L
 | 
			
		||||
#define DSP_PARTITION_BUSY              0x00000100L
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAddReplica
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   pnstr8            partitionRoot,
 | 
			
		||||
   nuint32           replicaType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSChangeReplicaType
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            replicaName,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   nuint32           newReplicaType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSJoinPartitions
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            subordinatePartition,
 | 
			
		||||
   nflag32           flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListPartitions
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   pBuf_T            partitions
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListPartitionsExtInfo
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   nflag32           DSPFlags,
 | 
			
		||||
   pBuf_T            partitions
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemovePartition
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            partitionRoot
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemoveReplica
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   pnstr8            partitionRoot
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSplitPartition
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            subordinatePartition,
 | 
			
		||||
   nflag32           flags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPartitionReceiveAllUpdates
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            partitionRoot,
 | 
			
		||||
   pnstr8            serverName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSPartitionSendAllUpdates
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            partitionRoot,
 | 
			
		||||
   pnstr8            serverName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSyncPartition
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   pnstr8            partition,
 | 
			
		||||
   nuint32           seconds
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSAbortPartitionOperation
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            partitionRoot
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_dspart.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif  /* NWDSPART_H */
 | 
			
		||||
							
								
								
									
										124
									
								
								c_clientlogin/xplatincl/nwdssch.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								c_clientlogin/xplatincl/nwdssch.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,124 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdssch.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:08:00 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSSCH_H )
 | 
			
		||||
#define NWDSSCH_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSATTR_H ) 
 | 
			
		||||
#include "nwdsattr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSDefineAttr
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            attrName,
 | 
			
		||||
   pAttr_Info_T      attrDef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSDefineClass
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pClass_Info_T     classInfo,
 | 
			
		||||
   pBuf_T            classItems
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSListContainableClasses
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            parentObject,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            containableClasses
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSModifyClassDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            className,
 | 
			
		||||
   pBuf_T            optionalAttrs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadAttrDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allAttrs,
 | 
			
		||||
   pBuf_T            attrNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            attrDefs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSReadClassDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   nuint32           infoType,
 | 
			
		||||
   nbool8            allClasses,
 | 
			
		||||
   pBuf_T            classNames,
 | 
			
		||||
   pnint32           iterationHandle,
 | 
			
		||||
   pBuf_T            classDefs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemoveAttrDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            attrName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSRemoveClassDef
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            className
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSSyncSchema
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            server,
 | 
			
		||||
   nuint32           seconds
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
#endif /* NWDSSCH_H */
 | 
			
		||||
							
								
								
									
										55
									
								
								c_clientlogin/xplatincl/nwdstype.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								c_clientlogin/xplatincl/nwdstype.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwdstype.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:08:04 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#define NWDSTYPE_H
 | 
			
		||||
 | 
			
		||||
#ifndef NWDSCCODE
 | 
			
		||||
#define NWDSCCODE    int
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*******************************************************************/
 | 
			
		||||
/*                                                                 */
 | 
			
		||||
/*    !!!!! The following types have been obsoleted !!!!!!!!!      */
 | 
			
		||||
/*                                                                 */
 | 
			
		||||
/*   The following have been obsoleted - use types found in        */
 | 
			
		||||
/*   ntypes.h                                                      */
 | 
			
		||||
/*                                                                 */
 | 
			
		||||
/*   ntypes.h contains equivalent types for each of the typedefs   */
 | 
			
		||||
/*   listed below.  For example "uint32" is "nuint32" in ntypes.h  */
 | 
			
		||||
/*                                                                 */
 | 
			
		||||
/*   These typedefs also conflicted with defines in the WinSock2   */
 | 
			
		||||
/*   headers on NetWare.  The decision was made to obsolete these  */
 | 
			
		||||
/*   types to eliminate conflicts.                                 */ 
 | 
			
		||||
/*******************************************************************/
 | 
			
		||||
#ifdef INCLUDE_OBSOLETE
 | 
			
		||||
 | 
			
		||||
typedef unsigned long uint32;
 | 
			
		||||
typedef signed long int32;
 | 
			
		||||
typedef unsigned short uint16;
 | 
			
		||||
typedef signed short int16;
 | 
			
		||||
typedef unsigned char uint8;
 | 
			
		||||
typedef signed char int8;
 | 
			
		||||
 | 
			
		||||
#ifndef NWUNSIGNED
 | 
			
		||||
#define NWUNSIGNED unsigned
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* #ifdef INCLUDE_OBSOLETE */
 | 
			
		||||
 | 
			
		||||
#endif /* NWDSTYPE_H */
 | 
			
		||||
							
								
								
									
										256
									
								
								c_clientlogin/xplatincl/nwea.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										256
									
								
								c_clientlogin/xplatincl/nwea.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,256 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwea.h %
 | 
			
		||||
  %version: 5 %
 | 
			
		||||
  %date_modified: Fri Oct 15 14:23:04 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWEA_H )
 | 
			
		||||
#define NWEA_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWNAMSPC_H ) /* Needed top defined NW_IDX */
 | 
			
		||||
#include "nwnamspc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define EA_EOF                  1
 | 
			
		||||
#define EA_DONE                 1
 | 
			
		||||
 | 
			
		||||
#define EA_READWRITE            0
 | 
			
		||||
#define EA_CREATE               1
 | 
			
		||||
 | 
			
		||||
#define MISSING_EA_KEY             200  /* 0xC8 */
 | 
			
		||||
#define EA_NOT_FOUND               201  /* 0xC9 */
 | 
			
		||||
#define INVALID_EA_HANDLE_TYPE     202  /* 0xCA */
 | 
			
		||||
#define EA_NO_KEY_NO_DATA          203  /* 0xCB */
 | 
			
		||||
#define EA_NUMBER_MISMATCH         204  /* 0xCC */
 | 
			
		||||
#define EXTENT_NUMBER_OUT_OF_RANGE 205  /* 0xCD */
 | 
			
		||||
#define EA_BAD_DIR_NUM             206  /* 0xCE */
 | 
			
		||||
#define INVALID_EA_HANDLE          207  /* 0xCF */
 | 
			
		||||
#define EA_POSITION_OUT_OF_RANGE   208  /* 0xD0 */
 | 
			
		||||
#define EA_ACCESS_DENIED           209  /* 0xD1 */
 | 
			
		||||
#define DATA_PAGE_ODD_SIZE         210  /* 0xD2 */
 | 
			
		||||
#define EA_VOLUME_NOT_MOUNTED      211  /* 0xD3 */
 | 
			
		||||
#define BAD_PAGE_BOUNDARY          212  /* 0xD4 */
 | 
			
		||||
#define INSPECT_FAILURE            213  /* 0xD5 */
 | 
			
		||||
#define EA_ALREADY_CLAIMED         214  /* 0xD6 */
 | 
			
		||||
#define ODD_BUFFER_SIZE            215  /* 0xD7 */
 | 
			
		||||
#define NO_SCORECARDS              216  /* 0xD8 */
 | 
			
		||||
#define BAD_EDS_SIGNATURE          217  /* 0xD9 */
 | 
			
		||||
#define EA_SPACE_LIMIT             218  /* 0xDA */
 | 
			
		||||
#define EA_KEY_CORRUPT             219  /* 0xDB */
 | 
			
		||||
#define EA_KEY_LIMIT               220  /* 0xDC */
 | 
			
		||||
#define TALLY_CORRUPT              221  /* 0xDD */
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint32 rwPosition;
 | 
			
		||||
  nuint32 EAHandle;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint32 dirBase;
 | 
			
		||||
  nuint8  keyUsed;
 | 
			
		||||
  nuint16 keyLength;
 | 
			
		||||
  nuint8  key[256];
 | 
			
		||||
} NW_EA_HANDLE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint32 rwPosition;
 | 
			
		||||
  nuint32 EAHandle;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint32 dirBase;
 | 
			
		||||
  nuint8  keyUsed;
 | 
			
		||||
  nuint16 keyLength;
 | 
			
		||||
  nuint8  key[766];
 | 
			
		||||
} NW_EA_HANDLE_EXT;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint16 nextKeyOffset;
 | 
			
		||||
  nuint16 nextKey;
 | 
			
		||||
  nuint32 numKeysRead;
 | 
			
		||||
  nuint32 totalKeys;
 | 
			
		||||
  nuint32 EAHandle;
 | 
			
		||||
  nuint16 sequence;
 | 
			
		||||
  nuint16 numKeysInBuffer;
 | 
			
		||||
  nuint8  enumBuffer[512];
 | 
			
		||||
} NW_EA_FF_STRUCT;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint16 nextKeyOffset;
 | 
			
		||||
  nuint16 nextKey;
 | 
			
		||||
  nuint32 numKeysRead;
 | 
			
		||||
  nuint32 totalKeys;
 | 
			
		||||
  nuint32 EAHandle;
 | 
			
		||||
  nuint16 sequence;
 | 
			
		||||
  nuint16 numKeysInBuffer;
 | 
			
		||||
  nuint8  enumBuffer[1530];
 | 
			
		||||
} NW_EA_FF_STRUCT_EXT;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseEA
 | 
			
		||||
(
 | 
			
		||||
   const NW_EA_HANDLE N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseEAExt
 | 
			
		||||
(
 | 
			
		||||
   const NW_EA_HANDLE_EXT N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFindFirstEA
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   const NW_IDX    N_FAR * idxStruct,
 | 
			
		||||
   NW_EA_FF_STRUCT N_FAR * ffStruct,
 | 
			
		||||
   NW_EA_HANDLE    N_FAR * EAHandle,
 | 
			
		||||
   pnstr8                  EAName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFindFirstEAExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX    N_FAR *  idxStruct,
 | 
			
		||||
   NW_EA_FF_STRUCT_EXT N_FAR *  ffStruct,
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle,
 | 
			
		||||
   pnstr8                   EAName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFindNextEA
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_FF_STRUCT N_FAR * ffStruct,
 | 
			
		||||
   NW_EA_HANDLE    N_FAR * EAHandle,
 | 
			
		||||
   pnstr8                  EAName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFindNextEAExt
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_FF_STRUCT_EXT N_FAR *  ffStruct,
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle,
 | 
			
		||||
   pnstr8                   EAName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadEA
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_HANDLE N_FAR * EAHandle,
 | 
			
		||||
   nuint32        bufferSize,
 | 
			
		||||
   pnuint8        buffer,
 | 
			
		||||
   pnuint32       totalEASize,
 | 
			
		||||
   pnuint32       amountRead
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadEAExt
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle,
 | 
			
		||||
   nuint32                  bufferSize,
 | 
			
		||||
   pnuint8                  buffer,
 | 
			
		||||
   pnuint32                 totalEASize,
 | 
			
		||||
   pnuint32                 amountRead
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteEA
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_HANDLE N_FAR * EAHandle,
 | 
			
		||||
   nuint32              totalWriteSize,
 | 
			
		||||
   nuint32              bufferSize,
 | 
			
		||||
   const nuint8 N_FAR * buffer,
 | 
			
		||||
   pnuint32             amountWritten
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteEAExt
 | 
			
		||||
(
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle,
 | 
			
		||||
   nuint32                  totalWriteSize,
 | 
			
		||||
   nuint32                  bufferSize,
 | 
			
		||||
   const nuint8 N_FAR *     buffer,
 | 
			
		||||
   pnuint32                 amountWritten
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEAHandleStruct
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   const nstr8  N_FAR * EAName,
 | 
			
		||||
   const NW_IDX N_FAR * idxStruct,
 | 
			
		||||
   NW_EA_HANDLE N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEAHandleStructExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const nstr8  N_FAR *     EAName,
 | 
			
		||||
   const NW_IDX N_FAR *     idxStruct,
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenEA
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * path,
 | 
			
		||||
   pnstr8               EAName,
 | 
			
		||||
   nuint8               nameSpace,
 | 
			
		||||
   NW_EA_HANDLE N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenEAExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   NWDIR_HANDLE             dirHandle,
 | 
			
		||||
   const nstr8  N_FAR *     path,
 | 
			
		||||
   pnstr8                   EAName,
 | 
			
		||||
   nuint8                   nameSpace,
 | 
			
		||||
   NW_EA_HANDLE_EXT N_FAR * EAHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										659
									
								
								c_clientlogin/xplatincl/nwerror.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										659
									
								
								c_clientlogin/xplatincl/nwerror.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,659 @@
 | 
			
		||||
#ifndef __nwerror_h__
 | 
			
		||||
#define __nwerror_h__
 | 
			
		||||
/*============================================================================
 | 
			
		||||
=	Novell Kernel Services for NLMs
 | 
			
		||||
=
 | 
			
		||||
=  Copyright (C) Unpublished Work of Novell, Inc. All Rights Reserved.
 | 
			
		||||
=
 | 
			
		||||
=  This work is an unpublished work and contains confidential, proprietary and
 | 
			
		||||
=  trade  secret information of Novell, Inc. Access to this work is restricted
 | 
			
		||||
=  to (i) Novell, Inc. employees who have a need to know how to perform  tasks
 | 
			
		||||
=  within  the scope of their assignments and (ii) entities other than Novell,
 | 
			
		||||
=  Inc. who have entered into appropriate license agreements. No part of  this
 | 
			
		||||
=  work may be used, practiced, performed, copied, distributed, revised, modi-
 | 
			
		||||
=  fied, translated, abridged, condensed, expanded, collected, compiled, link-
 | 
			
		||||
=  ed,  recast,  transformed  or  adapted without the prior written consent of
 | 
			
		||||
=  Novell, Inc. Any use or exploitation of  this  work  without  authorization
 | 
			
		||||
=  could subject the perpetrator to criminal and civil liability.
 | 
			
		||||
=
 | 
			
		||||
=  nwerror.c by Tom Buckley, March 1999
 | 
			
		||||
==============================================================================
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#ifndef SUCCESS
 | 
			
		||||
#define SUCCESS	0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Network errors
 | 
			
		||||
// Decimal values at end of line are 32768 lower than actual
 | 
			
		||||
 | 
			
		||||
#define SHELL_ERROR							0x8800
 | 
			
		||||
#define VLM_ERROR								0x8800
 | 
			
		||||
#define ALREADY_ATTACHED					0x8800	// 0	- Attach attempted to server with valid, existing connection
 | 
			
		||||
#define INVALID_CONNECTION					0x8801	// 1	- Request attempted with invalid or non-attached connection handle
 | 
			
		||||
#define DRIVE_IN_USE							0x8802	// 2	- OS/2 only (NOT USED)
 | 
			
		||||
#define CANT_ADD_CDS							0x8803	// 3	- Map drive attempted but unable to add new current directory structure
 | 
			
		||||
#define DRIVE_CANNOT_MAP					0x8803
 | 
			
		||||
#define BAD_DRIVE_BASE						0x8804	// 4	- Map drive attempted with invalid path specification
 | 
			
		||||
#define NET_READ_ERROR						0x8805	// 5	- Attempt to receive from the selected transport failed
 | 
			
		||||
#define NET_RECV_ERROR						0x8805	// 5
 | 
			
		||||
#define UNKNOWN_NET_ERROR					0x8806	// 6	- Network send attempted with an un-specific network error
 | 
			
		||||
#define SERVER_INVALID_SLOT				0x8807	// 7	- Server request attempted with invalid server connection slot
 | 
			
		||||
#define BAD_SERVER_SLOT						0x8807	// 7
 | 
			
		||||
#define NO_SERVER_SLOTS						0x8808	// 8	- Attach attempted to server with no connection slots available
 | 
			
		||||
#define NET_WRITE_ERROR						0x8809	// 9	- Attempt to send on the selected transport failed
 | 
			
		||||
#define CONNECTION_IN_ERROR_STATE		0x8809	// Client-32
 | 
			
		||||
#define NET_SEND_ERROR						0x8809	// 9
 | 
			
		||||
#define SERVER_NO_ROUTE						0x880A	// 10 - Attempted to find route to server where no route exists
 | 
			
		||||
#define BAD_LOCAL_TARGET					0x880B	// 11 - OS/2 only
 | 
			
		||||
#define TOO_MANY_REQ_FRAGS					0x880C	// 12 - Attempted request with too many request fragments specified
 | 
			
		||||
#define CONNECT_LIST_OVERFLOW				0x880D	// 13
 | 
			
		||||
#define BUFFER_OVERFLOW						0x880E	// 14 - Attempt to receive more data than the reply buffer had room for
 | 
			
		||||
#define MORE_DATA_ERROR						0x880E	// Client-32
 | 
			
		||||
#define NO_CONN_TO_SERVER					0x880F	// 15
 | 
			
		||||
#define NO_CONNECTION_TO_SERVER			0x880F	// 15 - Attempt to get connection for a server not connected
 | 
			
		||||
#define NO_ROUTER_FOUND						0x8810	// 16 - OS/2 only
 | 
			
		||||
#define BAD_FUNC_ERROR						0x8811	// 17
 | 
			
		||||
#define INVALID_SHELL_CALL					0x8811	// 17 - Attempted function call to non- existent or illegal function
 | 
			
		||||
#define SCAN_COMPLETE						0x8812
 | 
			
		||||
#define LIP_RESIZE_ERROR					0x8812	// Client-32
 | 
			
		||||
#define UNSUPPORTED_NAME_FORMAT_TYPE	0x8813
 | 
			
		||||
#define INVALID_DIR_HANDLE					0x8813	// Client-32
 | 
			
		||||
#define HANDLE_ALREADY_LICENSED			0x8814
 | 
			
		||||
#define OUT_OF_CLIENT_MEMORY				0x8814	// Client-32
 | 
			
		||||
#define HANDLE_ALREADY_UNLICENSED		0x8815
 | 
			
		||||
#define PATH_NOT_OURS						0x8815	// Client-32
 | 
			
		||||
#define INVALID_NCP_PACKET_LENGTH		0x8816
 | 
			
		||||
#define PATH_IS_PRINT_DEVICE				0x8816	// Client-32
 | 
			
		||||
#define SETTING_UP_TIMEOUT					0x8817
 | 
			
		||||
#define PATH_IS_EXCLUDED_DEVICE			0x8817	// Client-32
 | 
			
		||||
#define SETTING_SIGNALS						0x8818
 | 
			
		||||
#define PATH_IS_INVALID						0x8818	// Client-32
 | 
			
		||||
#define SERVER_CONNECTION_LOST			0x8819
 | 
			
		||||
#define NOT_SAME_DEVICE						0x8819	// Client-32
 | 
			
		||||
#define OUT_OF_HEAP_SPACE					0x881A
 | 
			
		||||
#define INVALID_SERVICE_REQUEST			0x881B
 | 
			
		||||
#define INVALID_SEARCH_HANDLE				0x881B	// Client-32
 | 
			
		||||
#define INVALID_TASK_NUMBER				0x881C
 | 
			
		||||
#define INVALID_DEVICE_HANDLE				0x881C	// Client-32
 | 
			
		||||
#define INVALID_MESSAGE_LENGTH			0x881D
 | 
			
		||||
#define INVALID_SEM_HANDLE					0x881D	// Client-32
 | 
			
		||||
#define EA_SCAN_DONE							0x881E
 | 
			
		||||
#define INVALID_CFG_HANDLE					0x881E	// Client-32
 | 
			
		||||
#define BAD_CONNECTION_NUMBER				0x881F
 | 
			
		||||
#define INVALID_MOD_HANDLE					0x881F	// Client-32
 | 
			
		||||
#define ASYN_FIRST_PASS						0x8820
 | 
			
		||||
#define INVALID_DEVICE_INDEX				0x8821
 | 
			
		||||
#define INVALID_CONN_HANDLE				0x8822
 | 
			
		||||
#define INVALID_QUEUE_ID					0x8823
 | 
			
		||||
#define INVALID_PDEVICE_HANDLE			0x8824
 | 
			
		||||
#define INVALID_JOB_HANDLE					0x8825
 | 
			
		||||
#define INVALID_ELEMENT_ID					0x8826
 | 
			
		||||
#define ALIAS_NOT_FOUND						0x8827
 | 
			
		||||
#define RESOURCE_SUSPENDED					0x8828
 | 
			
		||||
#define INVALID_QUEUE_SPECIFIED			0x8829
 | 
			
		||||
#define DEVICE_ALREADY_OPEN				0x882A
 | 
			
		||||
#define JOB_ALREADY_OPEN					0x882B
 | 
			
		||||
#define QUEUE_NAME_ID_MISMATCH			0x882C
 | 
			
		||||
#define JOB_ALREADY_STARTED				0x882D
 | 
			
		||||
#define SPECT_DAA_TYPE_NOT_SUPPORTED	0x882E
 | 
			
		||||
#define INVALID_ENVIR_HANDLE				0x882F
 | 
			
		||||
#define NOT_SAME_CONNECTION				0x8830	// 48 - Internal server request attempted accross different server connections
 | 
			
		||||
#define PRIMARY_CONNECTION_NOT_SET		0x8831	// 49 - Attempt to retrieve default connection with no primary connection set
 | 
			
		||||
#define NO_PRIMARY_SET						0x8831	// 49
 | 
			
		||||
#define KEYWORD_NOT_FOUND					0x8832	// Client-32
 | 
			
		||||
#define PRINT_CAPTURE_NOT_IN_PROGRESS	0x8832	// Client-32
 | 
			
		||||
#define NO_CAPTURE_SET						0x8832	// 50
 | 
			
		||||
#define NO_CAPTURE_IN_PROGRESS			0x8832	// 50 - Capture information requested on port with no capture in progress
 | 
			
		||||
#define BAD_BUFFER_LENGTH					0x8833	// 51
 | 
			
		||||
#define INVALID_BUFFER_LENGTH				0x8833	// 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large
 | 
			
		||||
#define NO_USER_NAME							0x8834	// 52
 | 
			
		||||
#define NO_NETWARE_PRINT_SPOOLER			0x8835	// 53 - Capture requested without having the local print spooler installed
 | 
			
		||||
#define INVALID_PARAMETER					0x8836	// 54 - Attempted function with an invalid function parameter specified
 | 
			
		||||
#define CONFIG_FILE_OPEN_FAILED			0x8837	// 55 - OS/2 only
 | 
			
		||||
#define NO_CONFIG_FILE						0x8838	// 56 - OS/2 only
 | 
			
		||||
#define CONFIG_FILE_READ_FAILED			0x8839	// 57 - OS/2 only
 | 
			
		||||
#define CONFIG_LINE_TOO_LONG				0x883A	// 58 - OS/2 only
 | 
			
		||||
#define CONFIG_LINES_IGNORED				0x883B	// 59 - OS/2 only
 | 
			
		||||
#define NOT_MY_RESOURCE						0x883C	// 60 - Attempted request made with a parameter using foriegn resource
 | 
			
		||||
#define DAEMON_INSTALLED					0x883D	// 61 - OS/2 only
 | 
			
		||||
#define SPOOLER_INSTALLED					0x883E	// 62 - Attempted load of print spooler with print spooler already installed
 | 
			
		||||
#define CONN_TABLE_FULL						0x883F	// 63
 | 
			
		||||
#define CONNECTION_TABLE_FULL				0x883F	// 63 - Attempted to allocate a connection handle with no more local connection table entries
 | 
			
		||||
#define CONFIG_SECTION_NOT_FOUND			0x8840	// 64 - OS/2 only
 | 
			
		||||
#define BAD_TRAN_TYPE						0x8841	// 65
 | 
			
		||||
#define INVALID_TRANSPORT_TYPE			0x8841	// 65 - Attempted function on a connection with an invalid transport selected
 | 
			
		||||
#define TDS_TAG_IN_USE						0x8842	// 66 - OS/2 only
 | 
			
		||||
#define TDS_OUT_OF_MEMORY					0x8843	// 67 - OS/2 only
 | 
			
		||||
#define TDS_INVALID_TAG						0x8844	// 68 - Attempted TDS function with invalid tag
 | 
			
		||||
#define TDS_WRITE_TRUNCATED				0x8845	// 69 - Attempted TDS write with buffer that exceeded buffer
 | 
			
		||||
#define NO_CONNECTION_TO_DS				0x8846	// Client-32
 | 
			
		||||
#define NO_DIRECTORY_SERVICE_CONNECTION 0x8846	// 70
 | 
			
		||||
#define SERVICE_BUSY							0x8846	// 70 - Attempted request made to partially asynchronous function in busy state
 | 
			
		||||
#define NO_SERVER_ERROR						0x8847	// 71 - Attempted connect failed to find any servers responding
 | 
			
		||||
#define BAD_VLM_ERROR						0x8848	// 72 - Attempted function call to non-existant or not-loaded overlay
 | 
			
		||||
#define NETWORK_DRIVE_IN_USE				0x8849	// 73 - Attempted map to network drive that was already mapped
 | 
			
		||||
#define LOCAL_DRIVE_IN_USE					0x884A	// 74 - Attempted map to local drive that was in use
 | 
			
		||||
#define NO_DRIVES_AVAILABLE				0x884B	// 75 - Attempted map to next available drive when none were available
 | 
			
		||||
#define DEVICE_NOT_REDIRECTED				0x884C	// 76 - The device is not redirected
 | 
			
		||||
#define NO_MORE_SFT_ENTRIES				0x884D	// 77 - Maximum number of files was reached
 | 
			
		||||
#define UNLOAD_ERROR							0x884E	// 78 - Attempted unload failed
 | 
			
		||||
#define IN_USE_ERROR							0x884F	// 79 - Attempted re-use of already in use connection entry
 | 
			
		||||
#define TOO_MANY_REP_FRAGS					0x8850	// 80 - Attempted request with too many reply fragments specified
 | 
			
		||||
#define TABLE_FULL							0x8851	// 81 - Attempted to add a name into the name table after it was full
 | 
			
		||||
#ifndef SOCKET_NOT_OPEN
 | 
			
		||||
#define SOCKET_NOT_OPEN						0x8852	// 82 - Listen was posted on unopened socket
 | 
			
		||||
#endif
 | 
			
		||||
#define MEM_MGR_ERROR						0x8853	// 83 - Attempted enhanced memory operation failed
 | 
			
		||||
#define SFT3_ERROR							0x8854	// 84 - An SFT3 switch occured mid-transfer
 | 
			
		||||
#define PREFERRED_NOT_FOUND				0x8855	// 85 - the preferred directory server was not established but another directory server was returned
 | 
			
		||||
#define DEVICE_NOT_RECOGNIZED				0x8856	// 86 - used to determine if the device is not used by VISE so pass it on to the next redirector, if any.
 | 
			
		||||
#define BAD_NET_TYPE							0x8857	// 87 - the network type (Bind/NDS) does not match the server version
 | 
			
		||||
#define ERROR_OPENING_FILE					0x8858	// 88 - generic open failure error, invalid path, access denied, etc..
 | 
			
		||||
#define NO_PREFERRED_SPECIFIED			0x8859	// 89 - no preferred name specified
 | 
			
		||||
#define ERROR_OPENING_SOCKET				0x885A	// 90 - error opening a socket
 | 
			
		||||
#define REQUESTER_FAILURE					0x885A	// Client-32
 | 
			
		||||
#define RESOURCE_ACCESS_DENIED			0x885B	// Client-32
 | 
			
		||||
#define SIGNATURE_LEVEL_CONFLICT			0x8861
 | 
			
		||||
#define NO_LOCK_FOUND						0x8862	// OS/2 - process lock on conn handle failed, process ID not recognized
 | 
			
		||||
#define LOCK_TABLE_FULL						0x8863	// OS/2 - process lock on conn handle failed, process lock table full
 | 
			
		||||
#define INVALID_MATCH_DATA					0x8864
 | 
			
		||||
#define MATCH_FAILED							0x8865
 | 
			
		||||
#define NO_MORE_ENTRIES						0x8866
 | 
			
		||||
#define INSUFFICIENT_RESOURCES			0x8867
 | 
			
		||||
#define STRING_TRANSLATION					0x8868
 | 
			
		||||
#define STRING_TRANSLATION_NEEDED		0x8868	// Client-32
 | 
			
		||||
#define ACCESS_VIOLATION					0x8869
 | 
			
		||||
#define NOT_AUTHENTICATED					0x886A
 | 
			
		||||
#define INVALID_LEVEL						0x886B
 | 
			
		||||
#define RESOURCE_LOCK_ERROR				0x886C
 | 
			
		||||
#define INVALID_NAME_FORMAT				0x886D
 | 
			
		||||
#define OBJECT_EXISTS						0x886E
 | 
			
		||||
#define OBJECT_NOT_FOUND					0x886F
 | 
			
		||||
#define UNSUPPORTED_TRAN_TYPE				0x8870
 | 
			
		||||
#define INVALID_STRING_TYPE				0x8871
 | 
			
		||||
#define INVALID_OWNER						0x8872
 | 
			
		||||
#define UNSUPPORTED_AUTHENTICATOR		0x8873
 | 
			
		||||
#define IO_PENDING							0x8874
 | 
			
		||||
#define INVALID_DRIVE_NUM					0x8875
 | 
			
		||||
#define SHELL_FAILURE						0x88FF
 | 
			
		||||
#define VLM_FAILURE							0x88FF
 | 
			
		||||
 | 
			
		||||
#define SVC_ALREADY_REGISTERED			0x8880 // Client-32
 | 
			
		||||
#define SVC_REGISTRY_FULL					0x8881 // Client-32
 | 
			
		||||
#define SVC_NOT_REGISTERED					0x8882 // Client-32
 | 
			
		||||
#define OUT_OF_RESOURCES					0x8883 // Client-32
 | 
			
		||||
#define RESOLVE_SVC_FAILED					0x8884 // Client-32
 | 
			
		||||
#define CONNECT_FAILED						0x8885 // Client-32
 | 
			
		||||
#define PROTOCOL_NOT_BOUND					0x8886 // Client-32
 | 
			
		||||
#define AUTHENTICATION_FAILED				0x8887 // Client-32
 | 
			
		||||
#define INVALID_AUTHEN_HANDLE				0x8888 // Client-32
 | 
			
		||||
#define AUTHEN_HANDLE_ALREADY_EXISTS	0x8889 // Client-32
 | 
			
		||||
 | 
			
		||||
#define DIFF_OBJECT_ALREADY_AUTHEN		0x8890 // Client-32
 | 
			
		||||
#define REQUEST_NOT_SERVICEABLE			0x8891 // Client-32
 | 
			
		||||
#define AUTO_RECONNECT_SO_REBUILD		0x8892 // Client-32
 | 
			
		||||
#define AUTO_RECONNECT_RETRY_REQUEST	0x8893 // Client-32
 | 
			
		||||
#define ASYNC_REQUEST_IN_USE				0x8894 // Client-32
 | 
			
		||||
#define ASYNC_REQUEST_CANCELED			0x8895 // Client-32
 | 
			
		||||
#define SESS_SVC_ALREADY_REGISTERED		0x8896 // Client-32
 | 
			
		||||
#define SESS_SVC_NOT_REGISTERED			0x8897 // Client-32
 | 
			
		||||
#define PREVIOUSLY_AUTHENTICATED			0x8899 // Client-32
 | 
			
		||||
#define RESOLVE_SVC_PARTIAL				0x889A // Client-32
 | 
			
		||||
#define NO_DEFAULT_SPECIFIED				0x889B // Client-32
 | 
			
		||||
#define HOOK_REQUEST_NOT_HANDLED			0x889C // Client-32
 | 
			
		||||
#define HOOK_REQUEST_BUSY					0x889D // Client-32
 | 
			
		||||
#define HOOK_REQUEST_QUEUED				0x889D // Client-32
 | 
			
		||||
#define AUTO_RECONNECT_SO_IGNORE			0x889E // Client-32
 | 
			
		||||
#define ASYNC_REQUEST_NOT_IN_USE			0x889F // Client-32
 | 
			
		||||
#define AUTO_RECONNECT_FAILURE			0x88A0 // Client-32
 | 
			
		||||
#define NET_ERROR_ABORT_APPLICATION		0x88A1 // Client-32
 | 
			
		||||
#define NET_ERROR_SUSPEND_APPLICATION	0x88A2 // Client-32
 | 
			
		||||
#define NET_ERROR_ABORTED_PROCESS_GROUP	0x88A3 // Client-32
 | 
			
		||||
#define NET_ERROR_PASSWORD_HAS_EXPIRED	0x88A5 // Client-32
 | 
			
		||||
#define NET_ERROR_NETWORK_INACTIVE		0x88A6 // Client-32
 | 
			
		||||
#define REPLY_TRUNCATED						0x88E6		// 230 NLM
 | 
			
		||||
#define UTF8_CONVERSION_FAILED         0x88F0  // NWCALLS
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Server Errors
 | 
			
		||||
 | 
			
		||||
#define ERR_INSUFFICIENT_SPACE			0x8901	// 001
 | 
			
		||||
#define NLM_INVALID_CONNECTION			0x890A	// 010
 | 
			
		||||
#define ERR_TIMEOUT							0x8910	// 016 - nlm connection timeout
 | 
			
		||||
#define ERR_NO_MORE_ENTRY					0x8914	// 020
 | 
			
		||||
#define ERR_BUFFER_TOO_SMALL				0x8977	// 119
 | 
			
		||||
#define ERR_VOLUME_FLAG_NOT_SET			0x8978	// 120 the service requested, not avail. on the selected vol.
 | 
			
		||||
#define ERR_NO_ITEMS_FOUND					0x8979	// 121
 | 
			
		||||
#define ERR_CONN_ALREADY_TEMP				0x897A	// 122
 | 
			
		||||
#define ERR_CONN_ALREADY_LOGGED_IN		0x897B	// 123
 | 
			
		||||
#define ERR_CONN_NOT_AUTHENTICATED		0x897C	// 124
 | 
			
		||||
#define ERR_CONN_NOT_LOGGED_IN			0x897D	// 125
 | 
			
		||||
#define NCP_BOUNDARY_CHECK_FAILED		0x897E	// 126
 | 
			
		||||
#define ERR_LOCK_WAITING					0x897F	// 127
 | 
			
		||||
#define ERR_LOCK_FAIL						0x8980	// 128
 | 
			
		||||
#define FILE_IN_USE_ERROR					0x8980	// 128
 | 
			
		||||
#define NO_MORE_FILE_HANDLES				0x8981	// 129
 | 
			
		||||
#define NO_OPEN_PRIVILEGES					0x8982	// 130
 | 
			
		||||
#define IO_ERROR_NETWORK_DISK				0x8983	// 131
 | 
			
		||||
#define ERR_AUDITING_HARD_IO_ERROR		0x8983	// 131
 | 
			
		||||
#define NO_CREATE_PRIVILEGES				0x8984	// 132
 | 
			
		||||
#define ERR_AUDITING_NOT_SUPV				0x8984	// 132
 | 
			
		||||
#define NO_CREATE_DELETE_PRIVILEGES		0x8985	// 133
 | 
			
		||||
#define CREATE_FILE_EXISTS_READ_ONLY	0x8986	// 134
 | 
			
		||||
#define WILD_CARDS_IN_CREATE_FILE_NAME	0x8987	// 135
 | 
			
		||||
#define CREATE_FILENAME_ERROR				0x8987	// 135
 | 
			
		||||
#define INVALID_FILE_HANDLE				0x8988	// 136
 | 
			
		||||
#define NO_SEARCH_PRIVILEGES				0x8989	// 137
 | 
			
		||||
#define NO_DELETE_PRIVILEGES				0x898A	// 138
 | 
			
		||||
#define NO_RENAME_PRIVILEGES				0x898B	// 139
 | 
			
		||||
#define NO_MODIFY_PRIVILEGES				0x898C	// 140
 | 
			
		||||
#define SOME_FILES_AFFECTED_IN_USE		0x898D	// 141
 | 
			
		||||
#define NO_FILES_AFFECTED_IN_USE			0x898E	// 142
 | 
			
		||||
#define SOME_FILES_AFFECTED_READ_ONLY	0x898F	// 143
 | 
			
		||||
#define NO_FILES_AFFECTED_READ_ONLY		0x8990	// 144
 | 
			
		||||
#define SOME_FILES_RENAMED_NAME_EXISTS	0x8991	// 145
 | 
			
		||||
#define NO_FILES_RENAMED_NAME_EXISTS	0x8992	// 146
 | 
			
		||||
#define NO_READ_PRIVILEGES					0x8993	// 147
 | 
			
		||||
#define NO_WRITE_PRIVILEGES_OR_READONLY	0x8994	// 148
 | 
			
		||||
#define FILE_DETACHED						0x8995	// 149
 | 
			
		||||
#define SERVER_OUT_OF_MEMORY				0x8996	// 150
 | 
			
		||||
#define ERR_TARGET_NOT_A_SUBDIRECTORY	0x8996	// 150 can be changed later (note written by server people).
 | 
			
		||||
#define NO_DISK_SPACE_FOR_SPOOL_FILE	0x8997	// 151
 | 
			
		||||
#define ERR_AUDITING_NOT_ENABLED			0x8997	// 151
 | 
			
		||||
#define VOLUME_DOES_NOT_EXIST				0x8998	// 152
 | 
			
		||||
#define DIRECTORY_FULL						0x8999	// 153
 | 
			
		||||
#define RENAMING_ACROSS_VOLUMES			0x899A	// 154
 | 
			
		||||
#define BAD_DIRECTORY_HANDLE				0x899B	// 155
 | 
			
		||||
#define INVALID_PATH							0x899C	// 156
 | 
			
		||||
#define NO_MORE_TRUSTEES					0x899C	// 156
 | 
			
		||||
#define NO_MORE_DIRECTORY_HANDLES		0x899D	// 157
 | 
			
		||||
#define INVALID_FILENAME					0x899E	// 158
 | 
			
		||||
#define DIRECTORY_ACTIVE					0x899F	// 159
 | 
			
		||||
#define DIRECTORY_NOT_EMPTY				0x89A0	// 160
 | 
			
		||||
#define DIRECTORY_IO_ERROR					0x89A1	// 161
 | 
			
		||||
#define READ_FILE_WITH_RECORD_LOCKED	0x89A2	// 162
 | 
			
		||||
#define ERR_TRANSACTION_RESTARTED		0x89A3	// 163
 | 
			
		||||
#define ERR_RENAME_DIR_INVALID			0x89A4	// 164
 | 
			
		||||
#define ERR_INVALID_OPENCREATE_MODE		0x89A5	// 165
 | 
			
		||||
#define ERR_ALREADY_IN_USE					0x89A6	// 166
 | 
			
		||||
#define ERR_AUDITING_ACTIVE				0x89A6	// 166
 | 
			
		||||
#define ERR_INVALID_RESOURCE_TAG			0x89A7	// 167
 | 
			
		||||
#define ERR_ACCESS_DENIED					0x89A8	// 168
 | 
			
		||||
#define ERR_AUDITING_NO_RIGHTS			0x89A8	// 168
 | 
			
		||||
#define ERR_LINK_IN_PATH				0x89A9   // 169
 | 
			
		||||
#define INVALID_DATA_TYPE				0x89AA   // 170
 | 
			
		||||
#define INVALID_DATA_STREAM				0x89BE	// 190
 | 
			
		||||
#define INVALID_NAME_SPACE					0x89BF	// 191
 | 
			
		||||
#define NO_ACCOUNTING_PRIVILEGES			0x89C0	// 192
 | 
			
		||||
#define LOGIN_DENIED_NO_ACCOUNT_BALANCE	0x89C1	// 193
 | 
			
		||||
#define LOGIN_DENIED_NO_CREDIT			0x89C2	// 194
 | 
			
		||||
#define ERR_AUDITING_RECORD_SIZE			0x89C2	// 194
 | 
			
		||||
#define ERR_TOO_MANY_HOLDS					0x89C3	// 195
 | 
			
		||||
#define ACCOUNTING_DISABLED				0x89C4	// 196
 | 
			
		||||
#define INTRUDER_DETECTION_LOCK			0x89C5	// 197
 | 
			
		||||
#define NO_CONSOLE_OPERATOR				0x89C6	// 198
 | 
			
		||||
#define NO_CONSOLE_PRIVILEGES				0x89C6	// 198
 | 
			
		||||
#define ERR_Q_IO_FAILURE					0x89D0	// 208
 | 
			
		||||
#define ERR_NO_QUEUE							0x89D1	// 209
 | 
			
		||||
#define ERR_NO_Q_SERVER						0x89D2	// 210
 | 
			
		||||
#define ERR_NO_Q_RIGHTS						0x89D3	// 211
 | 
			
		||||
#define ERR_Q_FULL							0x89D4	// 212
 | 
			
		||||
#define ERR_NO_Q_JOB							0x89D5	// 213
 | 
			
		||||
#define ERR_NO_Q_JOB_RIGHTS				0x89D6	// 214
 | 
			
		||||
#define ERR_Q_IN_SERVICE					0x89D7	// 215
 | 
			
		||||
#define PASSWORD_NOT_UNIQUE				0x89D7	// 215
 | 
			
		||||
#define ERR_Q_NOT_ACTIVE					0x89D8	// 216
 | 
			
		||||
#define PASSWORD_TOO_SHORT					0x89D8	// 216
 | 
			
		||||
#define ERR_Q_STN_NOT_SERVER				0x89D9	// 217
 | 
			
		||||
#define LOGIN_DENIED_NO_CONNECTION		0x89D9	// 217
 | 
			
		||||
#define ERR_MAXIMUM_LOGINS_EXCEEDED		0x89D9	// 217
 | 
			
		||||
#define ERR_Q_HALTED							0x89DA	// 218
 | 
			
		||||
#define UNAUTHORIZED_LOGIN_TIME			0x89DA	// 218
 | 
			
		||||
#define UNAUTHORIZED_LOGIN_STATION		0x89DB	// 219
 | 
			
		||||
#define ERR_Q_MAX_SERVERS					0x89DB	// 219
 | 
			
		||||
#define ACCOUNT_DISABLED					0x89DC	// 220
 | 
			
		||||
#define PASSWORD_HAS_EXPIRED_NO_GRACE	0x89DE	// 222
 | 
			
		||||
#define PASSWORD_HAS_EXPIRED				0x89DF	// 223
 | 
			
		||||
#define E_NO_MORE_USERS						0x89E7	// 231
 | 
			
		||||
#define NOT_ITEM_PROPERTY					0x89E8	// 232
 | 
			
		||||
#define WRITE_PROPERTY_TO_GROUP			0x89E8	// 232
 | 
			
		||||
#define MEMBER_ALREADY_EXISTS				0x89E9	// 233
 | 
			
		||||
#define NO_SUCH_MEMBER						0x89EA	// 234
 | 
			
		||||
#define NOT_GROUP_PROPERTY					0x89EB	// 235
 | 
			
		||||
#define NO_SUCH_SEGMENT						0x89EC	// 236
 | 
			
		||||
#define PROPERTY_ALREADY_EXISTS			0x89ED	// 237
 | 
			
		||||
#define OBJECT_ALREADY_EXISTS				0x89EE	// 238
 | 
			
		||||
#define INVALID_NAME							0x89EF	// 239
 | 
			
		||||
#define WILD_CARD_NOT_ALLOWED				0x89F0	// 240
 | 
			
		||||
#define INVALID_BINDERY_SECURITY			0x89F1	// 241
 | 
			
		||||
#define NO_OBJECT_READ_PRIVILEGE			0x89F2	// 242
 | 
			
		||||
#define NO_OBJECT_RENAME_PRIVILEGE		0x89F3	// 243
 | 
			
		||||
#define NO_OBJECT_DELETE_PRIVILEGE		0x89F4	// 244
 | 
			
		||||
#define NO_OBJECT_CREATE_PRIVILEGE		0x89F5	// 245
 | 
			
		||||
#define NO_PROPERTY_DELETE_PRIVILEGE	0x89F6	// 246
 | 
			
		||||
#define NO_PROPERTY_CREATE_PRIVILEGE	0x89F7	// 247
 | 
			
		||||
#define NO_PROPERTY_WRITE_PRIVILEGE		0x89F8	// 248
 | 
			
		||||
#define NO_FREE_CONNECTION_SLOTS			0x89F9	// 249
 | 
			
		||||
#define NO_PROPERTY_READ_PRIVILEGE		0x89F9	// 249
 | 
			
		||||
#define NO_MORE_SERVER_SLOTS				0x89FA	// 250
 | 
			
		||||
#define TEMP_REMAP_ERROR					0x89FA	// 250
 | 
			
		||||
#define INVALID_PARAMETERS					0x89FB	// 251
 | 
			
		||||
#define NO_SUCH_PROPERTY					0x89FB	// 251
 | 
			
		||||
#define ERR_NCP_NOT_SUPPORTED				0x89FB	// 251
 | 
			
		||||
#define INTERNET_PACKET_REQT_CANCELED	0x89FC	// 252
 | 
			
		||||
#define UNKNOWN_FILE_SERVER				0x89FC	// 252
 | 
			
		||||
#define MESSAGE_QUEUE_FULL					0x89FC	// 252
 | 
			
		||||
#define NO_SUCH_OBJECT						0x89FC	// 252
 | 
			
		||||
#define LOCK_COLLISION						0x89FD	// 253
 | 
			
		||||
#define BAD_STATION_NUMBER					0x89FD	// 253
 | 
			
		||||
#define INVALID_PACKET_LENGTH				0x89FD	// 253
 | 
			
		||||
#define UNKNOWN_REQUEST						0x89FD	// 253
 | 
			
		||||
#define BINDERY_LOCKED						0x89FE	// 254
 | 
			
		||||
#define TRUSTEE_NOT_FOUND					0x89FE	// 254
 | 
			
		||||
#define DIRECTORY_LOCKED					0x89FE	// 254
 | 
			
		||||
#define INVALID_SEMAPHORE_NAME_LENGTH	0x89FE	// 254
 | 
			
		||||
#define PACKET_NOT_DELIVERABLE			0x89FE	// 254
 | 
			
		||||
#define SERVER_BINDERY_LOCKED				0x89FE	// 254
 | 
			
		||||
#define SOCKET_TABLE_FULL					0x89FE	// 254
 | 
			
		||||
#define SPOOL_DIRECTORY_ERROR				0x89FE	// 254
 | 
			
		||||
#define SUPERVISOR_HAS_DISABLED_LOGIN	0x89FE	// 254
 | 
			
		||||
#define TIMEOUT_FAILURE						0x89FE	// 254
 | 
			
		||||
#define BAD_PRINTER_ERROR					0x89FF	// 255
 | 
			
		||||
#define BAD_RECORD_OFFSET					0x89FF	// 255
 | 
			
		||||
#define CLOSE_FCB_ERROR						0x89FF	// 255
 | 
			
		||||
#define FILE_EXTENSION_ERROR				0x89FF	// 255
 | 
			
		||||
#define FILE_NAME_ERROR						0x89FF	// 255
 | 
			
		||||
#define HARDWARE_FAILURE					0x89FF	// 255
 | 
			
		||||
#define INVALID_DRIVE_NUMBER				0x89FF	// 255
 | 
			
		||||
#define DOS_INVALID_DRIVE					0x000F	// 255
 | 
			
		||||
#define INVALID_INITIAL_SEMAPHORE_VALUE	0x89FF	// 255
 | 
			
		||||
#define INVALID_SEMAPHORE_HANDLE			0x89FF	// 255
 | 
			
		||||
#define IO_BOUND_ERROR						0x89FF	// 255
 | 
			
		||||
#define NO_FILES_FOUND_ERROR				0x89FF	// 255
 | 
			
		||||
#define NO_RESPONSE_FROM_SERVER			0x89FF	// 255
 | 
			
		||||
#define NO_SUCH_OBJECT_OR_BAD_PASSWORD	0x89FF	// 255
 | 
			
		||||
#define PATH_NOT_LOCATABLE					0x89FF	// 255
 | 
			
		||||
#define QUEUE_FULL_ERROR					0x89FF	// 255
 | 
			
		||||
#define REQUEST_NOT_OUTSTANDING			0x89FF	// 255
 | 
			
		||||
#ifndef SOCKET_ALREADY_OPEN
 | 
			
		||||
#define SOCKET_ALREADY_OPEN				0x89FF	// 255
 | 
			
		||||
#endif
 | 
			
		||||
#define LOCK_ERROR							0x89FF	// 255
 | 
			
		||||
#ifndef FAILURE
 | 
			
		||||
#define FAILURE								0x89FF	// 255 Generic Failure
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// #define NOT_SAME_LOCAL_DRIVE			0x89F6
 | 
			
		||||
// #define TARGET_DRIVE_NOT_LOCAL		0x89F7
 | 
			
		||||
// #define ALREADY_ATTACHED_TO_SERVER	0x89F8 // 248
 | 
			
		||||
// #define NOT_ATTACHED_TO_SERVER		0x89F8
 | 
			
		||||
 | 
			
		||||
///// Network errors /////
 | 
			
		||||
// Decimal values at end of line are 32768 lower than actual
 | 
			
		||||
 | 
			
		||||
#define NWE_ALREADY_ATTACHED				0x8800	// 0	- Attach attempted to server with valid, existing connection
 | 
			
		||||
#define NWE_CONN_INVALID					0x8801	// 1	- Request attempted with invalid or non-attached connection handle
 | 
			
		||||
#define NWE_DRIVE_IN_USE					0x8802	// 2	- OS/2 only (NOT USED)
 | 
			
		||||
#define NWE_DRIVE_CANNOT_MAP				0x8803	// 3	- Map drive attempted but unable to add new current directory structure
 | 
			
		||||
#define NWE_DRIVE_BAD_PATH					0x8804	// 4	- Map drive attempted with invalid path specification
 | 
			
		||||
#define NWE_NET_RECEIVE						0x8805	// 5	- Attempt to receive from the selected transport failed
 | 
			
		||||
#define NWE_NET_UNKNOWN						0x8806	// 6	- Network send attempted with an un-specific network error
 | 
			
		||||
#define NWE_SERVER_BAD_SLOT				0x8807	// 7	- Server request attempted with invalid server connection slot
 | 
			
		||||
#define NWE_SERVER_NO_SLOTS				0x8808	// 8	- Attach attempted to server with no connection slots available
 | 
			
		||||
#define NWE_NET_SEND							0x8809	// 9	- Attempt to send on the selected transport failed
 | 
			
		||||
#define NWE_SERVER_NO_ROUTE				0x880A	// 10 - Attempted to find route to server where no route exists
 | 
			
		||||
#define NWE_BAD_LOCAL_TARGET				0x880B	// 11 - OS/2 only
 | 
			
		||||
#define NWE_REQ_TOO_MANY_REQ_FRAGS		0x880C	// 12 - Attempted request with too many request fragments specified
 | 
			
		||||
#define NWE_CONN_LIST_OVERFLOW			0x880D	// 13
 | 
			
		||||
#define NWE_BUFFER_OVERFLOW				0x880E	// 14 - Attempt to receive more data than the reply buffer had room for
 | 
			
		||||
#define NWE_SERVER_NO_CONN					0x880F	// 15 - Attempt to get connection for a server not connected
 | 
			
		||||
#define NWE_NO_ROUTER_FOUND				0x8810	// 16 - OS/2 only
 | 
			
		||||
#define NWE_FUNCTION_INVALID				0x8811	// 17 - Attempted function call to non- existent or illegal function
 | 
			
		||||
#define NWE_SCAN_COMPLETE					0x8812
 | 
			
		||||
#define NWE_UNSUPPORTED_NAME_FORMAT_TYP	0x8813
 | 
			
		||||
#define NWE_HANDLE_ALREADY_LICENSED		0x8814
 | 
			
		||||
#define NWE_HANDLE_ALREADY_UNLICENSED	0x8815
 | 
			
		||||
#define NWE_INVALID_NCP_PACKET_LENGTH	0x8816
 | 
			
		||||
#define NWE_SETTING_UP_TIMEOUT			0x8817
 | 
			
		||||
#define NWE_SETTING_SIGNALS				0x8818
 | 
			
		||||
#define NWE_SERVER_CONNECTION_LOST		0x8819
 | 
			
		||||
#define NWE_OUT_OF_HEAP_SPACE				0x881A
 | 
			
		||||
#define NWE_INVALID_SERVICE_REQUEST		0x881B
 | 
			
		||||
#define NWE_INVALID_TASK_NUMBER			0x881C
 | 
			
		||||
#define NWE_INVALID_MESSAGE_LENGTH		0x881D
 | 
			
		||||
#define NWE_EA_SCAN_DONE					0x881E
 | 
			
		||||
#define NWE_BAD_CONNECTION_NUMBER		0x881F
 | 
			
		||||
#define NWE_MULT_TREES_NOT_SUPPORTED	0x8820	// 32 - Attempt to open a connection to a DS tree other than the default tree
 | 
			
		||||
#define NWE_CONN_NOT_SAME					0x8830	// 48 - Internal server request attempted across different server connections
 | 
			
		||||
#define NWE_CONN_PRIMARY_NOT_SET			0x8831	// 49 - Attempt to retrieve default connection with no primary connection set
 | 
			
		||||
#define NWE_PRN_CAPTURE_NOT_IN_PROGRESS 0x8832	// 50 - Capture information requested on port with no capture in progress
 | 
			
		||||
#define NWE_BUFFER_INVALID_LEN			0x8833	// 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large
 | 
			
		||||
#define NWE_USER_NO_NAME					0x8834	// 52
 | 
			
		||||
#define NWE_PRN_NO_LOCAL_SPOOLER			0x8835	// 53 - Capture requested without having the local print spooler installed
 | 
			
		||||
#define NWE_PARAM_INVALID					0x8836	// 54 - Attempted function with an invalid function parameter specified
 | 
			
		||||
#define NWE_CFG_OPEN_FAILED				0x8837	// 55 - OS/2 only
 | 
			
		||||
#define NWE_CFG_NO_FILE						0x8838	// 56 - OS/2 only
 | 
			
		||||
#define NWE_CFG_READ_FAILED				0x8839	// 57 - OS/2 only
 | 
			
		||||
#define NWE_CFG_LINE_TOO_LONG				0x883A	// 58 - OS/2 only
 | 
			
		||||
#define NWE_CFG_LINES_IGNORED				0x883B	// 59 - OS/2 only
 | 
			
		||||
#define NWE_RESOURCE_NOT_OWNED			0x883C	// 60 - Attempted request made with a parameter using foriegn resource
 | 
			
		||||
#define NWE_DAEMON_INSTALLED				0x883D	// 61 - OS/2 only
 | 
			
		||||
#define NWE_PRN_SPOOLER_INSTALLED		0x883E	// 62 - Attempted load of print spooler with print spooler already installed
 | 
			
		||||
#define NWE_CONN_TABLE_FULL				0x883F	// 63 - Attempted to allocate a connection handle with no more local connection table entries
 | 
			
		||||
#define NWE_CFG_SECTION_NOT_FOUND		0x8840	// 64 - OS/2 only
 | 
			
		||||
#define NWE_TRAN_INVALID_TYPE				0x8841	// 65 - Attempted function on a connection with an invalid transport selected
 | 
			
		||||
#define NWE_TDS_TAG_IN_USE					0x8842	// 66 - OS/2 only
 | 
			
		||||
#define NWE_TDS_OUT_OF_MEMORY				0x8843	// 67 - OS/2 only
 | 
			
		||||
#define NWE_TDS_INVALID_TAG				0x8844	// 68 - Attempted TDS function with invalid tag
 | 
			
		||||
#define NWE_TDS_WRITE_TRUNCATED			0x8845	// 69 - Attempted TDS write with buffer that exceeded buffer
 | 
			
		||||
#define NWE_DS_NO_CONN						0x8846	// 70
 | 
			
		||||
#define NWE_SERVICE_BUSY					0x8846	// 70 - Attempted request made to partially asynchronous function in busy state
 | 
			
		||||
#define NWE_SERVER_NOT_FOUND				0x8847	// 71 - Attempted connect failed to find any servers responding
 | 
			
		||||
#define NWE_VLM_INVALID						0x8848	// 72 - Attempted function call to non-existant or not-loaded overlay
 | 
			
		||||
#define NWE_DRIVE_ALREADY_MAPPED			0x8849	// 73 - Attempted map to network drive that was already mapped
 | 
			
		||||
#define NWE_DRIVE_LOCAL_IN_USE			0x884A	// 74 - Attempted map to local drive that was in use
 | 
			
		||||
#define NWE_DRIVE_NONE_AVAILABLE			0x884B	// 75 - Attempted map to next available drive when none were available
 | 
			
		||||
#define NWE_DEVICE_NOT_REDIRECTED		0x884C	// 76 - The device is not redirected
 | 
			
		||||
#define NWE_FILE_MAX_REACHED				0x884D	// 77 - Maximum number of files was reached
 | 
			
		||||
#define NWE_UNLOAD_FAILED					0x884E	// 78 - Attempted unload failed
 | 
			
		||||
#define NWE_CONN_IN_USE						0x884F	// 79 - Attempted re-use of already in use connection entry
 | 
			
		||||
#define NWE_REQ_TOO_MANY_REP_FRAGS		0x8850	// 80 - Attempted request with too many reply fragments specified
 | 
			
		||||
#define NWE_NAME_TABLE_FULL				0x8851	// 81 - Attempted to add a name into the name table after it was full
 | 
			
		||||
#define NWE_SOCKET_NOT_OPEN				0x8852	// 82 - Listen was posted on unopened socket
 | 
			
		||||
#define NWE_MEMORY_MGR_ERROR				0x8853	// 83 - Attempted enhanced memory operation failed
 | 
			
		||||
#define NWE_SFT3_ERROR						0x8854	// 84 - An SFT3 switch occured mid-transfer
 | 
			
		||||
#define NWE_DS_PREFERRED_NOT_FOUND		0x8855	// 85 - the preferred directory server was not established but another directory server was returned
 | 
			
		||||
#define NWE_DEVICE_NOT_RECOGNIZED		0x8856	// 86 - used to determine if the device is not used by VISE so pass it on to the next redirector, if any.
 | 
			
		||||
#define NWE_NET_INVALID_TYPE				0x8857	// 87 - the network type (Bind/NDS) does not match the server version
 | 
			
		||||
#define NWE_FILE_OPEN_FAILED				0x8858	// 88 - generic open failure error, invalid path, access denied, etc..
 | 
			
		||||
#define NWE_DS_PREFERRED_NOT_SPECIFIED	0x8859	// 89 - no preferred name specified
 | 
			
		||||
#define NWE_SOCKET_OPEN_FAILED			0x885A	// 90 - error opening a socket
 | 
			
		||||
#define NWE_SIGNATURE_LEVEL_CONFLICT	0x8861
 | 
			
		||||
#define NWE_NO_LOCK_FOUND					0x8862	// OS/2 - process lock on conn handle failed, process ID not recognized
 | 
			
		||||
#define NWE_LOCK_TABLE_FULL				0x8863	// OS/2 - process lock on conn handle failed, process lock table full
 | 
			
		||||
#define NWE_INVALID_MATCH_DATA			0x8864
 | 
			
		||||
#define NWE_MATCH_FAILED					0x8865
 | 
			
		||||
#define NWE_NO_MORE_ENTRIES				0x8866
 | 
			
		||||
#define NWE_INSUFFICIENT_RESOURCES		0x8867
 | 
			
		||||
#define NWE_STRING_TRANSLATION			0x8868
 | 
			
		||||
#define NWE_ACCESS_VIOLATION				0x8869
 | 
			
		||||
#define NWE_NOT_AUTHENTICATED				0x886A
 | 
			
		||||
#define NWE_INVALID_LEVEL					0x886B
 | 
			
		||||
#define NWE_RESOURCE_LOCK					0x886C
 | 
			
		||||
#define NWE_INVALID_NAME_FORMAT			0x886D
 | 
			
		||||
#define NWE_OBJECT_EXISTS					0x886E
 | 
			
		||||
#define NWE_OBJECT_NOT_FOUND				0x886F
 | 
			
		||||
#define NWE_UNSUPPORTED_TRAN_TYPE		0x8870
 | 
			
		||||
#define NWE_INVALID_STRING_TYPE			0x8871
 | 
			
		||||
#define NWE_INVALID_OWNER					0x8872
 | 
			
		||||
#define NWE_UNSUPPORTED_AUTHENTICATOR	0x8873
 | 
			
		||||
#define NWE_IO_PENDING						0x8874
 | 
			
		||||
#define NWE_INVALID_DRIVE_NUMBER			0x8875
 | 
			
		||||
#define NWE_INVALID_DRIVE_BASE         0x8875   // LINUX
 | 
			
		||||
#define NWE_REPLY_TRUNCATED				0x88e6	// 230 NLM
 | 
			
		||||
#define NWE_REQUESTER_FAILURE				0x88FF
 | 
			
		||||
 | 
			
		||||
// Server Errors
 | 
			
		||||
 | 
			
		||||
#define NWE_INSUFFICIENT_SPACE			0x8901	// 001
 | 
			
		||||
#define NWE_INVALID_CONNECTION			0x890a	// 010 - nlm invalid connection
 | 
			
		||||
#define NWE_TIMEOUT							0x8910	// 016 - nlm connection timeout
 | 
			
		||||
#define NWE_NO_MORE_ENTRY					0x8914	// 020
 | 
			
		||||
#define NWE_BUFFER_TOO_SMALL				0x8977	// 119
 | 
			
		||||
#define NWE_VOL_FLAG_NOT_SET				0x8978	// 120 the service requested, not avail. on the selected vol.
 | 
			
		||||
#define NWE_NO_ITEMS_FOUND					0x8979	// 121
 | 
			
		||||
#define NWE_CONN_ALREADY_TEMP				0x897a	// 122
 | 
			
		||||
#define NWE_CONN_ALREADY_LOGGED_IN		0x897b	// 123
 | 
			
		||||
#define NWE_CONN_NOT_AUTHENTICATED		0x897c	// 124
 | 
			
		||||
#define NWE_CONN_NOT_LOGGED_IN			0x897d	// 125
 | 
			
		||||
#define NWE_NCP_BOUNDARY_CHECK_FAILED	0x897e	// 126
 | 
			
		||||
#define NWE_LOCK_WAITING					0x897f	// 127
 | 
			
		||||
#define NWE_LOCK_FAIL						0x8980	// 128
 | 
			
		||||
#define NWE_FILE_IN_USE						0x8980	// 128
 | 
			
		||||
#define NWE_FILE_NO_HANDLES				0x8981	// 129
 | 
			
		||||
#define NWE_FILE_NO_OPEN_PRIV				0x8982	// 130
 | 
			
		||||
#define NWE_DISK_IO_ERROR					0x8983	// 131
 | 
			
		||||
#define NWE_AUDITING_HARD_IO_ERROR		0x8983	// 131
 | 
			
		||||
#define NWE_FILE_NO_CREATE_PRIV			0x8984	// 132
 | 
			
		||||
#define NWE_AUDITING_NOT_SUPV				0x8984	// 132
 | 
			
		||||
#define NWE_FILE_NO_CREATE_DEL_PRIV		0x8985	// 133
 | 
			
		||||
#define NWE_FILE_EXISTS_READ_ONLY		0x8986	// 134
 | 
			
		||||
#define NWE_FILE_WILD_CARDS_IN_NAME		0x8987	// 135
 | 
			
		||||
#define NWE_FILE_INVALID_HANDLE			0x8988	// 136
 | 
			
		||||
#define NWE_FILE_NO_SRCH_PRIV				0x8989	// 137
 | 
			
		||||
#define NWE_FILE_NO_DEL_PRIV				0x898A	// 138
 | 
			
		||||
#define NWE_FILE_NO_RENAME_PRIV			0x898B	// 139
 | 
			
		||||
#define NWE_FILE_NO_MOD_PRIV				0x898C	// 140
 | 
			
		||||
#define NWE_FILE_SOME_IN_USE				0x898D	// 141
 | 
			
		||||
#define NWE_FILE_NONE_IN_USE				0x898E	// 142
 | 
			
		||||
#define NWE_FILE_SOME_READ_ONLY			0x898F	// 143
 | 
			
		||||
#define NWE_FILE_NONE_READ_ONLY			0x8990	// 144
 | 
			
		||||
#define NWE_FILE_SOME_RENAMED_EXIST		0x8991	// 145
 | 
			
		||||
#define NWE_FILE_NONE_RENAMED_EXIST		0x8992	// 146
 | 
			
		||||
#define NWE_FILE_NO_READ_PRIV				0x8993	// 147
 | 
			
		||||
#define NWE_FILE_NO_WRITE_PRIV			0x8994	// 148
 | 
			
		||||
#define NWE_FILE_READ_ONLY					0x8994	// 148
 | 
			
		||||
#define NWE_FILE_DETACHED					0x8995	// 149
 | 
			
		||||
#define NWE_SERVER_OUT_OF_MEMORY			0x8996	// 150
 | 
			
		||||
#define NWE_DIR_TARGET_INVALID			0x8996	// 150
 | 
			
		||||
#define NWE_DISK_NO_SPOOL_SPACE			0x8997	// 151
 | 
			
		||||
#define NWE_AUDITING_NOT_ENABLED			0x8997	// 151
 | 
			
		||||
#define NWE_VOL_INVALID						0x8998	// 152
 | 
			
		||||
#define NWE_DIR_FULL							0x8999	// 153
 | 
			
		||||
#define NWE_VOL_RENAMING_ACROSS			0x899A	// 154
 | 
			
		||||
#define NWE_DIRHANDLE_INVALID				0x899B	// 155
 | 
			
		||||
#define NWE_PATH_INVALID					0x899C	// 156
 | 
			
		||||
#define NWE_TRUSTEES_NO_MORE				0x899C	// 156
 | 
			
		||||
#define NWE_DIRHANDLE_NO_MORE				0x899D	// 157
 | 
			
		||||
#define NWE_FILE_NAME_INVALID				0x899E	// 158
 | 
			
		||||
#define NWE_DIR_ACTIVE						0x899F	// 159
 | 
			
		||||
#define NWE_DIR_NOT_EMPTY					0x89A0	// 160
 | 
			
		||||
#define NWE_DIR_IO_ERROR					0x89A1	// 161
 | 
			
		||||
#define NWE_FILE_IO_LOCKED					0x89A2	// 162
 | 
			
		||||
#define NWE_TTS_RANSACTION_RESTARTED	0x89A3	// 163
 | 
			
		||||
#define NWE_TTS_TRANSACTION_RESTARTED	0x89A3	// 163
 | 
			
		||||
#define NWE_DIR_RENAME_INVALID			0x89A4	// 164
 | 
			
		||||
#define NWE_FILE_OPENCREAT_MODE_INVALID	0x89A5	// 165
 | 
			
		||||
#define NWE_ALREADY_IN_USE					0x89A6	// 166
 | 
			
		||||
#define NWE_AUDITING_ACTIVE				0x89A6	// 166
 | 
			
		||||
#define NWE_RESOURCE_TAG_INVALID			0x89A7	// 167
 | 
			
		||||
#define NWE_ACCESS_DENIED					0x89A8	// 168
 | 
			
		||||
#define NWE_AUDITING_NO_RIGHTS			0x89A8	// 168
 | 
			
		||||
#define NWE_DATA_STREAM_INVALID			0x89BE	// 190
 | 
			
		||||
#define NWE_NAME_SPACE_INVALID			0x89BF	// 191
 | 
			
		||||
#define NWE_ACCTING_NO_PRIV				0x89C0	// 192
 | 
			
		||||
#define NWE_ACCTING_NO_BALANCE			0x89C1	// 193
 | 
			
		||||
#define NWE_ACCTING_NO_CREDIT				0x89C2	// 194
 | 
			
		||||
#define NWE_AUDITING_RECORD_SIZE			0x89C2	// 194
 | 
			
		||||
#define NWE_ACCTING_TOO_MANY_HOLDS		0x89C3	// 195
 | 
			
		||||
#define NWE_ACCTING_DISABLED				0x89C4	// 196
 | 
			
		||||
#define NWE_LOGIN_LOCKOUT					0x89C5	// 197
 | 
			
		||||
#define NWE_CONSOLE_NO_PRIV				0x89C6	// 198
 | 
			
		||||
#define NWE_Q_IO_FAILURE					0x89D0	// 208
 | 
			
		||||
#define NWE_Q_NONE							0x89D1	// 209
 | 
			
		||||
#define NWE_Q_NO_SERVER						0x89D2	// 210
 | 
			
		||||
#define NWE_Q_NO_RIGHTS						0x89D3	// 211
 | 
			
		||||
#define NWE_Q_FULL							0x89D4	// 212
 | 
			
		||||
#define NWE_Q_NO_JOB							0x89D5	// 213
 | 
			
		||||
#define NWE_Q_NO_JOB_RIGHTS				0x89D6	// 214
 | 
			
		||||
#define NWE_PASSWORD_UNENCRYPTED			0x89D6	// 214
 | 
			
		||||
#define NWE_Q_IN_SERVICE					0x89D7	// 215
 | 
			
		||||
#define NWE_PASSWORD_NOT_UNIQUE			0x89D7	// 215
 | 
			
		||||
#define NWE_Q_NOT_ACTIVE					0x89D8	// 216
 | 
			
		||||
#define NWE_PASSWORD_TOO_SHORT			0x89D8	// 216
 | 
			
		||||
#define NWE_Q_STN_NOT_SERVER				0x89D9	// 217
 | 
			
		||||
#define NWE_LOGIN_NO_CONN					0x89D9	// 217
 | 
			
		||||
#define NWE_LOGIN_MAX_EXCEEDED			0x89D9	// 217
 | 
			
		||||
#define NWE_Q_HALTED							0x89DA	// 218
 | 
			
		||||
#define NWE_LOGIN_UNAUTHORIZED_TIME		0x89DA	// 218
 | 
			
		||||
#define NWE_LOGIN_UNAUTHORIZED_STATION	0x89DB	// 219
 | 
			
		||||
#define NWE_Q_MAX_SERVERS					0x89DB	// 219
 | 
			
		||||
#define NWE_ACCT_DISABLED					0x89DC	// 220
 | 
			
		||||
#define NWE_PASSWORD_INVALID				0x89DE	// 222
 | 
			
		||||
#define NWE_PASSWORD_EXPIRED				0x89DF	// 223
 | 
			
		||||
#define NWE_LOGIN_NO_CONN_AVAIL			0x89E0	// 224
 | 
			
		||||
#define NWE_E_NO_MORE_USERS				0x89E7	// 231
 | 
			
		||||
#define NWE_BIND_NOT_ITEM_PROP			0x89E8	// 232
 | 
			
		||||
#define NWE_BIND_WRITE_TO_GROUP_PROP	0x89E8	// 232
 | 
			
		||||
#define NWE_BIND_MEMBER_ALREADY_EXISTS	0x89E9	// 233
 | 
			
		||||
#define NWE_BIND_NO_SUCH_MEMBER			0x89EA	// 234
 | 
			
		||||
#define NWE_BIND_NOT_GROUP_PROP			0x89EB	// 235
 | 
			
		||||
#define NWE_BIND_NO_SUCH_SEGMENT			0x89EC	// 236
 | 
			
		||||
#define NWE_BIND_PROP_ALREADY_EXISTS	0x89ED	// 237
 | 
			
		||||
#define NWE_BIND_OBJ_ALREADY_EXISTS		0x89EE	// 238
 | 
			
		||||
#define NWE_BIND_NAME_INVALID				0x89EF	// 239
 | 
			
		||||
#define NWE_BIND_WILDCARD_INVALID		0x89F0	// 240
 | 
			
		||||
#define NWE_BIND_SECURITY_INVALID		0x89F1	// 241
 | 
			
		||||
#define NWE_BIND_OBJ_NO_READ_PRIV		0x89F2	// 242
 | 
			
		||||
#define NWE_BIND_OBJ_NO_RENAME_PRIV		0x89F3	// 243
 | 
			
		||||
#define NWE_BIND_OBJ_NO_DELETE_PRIV		0x89F4	// 244
 | 
			
		||||
#define NWE_BIND_OBJ_NO_CREATE_PRIV		0x89F5	// 245
 | 
			
		||||
#define NWE_BIND_PROP_NO_DELETE_PRIV	0x89F6	// 246
 | 
			
		||||
#define NWE_BIND_PROP_NO_CREATE_PRIV	0x89F7	// 247
 | 
			
		||||
#define NWE_BIND_PROP_NO_WRITE_PRIV		0x89F8	// 248
 | 
			
		||||
#define NWE_BIND_PROP_NO_READ_PRIV		0x89F9	// 249
 | 
			
		||||
#define NWE_NO_FREE_CONN_SLOTS			0x89F9	// 249
 | 
			
		||||
#define NWE_NO_MORE_SERVER_SLOTS			0x89FA	// 250
 | 
			
		||||
#define NWE_TEMP_REMAP_ERROR				0x89FA	// 250
 | 
			
		||||
#define NWE_PARAMETERS_INVALID			0x89FB	// 251
 | 
			
		||||
#define NWE_BIND_NO_SUCH_PROP				0x89FB	// 251
 | 
			
		||||
#define NWE_NCP_NOT_SUPPORTED				0x89FB	// 251
 | 
			
		||||
#define NWE_INET_PACKET_REQ_CANCELED	0x89FC	// 252
 | 
			
		||||
#define NWE_SERVER_UNKNOWN					0x89FC	// 252
 | 
			
		||||
#define NWE_MSG_Q_FULL						0x89FC	// 252
 | 
			
		||||
#define NWE_BIND_NO_SUCH_OBJ				0x89FC	// 252
 | 
			
		||||
#define NWE_LOCK_COLLISION					0x89FD	// 253
 | 
			
		||||
#define NWE_CONN_NUM_INVALID				0x89FD	// 253
 | 
			
		||||
#define NWE_PACKET_LEN_INVALID			0x89FD	// 253
 | 
			
		||||
#define NWE_UNKNOWN_REQ						0x89FD	// 253
 | 
			
		||||
#define NWE_BIND_LOCKED						0x89FE	// 254
 | 
			
		||||
#define NWE_TRUSTEE_NOT_FOUND				0x89FE	// 254
 | 
			
		||||
#define NWE_DIR_LOCKED						0x89FE	// 254
 | 
			
		||||
#define NWE_SEM_INVALID_NAME_LEN			0x89FE	// 254
 | 
			
		||||
#define NWE_PACKET_NOT_DELIVERABLE		0x89FE	// 254
 | 
			
		||||
#define NWE_SOCKET_TABLE_FULL				0x89FE	// 254
 | 
			
		||||
#define NWE_SPOOL_DIR_ERROR				0x89FE	// 254
 | 
			
		||||
#define NWE_LOGIN_DISABLED_BY_SUPER		0x89FE	// 254
 | 
			
		||||
#define NWE_TIMEOUT_FAILURE				0x89FE	// 254
 | 
			
		||||
#define NWE_FILE_EXT							0x89FF	// 255
 | 
			
		||||
#define NWE_FILE_NAME						0x89FF	// 255
 | 
			
		||||
#define NWE_HARD_FAILURE					0x89FF	// 255
 | 
			
		||||
#define NWE_FCB_CLOSE						0x89FF	// 255
 | 
			
		||||
#define NWE_IO_BOUND							0x89FF	// 255
 | 
			
		||||
#define NWE_BAD_SPOOL_PRINTER				0x89FF	// 255
 | 
			
		||||
#define NWE_BAD_RECORD_OFFSET				0x89FF	// 255
 | 
			
		||||
#define NWE_DRIVE_INVALID_NUM				0x89FF	// 255
 | 
			
		||||
#define NWE_SEM_INVALID_INIT_VAL			0x89FF	// 255
 | 
			
		||||
#define NWE_SEM_INVALID_HANDLE			0x89FF	// 255
 | 
			
		||||
#define NWE_NO_FILES_FOUND_ERROR			0x89FF	// 255
 | 
			
		||||
#define NWE_NO_RESPONSE_FROM_SERVER		0x89FF	// 255
 | 
			
		||||
#define NWE_NO_OBJ_OR_BAD_PASSWORD		0x89FF	// 255
 | 
			
		||||
#define NWE_PATH_NOT_LOCATABLE			0x89FF	// 255
 | 
			
		||||
#define NWE_Q_FULL_ERROR					0x89FF	// 255
 | 
			
		||||
#define NWE_REQ_NOT_OUTSTANDING			0x89FF	// 255
 | 
			
		||||
#define NWE_SOCKET_ALREADY_OPEN			0x89FF	// 255
 | 
			
		||||
#define NWE_LOCK_ERROR						0x89FF	// 255
 | 
			
		||||
#define NWE_FAILURE							0x89FF	// 255 Generic Failure
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										659
									
								
								c_clientlogin/xplatincl/nwfile.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										659
									
								
								c_clientlogin/xplatincl/nwfile.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,659 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwfile.h %
 | 
			
		||||
  %version: 13 %
 | 
			
		||||
  %date_modified: Thu Oct 14 14:54:51 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1997 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWFILE_H )
 | 
			
		||||
#define NWFILE_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
# include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef FILE_LOCKS_ONLY
 | 
			
		||||
 | 
			
		||||
typedef struct NW_FILE_INFO
 | 
			
		||||
{
 | 
			
		||||
   nstr8   fileName[14];
 | 
			
		||||
   nuint8  fileAttributes;
 | 
			
		||||
   nuint8  extendedFileAttributes;
 | 
			
		||||
   nuint32 fileSize;
 | 
			
		||||
   nuint16 creationDate;
 | 
			
		||||
   nuint16 lastAccessDate;
 | 
			
		||||
   nuint32 lastUpdateDateAndTime;
 | 
			
		||||
   nuint32 fileOwnerID;
 | 
			
		||||
   nuint32 lastArchiveDateAndTime;
 | 
			
		||||
} NW_FILE_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct NW_FILE_INFO2
 | 
			
		||||
{
 | 
			
		||||
   nuint8  fileAttributes;
 | 
			
		||||
   nuint8  extendedFileAttributes;
 | 
			
		||||
   nuint32 fileSize;
 | 
			
		||||
   nuint16 creationDate;
 | 
			
		||||
   nuint16 lastAccessDate;
 | 
			
		||||
   nuint32 lastUpdateDateAndTime;
 | 
			
		||||
   nuint32 fileOwnerID;
 | 
			
		||||
   nuint32 lastArchiveDateAndTime;
 | 
			
		||||
   nstr8   fileName[260];
 | 
			
		||||
} NW_FILE_INFO2;
 | 
			
		||||
 | 
			
		||||
typedef struct NW_FILE_INFO2_EXT
 | 
			
		||||
{
 | 
			
		||||
   nuint8  fileAttributes;
 | 
			
		||||
   nuint8  extendedFileAttributes;
 | 
			
		||||
   nuint32 fileSize;
 | 
			
		||||
   nuint16 creationDate;
 | 
			
		||||
   nuint16 lastAccessDate;
 | 
			
		||||
   nuint32 lastUpdateDateAndTime;
 | 
			
		||||
   nuint32 fileOwnerID;
 | 
			
		||||
   nuint32 lastArchiveDateAndTime;
 | 
			
		||||
   nstr8   fileName[766]; /* 255*3 + 1 */
 | 
			
		||||
} NW_FILE_INFO2_EXT;
 | 
			
		||||
 | 
			
		||||
typedef struct SEARCH_FILE_INFO
 | 
			
		||||
{
 | 
			
		||||
   nuint16 sequenceNumber;
 | 
			
		||||
   nuint16 reserved;
 | 
			
		||||
   nstr8   fileName[15];
 | 
			
		||||
   nuint8  fileAttributes;
 | 
			
		||||
   nuint8  fileMode;
 | 
			
		||||
   nuint32 fileLength;
 | 
			
		||||
   nuint16 createDate;
 | 
			
		||||
   nuint16 accessDate;
 | 
			
		||||
   nuint16 updateDate;
 | 
			
		||||
   nuint16 updateTime;
 | 
			
		||||
} SEARCH_FILE_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct SEARCH_DIR_INFO
 | 
			
		||||
{
 | 
			
		||||
   nuint16 sequenceNumber;
 | 
			
		||||
   nuint16 reserved1;
 | 
			
		||||
   nstr8   directoryName[15];
 | 
			
		||||
   nuint8  directoryAttributes;
 | 
			
		||||
   nuint8  directoryAccessRights;
 | 
			
		||||
   nuint16 createDate;
 | 
			
		||||
   nuint16 createTime;
 | 
			
		||||
   nuint32 owningObjectID;
 | 
			
		||||
   nuint16 reserved2;
 | 
			
		||||
   nuint16 directoryStamp;
 | 
			
		||||
} SEARCH_DIR_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint8  taskNumber;
 | 
			
		||||
   nuint8  lockType;
 | 
			
		||||
   nuint8  accessControl;
 | 
			
		||||
   nuint8  lockFlag;
 | 
			
		||||
   nuint8  volNumber;
 | 
			
		||||
   nuint16 dirEntry;
 | 
			
		||||
   nstr8   fileName[14];
 | 
			
		||||
} CONN_OPEN_FILE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 nextRequest;
 | 
			
		||||
   nuint8  connCount;
 | 
			
		||||
   CONN_OPEN_FILE connInfo[22];
 | 
			
		||||
} CONN_OPEN_FILES;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 taskNumber;
 | 
			
		||||
   nuint8  lockType;
 | 
			
		||||
   nuint8  accessControl;
 | 
			
		||||
   nuint8  lockFlag;
 | 
			
		||||
   nuint8  volNumber;
 | 
			
		||||
   nuint32 parent;
 | 
			
		||||
   nuint32 dirEntry;
 | 
			
		||||
   nuint8  forkCount;
 | 
			
		||||
   nuint8  nameSpace;
 | 
			
		||||
   nuint8  nameLen;
 | 
			
		||||
   nstr8   fileName[255];
 | 
			
		||||
} OPEN_FILE_CONN;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 nextRequest;
 | 
			
		||||
   nuint16 openCount;
 | 
			
		||||
   nuint8  buffer[512];
 | 
			
		||||
   nuint16 curRecord;
 | 
			
		||||
} OPEN_FILE_CONN_CTRL;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 connNumber;
 | 
			
		||||
   nuint16 taskNumber;
 | 
			
		||||
   nuint8  lockType;
 | 
			
		||||
   nuint8  accessControl;
 | 
			
		||||
   nuint8  lockFlag;
 | 
			
		||||
} CONN_USING_FILE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 nextRequest;
 | 
			
		||||
   nuint16 useCount;
 | 
			
		||||
   nuint16 openCount;
 | 
			
		||||
   nuint16 openForReadCount;
 | 
			
		||||
   nuint16 openForWriteCount;
 | 
			
		||||
   nuint16 denyReadCount;
 | 
			
		||||
   nuint16 denyWriteCount;
 | 
			
		||||
   nuint8  locked;
 | 
			
		||||
   nuint8  forkCount;
 | 
			
		||||
   nuint16 connCount;
 | 
			
		||||
   CONN_USING_FILE connInfo[70];
 | 
			
		||||
} CONNS_USING_FILE;
 | 
			
		||||
 | 
			
		||||
#define  SEEK_FROM_BEGINNING        1
 | 
			
		||||
#define  SEEK_FROM_CURRENT_OFFSET   2
 | 
			
		||||
#define  SEEK_FROM_END              3
 | 
			
		||||
 | 
			
		||||
/* The following flags are to be used in the createFlag parameter of
 | 
			
		||||
   the NWCreateFile call. */
 | 
			
		||||
 | 
			
		||||
#define NWCREATE_NEW_FILE	1
 | 
			
		||||
#define NWOVERWRITE_FILE	2
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetCompressedFileSize
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        reqFileSize,
 | 
			
		||||
   pnuint32       resFileSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFileServerFileCopy
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  srcFileHandle,
 | 
			
		||||
   NWFILE_HANDLE  dstFileHandle,
 | 
			
		||||
   nuint32        srcOffset,
 | 
			
		||||
   nuint32        dstOffset,
 | 
			
		||||
   nuint32        bytesToCopy,
 | 
			
		||||
   pnuint32       bytesCopied
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileConnectionID
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   NWCONN_HANDLE N_FAR *  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileConnRef
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   pnuint32       connRef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_GLOBAL_LIBRARY( NWCCODE )
 | 
			
		||||
NWFileSearchInitialize
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint8             volNum,
 | 
			
		||||
   pnuint16            dirID,
 | 
			
		||||
   pnuint16            iterhandle,
 | 
			
		||||
   pnuint8             accessRights
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWIntFileSearchInitialize(a, b, c, d, e, f, g, h) \
 | 
			
		||||
        NWFileSearchInitialize(a, b, c, d, e, f, g)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntFileSearchContinue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              volNum,
 | 
			
		||||
   nuint16             dirID,
 | 
			
		||||
   nuint16             searchContext,
 | 
			
		||||
   nuint8              searchAttr,
 | 
			
		||||
   const nstr8 N_FAR * searchPath,
 | 
			
		||||
   pnuint8             retBuf,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#define NWScanFileInformation(a, b, c, d, e, f) \
 | 
			
		||||
        NWIntScanFileInformation(a, b, c, d, e, f, 0)
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanFileInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * filePattern,
 | 
			
		||||
   nuint8               searchAttr,
 | 
			
		||||
   pnint16              iterhandle,
 | 
			
		||||
   NW_FILE_INFO N_FAR * info,
 | 
			
		||||
   nuint16              augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetFileInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   NWDIR_HANDLE         dirHandle,
 | 
			
		||||
   const nstr8  N_FAR * fileName,
 | 
			
		||||
   nuint8               searchAttrs,
 | 
			
		||||
   NW_FILE_INFO N_FAR * info
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetFileInformation2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   NWDIR_HANDLE          dirHandle,
 | 
			
		||||
   const nstr8   N_FAR * fileName,
 | 
			
		||||
   nuint8                searchAttrs,
 | 
			
		||||
   NW_FILE_INFO2 N_FAR * info
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanFileInformation2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   NWDIR_HANDLE          dirHandle,
 | 
			
		||||
   const nstr8   N_FAR * filePattern,
 | 
			
		||||
   nuint8                searchAttrs,
 | 
			
		||||
   pnuint8               iterHandle,
 | 
			
		||||
   NW_FILE_INFO2 N_FAR * info,
 | 
			
		||||
   nuint16               augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntScanFileInformation2Ext
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   NWDIR_HANDLE          dirHandle,
 | 
			
		||||
   const nstr8   N_FAR * filePattern,
 | 
			
		||||
   nuint8                searchAttrs,
 | 
			
		||||
   pnuint8               iterHandle,
 | 
			
		||||
   NW_FILE_INFO2_EXT N_FAR * info,
 | 
			
		||||
   nuint16               augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetFileAttributes
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * fileName,
 | 
			
		||||
   nuint8              searchAttrs,
 | 
			
		||||
   nuint8              newAttrs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetExtendedFileAttributes2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint8             extAttrs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanConnectionsUsingFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   NWDIR_HANDLE             dirHandle,
 | 
			
		||||
   const nstr8      N_FAR * filePath,
 | 
			
		||||
   pnint16                  iterhandle,
 | 
			
		||||
   CONN_USING_FILE  N_FAR * fileUse,
 | 
			
		||||
   CONNS_USING_FILE N_FAR * fileUsed
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanOpenFilesByConn2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE               conn,
 | 
			
		||||
   nuint16                     connNum,
 | 
			
		||||
   pnint16                     iterHandle,
 | 
			
		||||
   OPEN_FILE_CONN_CTRL N_FAR * openCtrl,
 | 
			
		||||
   OPEN_FILE_CONN      N_FAR * openFile
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanOpenFilesByConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint16                 connNum,
 | 
			
		||||
   pnint16                 iterHandle,
 | 
			
		||||
   CONN_OPEN_FILE  N_FAR * openFile,
 | 
			
		||||
   CONN_OPEN_FILES N_FAR * openFiles
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetExtendedFileAttributes2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              extAttrs
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRenameFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        oldDirHandle,
 | 
			
		||||
   const nstr8 N_FAR * oldFileName,
 | 
			
		||||
   nuint8              searchAttrs,
 | 
			
		||||
   NWDIR_HANDLE        newDirHandle,
 | 
			
		||||
   const nstr8 N_FAR * newFileName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIntEraseFiles
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              searchAttrs,
 | 
			
		||||
   nuint16             augmentFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetSparseFileBitMap
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        fileHandle,
 | 
			
		||||
   nint16         flag,
 | 
			
		||||
   nuint32        offset,
 | 
			
		||||
   pnuint32       blockSize,
 | 
			
		||||
   pnuint8        bitMap
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define NWLOCKS_INCLUDED
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLogPhysicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        recStartOffset,
 | 
			
		||||
   nuint32        recLength,
 | 
			
		||||
   nuint8         lockFlags,
 | 
			
		||||
   nuint16        timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLockPhysicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   nuint8      lockFlags,
 | 
			
		||||
   nuint16     timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleasePhysicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearPhysicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleasePhysicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        recStartOffset,
 | 
			
		||||
   nuint32        recSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearPhysicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        recStartOffset,
 | 
			
		||||
   nuint32        recSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLockFileLockSet
 | 
			
		||||
(
 | 
			
		||||
   nuint16        timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleaseFileLockSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearFileLockSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearFileLock2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleaseFileLock2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLogFileLock2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              lockFlags,
 | 
			
		||||
   nuint16             timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLogLogicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * logRecName,
 | 
			
		||||
   nuint8              lockFlags,
 | 
			
		||||
   nuint16             timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLockLogicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   nuint8         lockFlags,
 | 
			
		||||
   nuint16        timeOut
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleaseLogicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearLogicalRecordSet
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReleaseLogicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * logRecName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWClearLogicalRecord
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * logRecName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseFile
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnstr8         fileName,
 | 
			
		||||
   nuint8         fileAttrs,
 | 
			
		||||
   NWFILE_HANDLE  N_FAR * fileHandle,
 | 
			
		||||
   nflag32        createFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   pnstr8         fileName,
 | 
			
		||||
   nuint16        searchAttr,
 | 
			
		||||
   nuint8         accessRights,
 | 
			
		||||
   NWFILE_HANDLE  N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadFile
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        bytesToRead,
 | 
			
		||||
   pnuint32       bytesActuallyRead,
 | 
			
		||||
   pnuint8        data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteFile
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        bytesToWrite,
 | 
			
		||||
   pnuint8        data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCommitFile
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetEOF
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   pnuint32       getEOF
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetEOF
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint32        setEOF
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFilePos
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   pnuint32       filePos
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetFilePos
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
   nuint          mode,
 | 
			
		||||
   nuint32        filePos
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileDirEntryNumber
 | 
			
		||||
(
 | 
			
		||||
   NWFILE_HANDLE  fileHandle,
 | 
			
		||||
	pnuint32			volumeNum,
 | 
			
		||||
	pnuint32			directoryEntry,
 | 
			
		||||
	pnuint32			DOSDirectoryEntry,
 | 
			
		||||
	pnuint32			nameSpace,
 | 
			
		||||
	pnuint32			dataStream,
 | 
			
		||||
	pnuint32			parentDirEntry,
 | 
			
		||||
	pnuint32			parentDOSDirEntry
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirectoryEntryNumber
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE	conn,
 | 
			
		||||
	nuint8			dirHandle,
 | 
			
		||||
	pnuint32			volumeNum,
 | 
			
		||||
	pnuint32			directoryEntry,
 | 
			
		||||
	pnuint32			DOSDirectoryEntry,
 | 
			
		||||
	pnuint32			nameSpace,
 | 
			
		||||
	pnuint32			parentDirEntry,
 | 
			
		||||
	pnuint32			parentDOSDirEntry
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSFileDirEntryNumber
 | 
			
		||||
(
 | 
			
		||||
	NWFILE_HANDLE	fileHandle,
 | 
			
		||||
	nuint8			nameSpace,
 | 
			
		||||
	pnuint32			volumeNum,
 | 
			
		||||
	pnuint32			directoryEntry,
 | 
			
		||||
	pnuint32			dataStream
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_file.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										1849
									
								
								c_clientlogin/xplatincl/nwfse.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1849
									
								
								c_clientlogin/xplatincl/nwfse.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										119
									
								
								c_clientlogin/xplatincl/nwitr.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										119
									
								
								c_clientlogin/xplatincl/nwitr.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,119 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name:          nwitr.h %
 | 
			
		||||
  %version:       11 %
 | 
			
		||||
  %date_modified: Wed May  3 10:00:12 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1998 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
/* Public include file for Large Virtual List Iterator */
 | 
			
		||||
 | 
			
		||||
#if !defined( NWITR_H )
 | 
			
		||||
#define NWITR_H
 | 
			
		||||
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
 | 
			
		||||
#define DS_ITR_FIRST     0          /* First entry position in list */
 | 
			
		||||
#define DS_ITR_LAST   1000          /* Last  entry position in list */
 | 
			
		||||
#define DS_ITR_EOF    1001          /* End-of-file position. */
 | 
			
		||||
 | 
			
		||||
#define DS_ITR_UNICODE_STRING    0  /* Indicates a unicode string */
 | 
			
		||||
#define DS_ITR_BYTE_STRING       2  /* Indicates a byte string */
 | 
			
		||||
 | 
			
		||||
#define DS_ITR_PREFER_SCALABLE   0  /* If can't get scalable, emulate [not supported in FCS] */
 | 
			
		||||
#define DS_ITR_REQUIRE_SCALABLE  1  /* If can't get scalable, return error */
 | 
			
		||||
#define DS_ITR_FORCE_EMULATION   2  /* Always force emulation mode */
 | 
			
		||||
#define DS_ITR_ANY_SERVER        3  /* Get any server */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrCreateList
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            baseObjectName,      /* Starting object to search */
 | 
			
		||||
   pnstr8            className,           /* Class name if List operation */
 | 
			
		||||
   pnstr8            subordinateName,     /* RDN if List operation */
 | 
			
		||||
   nuint32           scalability,         /* Require or prefer SKADS server */
 | 
			
		||||
   nuint32           timeout,             /* Timeout in milliseconds */
 | 
			
		||||
   pnuint32          pIterator            /* Returned Iterator Ptr */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrCreateSearch
 | 
			
		||||
(
 | 
			
		||||
   NWDSContextHandle context,
 | 
			
		||||
   pnstr8            baseObjectName,      /* Starting object to search */
 | 
			
		||||
   nint              scope,               /* Object, immed subord or subtree */
 | 
			
		||||
   nbool8            searchAliases,       /* True to follow aliases */
 | 
			
		||||
   pBuf_T            filter,              /* Search filter */
 | 
			
		||||
   pTimeStamp_T      pTimeFilter,         /* Filter on modification time */
 | 
			
		||||
   nuint32           infoType,            /* Names only, or names and attrib */
 | 
			
		||||
   nbool8            allAttrs,            /* True = return all attributes */
 | 
			
		||||
   pBuf_T            attrNames,           /* List of attributes to return */
 | 
			
		||||
   pnstr8            indexSelect,         /* Index selection string */
 | 
			
		||||
   pnstr8            sortKey,             /* Attributes to sort on */
 | 
			
		||||
   nuint32           scalability,         /* Require or prefer SKADS server */
 | 
			
		||||
   nuint32           timeout,             /* Timeout in milliseconds */
 | 
			
		||||
   pnuint32          pIterator            /* Returned Iterator Ptr */
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrDestroy(nuint32 Iterator);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrClone(nuint32 Iterator, pnuint32 pNewIterator);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (nbool8)
 | 
			
		||||
NWDSItrAtFirst(nuint32 Iterator);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (nbool8)
 | 
			
		||||
NWDSItrAtEOF(nuint32 Iterator);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrGetInfo(nuint32 Iterator, pnbool8 pIsScalable, pnbool8 pIisPositionable);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrGetPosition(nuint32 Iterator, pnuint32 pPosition, nuint32 timeout);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrSetPosition(nuint32 Iterator, nuint32 position, nuint32 timeout);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrSetPositionFromIterator(nuint32 Iterator, nuint32 srcIterator,
 | 
			
		||||
                               nuint32 timeout);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrTypeDown(nuint32 Iterator, pnstr8 attrString, pnstr8 value,
 | 
			
		||||
                nuint32 byteUniFlag, nuint32 timeout);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrSkip(nuint32 Iterator, nint32 numToSkip, nuint32 timeout,
 | 
			
		||||
            pnint32 pNumSkipped);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrGetNext(nuint32 Iterator, nuint32 numEntries, nuint32 timeout,
 | 
			
		||||
               pnint32 pIterationHandle, pBuf_T pData);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrGetPrev(nuint32 Iterator, nuint32 numEntries, nuint32 timeout,
 | 
			
		||||
               pnint32 pIterationHandle, pBuf_T pData);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrGetCurrent(nuint32 Iterator, pnint32 pIterationHandle, pBuf_T pData);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWDSCCODE)
 | 
			
		||||
NWDSItrCount(nuint32 Iterator, nuint32 timeout, nuint32 maxCount,
 | 
			
		||||
             nbool8 updatePosition, pnuint32 pCount);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										490
									
								
								c_clientlogin/xplatincl/nwlocale.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										490
									
								
								c_clientlogin/xplatincl/nwlocale.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,490 @@
 | 
			
		||||
 | 
			
		||||
/*--------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
   %name: nwlocale.h %
 | 
			
		||||
   %version: 12 %
 | 
			
		||||
   %date_modified: Wed Apr 13 15:29:18 2005 %
 | 
			
		||||
   $Copyright:
 | 
			
		||||
 | 
			
		||||
   Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
   THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
   TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
   COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
   EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
   WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
   OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
   CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
--------------------------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if !defined( NWLOCALE_H )
 | 
			
		||||
#define NWLOCALE_H
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* make sure size_t is defined */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
 | 
			
		||||
/* make sure va_list is defined */
 | 
			
		||||
#include <stdarg.h>
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_UNIX
 | 
			
		||||
#include <locale.h>
 | 
			
		||||
#include <time.h>
 | 
			
		||||
#include <wchar.h>
 | 
			
		||||
#include <limits.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NTYPES_H
 | 
			
		||||
#  include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_DOS
 | 
			
		||||
#  define NWLCODE           nuint
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define NUMBER_TYPE  nint32
 | 
			
		||||
 | 
			
		||||
/* (in imitation of stdlib.h) */
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_UNIX
 | 
			
		||||
#define L_MB_LEN_MAX       MB_LEN_MAX
 | 
			
		||||
#define MERIDLEN           (2 * MB_LEN_MAX + 1)
 | 
			
		||||
#else
 | 
			
		||||
#define L_MB_LEN_MAX       2   /* (in imitation of limits.h) */
 | 
			
		||||
#define MERIDLEN           5
 | 
			
		||||
#define NWSINGLE_BYTE      1
 | 
			
		||||
#define NWDOUBLE_BYTE      2
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_ALL
 | 
			
		||||
#  define NLC_ALL            0
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_ALL
 | 
			
		||||
#  define LC_ALL NLC_ALL
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_COLLATE
 | 
			
		||||
#  define NLC_COLLATE        1
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_COLLATE
 | 
			
		||||
#  define LC_COLLATE NLC_COLLATE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_CTYPE
 | 
			
		||||
#  define NLC_CTYPE          2
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_CTYPE
 | 
			
		||||
#  define LC_CTYPE NLC_CTYPE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_MONETARY
 | 
			
		||||
#  define NLC_MONETARY       3
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_MONETARY
 | 
			
		||||
#  define LC_MONETARY NLC_MONETARY
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_NUMERIC
 | 
			
		||||
#  define NLC_NUMERIC        4
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_NUMERIC
 | 
			
		||||
#  define LC_NUMERIC NLC_NUMERIC
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_TIME
 | 
			
		||||
#  define NLC_TIME           5
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_TIME
 | 
			
		||||
#  define LC_TIME NLC_TIME
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NLC_TOTAL
 | 
			
		||||
#  define NLC_TOTAL          6
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef LC_TOTAL
 | 
			
		||||
#  define LC_TOTAL NLC_TOTAL
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* -------------------------------------------------------------------------
 | 
			
		||||
 *    country definitions
 | 
			
		||||
 * -------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define ARABIC            785
 | 
			
		||||
#define WBAHRAIN          973
 | 
			
		||||
#define WCYPRUS           357 /* ??? */
 | 
			
		||||
#define WEGYPT             20
 | 
			
		||||
#define WETHIOPIA         251
 | 
			
		||||
#define WIRAN              98
 | 
			
		||||
#define WIRAQ             964
 | 
			
		||||
#define WJORDAN           962
 | 
			
		||||
#define WKUWAIT           965
 | 
			
		||||
#define WLIBYA            218
 | 
			
		||||
#define WMALTA            356 /* ??? */
 | 
			
		||||
#define WMOROCCO          212 /* SHOULD THIS BE FRENCH?? */
 | 
			
		||||
#define WPAKISTAN          92
 | 
			
		||||
#define WQATAR            974 /* ??? */
 | 
			
		||||
#define WSAUDI            966
 | 
			
		||||
#define WTANZANIA         255 /* ??? */
 | 
			
		||||
#define WTUNISIA          216 /* ??? */
 | 
			
		||||
#define WTURKEY            90 /* ??? */
 | 
			
		||||
#define WUAE              971
 | 
			
		||||
#define WYEMEN            967 /* ??? */
 | 
			
		||||
#define AUSTRALIA          61
 | 
			
		||||
#define BELGIUM            32
 | 
			
		||||
#define CANADA_FR           2
 | 
			
		||||
#define CANADA              2
 | 
			
		||||
#define DENMARK            45
 | 
			
		||||
#define FINLAND           358
 | 
			
		||||
#define FRANCE             33
 | 
			
		||||
#define GERMANY            49
 | 
			
		||||
#define GERMANYE           37
 | 
			
		||||
#define HEBREW            972
 | 
			
		||||
#define IRELAND           353
 | 
			
		||||
#define ITALY              39
 | 
			
		||||
#define LATIN_AMERICA       3
 | 
			
		||||
#define WARGENTINA         54
 | 
			
		||||
#define WBOLIVIA          591
 | 
			
		||||
#define WCHILE             56
 | 
			
		||||
#define WCOLOMBIA          57
 | 
			
		||||
#define WCOSTARICA        506
 | 
			
		||||
#define WECUADOR          593
 | 
			
		||||
#define WELSALVADOR       503
 | 
			
		||||
#define WGUATEMALA        502
 | 
			
		||||
#define WHONDURAS         504
 | 
			
		||||
#define WMEXICO            52
 | 
			
		||||
#define WNICARAGUA        505
 | 
			
		||||
#define WPANAMA           507
 | 
			
		||||
#define WPARAGUAY         595
 | 
			
		||||
#define WPERU              51
 | 
			
		||||
#define WURUGUAY          598
 | 
			
		||||
#define WVENEZUELA         58
 | 
			
		||||
#define NETHERLANDS        31
 | 
			
		||||
#define NORWAY             47
 | 
			
		||||
#define PORTUGAL          351
 | 
			
		||||
#define SPAIN              34
 | 
			
		||||
#define SWEDEN             46
 | 
			
		||||
#define SWITZERLAND        41
 | 
			
		||||
#define UK                 44
 | 
			
		||||
#define USA                 1
 | 
			
		||||
#define JAPAN              81
 | 
			
		||||
#define KOREA              82
 | 
			
		||||
#define PRC                86
 | 
			
		||||
#define TAIWAN            886
 | 
			
		||||
#define TAIWAN2            88
 | 
			
		||||
#define WTAIWAN           886
 | 
			
		||||
#define ASIAN_ENGLISH      99
 | 
			
		||||
#define NEWZEALAND         64
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* -------------------------------------------------------------------------
 | 
			
		||||
 *    typedef Llconv
 | 
			
		||||
 * -------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
typedef struct Llconv
 | 
			
		||||
   {
 | 
			
		||||
   char decimal_point[4];     /* non-monetary decimal point */
 | 
			
		||||
   char thousands_sep[4];     /* non-monetary separator for digits
 | 
			
		||||
                                 left of the decimal-point */
 | 
			
		||||
   char grouping[4];          /* String indicating size of groups
 | 
			
		||||
                                 of digits*/
 | 
			
		||||
   /*
 | 
			
		||||
    The international currency symbol applicable to
 | 
			
		||||
    the current locale.  The first three characters
 | 
			
		||||
    contain the alphabetic international currency
 | 
			
		||||
    symbol in accordance with those specified in ISO
 | 
			
		||||
    4217 "codes for the representation of currency
 | 
			
		||||
    and funds." The fourth character is the character
 | 
			
		||||
    used to separate the international currency
 | 
			
		||||
    symbol from the monetary quantity.
 | 
			
		||||
   */
 | 
			
		||||
   char int_curr_symbol[8];
 | 
			
		||||
   char currency_symbol[4];   /* Currency symbol for current locale */
 | 
			
		||||
   char mon_decimal_point[4]; /* monetary decimal point */
 | 
			
		||||
   char mon_thousands_sep[4]; /* monetary separator for digits left
 | 
			
		||||
                                 of the decimal-point */
 | 
			
		||||
   char mon_grouping[8];      /* String indicating size of
 | 
			
		||||
                                 groups of digits */
 | 
			
		||||
   char positive_sign[4];     /* String indicating positive
 | 
			
		||||
                                 monetary value */
 | 
			
		||||
   char negative_sign[4];     /* String indicating negative
 | 
			
		||||
                                 monetary value */
 | 
			
		||||
   char int_frac_digits;      /* Num of fractional digits in
 | 
			
		||||
                                 monetary display */
 | 
			
		||||
   char frac_digits;          /* Num of fractional digits in
 | 
			
		||||
                                 non-monetary display*/
 | 
			
		||||
   char p_cs_precedes;        /* 1=precede or 0=succeeds
 | 
			
		||||
                                 (pos currency symbol)*/
 | 
			
		||||
   char p_sep_by_space;       /* 1=space separator or
 | 
			
		||||
                                 0=no space separator
 | 
			
		||||
                                 (currency symbol) */
 | 
			
		||||
   char n_cs_precedes;        /* location of currency_symbol
 | 
			
		||||
                                 for neg monetary quantity */
 | 
			
		||||
   char n_sep_by_space;       /* separation of currency symbol
 | 
			
		||||
                                 in neg monetary quantity */
 | 
			
		||||
   char p_sign_posn;          /* value indicating position of
 | 
			
		||||
                                 positive_sign for positive
 | 
			
		||||
                                 monetary quantity */
 | 
			
		||||
   char n_sign_posn;          /* value indicating position of
 | 
			
		||||
                                 negative_sign for negative
 | 
			
		||||
                                 monetary quantity.*/
 | 
			
		||||
 | 
			
		||||
   /* Novell Additions to the ANSI definition:*/
 | 
			
		||||
   nint         code_page;
 | 
			
		||||
   nint         country_id;
 | 
			
		||||
   char         data_list_separator[2];
 | 
			
		||||
   char         date_separator[2];
 | 
			
		||||
   char         time_separator[2];
 | 
			
		||||
   char         time_format;
 | 
			
		||||
   nint         date_format;
 | 
			
		||||
   char         am[MERIDLEN];
 | 
			
		||||
   char         pm[MERIDLEN];
 | 
			
		||||
   char         reserved[40];
 | 
			
		||||
} LCONV;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* -------------------------------------------------------------------------
 | 
			
		||||
 *    function prototypes
 | 
			
		||||
 * -------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#if defined(__cplusplus)
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(LCONV N_FAR *) NWLlocaleconv(LCONV N_FAR *lconvPtr);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLmblen(const nstr N_FAR * string, size_t maxBytes);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLsetlocale(nint category, const nstr N_FAR *locale);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrchr(const nstr N_FAR * string, nint find);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLstricmp
 | 
			
		||||
(
 | 
			
		||||
   const nstr N_FAR *str1,
 | 
			
		||||
   const nstr N_FAR *str2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* NWLstrcoll  (see below) */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(size_t) NWLstrcspn
 | 
			
		||||
(
 | 
			
		||||
   const nstr N_FAR *string1,
 | 
			
		||||
   const nstr N_FAR *string2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#if !defined NWL_EXCLUDE_TIME
 | 
			
		||||
N_EXTERN_LIBRARY(size_t) NWLstrftime
 | 
			
		||||
(
 | 
			
		||||
   pnstr dst,
 | 
			
		||||
   size_t max,
 | 
			
		||||
   const nstr N_FAR *fmt,
 | 
			
		||||
   const struct tm N_FAR *ptm
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrpbrk(pnstr string1, const nstr N_FAR *string2);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrrchr(const nstr N_FAR * string, nint find);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrrev(pnstr string1, pnstr string2);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(size_t) NWLstrspn
 | 
			
		||||
(
 | 
			
		||||
   const nstr N_FAR *string1,
 | 
			
		||||
   const nstr N_FAR *string2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrstr(const nstr N_FAR * string, 
 | 
			
		||||
                                  const nstr N_FAR * searchString);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrtok(pnstr parse, const nstr N_FAR * delim);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrtok_r(pnstr              parse, 
 | 
			
		||||
                                    const nstr N_FAR * delim, 
 | 
			
		||||
                                    ppnstr             last);
 | 
			
		||||
 | 
			
		||||
/* NWLstrupr ( see below )*/
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWIncrement(const nstr N_FAR * string, 
 | 
			
		||||
                                    size_t numChars);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWstrImoney(pnstr buffer, NUMBER_TYPE Value);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWstrmoney(pnstr buffer, NUMBER_TYPE Value);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWstrncoll(const nstr N_FAR * string1, 
 | 
			
		||||
                                  const nstr N_FAR * string2, 
 | 
			
		||||
                                  size_t             maxChars);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWstrncpy(pnstr              target_string, 
 | 
			
		||||
                                  const nstr N_FAR * source_string, 
 | 
			
		||||
                                  nint               numChars);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrbcpy
 | 
			
		||||
(
 | 
			
		||||
   pnstr dest,
 | 
			
		||||
   const nstr N_FAR *src,
 | 
			
		||||
   size_t maxlen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWstrnum(pnstr buffer, NUMBER_TYPE Value);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWstrlen
 | 
			
		||||
(
 | 
			
		||||
   const nstr N_FAR *string
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(size_t) NWLmbslen
 | 
			
		||||
(
 | 
			
		||||
   const nuint8 N_FAR *string
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLTruncateString(pnchar8 pStr, nint  iMaxLen);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLInsertChar(pnstr              src, 
 | 
			
		||||
                                     const nstr N_FAR * insertableChar);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY_C(nint)
 | 
			
		||||
NWprintf(const nstr N_FAR *format, ...);
 | 
			
		||||
 | 
			
		||||
#ifndef NWL_EXCLUDE_FILE
 | 
			
		||||
#  ifdef N_PLAT_DOS
 | 
			
		||||
N_EXTERN_LIBRARY_C(nint) NWfprintf
 | 
			
		||||
(
 | 
			
		||||
   FILE N_FAR *stream,
 | 
			
		||||
   const nstr N_FAR *format,
 | 
			
		||||
   ...
 | 
			
		||||
);
 | 
			
		||||
#  endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_MSW && defined N_ARCH_32
 | 
			
		||||
#  if !defined(__BORLANDC__)
 | 
			
		||||
#     define NWsprintf _NWsprintf
 | 
			
		||||
#  endif
 | 
			
		||||
#elif defined N_PLAT_MSW  && defined N_ARCH_16
 | 
			
		||||
#  define NWsprintf NWSPRINTF
 | 
			
		||||
#endif
 | 
			
		||||
N_EXTERN_LIBRARY_C(nint) NWsprintf
 | 
			
		||||
(
 | 
			
		||||
   pnstr buffer,
 | 
			
		||||
   const nstr N_FAR *format,
 | 
			
		||||
   ...
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * NWwsprintf has been set as obsolete. These prototypes and macros are
 | 
			
		||||
 * scheduled for removal by September 1999.
 | 
			
		||||
 */
 | 
			
		||||
#if defined N_PLAT_MSW && defined N_ARCH_32
 | 
			
		||||
#  if !defined(__BORLANDC__)
 | 
			
		||||
#     define NWwsprintf _NWwsprintf
 | 
			
		||||
#  endif
 | 
			
		||||
#elif defined N_PLAT_MSW && defined N_ARCH_16
 | 
			
		||||
#  define NWwsprintf NWWSPRINTF
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY_C(nint) NWwsprintf(pnstr buffer, pnstr format, ...);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Functions using variable parameter lists have the pointer to the */
 | 
			
		||||
/* variable list declared as void instead of va_list to enable the user to */
 | 
			
		||||
/* compile without including stdarg.h in every module. */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint)
 | 
			
		||||
NWvprintf(const nstr N_FAR *format, va_list arglist);
 | 
			
		||||
 | 
			
		||||
#ifndef NWL_EXCLUDE_FILE
 | 
			
		||||
#  ifdef N_PLAT_DOS
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWvfprintf
 | 
			
		||||
(
 | 
			
		||||
   FILE N_FAR *stream,
 | 
			
		||||
   const nstr N_FAR *format,
 | 
			
		||||
   va_list arglist
 | 
			
		||||
);
 | 
			
		||||
#  endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint)
 | 
			
		||||
NWvsprintf(pnstr buffer, const nstr N_FAR *format, va_list arglist);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWatoi(const nstr N_FAR * string);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWitoa(nint value, pnstr string, nuint radix);
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWutoa(nuint value, pnstr string, nuint radix);
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWltoa(nint32 value, pnstr buf, nuint radix);
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWultoa(nuint32 value, pnstr buf, nuint radix);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWisalpha(nuint ch);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWisalnum(nuint ch);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWisdigit(nuint ch);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWisxdigit(nuint ch);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(void) NWGetNWLOCALEVersion(pnuint8 majorVersion,
 | 
			
		||||
                                            pnuint8 minorVersion,
 | 
			
		||||
                                            pnuint8 revisionLevel,
 | 
			
		||||
                                            pnuint8 betaReleaseLevel);
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_DOS && !defined N_LOC_NO_OLD_FUNCS
 | 
			
		||||
N_EXTERN_LIBRARY(NWLCODE) NWGetShortMachineName(pnstr shortMachineName);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* This call is not needed for Windows */
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWGetCollateTable(pnstr retCollateTable, size_t maxLen);
 | 
			
		||||
 | 
			
		||||
#if (defined N_PLAT_MSW && defined N_ARCH_16) && !defined N_LOC_NO_OLD_MACROS
 | 
			
		||||
#  define NWNextChar(s)         AnsiNext(s)
 | 
			
		||||
#  define NWPrevChar(t, s)      AnsiPrev(t, s)
 | 
			
		||||
#  define NWLstrupr(s)          AnsiUpper(s)
 | 
			
		||||
#  define NWLstrcoll(s1, s2)    lstrcmp(s1, s2)
 | 
			
		||||
#  define NWLstrxfrm(s1, s2, t) strxfrm(s1, s2, t)
 | 
			
		||||
#  define NWCharUpr(c)   (nint)(LOWORD((DWORD)AnsiUpper((LPSTR)(DWORD)c)))
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWNextChar(const nstr N_FAR *string);
 | 
			
		||||
#if defined N_PLAT_UNIX
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWNextChar_r(const nstr N_FAR *string, mbstate_t *state);
 | 
			
		||||
#endif
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWPrevChar(const nstr N_FAR *string, pnstr position);
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrupr(pnstr string);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLstrcoll(const nstr N_FAR * string1, 
 | 
			
		||||
                                  const nstr N_FAR * string2);
 | 
			
		||||
N_EXTERN_LIBRARY(size_t) NWLstrxfrm(pnstr              string1, 
 | 
			
		||||
                                    const nstr N_FAR * string2, 
 | 
			
		||||
                                    size_t             numBytes);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWCharUpr(nint chr);
 | 
			
		||||
#endif /* (N_PLAT_MSW && N_ARCH_16) && !N_LOC_NO_OLD_MACROS */
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(pnstr) NWLstrlwr(pnstr string);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWCharLwr(nint chr);
 | 
			
		||||
                                                             
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWCharType(nint ch);
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWCharVal(const nstr N_FAR *string);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY(nint) NWLIsAnsi();
 | 
			
		||||
N_EXTERN_LIBRARY(void) NWLOemToAnsi(const nstr8 N_FAR * oemStr, pnstr8 ansiStr);
 | 
			
		||||
N_EXTERN_LIBRARY(void) NWLAnsiToOem(const nstr8 N_FAR * ansiStr, pnstr8 oemStr);
 | 
			
		||||
 | 
			
		||||
#if defined(__cplusplus)
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef INCLUDE_OBSOLETE
 | 
			
		||||
# include "obsolete/o_locale.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
 | 
			
		||||
#endif /* NWLOCALE_H */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										176
									
								
								c_clientlogin/xplatincl/nwmigrat.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										176
									
								
								c_clientlogin/xplatincl/nwmigrat.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,176 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwmigrat.h %
 | 
			
		||||
  %version: 4 %
 | 
			
		||||
  %date_modified: Tue Oct 19 13:44:22 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWMIGRAT_H )
 | 
			
		||||
#define NWMIGRAT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
# include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define MAX_NUM_OF_DATA_STREAMS       3
 | 
			
		||||
#define MAX_SIZE_OF_SM_STRING       128
 | 
			
		||||
#define MAX_SIZE_OF_SM_INFO         128
 | 
			
		||||
#define MAX_NUM_OF_SM                32
 | 
			
		||||
 | 
			
		||||
#define ERR_INVALID_SM_ID           240
 | 
			
		||||
#define ERR_SM_ALREADY_REGISTERED   241
 | 
			
		||||
#define ERR_SM_CREATE_FAILED        242
 | 
			
		||||
#define ERR_SM_CLOSE_FAILED         243
 | 
			
		||||
#define ERR_SM_WRITE_NO_SPACE       244
 | 
			
		||||
#define ERR_SM_WRITE_IO_ERROR       245
 | 
			
		||||
#define ERR_SM_READ_IO_ERROR        246
 | 
			
		||||
#define ERR_SM_OPEN_FAILED          247
 | 
			
		||||
#define ERR_SM_DELETE_FAILED        248
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 IOStatus;
 | 
			
		||||
   nuint32 InfoBlockSize;
 | 
			
		||||
   nuint32 AvailSpace;
 | 
			
		||||
   nuint32 UsedSpace;
 | 
			
		||||
   /* A length preceded string is followed by SMInfo data */
 | 
			
		||||
   nuint8 SMInfo[MAX_SIZE_OF_SM_STRING + MAX_SIZE_OF_SM_INFO];
 | 
			
		||||
}  SUPPORT_MODULE_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint32 numberOfSMs;
 | 
			
		||||
   nuint32 SMIDs[MAX_NUM_OF_SM];
 | 
			
		||||
}  SUPPORT_MODULE_IDS;
 | 
			
		||||
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
   #define  NWMoveFileToDM                NWMoveFileToDM2
 | 
			
		||||
   #define  NWMoveFileFromDM              NWMoveFileFromDM2
 | 
			
		||||
   #define  NWGetDMFileInfo               NWGetDMFileInfo2
 | 
			
		||||
   #define  NWGetDMVolumeInfo             NWGetDMVolumeInfo2
 | 
			
		||||
   #define  NWGetDefaultSupportModule     NWGetDefaultSupportModule2
 | 
			
		||||
   #define  NWSetDefaultSupportModule     NWSetDefaultSupportModule2
 | 
			
		||||
   #define  NWGetDataMigratorInfo         NWGetDataMigratorInfo2
 | 
			
		||||
   #define  NWGetSupportModuleInfo        NWGetSupportModuleInfo2
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWMoveFileToDM
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              nameSpace,
 | 
			
		||||
   nuint32             supportModuleID,
 | 
			
		||||
   nuint32             saveKeyFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWMoveFileFromDM
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              nameSpace
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDMFileInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              nameSpace,
 | 
			
		||||
   pnuint32            supportModuleID,
 | 
			
		||||
   pnuint32            restoreTime,
 | 
			
		||||
   pnuint32            dataStreams
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDMVolumeInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        volume,
 | 
			
		||||
   nuint32        supportModuleID,
 | 
			
		||||
   pnuint32       numberOfFilesMigrated,
 | 
			
		||||
   pnuint32       totalMigratedSize,
 | 
			
		||||
   pnuint32       spaceUsedOnDM,
 | 
			
		||||
   pnuint32       limboSpaceUsedOnDM,
 | 
			
		||||
   pnuint32       spaceMigrated,
 | 
			
		||||
   pnuint32       filesInLimbo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetSupportModuleInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        infomationLevel,
 | 
			
		||||
   nuint32        supportModuleID,
 | 
			
		||||
   pnuint8        returnInfo,
 | 
			
		||||
   pnuint32       returnInfoLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDataMigratorInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       DMPresentFlag,
 | 
			
		||||
   pnuint32       majorVersion,
 | 
			
		||||
   pnuint32       minorVersion,
 | 
			
		||||
   pnuint32       DMSMRegistered
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDefaultSupportModule
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       supportModuleID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetDefaultSupportModule
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       supportModuleID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetSupportModuleCapacity
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        luSupportModuleID,
 | 
			
		||||
   nuint32        luVolume,
 | 
			
		||||
   nuint32        luDirectoryBase,
 | 
			
		||||
   pnuint32       pluSMBlockSizeInSectors,
 | 
			
		||||
   pnuint32       pluSMTotalBlocks,
 | 
			
		||||
   pnuint32       pluSMUsedBlocks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										461
									
								
								c_clientlogin/xplatincl/nwmisc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										461
									
								
								c_clientlogin/xplatincl/nwmisc.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,461 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwmisc.h %
 | 
			
		||||
  %version: 8 %
 | 
			
		||||
  %date_modified: Tue Jan 04 18:39:45 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWMISC_H )
 | 
			
		||||
#define NWMISC_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_SHORT_NAME_SERVER
 | 
			
		||||
# define NW_SHORT_NAME_SERVER 0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_LONG_NAME_SERVER
 | 
			
		||||
# define NW_LONG_NAME_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_ENCP_SERVER
 | 
			
		||||
#define NW_ENCP_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_EXTENDED_NCP_SERVER
 | 
			
		||||
#define NW_EXTENDED_NCP_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef _NETX_COM
 | 
			
		||||
#define _NETX_COM     0x0001
 | 
			
		||||
#define _NETX_VLM     0x0002
 | 
			
		||||
#define _REDIR_LOADED 0x4000
 | 
			
		||||
#define _VLM_LOADED   0x8000
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef   N_PLAT_UNIX
 | 
			
		||||
#define  NWWordSwap(x) ((nuint16) ( \
 | 
			
		||||
                       (((nuint16)((x) & 0x00FF)) << 8) | \
 | 
			
		||||
                       (((nuint16)((x) & 0xFF00)) >> 8) ))
 | 
			
		||||
#define  NWLongSwap(x) ((nuint32) ( \
 | 
			
		||||
                       (((nuint32)((x) & 0x000000FFL)) << 24) | \
 | 
			
		||||
                       (((nuint32)((x) & 0x0000FF00L)) <<  8) | \
 | 
			
		||||
                       (((nuint32)((x) & 0x00FF0000L)) >>  8) | \
 | 
			
		||||
                       (((nuint32)((x) & 0xFF000000L)) >> 24) ))
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8    day;
 | 
			
		||||
  nuint8    month;
 | 
			
		||||
  nuint16   year;
 | 
			
		||||
} NW_DATE;
 | 
			
		||||
 | 
			
		||||
/* hours is a nuint16  so that this structure will be the same length as a dword */
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8    seconds;
 | 
			
		||||
  nuint8    minutes;
 | 
			
		||||
  nuint16   hours;
 | 
			
		||||
} NW_TIME;
 | 
			
		||||
 | 
			
		||||
typedef enum
 | 
			
		||||
{
 | 
			
		||||
  NW_LONG_NAME_REQUESTER,
 | 
			
		||||
  NW_SHORT_NAME_REQUESTER,
 | 
			
		||||
  NW_ERROR_ON_REQUESTER_TYPE
 | 
			
		||||
} NW_REQUESTER_TYPE;
 | 
			
		||||
 | 
			
		||||
#ifndef NW_FRAGMENT_DEFINED
 | 
			
		||||
#define NW_FRAGMENT_DEFINED
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nptr fragAddress;
 | 
			
		||||
#if defined(N_PLAT_NLM) || defined(WIN32) || defined(N_PLAT_UNIX)
 | 
			
		||||
  nuint32 fragSize;
 | 
			
		||||
#else
 | 
			
		||||
  nuint16  fragSize;
 | 
			
		||||
#endif
 | 
			
		||||
} NW_FRAGMENT;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16   taskNumber;
 | 
			
		||||
  nuint8    taskState;
 | 
			
		||||
} CONN_TASK;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16   serverVersion;    /* use NW_ constants from nwserver.h */
 | 
			
		||||
  nuint8    lockState;
 | 
			
		||||
  nuint16   waitingTaskNumber;
 | 
			
		||||
  nuint32   recordStart;
 | 
			
		||||
  nuint32   recordEnd;
 | 
			
		||||
  nuint8    volNumber;
 | 
			
		||||
  nuint32   dirEntry;         /* this field is only valid in 3.11 */
 | 
			
		||||
  nuint8    nameSpace;        /* this field is only valid in 3.11 */
 | 
			
		||||
  nuint16   dirID;            /* this field is only valid in 2.x  */
 | 
			
		||||
  nstr8     lockedName[256];
 | 
			
		||||
  nuint8    taskCount;
 | 
			
		||||
  CONN_TASK tasks[256];
 | 
			
		||||
} CONN_TASK_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  volNumber;
 | 
			
		||||
  nuint32 dirEntry;
 | 
			
		||||
} DIR_ENTRY;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWUnpackDateTime
 | 
			
		||||
(
 | 
			
		||||
  nuint32         dateTime,
 | 
			
		||||
  NW_DATE N_FAR *   sDate,
 | 
			
		||||
  NW_TIME N_FAR *   sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWUnpackDate
 | 
			
		||||
(
 | 
			
		||||
  nuint16         date,
 | 
			
		||||
  NW_DATE N_FAR *   sDate
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWUnpackTime
 | 
			
		||||
(
 | 
			
		||||
  nuint16         time,
 | 
			
		||||
  NW_TIME N_FAR *   sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint32 )
 | 
			
		||||
NWPackDateTime
 | 
			
		||||
(
 | 
			
		||||
   const NW_DATE N_FAR *  sDate,
 | 
			
		||||
   const NW_TIME N_FAR *  sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
NWPackDate
 | 
			
		||||
(
 | 
			
		||||
   const NW_DATE N_FAR *  sDate
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
NWPackTime
 | 
			
		||||
(
 | 
			
		||||
   const NW_TIME N_FAR *  sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* Avoid using the following three NWConvert{Date/Time} functions,
 | 
			
		||||
   they just call the NWUnpack{Date/Time} functions. They are here for
 | 
			
		||||
   compatibility reasons only. */
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWConvertDateTime
 | 
			
		||||
(
 | 
			
		||||
   nuint32        dateTime,
 | 
			
		||||
   NW_DATE N_FAR *  sDate,
 | 
			
		||||
   NW_TIME N_FAR *  sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWConvertDate
 | 
			
		||||
(
 | 
			
		||||
   nuint16        date,
 | 
			
		||||
   NW_DATE N_FAR *  sDate
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWConvertTime
 | 
			
		||||
(
 | 
			
		||||
   nuint16        time,
 | 
			
		||||
   NW_TIME N_FAR *  sTime
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRequest
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE             conn,
 | 
			
		||||
  nuint16                   function,
 | 
			
		||||
  nuint16                   numReqFrags,
 | 
			
		||||
  const NW_FRAGMENT N_FAR * reqFrags,
 | 
			
		||||
  nuint16                   numReplyFrags,
 | 
			
		||||
  NW_FRAGMENT       N_FAR * replyFrags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
_NWGetRequesterType
 | 
			
		||||
(
 | 
			
		||||
  NW_REQUESTER_TYPE N_FAR * type
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifndef  N_PLAT_UNIX
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
NWWordSwap
 | 
			
		||||
(
 | 
			
		||||
   nuint16  swapWord
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint32 )
 | 
			
		||||
NWLongSwap
 | 
			
		||||
(
 | 
			
		||||
   nuint32  swapLong
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nint16 )
 | 
			
		||||
NWInitDBCS
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWConvertPathToDirEntry
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE       conn,
 | 
			
		||||
  NWDIR_HANDLE        dirHandle,
 | 
			
		||||
  const nstr8 N_FAR * path,
 | 
			
		||||
  DIR_ENTRY   N_FAR * dirEntry
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetTaskInformationByConn
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE          conn,
 | 
			
		||||
  nuint16                connNum,
 | 
			
		||||
  CONN_TASK_INFO N_FAR * taskInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetRequesterVersion
 | 
			
		||||
(
 | 
			
		||||
  pnuint8         majorVer,
 | 
			
		||||
  pnuint8         minorVer,
 | 
			
		||||
  pnuint8         revision
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIsLNSSupportedOnVolume
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE       conn,
 | 
			
		||||
  NWDIR_HANDLE        dirHandle,
 | 
			
		||||
  const nstr8 N_FAR * path
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWConvertFileHandle
 | 
			
		||||
(
 | 
			
		||||
  NWFILE_HANDLE         fileHandle,
 | 
			
		||||
  nuint16               handleType,
 | 
			
		||||
  pnuint8               NWHandle,
 | 
			
		||||
  NWCONN_HANDLE N_FAR * conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWConvertFileHandleConnRef
 | 
			
		||||
(
 | 
			
		||||
  NWFILE_HANDLE    fileHandle,
 | 
			
		||||
  nuint16          handleType,
 | 
			
		||||
  pnuint8          NWHandle,
 | 
			
		||||
  pnuint32         connRef
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
_NWConvert4ByteTo6ByteHandle
 | 
			
		||||
(
 | 
			
		||||
  pnuint8         NW4ByteHandle,
 | 
			
		||||
  pnuint8         NW6ByteHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWEndOfJob
 | 
			
		||||
(
 | 
			
		||||
  void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCallsInit
 | 
			
		||||
(
 | 
			
		||||
  nptr reserved1,
 | 
			
		||||
  nptr reserved2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCallsTerm
 | 
			
		||||
(
 | 
			
		||||
  nptr reserved
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
NWGetClientType
 | 
			
		||||
(
 | 
			
		||||
   void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifndef WIN32
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
__NWGetNWCallsState
 | 
			
		||||
(
 | 
			
		||||
  void
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetNetWareErrorMode
 | 
			
		||||
(
 | 
			
		||||
  nuint8    errorMode,
 | 
			
		||||
  pnuint8   prevMode
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetEndOfJobStatus
 | 
			
		||||
(
 | 
			
		||||
  nuint8    endOfJobStatus,
 | 
			
		||||
  pnuint8   prevStatus
 | 
			
		||||
);
 | 
			
		||||
#else
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFSRequest
 | 
			
		||||
(
 | 
			
		||||
  nuint32   request,
 | 
			
		||||
  nptr      inBuf,
 | 
			
		||||
  nuint16   inLen,
 | 
			
		||||
  nptr      outBuf,
 | 
			
		||||
  nuint16   outLen
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( void )
 | 
			
		||||
NWGetNWCallsVersion
 | 
			
		||||
(
 | 
			
		||||
  pnuint8   majorVer,
 | 
			
		||||
  pnuint8   minorVer,
 | 
			
		||||
  pnuint8   revLevel,
 | 
			
		||||
  pnuint8   betaLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWConvertHandle
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE         conn,
 | 
			
		||||
  nuint8                accessMode,
 | 
			
		||||
  const void    N_FAR * NWHandle,
 | 
			
		||||
  nuint16               handleSize,
 | 
			
		||||
  nuint32               fileSize,
 | 
			
		||||
  NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
/* The stuff below this line may NOT be documented. Use with care. */
 | 
			
		||||
#if !defined(NWOS2) && !defined(WIN32)
 | 
			
		||||
#ifndef _REGISTERS_DEF
 | 
			
		||||
#define _REGISTERS_DEF
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16  si;
 | 
			
		||||
  nuint16  ds;
 | 
			
		||||
  nuint16  di;
 | 
			
		||||
  nuint16  es;
 | 
			
		||||
  nuint8 al, ah;
 | 
			
		||||
  nuint8 bl, bh;
 | 
			
		||||
  nuint8 cl, ch;
 | 
			
		||||
  nuint8 dl, dh;
 | 
			
		||||
} BYTE_REGISTERS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16  si;
 | 
			
		||||
  nuint16  ds;
 | 
			
		||||
  nuint16  di;
 | 
			
		||||
  nuint16  es;
 | 
			
		||||
  nuint16  ax;
 | 
			
		||||
  nuint16  bx;
 | 
			
		||||
  nuint16  cx;
 | 
			
		||||
  nuint16  dx;
 | 
			
		||||
  nuint16  bp;
 | 
			
		||||
  nuint16  flags;
 | 
			
		||||
} WORD_REGISTERS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nptr requestBuffer;
 | 
			
		||||
  nptr replyBuffer;
 | 
			
		||||
} PTR_REGISTERS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nptr ds_si;
 | 
			
		||||
  nptr es_di;
 | 
			
		||||
} SEG_OFF_REGISTERS;
 | 
			
		||||
 | 
			
		||||
typedef union
 | 
			
		||||
{
 | 
			
		||||
  WORD_REGISTERS w;
 | 
			
		||||
  BYTE_REGISTERS b;
 | 
			
		||||
  PTR_REGISTERS  p;
 | 
			
		||||
  SEG_OFF_REGISTERS s;
 | 
			
		||||
} REGISTERS;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef USE_DS
 | 
			
		||||
#define USE_DS  1
 | 
			
		||||
#define USE_ES  2
 | 
			
		||||
#define USE_DOS 0x80
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nint )
 | 
			
		||||
NWShellRequest
 | 
			
		||||
(
 | 
			
		||||
  REGISTERS N_FAR * , 
 | 
			
		||||
  nuint16
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
NWVLMRequest
 | 
			
		||||
(
 | 
			
		||||
  nuint16   callerID,
 | 
			
		||||
  nuint16   destID,
 | 
			
		||||
  nuint16   destFunc,
 | 
			
		||||
  REGISTERS N_FAR * regs,
 | 
			
		||||
  nuint16   mask
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_misc.h"
 | 
			
		||||
   #endif 
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										97
									
								
								c_clientlogin/xplatincl/nwmsg.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										97
									
								
								c_clientlogin/xplatincl/nwmsg.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,97 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwmsg.h %
 | 
			
		||||
  %version: 8 %
 | 
			
		||||
  %date_modified: Fri Oct 22 15:04:41 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1996 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWMSG_H )
 | 
			
		||||
#define NWMSG_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDisableBroadcasts
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWEnableBroadcasts
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSendBroadcastMessage
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   const nstr8   N_FAR * message,
 | 
			
		||||
   nuint16               connCount,
 | 
			
		||||
   const nuint16 N_FAR * connList,
 | 
			
		||||
   pnuint8               resultList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetBroadcastMessage
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         message
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetBroadcastMode
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        mode
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWBroadcastToConsole
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * message
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSendConsoleBroadcast
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * message,
 | 
			
		||||
   nuint16             connCount,
 | 
			
		||||
   pnuint16            connList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_msg.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										987
									
								
								c_clientlogin/xplatincl/nwnamspc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										987
									
								
								c_clientlogin/xplatincl/nwnamspc.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,987 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwnamspc.h %
 | 
			
		||||
  %version: 18 %
 | 
			
		||||
  %date_modified: Fri Sep 09 18:06:36 2005 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWNAMSPC_H )
 | 
			
		||||
#define NWNAMSPC_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDIRECT_H )
 | 
			
		||||
#include  "nwdirect.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef SUCCESSFUL
 | 
			
		||||
#define SUCCESSFUL                0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define MORE_NS_TO_READ           0
 | 
			
		||||
#define NO_EXTENDED_NS_INFO       9
 | 
			
		||||
#define NS_EOF                    0x8910
 | 
			
		||||
 | 
			
		||||
#define NW_NS_DOS     0
 | 
			
		||||
#define NW_NS_MAC     1
 | 
			
		||||
#define NW_NS_NFS     2
 | 
			
		||||
#define NW_NS_FTAM    3
 | 
			
		||||
#define NW_NS_OS2     4
 | 
			
		||||
#define NW_NS_LONG    4
 | 
			
		||||
 | 
			
		||||
#define NW_DS_DOS     0
 | 
			
		||||
#define NW_DS_MAC     1
 | 
			
		||||
#define NW_DS_FTAM    2
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  volNumber;
 | 
			
		||||
  nuint8  srcNameSpace;
 | 
			
		||||
  nuint32 srcDirBase;
 | 
			
		||||
  nuint8  dstNameSpace;
 | 
			
		||||
  nuint32 dstDirBase;
 | 
			
		||||
} NW_IDX;
 | 
			
		||||
 | 
			
		||||
typedef struct NWNSINFO
 | 
			
		||||
{
 | 
			
		||||
  nuint32 NSInfoBitMask;
 | 
			
		||||
  nuint32 fixedBitMask;
 | 
			
		||||
  nuint32 reservedBitMask;
 | 
			
		||||
  nuint32 extendedBitMask;
 | 
			
		||||
  nuint16 fixedBitsDefined;
 | 
			
		||||
  nuint16 reservedBitsDefined;
 | 
			
		||||
  nuint16 extendedBitsDefined;
 | 
			
		||||
  nuint32 fieldsLenTable[32];
 | 
			
		||||
  nuint8  hugeStateInfo[16];
 | 
			
		||||
  nuint32 hugeDataLength;
 | 
			
		||||
} NW_NS_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 spaceAlloc;
 | 
			
		||||
  nuint32 attributes;
 | 
			
		||||
  nuint16 flags;
 | 
			
		||||
  nuint32 dataStreamSize;
 | 
			
		||||
  nuint32 totalStreamSize;
 | 
			
		||||
  nuint16 numberOfStreams;
 | 
			
		||||
  nuint16 creationTime;
 | 
			
		||||
  nuint16 creationDate;
 | 
			
		||||
  nuint32 creatorID;
 | 
			
		||||
  nuint16 modifyTime;
 | 
			
		||||
  nuint16 modifyDate;
 | 
			
		||||
  nuint32 modifierID;
 | 
			
		||||
  nuint16 lastAccessDate;
 | 
			
		||||
  nuint16 archiveTime;
 | 
			
		||||
  nuint16 archiveDate;
 | 
			
		||||
  nuint32 archiverID;
 | 
			
		||||
  nuint16 inheritedRightsMask;
 | 
			
		||||
  nuint32 dirEntNum;
 | 
			
		||||
  nuint32 DosDirNum;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint32 EADataSize;
 | 
			
		||||
  nuint32 EAKeyCount;
 | 
			
		||||
  nuint32 EAKeySize;
 | 
			
		||||
  nuint32 NSCreator;
 | 
			
		||||
  nuint8  nameLength;
 | 
			
		||||
  nstr8   entryName[256];
 | 
			
		||||
} NW_ENTRY_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 spaceAlloc;
 | 
			
		||||
  nuint32 attributes;
 | 
			
		||||
  nuint16 flags;
 | 
			
		||||
  nuint32 dataStreamSize;
 | 
			
		||||
  nuint32 totalStreamSize;
 | 
			
		||||
  nuint16 numberOfStreams;
 | 
			
		||||
  nuint16 creationTime;
 | 
			
		||||
  nuint16 creationDate;
 | 
			
		||||
  nuint32 creatorID;
 | 
			
		||||
  nuint16 modifyTime;
 | 
			
		||||
  nuint16 modifyDate;
 | 
			
		||||
  nuint32 modifierID;
 | 
			
		||||
  nuint16 lastAccessDate;
 | 
			
		||||
  nuint16 archiveTime;
 | 
			
		||||
  nuint16 archiveDate;
 | 
			
		||||
  nuint32 archiverID;
 | 
			
		||||
  nuint16 inheritedRightsMask;
 | 
			
		||||
  nuint32 dirEntNum;
 | 
			
		||||
  nuint32 DosDirNum;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint32 EADataSize;
 | 
			
		||||
  nuint32 EAKeyCount;
 | 
			
		||||
  nuint32 EAKeySize;
 | 
			
		||||
  nuint32 NSCreator;
 | 
			
		||||
  nuint16 nameLength;
 | 
			
		||||
  nstr8   entryName[766];  /* 255*3 + 1 */
 | 
			
		||||
} NW_ENTRY_INFO_EXT;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 dataStreamNumber;
 | 
			
		||||
  nuint32 dataStreamFATBlocksSize;    
 | 
			
		||||
} NW_DATA_STREAM_FAT_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32   dataStreamNumber;
 | 
			
		||||
  nuint32   dataStreamSize;
 | 
			
		||||
} NW_DATA_STREAM_SIZE_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 MACCreateTime;
 | 
			
		||||
  nuint32 MACBackupTime;
 | 
			
		||||
} NW_MAC_TIME;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 spaceAlloc;
 | 
			
		||||
  nuint32 attributes;
 | 
			
		||||
  nuint16 flags;
 | 
			
		||||
  nuint32 dataStreamSize;
 | 
			
		||||
  nuint32 totalStreamSize;
 | 
			
		||||
  nuint16 numberOfStreams;
 | 
			
		||||
  nuint32 EADataSize;
 | 
			
		||||
  nuint32 EAKeyCount;
 | 
			
		||||
  nuint32 EAKeySize;
 | 
			
		||||
  nuint16 archiveTime;
 | 
			
		||||
  nuint16 archiveDate;
 | 
			
		||||
  nuint32 archiverID;
 | 
			
		||||
  nuint16 modifyTime;
 | 
			
		||||
  nuint16 modifyDate;
 | 
			
		||||
  nuint32 modifierID;
 | 
			
		||||
  nuint16 lastAccessDate;
 | 
			
		||||
  nuint16 creationTime;
 | 
			
		||||
  nuint16 creationDate;
 | 
			
		||||
  nuint32 creatorID;
 | 
			
		||||
  nuint32 NSCreator;
 | 
			
		||||
  nuint32 dirEntNum;
 | 
			
		||||
  nuint32 DosDirNum;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint16 inheritedRightsMask;
 | 
			
		||||
  nuint16 currentReferenceID;
 | 
			
		||||
  nuint32 NSFileAttributes;
 | 
			
		||||
  nuint32 numberOfDataStreamFATInfo;
 | 
			
		||||
  NW_DATA_STREAM_FAT_INFO dataStreamFATInfo[3];
 | 
			
		||||
  nuint32 numberOfDataStreamSizeInfo;
 | 
			
		||||
  NW_DATA_STREAM_SIZE_INFO dataStreamSizeInfo[3];
 | 
			
		||||
  nint32  secondsRelativeToTheYear2000;
 | 
			
		||||
  nuint8  DOSNameLen;
 | 
			
		||||
  nstr8   DOSName[13];
 | 
			
		||||
  nuint32 flushTime;
 | 
			
		||||
  nuint32 parentBaseID; 
 | 
			
		||||
  nuint8  MacFinderInfo[32];
 | 
			
		||||
  nuint32 siblingCount;
 | 
			
		||||
  nuint32 effectiveRights;
 | 
			
		||||
  NW_MAC_TIME MacTime;  
 | 
			
		||||
  nuint16 lastAccessedTime;  
 | 
			
		||||
  nuint8  nameLength;
 | 
			
		||||
  nstr8   entryName[256];
 | 
			
		||||
} NW_ENTRY_INFO2;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 spaceAlloc;
 | 
			
		||||
  nuint32 attributes;
 | 
			
		||||
  nuint16 flags;
 | 
			
		||||
  nuint32 dataStreamSize;
 | 
			
		||||
  nuint32 totalStreamSize;
 | 
			
		||||
  nuint16 numberOfStreams;
 | 
			
		||||
  nuint32 EADataSize;
 | 
			
		||||
  nuint32 EAKeyCount;
 | 
			
		||||
  nuint32 EAKeySize;
 | 
			
		||||
  nuint16 archiveTime;
 | 
			
		||||
  nuint16 archiveDate;
 | 
			
		||||
  nuint32 archiverID;
 | 
			
		||||
  nuint16 modifyTime;
 | 
			
		||||
  nuint16 modifyDate;
 | 
			
		||||
  nuint32 modifierID;
 | 
			
		||||
  nuint16 lastAccessDate;
 | 
			
		||||
  nuint16 creationTime;
 | 
			
		||||
  nuint16 creationDate;
 | 
			
		||||
  nuint32 creatorID;
 | 
			
		||||
  nuint32 NSCreator;
 | 
			
		||||
  nuint32 dirEntNum;
 | 
			
		||||
  nuint32 DosDirNum;
 | 
			
		||||
  nuint32 volNumber;
 | 
			
		||||
  nuint16 inheritedRightsMask;
 | 
			
		||||
  nuint16 currentReferenceID;
 | 
			
		||||
  nuint32 NSFileAttributes;
 | 
			
		||||
  nuint32 numberOfDataStreamFATInfo;
 | 
			
		||||
  NW_DATA_STREAM_FAT_INFO dataStreamFATInfo[3];
 | 
			
		||||
  nuint32 numberOfDataStreamSizeInfo;
 | 
			
		||||
  NW_DATA_STREAM_SIZE_INFO dataStreamSizeInfo[3];
 | 
			
		||||
  nint32  secondsRelativeToTheYear2000;
 | 
			
		||||
  nuint8  DOSNameLen;
 | 
			
		||||
  nstr8   DOSName[37];  /* 12*3 + 1 */
 | 
			
		||||
  nuint32 flushTime;
 | 
			
		||||
  nuint32 parentBaseID; 
 | 
			
		||||
  nuint8  MacFinderInfo[32];
 | 
			
		||||
  nuint32 siblingCount;
 | 
			
		||||
  nuint32 effectiveRights;
 | 
			
		||||
  NW_MAC_TIME MacTime;  
 | 
			
		||||
  nuint16 lastAccessedTime;  
 | 
			
		||||
  nuint64 fileSize64;
 | 
			
		||||
  nuint16 nameLength;
 | 
			
		||||
  nstr8   entryName[766];  /* 255*3 + 1 */
 | 
			
		||||
} NW_ENTRY_INFO2_EXT;
 | 
			
		||||
 | 
			
		||||
typedef struct _MODIFY_DOS_INFO
 | 
			
		||||
{
 | 
			
		||||
  nuint32   attributes;
 | 
			
		||||
  nuint16   createDate;
 | 
			
		||||
  nuint16   createTime;
 | 
			
		||||
  nuint32   creatorID;
 | 
			
		||||
  nuint16   modifyDate;
 | 
			
		||||
  nuint16   modifyTime;
 | 
			
		||||
  nuint32   modifierID;
 | 
			
		||||
  nuint16   archiveDate;
 | 
			
		||||
  nuint16   archiveTime;
 | 
			
		||||
  nuint32   archiverID;
 | 
			
		||||
  nuint16   lastAccessDate;
 | 
			
		||||
  nuint16   inheritanceGrantMask;
 | 
			
		||||
  nuint16   inheritanceRevokeMask;
 | 
			
		||||
  nuint32   maximumSpace;
 | 
			
		||||
} MODIFY_DOS_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  volNumber;
 | 
			
		||||
  nuint32 dirNumber;
 | 
			
		||||
  nuint32 searchDirNumber;
 | 
			
		||||
} SEARCH_SEQUENCE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  pnstr8  srcPath;
 | 
			
		||||
  pnstr8  dstPath;
 | 
			
		||||
  nuint16 dstPathSize;
 | 
			
		||||
} NW_NS_PATH;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  openCreateMode;
 | 
			
		||||
  nuint16 searchAttributes;
 | 
			
		||||
  nuint32 reserved;
 | 
			
		||||
  nuint32 createAttributes;
 | 
			
		||||
  nuint16 accessRights;
 | 
			
		||||
  nuint32 NetWareHandle;
 | 
			
		||||
  nuint8  openCreateAction;
 | 
			
		||||
} NW_NS_OPENCREATE, NW_NS_OPEN;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* open/create modes */
 | 
			
		||||
#define OC_MODE_OPEN      0x01
 | 
			
		||||
#define OC_MODE_TRUNCATE  0x02
 | 
			
		||||
#define OC_MODE_REPLACE   0x02
 | 
			
		||||
#define OC_MODE_CREATE    0x08
 | 
			
		||||
 | 
			
		||||
/* open/create results */
 | 
			
		||||
#define OC_ACTION_NONE     0x00
 | 
			
		||||
#define OC_ACTION_OPEN     0x01
 | 
			
		||||
#define OC_ACTION_CREATE   0x02
 | 
			
		||||
#define OC_ACTION_TRUNCATE 0x04
 | 
			
		||||
#define OC_ACTION_REPLACE  0x04
 | 
			
		||||
 | 
			
		||||
/* return info mask */
 | 
			
		||||
#define IM_NAME                  0x00000001L
 | 
			
		||||
#define IM_ENTRY_NAME            0x00000001L
 | 
			
		||||
#define IM_SPACE_ALLOCATED       0x00000002L
 | 
			
		||||
#define IM_ATTRIBUTES            0x00000004L
 | 
			
		||||
#define IM_SIZE                  0x00000008L
 | 
			
		||||
#define IM_TOTAL_SIZE            0x00000010L
 | 
			
		||||
#define IM_EA                    0x00000020L
 | 
			
		||||
#define IM_ARCHIVE               0x00000040L
 | 
			
		||||
#define IM_MODIFY                0x00000080L
 | 
			
		||||
#define IM_CREATION              0x00000100L
 | 
			
		||||
#define IM_OWNING_NAMESPACE      0x00000200L
 | 
			
		||||
#define IM_DIRECTORY             0x00000400L
 | 
			
		||||
#define IM_RIGHTS                0x00000800L
 | 
			
		||||
#define IM_ALMOST_ALL            0x00000FEDL
 | 
			
		||||
#define IM_ALL                   0x00000FFFL
 | 
			
		||||
#define IM_REFERENCE_ID          0x00001000L
 | 
			
		||||
#define IM_NS_ATTRIBUTES         0x00002000L
 | 
			
		||||
#define IM_DATASTREAM_SIZES      0x00004000L
 | 
			
		||||
#define IM_DATASTREAM_ACTUAL     0x00004000L
 | 
			
		||||
#define IM_DATASTREAM_LOGICAL    0x00008000L
 | 
			
		||||
#define IM_LASTUPDATEDINSECONDS  0x00010000L
 | 
			
		||||
#define IM_DOSNAME               0x00020000L
 | 
			
		||||
#define IM_FLUSHTIME             0x00040000L
 | 
			
		||||
#define IM_PARENTBASEID          0x00080000L
 | 
			
		||||
#define IM_MACFINDER             0x00100000L
 | 
			
		||||
#define IM_SIBLINGCOUNT          0x00200000L
 | 
			
		||||
#define IM_EFECTIVERIGHTS        0x00400000L
 | 
			
		||||
#define IM_MACTIME               0x00800000L
 | 
			
		||||
#define IM_LASTACCESSEDTIME      0x01000000L
 | 
			
		||||
#define IM_64BIT_SIZE            0x04000000L
 | 
			
		||||
#define IM_EXTENDED_ALL          0x05FFF000L
 | 
			
		||||
#define IM_NSS_LARGE_SIZES       0x40000000L
 | 
			
		||||
#define IM_COMPRESSED_INFO       0x80000000L
 | 
			
		||||
#define IM_NS_SPECIFIC_INFO      0x80000000L
 | 
			
		||||
 | 
			
		||||
/* access rights attributes */
 | 
			
		||||
#ifndef AR_READ_ONLY
 | 
			
		||||
#define AR_READ            0x0001
 | 
			
		||||
#define AR_WRITE           0x0002
 | 
			
		||||
#define AR_READ_ONLY       0x0001
 | 
			
		||||
#define AR_WRITE_ONLY      0x0002
 | 
			
		||||
#define AR_DENY_READ       0x0004
 | 
			
		||||
#define AR_DENY_WRITE      0x0008
 | 
			
		||||
#define AR_COMPATIBILITY   0x0010
 | 
			
		||||
#define AR_WRITE_THROUGH   0x0040
 | 
			
		||||
#define AR_OPEN_COMPRESSED 0x0100
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Trustee Access Rights in a network directory */
 | 
			
		||||
/* NOTE: TA_OPEN is obsolete in 3.x */
 | 
			
		||||
#ifndef TA_NONE
 | 
			
		||||
#define TA_NONE               0x00
 | 
			
		||||
#define TA_READ               0x01
 | 
			
		||||
#define TA_WRITE              0x02
 | 
			
		||||
#define TA_CREATE             0x08
 | 
			
		||||
#define TA_DELETE             0x10
 | 
			
		||||
#define TA_ACCESSCONTROL      0x20
 | 
			
		||||
#define TA_SEEFILES           0x40
 | 
			
		||||
#define TA_MODIFY             0x80
 | 
			
		||||
#define TA_ALL                0xFB
 | 
			
		||||
/* Old names for rights */
 | 
			
		||||
#define TA_OPEN               0x04
 | 
			
		||||
#define TA_OWNERSHIP          0x20
 | 
			
		||||
#define TA_SEARCH             0x40
 | 
			
		||||
/* Misc defines */
 | 
			
		||||
#define TA_SUPERVISOR         0x0100
 | 
			
		||||
#define TA_ALL_16             0x01FB
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* search attributes */
 | 
			
		||||
#ifndef SA_HIDDEN
 | 
			
		||||
#define SA_NORMAL         0x0000
 | 
			
		||||
#define SA_HIDDEN         0x0002
 | 
			
		||||
#define SA_SYSTEM         0x0004
 | 
			
		||||
#define SA_SUBDIR_ONLY    0x0010
 | 
			
		||||
#define SA_SUBDIR_FILES   0x8000
 | 
			
		||||
#define SA_ALL            0x8006
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define NW_TYPE_FILE      0x8000
 | 
			
		||||
#define NW_TYPE_SUBDIR    0x0010
 | 
			
		||||
 | 
			
		||||
#define NW_NAME_CONVERT     0x03
 | 
			
		||||
#define NW_NO_NAME_CONVERT  0x04
 | 
			
		||||
 | 
			
		||||
/* modify mask - use with MODIFY_DOS_INFO structure */
 | 
			
		||||
#define DM_FILENAME               0x0001L
 | 
			
		||||
#define DM_ATTRIBUTES             0x0002L
 | 
			
		||||
#define DM_CREATE_DATE            0x0004L
 | 
			
		||||
#define DM_CREATE_TIME            0x0008L
 | 
			
		||||
#define DM_CREATOR_ID             0x0010L
 | 
			
		||||
#define DM_ARCHIVE_DATE           0x0020L
 | 
			
		||||
#define DM_ARCHIVE_TIME           0x0040L
 | 
			
		||||
#define DM_ARCHIVER_ID            0x0080L
 | 
			
		||||
#define DM_MODIFY_DATE            0x0100L
 | 
			
		||||
#define DM_MODIFY_TIME            0x0200L
 | 
			
		||||
#define DM_MODIFIER_ID            0x0400L
 | 
			
		||||
#define DM_LAST_ACCESS_DATE       0x0800L
 | 
			
		||||
#define DM_INHERITED_RIGHTS_MASK  0x1000L
 | 
			
		||||
#define DM_MAXIMUM_SPACE          0x2000L
 | 
			
		||||
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
   #define NWGetNSLoadedList     NWGetNSLoadedList2
 | 
			
		||||
   #define NWGetNSInfo           NWGetNSInfo2
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirectoryBase
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              dstNamSpc,
 | 
			
		||||
   NW_IDX N_FAR *      idxStruct
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDirectoryBaseExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              dstNamSpc,
 | 
			
		||||
   NW_IDX N_FAR *      idxStruct
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint8                  dirHandle,
 | 
			
		||||
   nuint8                  namSpc,
 | 
			
		||||
   nuint16                 attrs,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * sequence,
 | 
			
		||||
   const nstr8     N_FAR * searchPattern,
 | 
			
		||||
   nuint32                 retInfoMask,
 | 
			
		||||
   NW_ENTRY_INFO   N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfoExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE               conn,
 | 
			
		||||
   nuint8                      dirHandle,
 | 
			
		||||
   nuint8                      namSpc,
 | 
			
		||||
   nuint16                     attrs,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR *     sequence,
 | 
			
		||||
   const nstr8     N_FAR *     searchPattern,
 | 
			
		||||
   nuint32                     retInfoMask,
 | 
			
		||||
   NW_ENTRY_INFO_EXT   N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfo2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint8                  dirHandle,
 | 
			
		||||
   nuint8                  namSpc,
 | 
			
		||||
   nuint16                 attrs,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * sequence,
 | 
			
		||||
   const nstr8     N_FAR * searchPattern,
 | 
			
		||||
   nuint32                 retInfoMask,
 | 
			
		||||
   NW_ENTRY_INFO2  N_FAR * entryInfo2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSLoadedList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         volNum,
 | 
			
		||||
   nuint8         maxListLen,
 | 
			
		||||
   pnuint8        NSLoadedList,
 | 
			
		||||
   pnuint8        actualListLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetOwningNameSpace
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint8             namSpc
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenCreateNSEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   nuint8                   dirHandle,
 | 
			
		||||
   nuint8                   namSpc,
 | 
			
		||||
   const nstr8      N_FAR * path,
 | 
			
		||||
   NW_NS_OPENCREATE N_FAR * NSOpenCreate,
 | 
			
		||||
   NWFILE_HANDLE    N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenCreateNSEntryExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   nuint8                   dirHandle,
 | 
			
		||||
   nuint8                   namSpc,
 | 
			
		||||
   const nstr8      N_FAR * path,
 | 
			
		||||
   NW_NS_OPENCREATE N_FAR * NSOpenCreate,
 | 
			
		||||
   NWFILE_HANDLE    N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenNSEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   nuint8                dirHandle,
 | 
			
		||||
   nuint8                namSpc,
 | 
			
		||||
   nuint8                dataStream,
 | 
			
		||||
   const nstr8   N_FAR * path,
 | 
			
		||||
   NW_NS_OPEN    N_FAR * NSOpen,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenNSEntryExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   nuint8                dirHandle,
 | 
			
		||||
   nuint8                namSpc,
 | 
			
		||||
   nuint8                dataStream,
 | 
			
		||||
   const nstr8   N_FAR * path,
 | 
			
		||||
   NW_NS_OPEN    N_FAR * NSOpen,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetLongName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   const nstr8 N_FAR * dstPath,
 | 
			
		||||
   nuint16             dstType,
 | 
			
		||||
   const nstr8 N_FAR * longName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetLongName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              srcNamSpc,
 | 
			
		||||
   nuint8              dstNamSpc,
 | 
			
		||||
   pnstr8              longName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetLongNameExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              srcNamSpc,
 | 
			
		||||
   nuint8              dstNamSpc,
 | 
			
		||||
   pnstr8              longName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   const NW_IDX N_FAR * idxStruct,
 | 
			
		||||
   NW_NS_INFO   N_FAR * NSInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteNSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX     N_FAR * idxStruct,
 | 
			
		||||
   const NW_NS_INFO N_FAR * NSInfo,
 | 
			
		||||
   const nuint8     N_FAR * data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteNSInfoExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX     N_FAR * idxStruct,
 | 
			
		||||
   const NW_NS_INFO N_FAR * NSInfo,
 | 
			
		||||
   const nuint8     N_FAR * data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWriteExtendedNSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX     N_FAR * idxStruct,
 | 
			
		||||
   NW_NS_INFO       N_FAR * NSInfo,
 | 
			
		||||
   const nuint8     N_FAR * data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadNSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX     N_FAR * idxStruct,
 | 
			
		||||
   const NW_NS_INFO N_FAR * NSInfo,
 | 
			
		||||
   pnuint8                  data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadNSInfoExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE            conn,
 | 
			
		||||
   const NW_IDX     N_FAR * idxStruct,
 | 
			
		||||
   const NW_NS_INFO N_FAR * NSInfo,
 | 
			
		||||
   pnuint8                  data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadExtendedNSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE        conn,
 | 
			
		||||
   const NW_IDX N_FAR * idxStruct,
 | 
			
		||||
   NW_NS_INFO   N_FAR * NSInfo,
 | 
			
		||||
   pnuint8              data
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSPath
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         dirHandle,
 | 
			
		||||
   nuint16        fileFlag,
 | 
			
		||||
   nuint8         srcNamSpc,
 | 
			
		||||
   nuint8         dstNamSpc,
 | 
			
		||||
   NW_NS_PATH N_FAR *NSPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSPathExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         dirHandle,
 | 
			
		||||
   nuint16        fileFlag,
 | 
			
		||||
   nuint8         srcNamSpc,
 | 
			
		||||
   nuint8         dstNamSpc,
 | 
			
		||||
   NW_NS_PATH N_FAR *NSPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAllocTempNSDirHandle2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   pnuint8             newDirHandle,
 | 
			
		||||
   nuint8              newNamSpc
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAllocTempNSDirHandle2Ext
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   pnuint8             newDirHandle,
 | 
			
		||||
   nuint8              newNamSpc
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSEntryInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   nuint8                dirHandle,
 | 
			
		||||
   const nstr8 N_FAR *   path,
 | 
			
		||||
   nuint8                srcNamSpc,
 | 
			
		||||
   nuint8                dstNamSpc,
 | 
			
		||||
   nuint16               searchAttrs,
 | 
			
		||||
   nuint32               retInfoMask,
 | 
			
		||||
   NW_ENTRY_INFO N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSEntryInfoExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   nuint8                dirHandle,
 | 
			
		||||
   const nstr8   N_FAR * path,
 | 
			
		||||
   nuint8                srcNamSpc,
 | 
			
		||||
   nuint8                dstNamSpc,
 | 
			
		||||
   nuint16               searchAttrs,
 | 
			
		||||
   nuint32               retInfoMask,
 | 
			
		||||
   NW_ENTRY_INFO_EXT N_FAR * entryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSEntryInfo2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE          conn,
 | 
			
		||||
   NWDIR_HANDLE           dirHandle,
 | 
			
		||||
   const nstr8    N_FAR * pbstrPath,
 | 
			
		||||
   nuint8                 buNamSpc,
 | 
			
		||||
   nuint8                 buDstNamSpc,
 | 
			
		||||
   nuint16                suSrchAttrs,
 | 
			
		||||
   nuint32                luRetMask,
 | 
			
		||||
   NW_ENTRY_INFO2 N_FAR * pEntryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNSEntryInfo2Ext
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE          conn,
 | 
			
		||||
   NWDIR_HANDLE           dirHandle,
 | 
			
		||||
   const nstr8    N_FAR * pbstrPath,
 | 
			
		||||
   nuint8                 buNamSpc,
 | 
			
		||||
   nuint8                 buDstNamSpc,
 | 
			
		||||
   nuint16                suSrchAttrs,
 | 
			
		||||
   nuint32                luRetMask,
 | 
			
		||||
   NW_ENTRY_INFO2_EXT N_FAR * pEntryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWNSGetMiscInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint8              dstNameSpace,
 | 
			
		||||
   NW_IDX      N_FAR * idxStruct
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenDataStream
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE         conn,
 | 
			
		||||
  nuint8                dirHandle,
 | 
			
		||||
  const nstr8   N_FAR * fileName,
 | 
			
		||||
  nuint16               dataStream,
 | 
			
		||||
  nuint16               attrs,
 | 
			
		||||
  nuint16               accessMode,
 | 
			
		||||
  pnuint32              NWHandle,
 | 
			
		||||
  NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWNSRename
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   const nstr8 N_FAR * oldName,
 | 
			
		||||
   nuint16             oldType,
 | 
			
		||||
   const nstr8 N_FAR * newName,
 | 
			
		||||
   nuint8              renameFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWNSRenameExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              dirHandle,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   const nstr8 N_FAR * oldName,
 | 
			
		||||
   nuint16             oldType,
 | 
			
		||||
   const nstr8 N_FAR * newName,
 | 
			
		||||
   nuint8              renameFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetNSEntryDOSInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint8                  dirHandle,
 | 
			
		||||
   const nstr8     N_FAR * path,
 | 
			
		||||
   nuint8                  namSpc,
 | 
			
		||||
   nuint16                 searchAttrs,
 | 
			
		||||
   nuint32                 modifyDOSMask,
 | 
			
		||||
   MODIFY_DOS_INFO N_FAR * dosInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetNSEntryDOSInfoExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint8                  dirHandle,
 | 
			
		||||
   const nstr8     N_FAR * path,
 | 
			
		||||
   nuint8                  namSpc,
 | 
			
		||||
   nuint16                 searchAttrs,
 | 
			
		||||
   nuint32                 modifyDOSMask,
 | 
			
		||||
   MODIFY_DOS_INFO N_FAR * dosInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFullPath
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         volNum,
 | 
			
		||||
   nuint32        dirBase,
 | 
			
		||||
   nuint16        handleFlag,
 | 
			
		||||
   nint           srcNamSpc,
 | 
			
		||||
   nint           dstNamSpc,
 | 
			
		||||
   nuint16        maxPathLen,
 | 
			
		||||
   pnstr8         path,
 | 
			
		||||
   pnuint16       pathType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteNSEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * fileName,
 | 
			
		||||
   nuint8              nameSpace,
 | 
			
		||||
   nuint16             searchAttr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteNSEntryExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * fileName,
 | 
			
		||||
   nuint8              nameSpace,
 | 
			
		||||
   nuint16             searchAttr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWNSGetDefaultNS
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   pnuint8             pbuDefaultNameSpace
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfoSet
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   NWDIR_HANDLE            dirHandle,
 | 
			
		||||
   nuint8                  buNameSpace,
 | 
			
		||||
   nuint16                 suAttr,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * pIterHnd,
 | 
			
		||||
   const nstr8     N_FAR * pbstrSrchPattern,
 | 
			
		||||
   nuint32                 luRetMask,
 | 
			
		||||
   pnuint8                 pbuMoreEntriesFlag,
 | 
			
		||||
   pnuint16                psuNumReturned,
 | 
			
		||||
   nuint16                 suNumItems,
 | 
			
		||||
   NW_ENTRY_INFO   N_FAR * pEntryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfoSetExt
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   NWDIR_HANDLE            dirHandle,
 | 
			
		||||
   nuint8                  buNameSpace,
 | 
			
		||||
   nuint16                 suAttr,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * pIterHnd,
 | 
			
		||||
   const nstr8     N_FAR * pbstrSrchPattern,
 | 
			
		||||
   nuint32                 luRetMask,
 | 
			
		||||
   pnuint8                 pbuMoreEntriesFlag,
 | 
			
		||||
   pnuint16                psuNumReturned,
 | 
			
		||||
   nuint16                 suNumItems,
 | 
			
		||||
   NW_ENTRY_INFO_EXT N_FAR * pEntryInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfoSet2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   NWDIR_HANDLE            dirHandle,
 | 
			
		||||
   nuint8                  buNameSpace,
 | 
			
		||||
   nuint16                 suAttr,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * pIterHnd,
 | 
			
		||||
   const nstr8     N_FAR * pbstrSrchPattern,
 | 
			
		||||
   nuint32                 luRetMask,
 | 
			
		||||
   pnuint8                 pbuMoreEntriesFlag,
 | 
			
		||||
   pnuint16                psuNumReturned,
 | 
			
		||||
   nuint16                 suNumItems,
 | 
			
		||||
   NW_ENTRY_INFO2  N_FAR * pEntryInfo2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSEntryInfoSet2Ext
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   NWDIR_HANDLE            dirHandle,
 | 
			
		||||
   nuint8                  buNameSpace,
 | 
			
		||||
   nuint16                 suAttr,
 | 
			
		||||
   SEARCH_SEQUENCE N_FAR * pIterHnd,
 | 
			
		||||
   const nstr8     N_FAR * pbstrSrchPattern,
 | 
			
		||||
   nuint32                 luRetMask,
 | 
			
		||||
   pnuint8                 pbuMoreEntriesFlag,
 | 
			
		||||
   pnuint16                psuNumReturned,
 | 
			
		||||
   nuint16                 suNumItems,
 | 
			
		||||
   NW_ENTRY_INFO2_EXT N_FAR * pEntryInfo2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAddTrusteeToNSDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * path,
 | 
			
		||||
   nuint32             trusteeID,
 | 
			
		||||
   nuint8              rightsMask
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDeleteTrusteeFromNSDirectory
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              namSpc,
 | 
			
		||||
   NWDIR_HANDLE        dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * dirPath,
 | 
			
		||||
   nuint32             objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNSDirectoryForTrustees
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         namSpc,
 | 
			
		||||
   NWDIR_HANDLE   dirHandle,
 | 
			
		||||
   const nstr8 N_FAR * pbstrSrchPath,
 | 
			
		||||
   pnuint32       pluIterHnd,
 | 
			
		||||
   pnstr8         pbstrDirName,
 | 
			
		||||
   pnuint32       pluDirDateTime,
 | 
			
		||||
   pnuint32       pluOwnerID,
 | 
			
		||||
   TRUSTEE_INFO N_FAR * trusteeList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef NWDOS
 | 
			
		||||
#define __NWGetCurNS(a, b, c) NW_NS_DOS
 | 
			
		||||
#else
 | 
			
		||||
N_EXTERN_LIBRARY( nuint16 )
 | 
			
		||||
__NWGetCurNS
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         dirHandle,
 | 
			
		||||
   pnstr8         path
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined N_PLAT_NLM
 | 
			
		||||
N_EXTERN_LIBRARY( nuint8 )
 | 
			
		||||
SetCurrentNameSpace
 | 
			
		||||
(
 | 
			
		||||
   nuint8 newNameSpace
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nuint8 )
 | 
			
		||||
SetTargetNameSpace
 | 
			
		||||
(
 | 
			
		||||
   nuint8 newNameSpace
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_namspc.h"
 | 
			
		||||
   #endif 
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										184
									
								
								c_clientlogin/xplatincl/nwncpext.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										184
									
								
								c_clientlogin/xplatincl/nwncpext.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,184 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwncpext.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Mon Oct 18 15:48:25 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWNCPEXT_H )
 | 
			
		||||
#define NWNCPEXT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWMISC_H )    /* Needed to defined NWFRAGMENT */
 | 
			
		||||
# include "nwmisc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define BEGIN_SCAN_NCP_EXTENSIONS    0xFFFFFFFF
 | 
			
		||||
#define NW_NCPX_BEGIN_SCAN 0xFFFFFFFF
 | 
			
		||||
#define MAX_NCP_EXTENSION_NAME_BYTES 33
 | 
			
		||||
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
   #define NWGetNCPExtensionInfo       NWGetNCPExtensionInfo2
 | 
			
		||||
   #define NWScanNCPExtensions         NWScanNCPExtensions2
 | 
			
		||||
   
 | 
			
		||||
N_EXTERN_LIBRARY_C( nint )
 | 
			
		||||
NWDeRegisterNCPExtension
 | 
			
		||||
(
 | 
			
		||||
   nptr     queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nint )
 | 
			
		||||
NWRegisterNCPExtension
 | 
			
		||||
(
 | 
			
		||||
   nstr8        NCPExtensionName,
 | 
			
		||||
   nuint8       (*NCPExtensionHandler)(
 | 
			
		||||
   struct NCPExtensionClient *NCPExtensionClient,
 | 
			
		||||
   nptr     requestData,
 | 
			
		||||
   nuint32  requestDataLen,
 | 
			
		||||
   nptr     replyData,
 | 
			
		||||
   pnuint32 replyDataLen),
 | 
			
		||||
   void         (*ConnectionEventHandler)(
 | 
			
		||||
   nuint32  connection,
 | 
			
		||||
   nuint32  eventType),
 | 
			
		||||
   void         (*ReplyBufferManager)(
 | 
			
		||||
   struct NCPExtensionClient *NCPExtensionClient,
 | 
			
		||||
   nptr     replyBuffer),
 | 
			
		||||
   nuint8       majorVersion,
 | 
			
		||||
   nuint8       minorVersion,
 | 
			
		||||
   nuint8       revision,
 | 
			
		||||
   pnptr        queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
typedef struct NCPExtensionClient NCPExtensionClient;
 | 
			
		||||
 | 
			
		||||
struct NCPExtensionClient {
 | 
			
		||||
   nuint32  connection;
 | 
			
		||||
   nuint32  task;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( nint )
 | 
			
		||||
NWRegisterNCPExtensionByID
 | 
			
		||||
(
 | 
			
		||||
   nuint32      NCPExtensionID,
 | 
			
		||||
   nstr8        NCPExtensionName,
 | 
			
		||||
   nuint8       (*NCPExtensionHandler)(
 | 
			
		||||
   struct NCPExtensionClient *NCPExtensionClient,
 | 
			
		||||
   nptr     requestData,
 | 
			
		||||
   nuint32  requestDataLen,
 | 
			
		||||
   nptr     replyData,
 | 
			
		||||
   pnuint32 replyDataLen),
 | 
			
		||||
   void         (*ConnectionEventHandler)(
 | 
			
		||||
   nuint32  connection,
 | 
			
		||||
   nuint32  eventType),
 | 
			
		||||
   void         (*ReplyBufferManager)(
 | 
			
		||||
   struct NCPExtensionClient *NCPExtensionClient,
 | 
			
		||||
   nptr     replyBuffer),
 | 
			
		||||
   nuint8       majorVersion,
 | 
			
		||||
   nuint8       minorVersion,
 | 
			
		||||
   nuint8       revision,
 | 
			
		||||
   pnptr        queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNCPExtensionInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        NCPExtensionID,
 | 
			
		||||
   pnstr8         NCPExtensionName,
 | 
			
		||||
   pnuint8        majorVersion,
 | 
			
		||||
   pnuint8        minorVersion,
 | 
			
		||||
   pnuint8        revision,
 | 
			
		||||
   pnuint8        queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWNCPExtensionRequest
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE      conn,
 | 
			
		||||
   nuint32            NCPExtensionID,
 | 
			
		||||
   const void N_FAR * requestData,
 | 
			
		||||
   nuint16            requestDataLen,
 | 
			
		||||
   nptr               replyData,
 | 
			
		||||
   pnuint16           replyDataLen
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFragNCPExtensionRequest
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        NCPExtensionID,
 | 
			
		||||
   nuint16        reqFragCount,
 | 
			
		||||
   NW_FRAGMENT N_FAR * reqFragList,
 | 
			
		||||
   nuint16        replyFragCount,
 | 
			
		||||
   NW_FRAGMENT N_FAR * replyFragList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanNCPExtensions
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       NCPExtensionID,
 | 
			
		||||
   pnstr8         NCPExtensionName,
 | 
			
		||||
   pnuint8        majorVersion,
 | 
			
		||||
   pnuint8        minorVersion,
 | 
			
		||||
   pnuint8        revision,
 | 
			
		||||
   pnuint8        queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNCPExtensionInfoByName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * NCPExtensionName,
 | 
			
		||||
   pnuint32            NCPExtensionID,
 | 
			
		||||
   pnuint8             majorVersion,
 | 
			
		||||
   pnuint8             minorVersion,
 | 
			
		||||
   pnuint8             revision,
 | 
			
		||||
   pnuint8             queryData
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNCPExtensionsList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       startNCPExtensionID,
 | 
			
		||||
   pnuint16       itemsInList,
 | 
			
		||||
   pnuint32       NCPExtensionIDList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNumberNCPExtensions
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       numNCPExtensions
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										70
									
								
								c_clientlogin/xplatincl/nwndscon.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								c_clientlogin/xplatincl/nwndscon.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,70 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwndscon.h %
 | 
			
		||||
  %version: 9 %
 | 
			
		||||
  %date_modified: Tue Aug 29 17:19:36 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWNDSCON_H )
 | 
			
		||||
#define NWNDSCON_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define NWNDS_CONNECTION         0x0001
 | 
			
		||||
#define NWNDS_LICENSED           0x0002
 | 
			
		||||
#define NWNDS_AUTHENTICATED      0x0004
 | 
			
		||||
#define NWNDS_PACKET_BURST_AVAIL 0x0001
 | 
			
		||||
#define NWNDS_NEEDED_MAX_IO      0x0040
 | 
			
		||||
#define SYSTEM_LOCK              0x0
 | 
			
		||||
#define TASK_LOCK                0x4
 | 
			
		||||
#define SYSTEM_DISCONNECT        0x0
 | 
			
		||||
#define TASK_DISCONNECT          0x1
 | 
			
		||||
 | 
			
		||||
#define ALLREADY_ATTACHED        0x1
 | 
			
		||||
#define ATTACHED_NOT_AUTH        0X2
 | 
			
		||||
#define ATTACHED_AND_AUTH        0X4
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY (NWCCODE)
 | 
			
		||||
NWSetPreferredDSTree
 | 
			
		||||
(
 | 
			
		||||
   nuint16  length,
 | 
			
		||||
   pnuint8  treeName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
   }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_ndscon.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#endif /* NWNDSCON_H */
 | 
			
		||||
							
								
								
									
										110
									
								
								c_clientlogin/xplatincl/nwnet.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										110
									
								
								c_clientlogin/xplatincl/nwnet.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,110 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwnet.h %
 | 
			
		||||
  %version: 6 %
 | 
			
		||||
  %date_modified: Fri Nov 20 09:55:30 1998 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWNET_H )
 | 
			
		||||
#define NWNET_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSTYPE_H )
 | 
			
		||||
#include "nwdstype.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWALIAS_H )
 | 
			
		||||
#include "nwalias.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDEFS_H )
 | 
			
		||||
#include "nwdsdefs.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSERR_H )
 | 
			
		||||
#include "nwdserr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSNAME_H )
 | 
			
		||||
#include "nwdsname.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSFILT_H )
 | 
			
		||||
#include "nwdsfilt.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDC_H )
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSMISC_H )
 | 
			
		||||
#include "nwdsmisc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSACL_H )
 | 
			
		||||
#include "nwdsacl.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSAUD_H )
 | 
			
		||||
#include "nwdsaud.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSDSA_H )
 | 
			
		||||
#include "nwdsdsa.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSSCH_H )
 | 
			
		||||
#include "nwdssch.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSATTR_H )
 | 
			
		||||
#include "nwdsattr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSASA_H )
 | 
			
		||||
#include "nwdsasa.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSPART_H )
 | 
			
		||||
#include "nwdspart.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSBUFT_H )
 | 
			
		||||
#include "nwdsbuft.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSNMTP_H )
 | 
			
		||||
#include "nwdsnmtp.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NUNICODE_H )
 | 
			
		||||
#include "nunicode.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAUDIT_H )
 | 
			
		||||
#include "nwaudit.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWNDSCON_H )
 | 
			
		||||
#include "nwndscon.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWDSCONN_H )
 | 
			
		||||
#include "nwdsconn.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !defined( NWITR_H )
 | 
			
		||||
#include "nwitr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* NWNET_H */
 | 
			
		||||
							
								
								
									
										503
									
								
								c_clientlogin/xplatincl/nwprint.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										503
									
								
								c_clientlogin/xplatincl/nwprint.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,503 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwprint.h %
 | 
			
		||||
  %version: 6 %
 | 
			
		||||
  %date_modified: Wed Oct 20 10:33:30 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWPRINT_H )
 | 
			
		||||
#define NWPRINT_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define LPT1 1
 | 
			
		||||
#define LPT2 2
 | 
			
		||||
#define LPT3 3
 | 
			
		||||
#define LPT4 4
 | 
			
		||||
#define LPT5 5
 | 
			
		||||
#define LPT6 6
 | 
			
		||||
#define LPT7 7
 | 
			
		||||
#define LPT8 8
 | 
			
		||||
#define LPT9 9
 | 
			
		||||
 | 
			
		||||
#define START_CAPTURE             1
 | 
			
		||||
#define END_CAPTURE               2
 | 
			
		||||
#define CANCEL_CAPTURE            3
 | 
			
		||||
#define GET_PRINT_JOB_FLAGS       4
 | 
			
		||||
#define SET_PRINT_JOB_FLAGS       5
 | 
			
		||||
#define GET_BANNER_USER_NAME      6
 | 
			
		||||
#define SET_BANNER_USER_NAME      7
 | 
			
		||||
#define GET_PRINTER_SETUP_STRING  8
 | 
			
		||||
#define SET_PRINTER_SETUP_STRING  9
 | 
			
		||||
#define GET_PRINTER_RESET_STRING  10
 | 
			
		||||
#define SET_PRINTER_RESET_STRING  11
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  clientStation;
 | 
			
		||||
  nuint8  clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint16 jobNumber;
 | 
			
		||||
  nuint16 formType;
 | 
			
		||||
  nuint8  jobPosition;
 | 
			
		||||
  nuint8  jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint8  jobFileHandle[6];
 | 
			
		||||
  nuint8  servicingServerStation;
 | 
			
		||||
  nuint8  servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
  nuint8  jobDescription[50];
 | 
			
		||||
  nuint8  clientJobInfoVer;
 | 
			
		||||
  nuint8  tabSize;
 | 
			
		||||
  nuint16 numberCopies;
 | 
			
		||||
  nuint16 printFlags;
 | 
			
		||||
  nuint16 maxLines;
 | 
			
		||||
  nuint16 maxChars;
 | 
			
		||||
  nuint8  formName[16];
 | 
			
		||||
  nuint8  reserved[6];    /* must be set to zeros */
 | 
			
		||||
  nuint8  bannerUserName[13];
 | 
			
		||||
  nuint8  bannerFileName[13];
 | 
			
		||||
  nuint8  bannerHeaderFileName[14];
 | 
			
		||||
  nuint8  filePathName[80];
 | 
			
		||||
} PrintJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 clientStation;
 | 
			
		||||
  nuint32 clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint32 jobNumber;
 | 
			
		||||
  nuint16 formType;
 | 
			
		||||
  nuint16 jobPosition;
 | 
			
		||||
  nuint16 jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint32 jobFileHandle;
 | 
			
		||||
  nuint32 servicingServerStation;
 | 
			
		||||
  nuint32 servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
  nuint8  jobDescription[50];
 | 
			
		||||
  nuint8  clientJobInfoVer;
 | 
			
		||||
  nuint8  tabSize;
 | 
			
		||||
  nuint16 numberCopies;
 | 
			
		||||
  nuint16 printFlags;
 | 
			
		||||
  nuint16 maxLines;
 | 
			
		||||
  nuint16 maxChars;
 | 
			
		||||
  nuint8  formName[16];
 | 
			
		||||
  nuint8  reserved[6];      /* must be set to zeros */
 | 
			
		||||
  nuint8  bannerUserName[13];
 | 
			
		||||
  nuint8  bannerFileName[13];
 | 
			
		||||
  nuint8  bannerHeaderFileName[14];
 | 
			
		||||
  nuint8  filePathName[80];
 | 
			
		||||
} NWPrintJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct PRINTER_STATUS
 | 
			
		||||
{
 | 
			
		||||
  nuint8  printerHalted;
 | 
			
		||||
  nuint8  printerOffline;
 | 
			
		||||
  nuint8  currentFormType;
 | 
			
		||||
  nuint8  redirectedPrinter;
 | 
			
		||||
} PRINTER_STATUS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8    jobDescription[ 50 ];   /* OS/2, VLM only                         */
 | 
			
		||||
                                    /* VLM returns or sets only 12 characters */
 | 
			
		||||
                                    /* plus the NULL -- a total of 13 nuint8's   */
 | 
			
		||||
  nuint8    jobControlFlags;        /* OS/2, VLM only */
 | 
			
		||||
  nuint8    tabSize;
 | 
			
		||||
  nuint16   numCopies;
 | 
			
		||||
  nuint16   printFlags;
 | 
			
		||||
  nuint16   maxLines;
 | 
			
		||||
  nuint16   maxChars;
 | 
			
		||||
  nuint8    formName[ 13 ];
 | 
			
		||||
  nuint8    reserved[ 9 ];
 | 
			
		||||
  nuint16   formType;
 | 
			
		||||
  nuint8    bannerText[ 13 ];
 | 
			
		||||
  nuint8    reserved2;
 | 
			
		||||
  nuint16   flushCaptureTimeout;    /* DOS/WIN only */
 | 
			
		||||
  nuint8    flushCaptureOnClose;    /* DOS/WIN only */
 | 
			
		||||
} NWCAPTURE_FLAGSRW;
 | 
			
		||||
 | 
			
		||||
#define NWCAPTURE_FLAGS1 NWCAPTURE_FLAGSRW
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint32 queueID;
 | 
			
		||||
  nuint16 setupStringMaxLen;
 | 
			
		||||
  nuint16 resetStringMaxLen;
 | 
			
		||||
  nuint8  LPTCaptureFlag;         /* DOS/WIN only */
 | 
			
		||||
  nuint8  fileCaptureFlag;        /* DOS/WIN only */
 | 
			
		||||
  nuint8  timingOutFlag;          /* DOS/WIN only */
 | 
			
		||||
  nuint8  inProgress;             /* DOS/WIN only */
 | 
			
		||||
  nuint8  printQueueFlag;         /* DOS/WIN only */
 | 
			
		||||
  nuint8  printJobValid;          /* DOS/WIN only */
 | 
			
		||||
  nstr8   queueName[ 65 ];        /* VLM only     */
 | 
			
		||||
} NWCAPTURE_FLAGSRO;
 | 
			
		||||
 | 
			
		||||
#define NWCAPTURE_FLAGS2 NWCAPTURE_FLAGSRO
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 connRef;
 | 
			
		||||
  nuint32 queueID;
 | 
			
		||||
  nuint16 setupStringMaxLen;
 | 
			
		||||
  nuint16 resetStringMaxLen;
 | 
			
		||||
  nuint8  LPTCaptureFlag;         /* DOS/WIN only */
 | 
			
		||||
  nuint8  fileCaptureFlag;        /* DOS/WIN only */
 | 
			
		||||
  nuint8  timingOutFlag;          /* DOS/WIN only */
 | 
			
		||||
  nuint8  inProgress;             /* DOS/WIN only */
 | 
			
		||||
  nuint8  printQueueFlag;         /* DOS/WIN only */
 | 
			
		||||
  nuint8  printJobValid;          /* DOS/WIN only */
 | 
			
		||||
  nstr8   queueName[ 65 ];        /* VLM only     */
 | 
			
		||||
} NWCAPTURE_FLAGSRO3;
 | 
			
		||||
 | 
			
		||||
#define NWCAPTURE_FLAGS3 NWCAPTURE_FLAGSRO3
 | 
			
		||||
 | 
			
		||||
#ifdef N_PLAT_OS2
 | 
			
		||||
 | 
			
		||||
#define N_APIPIPE                 "\\PIPE\\NWSPOOL\\API"  /*IPC to API*/
 | 
			
		||||
#define NET_SPOOL_SEG             "\\sharemem\\nwspool\\seg1"
 | 
			
		||||
#define NET_SPOOL_SEM1            "\\sem\\nwspool\\sem1"
 | 
			
		||||
#define NET_SPOOL_SEM2            "\\sem\\nwspool\\sem2"
 | 
			
		||||
#define NET_SPOOL_SEM3            "\\sem\\nwspool\\sem3"
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32   targetServerID;
 | 
			
		||||
  nuint8    targetExecutionTime[6];
 | 
			
		||||
  nuint8    jobDescription[50];
 | 
			
		||||
  nuint8    jobControlFlags;
 | 
			
		||||
  nuint8    tabSize;
 | 
			
		||||
  nuint16   numberCopies;
 | 
			
		||||
  nuint16   printFlags;
 | 
			
		||||
  nuint16   maxLines;
 | 
			
		||||
  nuint16   maxChars;
 | 
			
		||||
  nuint8    formName[16];
 | 
			
		||||
  nuint8    reserved1[6];  /* must be set to zeros */
 | 
			
		||||
  nuint16   formType;
 | 
			
		||||
  nuint8    bannerFileName[13];
 | 
			
		||||
  nuint8    reserved2;    /* must be set to zero */
 | 
			
		||||
 | 
			
		||||
  /* The following fields can be gotten, but not set */
 | 
			
		||||
  NWCONN_HANDLE connID;
 | 
			
		||||
  nuint32   queueID;
 | 
			
		||||
  nuint16   setupStringMaxLength;
 | 
			
		||||
  nuint16   resetStringMaxLength;
 | 
			
		||||
} SpoolFlagsStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct _NWPipeStruct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 fwCommand;
 | 
			
		||||
  nuint16 idSession;
 | 
			
		||||
  nuint32 idQueue;
 | 
			
		||||
  nuint16 idConnection;
 | 
			
		||||
  nuint16 idDevice;
 | 
			
		||||
  nuint16 fwMode;
 | 
			
		||||
  nuint16 fwScope;
 | 
			
		||||
  nuint16 cbBufferLength;
 | 
			
		||||
  nuint8  fbValidBuffer;
 | 
			
		||||
  SpoolFlagsStruct  nwsSpoolFlags;
 | 
			
		||||
  nuint8  szBannerUserName[13];
 | 
			
		||||
  nuint16 rc;
 | 
			
		||||
} NWPipeStruct;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolGetPrintJobFlags
 | 
			
		||||
(
 | 
			
		||||
   nuint16     deviceID,
 | 
			
		||||
   SpoolFlagsStruct N_FAR * flagsBuffer,
 | 
			
		||||
   nuint16     mode,
 | 
			
		||||
   pnuint16    scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolSetPrintJobFlags
 | 
			
		||||
(
 | 
			
		||||
  nuint16      deviceID,
 | 
			
		||||
  SpoolFlagsStruct N_FAR * flagsBuffer,
 | 
			
		||||
  nuint16      unused
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolGetPrinterSetupString
 | 
			
		||||
(
 | 
			
		||||
  nuint16      deviceID,
 | 
			
		||||
  pnuint16     bufferLen,
 | 
			
		||||
  pnstr8       buffer,
 | 
			
		||||
  nuint16      mode,
 | 
			
		||||
  pnuint16     scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolSetPrinterSetupString
 | 
			
		||||
(
 | 
			
		||||
  nuint16      deviceID,
 | 
			
		||||
  nuint16      bufferLen,
 | 
			
		||||
  pnstr8       buffer,
 | 
			
		||||
  nuint16      scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolGetPrinterResetString
 | 
			
		||||
(
 | 
			
		||||
  nuint16      deviceID,
 | 
			
		||||
  pnuint16     bufferLen,
 | 
			
		||||
  pnstr8       buffer,
 | 
			
		||||
  nuint16      mode,
 | 
			
		||||
  pnuint16     scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolSetPrinterResetString
 | 
			
		||||
(
 | 
			
		||||
  nuint16      deviceID,
 | 
			
		||||
  nuint16      bufferLen,
 | 
			
		||||
  pnstr8       buffer,
 | 
			
		||||
  nuint16      scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  status;
 | 
			
		||||
  nuint8  flags;
 | 
			
		||||
  nuint8  tabSize;
 | 
			
		||||
  nuint8  serverPrinter;
 | 
			
		||||
  nuint8  numberCopies;
 | 
			
		||||
  nuint8  formType;
 | 
			
		||||
  nuint8  reserved;
 | 
			
		||||
  nuint8  bannerText[13];
 | 
			
		||||
  nuint8  reserved2;
 | 
			
		||||
  nuint8  localLPTDevice;
 | 
			
		||||
  nuint16 captureTimeOutCount;
 | 
			
		||||
  nuint8  captureOnDeviceClose;
 | 
			
		||||
} CaptureFlagsStruct;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPrinterDefaults
 | 
			
		||||
(
 | 
			
		||||
   pnuint8     status,
 | 
			
		||||
   pnuint8     flags,
 | 
			
		||||
   pnuint8     tabSize,
 | 
			
		||||
   pnuint8     serverPrinter,
 | 
			
		||||
   pnuint8     numberCopies,
 | 
			
		||||
   pnuint8     formType,
 | 
			
		||||
   pnstr8      bannerText,
 | 
			
		||||
   pnuint8     localLPTDevice,
 | 
			
		||||
   pnuint16    captureTimeOutCount,
 | 
			
		||||
   pnuint8     captureOnDeviceClose
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetPrinterDefaults
 | 
			
		||||
(
 | 
			
		||||
   nuint8      flags,
 | 
			
		||||
   nuint8      tabSize,
 | 
			
		||||
   nuint8      serverPrinter,
 | 
			
		||||
   nuint8      numberCopies,
 | 
			
		||||
   nuint8      formType,
 | 
			
		||||
   pnstr8      bannerText,
 | 
			
		||||
   nuint8      localLPTDevice,
 | 
			
		||||
   nuint16     captureTimeOutCount,
 | 
			
		||||
   nuint8      captureOnDeviceClose
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWStartLPTCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint16     deviceID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetLPTCaptureStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolStartCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint16        deviceID,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolEndCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint16        deviceID,
 | 
			
		||||
   nuint16        scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolCancelCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint16        deviceID,
 | 
			
		||||
   nuint16        scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolGetBannerUserName
 | 
			
		||||
(
 | 
			
		||||
   pnstr8         username,
 | 
			
		||||
   nuint16        mode,
 | 
			
		||||
   pnuint16       scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSpoolSetBannerUserName
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 N_FAR * username,
 | 
			
		||||
   nuint16             scope
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPrinterStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        printerNumber,
 | 
			
		||||
   PRINTER_STATUS N_FAR * status
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWStartQueueCapture
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   nuint8              LPTDevice,
 | 
			
		||||
   nuint32             queueID,
 | 
			
		||||
   const nstr8 N_FAR * queueName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetCaptureStatus
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFlushCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWEndCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCancelCapture
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetBannerUserName
 | 
			
		||||
(
 | 
			
		||||
   pnstr8         userName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetBannerUserName
 | 
			
		||||
(
 | 
			
		||||
   const nstr8 N_FAR * userName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetCaptureFlags
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice,
 | 
			
		||||
   NWCAPTURE_FLAGS1 N_FAR * captureFlags1,
 | 
			
		||||
   NWCAPTURE_FLAGS2 N_FAR * captureFlags2
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetCaptureFlagsConnRef
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice,
 | 
			
		||||
   NWCAPTURE_FLAGS1 N_FAR * captureFlags1,
 | 
			
		||||
   NWCAPTURE_FLAGS3 N_FAR * captureFlags3
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetCaptureFlags
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE                  conn,
 | 
			
		||||
   nuint8                         LPTDevice,
 | 
			
		||||
   const NWCAPTURE_FLAGS1 N_FAR * captureFlags1
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPrinterStrings
 | 
			
		||||
(
 | 
			
		||||
   nuint8         LPTDevice,
 | 
			
		||||
   pnuint16       setupStringLen,
 | 
			
		||||
   pnstr8         setupString,
 | 
			
		||||
   pnuint16       resetStringLen,
 | 
			
		||||
   pnstr8         resetString
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetPrinterStrings
 | 
			
		||||
(
 | 
			
		||||
   nuint8              LPTDevice,
 | 
			
		||||
   nuint16             setupStringLen,
 | 
			
		||||
   const nstr8 N_FAR * setupString,
 | 
			
		||||
   nuint16             resetStringLen,
 | 
			
		||||
   const nstr8 N_FAR * resetString
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetMaxPrinters
 | 
			
		||||
(
 | 
			
		||||
   pnuint16       numPrinters
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_print.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										502
									
								
								c_clientlogin/xplatincl/nwqms.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										502
									
								
								c_clientlogin/xplatincl/nwqms.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,502 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwqms.h %
 | 
			
		||||
  %version: 5 %
 | 
			
		||||
  %date_modified: Fri Oct 15 11:31:46 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWQMS_H )
 | 
			
		||||
#define NWQMS_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define QF_AUTO_START          0x08
 | 
			
		||||
#define QF_ENTRY_RESTART       0x10
 | 
			
		||||
#define QF_ENTRY_OPEN          0x20
 | 
			
		||||
#define QF_USER_HOLD           0x40
 | 
			
		||||
#define QF_OPERATOR_HOLD       0x80
 | 
			
		||||
 | 
			
		||||
#define QS_CANT_ADD_JOBS       0x01
 | 
			
		||||
#define QS_SERVERS_CANT_ATTACH 0x02
 | 
			
		||||
#define QS_CANT_SERVICE_JOBS   0x04
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
This struct is taken from NLM platform in the nwqueue.h file.  This
 | 
			
		||||
structure is the format for a print queue only.  Other queue types
 | 
			
		||||
might have different structures.  Used with the clientRecordArea field
 | 
			
		||||
in some of the structures listed below.
 | 
			
		||||
*/
 | 
			
		||||
typedef struct 
 | 
			
		||||
{
 | 
			
		||||
nuint8	versionNumber;
 | 
			
		||||
nuint8  tabSize;
 | 
			
		||||
nuint16 numberOfCopies;
 | 
			
		||||
nuint16 printControlFlags;
 | 
			
		||||
nuint16 maxLinesPerPage;
 | 
			
		||||
nuint16 maxCharsPerLine;
 | 
			
		||||
nuint8  formName[13];
 | 
			
		||||
nuint8  reserve[9];
 | 
			
		||||
nuint8  bannerNameField[13];
 | 
			
		||||
nuint8  bannerFileField[13];
 | 
			
		||||
nuint8  bannerFileName[14];
 | 
			
		||||
nuint8  directoryPath[80];
 | 
			
		||||
} QueuePrintJobStruct;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  clientStation;
 | 
			
		||||
  nuint8  clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint16 jobNumber;
 | 
			
		||||
  nuint16 jobType;
 | 
			
		||||
  nuint8  jobPosition;
 | 
			
		||||
  nuint8  jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint8  jobFileHandle[6];
 | 
			
		||||
  nuint8  servicingServerStation;
 | 
			
		||||
  nuint8  servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
  nuint8  jobDescription[50];
 | 
			
		||||
  nuint8  clientRecordArea[152];
 | 
			
		||||
} QueueJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  clientStation;
 | 
			
		||||
  nuint8  clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint16 jobNumber;
 | 
			
		||||
  nuint16 jobType;
 | 
			
		||||
  nuint8  jobPosition;
 | 
			
		||||
  nuint8  jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint8  jobFileHandle[6];
 | 
			
		||||
  nuint8  servicingServerStation;
 | 
			
		||||
  nuint8  servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
} ReplyJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 clientStation;
 | 
			
		||||
  nuint32 clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint32 jobNumber;
 | 
			
		||||
  nuint16 jobType;
 | 
			
		||||
  nuint16 jobPosition;
 | 
			
		||||
  nuint16 jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint32 jobFileHandle;
 | 
			
		||||
  nuint32 servicingServerStation;
 | 
			
		||||
  nuint32 servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
  nuint8  jobDescription[50];
 | 
			
		||||
  nuint8  clientRecordArea[152];
 | 
			
		||||
} NWQueueJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 clientStation;
 | 
			
		||||
  nuint32 clientTask;
 | 
			
		||||
  nuint32 clientID;
 | 
			
		||||
  nuint32 targetServerID;
 | 
			
		||||
  nuint8  targetExecutionTime[6];
 | 
			
		||||
  nuint8  jobEntryTime[6];
 | 
			
		||||
  nuint32 jobNumber;
 | 
			
		||||
  nuint16 jobType;
 | 
			
		||||
  nuint16 jobPosition;
 | 
			
		||||
  nuint16 jobControlFlags;
 | 
			
		||||
  nuint8  jobFileName[14];
 | 
			
		||||
  nuint32 jobFileHandle;
 | 
			
		||||
  nuint32 servicingServerStation;
 | 
			
		||||
  nuint32 servicingServerTask;
 | 
			
		||||
  nuint32 servicingServerID;
 | 
			
		||||
} NWReplyJobStruct;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 totalQueueJobs;
 | 
			
		||||
  nuint32 replyQueueJobNumbers;
 | 
			
		||||
  nuint32 jobNumberList[250];   /* 250 to hold job #'s for old NCP*/
 | 
			
		||||
} QueueJobListReply;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateQueueFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   QueueJobStruct N_FAR * job,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateQueueFile2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   NWQueueJobStruct N_FAR * job,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseFileAndStartQueueJob
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseFileAndStartQueueJob2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseFileAndAbortQueueJob
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseFileAndAbortQueueJob2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRemoveJobFromQueue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRemoveJobFromQueue2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetQueueJobList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   pnuint16       jobCount,
 | 
			
		||||
   pnuint16       jobList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetQueueJobList2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        queueStartPos,
 | 
			
		||||
   QueueJobListReply N_FAR * job
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueJobEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   QueueJobStruct N_FAR * job
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueJobEntry2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   NWQueueJobStruct N_FAR * job
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetQueueJobFileSize
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   pnuint32       fileSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetQueueJobFileSize2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   pnuint32       fileSize
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeQueueJobEntry
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE                conn,
 | 
			
		||||
   nuint32                      queueID,
 | 
			
		||||
   const QueueJobStruct N_FAR * job
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeQueueJobEntry2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE                  conn,
 | 
			
		||||
   nuint32                        queueID,
 | 
			
		||||
   const NWQueueJobStruct N_FAR * job
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeQueueJobPosition
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   nuint8         newJobPos
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeQueueJobPosition2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   nuint32        newJobPos
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWServiceQueueJob
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        targetJobType,
 | 
			
		||||
   QueueJobStruct N_FAR * job,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWServiceQueueJob2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        targetJobType,
 | 
			
		||||
   NWQueueJobStruct N_FAR * job,
 | 
			
		||||
   NWFILE_HANDLE N_FAR * fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAbortServicingQueueJob
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        QueueID,
 | 
			
		||||
   nuint16        JobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAbortServicingQueueJob2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        QueueID,
 | 
			
		||||
   nuint32        JobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeToClientRights
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWChangeToClientRights2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFinishServicingQueueJob
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint16        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWFinishServicingQueueJob2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        jobNumber,
 | 
			
		||||
   NWFILE_HANDLE  fileHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetPrinterQueueID
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        printerNum,
 | 
			
		||||
   pnuint32       queueID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCreateQueue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         queueName,
 | 
			
		||||
   nuint16        queueType,
 | 
			
		||||
   nuint8         dirPath,
 | 
			
		||||
   pnstr8         path,
 | 
			
		||||
   pnuint32       queueID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDestroyQueue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueCurrentStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   pnuint8        queueStatus,
 | 
			
		||||
   pnuint16       numberOfJobs,
 | 
			
		||||
   pnuint16       numberOfServers,
 | 
			
		||||
   pnuint32       serverIDlist,
 | 
			
		||||
   pnuint16       serverConnList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueCurrentStatus2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   pnuint32       queueStatus,
 | 
			
		||||
   pnuint32       numberOfJobs,
 | 
			
		||||
   pnuint32       numberOfServers,
 | 
			
		||||
   pnuint32       serverIDlist,
 | 
			
		||||
   pnuint32       serverConnList
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetQueueCurrentStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint8         queueStatus
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetQueueCurrentStatus2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        queueStatus
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueServerCurrentStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        serverID,
 | 
			
		||||
   nuint16        serverConn,
 | 
			
		||||
   nptr           statusRec
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWReadQueueServerCurrentStatus2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID,
 | 
			
		||||
   nuint32        serverID,
 | 
			
		||||
   nuint32        serverConn,
 | 
			
		||||
   nptr           statusRec
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAttachQueueServerToQueue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDetachQueueServerFromQueue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        queueID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRestoreQueueServerRights
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetQueueServerCurrentStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE      conn,
 | 
			
		||||
   nuint32            queueID,
 | 
			
		||||
   const void N_FAR * statusRec
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										115
									
								
								c_clientlogin/xplatincl/nwredir.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								c_clientlogin/xplatincl/nwredir.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,115 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwredir.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:09:08 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWREDIR_H )
 | 
			
		||||
#define NWREDIR_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !defined(NWOS2) || !defined(WIN32)
 | 
			
		||||
 | 
			
		||||
#ifndef REDIR_SIGNATURE
 | 
			
		||||
#define REDIR_SIGNATURE 'WN'
 | 
			
		||||
 | 
			
		||||
typedef struct tNW_REDIR_ENTRY
 | 
			
		||||
{
 | 
			
		||||
  nuint16 index;
 | 
			
		||||
  nuint8  deviceStatus;
 | 
			
		||||
  nuint8  deviceType;
 | 
			
		||||
  nuint16 storedValue;
 | 
			
		||||
  nstr8   localName[16];
 | 
			
		||||
  nstr8   networkName[128];
 | 
			
		||||
} NW_REDIR_ENTRY;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* obsolete
 | 
			
		||||
NWCCODE N_API NWRedirLogin
 | 
			
		||||
(
 | 
			
		||||
   pnstr8 pbstrServerName,
 | 
			
		||||
   pnstr8 pbstrUserName,
 | 
			
		||||
   pnstr8 pbstrPassword
 | 
			
		||||
);
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRedirLogout
 | 
			
		||||
(
 | 
			
		||||
   pnstr8 pbstrServerName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRedirectDevice
 | 
			
		||||
(
 | 
			
		||||
   pnstr8 pbstrUNCPath,
 | 
			
		||||
   nuint8 buDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCancelRedirection
 | 
			
		||||
(
 | 
			
		||||
   nuint8 buDevice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetRedirectionEntry
 | 
			
		||||
(
 | 
			
		||||
   NW_REDIR_ENTRY N_FAR * entry
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParseUNCPath
 | 
			
		||||
(
 | 
			
		||||
   pnstr8   pbstrUNCPath,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * conn,
 | 
			
		||||
   pnstr8   pbstrServerName,
 | 
			
		||||
   pnstr8   pbstrVolName,
 | 
			
		||||
   pnstr8   pbstrPath,
 | 
			
		||||
   pnstr8   pbstrNWPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWParseUNCPathConnRef
 | 
			
		||||
(
 | 
			
		||||
   pnstr8   pbstrUNCPath,
 | 
			
		||||
   pnuint32 pluConnRef,
 | 
			
		||||
   pnstr8   pbstrServerName,
 | 
			
		||||
   pnstr8   pbstrVolName,
 | 
			
		||||
   pnstr8   pbstrPath,
 | 
			
		||||
   pnstr8   pbstrNWPath
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif   /* NWREDIR_H */
 | 
			
		||||
							
								
								
									
										286
									
								
								c_clientlogin/xplatincl/nwserver.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										286
									
								
								c_clientlogin/xplatincl/nwserver.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,286 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwserver.h %
 | 
			
		||||
  %version: 9 %
 | 
			
		||||
  %date_modified: Tue Aug 29 18:44:54 2000 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1996 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWSERVER_H )
 | 
			
		||||
#define NWSERVER_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define LNS_CHECK 0
 | 
			
		||||
 | 
			
		||||
#ifndef NW_SHORT_NAME_SERVER
 | 
			
		||||
# define NW_SHORT_NAME_SERVER 0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_LONG_NAME_SERVER
 | 
			
		||||
#define NW_LONG_NAME_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_ENCP_SERVER
 | 
			
		||||
#define NW_ENCP_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NW_EXTENDED_NCP_SERVER
 | 
			
		||||
#define NW_EXTENDED_NCP_SERVER 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define VERSION_CHECK 1
 | 
			
		||||
# define NW_2X  0
 | 
			
		||||
# define NW_30  1
 | 
			
		||||
# define NW_311 2
 | 
			
		||||
# define NW_32  3
 | 
			
		||||
# define NW_40  4
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint8  serverName[48];
 | 
			
		||||
   nuint8  fileServiceVersion;
 | 
			
		||||
   nuint8  fileServiceSubVersion;
 | 
			
		||||
   nuint16 maximumServiceConnections;
 | 
			
		||||
   nuint16 connectionsInUse;
 | 
			
		||||
   nuint16 maxNumberVolumes;
 | 
			
		||||
   nuint8  revision;
 | 
			
		||||
   nuint8  SFTLevel;
 | 
			
		||||
   nuint8  TTSLevel;
 | 
			
		||||
   nuint16 maxConnectionsEverUsed;
 | 
			
		||||
   nuint8  accountVersion;
 | 
			
		||||
   nuint8  VAPVersion;
 | 
			
		||||
   nuint8  queueVersion;
 | 
			
		||||
   nuint8  printVersion;
 | 
			
		||||
   nuint8  virtualConsoleVersion;
 | 
			
		||||
   nuint8  restrictionLevel;
 | 
			
		||||
   nuint8  internetBridge;
 | 
			
		||||
   nuint8  reserved[60];
 | 
			
		||||
}  VERSION_INFO;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
   nuint16 majorVersion;
 | 
			
		||||
   nuint16 minorVersion;
 | 
			
		||||
   nuint16 revision;
 | 
			
		||||
}  NETWARE_PRODUCT_VERSION;
 | 
			
		||||
 | 
			
		||||
/* Defines that are used for the NWCheckNetWareVersion call for values
 | 
			
		||||
   that can be returned in the compatibilityFlag nuint8.  */
 | 
			
		||||
#define COMPATIBLE               0x00
 | 
			
		||||
#define VERSION_NUMBER_TOO_LOW   0x01
 | 
			
		||||
#define SFT_LEVEL_TOO_LOW        0x02
 | 
			
		||||
#define TTS_LEVEL_TOO_LOW        0x04
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCheckConsolePrivileges
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDownFileServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         forceFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerDateAndTime
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        dateTimeBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetFileServerDateAndTime
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         year,
 | 
			
		||||
   nuint8         month,
 | 
			
		||||
   nuint8         day,
 | 
			
		||||
   nuint8         hour,
 | 
			
		||||
   nuint8         minute,
 | 
			
		||||
   nuint8         second
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCheckNetWareVersion
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        minVer,
 | 
			
		||||
   nuint16        minSubVer,
 | 
			
		||||
   nuint16        minRev,
 | 
			
		||||
   nuint16        minSFT,
 | 
			
		||||
   nuint16        minTTS,
 | 
			
		||||
   pnuint8        compatibilityFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerVersionInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   VERSION_INFO N_FAR * versBuffer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNetWareProductVersion
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   NETWARE_PRODUCT_VERSION N_FAR * version
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerInformation
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         serverName,
 | 
			
		||||
   pnuint8        majorVer,
 | 
			
		||||
   pnuint8        minVer,
 | 
			
		||||
   pnuint8        rev,
 | 
			
		||||
   pnuint16       maxConns,
 | 
			
		||||
   pnuint16       maxConnsUsed,
 | 
			
		||||
   pnuint16       connsInUse,
 | 
			
		||||
   pnuint16       numVolumes,
 | 
			
		||||
   pnuint8        SFTLevel,
 | 
			
		||||
   pnuint8        TTSLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerExtendedInfo
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        accountingVer,
 | 
			
		||||
   pnuint8        VAPVer,
 | 
			
		||||
   pnuint8        queueingVer,
 | 
			
		||||
   pnuint8        printServerVer,
 | 
			
		||||
   pnuint8        virtualConsoleVer,
 | 
			
		||||
   pnuint8        securityVer,
 | 
			
		||||
   pnuint8        internetBridgeVer
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
_NWGetFileServerType
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint16        typeFlag,
 | 
			
		||||
   pnuint16       serverType
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAttachToFileServer
 | 
			
		||||
(
 | 
			
		||||
   const nstr8   N_FAR * serverName,
 | 
			
		||||
   nuint16               scopeFlag,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * newConnID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerLoginStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        loginEnabledFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLogoutFromFileServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLoginToFileServer
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * objName,
 | 
			
		||||
   nuint16             objType,
 | 
			
		||||
   const nstr8 N_FAR * password
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWEnableFileServerLogin
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDisableFileServerLogin
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetFileServerDescription
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnstr8         companyName,
 | 
			
		||||
   pnstr8         revision,
 | 
			
		||||
   pnstr8         revisionDate,
 | 
			
		||||
   pnstr8         copyrightNotice
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWAttachToFileServerByConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   const nstr8   N_FAR * serverName,
 | 
			
		||||
   nuint16               scopeFlag,
 | 
			
		||||
   NWCONN_HANDLE N_FAR * newConnID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetNetworkSerialNumber
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       serialNum,
 | 
			
		||||
   pnuint16       appNum
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWIsManager
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef NWOS2
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWLogoutWithLoginID
 | 
			
		||||
(
 | 
			
		||||
   nuint32        citrixLoginID
 | 
			
		||||
);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
   /* The NLM LibC x-plat libraries do not support obsolete apis
 | 
			
		||||
   */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#if !defined(__NOVELL_LIBC__)
 | 
			
		||||
   #ifdef INCLUDE_OBSOLETE
 | 
			
		||||
      #include "obsolete/o_server.h"
 | 
			
		||||
   #endif
 | 
			
		||||
#endif /* !defined(__NOVELL_LIBC__) */
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										140
									
								
								c_clientlogin/xplatincl/nwsm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										140
									
								
								c_clientlogin/xplatincl/nwsm.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,140 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwsm.h %
 | 
			
		||||
  %version: 5 %
 | 
			
		||||
  %date_modified: Mon Oct 18 11:01:32 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1996 Novell, Inc.  All Rights Reserved.
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#if ! defined ( NWSM_H )
 | 
			
		||||
#define NWSM_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#include "nwapidef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWNAMSPC_H )
 | 
			
		||||
#include "nwnamspc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define LOAD_COULD_NOT_FIND_FILE            1
 | 
			
		||||
#define LOAD_ERROR_READING_FILE             2
 | 
			
		||||
#define LOAD_NOT_NLM_FILE_FORMAT            3
 | 
			
		||||
#define LOAD_WRONG_NLM_FILE_VERSION         4
 | 
			
		||||
#define LOAD_REENTRANT_INITIALIZE_FAILURE   5
 | 
			
		||||
#define LOAD_CAN_NOT_LOAD_MULTIPLE_COPIES   6
 | 
			
		||||
#define LOAD_ALREADY_IN_PROGRESS            7
 | 
			
		||||
#define LOAD_NOT_ENOUGH_MEMORY              8
 | 
			
		||||
#define LOAD_INITIALIZE_FAILURE             9
 | 
			
		||||
#define LOAD_INCONSISTENT_FILE_FORMAT       10
 | 
			
		||||
#define LOAD_CAN_NOT_LOAD_AT_STARTUP        11
 | 
			
		||||
#define LOAD_AUTO_LOAD_MODULES_NOT_LOADED   12
 | 
			
		||||
#define LOAD_UNRESOLVED_EXTERNAL            13
 | 
			
		||||
#define LOAD_PUBLIC_ALREADY_DEFINED         14
 | 
			
		||||
#define LOAD_XDC_DATA_ERROR                 15
 | 
			
		||||
#define LOAD_NOT_OS_DOMAIN                  16
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMLoadNLM
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * loadCommand
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMLoadNLM2
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * loadCommand,
 | 
			
		||||
   pnuint32            loadNLMReturnCode
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMUnloadNLM
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * NLMName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMMountVolume
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * volumeName,
 | 
			
		||||
   pnuint32            volumeNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMDismountVolumeByNumber
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   nuint16           volumeNumber
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMDismountVolumeByName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * volumeName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMAddNSToVolume
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE     connHandle,
 | 
			
		||||
   nuint16           volNumber,
 | 
			
		||||
   nuint8            namspc
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMSetDynamicCmdStrValue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * setCommandName,
 | 
			
		||||
   const nstr8 N_FAR * cmdValue
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMSetDynamicCmdIntValue
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * setCommandName,
 | 
			
		||||
   nuint32             cmdValue
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSMExecuteNCFFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       connHandle,
 | 
			
		||||
   const nstr8 N_FAR * NCFFileName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										202
									
								
								c_clientlogin/xplatincl/nwssdefs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										202
									
								
								c_clientlogin/xplatincl/nwssdefs.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,202 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwssdefs.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:09:20 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1996 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
#ifndef  NWSSDEFS_H
 | 
			
		||||
#define  NWSSDEFS_H
 | 
			
		||||
 | 
			
		||||
#ifndef NTYPES_H
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWDSDEFS_H
 | 
			
		||||
#include "nwdsdefs.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWDSDC_H
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef NWDSDC_H
 | 
			
		||||
#include "nwdsdc.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef __NWDSERR_H
 | 
			
		||||
#include "nwdserr.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* ##################### DECLARATIONS START HERE ######################### */
 | 
			
		||||
 | 
			
		||||
#define  NWSS_GLOBAL_RCODE    N_EXTERN_LIBRARY(NWRCODE)
 | 
			
		||||
 | 
			
		||||
/* ############################## ERROR CODES ############################ */
 | 
			
		||||
 | 
			
		||||
#define     NWSS_SUCCESS                     0x00000000     /*    0 */
 | 
			
		||||
#define     NWSS_ERR_BAD_HANDLE              0xFFFFFCE0     /* -800 */
 | 
			
		||||
#define     NWSS_ERR_ENCODING_ASN1ID         0xFFFFFCDF     /* -801 */
 | 
			
		||||
#define     NWSS_ERR_INVALID_APP             0xFFFFFCDE     /* -802 */
 | 
			
		||||
#define     NWSS_ERR_APP_EXISTS              0xFFFFFCDD     /* -803 */
 | 
			
		||||
#define     NWSS_ERR_ACCESS_DENIED           0xFFFFFCDC     /* -804 */
 | 
			
		||||
#define     NWSS_ERR_OBJ_READ_FAILED         0xFFFFFCDB     /* -805 */
 | 
			
		||||
#define     NWSS_ERR_KEYCHAIN_EXISTS         0xFFFFFCDA     /* -806 */
 | 
			
		||||
#define     NWSS_ERR_CMC_FAILURE             0xFFFFFCD9     /* -807 */
 | 
			
		||||
#define     NWSS_ERR_INVALID_KEYCHAIN        0xFFFFFCD8     /* -808 */
 | 
			
		||||
#define     NWSS_ERR_SHORT_ASN1ID            0xFFFFFCD7     /* -809 */
 | 
			
		||||
#define     NWSS_ERR_ID_EXISTS               0xFFFFFCD6     /* -810 */
 | 
			
		||||
#define     NWSS_ERR_INVALID_USER_ID         0xFFFFFCD5     /* -811 */
 | 
			
		||||
#define     NWSS_ERR_HANDLE_ALLOC_FAILED     0xFFFFFCD4     /* -812 */
 | 
			
		||||
#define     NWSS_ERR_NOT_LOGGED_IN           0xFFFFFCD3     /* -813 */
 | 
			
		||||
#define     NWSS_ERR_ALREADY_REVOKED         0xFFFFFCD2     /* -814 */
 | 
			
		||||
#define     NWSS_ERR_SECRET_ALREADY_EXIST    0xFFFFFCD1     /* -815 */
 | 
			
		||||
#define     NWSS_ERR_ILLEGAL_PASSWORD        0xFFFFFCD0     /* -816 */
 | 
			
		||||
#define     NWSS_ERR_WRONG_VERSION           0xFFFFFCCF     /* -817 */
 | 
			
		||||
#define     NWSS_ERR_POLICY_RES_FAILED       0xFFFFFCCE     /* -818 */
 | 
			
		||||
#define     NWSS_ERR_TTS_DISABLED            0xFFFFFCCD     /* -819 */
 | 
			
		||||
#define     NWSS_ERR_NO_NDS_CONTEXT          0xFFFFFCCC     /* -820 */
 | 
			
		||||
#define     NWSS_ERR_KC_SCHEMA_EXT_FAILED    0xFFFFFCCB     /* -821 */
 | 
			
		||||
#define     NWSS_ERR_APP_SCHEMA_EXT_FAILED   0xFFFFFCCA     /* -822 */
 | 
			
		||||
#define     NWSS_ERR_MEM_ALLOC_FAILED        0xFFFFFCC9     /* -823 */
 | 
			
		||||
#define     NWSS_ERR_OBJ_CREATION_FAILED     0xFFFFFCC8     /* -824 */
 | 
			
		||||
#define     NWSS_ERR_BAD_POINTER             0xFFFFFCC7     /* -825 */
 | 
			
		||||
#define     NWSS_ERR_OBJ_MODIFY_FAILED       0xFFFFFCC6     /* -826 */
 | 
			
		||||
#define     NWSS_ERR_CANT_REMOVE_KC          0xFFFFFCC5     /* -827 */
 | 
			
		||||
#define     NWSS_ERR_ASN1ID_NOT_EQUAL        0xFFFFFCC4     /* -828 */
 | 
			
		||||
 | 
			
		||||
/* ########################### FLAG DEFINITIONS ######################### */
 | 
			
		||||
 | 
			
		||||
/* application flags */
 | 
			
		||||
#define  SS_APP_ENABLED_C     0x0001
 | 
			
		||||
 | 
			
		||||
/* Secret Store Application flags */
 | 
			
		||||
#define  SS_MODIFYENABLED_C   0x0001
 | 
			
		||||
 | 
			
		||||
/* ########################### STRUCTURED DEFINITIONS ######################### */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* String and Data type */
 | 
			
		||||
typedef  struct   _ss_string_type
 | 
			
		||||
{
 | 
			
		||||
   nuint16              length;
 | 
			
		||||
   nuint8               *dataByte;
 | 
			
		||||
} SS_Data_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Distinguished name type */
 | 
			
		||||
typedef  nuint8            SS_DN_T;
 | 
			
		||||
 | 
			
		||||
/* Case Ignore String */
 | 
			
		||||
typedef  SS_Data_T         SS_String_T;
 | 
			
		||||
 | 
			
		||||
/* Application User ID */
 | 
			
		||||
typedef  SS_Data_T         SS_AppUID_T;
 | 
			
		||||
 | 
			
		||||
/* Application Secrets Contents */
 | 
			
		||||
typedef  SS_Data_T         SS_AppSC_T;
 | 
			
		||||
 | 
			
		||||
/* ASN1 ID */
 | 
			
		||||
typedef  SS_Data_T         SS_ASN1ID_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* User Name List */
 | 
			
		||||
typedef  struct   _ss_app_uid_list
 | 
			
		||||
{
 | 
			
		||||
   nuint16                 userCount;
 | 
			
		||||
   SS_AppUID_T       N_FAR *userID[MAX_RDN_BYTES];
 | 
			
		||||
} SS_AppUIDList_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Keychain List */
 | 
			
		||||
typedef  struct   _ss_keychain_list
 | 
			
		||||
{
 | 
			
		||||
   SS_DN_T                 appName[MAX_DN_BYTES];
 | 
			
		||||
   nuint16                 kcDNCount;
 | 
			
		||||
   SS_DN_T           N_FAR *kcDN[MAX_DN_BYTES];
 | 
			
		||||
} SS_KeychainList_T;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* ########################## FUNCTION PROTOTYPES ######################### */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/******************************************************************
 | 
			
		||||
 ************************** ENABLING APIS *************************
 | 
			
		||||
 ******************************************************************/
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSOpenSecretStore
 | 
			
		||||
(
 | 
			
		||||
   nuint32           N_FAR *ssHandle,
 | 
			
		||||
   SS_DN_T           N_FAR *owner,
 | 
			
		||||
   SS_ASN1ID_T       N_FAR *appID,
 | 
			
		||||
   SS_KeychainList_T N_FAR *kcDN,
 | 
			
		||||
   SS_AppUIDList_T   N_FAR *appUID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSCloseSecretStore
 | 
			
		||||
(
 | 
			
		||||
   nuint32                 ssHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSAppUserLogin
 | 
			
		||||
(
 | 
			
		||||
   nuint32                 ssHandle,
 | 
			
		||||
   nuint16           N_FAR *flags,
 | 
			
		||||
   SS_DN_T           N_FAR *appDN,
 | 
			
		||||
   SS_DN_T           N_FAR *kcDN,
 | 
			
		||||
   SS_AppUID_T       N_FAR *userID,
 | 
			
		||||
   SS_AppSC_T        N_FAR *appSecrets
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSSaveAppSecretsOnKeychain
 | 
			
		||||
(
 | 
			
		||||
   nuint32                 ssHandle,
 | 
			
		||||
   SS_DN_T           N_FAR *appDN,
 | 
			
		||||
   SS_DN_T           N_FAR *kcDN,
 | 
			
		||||
   SS_AppUID_T       N_FAR *userID,
 | 
			
		||||
   SS_AppSC_T        N_FAR *appSecrets
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSRevokeKeychain
 | 
			
		||||
(
 | 
			
		||||
   nuint32                 ssHandle,
 | 
			
		||||
   SS_DN_T           N_FAR *kcDN
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSEncodeAppASN1ID
 | 
			
		||||
(
 | 
			
		||||
   nuint16           N_FAR *oid,
 | 
			
		||||
   SS_ASN1ID_T       N_FAR *appID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
NWSS_GLOBAL_RCODE NWSSSetDefaultAppUserID
 | 
			
		||||
(
 | 
			
		||||
   nuint32                 ssHandle,
 | 
			
		||||
   SS_DN_T           N_FAR *owner,
 | 
			
		||||
   SS_KeychainList_T N_FAR *kcDN,
 | 
			
		||||
   SS_AppUIDList_T   N_FAR *userID
 | 
			
		||||
);
 | 
			
		||||
/* ########################## CODE ENDS HERE ##################### */
 | 
			
		||||
 | 
			
		||||
#endif /* NWSSDEFS_H */
 | 
			
		||||
							
								
								
									
										249
									
								
								c_clientlogin/xplatincl/nwsync.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										249
									
								
								c_clientlogin/xplatincl/nwsync.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,249 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwsync.h %
 | 
			
		||||
  %version: 5 %
 | 
			
		||||
  %date_modified: Tue Oct 19 15:48:50 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWSYNC_H )
 | 
			
		||||
#define NWSYNC_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 connNumber;
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
  nuint8  lockStatus;
 | 
			
		||||
} LOGICAL_LOCK;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 useCount;
 | 
			
		||||
  nuint16 shareableLockCount;
 | 
			
		||||
  nuint8  locked;
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 numRecords;
 | 
			
		||||
  LOGICAL_LOCK logicalLock[128];
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
} LOGICAL_LOCKS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
  nuint8  lockStatus;
 | 
			
		||||
  nstr8   logicalName[128];
 | 
			
		||||
} CONN_LOGICAL_LOCK;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 numRecords;
 | 
			
		||||
  nuint8  records[508];
 | 
			
		||||
  nuint16 curOffset;
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
} CONN_LOGICAL_LOCKS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 loggedCount;
 | 
			
		||||
  nuint16 shareableLockCount;
 | 
			
		||||
  nuint32 recordStart;
 | 
			
		||||
  nuint32 recordEnd;
 | 
			
		||||
  nuint16 connNumber;
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
  nuint8  lockType;
 | 
			
		||||
} PHYSICAL_LOCK;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 numRecords;
 | 
			
		||||
  PHYSICAL_LOCK locks[32];
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
  nuint8  reserved[8];
 | 
			
		||||
} PHYSICAL_LOCKS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
  nuint8  lockType;
 | 
			
		||||
  nuint32 recordStart;
 | 
			
		||||
  nuint32 recordEnd;
 | 
			
		||||
} CONN_PHYSICAL_LOCK;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 numRecords;
 | 
			
		||||
  CONN_PHYSICAL_LOCK locks[51];
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
  nuint8  reserved[22];
 | 
			
		||||
} CONN_PHYSICAL_LOCKS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 connNumber;
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
} SEMAPHORE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 openCount;
 | 
			
		||||
  nuint16 semaphoreValue;
 | 
			
		||||
  nuint16 semaphoreCount;
 | 
			
		||||
  SEMAPHORE semaphores[170];
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
} SEMAPHORES;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 openCount;
 | 
			
		||||
  nuint16 semaphoreValue;
 | 
			
		||||
  nuint16 taskNumber;
 | 
			
		||||
  nstr8   semaphoreName[128];
 | 
			
		||||
} CONN_SEMAPHORE;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint16 nextRequest;
 | 
			
		||||
  nuint16 numRecords;
 | 
			
		||||
  nuint8  records[508];
 | 
			
		||||
  nuint16 curOffset;
 | 
			
		||||
  nuint16 curRecord;
 | 
			
		||||
} CONN_SEMAPHORES;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanPhysicalLocksByFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE          conn,
 | 
			
		||||
   NWDIR_HANDLE           dirHandle,
 | 
			
		||||
   const nstr8 N_FAR    * path,
 | 
			
		||||
   nuint8                 dataStream,
 | 
			
		||||
   pnint16                iterHandle,
 | 
			
		||||
   PHYSICAL_LOCK  N_FAR * lock,
 | 
			
		||||
   PHYSICAL_LOCKS N_FAR * locks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanLogicalLocksByConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE              conn,
 | 
			
		||||
   nuint16                    connNum,
 | 
			
		||||
   pnint16                    iterHandle,
 | 
			
		||||
   CONN_LOGICAL_LOCK  N_FAR * logicalLock,
 | 
			
		||||
   CONN_LOGICAL_LOCKS N_FAR * logicalLocks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanPhysicalLocksByConnFile
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE               conn,
 | 
			
		||||
   nuint16                     connNum,
 | 
			
		||||
   NWDIR_HANDLE                dirHandle,
 | 
			
		||||
   const nstr8         N_FAR * path,
 | 
			
		||||
   nuint8                      dataStream,
 | 
			
		||||
   pnint16                     iterHandle,
 | 
			
		||||
   CONN_PHYSICAL_LOCK  N_FAR * lock,
 | 
			
		||||
   CONN_PHYSICAL_LOCKS N_FAR * locks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanLogicalLocksByName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE         conn,
 | 
			
		||||
   const nstr8   N_FAR * logicalName,
 | 
			
		||||
   pnint16               iterHandle,
 | 
			
		||||
   LOGICAL_LOCK  N_FAR * logicalLock,
 | 
			
		||||
   LOGICAL_LOCKS N_FAR * logicalLocks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanSemaphoresByConn
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE           conn,
 | 
			
		||||
   nuint16                 connNum,
 | 
			
		||||
   pnint16                 iterHandle,
 | 
			
		||||
   CONN_SEMAPHORE  N_FAR * semaphore,
 | 
			
		||||
   CONN_SEMAPHORES N_FAR * semaphores
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanSemaphoresByName
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * semName,
 | 
			
		||||
   pnint16             iterHandle,
 | 
			
		||||
   SEMAPHORE   N_FAR * semaphore,
 | 
			
		||||
   SEMAPHORES  N_FAR * semaphores
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSignalSemaphore
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        semHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWCloseSemaphore
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        semHandle
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWOpenSemaphore
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE       conn,
 | 
			
		||||
   const nstr8 N_FAR * semName,
 | 
			
		||||
   nint16              initSemHandle,
 | 
			
		||||
   pnuint32            semHandle,
 | 
			
		||||
   pnuint16            semOpenCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWExamineSemaphore
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        semHandle,
 | 
			
		||||
   pnint16        semValue,
 | 
			
		||||
   pnuint16       semOpenCount
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWWaitOnSemaphore
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        semHandle,
 | 
			
		||||
   nuint16        timeOutValue
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										160
									
								
								c_clientlogin/xplatincl/nwtts.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										160
									
								
								c_clientlogin/xplatincl/nwtts.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,160 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwtts.h %
 | 
			
		||||
  %version: 3 %
 | 
			
		||||
  %date_modified: Wed Dec 18 12:07:23 1996 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWTTS_H )
 | 
			
		||||
#define NWTTS_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
# include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 systemElapsedTime;
 | 
			
		||||
  nuint8  TTS_Supported;
 | 
			
		||||
  nuint8  TTS_Enabled;
 | 
			
		||||
  nuint16 TTS_VolumeNumber;
 | 
			
		||||
  nuint16 TTS_MaxOpenTransactions;
 | 
			
		||||
  nuint16 TTS_MaxTransactionsOpened;
 | 
			
		||||
  nuint16 TTS_CurrTransactionsOpen;
 | 
			
		||||
  nuint32 TTS_TotalTransactions;
 | 
			
		||||
  nuint32 TTS_TotalWrites;
 | 
			
		||||
  nuint32 TTS_TotalBackouts;
 | 
			
		||||
  nuint16 TTS_UnfilledBackouts;
 | 
			
		||||
  nuint16 TTS_DiskBlocksInUse;
 | 
			
		||||
  nuint32 TTS_FATAllocations;
 | 
			
		||||
  nuint32 TTS_FileSizeChanges;
 | 
			
		||||
  nuint32 TTS_FilesTruncated;
 | 
			
		||||
  nuint8  numberOfTransactions;
 | 
			
		||||
  struct
 | 
			
		||||
  {
 | 
			
		||||
    nuint8 connNumber;
 | 
			
		||||
    nuint8 taskNumber;
 | 
			
		||||
  } connTask[235];
 | 
			
		||||
} TTS_STATS;
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSAbortTransaction
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSBeginTransaction
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSIsAvailable
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSGetControlFlags
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        controlFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSSetControlFlags
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         controlFlags
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSEndTransaction
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint32       transactionNum
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSTransactionStatus
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint32        transactionNum
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSGetProcessThresholds
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        logicalLockLevel,
 | 
			
		||||
   pnuint8        physicalLockLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSSetProcessThresholds
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         logicalLockLevel,
 | 
			
		||||
   nuint8         physicalLockLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSGetConnectionThresholds
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   pnuint8        logicalLockLevel,
 | 
			
		||||
   pnuint8        physicalLockLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWTTSSetConnectionThresholds
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   nuint8         logicalLockLevel,
 | 
			
		||||
   nuint8         physicalLockLevel
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWEnableTTS
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWDisableTTS
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetTTSStats
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  conn,
 | 
			
		||||
   TTS_STATS N_FAR * ttsStats
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										290
									
								
								c_clientlogin/xplatincl/nwvol.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										290
									
								
								c_clientlogin/xplatincl/nwvol.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,290 @@
 | 
			
		||||
/******************************************************************************
 | 
			
		||||
 | 
			
		||||
  %name: nwvol.h %
 | 
			
		||||
  %version: 7 %
 | 
			
		||||
  %date_modified: Tue Oct 19 13:37:06 1999 %
 | 
			
		||||
  $Copyright:
 | 
			
		||||
 | 
			
		||||
  Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
 | 
			
		||||
 | 
			
		||||
  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
 | 
			
		||||
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
 | 
			
		||||
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
 | 
			
		||||
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
 | 
			
		||||
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
 | 
			
		||||
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
 | 
			
		||||
  CRIMINAL AND CIVIL LIABILITY.$
 | 
			
		||||
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWVOL_H )
 | 
			
		||||
#define NWVOL_H
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NTYPES_H )
 | 
			
		||||
#include "ntypes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWCALDEF_H )
 | 
			
		||||
#include "nwcaldef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ! defined ( NWAPIDEF_H )
 | 
			
		||||
#include "nwapidef.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "npackon.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* define volume types  */
 | 
			
		||||
 | 
			
		||||
#define VINetWare386    0
 | 
			
		||||
#define VINetWare286    1
 | 
			
		||||
#define VINetWare386v30 2
 | 
			
		||||
#define VINetWare386v31 3
 | 
			
		||||
 | 
			
		||||
/*    define the extended volume information status flag bits  */
 | 
			
		||||
 | 
			
		||||
#define NWSubAllocEnabledBit    0x01
 | 
			
		||||
#define NWCompressionEnabledBit 0x02
 | 
			
		||||
#define NWMigrationEnabledBit   0x04
 | 
			
		||||
#define NWAuditingEnabledBit    0x08
 | 
			
		||||
#define NWReadOnlyEnabledBit    0x10
 | 
			
		||||
#define NWPSSEnabledBit			  0x80000000L
 | 
			
		||||
 | 
			
		||||
/* define the constant for volume request flag for NWScanMountedVolumeList */
 | 
			
		||||
 | 
			
		||||
#define NW_VOLUME_NUMBER_ONLY       0
 | 
			
		||||
#define NW_VOLUME_NUMBER_AND_NAME   1
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint32 objectID;
 | 
			
		||||
  nuint32 restriction;
 | 
			
		||||
} NWOBJ_REST;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  numberOfEntries;
 | 
			
		||||
  struct
 | 
			
		||||
  {
 | 
			
		||||
    nuint32 objectID;
 | 
			
		||||
    nuint32 restriction;
 | 
			
		||||
  } resInfo[12];
 | 
			
		||||
} NWVolumeRestrictions;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nuint8  numberOfEntries;
 | 
			
		||||
  struct
 | 
			
		||||
  {
 | 
			
		||||
    nuint32 objectID;
 | 
			
		||||
    nuint32 restriction;
 | 
			
		||||
  } resInfo[16];
 | 
			
		||||
} NWVOL_RESTRICTIONS;
 | 
			
		||||
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
  nint32    systemElapsedTime;
 | 
			
		||||
  nuint8    volumeNumber;
 | 
			
		||||
  nuint8    logicalDriveNumber;
 | 
			
		||||
  nuint16   sectorsPerBlock;
 | 
			
		||||
  nuint16   startingBlock;
 | 
			
		||||
  nuint16   totalBlocks;
 | 
			
		||||
  nuint16   availableBlocks;
 | 
			
		||||
  nuint16   totalDirectorySlots;
 | 
			
		||||
  nuint16   availableDirectorySlots;
 | 
			
		||||
  nuint16   maxDirectorySlotsUsed;
 | 
			
		||||
  nuint8    isHashing;
 | 
			
		||||
  nuint8    isCaching;
 | 
			
		||||
  nuint8    isRemovable;
 | 
			
		||||
  nuint8    isMounted;
 | 
			
		||||
  nstr8     volumeName[16];
 | 
			
		||||
} VOL_STATS;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
typedef struct ExtendedVolInfo_tag
 | 
			
		||||
{
 | 
			
		||||
  nuint32 volType;
 | 
			
		||||
  nuint32 statusFlag;
 | 
			
		||||
  nuint32 sectorSize;
 | 
			
		||||
  nuint32 sectorsPerCluster;
 | 
			
		||||
  nuint32 volSizeInClusters;
 | 
			
		||||
  nuint32 freeClusters;
 | 
			
		||||
  nuint32 subAllocFreeableClusters;
 | 
			
		||||
  nuint32 freeableLimboSectors;
 | 
			
		||||
  nuint32 nonfreeableLimboSectors;
 | 
			
		||||
  nuint32 availSubAllocSectors;            /* non freeable */
 | 
			
		||||
  nuint32 nonuseableSubAllocSectors;
 | 
			
		||||
  nuint32 subAllocClusters;
 | 
			
		||||
  nuint32 numDataStreams;
 | 
			
		||||
  nuint32 numLimboDataStreams;
 | 
			
		||||
  nuint32 oldestDelFileAgeInTicks;
 | 
			
		||||
  nuint32 numCompressedDataStreams;
 | 
			
		||||
  nuint32 numCompressedLimboDataStreams;
 | 
			
		||||
  nuint32 numNoncompressibleDataStreams;
 | 
			
		||||
  nuint32 precompressedSectors;
 | 
			
		||||
  nuint32 compressedSectors;
 | 
			
		||||
  nuint32 numMigratedDataStreams;
 | 
			
		||||
  nuint32 migratedSectors;
 | 
			
		||||
  nuint32 clustersUsedByFAT;
 | 
			
		||||
  nuint32 clustersUsedByDirs;
 | 
			
		||||
  nuint32 clustersUsedByExtDirs;
 | 
			
		||||
  nuint32 totalDirEntries;
 | 
			
		||||
  nuint32 unusedDirEntries;
 | 
			
		||||
  nuint32 totalExtDirExtants;
 | 
			
		||||
  nuint32 unusedExtDirExtants;
 | 
			
		||||
  nuint32 extAttrsDefined;
 | 
			
		||||
  nuint32 extAttrExtantsUsed;
 | 
			
		||||
  nuint32 DirectoryServicesObjectID;
 | 
			
		||||
  nuint32 volLastModifiedDateAndTime;
 | 
			
		||||
} NWVolExtendedInfo;
 | 
			
		||||
 | 
			
		||||
typedef struct NWVolMountNumWithName_tag
 | 
			
		||||
{
 | 
			
		||||
	nuint32 volumeNumber;
 | 
			
		||||
	nstr8   volumeName[NW_MAX_VOLUME_NAME_LEN];  
 | 
			
		||||
} NWVolMountNumWithName;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetDiskUtilization
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint32         objID,
 | 
			
		||||
  nuint8          volNum,
 | 
			
		||||
  pnuint16        usedDirectories,
 | 
			
		||||
  pnuint16        usedFiles,
 | 
			
		||||
  pnuint16        usedBlocks
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetObjDiskRestrictions
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint8          volNumber,
 | 
			
		||||
  nuint32         objectID,
 | 
			
		||||
  pnuint32        restriction,
 | 
			
		||||
  pnuint32        inUse
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanVolDiskRestrictions
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint8          volNum,
 | 
			
		||||
  pnuint32        iterhandle,
 | 
			
		||||
  NWVolumeRestrictions N_FAR * volInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanVolDiskRestrictions2
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint8          volNum,
 | 
			
		||||
  pnuint32        iterhandle,
 | 
			
		||||
  NWVOL_RESTRICTIONS N_FAR * volInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWRemoveObjectDiskRestrictions
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint8          volNum,
 | 
			
		||||
  nuint32         objID
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWSetObjectVolSpaceLimit
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint16         volNum,
 | 
			
		||||
  nuint32         objID,
 | 
			
		||||
  nuint32         restriction
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetVolumeInfoWithHandle
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  NWDIR_HANDLE    dirHandle,
 | 
			
		||||
  pnstr8          volName,
 | 
			
		||||
  pnuint16        totalBlocks,
 | 
			
		||||
  pnuint16        sectorsPerBlock,
 | 
			
		||||
  pnuint16        availableBlocks,
 | 
			
		||||
  pnuint16        totalDirEntries,
 | 
			
		||||
  pnuint16        availableDirEntries,
 | 
			
		||||
  pnuint16        volIsRemovableFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetVolumeInfoWithNumber
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint16         volNum,
 | 
			
		||||
  pnstr8          volName,
 | 
			
		||||
  pnuint16        totalBlocks,
 | 
			
		||||
  pnuint16        sectorsPerBlock,
 | 
			
		||||
  pnuint16        availableBlocks,
 | 
			
		||||
  pnuint16        totalDirEntries,
 | 
			
		||||
  pnuint16        availableDirEntries,
 | 
			
		||||
  pnuint16        volIsRemovableFlag
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetVolumeName
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint16         volNum,
 | 
			
		||||
  pnstr8          volName
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetVolumeNumber
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE       conn,
 | 
			
		||||
  const nstr8 N_FAR * volName,
 | 
			
		||||
  pnuint16            volNum
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetVolumeStats
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE     conn,
 | 
			
		||||
  nuint8            volNum,
 | 
			
		||||
  VOL_STATS N_FAR * volInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#if defined( N_PLAT_NLM )
 | 
			
		||||
   #define    NWGetExtendedVolumeInfo     NWGetExtendedVolumeInfo2
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWGetExtendedVolumeInfo
 | 
			
		||||
(
 | 
			
		||||
  NWCONN_HANDLE   conn,
 | 
			
		||||
  nuint16         volNum,
 | 
			
		||||
  NWVolExtendedInfo N_FAR * volInfo
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
N_EXTERN_LIBRARY( NWCCODE )
 | 
			
		||||
NWScanMountedVolumeList
 | 
			
		||||
(
 | 
			
		||||
   NWCONN_HANDLE  		conn,
 | 
			
		||||
   nuint32              volRequestFlags,
 | 
			
		||||
   nuint32        		nameSpace,
 | 
			
		||||
	pnuint32       		iterHandle,
 | 
			
		||||
   nuint32              numberItems,
 | 
			
		||||
   pnuint32             numberReturned,
 | 
			
		||||
	NWVolMountNumWithName	N_FAR * volMountArr
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "npackoff.h"
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										1025
									
								
								c_clientlogin/xplatincl/unicode.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1025
									
								
								c_clientlogin/xplatincl/unicode.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								c_clientlogin/xplatlib/libclnlnx.so
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								c_clientlogin/xplatlib/libclnlnx.so
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								c_clientlogin/xplatlib/libnetlnx.so
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								c_clientlogin/xplatlib/libnetlnx.so
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user