/*********************************************************************** * * 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 ( 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 */