expose our hello to plugins
[oweals/gnunet.git] / src / fs / fs_list_indexed.c
index 9ef205ca0269553a4466be870b93d58edd603686..5850fd94ef633628d209bf916d25af09102270c5 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -91,11 +91,10 @@ handle_index_info (void *cls,
                  "GET_INDEXED",
                  "fs");
       GNUNET_SCHEDULER_add_continuation (gic->h->sched,
-                                        GNUNET_NO,
                                         gic->cont,
                                         gic->cont_cls,
                                         GNUNET_SCHEDULER_REASON_TIMEOUT);
-      GNUNET_CLIENT_disconnect (gic->client);
+      GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
       GNUNET_free (gic);
       return;
     }
@@ -103,11 +102,10 @@ handle_index_info (void *cls,
     {
       /* normal end-of-list */
       GNUNET_SCHEDULER_add_continuation (gic->h->sched,
-                                        GNUNET_NO,
                                         gic->cont,
                                         gic->cont_cls,
                                         GNUNET_SCHEDULER_REASON_PREREQ_DONE);
-      GNUNET_CLIENT_disconnect (gic->client);
+      GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
       GNUNET_free (gic);
       return;
     }
@@ -124,11 +122,10 @@ handle_index_info (void *cls,
                  "GET_INDEXED",
                  "fs");
       GNUNET_SCHEDULER_add_continuation (gic->h->sched,
-                                        GNUNET_NO,
                                         gic->cont,
                                         gic->cont_cls,
                                         GNUNET_SCHEDULER_REASON_TIMEOUT);
-      GNUNET_CLIENT_disconnect (gic->client);
+      GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
       GNUNET_free (gic);
       return;
     }
@@ -138,11 +135,10 @@ handle_index_info (void *cls,
                     &iim->file_id))
     {
       GNUNET_SCHEDULER_add_continuation (gic->h->sched,
-                                        GNUNET_NO,
                                         gic->cont,
                                         gic->cont_cls,
                                         GNUNET_SCHEDULER_REASON_PREREQ_DONE);
-      GNUNET_CLIENT_disconnect (gic->client);
+      GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
       GNUNET_free (gic);
       return;
     }
@@ -185,7 +181,6 @@ GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h,
                  _("Failed to not connect to `%s' service.\n"),
                  "fs");
       GNUNET_SCHEDULER_add_continuation (h->sched,
-                                        GNUNET_NO,
                                         cont,
                                         cont_cls,
                                         GNUNET_SCHEDULER_REASON_TIMEOUT);