aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-10 17:38:29 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-10 17:38:29 +0100
commitbf5f92d9429a556f68c950df7be3dc25907e0d6c (patch)
tree640b74c6a12a53ccac9925eb05b9e6d644d7e748 /src/testbed
parent06c0c503acd9d523d4d18eeac862222a744db2ab (diff)
downloadgnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.tar.gz
gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.zip
rename connecT -> connect now that the old API is dead
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.c8
-rw-r--r--src/testbed/testbed_api.c2
-rw-r--r--src/testbed/testbed_api_barriers.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c
index b0e369c6a..6bc744ba8 100644
--- a/src/testbed/gnunet-service-testbed_connectionpool.c
+++ b/src/testbed/gnunet-service-testbed_connectionpool.c
@@ -623,12 +623,12 @@ core_peer_connect_cb (void *cls,
623 623
624 624
625/** 625/**
626 * Function called after #GNUNET_CORE_connecT() has succeeded (or failed 626 * Function called after #GNUNET_CORE_connect() has succeeded (or failed
627 * for good). Note that the private key of the peer is intentionally 627 * for good). Note that the private key of the peer is intentionally
628 * not exposed here; if you need it, your process should try to read 628 * not exposed here; if you need it, your process should try to read
629 * the private key file directly (which should work if you are 629 * the private key file directly (which should work if you are
630 * authorized...). Implementations of this function must not call 630 * authorized...). Implementations of this function must not call
631 * #GNUNET_CORE_disconnecT() (other than by scheduling a new task to 631 * #GNUNET_CORE_disconnect() (other than by scheduling a new task to
632 * do this later). 632 * do this later).
633 * 633 *
634 * @param cls the #PooledConnection object 634 * @param cls the #PooledConnection object
@@ -675,7 +675,7 @@ opstart_get_handle_core (void *cls)
675 LOG_DEBUG ("Opening a CORE connection to peer %u\n", 675 LOG_DEBUG ("Opening a CORE connection to peer %u\n",
676 entry->index); 676 entry->index);
677 entry->handle_core 677 entry->handle_core
678 = GNUNET_CORE_connecT (entry->cfg, 678 = GNUNET_CORE_connect (entry->cfg,
679 entry, /* closure */ 679 entry, /* closure */
680 &core_startup_cb, /* core startup notify */ 680 &core_startup_cb, /* core startup notify */
681 &core_peer_connect_cb, /* peer connect notify */ 681 &core_peer_connect_cb, /* peer connect notify */
@@ -697,7 +697,7 @@ oprelease_get_handle_core (void *cls)
697 697
698 if (NULL == entry->handle_core) 698 if (NULL == entry->handle_core)
699 return; 699 return;
700 GNUNET_CORE_disconnecT (entry->handle_core); 700 GNUNET_CORE_disconnect (entry->handle_core);
701 entry->handle_core = NULL; 701 entry->handle_core = NULL;
702 GNUNET_free_non_null (entry->peer_identity); 702 GNUNET_free_non_null (entry->peer_identity);
703 entry->peer_identity = NULL; 703 entry->peer_identity = NULL;
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c
index ae40948b3..0e0a5da9c 100644
--- a/src/testbed/testbed_api.c
+++ b/src/testbed/testbed_api.c
@@ -1646,7 +1646,7 @@ GNUNET_TESTBED_controller_connect (struct GNUNET_TESTBED_Host *host,
1646 controller->cc_cls = cc_cls; 1646 controller->cc_cls = cc_cls;
1647 controller->event_mask = event_mask; 1647 controller->event_mask = event_mask;
1648 controller->cfg = GNUNET_CONFIGURATION_dup (cfg); 1648 controller->cfg = GNUNET_CONFIGURATION_dup (cfg);
1649 controller->mq = GNUNET_CLIENT_connecT (controller->cfg, 1649 controller->mq = GNUNET_CLIENT_connect (controller->cfg,
1650 "testbed", 1650 "testbed",
1651 handlers, 1651 handlers,
1652 &mq_error_handler, 1652 &mq_error_handler,
diff --git a/src/testbed/testbed_api_barriers.c b/src/testbed/testbed_api_barriers.c
index 1679756a1..93698d4b7 100644
--- a/src/testbed/testbed_api_barriers.c
+++ b/src/testbed/testbed_api_barriers.c
@@ -215,7 +215,7 @@ GNUNET_TESTBED_barrier_wait (const char *name,
215 h->name = GNUNET_strdup (name); 215 h->name = GNUNET_strdup (name);
216 h->cb = cb; 216 h->cb = cb;
217 h->cb_cls = cb_cls; 217 h->cb_cls = cb_cls;
218 h->mq = GNUNET_CLIENT_connecT (h->cfg, 218 h->mq = GNUNET_CLIENT_connect (h->cfg,
219 "testbed-barrier", 219 "testbed-barrier",
220 handlers, 220 handlers,
221 &mq_error_handler, 221 &mq_error_handler,