aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_peerstore_service.h
diff options
context:
space:
mode:
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