~ubuntu-branches/ubuntu/trusty/apr-util/trusty

« back to all changes in this revision

Viewing changes to include/apr_ldap.hnw

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-03-26 22:25:48 UTC
  • mto: (4.1.1 squeeze) (20.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20090326222548-v103269kb84vo0ub
Tags: upstream-1.3.4+dfsg
ImportĀ upstreamĀ versionĀ 1.3.4+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
#ifdef GENEXPORTS
68
68
#define LDAP_VERSION_MAX 3
 
69
#define LDAP_INSUFFICIENT_ACCESS
69
70
#else
70
71
#include <lber.h>
71
72
#include <ldap.h>
123
124
}
124
125
#endif
125
126
 
 
127
#define APR_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN)
 
128
 
 
129
/* These symbols are not actually exported in a DSO build, but mapped into
 
130
 * a private exported function array for apr_ldap_stub to bind dynamically.
 
131
 * Rename them appropriately to protect the global namespace.
 
132
 */
 
133
#ifdef APU_DSO_LDAP_BUILD
 
134
 
 
135
#define apr_ldap_info apr__ldap_info
 
136
#define apr_ldap_init apr__ldap_init
 
137
#define apr_ldap_ssl_init apr__ldap_ssl_init
 
138
#define apr_ldap_ssl_deinit apr__ldap_ssl_deinit
 
139
#define apr_ldap_get_option apr__ldap_get_option
 
140
#define apr_ldap_set_option apr__ldap_set_option
 
141
#define apr_ldap_rebind_init apr__ldap_rebind_init
 
142
#define apr_ldap_rebind_add apr__ldap_rebind_add
 
143
#define apr_ldap_rebind_remove apr__ldap_rebind_remove
 
144
 
 
145
#define APU_DECLARE_LDAP(type) type
 
146
#else
 
147
#define APU_DECLARE_LDAP(type) APU_DECLARE(type)
 
148
#endif
 
149
 
126
150
#include "apr_ldap_url.h"
127
151
#include "apr_ldap_init.h"
128
152
#include "apr_ldap_option.h"
 
153
#include "apr_ldap_rebind.h"
129
154
 
130
155
/** @} */
131
156
#endif /* APR_HAS_LDAP */