diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-15 12:21:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-15 12:21:02 +0000 |
commit | 6cc0ff803561b9c05736781042811d73d75761b2 (patch) | |
tree | 1adb1dbbf255121b6cb61081ad61142eb01e4283 /src/transport/test_plugin_transport.c | |
parent | d0b168fc1bffe5d18261ffeb4b7fe9e3c3bd1f9b (diff) | |
download | gnunet-6cc0ff803561b9c05736781042811d73d75761b2.tar.gz gnunet-6cc0ff803561b9c05736781042811d73d75761b2.zip |
fix
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 2cca79cb0..283312bfe 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -93,7 +93,7 @@ static int ok; | |||
93 | * Initialize Environment for this plugin | 93 | * Initialize Environment for this plugin |
94 | */ | 94 | */ |
95 | struct ReadyList * | 95 | struct ReadyList * |
96 | receive(void *cls,void *plugin_context, | 96 | receive(void *cls, |
97 | struct ReadyList * | 97 | struct ReadyList * |
98 | service_context, | 98 | service_context, |
99 | struct GNUNET_TIME_Relative | 99 | struct GNUNET_TIME_Relative |
@@ -116,17 +116,6 @@ void notify_address(void *cls, | |||
116 | { | 116 | { |
117 | } | 117 | } |
118 | 118 | ||
119 | void lookup (void *cls, | ||
120 | struct GNUNET_TIME_Relative | ||
121 | timeout, | ||
122 | const struct | ||
123 | GNUNET_PeerIdentity * target, | ||
124 | GNUNET_TRANSPORT_AddressCallback | ||
125 | iter, void *iter_cls) | ||
126 | { | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | 119 | /** |
131 | * Function called when the service shuts | 120 | * Function called when the service shuts |
132 | * down. Unloads our plugins. | 121 | * down. Unloads our plugins. |
@@ -243,7 +232,6 @@ static void setup_plugin_environment() | |||
243 | env.my_identity = &my_identity; | 232 | env.my_identity = &my_identity; |
244 | env.cls=&env; | 233 | env.cls=&env; |
245 | env.receive=&receive; | 234 | env.receive=&receive; |
246 | env.lookup=&lookup; | ||
247 | env.notify_address=¬ify_address; | 235 | env.notify_address=¬ify_address; |
248 | env.notify_validation = &validation_notification; | 236 | env.notify_validation = &validation_notification; |
249 | env.max_connections = max_connect_per_transport; | 237 | env.max_connections = max_connect_per_transport; |