/*********************************************************************** * * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; version 2.1 * of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, Novell, Inc. * * To contact Novell about this file by physical or electronic mail, * you may find current contact information at www.novell.com. * ***********************************************************************/ #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