X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=d34eed6ab2e5f5d1220832a79d41b81cbf10b042;hb=c1d953eee6c00432493bc364da6284704ccd9cc2;hp=186dbf602f7688397c619a8056407a78eac2bb9d;hpb=b70b9ec78f0ab1c3ed3b432de986159129a0e4ed;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index 186dbf6..d34eed6 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -1,7 +1,19 @@ -/* $Id: factory_static.cpp,v 1.17 2007-01-25 14:05:54 adam Exp $ - Copyright (c) 2005-2007, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2011 Index Data - See the LICENSE file for details +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 +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy 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 @@ -10,17 +22,21 @@ #include "factory_static.hpp" #include "config.hpp" -#include "filter.hpp" -#include "package.hpp" +#include +#include #include "factory_filter.hpp" #include "filter_auth_simple.hpp" #include "filter_backend_test.hpp" #include "filter_bounce.hpp" +#ifndef WIN32 +#include "filter_cgi.hpp" +#endif #include "filter_cql_to_rpn.hpp" #include "filter_frontend_net.hpp" #include "filter_http_file.hpp" +#include "filter_limit.hpp" #include "filter_load_balance.hpp" #include "filter_log.hpp" #include "filter_multi.hpp" @@ -41,9 +57,13 @@ mp::FactoryStatic::FactoryStatic() &metaproxy_1_filter_auth_simple, &metaproxy_1_filter_backend_test, &metaproxy_1_filter_bounce, +#ifndef WIN32 + &metaproxy_1_filter_cgi, +#endif &metaproxy_1_filter_cql_to_rpn, &metaproxy_1_filter_frontend_net, &metaproxy_1_filter_http_file, + &metaproxy_1_filter_limit, &metaproxy_1_filter_load_balance, &metaproxy_1_filter_log, &metaproxy_1_filter_multi, @@ -67,8 +87,9 @@ mp::FactoryStatic::FactoryStatic() /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +