Added: apr/site/trunk/docs/docs/apr/trunk/apr__ldap_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__ldap_8h-source.html?rev=784636&view=auto
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__ldap_8h-source.html (added)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__ldap_8h-source.html Mon Jun 15 00:01:38 2009
@@ -0,0 +1,228 @@
+
+
+
apr_ldap.h File Reference
APR-UTIL LDAP.
+
More...
+
+
+
+Go to the source code of this file.
+ |
+
Defines |
+|
+#define | APR_HAS_LDAP 0 |
+
+|
+#define | APR_HAS_NETSCAPE_LDAPSDK 0 |
+
+|
+#define | APR_HAS_SOLARIS_LDAPSDK 0 |
+
+|
+#define | APR_HAS_NOVELL_LDAPSDK 0 |
+
+|
+#define | APR_HAS_MOZILLA_LDAPSDK 0 |
+
+|
+#define | APR_HAS_OPENLDAP_LDAPSDK 0 |
+
+|
+#define | APR_HAS_MICROSOFT_LDAPSDK 0 |
+
+|
+#define | APR_HAS_TIVOLI_LDAPSDK 0 |
+
+|
+#define | APR_HAS_ZOS_LDAPSDK 0 |
+
+|
+#define | APR_HAS_OTHER_LDAPSDK 0 |
+
+
+
Detailed Description
+APR-UTIL LDAP.
+
+
+
+
+
+
apr_ldap_init.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 #ifndef APR_LDAP_INIT_H
+00022 #define APR_LDAP_INIT_H
+00023
+00024
+00025
+00026
+00027
+00028
+00029 #include "apr_ldap.h"
+00030
+00031 #if APR_HAS_LDAP
+00032
+00033 #ifdef __cplusplus
+00034 extern "C" {
+00035 #endif
+00036
+00037
+00038
+00039
+00040
+00041 #if defined(LDAP_INSUFFICIENT_ACCESS)
+00042 #define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_ACCESS
+00043 #elif defined(LDAP_INSUFFICIENT_RIGHTS)
+00044 #define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_RIGHTS
+00045 #elif defined(APR_HAS_MICROSOFT_LDAPSDK)
+00046
+00047
+00048
+00049
+00050 #define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_RIGHTS
+00051 #else
+00052 #error The security return codes must be added to support this LDAP toolkit.
+00053 #endif
+00054
+00055 #if defined(LDAP_SECURITY_ERROR)
+00056 #define APU_LDAP_SECURITY_ERROR LDAP_SECURITY_ERROR
+00057 #else
+00058 #define APU_LDAP_SECURITY_ERROR(n) \
+00059 (LDAP_INAPPROPRIATE_AUTH == n) ? 1 \
+00060 : (LDAP_INVALID_CREDENTIALS == n) ? 1 \
+00061 : (APU_LDAP_INSUFFICIENT_ACCESS == n) ? 1 \
+00062 : 0
+00063 #endif
+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 APU_DECLARE_LDAP(int) apr_ldap_ssl_init(apr_pool_t *pool,
+00090 const char *cert_auth_file,
+00091 int cert_file_type,
+00092 apr_ldap_err_t **result_err);
+00093
+00094
+00095
+00096
+00097
+00098
+00099
+00100
+00101
+00102
+00103 APU_DECLARE_LDAP(int) apr_ldap_ssl_deinit(void);
+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 APU_DECLARE_LDAP(int) apr_ldap_init(apr_pool_t *pool,
+00140 LDAP **ldap,
+00141 const char *hostname,
+00142 int portno,
+00143 int secure,
+00144 apr_ldap_err_t **result_err);
+00145
+00146
+00147
+00148
+00149
+00150
+00151
+00152
+00153
+00154 APU_DECLARE_LDAP(int) apr_ldap_info(apr_pool_t *pool,
+00155 apr_ldap_err_t **result_err);
+00156
+00157 #ifdef __cplusplus
+00158 }
+00159 #endif
+00160
+00161 #endif
+00162
+00163
+00164
+00165 #endif
+
+
+
apr_ldap_init.h File Reference
APR-UTIL LDAP ldap_init() functions.
+
More...
+
+#include "apr_ldap.h"
+
+
+Go to the source code of this file.
+
Detailed Description
+APR-UTIL LDAP ldap_init() functions.
+
+
+
+
+
+
apr_ldap_option.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 #ifndef APR_LDAP_OPTION_H
+00022 #define APR_LDAP_OPTION_H
+00023
+00024
+00025
+00026
+00027
+00028
+00029 #include "apr_ldap.h"
+00030
+00031 #if APR_HAS_LDAP
+00032
+00033 #ifdef __cplusplus
+00034 extern "C" {
+00035 #endif
+00036
+00037
+00038
+00039
+00040
+00041
+00042
+00043
+00044
+00045
+00046
+00047 #define APR_LDAP_OPT_TLS 0x6fff
+00048
+00049
+00050
+00051
+00052 #define APR_LDAP_OPT_TLS_CERT 0x6ffe
+00053
+00054
+00055
+00056
+00057 #define APR_LDAP_OPT_VERIFY_CERT 0x6ffd
+00058
+00059
+00060
+00061
+00062 #define APR_LDAP_OPT_REFERRALS 0x6ffc
+00063
+00064
+00065
+00066
+00067 #define APR_LDAP_OPT_REFHOPLIMIT 0x6ffb
+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 #define APR_LDAP_CA_TYPE_UNKNOWN 0
+00121
+00122 #define APR_LDAP_CA_TYPE_DER 1
+00123
+00124 #define APR_LDAP_CA_TYPE_BASE64 2
+00125
+00126 #define APR_LDAP_CA_TYPE_CERT7_DB 3
+00127
+00128 #define APR_LDAP_CA_TYPE_SECMOD 4
+00129
+00130 #define APR_LDAP_CERT_TYPE_UNKNOWN 5
+00131
+00132 #define APR_LDAP_CERT_TYPE_DER 6
+00133
+00134 #define APR_LDAP_CERT_TYPE_BASE64 7
+00135
+00136 #define APR_LDAP_CERT_TYPE_KEY3_DB 8
+00137
+00138 #define APR_LDAP_CERT_TYPE_NICKNAME 9
+00139
+00140 #define APR_LDAP_KEY_TYPE_UNKNOWN 10
+00141
+00142 #define APR_LDAP_KEY_TYPE_DER 11
+00143
+00144 #define APR_LDAP_KEY_TYPE_BASE64 12
+00145
+00146 #define APR_LDAP_CERT_TYPE_PFX 13
+00147
+00148 #define APR_LDAP_KEY_TYPE_PFX 14
+00149
+00150
+00151
+00152 #define APR_LDAP_CA_TYPE_CACERTDIR_BASE64 15
+00153
+00154
+00155
+00156
+00157
+00158
+00159
+00160
+00161
+00162
+00163
+00164
+00165 typedef struct apr_ldap_opt_tls_cert_t apr_ldap_opt_tls_cert_t;
+00166 struct apr_ldap_opt_tls_cert_t {
+00167 int type;
+00168 const char *path;
+00169 const char *password;
+00170 };
+00171
+00172
+00173
+00174
+00175
+00176
+00177
+00178
+00179
+00180
+00181
+00182
+00183
+00184
+00185
+00186
+00187
+00188
+00189
+00190
+00191
+00192
+00193
+00194
+00195
+00196
+00197 #define APR_LDAP_NONE 0
+00198
+00199 #define APR_LDAP_SSL 1
+00200
+00201 #define APR_LDAP_STARTTLS 2
+00202
+00203 #define APR_LDAP_STOPTLS 3
+00204
+00205
+00206
+00207
+00208
+00209
+00210
+00211
+00212
+00213
+00214
+00215
+00216
+00217 APU_DECLARE_LDAP(int) apr_ldap_get_option(apr_pool_t *pool,
+00218 LDAP *ldap,
+00219 int option,
+00220 void *outvalue,
+00221 apr_ldap_err_t **result_err);
+00222
+00223
+00224
+00225
+00226
+00227
+00228
+00229
+00230
+00231
+00232
+00233
+00234
+00235
+00236
+00237
+00238
+00239 APU_DECLARE_LDAP(int) apr_ldap_set_option(apr_pool_t *pool,
+00240 LDAP *ldap,
+00241 int option,
+00242 const void *invalue,
+00243 apr_ldap_err_t **result_err);
+00244
+00245 #ifdef __cplusplus
+00246 }
+00247 #endif
+00248
+00249 #endif
+00250
+00251
+00252
+00253 #endif
+00254
+
+
+
apr_ldap_option.h File Reference
APR-UTIL LDAP ldap_*_option() functions.
+
More...
+
+#include "apr_ldap.h"
+
+
+Go to the source code of this file.
+
Detailed Description
+APR-UTIL LDAP ldap_*_option() functions.
+
+
+