rename connecT -> connect now that the old API is dead
authorChristian Grothoff <christian@grothoff.org>
Tue, 10 Jan 2017 16:38:29 +0000 (17:38 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 10 Jan 2017 16:38:29 +0000 (17:38 +0100)
94 files changed:
src/arm/arm_api.c
src/arm/arm_monitor_api.c
src/arm/test_exponential_backoff.c
src/ats-tests/ats-testing.c
src/ats/ats_api_connectivity.c
src/ats/ats_api_performance.c
src/ats/ats_api_scheduling.c
src/cadet/cadet_api.c
src/cadet/gnunet-service-cadet_peer.c
src/consensus/consensus_api.c
src/conversation/conversation_api.c
src/conversation/conversation_api_call.c
src/core/core_api.c
src/core/core_api_monitor_peers.c
src/core/test_core_api.c
src/core/test_core_api_reliability.c
src/core/test_core_api_send_to_self.c
src/core/test_core_api_start_only.c
src/core/test_core_quota_compliance.c
src/datastore/datastore_api.c
src/dht/dht_api.c
src/dht/gnunet-service-dht_neighbours.c
src/dht/gnunet-service-wdht_neighbours.c
src/dht/gnunet-service-xdht_neighbours.c
src/dns/dns_api.c
src/dv/dv_api.c
src/dv/gnunet-service-dv.c
src/fs/fs_download.c
src/fs/fs_list_indexed.c
src/fs/fs_publish.c
src/fs/fs_search.c
src/fs/fs_unindex.c
src/fs/gnunet-service-fs.c
src/gns/gns_api.c
src/hostlist/gnunet-daemon-hostlist.c
src/hostlist/gnunet-daemon-hostlist_client.c
src/hostlist/gnunet-daemon-hostlist_client.h
src/hostlist/gnunet-daemon-hostlist_server.c
src/hostlist/gnunet-daemon-hostlist_server.h
src/hostlist/test_gnunet_daemon_hostlist_learning.c
src/identity-provider/identity_provider_api.c
src/identity/identity_api.c
src/include/gnunet_client_lib.h
src/include/gnunet_core_service.h
src/multicast/multicast_api.c
src/namecache/namecache_api.c
src/namestore/namestore_api.c
src/namestore/namestore_api_monitor.c
src/nat-auto/gnunet-nat-auto_legacy.c
src/nat-auto/gnunet-service-nat-auto_legacy.c
src/nat-auto/nat_auto_api.c
src/nat-auto/nat_auto_api_test.c
src/nat/nat_api.c
src/nse/gnunet-service-nse.c
src/nse/nse_api.c
src/peerinfo/peerinfo_api.c
src/peerinfo/peerinfo_api_notify.c
src/peerstore/peerstore_api.c
src/psyc/psyc_api.c
src/psycstore/psycstore_api.c
src/regex/regex_api_announce.c
src/regex/regex_api_search.c
src/revocation/gnunet-service-revocation.c
src/revocation/revocation_api.c
src/revocation/test_revocation.c
src/rps/rps_api.c
src/scalarproduct/scalarproduct_api.c
src/secretsharing/secretsharing_api.c
src/set/set_api.c
src/social/social_api.c
src/statistics/statistics_api.c
src/testbed-logger/testbed_logger_api.c
src/testbed/gnunet-service-testbed_connectionpool.c
src/testbed/testbed_api.c
src/testbed/testbed_api_barriers.c
src/topology/gnunet-daemon-topology.c
src/transport/transport_api_address_to_string.c
src/transport/transport_api_blacklist.c
src/transport/transport_api_core.c
src/transport/transport_api_hello_get.c
src/transport/transport_api_manipulation.c
src/transport/transport_api_monitor_peers.c
src/transport/transport_api_monitor_plugins.c
src/transport/transport_api_offer_hello.c
src/util/client.c
src/util/resolver_api.c
src/util/test_client.c
src/util/test_server.c
src/util/test_server_disconnect.c
src/util/test_server_with_client.c
src/util/test_server_with_client_unix.c
src/util/test_service.c
src/util/test_socks.c
src/vpn/vpn_api.c

index 2967e62b754fd68192b9c145cf8654e6985e164f..a613438334fad05bfbe480f98098b2d467362cac 100644 (file)
@@ -474,7 +474,7 @@ reconnect_arm (struct GNUNET_ARM_Handle *h)
   if (NULL != h->mq)
     return GNUNET_OK;
   GNUNET_assert (GNUNET_NO == h->currently_up);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "arm",
                                  handlers,
                                  &mq_error_handler,
index 471393c7e13274dc52be228ff137960c556a1efe..b4dc6cb6a717c69c2c45a5605a09e9499355958c 100644 (file)
@@ -209,7 +209,7 @@ reconnect_arm_monitor (struct GNUNET_ARM_MonitorHandle *h)
   struct GNUNET_MQ_Envelope *env;
 
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "arm",
                                  handlers,
                                  &mq_error_handler,
index ab47ff6350b6143c1f1f50e364a1d664708e5cde..0905f145d593f44b018fe4c922ea7f549cb5386f 100644 (file)
@@ -151,7 +151,7 @@ kill_task (void *cbData)
     GNUNET_free (shutdown_ctx);
     return;
   }
