diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-05-16 16:45:43 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-05-16 16:45:43 +0000 |
commit | 3c9e8b1b0f7f83f27fefb02bd67b481c67cad0c8 (patch) | |
tree | 525ae2f8cec03f298783aa693d465f789171cf51 /src/include/gnunet_peerstore_service.h | |
parent | aeaf5c97d7d115d99f30e86be66c622b7a6ebf4f (diff) |
peerstore API now uses MQ
Diffstat (limited to 'src/include/gnunet_peerstore_service.h')
-rw-r--r-- | src/include/gnunet_peerstore_service.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/include/gnunet_peerstore_service.h b/src/include/gnunet_peerstore_service.h index 6fd0599615..b802fb3900 100644 --- a/src/include/gnunet_peerstore_service.h +++ b/src/include/gnunet_peerstore_service.h @@ -48,6 +48,44 @@ struct GNUNET_PEERSTORE_Handle; struct GNUNET_PEERSTORE_StoreContext; /** + * Single PEERSTORE record + */ +struct GNUNET_PEERSTORE_Record +{ + + /** + * Responsible sub system string + */ + char *sub_system; + + /** + * Peer Identity + */ + struct GNUNET_PeerIdentity *peer; + + /** + * Record key string + */ + char *key; + + /** + * Record value BLOB + */ + void *value; + + /** + * Size of 'value' BLOB + */ + size_t value_size; + + /** + * Expiry time of entry + */ + struct GNUNET_TIME_Absolute *expiry; + +}; + +/** * Continuation called with a status result. * * @param cls closure |