home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
os232.exe
/
INCLUDE
/
NWMIGRAT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-09
|
4KB
|
146 lines
/******************************************************************************
$Workfile: nwmigrat.h $
$Revision: 1.8 $
$Modtime:: 08 May 1995 17:08:20 $
$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;
NWCCODE N_API NWMoveFileToDM
(
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path,
nuint8 nameSpace,
nuint32 supportModuleID,
nuint32 saveKeyFlag
);
NWCCODE N_API NWMoveFileFromDM
(
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path,
nuint8 nameSpace
);
NWCCODE N_API NWGetDMFileInfo
(
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path,
nuint8 nameSpace,
pnuint32 supportModuleID,
pnuint32 restoreTime,
pnuint32 dataStreams
);
NWCCODE N_API NWGetDMVolumeInfo
(
NWCONN_HANDLE conn,
nuint16 volume,
nuint32 supportModuleID,
pnuint32 numberOfFilesMigrated,
pnuint32 totalMigratedSize,
pnuint32 spaceUsedOnDM,
pnuint32 limboSpaceUsedOnDM,
pnuint32 spaceMigrated,
pnuint32 filesInLimbo
);
NWCCODE N_API NWGetSupportModuleInfo
(
NWCONN_HANDLE conn,
nuint32 infomationLevel,
nuint32 supportModuleID,
pnuint8 returnInfo,
pnuint32 returnInfoLen
);
NWCCODE N_API NWGetDataMigratorInfo
(
NWCONN_HANDLE conn,
pnuint32 DMPresentFlag,
pnuint32 majorVersion,
pnuint32 minorVersion,
pnuint32 DMSMRegistered
);
NWCCODE N_API NWGetDefaultSupportModule
(
NWCONN_HANDLE conn,
pnuint32 supportModuleID
);
NWCCODE N_API NWSetDefaultSupportModule
(
NWCONN_HANDLE conn,
pnuint32 supportModuleID
);
#ifdef __cplusplus
}
#endif
#include "npackoff.h"
#endif