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_referral.h
Go to the documentation of this file.
1 /* Emacs mode: -*- C -*- */
2 
3 /*
4  * Copyright (c) 2007-2010, 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_referral.h
16  *
17  * Directory client API methods for manipulating referrals and continuation
18  * references.
19  *
20  */
21 
22 /*
23  *
24  *
25  * @VERSION@
26  */
27 
28 #ifndef ISODE_DSAPI_REFERRAL_H
29 #define ISODE_DSAPI_REFERRAL_H
30 
31 #include <stddef.h>
32 #include <isode/ds/dsapi/dsapi_cdecl.h>
34 
107 LIBDSAPI_CDECL
109  const DS_ReferralList *referral_list
110 );
111 
121 LIBDSAPI_CDECL
123  const DS_Referral *referral
124 );
125 
133 LIBDSAPI_CDECL
135  const DS_Referral *referral
136 );
137 
146 LIBDSAPI_CDECL
148  const DS_ReferralAddress *referral_address
149 );
150 
151 
162 LIBDSAPI_CDECL
164  const DS_Referral *referral,
165  const DS_DN **dn_p
166 );
177 LIBDSAPI_CDECL
179  const DS_ReferralAddress *referral_address,
180  const DS_DN **dn_p
181 );
182 
197 LIBDSAPI_CDECL
199  const DS_ReferralAddress *referral_address,
200  const char **address_p
201 );
202 
207 #endif /* ISODE_DSAPI_REFERRAL_H */
const DS_Referral * DS_Referral_GetNext(const DS_Referral *referral)
Get the next referral or continuation reference (if any) in a list of referrals.
const DS_Referral * DS_ReferralList_GetFirst(const DS_ReferralList *referral_list)
Get the first referral or continuation reference (if there is one) in a list of referrals.
struct DS_DN DS_DN
Definition: dsapi_types.h:103
struct DS_Referral DS_ReferralList
Definition: dsapi_types.h:152
DS_Status DS_Referral_GetTargetDN(const DS_Referral *referral, const DS_DN **dn_p)
Get the target DN from the given DS_Referral.
struct DS_ReferralAddress DS_ReferralAddress
Definition: dsapi_types.h:97
Directory API type definitions and forward declarations of private types.
const DS_ReferralAddress * DS_ReferralAddress_GetNext(const DS_ReferralAddress *referral_address)
Get the next referral address (if any) in a list of referral addresses.
DS_Status DS_ReferralAddress_GetBindAddress(const DS_ReferralAddress *referral_address, const char **address_p)
Get the bind address from the given DS_ReferralAddress.
DS_Status DS_ReferralAddress_GetDSADN(const DS_ReferralAddress *referral_address, const DS_DN **dn_p)
Get the DSA DN from the given DS_ReferralAddress.
struct DS_Referral DS_Referral
Definition: dsapi_types.h:89
DS_Status
Definition: dsapi_const.h:66
const DS_ReferralAddress * DS_Referral_GetFirstAddress(const DS_Referral *referral)
Get the first referral address from a DS_Referral.