aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_peerstore_service.h
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-05-16 16:45:43 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-05-16 16:45:43 +0000
commit3c9e8b1b0f7f83f27fefb02bd67b481c67cad0c8 (patch)
tree525ae2f8cec03f298783aa693d465f789171cf51 /src/include/gnunet_peerstore_service.h
parentaeaf5c97d7d115d99f30e86be66c622b7a6ebf4f (diff)
downloadgnunet-3c9e8b1b0f7f83f27fefb02bd67b481c67cad0c8.tar.gz
gnunet-3c9e8b1b0f7f83f27fefb02bd67b481c67cad0c8.zip
peerstore API now uses MQ
Diffstat (limited to 'src/include/gnunet_peerstore_service.h')
-rw-r--r--src/include/gnunet_peerstore_service.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/include/gnunet_peerstore_service.h b/src/include/gnunet_peerstore_service.h
index 6fd059961..b802fb390 100644
--- a/src/include/gnunet_peerstore_service.h
+++ b/src/include/gnunet_peerstore_service.h
@@ -48,6 +48,44 @@ struct GNUNET_PEERSTORE_Handle;
48struct GNUNET_PEERSTORE_StoreContext; 48struct GNUNET_PEERSTORE_StoreContext;
49 49
50/** 50/**
51 * Single PEERSTORE record
52 */
53struct GNUNET_PEERSTORE_Record
54{
55
56 /**
57 * Responsible sub system string
58 */
59 char *sub_system;
60
61 /**
62 * Peer Identity
63 */
64 struct GNUNET_PeerIdentity *peer;
65
66 /**
67 * Record key string
68 */
69 char *key;
70
71 /**
72 * Record value BLOB
73 */
74 void *value;
75
76 /**
77 * Size of 'value' BLOB
78 */
79 size_t value_size;
80
81 /**
82 * Expiry time of entry
83 */
84 struct GNUNET_TIME_Absolute *expiry;
85
86};
87
88/**
51 * Continuation called with a status result. 89 * Continuation called with a status result.
52 * 90 *
53 * @param cls closure 91 * @param cls closure