#ifndef LDAP_PRIVATE_H
#define LDAP_PRIVATE_H
#include "iostream-ssl.h"
#include "ldap-client.h"
#include <ldap.h>
#define DOVE_LDAP_CONTINUE 0
struct ldap_connection;
struct ldap_result;
struct ldap_op_queue_entry;
/* Handle an LDAP response. Returns 0 on success, otherwise the OpenLDAP error
number. */
struct ldap_op_queue_entry *entry,
/* Send the request. Returns 0 on success, otherwise the OpenLDAP error number
and sets error_r string. */
struct ldap_op_queue_entry *entry,
const char **error_r);
struct ldap_op_queue_entry {
void *ctx;
int msgid;
unsigned int timeout_secs;
void *result_callback_ctx;
struct {
} input;
};
struct ldap_connection {
enum {
} state;
unsigned int sent;
unsigned int pending;
};
struct ldap_attribute {
const char *name;
};
struct ldap_entry {
char *dn;
const char *const *attr_names;
};
struct ldap_result {
int openldap_ret;
bool compare_true;
const char *error_string;
};
struct ldap_search_iterator {
unsigned int idx;
};
const struct ldap_client_settings *set,
const struct ldap_client_settings *set);
const struct ldap_search_input *input,
void *context);
const struct ldap_compare_input *input,
void *context);
#endif