~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to modules/ldapbackend/powerldap.hh

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2006-05-06 10:40:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060506104044-v9hczzfl7dcri6qt
Tags: 2.9.20-3
Disable the recursor, this is in a separate package now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <lber.h>
30
30
#include <ldap.h>
31
31
 
 
32
#ifdef HAVE_CONFIG_H
 
33
#include <config.h>
 
34
#endif
 
35
 
 
36
#ifdef HAVE_STDINT_H
 
37
#include <stdint.h>
 
38
#else
 
39
#include <sys/types.h>
 
40
#endif
 
41
 
32
42
 
33
43
 
34
44
#ifndef POWERLDAP_HH
69
79
        typedef map<string, vector<string> > sentry_t;
70
80
        typedef vector<sentry_t> sresult_t;
71
81
 
72
 
        PowerLDAP( const string& host = "127.0.0.1", uint16_t port = LDAP_PORT, bool tls = false );
 
82
        PowerLDAP( const string& hosts = "ldap://127.0.0.1/", uint16_t port = LDAP_PORT, bool tls = false );
73
83
        ~PowerLDAP();
74
84
 
75
85
        void getOption( int option, int* value );