dsapi_entry.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 #ifndef ISODE_DSAPI_ENTRY_H
00095 #define ISODE_DSAPI_ENTRY_H
00096
00097 #include <stddef.h>
00098 #include <isode/ds/dsapi/dsapi_cdecl.h>
00099 #include <isode/ds/dsapi/dsapi_types.h>
00100
00138 LIBDSAPI_CDECL
00139 DS_Status DS_Entry_GetDN (
00140 const DS_Entry *entry,
00141 const DS_DN **dn_p
00142 );
00143
00158 LIBDSAPI_CDECL
00159 DS_Status DS_Entry_GetNewDN (
00160 const DS_Entry *entry,
00161 const DS_DN **dn_p
00162 );
00163
00177 LIBDSAPI_CDECL
00178 DS_Status DS_Entry_GetDeleteOldRDN (
00179 const DS_Entry *entry,
00180 int *flag_p
00181 );
00182
00193 LIBDSAPI_CDECL
00194 DS_Status DS_Entry_SetDN (
00195 DS_Entry *entry,
00196 const DS_DN *dn
00197 );
00198
00210 LIBDSAPI_CDECL
00211 DS_Status DS_Entry_SetNewDN (
00212 DS_Entry *entry,
00213 const DS_DN *new_dn
00214 );
00215
00226 LIBDSAPI_CDECL
00227 DS_Status DS_Entry_SetDeleteOldRDN (
00228 DS_Entry *entry,
00229 int flag
00230 );
00231
00241 LIBDSAPI_CDECL
00242 DS_Status DS_Entry_IsNormal (
00243 const DS_Entry *entry
00244 );
00245
00256 LIBDSAPI_CDECL
00257 DS_Status DS_Entry_IsChange (
00258 const DS_Entry *entry
00259 );
00260
00271 LIBDSAPI_CDECL
00272 DS_Status DS_Entry_GetType (
00273 const DS_Entry *entry,
00274 DSEntryType *type_p
00275 );
00276
00297 LIBDSAPI_CDECL
00298 DS_Status DS_Entry_Convert (
00299 DS_Entry *entry,
00300 DSEntryType type
00301 );
00302
00319 LIBDSAPI_CDECL
00320 DS_Status DS_Entry_AddValues (
00321 DS_Entry *entry,
00322 const DS_Attr *attr
00323 );
00324
00350 LIBDSAPI_CDECL
00351 DS_Status DS_Entry_DeleteValues (
00352 DS_Entry *entry,
00353 const DS_Attr *attr
00354 );
00355
00380 LIBDSAPI_CDECL
00381 DS_Status DS_Entry_ReplaceValues (
00382 DS_Entry *entry,
00383 const DS_Attr *attr
00384 );
00385
00393 LIBDSAPI_CDECL
00394 const DS_Entry *DS_EntryList_GetFirst (
00395 const DS_EntryList *entry_list
00396 );
00397
00405 LIBDSAPI_CDECL
00406 const DS_Entry *DS_EntryList_GetNext (
00407 const DS_Entry *entry
00408 );
00409
00423 LIBDSAPI_CDECL
00424 DS_Status DS_Entry_New (
00425 DS_Entry **entryp
00426 );
00427
00445 LIBDSAPI_CDECL
00446 DS_Status DS_Entry_NewType (
00447 DS_Entry **entryp,
00448 DSEntryType type,
00449 const DS_DN *dn
00450 );
00451
00457 LIBDSAPI_CDECL
00458 void DS_Entry_Delete (
00459 DS_Entry *entry
00460 );
00461
00467 LIBDSAPI_CDECL
00468 void DS_EntryList_Delete (
00469 DS_EntryList *entry_list
00470 );
00471
00506 LIBDSAPI_CDECL
00507 DS_Status DS_Entry_Diff (
00508 const DS_Entry *entry1,
00509 const DS_Entry *entry2,
00510 DS_Entry **change_p
00511 );
00512
00550 LIBDSAPI_CDECL
00551 DS_Status DS_Entry_Apply (
00552 const DS_Entry *entry1,
00553 const DS_Entry *change,
00554 DS_Entry **entry2_p
00555 );
00556
00561 #endif