metaproxy  1.13.0
factory_static.cpp
Go to the documentation of this file.
1 /* This file is part of Metaproxy.
2  Copyright (C) Index Data
3 
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
7 version.
8 
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
12 for more details.
13 
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
17 */
18 
19 #include <iostream>
20 #include <stdexcept>
21 
22 #include "factory_static.hpp"
23 
24 #include "config.hpp"
25 #include <metaproxy/filter.hpp>
26 #include <metaproxy/package.hpp>
27 
28 #include "factory_filter.hpp"
29 
30 #include "filter_auth_simple.hpp"
31 #include "filter_backend_test.hpp"
32 #include "filter_bounce.hpp"
33 #ifndef WIN32
34 #include "filter_cgi.hpp"
35 #endif
36 #include "filter_cql_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"
48 #include "filter_sd_remove.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"
56 #include "filter_zoom.hpp"
57 #include "filter_http_rewrite.hpp"
58 
59 namespace mp = metaproxy_1;
60 
62 {
63  struct metaproxy_1_filter_struct *buildins[] = {
67 #ifndef WIN32
69 #endif
92  0
93  };
94  int i;
95 
96  for (i = 0; buildins[i]; i++)
97  add_creator(buildins[i]->type, buildins[i]->creator);
98 }
99 
100 
101 /*
102  * Local variables:
103  * c-basic-offset: 4
104  * c-file-style: "Stroustrup"
105  * indent-tabs-mode: nil
106  * End:
107  * vim: shiftwidth=4 tabstop=8 expandtab
108  */
109 
struct metaproxy_1_filter_struct metaproxy_1_filter_bounce
struct metaproxy_1_filter_struct metaproxy_1_filter_record_transform
struct metaproxy_1_filter_struct metaproxy_1_filter_http_rewrite1
struct metaproxy_1_filter_struct metaproxy_1_filter_http_rewrite
struct metaproxy_1_filter_struct metaproxy_1_filter_session_shared
struct metaproxy_1_filter_struct metaproxy_1_filter_cgi
Definition: filter_cgi.cpp:361
struct metaproxy_1_filter_struct metaproxy_1_filter_template
struct metaproxy_1_filter_struct metaproxy_1_filter_sru_z3950
struct metaproxy_1_filter_struct metaproxy_1_filter_http_file
struct metaproxy_1_filter_struct metaproxy_1_filter_zeerex_explain
struct metaproxy_1_filter_struct metaproxy_1_filter_log
Definition: filter_log.cpp:878
bool add_creator(const std::string &fi, CreateFilterCallback cfc)
struct metaproxy_1_filter_struct metaproxy_1_filter_sd_remove
struct metaproxy_1_filter_struct metaproxy_1_filter_cql_rpn
struct metaproxy_1_filter_struct metaproxy_1_filter_load_balance
struct metaproxy_1_filter_struct metaproxy_1_filter_http_client
struct metaproxy_1_filter_struct metaproxy_1_filter_auth_simple
struct metaproxy_1_filter_struct metaproxy_1_filter_frontend_net
struct metaproxy_1_filter_struct metaproxy_1_filter_sort
struct metaproxy_1_filter_struct metaproxy_1_filter_virt_db
struct metaproxy_1_filter_struct metaproxy_1_filter_zoom
struct metaproxy_1_filter_struct metaproxy_1_filter_backend_test
struct metaproxy_1_filter_struct metaproxy_1_filter_present_chunk
struct metaproxy_1_filter_struct metaproxy_1_filter_multi
struct metaproxy_1_filter_struct metaproxy_1_filter_query_rewrite
struct metaproxy_1_filter_struct metaproxy_1_filter_z3950_client
struct metaproxy_1_filter_struct metaproxy_1_filter_limit