X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=b8599ea496c253182600aafb38971fca86e8e630;hb=ddc156360c0c46ef669accde05fea1106cc6b244;hp=b4e0aedd67c6db5388824a69226b98dd727ac7ca;hpb=872baf038ffe10f670ba45082c6911201e2ac4cb;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index b4e0aed..b8599ea 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -1,7 +1,19 @@ -/* $Id: factory_static.cpp,v 1.8 2006-03-15 14:55:17 adam Exp $ - Copyright (c) 2005, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2009 Index Data -%LICENSE% +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 @@ -17,30 +29,46 @@ #include "filter_auth_simple.hpp" #include "filter_backend_test.hpp" +#include "filter_bounce.hpp" +#include "filter_cql_to_rpn.hpp" #include "filter_frontend_net.hpp" #include "filter_http_file.hpp" +#include "filter_load_balance.hpp" #include "filter_log.hpp" #include "filter_multi.hpp" #include "filter_query_rewrite.hpp" +#include "filter_record_transform.hpp" #include "filter_session_shared.hpp" +#include "filter_sru_to_z3950.hpp" #include "filter_template.hpp" #include "filter_virt_db.hpp" #include "filter_z3950_client.hpp" +#include "filter_zeerex_explain.hpp" +#include "filter_limit.hpp" -yp2::FactoryStatic::FactoryStatic() +namespace mp = metaproxy_1; + +mp::FactoryStatic::FactoryStatic() { - struct yp2_filter_struct *buildins[] = { - &yp2_filter_auth_simple, - &yp2_filter_backend_test, - &yp2_filter_frontend_net, - &yp2_filter_http_file, - &yp2_filter_log, - &yp2_filter_multi, - &yp2_filter_query_rewrite, - &yp2_filter_session_shared, - &yp2_filter_template, - &yp2_filter_virt_db, - &yp2_filter_z3950_client, + struct metaproxy_1_filter_struct *buildins[] = { + &metaproxy_1_filter_auth_simple, + &metaproxy_1_filter_backend_test, + &metaproxy_1_filter_bounce, + &metaproxy_1_filter_cql_to_rpn, + &metaproxy_1_filter_frontend_net, + &metaproxy_1_filter_http_file, + &metaproxy_1_filter_load_balance, + &metaproxy_1_filter_log, + &metaproxy_1_filter_multi, + &metaproxy_1_filter_query_rewrite, + &metaproxy_1_filter_record_transform, + &metaproxy_1_filter_session_shared, + &metaproxy_1_filter_sru_to_z3950, + &metaproxy_1_filter_template, + &metaproxy_1_filter_virt_db, + &metaproxy_1_filter_z3950_client, + &metaproxy_1_filter_zeerex_explain, + &metaproxy_1_filter_limit, 0 }; int i; @@ -53,8 +81,9 @@ yp2::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 */ +