home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
os232.exe
/
INCLUDE
/
NWTCOMM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-08
|
4KB
|
135 lines
/******************************************************************************
$Workfile: nwtcomm.h $
$Revision: 1.9 $
$Modtime:: 08 May 1995 16:55:24 $
$Copyright:
Copyright (c) 1989-1995 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.$
*****************************************************************************/
#if ! defined ( NWTCOMM_H )
#define NWTCOMM_H
#if ! defined ( NWALIAS_H )
#include "nwalias.h"
#endif
#if ! defined ( NWDSDC_H )
#include "nwdsdc.h"
#endif
#if ! defined ( NWDSDEFS_H )
#include "nwdsdefs.h"
#endif
#if ! defined ( NWCALDEF_H )
# include "nwcaldef.h"
#endif
# define NWT_MAX_PASSWORD 125
extern NWCONN_HANDLE _connHandle;
extern NWCONN_TYPE _connType;
extern NWDSContextHandle _contextHandle;
extern char _serverName[];
extern char _objTree[];
extern char _objContext[];
extern char _objName[];
extern char _objPassword[];
extern int _codePage;
extern int _countryCode;
#ifndef LONG
# define LONG unsigned long
# define BYTE unsigned char
#endif
extern UINT32 _blockingStatus;
extern LONG GetProcessSwitchCount(void);
UINT32 NWTWriteStackDepthSignatures(void);
UINT32 NWTCheckStackDepthSignatures(void);
UINT32 NWTLogBlockingMessage( LONG blockingCountBefore,LONG blockingCountAfter,
UINT32 blockingStatus, char * functionName);
void delaySeconds (int seconds);
int IsValid(NWDSContextHandle nContext,char *ObjectName);
int IsDeleted(NWDSContextHandle nContext,char *ObjectName);
int ReplicasAreStable(NWDSContextHandle nContext, char *ObjectName);
#ifdef N_PLAT_NLM
extern WORD _fileServerID;
# define NWT_NON_BLOCKING 0
# define NWT_BLOCKING 1
# define NWT_REMOTE_BLOCKING 2
# define NWT_UNKNOWN_BLOCKING 3
# define NWT_REGULAR_THREAD 0
# define NWT_WORK_THREAD 1
# define NWT_AT_EVENT_THREAD 2
# define NWT_AT_EXIT_THREAD 3
# define NWT_AT_UNLOAD_THREAD 4
# define NWT_DEFAULT_THREAD 5
/* -------------------------------------------
* Prototypes for NWTNLM Special NLM Functions
* -------------------------------------------
*/
/* From 4.10\src\miniproc.h Functions imported from CLIB */
extern void CSetD( LONG value, void *address, LONG numberOfDWords);
extern LONG CNFindD( LONG value, void *address, LONG numberOfDWords);
UINT32 NWTPromptForBlockingStatus(void);
UINT32 NWTPromptForThreadType(void);
UINT32 NWTCallThreadType( UINT32 threadType,
void *callParameters,
UINT32 *complete,
void(*CallFunction)(void *),
void(*WorkToDoFunction)(),
void(*SignalFunction)(int) );
#endif
UINT32 NWTReportInfo( void );
UINT32 NWTPNWLogin( void );
UINT32 NWTLogin( void );
UINT32 NWTLoginByNum( int promptNum );
UINT32 NWTLogout( void );
UINT32 NWTBinderyLogin( void );
UINT32 NWTDirectoryLogin( void );
NWCONN_HANDLE NWTGetBadConnHandle( NWCONN_HANDLE connHandle );
UINT32 NWTCompareConnHandles(NWCONN_HANDLE conn1, NWCONN_HANDLE conn2);
#endif