dsapi_types.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00067
00068 #include <isode/ds/dsapi/dsapi_const.h>
00069
00070 #ifndef ISODE_DSAPI_TYPES_H
00071 #define ISODE_DSAPI_TYPES_H
00072
00073
00079 typedef struct DS_Session DS_Session;
00085 typedef struct DS_AttrVal DS_AttrVal;
00091 typedef struct DS_Attr DS_Attr;
00097 typedef struct DS_Entry DS_Entry;
00105 typedef struct DS_Referral DS_Referral;
00113 typedef struct DS_ReferralAddress DS_ReferralAddress;
00119 typedef struct DS_DN DS_DN;
00125 typedef struct DS_Result DS_Result;
00131 typedef struct DS_Error DS_Error;
00137 typedef struct DS_Indication DS_Indication;
00143 typedef struct DS_Attr DS_AttrList;
00149 typedef struct DS_AttrVal DS_AttrValList;
00155 typedef struct DS_DN DS_DNList;
00161 typedef struct DS_Entry DS_EntryList;
00168 typedef struct DS_Referral DS_ReferralList;
00174 typedef struct DS_CommonArgs DS_CommonArgs;
00181 typedef struct IF_Dn DS_InternalDN;
00187 typedef struct DS_LDIF DS_LDIF;
00188
00189
00190 typedef struct DS_RanLDIF DS_RanLDIF;
00191 typedef struct DS_DNIndex DS_DNIndex;
00192
00196 typedef enum {
00197 DSScopeBaseObject = 0,
00198 DSScopeOneLevel = 1,
00199 DSScopeSubtree = 2
00200 } DSSearchScope;
00201
00205 typedef enum {
00206 DSLimitNoProblem = 0,
00207 DSLimitTimeExceeded = 1,
00208 DSLimitSizeExceeded = 2,
00209 DSLimitAdminLimitExceeded = 3
00210 } DSLimitProblem;
00211
00215 typedef enum {
00216 DSModAdd = 0,
00217 DSModDelete = 1,
00218 DSModReplace = 2
00219 } DSModType;
00220
00224 typedef enum {
00225 DSEntryNormal = 0,
00226 DSEntryModify = 1,
00227 DSEntryAdd = 2,
00228 DSEntryDelete = 3,
00229 DSEntryRename = 4
00230 } DSEntryType;
00231
00235 typedef enum {
00236 DSActionContinue = 0,
00237 DSActionAbort = 1,
00238 } DSHookAction;
00239
00254 typedef DSHookAction DS_ErrorHook(void *object, char *operation, DS_Status status, void *user);
00255
00256 #endif