129 lines
2.9 KiB
C
129 lines
2.9 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 ( NWDSSCH_H )
|
|
#define NWDSSCH_H
|
|
|
|
#if ! defined ( NTYPES_H )
|
|
#include "ntypes.h"
|
|
#endif
|
|
|
|
#if ! defined ( NWDSTYPE_H )
|
|
#include "nwdstype.h"
|
|
#endif
|
|
|
|
#if ! defined ( NWDSBUFT_H )
|
|
#include "nwdsbuft.h"
|
|
#endif
|
|
|
|
#if ! defined ( NWDSATTR_H )
|
|
#include "nwdsattr.h"
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSDefineAttr
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 attrName,
|
|
pAttr_Info_T attrDef
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSDefineClass
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 className,
|
|
pClass_Info_T classInfo,
|
|
pBuf_T classItems
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSListContainableClasses
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 parentObject,
|
|
pnint32 iterationHandle,
|
|
pBuf_T containableClasses
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSModifyClassDef
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 className,
|
|
pBuf_T optionalAttrs
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSReadAttrDef
|
|
(
|
|
NWDSContextHandle context,
|
|
nuint32 infoType,
|
|
nbool8 allAttrs,
|
|
pBuf_T attrNames,
|
|
pnint32 iterationHandle,
|
|
pBuf_T attrDefs
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSReadClassDef
|
|
(
|
|
NWDSContextHandle context,
|
|
nuint32 infoType,
|
|
nbool8 allClasses,
|
|
pBuf_T classNames,
|
|
pnint32 iterationHandle,
|
|
pBuf_T classDefs
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSRemoveAttrDef
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 attrName
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSRemoveClassDef
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 className
|
|
);
|
|
|
|
N_EXTERN_LIBRARY (NWDSCCODE)
|
|
NWDSSyncSchema
|
|
(
|
|
NWDSContextHandle context,
|
|
pnstr8 server,
|
|
nuint32 seconds
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* NWDSSCH_H */
|