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
All filters declare a yp2_filter_struct - used for both static and
[metaproxy-moved-to-github.git]
/
src
/
filter_frontend_net.cpp
diff --git
a/src/filter_frontend_net.cpp
b/src/filter_frontend_net.cpp
index
68f28ba
..
8aa35a2
100644
(file)
--- a/
src/filter_frontend_net.cpp
+++ b/
src/filter_frontend_net.cpp
@@
-1,4
+1,4
@@
-/* $Id: filter_frontend_net.cpp,v 1.9 2005-11-07 21:57:10 adam Exp $
+/* $Id: filter_frontend_net.cpp,v 1.10 2006-01-04 11:19:04 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-285,6
+285,19
@@
int &yp2::filter::FrontendNet::listen_duration()
return m_listen_duration;
}
return m_listen_duration;
}
+static yp2::filter::Base* filter_creator()
+{
+ return new yp2::filter::FrontendNet;
+}
+
+extern "C" {
+ const struct yp2_filter_struct yp2_filter_frontend_net = {
+ 0,
+ "frontend_net",
+ filter_creator
+ };
+}
+
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4