Update plibc header
[oweals/gnunet.git] / src / revocation / revocation.h
index c6c5d5e762c4c9f060d029c270757d91f856a5fa..b13d79a3762f2a2c66d5a00f8e0dafa8d662f312 100644 (file)
@@ -33,7 +33,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
 /**
  * Query key revocation status.
  */
-struct GNUNET_REVOCATION_QueryMessage
+struct QueryMessage
 {
   /**
    * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY
@@ -56,7 +56,7 @@ struct GNUNET_REVOCATION_QueryMessage
 /**
  * Key revocation response.
  */
-struct GNUNET_REVOCATION_QueryResponseMessage
+struct QueryResponseMessage
 {
   /**
    * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE
@@ -78,7 +78,7 @@ struct GNUNET_REVOCATION_QueryResponseMessage
  * #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just
  * in a `struct GNUNET_MessageHeader`.
  */
-struct GNUNET_REVOCATION_RevokeMessage
+struct RevokeMessage
 {
   /**
    * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE
@@ -114,6 +114,24 @@ struct GNUNET_REVOCATION_RevokeMessage
 };
 
 
+/**
+ * Key revocation response.
+ */
+struct RevocationResponseMessage
+{
+  /**
+   * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE
+   */
+  struct GNUNET_MessageHeader header;
+
+  /**
+   * #GNUNET_NO if revoked, #GNUNET_YES if valid.
+   */
+  uint32_t is_valid GNUNET_PACKED;
+
+};
+
+
 GNUNET_NETWORK_STRUCT_END