along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef PDNS_BINDBACKEND_HH
+#define PDNS_BINDBACKEND_HH
+
#include <string>
#include <map>
#include <set>
void loadConfig(string *status=0);
static void nukeZoneRecords(BB2DomainInfo *bbd);
};
+
+#endif /* PDNS_BINDBACKEND_HH */
*
* $Id$
*/
-
+#ifndef PDNS_GEOBACKEND_HH
+#define PDNS_GEOBACKEND_HH
#include <vector>
#include <map>
};
static GeoLoader geoloader;
+
+#endif /* PDNS_GEOBACKEND_HH */
*
* $Id$
*/
+#ifndef PDNS_IPPREFTREE_HH
+#define PDNS_IPPREFTREE_HH
#include <string>
#include <sys/types.h>
string reason;
};
+
+#endif /* PDNS_IPPREFTREE_HH */
+#ifndef PDNS_GEOIPBACKEND_HH
+#define PDNS_GEOIPBACKEND_HH
+
#include "config.h"
#include "pdns/namespaces.hh"
vector<DNSResourceRecord> d_result;
};
+
+#endif /* PDNS_GEOIPBACKEND_HH */
+#ifndef PDNS_GMYSQLBACKEND_HH
+#define PDNS_GMYSQLBACKEND_HH
+
#include <string>
#include <map>
#include "pdns/backends/gsql/gsqlbackend.hh"
public:
gMySQLBackend(const string &mode, const string &suffix); //!< Makes our connection to the database. Throws an exception if it fails.
};
+
+#endif /* PDNS_GMYSQLBACKEND_HH */
+#ifndef PDNS_GORACLEBACKEND_HH
+#define PDNS_GORACLEBACKEND_HH
+
#include <string>
#include <map>
#include "pdns/backends/gsql/gsqlbackend.hh"
gOracleBackend(const string &mode, const string &suffix); //!< Makes our connection to the database. Throws an exception if it fails.
virtual string sqlEscape(const string &name);
};
+
+#endif /* PDNS_GORACLEBACKEND_HH */
+#ifndef PDNS_GPGSQLBACKEND_HH
+#define PDNS_GPGSQLBACKEND_HH
+
#include <string>
#include <map>
#include "pdns/backends/gsql/gsqlbackend.hh"
public:
gPgSQLBackend(const string &mode, const string &suffix); //!< Makes our connection to the database. Throws an exception if it fails.
};
+
+#endif /* PDNS_GPGSQLBACKEND_HH */
* LMDBBackend - a high performance LMDB based backend for PowerDNS written by
* Mark Zealey, 2013
*/
+#ifndef PDNS_LMDBBACKEND_HH
+#define PDNS_LMDBBACKEND_HH
#include <lmdb.h>
#include <pthread.h>
bool getAuthZone( string &rev_zone );
bool getAuthData( SOAData &, DNSPacket *);
};
+
+#endif /* PDNS_LMDBBACKEND_HH */
-// $Id$
/*
* Copyright (c) 2010-2011
*
* Karlsruhe Institute of Technology <http://www.kit.edu/>
*
*/
+#ifndef PDNS_ORACLEBACKEND_HH
+#define PDNS_ORACLEBACKEND_HH
#include <string>
#include <map>
};
-/* vi: set sw=2 et : */
+#endif /* PDNS_ORACLEBACKEND_HH */
+#ifndef PDNS_GSQLBACKEND_HH
+#define PDNS_GSQLBACKEND_HH
+
#include <string>
#include <map>
#include "ssql.hh"
protected:
bool d_dnssecQueries;
};
+
+#endif /* PDNS_GSQLBACKEND_HH */
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#pragma once
+#ifndef PDNS_COMMENT_HH
+#define PDNS_COMMENT_HH
+
#include "utility.hh"
#include "qtype.hh"
#include <sys/types.h>
string account; //!< account last updating this comment
string content; //!< The actual comment. Example: blah blah
};
+
+#endif /* PDNS_COMMENT_HH */
+#ifndef PDNS_PKCS11SIGNERS_HH
+#define PDNS_PKCS11SIGNERS_HH
+
class PKCS11DNSCryptoKeyEngine : public DNSCryptoKeyEngine
{
protected:
static DNSCryptoKeyEngine* maker(unsigned int algorithm);
};
+#endif /* PDNS_PKCS11SIGNERS_HH */
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef PDNS_RESOLVER_HH
+#define PDNS_RESOLVER_HH
#include <string>
#include <vector>
}
};
+#endif /* PDNS_RESOLVER_HH */
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef PDNS_WSAPI_HH
+#define PDNS_WSAPI_HH
+
#include <map>
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
// To be provided by product code.
void productServerStatisticsFetch(std::map<string,string>& out);
+
+#endif /* PDNS_WSAPI_HH */
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef PDNS_WSRECURSOR_HH
+#define PDNS_WSRECURSOR_HH
+
#include <boost/utility.hpp>
#include "namespaces.hh"
#include "mplexer.hh"
private:
AsyncWebServer* d_ws;
};
+
+#endif /* PDNS_WSRECURSOR_HH */