dsapi_name.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
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100 #ifndef ISODE_DSAPI_NAME_H
00101 #define ISODE_DSAPI_NAME_H
00102
00103 #include <stddef.h>
00104 #include <isode/ds/dsapi/dsapi_cdecl.h>
00105 #include <isode/ds/dsapi/dsapi_types.h>
00106
00132 LIBDSAPI_CDECL
00133 DS_Status DS_String2DN (
00134 const char *str_dn,
00135 DS_DN **dn_p
00136 );
00137
00150 LIBDSAPI_CDECL
00151 DS_Status DS_DN2String (
00152 const DS_DN *dn,
00153 char **str_p,
00154 size_t *len_p
00155 );
00156
00177 LIBDSAPI_CDECL
00178 DS_Status DS_DN_GetHashCode (
00179 const DS_DN *dn,
00180 unsigned int *hash_p
00181 );
00190 LIBDSAPI_CDECL
00191 DS_Status DS_DN_GetRDN (
00192 const DS_DN *dn,
00193 const DS_AttrList **attr_list_p
00194 );
00195
00207 LIBDSAPI_CDECL
00208 DS_Status DS_RDN2DN (
00209 const DS_AttrList *attr_list,
00210 DS_DN **dn_p
00211 );
00212
00229 LIBDSAPI_CDECL
00230 DS_Status DS_DN_AppendDN (
00231 DS_DN *dn,
00232 const DS_DN *suffix_dn
00233 );
00234
00244 LIBDSAPI_CDECL
00245 DS_Status DS_DN_GetParentDN (
00246 const DS_DN *dn,
00247 const DS_DN **dn_p
00248 );
00249
00263 LIBDSAPI_CDECL
00264 DS_Status DS_DN_CompareDN (
00265 const DS_DN *dn1,
00266 const DS_DN *dn2,
00267 int *notequal_p
00268 );
00269
00285 LIBDSAPI_CDECL
00286 DS_Status DS_DN_OrderCompareDN (
00287 const DS_DN *dn1,
00288 const DS_DN *dn2,
00289 int *result_p
00290 );
00291
00301 LIBDSAPI_CDECL
00302 DS_Status DS_InternalDN2DSDN (
00303 const DS_InternalDN *if_dn,
00304 DS_DN **dn_p
00305 );
00306
00316 LIBDSAPI_CDECL
00317 DS_Status DS_DSDN2InternalDN (
00318 const DS_DN *ds_dn,
00319 DS_InternalDN **if_dn_p
00320 );
00321
00327 LIBDSAPI_CDECL
00328 void DS_InternalDN_Delete (
00329 DS_InternalDN *if_dn
00330 );
00331
00337 LIBDSAPI_CDECL
00338 void DS_DN_Delete (
00339 DS_DN *dn
00340 );
00341
00351 LIBDSAPI_CDECL
00352 DS_Status DS_DN_Copy (
00353 const DS_DN *dn,
00354 DS_DN **copy_p
00355 );
00356
00362 LIBDSAPI_CDECL
00363 void DS_DNList_Delete (
00364 DS_DNList *dn_list
00365 );
00366
00371 #endif