Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / src / router_flexml.hpp
index 2a385d7..9b5d890 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2012 Index Data
+   Copyright (C) Index Data
 
 Metaproxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -27,9 +27,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 #include <boost/scoped_ptr.hpp>
 
-namespace metaproxy_1 
+namespace metaproxy_1
 {
-    class RouterFleXML : public metaproxy_1::Router 
+    class RouterFleXML : public metaproxy_1::Router
     {
         class Rep;
         class Route;
@@ -39,16 +39,16 @@ namespace metaproxy_1
             bool test_only);
         RouterFleXML(xmlDocPtr doc, metaproxy_1::FactoryFilter &factory,
                      bool test_only, const char *file_include_path);
-        
+
         ~RouterFleXML();
 
         virtual RoutePos *createpos() const;
         void start();
-        void stop();
+        void stop(int signo);
     private:
         boost::scoped_ptr<Rep> m_p;
     };
+
 };
 #endif