X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=f94e1bf54325164bc1987d7885ba3be7a2db2be1;hb=677a15e766a782dd2064451213e4fe484784c5ee;hp=2b95aa95ed33b2789e210d177e5b07f0efab28c3;hpb=43f83ff3bbbb31c8fee9ba67da5a89f9cddf0ae7;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index 2b95aa9..f94e1bf 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -1,9 +1,23 @@ -/* $Id: factory_static.cpp,v 1.5 2006-01-12 10:04:34 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: factory_static.cpp,v 1.18 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% +This file is part of Metaproxy. -*/ +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 Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. + */ #include #include @@ -18,24 +32,44 @@ #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" + +namespace mp = metaproxy_1; -yp2::FactoryStatic::FactoryStatic() +mp::FactoryStatic::FactoryStatic() { - struct yp2_filter_struct *buildins[] = { - &yp2_filter_auth_simple, - &yp2_filter_backend_test, - &yp2_filter_frontend_net, - &yp2_filter_log, - &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, 0 }; int i;