projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for scan authorisation.
[metaproxy-moved-to-github.git]
/
src
/
filter_dl.cpp
diff --git
a/src/filter_dl.cpp
b/src/filter_dl.cpp
index
7ce559b
..
6b4802a
100644
(file)
--- a/
src/filter_dl.cpp
+++ b/
src/filter_dl.cpp
@@
-1,4
+1,4
@@
-/* $Id: filter_dl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $
+/* $Id: filter_dl.cpp,v 1.4 2006-01-09 21:20:15 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-7,7
+7,6
@@
#include "config.hpp"
#include "filter.hpp"
#include "config.hpp"
#include "filter.hpp"
-#include "router.hpp"
#include "package.hpp"
namespace yp2 {
#include "package.hpp"
namespace yp2 {
@@
-21,7
+20,7
@@
namespace yp2 {
void yp2::filter::Filter_dl::process(yp2::Package & package) const
{
void yp2::filter::Filter_dl::process(yp2::Package & package) const
{
- package.data() = 42;
+ package.data() = 42; // magic checked in test_filter_factory
}
static yp2::filter::Base* filter_creator()
}
static yp2::filter::Base* filter_creator()
@@
-32,6
+31,7
@@
static yp2::filter::Base* filter_creator()
extern "C" {
struct yp2_filter_struct yp2_filter_dl = {
0,
extern "C" {
struct yp2_filter_struct yp2_filter_dl = {
0,
+ "dl",
filter_creator
};
}
filter_creator
};
}