diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 07:41:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 07:41:21 +0000 |
commit | ad989721684818bee9a0a1f81d5fb085241959ab (patch) | |
tree | d3761d4e3af72e1d9c67565b682271a4801436d6 /src/revocation/revocation.h | |
parent | 2315ef124c25961fc88eadbf6b9d396de5d8f992 (diff) | |
download | gnunet-ad989721684818bee9a0a1f81d5fb085241959ab.tar.gz gnunet-ad989721684818bee9a0a1f81d5fb085241959ab.zip |
-implementing revocation library
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r-- | src/revocation/revocation.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/revocation/revocation.h b/src/revocation/revocation.h index c6c5d5e76..29235aeee 100644 --- a/src/revocation/revocation.h +++ b/src/revocation/revocation.h | |||
@@ -33,7 +33,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
33 | /** | 33 | /** |
34 | * Query key revocation status. | 34 | * Query key revocation status. |
35 | */ | 35 | */ |
36 | struct GNUNET_REVOCATION_QueryMessage | 36 | struct QueryMessage |
37 | { | 37 | { |
38 | /** | 38 | /** |
39 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY | 39 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY |
@@ -56,7 +56,7 @@ struct GNUNET_REVOCATION_QueryMessage | |||
56 | /** | 56 | /** |
57 | * Key revocation response. | 57 | * Key revocation response. |
58 | */ | 58 | */ |
59 | struct GNUNET_REVOCATION_QueryResponseMessage | 59 | struct QueryResponseMessage |
60 | { | 60 | { |
61 | /** | 61 | /** |
62 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE | 62 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE |
@@ -78,7 +78,7 @@ struct GNUNET_REVOCATION_QueryResponseMessage | |||
78 | * #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just | 78 | * #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just |
79 | * in a `struct GNUNET_MessageHeader`. | 79 | * in a `struct GNUNET_MessageHeader`. |
80 | */ | 80 | */ |
81 | struct GNUNET_REVOCATION_RevokeMessage | 81 | struct RevokeMessage |
82 | { | 82 | { |
83 | /** | 83 | /** |
84 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE | 84 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE |
@@ -114,6 +114,24 @@ struct GNUNET_REVOCATION_RevokeMessage | |||
114 | }; | 114 | }; |
115 | 115 | ||
116 | 116 | ||
117 | /** | ||
118 | * Key revocation response. | ||
119 | */ | ||
120 | struct RevocationResponseMessage | ||
121 | { | ||
122 | /** | ||
123 | * Type: #GNUNET_MESSAGE_TYPE_REVOKE_RESPONSE | ||
124 | */ | ||
125 | struct GNUNET_MessageHeader header; | ||
126 | |||
127 | /** | ||
128 | * #GNUNET_NO if revoked, #GNUNET_YES if valid. | ||
129 | */ | ||
130 | uint32_t is_valid GNUNET_PACKED; | ||
131 | |||
132 | }; | ||
133 | |||
134 | |||
117 | GNUNET_NETWORK_STRUCT_END | 135 | GNUNET_NETWORK_STRUCT_END |
118 | 136 | ||
119 | 137 | ||