dsapi_types.h
Go to the documentation of this file.
1/* Emacs mode: -*- C -*- */
2
3/*
4 * Copyright (c) 2004-2013, Isode Limited, London, England.
5 * All rights reserved.
6 *
7 * Acquisition and use of this software and related materials for any
8 * purpose requires a written licence agreement from Isode
9 * Limited, or a written licence from an organisation licenced by Isode
10 * Limited to grant such a licence.
11 *
12 */
13
14/*
15 * dsapi_types.h
16 *
17 * Public data types and forward declarations of private
18 * data types.
19 *
20 */
21
22/*
23 *
24 *
25 * @VERSION@
26 */
27
32/* Necessary to include dsapi_const.h to get DS_Status */
34
35#ifndef ISODE_DSAPI_TYPES_H
36#define ISODE_DSAPI_TYPES_H
37
38/* Common structures. */
44typedef struct DS_Session DS_Session;
45
57typedef struct DS_Identity DS_Identity;
69typedef struct DS_AttrVal DS_AttrVal;
75typedef struct DS_Attr DS_Attr;
81typedef struct DS_Entry DS_Entry;
89typedef struct DS_Referral DS_Referral;
103typedef struct DS_DN DS_DN;
109typedef struct DS_Result DS_Result;
115typedef struct DS_Error DS_Error;
127typedef struct DS_Attr DS_AttrList;
139typedef struct DS_DN DS_DNList;
145typedef struct DS_Entry DS_EntryList;
165typedef struct IF_Dn DS_InternalDN;
171typedef struct DS_LDIF DS_LDIF;
172
173/* Unsupported interfaces (not for public use) */
174typedef struct DS_RanLDIF DS_RanLDIF;
175typedef struct DS_DNIndex DS_DNIndex;
176
185
195
199typedef enum {
202 DSModReplace = 2
204
215
266
274
289typedef DSHookAction DS_ErrorHook(void *object, char *operation, DS_Status status, void *user);
290
291#endif /* ISODE_DSAPI_TYPES_H */
Symbolic constants used in the Directory Service API.
struct DS_Result DS_Result
struct DS_Session DS_Session
Definition dsapi_types.h:44
DSModType
@ DSModAdd
@ DSModDelete
@ DSModReplace
DSHookAction DS_ErrorHook(void *object, char *operation, DS_Status status, void *user)
Error callback hook function type.
struct DS_AttrVal DS_AttrVal
Definition dsapi_types.h:69
struct DS_Error DS_Error
struct DS_AttrVal DS_AttrValList
DSSessionState
@ DSConnectionSasl
@ DSConnectionBound
@ DSNotYetConnected
@ DSConnectionStrong
@ DSVerificationFailed
@ DSConnectionSimple
@ DSUnbound
@ DSConnectionAnonymous
@ DSConnectionLost
struct DS_LDIF DS_LDIF
DSSearchScope
@ DSScopeOneLevel
@ DSScopeSubtree
@ DSScopeBaseObject
struct DS_Attr DS_Attr
Definition dsapi_types.h:75
struct DS_Identity DS_Identity
Definition dsapi_types.h:57
struct DS_Entry DS_Entry
Definition dsapi_types.h:81
struct DS_DN DS_DNList
DSLimitProblem
@ DSLimitSizeExceeded
@ DSLimitNoProblem
@ DSLimitAdminLimitExceeded
@ DSLimitTimeExceeded
struct DS_Referral DS_ReferralList
struct IF_Dn DS_InternalDN
struct DS_CommonArgs DS_CommonArgs
struct DS_DN DS_DN
struct DS_ReferralAddress DS_ReferralAddress
Definition dsapi_types.h:97
struct DS_Entry DS_EntryList
DSEntryType
@ DSEntryRename
@ DSEntryAdd
@ DSEntryDelete
@ DSEntryModify
@ DSEntryNormal
struct DS_SASLProps DS_SASLProps
Definition dsapi_types.h:63
struct DS_Attr DS_AttrList
struct DS_BindParams DS_BindParams
Definition dsapi_types.h:51
struct DS_Referral DS_Referral
Definition dsapi_types.h:89
struct DS_Indication DS_Indication
DSHookAction
@ DSActionContinue
@ DSActionAbort
DS_Status
Definition dsapi_const.h:66

All rights reserved © 2002 - 2024 Isode Ltd.