aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore.h
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-05-07 18:11:18 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-05-07 18:11:18 +0000
commitd6dd23d50411a11226a8dcd88e51aa0a332e499d (patch)
treeb40988bcf0a7a5d3f7f745d78c2a687850d2cf5d /src/peerstore/peerstore.h
parent603d264417198385513b09844ddf4557dcc44952 (diff)
downloadgnunet-d6dd23d50411a11226a8dcd88e51aa0a332e499d.tar.gz
gnunet-d6dd23d50411a11226a8dcd88e51aa0a332e499d.zip
PEERSTORE api update
Diffstat (limited to 'src/peerstore/peerstore.h')
-rw-r--r--src/peerstore/peerstore.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/peerstore/peerstore.h b/src/peerstore/peerstore.h
index a97f3ee78..255afc82c 100644
--- a/src/peerstore/peerstore.h
+++ b/src/peerstore/peerstore.h
@@ -35,7 +35,7 @@ struct StoreRequestMessage
35{ 35{
36 36
37 /** 37 /**
38 * Type will be GNUNET_MESSAGE_TYPE_PEERINFO_GET 38 * GNUnet message header
39 */ 39 */
40 struct GNUNET_MessageHeader header; 40 struct GNUNET_MessageHeader header;
41 41
@@ -69,9 +69,14 @@ struct StoreRequestMessage
69struct StoreResponseMessage 69struct StoreResponseMessage
70{ 70{
71 /** 71 /**
72 * GNUnet message header
73 */
74 struct GNUNET_MessageHeader header;
75
76 /**
72 * Was the store operation successful (#GNUNET_YES / #GNUNET_NO) 77 * Was the store operation successful (#GNUNET_YES / #GNUNET_NO)
73 */ 78 */
74 int success; 79 uint16_t success;
75 80
76 /** 81 /**
77 * Size of the error message (0 if no error) 82 * Size of the error message (0 if no error)