aboutsummaryrefslogtreecommitdiff
path: root/src/set/set.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-08-30 00:44:11 +0000
committerFlorian Dold <florian.dold@gmail.com>2015-08-30 00:44:11 +0000
commit7936cab9bd741a9ff30362c8495daa29f1874b2e (patch)
tree33606962451dcb4b15dabff20f605a5c58f1cc72 /src/set/set.h
parent38963d1e81332032e0ac774f4f2c6b804c38802a (diff)
downloadgnunet-7936cab9bd741a9ff30362c8495daa29f1874b2e.tar.gz
gnunet-7936cab9bd741a9ff30362c8495daa29f1874b2e.zip
work in progress: fix set bug, implement lazy copy
Diffstat (limited to 'src/set/set.h')
-rw-r--r--src/set/set.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/set/set.h b/src/set/set.h
index b5750ae3a..0dccf2a51 100644
--- a/src/set/set.h
+++ b/src/set/set.h
@@ -308,6 +308,41 @@ struct GNUNET_SET_IterAckMessage
308 uint32_t send_more; 308 uint32_t send_more;
309}; 309};
310 310
311
312/**
313 * Server responds to a lazy copy request.
314 */
315struct GNUNET_SET_CopyLazyResponseMessage
316{
317 /**
318 * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_RESPONSE
319 */
320 struct GNUNET_MessageHeader header;
321
322 /**
323 * Temporary name for the copied set.
324 */
325 uint32_t cookie;
326};
327
328
329/**
330 * Client connects to a lazily copied set.
331 */
332struct GNUNET_SET_CopyLazyConnectMessage
333{
334 /**
335 * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_CONNECT
336 */
337 struct GNUNET_MessageHeader header;
338
339 /**
340 * Temporary name for the copied set.
341 */
342 uint32_t cookie;
343};
344
345
311GNUNET_NETWORK_STRUCT_END 346GNUNET_NETWORK_STRUCT_END
312 347
313#endif 348#endif