1 /* This file is part of Metaproxy.
2 Copyright (C) 2005-2013 Index Data
4 Metaproxy is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
9 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #include "factory_static.hpp"
25 #include <metaproxy/filter.hpp>
26 #include <metaproxy/package.hpp>
28 #include "factory_filter.hpp"
30 #include "filter_auth_simple.hpp"
31 #include "filter_backend_test.hpp"
32 #include "filter_bounce.hpp"
34 #include "filter_cgi.hpp"
36 #include "filter_cql_to_rpn.hpp"
37 #include "filter_frontend_net.hpp"
38 #include "filter_http_client.hpp"
39 #include "filter_http_file.hpp"
40 #include "filter_http_rewrite1.hpp"
41 #include "filter_limit.hpp"
42 #include "filter_load_balance.hpp"
43 #include "filter_log.hpp"
44 #include "filter_multi.hpp"
45 #include "filter_present_chunk.hpp"
46 #include "filter_query_rewrite.hpp"
47 #include "filter_record_transform.hpp"
48 #include "filter_sd_remove.hpp"
49 #include "filter_session_shared.hpp"
50 #include "filter_sort.hpp"
51 #include "filter_sru_to_z3950.hpp"
52 #include "filter_template.hpp"
53 #include "filter_virt_db.hpp"
54 #include "filter_z3950_client.hpp"
55 #include "filter_zeerex_explain.hpp"
56 #include "filter_zoom.hpp"
57 #include "filter_http_rewrite.hpp"
59 namespace mp = metaproxy_1;
61 mp::FactoryStatic::FactoryStatic()
63 struct metaproxy_1_filter_struct *buildins[] = {
64 &metaproxy_1_filter_auth_simple,
65 &metaproxy_1_filter_backend_test,
66 &metaproxy_1_filter_bounce,
68 &metaproxy_1_filter_cgi,
70 &metaproxy_1_filter_cql_rpn,
71 &metaproxy_1_filter_frontend_net,
72 &metaproxy_1_filter_http_client,
73 &metaproxy_1_filter_http_file,
74 &metaproxy_1_filter_http_rewrite1,
75 &metaproxy_1_filter_limit,
76 &metaproxy_1_filter_load_balance,
77 &metaproxy_1_filter_log,
78 &metaproxy_1_filter_multi,
79 &metaproxy_1_filter_present_chunk,
80 &metaproxy_1_filter_query_rewrite,
81 &metaproxy_1_filter_record_transform,
82 &metaproxy_1_filter_sd_remove,
83 &metaproxy_1_filter_session_shared,
84 &metaproxy_1_filter_sort,
85 &metaproxy_1_filter_sru_z3950,
86 &metaproxy_1_filter_template,
87 &metaproxy_1_filter_virt_db,
88 &metaproxy_1_filter_z3950_client,
89 &metaproxy_1_filter_zeerex_explain,
90 &metaproxy_1_filter_zoom,
91 &metaproxy_1_filter_http_rewrite,
96 for (i = 0; buildins[i]; i++)
97 add_creator(buildins[i]->type, buildins[i]->creator);
104 * c-file-style: "Stroustrup"
105 * indent-tabs-mode: nil
107 * vim: shiftwidth=4 tabstop=8 expandtab