aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm.h
diff options
context:
space:
mode:
authorMaximilian Szengel <gnunet@maxsz.de>2012-02-29 08:59:39 +0000
committerMaximilian Szengel <gnunet@maxsz.de>2012-02-29 08:59:39 +0000
commitd8b052b2dd8e0242239b14bdd06854bff21cb3d0 (patch)
tree2e9c740f97f6f81c5cc7794d495e0fa6c188c0e3 /src/arm/arm.h
parentfe1e67e9cab9d7bad0211c654ec90f1ef15b7c97 (diff)
downloadgnunet-d8b052b2dd8e0242239b14bdd06854bff21cb3d0.tar.gz
gnunet-d8b052b2dd8e0242239b14bdd06854bff21cb3d0.zip
Adding arm list/info feature.
Diffstat (limited to 'src/arm/arm.h')
-rw-r--r--src/arm/arm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/arm/arm.h b/src/arm/arm.h
index 4b9da6fab..21884107c 100644
--- a/src/arm/arm.h
+++ b/src/arm/arm.h
@@ -51,6 +51,27 @@ struct GNUNET_ARM_ResultMessage
51 */ 51 */
52 uint32_t status; 52 uint32_t status;
53}; 53};
54
55/**
56 * Reply from ARM to client for the
57 * GNUNET_MESSAGE_TYPE_ARM_LIST request followed by count
58 * '\0' terminated strings. header->size contains the
59 * total size (including all strings).
60 */
61struct GNUNET_ARM_ListResultMessage
62{
63 /**
64 * Reply to client is of type GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT
65 */
66 struct GNUNET_MessageHeader header;
67
68 /**
69 * Number of '\0' terminated strings that follow
70 * this message.
71 */
72 uint16_t count;
73};
74
54GNUNET_NETWORK_STRUCT_END 75GNUNET_NETWORK_STRUCT_END
55 76
56#endif 77#endif