Summary: Isode provides a number of APIs which allow integrators and product developers to build components that allow client programs to connect to, query and modify data in the directory.
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 */
struct DS_Session DS_Session
Definition: dsapi_types.h:44
struct DS_DN DS_DN
Definition: dsapi_types.h:103
struct DS_Result DS_Result
Definition: dsapi_types.h:109
struct DS_Entry DS_Entry
Definition: dsapi_types.h:81
struct DS_LDIF DS_LDIF
Definition: dsapi_types.h:171
struct DS_Referral DS_ReferralList
Definition: dsapi_types.h:152
struct DS_Identity DS_Identity
Definition: dsapi_types.h:57
DSEntryType
Definition: dsapi_types.h:208
struct DS_Entry DS_EntryList
Definition: dsapi_types.h:145
DSHookAction
Definition: dsapi_types.h:270
struct DS_BindParams DS_BindParams
Definition: dsapi_types.h:51
struct DS_AttrVal DS_AttrVal
Definition: dsapi_types.h:69
struct DS_Error DS_Error
Definition: dsapi_types.h:115
DSSearchScope
Definition: dsapi_types.h:180
struct DS_ReferralAddress DS_ReferralAddress
Definition: dsapi_types.h:97
DSLimitProblem
Definition: dsapi_types.h:189
struct DS_Attr DS_Attr
Definition: dsapi_types.h:75
struct DS_AttrVal DS_AttrValList
Definition: dsapi_types.h:133
struct DS_Indication DS_Indication
Definition: dsapi_types.h:121
struct DS_DN DS_DNList
Definition: dsapi_types.h:139
DSSessionState
Definition: dsapi_types.h:237
Symbolic constants used in the Directory Service API.
struct IF_Dn DS_InternalDN
Definition: dsapi_types.h:165
struct DS_Referral DS_Referral
Definition: dsapi_types.h:89
DS_Status
Definition: dsapi_const.h:66
struct DS_CommonArgs DS_CommonArgs
Definition: dsapi_types.h:158
DSModType
Definition: dsapi_types.h:199
struct DS_SASLProps DS_SASLProps
Definition: dsapi_types.h:63
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