From: Bert Hubert Date: Sun, 27 Mar 2011 20:10:42 +0000 (+0000) Subject: add some missing GPL repetitions X-Git-Tag: auth-3.0~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ea9281e58b11f020be3aca2a452f5ee921d6af0;p=pdns add some missing GPL repetitions git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2102 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index 0bcaea757..7e244c0cf 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -1,3 +1,21 @@ +/* + PowerDNS Versatile Database Driven Nameserver + Copyright (C) 2002-2011 PowerDNS.COM BV + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + // $Id$ #ifdef WIN32 # pragma warning ( disable: 4786 ) diff --git a/pdns/dnsseckeeper.hh b/pdns/dnsseckeeper.hh index 9281bb414..db93944b5 100644 --- a/pdns/dnsseckeeper.hh +++ b/pdns/dnsseckeeper.hh @@ -1,5 +1,23 @@ #ifndef PDNSDNSSECKEEPER_HH #define PDNSDNSSECKEEPER_HH +/* + PowerDNS Versatile Database Driven Nameserver + Copyright (C) 2002-2011 PowerDNS.COM BV + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include #include #include @@ -69,9 +87,9 @@ public: (*d_keymetadb.backends.begin())->commitTransaction(); } - -private: void getFromMeta(const std::string& zname, const std::string& key, std::string& value); +private: + struct KeyCacheEntry { @@ -127,4 +145,6 @@ private: static pthread_mutex_t s_keycachelock; }; +class DNSPacket; +bool editSOA(DNSSECKeeper& dk, const string& qname, DNSPacket* dp); #endif