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. */
44 typedef struct DS_Session DS_Session;
45 
57 typedef struct DS_Identity DS_Identity;
63 typedef struct DS_SASLProps DS_SASLProps;
69 typedef struct DS_AttrVal DS_AttrVal;
75 typedef struct DS_Attr DS_Attr;
81 typedef struct DS_Entry DS_Entry;
89 typedef struct DS_Referral DS_Referral;
103 typedef struct DS_DN DS_DN;
109 typedef struct DS_Result DS_Result;
115 typedef struct DS_Error DS_Error;
127 typedef struct DS_Attr DS_AttrList;
133 typedef struct DS_AttrVal DS_AttrValList;
139 typedef struct DS_DN DS_DNList;
145 typedef struct DS_Entry DS_EntryList;
165 typedef struct IF_Dn DS_InternalDN;
171 typedef struct DS_LDIF DS_LDIF;
172 
173 /* Unsupported interfaces (not for public use) */
174 typedef struct DS_RanLDIF DS_RanLDIF;
175 typedef struct DS_DNIndex DS_DNIndex;
176 
180 typedef enum {
184 } DSSearchScope;
185 
189 typedef enum {
195 
199 typedef enum {
200  DSModAdd = 0,
203 } DSModType;
204 
208 typedef enum {
214 } DSEntryType;
215 
237 typedef enum {
241  DSUnbound = 2,
266 
270 typedef enum {
273 } DSHookAction;
274 
289 typedef DSHookAction DS_ErrorHook(void *object, char *operation, DS_Status status, void *user);
290 
291 #endif /* ISODE_DSAPI_TYPES_H */
DSHookAction DS_ErrorHook(void *object, char *operation, DS_Status status, void *user)
Error callback hook function type.
Definition: dsapi_types.h:289
struct DS_Attr DS_AttrList
Definition: dsapi_types.h:127
struct DS_CommonArgs DS_CommonArgs
Definition: dsapi_types.h:158
DSModType
Definition: dsapi_types.h:199
struct DS_DN DS_DN
Definition: dsapi_types.h:103
DS_Status
Definition: dsapi_const.h:66
struct IF_Dn DS_InternalDN
Definition: dsapi_types.h:165
DSSearchScope
Definition: dsapi_types.h:180
struct DS_Referral DS_ReferralList
Definition: dsapi_types.h:152
@ DSScopeBaseObject
Definition: dsapi_types.h:181
@ DSConnectionSasl
Definition: dsapi_types.h:262
struct DS_AttrVal DS_AttrVal
Definition: dsapi_types.h:69
DSEntryType
Definition: dsapi_types.h:208
@ DSEntryRename
Definition: dsapi_types.h:213
struct DS_Error DS_Error
Definition: dsapi_types.h:115
DSHookAction
Definition: dsapi_types.h:270
struct DS_Entry DS_EntryList
Definition: dsapi_types.h:145
@ DSScopeOneLevel
Definition: dsapi_types.h:182
@ DSConnectionAnonymous
Definition: dsapi_types.h:253
@ DSNotYetConnected
Definition: dsapi_types.h:238
@ DSEntryDelete
Definition: dsapi_types.h:212
struct DS_Result DS_Result
Definition: dsapi_types.h:109
@ DSEntryModify
Definition: dsapi_types.h:210
@ DSEntryAdd
Definition: dsapi_types.h:211
@ DSActionAbort
Definition: dsapi_types.h:272
@ DSConnectionStrong
Definition: dsapi_types.h:259
DSLimitProblem
Definition: dsapi_types.h:189
@ DSModAdd
Definition: dsapi_types.h:200
struct DS_SASLProps DS_SASLProps
Definition: dsapi_types.h:63
@ DSUnbound
Definition: dsapi_types.h:241
@ DSLimitTimeExceeded
Definition: dsapi_types.h:191
struct DS_AttrVal DS_AttrValList
Definition: dsapi_types.h:133
@ DSModReplace
Definition: dsapi_types.h:202
struct DS_Entry DS_Entry
Definition: dsapi_types.h:81
@ DSActionContinue
Definition: dsapi_types.h:271
@ DSScopeSubtree
Definition: dsapi_types.h:183
@ DSLimitNoProblem
Definition: dsapi_types.h:190
struct DS_Indication DS_Indication
Definition: dsapi_types.h:121
@ DSEntryNormal
Definition: dsapi_types.h:209
@ DSLimitSizeExceeded
Definition: dsapi_types.h:192
struct DS_Session DS_Session
Definition: dsapi_types.h:44
struct DS_ReferralAddress DS_ReferralAddress
Definition: dsapi_types.h:97
Symbolic constants used in the Directory Service API.
struct DS_Identity DS_Identity
Definition: dsapi_types.h:57
@ DSVerificationFailed
Definition: dsapi_types.h:244
struct DS_Attr DS_Attr
Definition: dsapi_types.h:75
struct DS_DN DS_DNList
Definition: dsapi_types.h:139
@ DSConnectionBound
Definition: dsapi_types.h:250
struct DS_Referral DS_Referral
Definition: dsapi_types.h:89
@ DSLimitAdminLimitExceeded
Definition: dsapi_types.h:193
DSSessionState
Definition: dsapi_types.h:237
struct DS_BindParams DS_BindParams
Definition: dsapi_types.h:51
@ DSConnectionSimple
Definition: dsapi_types.h:256
@ DSModDelete
Definition: dsapi_types.h:201
struct DS_LDIF DS_LDIF
Definition: dsapi_types.h:171
@ DSConnectionLost
Definition: dsapi_types.h:239

All rights reserved © 2002 - 2024 Isode Ltd.