From: Peter van Dijk Date: Tue, 4 Feb 2014 12:28:59 +0000 (+0100) Subject: update list() prototype for ldapbackend X-Git-Tag: rec-3.6.0-rc1~208 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c24fa39f0860f0a0d561e283afb90ffe0f413c00;p=thirdparty%2Fpdns.git update list() prototype for ldapbackend --- diff --git a/modules/ldapbackend/ldapbackend.cc b/modules/ldapbackend/ldapbackend.cc index 8dc3c204d7..1649627999 100644 --- a/modules/ldapbackend/ldapbackend.cc +++ b/modules/ldapbackend/ldapbackend.cc @@ -86,7 +86,7 @@ LdapBackend::~LdapBackend() -bool LdapBackend::list( const string& target, int domain_id ) +bool LdapBackend::list( const string& target, int domain_id, bool include_disabled ) { try { diff --git a/modules/ldapbackend/ldapbackend.hh b/modules/ldapbackend/ldapbackend.hh index c84aed9751..d563a8361d 100644 --- a/modules/ldapbackend/ldapbackend.hh +++ b/modules/ldapbackend/ldapbackend.hh @@ -132,7 +132,7 @@ public: LdapBackend( const string &suffix="" ); ~LdapBackend(); - bool list( const string& target, int domain_id ); + bool list( const string& target, int domain_id, bool include_disabled=false ); void lookup( const QType& qtype, const string& qdomain, DNSPacket* p = 0, int zoneid = -1 ); bool get( DNSResourceRecord& rr ); };