metaproxy
1.22.4
src
filter_dl.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 "
config.hpp
"
20
21
#include <metaproxy/filter.hpp>
22
#include <metaproxy/package.hpp>
23
24
namespace
mp
=
metaproxy_1
;
25
26
namespace
metaproxy_1
{
27
namespace
filter
{
28
class
Filter_dl
:
public
mp::filter::Base {
29
public
:
30
void
process
(mp::Package & package)
const
;
31
void
configure
(
const
xmlNode * ptr,
bool
test_only,
32
const
char
*path);
33
};
34
}
35
}
36
37
void
mp::filter::Filter_dl::process
(mp::Package & package)
const
38
{
39
}
40
41
void
mp::filter::Filter_dl::configure
(
const
xmlNode * ptr,
bool
test_only,
42
const
char
*path)
43
{
44
mp::xml::check_empty(ptr);
45
}
46
47
static
mp::filter::Base*
filter_creator
()
48
{
49
return
new
mp::filter::Filter_dl
;
50
}
51
52
extern
"C"
{
53
struct
metaproxy_1_filter_struct
metaproxy_1_filter_dl
= {
54
0,
55
"dl"
,
56
filter_creator
57
};
58
}
59
60
/*
61
* Local variables:
62
* c-basic-offset: 4
63
* c-file-style: "Stroustrup"
64
* indent-tabs-mode: nil
65
* End:
66
* vim: shiftwidth=4 tabstop=8 expandtab
67
*/
68
metaproxy_1::filter::Filter_dl
Definition
filter_dl.cpp:28
metaproxy_1::filter::Filter_dl::configure
void configure(const xmlNode *ptr, bool test_only, const char *path)
Definition
filter_dl.cpp:41
metaproxy_1::filter::Filter_dl::process
void process(mp::Package &package) const
Definition
filter_dl.cpp:37
config.hpp
filter_creator
static mp::filter::Base * filter_creator()
Definition
filter_auth_simple.cpp:427
metaproxy_1_filter_dl
struct metaproxy_1_filter_struct metaproxy_1_filter_dl
Definition
filter_dl.cpp:53
metaproxy_1::filter
Definition
filter_auth_simple.cpp:39
metaproxy_1
Definition
factory_filter.cpp:33
Generated by
1.16.1