|
struct GNUNET_PEERINFO_Handle * | GNUNET_PEERINFO_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| Connect to the peerinfo service. More...
|
|
void | GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h) |
| Disconnect from the peerinfo service. More...
|
|
struct GNUNET_MQ_Envelope * | GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, const struct GNUNET_HELLO_Message *hello, GNUNET_SCHEDULER_TaskCallback cont, void *cont_cls) |
| Add a host to the persistent list. More...
|
|
struct GNUNET_PEERINFO_IteratorContext * | GNUNET_PEERINFO_iterate (struct GNUNET_PEERINFO_Handle *h, int include_friend_only, const struct GNUNET_PeerIdentity *peer, GNUNET_PEERINFO_Processor callback, void *callback_cls) |
| Call a method for each known matching host. More...
|
|
void | GNUNET_PEERINFO_iterate_cancel (struct GNUNET_PEERINFO_IteratorContext *ic) |
| Cancel an iteration over peer information. More...
|
|
struct GNUNET_PEERINFO_NotifyContext * | GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg, int include_friend_only, GNUNET_PEERINFO_Processor callback, void *callback_cls) |
| Call a method whenever our known information about peers changes. More...
|
|
void | GNUNET_PEERINFO_notify_cancel (struct GNUNET_PEERINFO_NotifyContext *nc) |
| Stop notifying about changes. More...
|
|
Maintain the list of currently known hosts.
Definition in file gnunet_peerinfo_service.h.