aboutsummaryrefslogtreecommitdiff
path: root/src/fs
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/fs
parent06c0c503acd9d523d4d18eeac862222a744db2ab (diff)
downloadgnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.tar.gz
gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.zip
rename connecT -> connect now that the old API is dead
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_download.c2
-rw-r--r--src/fs/fs_list_indexed.c2
-rw-r--r--src/fs/fs_publish.c4
-rw-r--r--src/fs/fs_search.c2
-rw-r--r--src/fs/fs_unindex.c2
-rw-r--r--src/fs/gnunet-service-fs.c6
6 files changed, 9 insertions, 9 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c
index eacc3c2df..53b836f22 100644
--- a/src/fs/fs_download.c
+++ b/src/fs/fs_download.c
@@ -1335,7 +1335,7 @@ do_reconnect (void *cls)
1335 }; 1335 };
1336 1336
1337 dc->task = NULL; 1337 dc->task = NULL;
1338 dc->mq = GNUNET_CLIENT_connecT (dc->h->cfg, 1338 dc->mq = GNUNET_CLIENT_connect (dc->h->cfg,
1339 "fs", 1339 "fs",
1340 handlers, 1340 handlers,
1341 &download_mq_error_handler, 1341 &download_mq_error_handler,
diff --git a/src/fs/fs_list_indexed.c b/src/fs/fs_list_indexed.c
index 67183fce2..eec125a10 100644
--- a/src/fs/fs_list_indexed.c
+++ b/src/fs/fs_list_indexed.c
@@ -185,7 +185,7 @@ GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h,
185 struct GNUNET_MQ_Envelope *env; 185 struct GNUNET_MQ_Envelope *env;
186 struct GNUNET_MessageHeader *msg; 186 struct GNUNET_MessageHeader *msg;
187 187
188 gic->mq = GNUNET_CLIENT_connecT (h->cfg, 188 gic->mq = GNUNET_CLIENT_connect (h->cfg,
189 "fs", 189 "fs",
190 handlers, 190 handlers,
191 &mq_error_handler, 191 &mq_error_handler,
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 5820c3d0c..86a58a58b 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -863,7 +863,7 @@ hash_for_index_cb (void *cls,
863 GNUNET_free (fn); 863 GNUNET_free (fn);
864 return; 864 return;
865 } 865 }
866 pc->mq = GNUNET_CLIENT_connecT (pc->h->cfg, 866 pc->mq = GNUNET_CLIENT_connect (pc->h->cfg,
867 "fs", 867 "fs",
868 handlers, 868 handlers,
869 &index_mq_error_handler, 869 &index_mq_error_handler,
@@ -1016,7 +1016,7 @@ create_loc_uri (struct GNUNET_FS_PublishContext *pc)
1016 1016
1017 if (NULL != pc->mq) 1017 if (NULL != pc->mq)
1018 GNUNET_MQ_destroy (pc->mq); 1018 GNUNET_MQ_destroy (pc->mq);
1019 pc->mq = GNUNET_CLIENT_connecT (pc->h->cfg, 1019 pc->mq = GNUNET_CLIENT_connect (pc->h->cfg,
1020 "fs", 1020 "fs",
1021 handlers, 1021 handlers,
1022 &loc_mq_error_handler, 1022 &loc_mq_error_handler,
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index 198577b08..75ce4b54f 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -1244,7 +1244,7 @@ do_reconnect (void *cls)
1244 }; 1244 };
1245 1245
1246 sc->task = NULL; 1246 sc->task = NULL;
1247 sc->mq = GNUNET_CLIENT_connecT (sc->h->cfg, 1247 sc->mq = GNUNET_CLIENT_connect (sc->h->cfg,
1248 "fs", 1248 "fs",
1249 handlers, 1249 handlers,
1250 &search_mq_error_handler, 1250 &search_mq_error_handler,
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c
index 2a024ecbb..a672b84d5 100644
--- a/src/fs/fs_unindex.c
+++ b/src/fs/fs_unindex.c
@@ -316,7 +316,7 @@ unindex_finish (struct GNUNET_FS_UnindexContext *uc)
316 uc->seen_dh = NULL; 316 uc->seen_dh = NULL;
317 uc->state = UNINDEX_STATE_FS_NOTIFY; 317 uc->state = UNINDEX_STATE_FS_NOTIFY;
318 GNUNET_FS_unindex_sync_ (uc); 318 GNUNET_FS_unindex_sync_ (uc);
319 uc->mq = GNUNET_CLIENT_connecT (uc->h->cfg, 319 uc->mq = GNUNET_CLIENT_connect (uc->h->cfg,
320 "fs", 320 "fs",
321 handlers, 321 handlers,
322 &unindex_mq_error_handler, 322 &unindex_mq_error_handler,
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index c83d73555..e38fdb032 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -1181,7 +1181,7 @@ shutdown_task (void *cls)
1181 GSF_cadet_stop_server (); 1181 GSF_cadet_stop_server ();
1182 if (NULL != GSF_core) 1182 if (NULL != GSF_core)
1183 { 1183 {
1184 GNUNET_CORE_disconnecT (GSF_core); 1184 GNUNET_CORE_disconnect (GSF_core);
1185 GSF_core = NULL; 1185 GSF_core = NULL;
1186 } 1186 }
1187 if (NULL != GSF_ats) 1187 if (NULL != GSF_ats)
@@ -1219,7 +1219,7 @@ shutdown_task (void *cls)
1219 1219
1220 1220
1221/** 1221/**
1222 * Function called after GNUNET_CORE_connecT has succeeded 1222 * Function called after GNUNET_CORE_connect has succeeded
1223 * (or failed for good). Note that the private key of the 1223 * (or failed for good). Note that the private key of the
1224 * peer is intentionally not exposed here; if you need it, 1224 * peer is intentionally not exposed here; if you need it,
1225 * your process should try to read the private key file 1225 * your process should try to read the private key file
@@ -1299,7 +1299,7 @@ main_init (const struct GNUNET_CONFIGURATION_Handle *c)
1299 "I am peer %s\n", 1299 "I am peer %s\n",
1300 GNUNET_i2s (&GSF_my_id)); 1300 GNUNET_i2s (&GSF_my_id));
1301 GSF_core 1301 GSF_core
1302 = GNUNET_CORE_connecT (GSF_cfg, 1302 = GNUNET_CORE_connect (GSF_cfg,
1303 NULL, 1303 NULL,
1304 &peer_init_handler, 1304 &peer_init_handler,
1305 &GSF_peer_connect_handler, 1305 &GSF_peer_connect_handler,