aboutsummaryrefslogtreecommitdiff
path: root/src/revocation
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/revocation
parent06c0c503acd9d523d4d18eeac862222a744db2ab (diff)
downloadgnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.tar.gz
gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.zip
rename connecT -> connect now that the old API is dead
Diffstat (limited to 'src/revocation')
-rw-r--r--src/revocation/gnunet-service-revocation.c4
-rw-r--r--src/revocation/revocation_api.c4
-rw-r--r--src/revocation/test_revocation.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index ad3253548..2965808fa 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -670,7 +670,7 @@ shutdown_task (void *cls)
670 } 670 }
671 if (NULL != core_api) 671 if (NULL != core_api)
672 { 672 {
673 GNUNET_CORE_disconnecT (core_api); 673 GNUNET_CORE_disconnect (core_api);
674 core_api = NULL; 674 core_api = NULL;
675 } 675 }
676 if (NULL != stats) 676 if (NULL != stats)
@@ -894,7 +894,7 @@ run (void *cls,
894 peers = GNUNET_CONTAINER_multipeermap_create (128, 894 peers = GNUNET_CONTAINER_multipeermap_create (128,
895 GNUNET_YES); 895 GNUNET_YES);
896 /* Connect to core service and register core handlers */ 896 /* Connect to core service and register core handlers */
897 core_api = GNUNET_CORE_connecT (cfg, /* Main configuration */ 897 core_api = GNUNET_CORE_connect (cfg, /* Main configuration */
898 NULL, /* Closure passed to functions */ 898 NULL, /* Closure passed to functions */
899 &core_init, /* Call core_init once connected */ 899 &core_init, /* Call core_init once connected */
900 &handle_core_connect, /* Handle connects */ 900 &handle_core_connect, /* Handle connects */
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index 8c00ac2ae..fde0296a4 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -125,7 +125,7 @@ GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg,
125 struct QueryMessage *qm; 125 struct QueryMessage *qm;
126 struct GNUNET_MQ_Envelope *env; 126 struct GNUNET_MQ_Envelope *env;
127 127
128 q->mq = GNUNET_CLIENT_connecT (cfg, 128 q->mq = GNUNET_CLIENT_connect (cfg,
129 "revocation", 129 "revocation",
130 handlers, 130 handlers,
131 &query_mq_error_handler, 131 &query_mq_error_handler,
@@ -283,7 +283,7 @@ GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg,
283 return NULL; 283 return NULL;
284 } 284 }
285 285
286 h->mq = GNUNET_CLIENT_connecT (cfg, 286 h->mq = GNUNET_CLIENT_connect (cfg,
287 "revocation", 287 "revocation",
288 handlers, 288 handlers,
289 &revocation_mq_error_handler, 289 &revocation_mq_error_handler,
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c
index ba659d9d8..d3bbb879a 100644
--- a/src/revocation/test_revocation.c
+++ b/src/revocation/test_revocation.c
@@ -337,7 +337,7 @@ core_connect_adapter (void *cls,
337 struct TestPeer *me = cls; 337 struct TestPeer *me = cls;
338 338
339 me->cfg = cfg; 339 me->cfg = cfg;
340 me->ch = GNUNET_CORE_connecT (cfg, 340 me->ch = GNUNET_CORE_connect (cfg,
341 me, 341 me,
342 NULL, 342 NULL,
343 &connect_cb, 343 &connect_cb,
@@ -356,7 +356,7 @@ core_disconnect_adapter (void *cls,
356{ 356{
357 struct TestPeer *me = cls; 357 struct TestPeer *me = cls;
358 358
359 GNUNET_CORE_disconnecT (me->ch); 359 GNUNET_CORE_disconnect (me->ch);
360 me->ch = NULL; 360 me->ch = NULL;
361} 361}
362 362