-  shutdown_ctx->mq = GNUNET_CLIENT_connecT (cfg,
+  shutdown_ctx->mq = GNUNET_CLIENT_connect (cfg,
                                             SERVICE,
                                             handlers,
                                             &mq_error_handler,
index 1bcef580654243c5aded9e2b71ba064e61118f3b..326d3bdd41884fe5e2fb9923043403860240d49e 100644 (file)
@@ -384,7 +384,7 @@ core_connect_adapter (void *cls,
     GNUNET_MQ_handler_end ()
   };
 
-  me->ch = GNUNET_CORE_connecT (cfg,
+  me->ch = GNUNET_CORE_connect (cfg,
                                me,
                                NULL,
                                &comm_connect_cb,
@@ -403,7 +403,7 @@ core_disconnect_adapter (void *cls,
 {
   struct BenchmarkPeer *me = cls;
 
-  GNUNET_CORE_disconnecT (me->ch);
+  GNUNET_CORE_disconnect (me->ch);
   me->ch = NULL;
 }
 
index 241e5f93c29845a20f463f3133198f241b3ecfe0..d551aacd4ab6353f778d5e78a860cb27c250fefd 100644 (file)
@@ -195,7 +195,7 @@ reconnect (struct GNUNET_ATS_ConnectivityHandle *ch)
   struct ClientStartMessage *init;
 
   GNUNET_assert (NULL == ch->mq);
-  ch->mq = GNUNET_CLIENT_connecT (ch->cfg,
+  ch->mq = GNUNET_CLIENT_connect (ch->cfg,
                                   "ats",
                                   handlers,
                                   &error_handler,
index dd8666d4cc16af5bc350080d3464ed25af59bc4d..cd67583d15cee9340ede6bb4f2532df3b3efa889 100644 (file)
@@ -585,7 +585,7 @@ reconnect (struct GNUNET_ATS_PerformanceHandle *ph)
   struct ClientStartMessage *init;
 
   GNUNET_assert (NULL == ph->mq);
-  ph->mq = GNUNET_CLIENT_connecT (ph->cfg,
+  ph->mq = GNUNET_CLIENT_connect (ph->cfg,
                                   "ats",
                                   handlers,
                                   &mq_error_handler,
index 4a872b90a5b2a1362e5e45eedaaa0581e915a478..faeeb60817e05f9a373342aab8560faf21bd46c6 100644 (file)
@@ -532,7 +532,7 @@ reconnect (struct GNUNET_ATS_SchedulingHandle *sh)
   struct GNUNET_ATS_AddressRecord *ar;
 
   GNUNET_assert (NULL == sh->mq);
-  sh->mq = GNUNET_CLIENT_connecT (sh->cfg,
+  sh->mq = GNUNET_CLIENT_connect (sh->cfg,
                                   "ats",
                                   handlers,
                                   &error_handler,
index d758155886c51312805bdd2dc636db01de2ecfbe..23305d8a9709261740dc0d496bef564f49b9ddb1 100644 (file)
@@ -1282,7 +1282,7 @@ do_reconnect (struct GNUNET_CADET_Handle *h)
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Connecting to CADET\n");
 
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "cadet",
                                  handlers,
                                  &handle_mq_error,
index 918bf4e0ce87a0bb56974b398282ebfa29bc8a21..c1e2d32243776ec0104210a707f751dbd3fbc26c 100644 (file)
@@ -655,7 +655,7 @@ connect_to_core (const struct GNUNET_CONFIGURATION_Handle *c)
                                NULL),
         GNUNET_MQ_handler_end ()
     };
-    core_handle = GNUNET_CORE_connecT (c, NULL,
+    core_handle = GNUNET_CORE_connect (c, NULL,
                                        &core_init_notify,
                                        &core_connect_handler,
                                        &core_disconnect_handler,
@@ -686,7 +686,7 @@ core_init_notify (void *cls,
         LOG (GNUNET_ERROR_TYPE_ERROR, _("Wrong CORE service\n"));
         LOG (GNUNET_ERROR_TYPE_ERROR, " core id %s\n", GNUNET_i2s (core_identity));
         LOG (GNUNET_ERROR_TYPE_ERROR, " my id %s\n", GNUNET_i2s (&my_full_id));
-        GNUNET_CORE_disconnecT (core_handle);
+        GNUNET_CORE_disconnect (core_handle);
         connect_to_core (c);
         return;
     }
@@ -1325,12 +1325,12 @@ GCP_shutdown (void)
     in_shutdown = GNUNET_YES;
     if (NULL != core_handle)
     {
-        GNUNET_CORE_disconnecT (core_handle);
+        GNUNET_CORE_disconnect (core_handle);
         core_handle = NULL;
     }
     GNUNET_PEER_change_rc (myid, -1);
     /* With MQ API, CORE calls the disconnect handler for every peer
-     * after calling GNUNET_CORE_disconnecT, shutdown must occur *after* that.
+     * after calling GNUNET_CORE_disconnect, shutdown must occur *after* that.
      */
     GNUNET_CONTAINER_multipeermap_iterate (peers,
                                            &shutdown_peer,
index 18898bebd36c40107333fc6098d97f87fd936c92..d5ed8db80f1cc67b4cf109d23a037ac574de3177 100644 (file)
@@ -222,7 +222,7 @@ GNUNET_CONSENSUS_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
   consensus->new_element_cb = new_element_cb;
   consensus->new_element_cls = new_element_cls;
   consensus->session_id = *session_id;
-  consensus->mq = GNUNET_CLIENT_connecT (cfg,
+  consensus->mq = GNUNET_CLIENT_connect (cfg,
                                          "consensus",
                                          mq_handlers,
                                          &mq_error_handler,
index 8a74f0ca69eca9bcce6d2edbd0f7c43900865b93..0b3920633443bbbe8ce50c734c533988ff782e20 100644 (file)
@@ -584,7 +584,7 @@ reconnect_phone (struct GNUNET_CONVERSATION_Phone *phone)
     phone->mq = NULL;
   }
   phone->state = PS_REGISTER;
-  phone->mq = GNUNET_CLIENT_connecT (phone->cfg,
+  phone->mq = GNUNET_CLIENT_connect (phone->cfg,
                                      "conversation",
                                      handlers,
                                      &phone_error_handler,
index 17e26465e1430353edaa22fd386e013fa1731453..a6bc506bc67784f086606e2a41cfb3bff5d793ad 100644 (file)
@@ -570,7 +570,7 @@ GNUNET_CONVERSATION_call_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
   };
   struct GNUNET_CRYPTO_EcdsaPublicKey my_zone;
 
-  call->mq = GNUNET_CLIENT_connecT (cfg,
+  call->mq = GNUNET_CLIENT_connect (cfg,
                                     "conversation",
                                     handlers,
                                     &call_error_handler,
index cf7924a0d9dfbbaf6809acf4adb37617895d8812..ace80b952b09b53eef6c8441b72853477c93983b 100644 (file)
@@ -97,12 +97,12 @@ struct GNUNET_CORE_Handle
   /**
    * Function to call whenever we're notified about a peer connecting.
    */
-  GNUNET_CORE_ConnecTEventHandler connects;
+  GNUNET_CORE_ConnectEventHandler connects;
 
   /**
    * Function to call whenever we're notified about a peer disconnecting.
    */
-  GNUNET_CORE_DisconnecTEventHandler disconnects;
+  GNUNET_CORE_DisconnectEventHandler disconnects;
 
   /**
    * Function handlers for messages of particular type.
@@ -734,7 +734,7 @@ reconnect (struct GNUNET_CORE_Handle *h)
   uint16_t *ts;
 
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "core",
                                  handlers,
                                  &handle_mq_error,
@@ -773,11 +773,11 @@ reconnect (struct GNUNET_CORE_Handle *h)
  *                NULL on error (in this case, init is never called)
  */
 struct GNUNET_CORE_Handle *
-GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
                      void *cls,
                      GNUNET_CORE_StartupCallback init,
-                     GNUNET_CORE_ConnecTEventHandler connects,
-                     GNUNET_CORE_DisconnecTEventHandler disconnects,
+                     GNUNET_CORE_ConnectEventHandler connects,
+                     GNUNET_CORE_DisconnectEventHandler disconnects,
                      const struct GNUNET_MQ_MessageHandler *handlers)
 {
   struct GNUNET_CORE_Handle *h;
@@ -810,7 +810,7 @@ GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
   reconnect (h);
   if (NULL == h->mq)
   {
-    GNUNET_CORE_disconnecT (h);
+    GNUNET_CORE_disconnect (h);
     return NULL;
   }
   return h;
@@ -823,7 +823,7 @@ GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
  * @param handle connection to core to disconnect
  */
 void
-GNUNET_CORE_disconnecT (struct GNUNET_CORE_Handle *handle)
+GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle)
 {
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Disconnecting from CORE service\n");
index 1455eb2b01633a1e8f659e8dbe33e241bb80d65e..796fdb9d5b85669b0af2502c8f07626a3cf5a7da 100644 (file)
@@ -127,7 +127,7 @@ reconnect (struct GNUNET_CORE_MonitorHandle *mh)
   if (NULL != mh->mq)
     GNUNET_MQ_destroy (mh->mq);
   /* FIXME: use backoff? */
-  mh->mq = GNUNET_CLIENT_connecT (mh->cfg,
+  mh->mq = GNUNET_CLIENT_connect (mh->cfg,
                                   "core",
                                   handlers,
                                   &handle_mq_error,
index e6a113b52870076b81077d2df69d60cebdb07135..847ba6e757543af6de9b60988204686e33abe285 100644 (file)
@@ -92,7 +92,7 @@ terminate_peer (struct PeerContext *p)
 {
   if (NULL != p->ch)
   {
-    GNUNET_CORE_disconnecT (p->ch);
+    GNUNET_CORE_disconnect (p->ch);
     p->ch = NULL;
   }
   if (NULL != p->ghh)
@@ -243,7 +243,7 @@ init_notify (void *cls,
     GNUNET_assert (ok == 2);
     OKPP;
     /* connect p2 */
-    p2.ch = GNUNET_CORE_connecT (p2.cfg,
+    p2.ch = GNUNET_CORE_connect (p2.cfg,
                                 &p2,
                                 &init_notify,
                                 &connect_notify,
@@ -317,7 +317,7 @@ run (void *cls,
                                     (GNUNET_TIME_UNIT_SECONDS, 300),
                                     &terminate_task_error, NULL);
   p1.ch =
-      GNUNET_CORE_connecT (p1.cfg,
+      GNUNET_CORE_connect (p1.cfg,
                           &p1,
                            &init_notify,
                            &connect_notify,
index cd2bcad83639cf9d8acaa95e8ba6eb0741271237..900c9f73270d92e6d1a0f37ae0e014c29174e56d 100644 (file)
@@ -103,7 +103,7 @@ terminate_peer (struct PeerContext *p)
 {
   if (NULL != p->ch)
   {
-    GNUNET_CORE_disconnecT (p->ch);
+    GNUNET_CORE_disconnect (p->ch);
     p->ch = NULL;
   }
   if (NULL != p->ghh)
@@ -341,7 +341,7 @@ init_notify (void *cls,
     OKPP;
     /* connect p2 */
     GNUNET_assert (NULL !=
-                  (p2.ch = GNUNET_CORE_connecT (p2.cfg,
+                  (p2.ch = GNUNET_CORE_connect (p2.cfg,
                                                 &p2,
                                                 &init_notify,
                                                 &connect_notify,
@@ -464,7 +464,7 @@ run (void *cls,
                                 NULL);
 
   GNUNET_assert (NULL !=
-                (p1.ch = GNUNET_CORE_connecT (p1.cfg,
+                (p1.ch = GNUNET_CORE_connect (p1.cfg,
                                               &p1,
                                               &init_notify,
                                               &connect_notify,
index d29da651b37cc2bacda01d27bc2e24cc0b4121a0..5cfc8b35f780ed668ebb5054b07e0eca760c317b 100644 (file)
@@ -65,7 +65,7 @@ cleanup (void *cls)
   }
   if (NULL != core)
   {
-    GNUNET_CORE_disconnecT (core);
+    GNUNET_CORE_disconnect (core);
     core = NULL;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -159,7 +159,7 @@ run (void *cls,
   };
 
   core =
-    GNUNET_CORE_connecT (cfg,
+    GNUNET_CORE_connect (cfg,
                         NULL,
                         &init,
                          &connect_cb,
index 6abc3cc895efb9dc78ec96460a520e8ec5c1f8b2..31e300b148c05167edbba710f17fd944e9cbe44c 100644 (file)
@@ -74,9 +74,9 @@ static struct GNUNET_MQ_MessageHandler handlers[] = {
 static void
 shutdown_task (void *cls)
 {
-  GNUNET_CORE_disconnecT (p1.ch);
+  GNUNET_CORE_disconnect (p1.ch);
   p1.ch = NULL;
-  GNUNET_CORE_disconnecT (p2.ch);
+  GNUNET_CORE_disconnect (p2.ch);
   p2.ch = NULL;
   ok = 0;
 }
@@ -91,7 +91,7 @@ init_notify (void *cls,
   if (p == &p1)
   {
     /* connect p2 */
-    p2.ch = GNUNET_CORE_connecT (p2.cfg,
+    p2.ch = GNUNET_CORE_connect (p2.cfg,
                                 &p2,
                                 &init_notify,
                                 &connect_notify,
@@ -140,12 +140,12 @@ timeout_task (void *cls)
           "Timeout.\n");
   if (NULL != p1.ch)
   {
-    GNUNET_CORE_disconnecT (p1.ch);
+    GNUNET_CORE_disconnect (p1.ch);
     p1.ch = NULL;
   }
   if (NULL != p2.ch)
   {
-    GNUNET_CORE_disconnecT (p2.ch);
+    GNUNET_CORE_disconnect (p2.ch);
     p2.ch = NULL;
   }
   ok = 42;
@@ -168,7 +168,7 @@ run (void *cls,
                                     TIMEOUT),
                                     &timeout_task,
                                    NULL);
-  p1.ch = GNUNET_CORE_connecT (p1.cfg,
+  p1.ch = GNUNET_CORE_connect (p1.cfg,
                               &p1,
                               &init_notify,
                               &connect_notify,
index 4dee958f2db0d6586b2b2b7a4df99da0e9bcea1c..dcc33288dc07ebacb5cbe3fcb5a1068d109204a4 100644 (file)
@@ -117,7 +117,7 @@ terminate_peer (struct PeerContext *p)
 {
   if (NULL != p->ch)
   {
-    GNUNET_CORE_disconnecT (p->ch);
+    GNUNET_CORE_disconnect (p->ch);
     p->ch = NULL;
   }
   if (NULL != p->ghh)
@@ -480,7 +480,7 @@ init_notify (void *cls,
     GNUNET_assert (ok == 2);
     OKPP;
     /* connect p2 */
-    p2.ch = GNUNET_CORE_connecT (p2.cfg,
+    p2.ch = GNUNET_CORE_connect (p2.cfg,
                                  &p2,
                                  &init_notify,
                                  &connect_notify,
@@ -653,7 +653,7 @@ run (void *cls,
                                                       "WAN_QUOTA_OUT",
                                                       &current_quota_p2_out));
 
-  p1.ch = GNUNET_CORE_connecT (p1.cfg,
+  p1.ch = GNUNET_CORE_connect (p1.cfg,
                                &p1,
                                &init_notify,
                                &connect_notify,
index d75a58552810f7045caedf999e2c2d656c966863..db485364ef9f3bffcd242436adcf2d6bc3163fd8 100644 (file)
@@ -443,7 +443,7 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h,
     LOG (GNUNET_ERROR_TYPE_DEBUG,
          "Re-connecting to issue DROP!\n");
     GNUNET_assert (NULL == h->mq);
-    h->mq = GNUNET_CLIENT_connecT (h->cfg,
+    h->mq = GNUNET_CLIENT_connect (h->cfg,
                                    "datastore",
                                    NULL,
                                    &disconnect_on_mq_error,
@@ -868,7 +868,7 @@ try_reconnect (void *cls)
   h->retry_time = GNUNET_TIME_STD_BACKOFF (h->retry_time);
   h->reconnect_task = NULL;
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "datastore",
                                  handlers,
                                  &mq_error_handler,
index 57880165eaa8e96c9ce7f509ae05efd45c6d7e8b..66eaf10647dad7e6a424e3440593f030603d4c46 100644 (file)
@@ -867,7 +867,7 @@ try_connect (struct GNUNET_DHT_Handle *h)
   };
   if (NULL != h->mq)
     return GNUNET_OK;
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "dht",
                                  handlers,
                                  &mq_error_handler,
index 0d3594d1ad9203d0dec8ffe342bc0925e0e53d6a..20bdc0ce4d7ff8467a564d255519b0a1e0e6b604 100644 (file)
@@ -2381,7 +2381,7 @@ GDS_NEIGHBOURS_init ()
   log_route_details_stderr =
     (NULL != getenv("GNUNET_DHT_ROUTE_DEBUG")) ? GNUNET_YES : GNUNET_NO;
   ats_ch = GNUNET_ATS_connectivity_init (GDS_cfg);
-  core_api = GNUNET_CORE_connecT (GDS_cfg,
+  core_api = GNUNET_CORE_connect (GDS_cfg,
                                  NULL,
                                  &core_init,
                                  &handle_core_connect,
@@ -2405,7 +2405,7 @@ GDS_NEIGHBOURS_done ()
 {
   if (NULL == core_api)
     return;
-  GNUNET_CORE_disconnecT (core_api);
+  GNUNET_CORE_disconnect (core_api);
   core_api = NULL;
   GNUNET_assert (0 ==
                 GNUNET_CONTAINER_multipeermap_size (all_connected_peers));
index d3b92585b313c0d6cef5a3b6dc4a46376c98d673..78a04d66d0564f95eef09b6aa28afa5c6fbb8415 100644 (file)
@@ -1712,7 +1712,7 @@ GDS_NEIGHBOURS_init (void)
     GNUNET_MQ_handler_end ()
   };
 
-  core_api = GNUNET_CORE_connecT (GDS_cfg, NULL,
+  core_api = GNUNET_CORE_connect (GDS_cfg, NULL,
                                  &core_init,
                                  &handle_core_connect,
                                  &handle_core_disconnect,
@@ -1736,7 +1736,7 @@ GDS_NEIGHBOURS_done (void)
 {
   if (NULL == core_api)
     return;
-  GNUNET_CORE_disconnecT (core_api);
+  GNUNET_CORE_disconnect (core_api);
   core_api = NULL;
   GNUNET_assert (0 == GNUNET_CONTAINER_multipeermap_size (friends_peermap));
   GNUNET_CONTAINER_multipeermap_destroy (friends_peermap);
index e3462f6188aa4281b3a5853cf94ddbda01963dcb..d41eb19003ec2915045d91517aa8d0241827bc6f 100644 (file)
@@ -6150,7 +6150,7 @@ GDS_NEIGHBOURS_init (void)
     GNUNET_MQ_handler_end ()
   };
 
-  core_api = GNUNET_CORE_connecT (GDS_cfg,
+  core_api = GNUNET_CORE_connect (GDS_cfg,
                                  NULL,
                                  &core_init,
                                  &handle_core_connect,
@@ -6212,7 +6212,7 @@ GDS_NEIGHBOURS_done (void)
   if (NULL == core_api)
     return;
 
-  GNUNET_CORE_disconnecT (core_api);
+  GNUNET_CORE_disconnect (core_api);
   core_api = NULL;
 
   delete_finger_table_entries();
index 4803fe3fc006ae7c8c9eb78fedc09c6dbe9122b7..e7450a1d490d98617b13bcd1660c04b7df9b5174 100644 (file)
@@ -217,7 +217,7 @@ reconnect (void *cls)
   struct GNUNET_DNS_Register *msg;
 
   dh->reconnect_task = NULL;
-  dh->mq = GNUNET_CLIENT_connecT (dh->cfg,
+  dh->mq = GNUNET_CLIENT_connect (dh->cfg,
                                   "dns",
                                   handlers,
                                   &mq_error_handler,
index 43b6c7db173dcc5ccb95ff9ac42b379d0cd79bbd..062f9a95ff04ffa4214f583f0617d890fcdba8c4 100644 (file)
@@ -346,7 +346,7 @@ reconnect (struct GNUNET_DV_ServiceHandle *sh)
                                         sh);
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Connecting to DV service\n");
-  sh->mq = GNUNET_CLIENT_connecT (sh->cfg,
+  sh->mq = GNUNET_CLIENT_connect (sh->cfg,
                                   "dv",
                                   handlers,
                                   &mq_error_handler,
index fdd871bbd307b3c6a312571d0c6c420d03811fbb..6adaa04d9dfe92f916a4587b615656601ee74282 100644 (file)
@@ -1936,7 +1936,7 @@ shutdown_task (void *cls)
 
   in_shutdown = GNUNET_YES;
   GNUNET_assert (NULL != core_api);
-  GNUNET_CORE_disconnecT (core_api);
+  GNUNET_CORE_disconnect (core_api);
   core_api = NULL;
   GNUNET_ATS_performance_done (ats);
   ats = NULL;
@@ -2059,7 +2059,7 @@ run (void *cls,
                                                           GNUNET_NO);
   all_routes = GNUNET_CONTAINER_multipeermap_create (65536,
                                                     GNUNET_NO);
-  core_api = GNUNET_CORE_connecT (cfg,
+  core_api = GNUNET_CORE_connect (cfg,
                                  NULL,
                                  &core_init,
                                  &handle_core_connect,
@@ -2073,7 +2073,7 @@ run (void *cls,
                                     NULL);
   if (NULL == ats)
   {
-    GNUNET_CORE_disconnecT (core_api);
+    GNUNET_CORE_disconnect (core_api);
     core_api = NULL;
     return;
   }
index eacc3c2dfbd33a45587b5f713fd8e164f9b2bbfb..53b836f2253fb77fa67354b13dc5e96701d87bdd 100644 (file)
@@ -1335,7 +1335,7 @@ do_reconnect (void *cls)
   };
 
   dc->task = NULL;
-  dc->mq = GNUNET_CLIENT_connecT (dc->h->cfg,
+  dc->mq = GNUNET_CLIENT_connect (dc->h->cfg,
                                   "fs",
                                   handlers,
                                   &download_mq_error_handler,
index 67183fce2472a42526088910a84226daf6d1faef..eec125a10c744312f3afd4e0e439e704a31cb675 100644 (file)
@@ -185,7 +185,7 @@ GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h,
   struct GNUNET_MQ_Envelope *env;
   struct GNUNET_MessageHeader *msg;
 
-  gic->mq = GNUNET_CLIENT_connecT (h->cfg,
+  gic->mq = GNUNET_CLIENT_connect (h->cfg,
                                    "fs",
                                    handlers,
                                    &mq_error_handler,
index 5820c3d0c8ac34d320408d8c2f1d6a3209b622fb..86a58a58bb5b1ae94e68305277304212c9e80c5e 100644 (file)
@@ -863,7 +863,7 @@ hash_for_index_cb (void *cls,
     GNUNET_free (fn);
     return;
   }
-  pc->mq = GNUNET_CLIENT_connecT (pc->h->cfg,
+  pc->mq = GNUNET_CLIENT_connect (pc->h->cfg,
                                   "fs",
                                   handlers,
                                   &index_mq_error_handler,
@@ -1016,7 +1016,7 @@ create_loc_uri (struct GNUNET_FS_PublishContext *pc)
 
   if (NULL != pc->mq)
     GNUNET_MQ_destroy (pc->mq);
-  pc->mq = GNUNET_CLIENT_connecT (pc->h->cfg,
+  pc->mq = GNUNET_CLIENT_connect (pc->h->cfg,
                                   "fs",
                                   handlers,
                                   &loc_mq_error_handler,
index 198577b08ecb76ec2ab58b5ce40a8188300a46ff..75ce4b54f323a7568e33761548445f12fa9b7b6c 100644 (file)
@@ -1244,7 +1244,7 @@ do_reconnect (void *cls)
   };
 
   sc->task = NULL;
-  sc->mq = GNUNET_CLIENT_connecT (sc->h->cfg,
+  sc->mq = GNUNET_CLIENT_connect (sc->h->cfg,
                                   "fs",
                                   handlers,
                                   &search_mq_error_handler,
index 2a024ecbba22342f1657f86c8250fc21d5944b2a..a672b84d54172f5079527c01c97970b29a9dcbb3 100644 (file)
@@ -316,7 +316,7 @@ unindex_finish (struct GNUNET_FS_UnindexContext *uc)
   uc->seen_dh = NULL;
   uc->state = UNINDEX_STATE_FS_NOTIFY;
   GNUNET_FS_unindex_sync_ (uc);
-  uc->mq = GNUNET_CLIENT_connecT (uc->h->cfg,
+  uc->mq = GNUNET_CLIENT_connect (uc->h->cfg,
                                   "fs",
                                   handlers,
                                   &unindex_mq_error_handler,
index c83d73555d8389703552ada63cc069b88985b8eb..e38fdb0323da4eb943a51dec8c55a2465337d1f9 100644 (file)
@@ -1181,7 +1181,7 @@ shutdown_task (void *cls)
   GSF_cadet_stop_server ();
   if (NULL != GSF_core)
   {
-    GNUNET_CORE_disconnecT (GSF_core);
+    GNUNET_CORE_disconnect (GSF_core);
     GSF_core = NULL;
   }
   if (NULL != GSF_ats)
@@ -1219,7 +1219,7 @@ shutdown_task (void *cls)
 
 
 /**
- * Function called after GNUNET_CORE_connecT has succeeded
+ * Function called after GNUNET_CORE_connect has succeeded
  * (or failed for good).  Note that the private key of the
  * peer is intentionally not exposed here; if you need it,
  * your process should try to read the private key file
@@ -1299,7 +1299,7 @@ main_init (const struct GNUNET_CONFIGURATION_Handle *c)
               "I am peer %s\n",
               GNUNET_i2s (&GSF_my_id));
   GSF_core
-    = GNUNET_CORE_connecT (GSF_cfg,
+    = GNUNET_CORE_connect (GSF_cfg,
                           NULL,
                            &peer_init_handler,
                            &GSF_peer_connect_handler,
index 3f6425b42a2195af3a789f719c546d7f649f3766..5d6158bd49aa0446ad6870c8bff7a7d56e1be916 100644 (file)
@@ -394,7 +394,7 @@ reconnect (struct GNUNET_GNS_Handle *handle)
   GNUNET_assert (NULL == handle->mq);
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Trying to connect to GNS\n");
-  handle->mq = GNUNET_CLIENT_connecT (handle->cfg,
+  handle->mq = GNUNET_CLIENT_connect (handle->cfg,
                                       "gns",
                                       handlers,
                                       &mq_error_handler,
index 7181a913b51c5665871f2df2dd92c02e23cc2034..a83d46e0711635456e5e53516c2ec9c361579ad2 100644 (file)
@@ -47,7 +47,7 @@ static int provide_hostlist;
 /**
  * Handle to hostlist server's connect handler
  */
-static GNUNET_CORE_ConnecTEventHandler server_ch;
+static GNUNET_CORE_ConnectEventHandler server_ch;
 
 #endif
 
@@ -81,12 +81,12 @@ static GNUNET_HOSTLIST_UriHandler client_adv_handler;
 /**
  * Handle to hostlist client's connect handler
  */
-static GNUNET_CORE_ConnecTEventHandler client_ch;
+static GNUNET_CORE_ConnectEventHandler client_ch;
 
 /**
  * Handle to hostlist client's disconnect handler
  */
-static GNUNET_CORE_DisconnecTEventHandler client_dh;
+static GNUNET_CORE_DisconnectEventHandler client_dh;
 
 GNUNET_NETWORK_STRUCT_BEGIN
 
@@ -260,7 +260,7 @@ cleaning_task (void *cls)
              "Hostlist daemon is shutting down\n");
   if (NULL != core)
   {
-    GNUNET_CORE_disconnecT (core);
+    GNUNET_CORE_disconnect (core);
     core = NULL;
   }
   if (bootstrapping)
@@ -330,7 +330,7 @@ run (void *cls,
                                   &client_adv_handler,
                                   learning);
   core =
-    GNUNET_CORE_connecT (cfg,
+    GNUNET_CORE_connect (cfg,
                         NULL,
                         &core_init,
                         &connect_handler,
index c1a2c2721883275364a5c71f9a92ed72df196d13..a973fcc280b2a89092c47012be36b84647c53440 100644 (file)
@@ -1548,8 +1548,8 @@ save_hostlist_file (int shutdown)
 int
 GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c,
                               struct GNUNET_STATISTICS_Handle *st,
-                              GNUNET_CORE_ConnecTEventHandler *ch,
-                              GNUNET_CORE_DisconnecTEventHandler *dh,
+                              GNUNET_CORE_ConnectEventHandler *ch,
+                              GNUNET_CORE_DisconnectEventHandler *dh,
                               GNUNET_HOSTLIST_UriHandler *msgh,
                               int learn)
 {
index dd80d4a4882e200f1c8618bc65dd4b3eb4a6f6ad..e41b90876ca442435aa828c71dc223a8397f6ff7 100644 (file)
@@ -53,8 +53,8 @@ typedef void
 int
 GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c,
                               struct GNUNET_STATISTICS_Handle *st,
-                              GNUNET_CORE_ConnecTEventHandler *ch,
-                              GNUNET_CORE_DisconnecTEventHandler *dh,
+                              GNUNET_CORE_ConnectEventHandler *ch,
+                              GNUNET_CORE_DisconnectEventHandler *dh,
                               GNUNET_HOSTLIST_UriHandler *msgh,
                               int learn);
 
index b01dbc09ed117f66f51b18511435190692601411..48c1a56221011ddabb11504affd709d72261ddfb 100644 (file)
@@ -644,7 +644,7 @@ int
 GNUNET_HOSTLIST_server_start (const struct GNUNET_CONFIGURATION_Handle *c,
                               struct GNUNET_STATISTICS_Handle *st,
                               struct GNUNET_CORE_Handle *co,
-                              GNUNET_CORE_ConnecTEventHandler *server_ch,
+                              GNUNET_CORE_ConnectEventHandler *server_ch,
                               int advertise)
 {
   unsigned long long port;
index f18ad0ca2d0bb665770b07c885c9e8ed66317125..d9f778a4bc544e2dc83158951f1c6512c589b72b 100644 (file)
@@ -46,7 +46,7 @@ int
 GNUNET_HOSTLIST_server_start (const struct GNUNET_CONFIGURATION_Handle *c,
                               struct GNUNET_STATISTICS_Handle *st,
                               struct GNUNET_CORE_Handle *core,
-                              GNUNET_CORE_ConnecTEventHandler *server_ch,
+                              GNUNET_CORE_ConnectEventHandler *server_ch,
                              int advertise);
 
 
index 48689e2592cc1bf8b983f3a1a3ae14ed8c7a93ee..88ad22a1ab29b5aa7bdef344302c037e760201bf 100644 (file)
@@ -125,12 +125,12 @@ shutdown_testcase ()
   }
   if (NULL != adv_peer.core)
   {
-    GNUNET_CORE_disconnecT (adv_peer.core);
+    GNUNET_CORE_disconnect (adv_peer.core);
     adv_peer.core = NULL;
   }
   if (NULL != learn_peer.core)
   {
-    GNUNET_CORE_disconnecT (learn_peer.core);
+    GNUNET_CORE_disconnect (learn_peer.core);
     learn_peer.core = NULL;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -432,7 +432,7 @@ setup_learn_peer (struct PeerContext *p,
     }
     GNUNET_free (filename);
   }
-  p->core = GNUNET_CORE_connecT (p->cfg,
+  p->core = GNUNET_CORE_connect (p->cfg,
                                 NULL,
                                 NULL,
                                 NULL,
index 28ff90fc4de52cc446898fbe275654af518cc3c7..32c3cb7033bdcbea6fa155d6d19e562ea5fe7588 100644 (file)
@@ -380,7 +380,7 @@ reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *h)
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Connecting to identity provider service.\n");
 
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "identity-provider",
                                  handlers,
                                  &mq_error_handler,
index 10a64d1ba44a897610ed1b91fc41407f8501b19c..905b3fd8b5a216fe716445c10e7afa8771d0782b 100644 (file)
@@ -575,7 +575,7 @@ reconnect (void *cls)
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Connecting to identity service.\n");
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "identity",
                                  handlers,
                                  &mq_error_handler,
index f98620dfaa5155eeced1142d1e23f4c5651922d8..613349fddd9211380263378cd739233ed7d9e7e7 100644 (file)
@@ -57,7 +57,7 @@ extern "C"
  * @return the message queue, NULL on error
  */
 struct GNUNET_MQ_Handle *
-GNUNET_CLIENT_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CLIENT_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
                        const char *service_name,
                        const struct GNUNET_MQ_MessageHandler *handlers,
                        GNUNET_MQ_ErrorHandler error_handler,
index 6ec486b26c0cbcebe3e9cb0be39e503f987ef39b..6b082601b7ae67011ec55f81428a6e2cfe7940fb 100644 (file)
@@ -114,7 +114,7 @@ typedef void
  * @param peer peer identity this notification is about
  */
 typedef void *
-(*GNUNET_CORE_ConnecTEventHandler) (void *cls,
+(*GNUNET_CORE_ConnectEventHandler) (void *cls,
                                     const struct GNUNET_PeerIdentity *peer,
                                    struct GNUNET_MQ_Handle *mq);
 
@@ -126,7 +126,7 @@ typedef void *
  * @param peer peer identity this notification is about
  */
 typedef void
-(*GNUNET_CORE_DisconnecTEventHandler) (void *cls,
+(*GNUNET_CORE_DisconnectEventHandler) (void *cls,
                                        const struct GNUNET_PeerIdentity *peer,
                                       void *peer_cls);
 
@@ -283,11 +283,11 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle);
  *           NULL on error (in this case, init is never called)
  */
 struct GNUNET_CORE_Handle *
-GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
                      void *cls,
                      GNUNET_CORE_StartupCallback init,
-                     GNUNET_CORE_ConnecTEventHandler connects,
-                     GNUNET_CORE_DisconnecTEventHandler disconnects,
+                     GNUNET_CORE_ConnectEventHandler connects,
+                     GNUNET_CORE_DisconnectEventHandler disconnects,
                      const struct GNUNET_MQ_MessageHandler *handlers);
 
 
@@ -297,7 +297,7 @@ GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
  * @param handle connection to core to disconnect
  */
 void
-GNUNET_CORE_disconnecT (struct GNUNET_CORE_Handle *handle);
+GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle);
 
 
 /**
index 7cfe708359db25b447ffc246f3ffcb21ed38c69f..6e5402b280a518fbc41afd9019b749236ed31f85 100644 (file)
@@ -786,7 +786,7 @@ origin_connect (struct GNUNET_MULTICAST_Origin *orig)
     GNUNET_MQ_handler_end ()
   };
 
-  grp->mq = GNUNET_CLIENT_connecT (grp->cfg, "multicast",
+  grp->mq = GNUNET_CLIENT_connect (grp->cfg, "multicast",
                                    handlers, origin_disconnected, orig);
   GNUNET_assert (NULL != grp->mq);
   GNUNET_MQ_send_copy (grp->mq, grp->connect_env);
@@ -1076,7 +1076,7 @@ member_connect (struct GNUNET_MULTICAST_Member *mem)
     GNUNET_MQ_handler_end ()
   };
 
-  grp->mq = GNUNET_CLIENT_connecT (grp->cfg, "multicast",
+  grp->mq = GNUNET_CLIENT_connect (grp->cfg, "multicast",
                                    handlers, member_disconnected, mem);
   GNUNET_assert (NULL != grp->mq);
   GNUNET_MQ_send_copy (grp->mq, grp->connect_env);
index 9ccb91bc878ca4d43f4220ac7544646207590f33..c12dacd4c00744536adbe90ba6acf2458b2d0c34 100644 (file)
@@ -336,7 +336,7 @@ reconnect (struct GNUNET_NAMECACHE_Handle *h)
     GNUNET_MQ_handler_end ()
   };
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "namecache",
                                  handlers,
                                  &mq_error_handler,
index fd232de812f93d7477f92e55755206888462991c..933ba7b950d808506f4483d3d6d108f910b73385 100644 (file)
@@ -806,7 +806,7 @@ reconnect (struct GNUNET_NAMESTORE_Handle *h)
   struct GNUNET_NAMESTORE_QueueEntry *qe;
 
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "namestore",
                                  handlers,
                                  &mq_error_handler,
index 00f0887d47bfd1287325515c20f79aeb7434a678..cd7c7dadba1793a1dccfe83c945863c47aa9c7df 100644 (file)
@@ -262,7 +262,7 @@ reconnect (struct GNUNET_NAMESTORE_ZoneMonitor *zm)
     GNUNET_MQ_destroy (zm->mq);
     zm->error_cb (zm->error_cb_cls);
   }
-  zm->mq = GNUNET_CLIENT_connecT (zm->cfg,
+  zm->mq = GNUNET_CLIENT_connect (zm->cfg,
                                   "namestore",
                                   handlers,
                                   &mq_error_handler,
index 803ff23e31f040ba5398dbe44572800949fac87d..32f40c037892eb5b267f13bac6fed5143c822205 100644 (file)
@@ -391,7 +391,7 @@ addr_cb (void *cls,
 
   ca = GNUNET_new (struct ClientActivity);
   ca->h = h;
-  ca->mq = GNUNET_CLIENT_connecT (h->cfg,
+  ca->mq = GNUNET_CLIENT_connect (h->cfg,
                                   "gnunet-nat-server",
                                   NULL,
                                   &mq_error_handler,
index 061d0cbe6c7bc9c9727090767771a981ae992cd5..bcfa4b92b73a64d1053005458f8cbc51160981d0 100644 (file)
@@ -670,7 +670,7 @@ test_nat_punched (struct GNUNET_NAT_AutoHandle *ah)
   LOG (GNUNET_ERROR_TYPE_INFO,
        "Asking gnunet-nat-server to connect to `%s'\n",
        ah->stun_ip);
-  ah->mq = GNUNET_CLIENT_connecT (ah->cfg,
+  ah->mq = GNUNET_CLIENT_connect (ah->cfg,
                                   "gnunet-nat-server",
                                   NULL,
                                   &mq_error_handler,
index 6325610978f1d8992324b18e76c28c73b1084f5d..a5b41ac491e2c86343abc35a2ec529cdc5f29439 100644 (file)
@@ -233,7 +233,7 @@ GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
   }
   ah->arc = cb;
   ah->arc_cls = cb_cls;
-  ah->mq = GNUNET_CLIENT_connecT (cfg,
+  ah->mq = GNUNET_CLIENT_connect (cfg,
                                  "nat",
                                  handlers,
                                  &ah_error_handler,
index df2d9fed3d539d18e11d015b4c0a678cb8dace11..8359e3cb5cdb8991ec4430fa7ea7ff1db55599d3 100644 (file)
@@ -390,7 +390,7 @@ addr_cb (void *cls,
 
   ca = GNUNET_new (struct ClientActivity);
   ca->h = h;
-  ca->mq = GNUNET_CLIENT_connecT (h->cfg,
+  ca->mq = GNUNET_CLIENT_connect (h->cfg,
                                   "gnunet-nat-server",
                                   NULL,
                                   &mq_error_handler,
index 810d3564945d029967862b04fa5b3ef7b859d615..eec5d3968eb3d0fe64707ee10ee20ff869ba046b 100644 (file)
@@ -343,7 +343,7 @@ do_connect (void *cls)
   struct GNUNET_MQ_Envelope *env;
 
   nh->reconnect_task = NULL;
-  nh->mq = GNUNET_CLIENT_connecT (nh->cfg,
+  nh->mq = GNUNET_CLIENT_connect (nh->cfg,
                                  "nat",
                                  handlers,
                                  &mq_error_handler,
index 511f95514737ae344fbb7e88b53e8bc6e3ab1519..4d54a740b626e397d54bc2994e817b39c4626a70 100644 (file)
@@ -1346,7 +1346,7 @@ shutdown_task (void *cls)
   }
   if (NULL != core_api)
   {
-    GNUNET_CORE_disconnecT (core_api);
+    GNUNET_CORE_disconnect (core_api);
     core_api = NULL;
   }
   if (NULL != stats)
@@ -1607,7 +1607,7 @@ run (void *cls,
                                                GNUNET_YES);
   nc = GNUNET_notification_context_create (1);
   /* Connect to core service and register core handlers */
-  core_api = GNUNET_CORE_connecT (cfg,   /* Main configuration */
+  core_api = GNUNET_CORE_connect (cfg,   /* Main configuration */
                                  NULL,       /* Closure passed to functions */
                                  &core_init,    /* Call core_init once connected */
                                  &handle_core_connect,  /* Handle connects */
index cfe5482ebe802ca04208ba005ccf3012afb8398d..d50b0214ac8efbe80ae177b6fddfa052bdae8302 100644 (file)
@@ -150,7 +150,7 @@ reconnect (void *cls)
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Connecting to network size estimation service.\n");
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "nse",
                                  handlers,
                                  &mq_error_handler,
index 3080fb5036ebaeeaca1b9cab0492d16f586e9694..10729f3d090c6403fa4c3de06907e4712c909c86 100644 (file)
@@ -462,7 +462,7 @@ reconnect (struct GNUNET_PEERINFO_Handle *h)
     GNUNET_MQ_destroy (h->mq);
     h->mq = NULL;
   }
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "peerinfo",
                                  handlers,
                                  &mq_error_handler,
index e707a911e8d5e1dd6fd1d37f5718aa346d0ec5b7..ce226d96e432b775a5a1431fe2b04c499f4c9146 100644 (file)
@@ -212,7 +212,7 @@ reconnect (void *cls)
   struct NotifyMessage *nm;
 
   nc->task = NULL;
-  nc->mq = GNUNET_CLIENT_connecT (nc->cfg,
+  nc->mq = GNUNET_CLIENT_connect (nc->cfg,
                                   "peerinfo",
                                   handlers,
                                   &mq_error_handler,
index 47bf7775e73e246d7c7a922addb7c5a5432f7f3b..c9fcd17abf32ecd18528f64d088f5fbfab126e61 100644 (file)
@@ -829,7 +829,7 @@ reconnect (struct GNUNET_PEERSTORE_Handle *h)
     GNUNET_MQ_destroy (h->mq);
     h->mq = NULL;
   }
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "peerstore",
                                  mq_handlers,
                                  &handle_client_error,
index 9769bb85374857c8a1b140044ccf841f8604d59c..d744e7d08794aea43dbe5038d182f39bb2690c53 100644 (file)
@@ -694,7 +694,7 @@ master_connect (struct GNUNET_PSYC_Master *mst)
     GNUNET_MQ_handler_end ()
   };
 
-  chn->mq = GNUNET_CLIENT_connecT (chn->cfg, "psyc",
+  chn->mq = GNUNET_CLIENT_connect (chn->cfg, "psyc",
                                    handlers, master_disconnected, mst);
   GNUNET_assert (NULL != chn->mq);
   chn->tmit = GNUNET_PSYC_transmit_create (chn->mq);
@@ -993,7 +993,7 @@ slave_connect (struct GNUNET_PSYC_Slave *slv)
     GNUNET_MQ_handler_end ()
   };
 
-  chn->mq = GNUNET_CLIENT_connecT (chn->cfg, "psyc",
+  chn->mq = GNUNET_CLIENT_connect (chn->cfg, "psyc",
                                    handlers, slave_disconnected, slv);
   GNUNET_assert (NULL != chn->mq);
   chn->tmit = GNUNET_PSYC_transmit_create (chn->mq);
index 480d594fc969b8b48928bccb8ebed6e05bb61ade..40322662ea6eb84692b5e06b80cadb3061849612 100644 (file)
@@ -348,7 +348,7 @@ do_connect (struct GNUNET_PSYCSTORE_Handle *h)
 
   h->op = GNUNET_OP_create ();
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg, "psycstore",
+  h->mq = GNUNET_CLIENT_connect (h->cfg, "psycstore",
                                  handlers, disconnected, h);
   GNUNET_assert (NULL != h->mq);
 }
index 8fded96d2e7ae269f5b128f2509e056a5369a660..70bf34bc869b5e42323b802de1a1fdaf03e4bed4 100644 (file)
@@ -104,7 +104,7 @@ announce_reconnect (struct GNUNET_REGEX_Announcement *a)
   struct AnnounceMessage *am;
   size_t slen;
 
-  a->mq = GNUNET_CLIENT_connecT (a->cfg,
+  a->mq = GNUNET_CLIENT_connect (a->cfg,
                                  "regex",
                                  NULL,
                                  &announce_mq_error_handler,
index ff85f57485aa5d9f84ac941f6f279669cbda86c4..b7a015f87680f7fcf7fd178be169082f124faf6d 100644 (file)
@@ -167,7 +167,7 @@ search_reconnect (struct GNUNET_REGEX_Search *s)
   struct RegexSearchMessage *rsm;
 
   GNUNET_assert (NULL == s->mq);
-  s->mq = GNUNET_CLIENT_connecT (s->cfg,
+  s->mq = GNUNET_CLIENT_connect (s->cfg,
                                  "regex",
                                  handlers,
                                  &mq_error_handler,
index ad3253548e2391cc8843ea5995d11844dda7cbd4..2965808fa9b1916ce376aa814f0c42edd29b81e0 100644 (file)
@@ -670,7 +670,7 @@ shutdown_task (void *cls)
   }
   if (NULL != core_api)
   {
-    GNUNET_CORE_disconnecT (core_api);
+    GNUNET_CORE_disconnect (core_api);
     core_api = NULL;
   }
   if (NULL != stats)
@@ -894,7 +894,7 @@ run (void *cls,
   peers = GNUNET_CONTAINER_multipeermap_create (128,
                                                 GNUNET_YES);
   /* Connect to core service and register core handlers */
-  core_api = GNUNET_CORE_connecT (cfg,   /* Main configuration */
+  core_api = GNUNET_CORE_connect (cfg,   /* Main configuration */
                                  NULL,       /* Closure passed to functions */
                                  &core_init,    /* Call core_init once connected */
                                  &handle_core_connect,  /* Handle connects */
index 8c00ac2ae680bbef1d76647fe2291354fde7f25a..fde0296a4448e5f2d88f0698957f1d392ed232c3 100644 (file)
@@ -125,7 +125,7 @@ GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg,
   struct QueryMessage *qm;
   struct GNUNET_MQ_Envelope *env;
 
-  q->mq = GNUNET_CLIENT_connecT (cfg,
+  q->mq = GNUNET_CLIENT_connect (cfg,
                                  "revocation",
                                  handlers,
                                  &query_mq_error_handler,
@@ -283,7 +283,7 @@ GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg,
     return NULL;
   }
 
-  h->mq = GNUNET_CLIENT_connecT (cfg,
+  h->mq = GNUNET_CLIENT_connect (cfg,
                                  "revocation",
                                  handlers,
                                  &revocation_mq_error_handler,
index ba659d9d85d5bc7732830d74621517ab8089914b..d3bbb879a80e44331575d0008f953b98b3928404 100644 (file)
@@ -337,7 +337,7 @@ core_connect_adapter (void *cls,
   struct TestPeer *me = cls;
 
   me->cfg = cfg;
-  me->ch = GNUNET_CORE_connecT (cfg,
+  me->ch = GNUNET_CORE_connect (cfg,
                                me,
                                NULL,
                                 &connect_cb,
@@ -356,7 +356,7 @@ core_disconnect_adapter (void *cls,
 {
   struct TestPeer *me = cls;
 
-  GNUNET_CORE_disconnecT (me->ch);
+  GNUNET_CORE_disconnect (me->ch);
   me->ch = NULL;
 }
 
index 3d2f3735981182a983245487c226b3938c7db442..504f28b92091aefecf905865707079f01a44c9b6 100644 (file)
@@ -286,7 +286,7 @@ reconnect (struct GNUNET_RPS_Handle *h)
 
   if (NULL != h->mq)
     GNUNET_MQ_destroy (h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "rps",
                                  mq_handlers,
                                  &mq_error_handler,
index 9606851c84007c252b7c4603bbc4ee7f00bc7b5e..df9f8d196c52e69ad7808e9ab4953de4650ed8cb 100644 (file)
@@ -256,7 +256,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl
   h->response_proc = &process_status_message;
   h->cfg = cfg;
   h->key = *session_key;
-  h->mq = GNUNET_CLIENT_connecT (cfg,
+  h->mq = GNUNET_CLIENT_connect (cfg,
                                  "scalarproduct-bob",
                                  handlers,
                                  &mq_error_handler,
@@ -408,7 +408,7 @@ GNUNET_SCALARPRODUCT_start_computation (const struct GNUNET_CONFIGURATION_Handle
   if (GNUNET_SYSERR == check_unique (elements,
                                      element_count))
     return NULL;
-  h->mq = GNUNET_CLIENT_connecT (cfg,
+  h->mq = GNUNET_CLIENT_connect (cfg,
                                  "scalarproduct-alice",
                                  handlers,
                                  &mq_error_handler,
index 78167b671a5cf1cdb8ed8b70a726cbf5d2fbf20c..85df66c13b8f2692f8d0c930488e866d11c8e843 100644 (file)
@@ -261,7 +261,7 @@ GNUNET_SECRETSHARING_create_session (const struct GNUNET_CONFIGURATION_Handle *c
   struct GNUNET_MQ_Envelope *ev;
   struct GNUNET_SECRETSHARING_CreateMessage *msg;
 
-  s->mq = GNUNET_CLIENT_connecT (cfg,
+  s->mq = GNUNET_CLIENT_connect (cfg,
                                  "secretsharing",
                                  mq_handlers,
                                  &handle_session_client_error,
@@ -348,7 +348,7 @@ GNUNET_SECRETSHARING_decrypt (const struct GNUNET_CONFIGURATION_Handle *cfg,
 
   s->decrypt_cb = decrypt_cb;
   s->decrypt_cls = decrypt_cb_cls;
-  s->mq = GNUNET_CLIENT_connecT (cfg,
+  s->mq = GNUNET_CLIENT_connect (cfg,
                                  "secretsharing",
                                  mq_handlers,
                                  &handle_decrypt_client_error,
index 7a33b86eaeb8d210ada05c1ec7f1ff0db9d5fa25..7a7267a330c43075438d9599416bb17ff03058ff 100644 (file)
@@ -586,7 +586,7 @@ create_internal (const struct GNUNET_CONFIGURATION_Handle *cfg,
   struct GNUNET_SET_CopyLazyConnectMessage *copy_msg;
 
   set->cfg = cfg;
-  set->mq = GNUNET_CLIENT_connecT (cfg,
+  set->mq = GNUNET_CLIENT_connect (cfg,
                                    "set",
                                    mq_handlers,
                                    &handle_client_set_error,
@@ -914,7 +914,7 @@ listen_connect (void *cls)
 
   lh->reconnect_task = NULL;
   GNUNET_assert (NULL == lh->mq);
-  lh->mq = GNUNET_CLIENT_connecT (lh->cfg,
+  lh->mq = GNUNET_CLIENT_connect (lh->cfg,
                                   "set",
                                   mq_handlers,
                                   &handle_client_listener_error,
index f78cb9a85c52a2a8e547316837705349ce0bda83..d96c93d8fbd8e57ef8db9725a6c00262da285c09 100644 (file)
@@ -1195,7 +1195,7 @@ host_connect (struct GNUNET_SOCIAL_Host *hst)
     GNUNET_MQ_handler_end ()
   };
 
-  plc->mq = GNUNET_CLIENT_connecT (plc->cfg, "social",
+  plc->mq = GNUNET_CLIENT_connect (plc->cfg, "social",
                                    handlers, host_disconnected, hst);
   GNUNET_assert (NULL != plc->mq);
   plc->tmit = GNUNET_PSYC_transmit_create (plc->mq);
@@ -1697,7 +1697,7 @@ guest_connect (struct GNUNET_SOCIAL_Guest *gst)
     GNUNET_MQ_handler_end ()
   };
 
-  plc->mq = GNUNET_CLIENT_connecT (plc->cfg, "social",
+  plc->mq = GNUNET_CLIENT_connect (plc->cfg, "social",
                                    handlers, guest_disconnected, gst);
   GNUNET_assert (NULL != plc->mq);
   plc->tmit = GNUNET_PSYC_transmit_create (plc->mq);
@@ -2597,7 +2597,7 @@ app_connect (struct GNUNET_SOCIAL_App *app)
     GNUNET_MQ_handler_end ()
   };
 
-  app->mq = GNUNET_CLIENT_connecT (app->cfg, "social",
+  app->mq = GNUNET_CLIENT_connect (app->cfg, "social",
                                    handlers, app_disconnected, app);
   GNUNET_assert (NULL != app->mq);
   GNUNET_MQ_send_copy (app->mq, app->connect_env);
index bfa2da3b4d6cc33eab880299b7c6451ab068c7eb..ad4453b2a62a0e8515317e0d972bdd1c740aabab 100644 (file)
@@ -678,7 +678,7 @@ try_connect (struct GNUNET_STATISTICS_Handle *h)
     return GNUNET_NO;
   if (NULL != h->mq)
     return GNUNET_YES;
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "statistics",
                                  handlers,
                                  &mq_error_handler,
index 19a5d9b501e88d2ac6c99168fbf5070305e24c8b..25494aed059e13794c5fbcca6b747bfb5bc0419b 100644 (file)
@@ -224,7 +224,7 @@ GNUNET_TESTBED_LOGGER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg)
   struct GNUNET_TESTBED_LOGGER_Handle *h;
 
   h = GNUNET_new (struct GNUNET_TESTBED_LOGGER_Handle);
-  h->mq = GNUNET_CLIENT_connecT (cfg,
+  h->mq = GNUNET_CLIENT_connect (cfg,
                                  "testbed-logger",
                                  NULL,
                                  &mq_error_handler,
index b0e369c6a3173b9c8f8f33afdbe078a9434248f8..6bc744ba876dec36f9e5143383fe3a205f45aaca 100644 (file)
@@ -623,12 +623,12 @@ core_peer_connect_cb (void *cls,
 
 
 /**
- * Function called after #GNUNET_CORE_connecT() has succeeded (or failed
+ * Function called after #GNUNET_CORE_connect() has succeeded (or failed
  * for good).  Note that the private key of the peer is intentionally
  * not exposed here; if you need it, your process should try to read
  * the private key file directly (which should work if you are
  * authorized...).  Implementations of this function must not call
- * #GNUNET_CORE_disconnecT() (other than by scheduling a new task to
+ * #GNUNET_CORE_disconnect() (other than by scheduling a new task to
  * do this later).
  *
  * @param cls the #PooledConnection object
@@ -675,7 +675,7 @@ opstart_get_handle_core (void *cls)
   LOG_DEBUG ("Opening a CORE connection to peer %u\n",
              entry->index);
   entry->handle_core
-    = GNUNET_CORE_connecT (entry->cfg,
+    = GNUNET_CORE_connect (entry->cfg,
                            entry,        /* closure */
                            &core_startup_cb, /* core startup notify */
                            &core_peer_connect_cb,    /* peer connect notify */
@@ -697,7 +697,7 @@ oprelease_get_handle_core (void *cls)
 
   if (NULL == entry->handle_core)
     return;
-  GNUNET_CORE_disconnecT (entry->handle_core);
+  GNUNET_CORE_disconnect (entry->handle_core);
   entry->handle_core = NULL;
   GNUNET_free_non_null (entry->peer_identity);
   entry->peer_identity = NULL;
index ae40948b3cf87d4be998a0f1d953c9ebd8d13731..0e0a5da9c9d4881ae3933f1e2daddfc9e2ed0fde 100644 (file)
@@ -1646,7 +1646,7 @@ GNUNET_TESTBED_controller_connect (struct GNUNET_TESTBED_Host *host,
   controller->cc_cls = cc_cls;
   controller->event_mask = event_mask;
   controller->cfg = GNUNET_CONFIGURATION_dup (cfg);
-  controller->mq = GNUNET_CLIENT_connecT (controller->cfg,
+  controller->mq = GNUNET_CLIENT_connect (controller->cfg,
                                           "testbed",
                                           handlers,
                                           &mq_error_handler,
index 1679756a1cb21138277d43feb9b23222e95cc594..93698d4b729ce0432e7744b944ece11bfa635b25 100644 (file)
@@ -215,7 +215,7 @@ GNUNET_TESTBED_barrier_wait (const char *name,
   h->name = GNUNET_strdup (name);
   h->cb = cb;
   h->cb_cls = cb_cls;
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "testbed-barrier",
                                  handlers,
                                  &mq_error_handler,
index 69f01e0431ac9ed28a83c04b1822661b957ae58f..d48f07e719da09f813b200caa26979994c93ee3a 100644 (file)
@@ -902,7 +902,7 @@ process_peer (void *cls,
 
 
 /**
- * Function called after #GNUNET_CORE_connecT has succeeded
+ * Function called after #GNUNET_CORE_connect has succeeded
  * (or failed for good).
  *
  * @param cls closure
@@ -1101,7 +1101,7 @@ cleaning_task (void *cls)
   }
   if (NULL != handle)
   {
-    GNUNET_CORE_disconnecT (handle);
+    GNUNET_CORE_disconnect (handle);
     handle = NULL;
   }
   whitelist_peers ();
@@ -1189,7 +1189,7 @@ run (void *cls,
                                             &blacklist_check,
                                             NULL);
   ats = GNUNET_ATS_connectivity_init (cfg);
-  handle = GNUNET_CORE_connecT (cfg,
+  handle = GNUNET_CORE_connect (cfg,
                                NULL,
                                &core_init,
                                &connect_notify,
index fd30230f751a3dda44e30f5d4d97e96736415091..b9c72dcb3d67229d85da236994c35c30e8c2c856 100644 (file)
@@ -210,7 +210,7 @@ GNUNET_TRANSPORT_address_to_string (const struct GNUNET_CONFIGURATION_Handle *cf
   }
   alc->cb = aluc;
   alc->cb_cls = aluc_cls;
-  alc->mq = GNUNET_CLIENT_connecT (cfg,
+  alc->mq = GNUNET_CLIENT_connect (cfg,
                                    "transport",
                                    handlers,
                                    &mq_error_handler,
index 4b758f9dc6cb08282cac1dfc8f0e1eac9d1dd9ac..7b1bf526e1931b646911cdc229dbd716b9235f89 100644 (file)
@@ -132,7 +132,7 @@ reconnect (struct GNUNET_TRANSPORT_Blacklist *br)
 
   if (NULL != br->mq)
     GNUNET_MQ_destroy (br->mq);
-  br->mq = GNUNET_CLIENT_connecT (br->cfg,
+  br->mq = GNUNET_CLIENT_connect (br->cfg,
                                   "transport",
                                   handlers,
                                   &mq_error_handler,
index de18a140cd7e19fcde3e3c1567d947c30beb2064..a693cb889ec08b2588d2b0deedd588a7ee82ad56 100644 (file)
@@ -805,7 +805,7 @@ reconnect (void *cls)
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Connecting to transport service.\n");
   GNUNET_assert (NULL == h->mq);
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "transport",
                                  handlers,
                                  &mq_error_handler,
index 9c3a3e7867f04846128232d66547ed828075f729..c53dd7a9a454233b0039c2bdf16ded2389602212 100644 (file)
@@ -182,7 +182,7 @@ reconnect (void *cls)
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Connecting to transport service.\n");
   GNUNET_assert (NULL == ghh->mq);
-  ghh->mq = GNUNET_CLIENT_connecT (ghh->cfg,
+  ghh->mq = GNUNET_CLIENT_connect (ghh->cfg,
                                    "transport",
                                    handlers,
                                    &mq_error_handler,
index 6325354cbe967bd2629e8208a2493eb2f51f9fb9..fd5849a7eed7a85394cf8c1b497bd1a67fac529f 100644 (file)
@@ -121,7 +121,7 @@ reconnect (void *cls)
        "Connecting to transport service.\n");
   GNUNET_assert (NULL == h->mq);
   h->reconnecting = GNUNET_NO;
-  h->mq = GNUNET_CLIENT_connecT (h->cfg,
+  h->mq = GNUNET_CLIENT_connect (h->cfg,
                                  "transport",
                                  handlers,
                                  &mq_error_handler,
index 345f2ad6078c0b43404349674c61e1e0ea8e9449..38e6e0d7c20019828ff4beb159778463cbc5e2a1 100644 (file)
@@ -360,7 +360,7 @@ do_peer_connect (void *cls)
   struct GNUNET_MQ_Envelope *env;
 
   pal_ctx->reconnect_task = NULL;
-  pal_ctx->mq = GNUNET_CLIENT_connecT (pal_ctx->cfg,
+  pal_ctx->mq = GNUNET_CLIENT_connect (pal_ctx->cfg,
                                        "transport",
                                        handlers,
                                        &mq_error_handler,
index 7547a3402351fa425bb78f10b3977afed7ac36af..e81664c41f9b4235a8806235f732e1310c4b7112 100644 (file)
@@ -388,7 +388,7 @@ do_plugin_connect (void *cls)
   struct GNUNET_MQ_Envelope *env;
 
   pm->reconnect_task = NULL;
-  pm->mq = GNUNET_CLIENT_connecT (pm->cfg,
+  pm->mq = GNUNET_CLIENT_connect (pm->cfg,
                                   "transport",
                                   handlers,
                                   &mq_error_handler,
index 951ab9ba41ade8cca8b5096141fc6624fd4733f9..e1dca14e35fc47cc7d2cf26fc55034a142cefe63 100644 (file)
@@ -104,7 +104,7 @@ GNUNET_TRANSPORT_offer_hello (const struct GNUNET_CONFIGURATION_Handle *cfg,
     GNUNET_free (ohh);
     return NULL;
   }
-  ohh->mq = GNUNET_CLIENT_connecT (cfg,
+  ohh->mq = GNUNET_CLIENT_connect (cfg,
                                    "transport",
                                    NULL,
                                    NULL,
index 337d0673452f003ea88ab30e99022750a1a5bc43..d06547daf07ddb0d8bab6a50e0f0604a76a058ec 100644 (file)
@@ -821,7 +821,7 @@ connection_client_cancel_impl (struct GNUNET_MQ_Handle *mq,
  * @return the message queue, NULL on error
  */
 struct GNUNET_MQ_Handle *
-GNUNET_CLIENT_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CLIENT_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
                       const char *service_name,
                       const struct GNUNET_MQ_MessageHandler *handlers,
                       GNUNET_MQ_ErrorHandler error_handler,
index 481e99157ed641e5ffd46699a4390f32d644ae3c..fdeaed0065347d646b5caa00b92605643b3212c7 100644 (file)
@@ -735,7 +735,7 @@ reconnect_task (void *cls)
     return;                     /* no work pending */
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Trying to connect to DNS service\n");
-  mq = GNUNET_CLIENT_connecT (resolver_cfg,
+  mq = GNUNET_CLIENT_connect (resolver_cfg,
                               "resolver",
                               handlers,
                               &mq_error_handler,
index aa4d8449534717b0532abb6487b6d7ffcf4afef2..f60e5b7f7513a9f55b932ff9cf874d37f353d768 100644 (file)
@@ -98,12 +98,12 @@ task (void *cls,
 
   /* test that ill-configured client fails instantly */
   GNUNET_assert (NULL ==
-                GNUNET_CLIENT_connecT (cfg,
+                GNUNET_CLIENT_connect (cfg,
                                        "invalid-service",
                                        NULL,
                                        &mq_error_handler,
                                        NULL));
-  client_mq = GNUNET_CLIENT_connecT (cfg,
+  client_mq = GNUNET_CLIENT_connect (cfg,
                                     "test_client",
                                     chandlers,
                                     &mq_error_handler,
index eac45fc6979184bc6b92f73cff89707d7a08161e..8003adbf4c3a7bcb24fc9b413c7d688dc01aa0a6 100644 (file)
@@ -267,7 +267,7 @@ task (void *cls)
                                          "resolver",
                                          "HOSTNAME",
                                          "localhost");
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               "test-server",
                               chandlers,
                               &mq_error_handler,
index de9c4722d63d59eeaabfb8194528ebaa2a5ded7d..c3d003e9099180bffed0ae52e8aa9edce9cfad27 100644 (file)
@@ -125,7 +125,7 @@ task (void *cls)
                                          "localhost");
   GNUNET_CONFIGURATION_set_value_string (cfg, "resolver", "HOSTNAME",
                                          "localhost");
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               "test-server",
                               NULL,
                               NULL,
index 59f9b6afd05530e4ceae172d5386c53c9406c4bb..63bfda00cf6c288fa21457b4524031dd81c16dfc 100644 (file)
@@ -166,7 +166,7 @@ task (void *cls)
   GNUNET_CONFIGURATION_set_value_string (cfg, "test", "HOSTNAME", "localhost");
   GNUNET_CONFIGURATION_set_value_string (cfg, "resolver", "HOSTNAME",
                                          "localhost");
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               "test",
                               NULL,
                               NULL,
index ef48aabcec9a04dd2b0d1ce54409d01c71facc9f..d240f1a88a751d39d2618595a6c26bd463a7e38f 100644 (file)
@@ -144,7 +144,7 @@ task (void *cls)
   GNUNET_CONFIGURATION_set_value_string (cfg, "test", "UNIXPATH", unixpath);
   GNUNET_CONFIGURATION_set_value_string (cfg, "resolver", "HOSTNAME",
                                          "localhost");
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               "test",
                               NULL,
                               NULL,
index dc9d16ed999bf2fdcbad188811d3f0a78ef619bd..d2136b42f0a8881a89a175e506e79e26ec6eda7b 100644 (file)
@@ -107,7 +107,7 @@ service_init (void *cls,
   struct GNUNET_MQ_Envelope *env;
   struct GNUNET_MessageHeader *msg;
   
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               service_name,
                               NULL,
                               NULL,
index 416f32f62ca4dd3cc06953e96e22275100f61be3..cb70f916fb86b52680ce25f229d044d22d944fdc 100644 (file)
@@ -160,7 +160,7 @@ task (void *cls)
   handlers[0].callback_cls = cls;
   handlers[1].callback_cls = cls;
   GNUNET_SERVER_add_handlers (server, handlers);
-  mq = GNUNET_CLIENT_connecT (cfg,
+  mq = GNUNET_CLIENT_connect (cfg,
                               MYNAME,
                               chandlers,
                               &mq_error_handler,
index 4add41ce4d58e5ca4ecaaf326cd80c55fab614db..bc77865a89d0e17799ab2f52079d94a8f494646f 100644 (file)
@@ -324,7 +324,7 @@ connect_task (void *cls)
   struct GNUNET_VPN_RedirectionRequest *rr;
 
   vh->rt = NULL;
-  vh->mq = GNUNET_CLIENT_connecT (vh->cfg,
+  vh->mq = GNUNET_CLIENT_connect (vh->cfg,
                                   "vpn",
                                   handlers,
                                   &mq_error_handler,