From 43939383f2324840b5f2ebecfed5e23cbf1e4aa1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Sun, 10 Apr 2011 11:22:34 +0000 Subject: [PATCH] added TODOs --- src/mesh/mesh_api.c | 5 +++++ src/vpn/gnunet-daemon-exit.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 12759f2a7..68b2e587d 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -313,6 +313,9 @@ receive_hello (void *cls, element = element->next; } + /* TODO: handle self */ + /* TODO: add, not replace! */ + /* TODO: if this changes anything: send new hello */ element->num_types = *num; element->types = GNUNET_malloc (*num * sizeof (GNUNET_MESH_ApplicationType)); @@ -657,6 +660,8 @@ GNUNET_MESH_connect (const struct memcpy (ret->handlers, handlers, len * sizeof (struct GNUNET_MESH_MessageHandler)); + /* TODO: build hello */ + const static struct GNUNET_CORE_MessageHandler core_handlers[] = { {&core_receive, GNUNET_MESSAGE_TYPE_MESH, 0}, {&receive_hello, GNUNET_MESSAGE_TYPE_MESH_HELLO, 0}, diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c index ee1080fca..c7d851cb3 100644 --- a/src/vpn/gnunet-daemon-exit.c +++ b/src/vpn/gnunet-daemon-exit.c @@ -462,7 +462,7 @@ read_service_conf (void *cls, const char *section, const char *option, } else { - // Lookup, yadayadayada + // TODO Lookup, yadayadayada GNUNET_assert (0); } serv->remote_port = atoi (hostport); -- 2.25.1