diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-05 14:17:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-05 14:17:50 +0000 |
commit | 439fed4dda3de557a37de85c08be9ac29746e6b7 (patch) | |
tree | 0a7d0941cd3991fea4aeba26fe9e66d2f456fc8d /src/dv/dv.h | |
parent | 1f3219c222bb206e02a793e6c7d48ccc3045d604 (diff) | |
download | gnunet-439fed4dda3de557a37de85c08be9ac29746e6b7.tar.gz gnunet-439fed4dda3de557a37de85c08be9ac29746e6b7.zip |
-reworking DV to use new MQ API
Diffstat (limited to 'src/dv/dv.h')
-rw-r--r-- | src/dv/dv.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/dv/dv.h b/src/dv/dv.h index e86fdfd15..844cfb5e1 100644 --- a/src/dv/dv.h +++ b/src/dv/dv.h | |||
@@ -126,34 +126,9 @@ struct GNUNET_DV_SendMessage | |||
126 | struct GNUNET_MessageHeader header; | 126 | struct GNUNET_MessageHeader header; |
127 | 127 | ||
128 | /** | 128 | /** |
129 | * Unique ID for this message, for confirm callback, must never be zero. | 129 | * Reserved for alignment. 0. |
130 | */ | 130 | */ |
131 | uint32_t uid GNUNET_PACKED; | 131 | uint32_t reserved GNUNET_PACKED; |
132 | |||
133 | /** | ||
134 | * The (actual) target of the message | ||
135 | */ | ||
136 | struct GNUNET_PeerIdentity target; | ||
137 | |||
138 | }; | ||
139 | |||
140 | |||
141 | /** | ||
142 | * Message from service to DV plugin, saying that a | ||
143 | * SEND request was handled. | ||
144 | */ | ||
145 | struct GNUNET_DV_AckMessage | ||
146 | { | ||
147 | /** | ||
148 | * Type: #GNUNET_MESSAGE_TYPE_DV_SEND_ACK or | ||
149 | * #GNUNET_MESSAGE_TYPE_DV_SEND_NACK. | ||
150 | */ | ||
151 | struct GNUNET_MessageHeader header; | ||
152 | |||
153 | /** | ||
154 | * Which message is being acknowledged? | ||
155 | */ | ||
156 | uint32_t uid GNUNET_PACKED; | ||
157 | 132 | ||
158 | /** | 133 | /** |
159 | * The (actual) target of the message | 134 | * The (actual) target of the message |