
Messaging and Directory Server software used around the world in the
Government, Military, Aviation and Commercial sectors.
|
dsapi.hGo 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
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162 #ifndef ISODE_DSAPI_H
00163 #define ISODE_DSAPI_H
00164
00165 #include <isode/ds/dsapi/dsapi_cdecl.h>
00166 #include <isode/ds/dsapi/dsapi_attr.h>
00167 #include <isode/ds/dsapi/dsapi_entry.h>
00168 #include <isode/ds/dsapi/dsapi_referral.h>
00169 #include <isode/ds/dsapi/dsapi_name.h>
00170 #include <isode/ds/dsapi/dsapi_const.h>
00171 #include <isode/ds/dsapi/dsapi_common_args.h>
00172 #include <isode/ds/dsapi/dsapi_ldif.h>
00173
00493 LIBDSAPI_CDECL
00494 DS_Status DS_Initialize (
00495 void
00496 );
00497
00517 LIBDSAPI_CDECL
00518 void DS_InitializeSecurity (
00519 const char *path
00520 );
00521
00544 LIBDSAPI_CDECL
00545 void DS_UninitializeSecurity (void);
00546
00565 LIBDSAPI_CDECL
00566 int DS_Version (
00567 void
00568 );
00569
00610 LIBDSAPI_CDECL
00611 DS_Status DS_Session_New (
00612 const char *address,
00613 int force_tls,
00614 DS_Session **session_p
00615 );
00616
00633 LIBDSAPI_CDECL
00634 DS_Status DS_BindAnonymousSync (
00635 DS_Session *session,
00636 DS_CommonArgs *common_args,
00637 DS_Indication **indication_p
00638 );
00639
00653 LIBDSAPI_CDECL
00654 DS_Status DS_BindSync_Anonymous (
00655 const char *address,
00656 DS_Session **session_p
00657 );
00658
00676 LIBDSAPI_CDECL
00677 DS_Status DS_BindSimpleSync (
00678 DS_Session *session,
00679 const DS_DN *dn,
00680 const char *password,
00681 DS_CommonArgs *common_args,
00682 DS_Indication **indication_p
00683 );
00684
00701 LIBDSAPI_CDECL
00702 DS_Status DS_BindSync_Simple (
00703 const char *address,
00704 const DS_DN *dn,
00705 const char *password,
00706 DS_Session **session_p
00707 );
00708
00729 LIBDSAPI_CDECL
00730 DS_Status DS_BindStrongSync (
00731 DS_Session *session,
00732 const DS_DN *dsa_dn,
00733 const DS_DN *dn,
00734 const char *password,
00735 DS_CommonArgs *common_args,
00736 DS_Indication **indication_p
00737 );
00738
00759 LIBDSAPI_CDECL
00760 DS_Status DS_BindSync_Strong (
00761 const char *address,
00762 const DS_DN *dsa_dn,
00763 const DS_DN *dn,
00764 const char *password,
00765 DS_Session **session_p
00766 );
00767
00789 LIBDSAPI_CDECL
00790 DS_Status DS_BindSASLSync (
00791 DS_Session *session,
00792 const char *mechanism,
00793 const char *userid,
00794 const char *secret,
00795 DS_CommonArgs *common_args,
00796 DS_Indication **indication_p
00797 );
00798
00818 LIBDSAPI_CDECL
00819 DS_Status DS_BindSync_SASL (
00820 const char *address,
00821 const char *mechanism,
00822 const char *userid,
00823 const char *secret,
00824 DS_Session **session_p
00825 );
00826
00833 LIBDSAPI_CDECL
00834 void DS_UnbindSync (
00835 DS_Session **session_p
00836 );
00837
00862 LIBDSAPI_CDECL
00863 DS_Status DS_AllowUnknownAttrs (
00864 DS_Session *session,
00865 int allow_unknown
00866 );
00867
00868
00878 LIBDSAPI_CDECL
00879 DS_Status DS_GetAllowUnknownAttrs (
00880 DS_Session *session,
00881 int *allow_unknown_p
00882 );
00883
00884
00943 LIBDSAPI_CDECL
00944 DS_Status DS_ReadSync (
00945 DS_Session *session,
00946 const DS_DN *dn,
00947 const char *attr_selection[],
00948 DS_CommonArgs *common_args,
00949 DS_Indication **indication_p
00950 );
00951
00995 LIBDSAPI_CDECL
00996 DS_Status DS_SearchSync (
00997 DS_Session *session,
00998 const DS_DN *base_dn,
00999 const char *filter,
01000 DSSearchScope search_scope,
01001 const char *attr_selection[],
01002 DS_CommonArgs *common_args,
01003 DS_Indication **indication_p
01004 );
01005
01016 LIBDSAPI_CDECL
01017 DS_Status DS_AddSync (
01018 DS_Session *session,
01019 const DS_Entry *entry,
01020 const DS_CommonArgs *common_args,
01021 DS_Indication **indication_p
01022 );
01023
01035 LIBDSAPI_CDECL
01036 DS_Status DS_AddSyncByDN (
01037 DS_Session *session,
01038 const DS_DN *dn,
01039 const DS_AttrList *attrs,
01040 const DS_CommonArgs *common_args,
01041 DS_Indication **indication_p
01042 );
01043
01054 LIBDSAPI_CDECL
01055 DS_Status DS_DeleteSync (
01056 DS_Session *session,
01057 const DS_DN *dn,
01058 const DS_CommonArgs *common_args,
01059 DS_Indication **indication_p
01060 );
01061
01072 LIBDSAPI_CDECL
01073 DS_Status DS_ModifySync (
01074 DS_Session *session,
01075 const DS_Entry *entry,
01076 const DS_CommonArgs *common_args,
01077 DS_Indication **indication_p
01078 );
01079
01091 LIBDSAPI_CDECL
01092 DS_Status DS_ModifySyncByDN (
01093 DS_Session *session,
01094 const DS_DN *dn,
01095 const DS_AttrList *changes,
01096 const DS_CommonArgs *common_args,
01097 DS_Indication **indication_p
01098 );
01099
01112 LIBDSAPI_CDECL
01113 DS_Status DS_RenameSync (
01114 DS_Session *session,
01115 const DS_DN *old_dn,
01116 const DS_DN *new_dn,
01117 int delete_old_rdn,
01118 const DS_CommonArgs *common_args,
01119 DS_Indication **indication_p
01120 );
01121
01150 LIBDSAPI_CDECL
01151 DS_Status DS_CompareSync (
01152 DS_Session *session,
01153 const DS_DN *dn,
01154 const DS_Attr *attr,
01155 const DS_CommonArgs *common_args,
01156 DS_Indication **indication_p
01157 );
01158
01216 LIBDSAPI_CDECL
01217 DS_Status DS_ReadAsync (
01218 DS_Session *session,
01219 const DS_DN *dn,
01220 const char *attr_selection[],
01221 DS_CommonArgs *common_args,
01222 int *ret_op_id
01223 );
01224
01241 LIBDSAPI_CDECL
01242 DS_Status DS_Poll (
01243 DS_Session *session,
01244 int op_id,
01245 DS_Indication **indication_p
01246 );
01247
01261 LIBDSAPI_CDECL
01262 DS_Status DS_Cancel (
01263 DS_Session *session,
01264 int op_id
01265 );
01266
01296 LIBDSAPI_CDECL
01297 DS_Status DS_Indication_GetStatus (
01298 DS_Indication *indication,
01299 DS_ErrorType *type_p
01300 );
01301
01318 LIBDSAPI_CDECL
01319 DS_Status DS_Indication_GetErrorCodes (
01320 DS_Indication *indication,
01321 DS_ErrorType *type_p,
01322 DS_ErrorValue *value_p
01323 );
01324
01352 LIBDSAPI_CDECL
01353 DS_Status DS_Indication_GetSignatureError (
01354 DS_Indication *indication,
01355 int *sign_error_p
01356 );
01357
01358
01370 LIBDSAPI_CDECL
01371 DS_Status DS_Indication_GetLimitProblem (
01372 DS_Indication *indication,
01373 DSLimitProblem *limit_p
01374 );
01375
01390 LIBDSAPI_CDECL
01391 DS_Status DS_Indication_GetEntryCount (
01392 DS_Indication *indication,
01393 int *ret_num_p
01394 );
01395
01411 LIBDSAPI_CDECL
01412 DS_Status DS_Indication_GetEntryList (
01413 DS_Indication *indication,
01414 const DS_EntryList **entry_list_p
01415 );
01416
01434 LIBDSAPI_CDECL
01435 DS_Status DS_Indication_GetCompareResult (
01436 DS_Indication *indication,
01437 int *matched
01438 );
01439
01469 LIBDSAPI_CDECL
01470 DS_Status DS_Indication_GetContinuationReferences (
01471 const DS_Indication *indication,
01472 const DS_ReferralList **referral_list_p
01473 );
01474
01499 LIBDSAPI_CDECL
01500 DS_Status DS_Indication_GetReferrals (
01501 const DS_Indication *indication,
01502 const DS_ReferralList **referral_list_p
01503 );
01504
01524 LIBDSAPI_CDECL
01525 DS_Status DS_Indication_GetPasswordPolicyExpiryWarning (
01526 const DS_Indication *indication,
01527 int *time_before_expiration_p
01528 );
01529
01552 LIBDSAPI_CDECL
01553 DS_Status DS_Indication_GetPasswordPolicyGraceWarning (
01554 const DS_Indication *indication,
01555 int *grace_authentications_remaining_p
01556 );
01557
01576 LIBDSAPI_CDECL
01577 DS_Status DS_Indication_GetPasswordPolicyErrorCode (
01578 const DS_Indication *indication,
01579 DS_PasswordPolicyError *error_p
01580 );
01581
01599 LIBDSAPI_CDECL
01600 DS_Status DS_Indication_GetExtraErrorText (
01601 const DS_Indication *indication,
01602 const char **error_text_p
01603 );
01604
01610 LIBDSAPI_CDECL
01611 void DS_Indication_Delete (
01612 DS_Indication *indication
01613 );
01614
01621 #endif
|