aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-03 21:25:59 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-03 21:26:08 +0200
commit670ebb20b9570120df1021e467b575a212743125 (patch)
treee94b1e8e2bb52da66b426c861f34f8e950dcf8ed /src/ats
parentf13792325fc3f7e49ec2b0880eb4f1aa978e00d7 (diff)
downloadgnunet-670ebb20b9570120df1021e467b575a212743125.tar.gz
gnunet-670ebb20b9570120df1021e467b575a212743125.zip
allow applications expressing connection preferences directly to TNG, collect HELLOs from PEERSTORE for expressed prefs
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/gnunet-service-ats-new.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ats/gnunet-service-ats-new.c b/src/ats/gnunet-service-ats-new.c
index a1666d8d3..f2bc1de7f 100644
--- a/src/ats/gnunet-service-ats-new.c
+++ b/src/ats/gnunet-service-ats-new.c
@@ -304,7 +304,7 @@ prop_ntoh (const struct PropertiesNBO *properties,
304 */ 304 */
305static void 305static void
306handle_suggest (void *cls, 306handle_suggest (void *cls,
307 const struct ExpressPreferenceMessage *msg) 307 const struct ExpressPreferenceMessage *msg)
308{ 308{
309 struct Client *c = cls; 309 struct Client *c = cls;
310 struct ClientPreference *cp; 310 struct ClientPreference *cp;
@@ -344,7 +344,7 @@ handle_suggest (void *cls,
344 */ 344 */
345static void 345static void
346handle_suggest_cancel (void *cls, 346handle_suggest_cancel (void *cls,
347 const struct ExpressPreferenceMessage *msg) 347 const struct ExpressPreferenceMessage *msg)
348{ 348{
349 struct Client *c = cls; 349 struct Client *c = cls;
350 struct ClientPreference *cp; 350 struct ClientPreference *cp;
@@ -772,13 +772,13 @@ GNUNET_SERVICE_MAIN
772 &client_disconnect_cb, 772 &client_disconnect_cb,
773 NULL, 773 NULL,
774 GNUNET_MQ_hd_fixed_size (suggest, 774 GNUNET_MQ_hd_fixed_size (suggest,
775 GNUNET_MESSAGE_TYPE_ATS_SUGGEST, 775 GNUNET_MESSAGE_TYPE_ATS_SUGGEST,
776 struct ExpressPreferenceMessage, 776 struct ExpressPreferenceMessage,
777 NULL), 777 NULL),
778 GNUNET_MQ_hd_fixed_size (suggest_cancel, 778 GNUNET_MQ_hd_fixed_size (suggest_cancel,
779 GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL, 779 GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL,
780 struct ExpressPreferenceMessage, 780 struct ExpressPreferenceMessage,
781 NULL), 781 NULL),
782 GNUNET_MQ_hd_fixed_size (start, 782 GNUNET_MQ_hd_fixed_size (start,
783 GNUNET_MESSAGE_TYPE_ATS_START, 783 GNUNET_MESSAGE_TYPE_ATS_START,
784 struct GNUNET_MessageHeader, 784 struct GNUNET_MessageHeader,