- assert hard
[oweals/gnunet.git] / src / arm / arm.h
index 615079b7c324ba5da9bd2cb817a60c63a9606c79..21884107c51a44d653d69f6d3942f68003903184 100644 (file)
@@ -33,6 +33,7 @@
  */
 #define DEBUG_ARM GNUNET_EXTRA_LOGGING
 
+GNUNET_NETWORK_STRUCT_BEGIN
 
 /**
  * Reply from ARM to client.
@@ -51,5 +52,26 @@ struct GNUNET_ARM_ResultMessage
   uint32_t status;
 };
 
+/**
+ * Reply from ARM to client for the 
+ * GNUNET_MESSAGE_TYPE_ARM_LIST request followed by count 
+ * '\0' terminated strings. header->size contains the
+ * total size (including all strings).
+ */
+struct GNUNET_ARM_ListResultMessage
+{
+  /**
+   * Reply to client is of type GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT
+   */
+  struct GNUNET_MessageHeader header;
+
+  /**
+   * Number of '\0' terminated strings that follow
+   * this message.
+   */
+  uint16_t count;
+};
+
+GNUNET_NETWORK_STRUCT_END
 
 #endif