GNUnet  0.10.x
015.c
Go to the documentation of this file.
3  const char *sub_system,
4  const struct GNUNET_PeerIdentity *peer,
5  const char *key,
7  void *callback_cls);
8 
GNUNET_PEERSTORE_Processor callback
Callback with each record received.
void(* GNUNET_PEERSTORE_Processor)(void *cls, const struct GNUNET_PEERSTORE_Record *record, const char *emsg)
Function called by PEERSTORE for each matching record.
struct GNUNET_PEERSTORE_WatchContext * GNUNET_PEERSTORE_watch(struct GNUNET_PEERSTORE_Handle *h, const char *sub_system, const struct GNUNET_PeerIdentity *peer, const char *key, GNUNET_PEERSTORE_Processor callback, void *callback_cls)
Request watching a given key User will be notified with any new values added to key.
void * callback_cls
Closure for callback.
static struct GNUNET_ARM_Handle * h
Connection with ARM.
Definition: gnunet-arm.c:94
Context for a watch request.
Handle to the PEERSTORE service.
Definition: peerstore_api.c:40
struct GNUNET_TESTBED_Peer * peer
The peer associated with this model.
struct GNUNET_HashCode key
The key used in the DHT.
The identity of the host (wraps the signing key of the peer).