added TODOs
authorPhilipp Tölke <toelke@in.tum.de>
Sun, 10 Apr 2011 11:22:34 +0000 (11:22 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Sun, 10 Apr 2011 11:22:34 +0000 (11:22 +0000)
src/mesh/mesh_api.c
src/vpn/gnunet-daemon-exit.c

index 12759f2a749dc7d04204fd179a0069d856fdfcc4..68b2e587dd146ba4d7ba153d36f88abf72066a6e 100644 (file)
@@ -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},
index ee1080fcada0bf87ce245228943d5b7833d98a96..c7d851cb3356aaa94e15297d2a342f248c1f654f 100644 (file)
@@ -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);