CASA/LoginCapture/windows/external/xplatapi/include/nwdsacl.h
2006-03-10 18:39:22 +00:00

76 lines
2.0 KiB
C

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