]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
adapt notify to changes in merge of #1291
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 24 Feb 2014 09:33:16 +0000 (09:33 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 24 Feb 2014 09:33:16 +0000 (09:33 +0000)
pdns/Makefile.am
pdns/notify.cc

index 3f884a5240fe436934964a54409028fd4b574fa8..3c434707292fb9ad140784a3da1d424d0ee72f9b 100644 (file)
@@ -238,7 +238,7 @@ nproxy_LDADD= $(BOOST_PROGRAM_OPTIONS_LIBS)
 notify_SOURCES=notify.cc dnsparser.cc dnsrecords.cc dnsparser.hh  \
        rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh dnswriter.cc dnslabeltext.cc dnswriter.hh \
        sillyrecords.cc selectmplexer.cc nsecrecords.cc base32.cc misc.cc unix_utility.cc \
-       logger.cc qtype.cc statbag.cc
+       logger.cc qtype.cc statbag.cc dns.cc arguments.cc
 
 notify_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@ $(BOOST_PROGRAM_OPTIONS_LDFLAGS)
 notify_LDADD= $(BOOST_PROGRAM_OPTIONS_LIBS)
index acb60c05ad9a247b88b87eac8204df02adaf6085..6f1eaed5b5c7ab545db46e2d1a6fd377601d42a5 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "mplexer.hh"
 #include "statbag.hh"
+#include "arguments.hh"
 
 #include "namespaces.hh"
 using namespace ::boost::multi_index;
@@ -21,6 +22,11 @@ namespace po = boost::program_options;
 po::variables_map g_vm;
 
 StatBag S;
+ArgvMap &arg()
+{
+  static ArgvMap arg;
+  return arg;
+}
 
 int main(int argc, char** argv)
 try