diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-31 22:20:53 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 00:44:22 +0100 |
commit | fff241df3642028f64d5aa2e39a4a4e30468f837 (patch) | |
tree | d303e66c9d4c57895cd4ad87b30c6856eb2b0704 /src/peerinfo/peerinfo_api.c | |
parent | 1e13d39e7c191b1bc6733b6505880ec34516b444 (diff) | |
download | gnunet-fff241df3642028f64d5aa2e39a4a4e30468f837.tar.gz gnunet-fff241df3642028f64d5aa2e39a4a4e30468f837.zip |
-DOC: Pass through PEERINFO subsystem
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index b73d9d927..65e429bef 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -119,13 +119,6 @@ static void | |||
119 | reconnect (struct GNUNET_PEERINFO_Handle *h); | 119 | reconnect (struct GNUNET_PEERINFO_Handle *h); |
120 | 120 | ||
121 | 121 | ||
122 | /** | ||
123 | * Connect to the peerinfo service. | ||
124 | * | ||
125 | * @param cfg configuration to use | ||
126 | * @return NULL on error (configuration related, actual connection | ||
127 | * establishment may happen asynchronously). | ||
128 | */ | ||
129 | struct GNUNET_PEERINFO_Handle * | 122 | struct GNUNET_PEERINFO_Handle * |
130 | GNUNET_PEERINFO_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) | 123 | GNUNET_PEERINFO_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) |
131 | { | 124 | { |
@@ -467,22 +460,6 @@ reconnect (struct GNUNET_PEERINFO_Handle *h) | |||
467 | } | 460 | } |
468 | 461 | ||
469 | 462 | ||
470 | /** | ||
471 | * Call a method for each known matching host. The callback method | ||
472 | * will be invoked once for each matching host and then finally once | ||
473 | * with a NULL pointer. After that final invocation, the iterator | ||
474 | * context must no longer be used. | ||
475 | * | ||
476 | * Instead of calling this function with `peer == NULL` it is often | ||
477 | * better to use #GNUNET_PEERINFO_notify(). | ||
478 | * | ||
479 | * @param h handle to the peerinfo service | ||
480 | * @param include_friend_only include HELLO messages for friends only | ||
481 | * @param peer restrict iteration to this peer only (can be NULL) | ||
482 | * @param callback the method to call for each peer | ||
483 | * @param callback_cls closure for @a callback | ||
484 | * @return iterator context | ||
485 | */ | ||
486 | struct GNUNET_PEERINFO_IteratorContext * | 463 | struct GNUNET_PEERINFO_IteratorContext * |
487 | GNUNET_PEERINFO_iterate (struct GNUNET_PEERINFO_Handle *h, | 464 | GNUNET_PEERINFO_iterate (struct GNUNET_PEERINFO_Handle *h, |
488 | int include_friend_only, | 465 | int include_friend_only, |