aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-10-03 22:36:37 +0000
committerFlorian Dold <florian.dold@gmail.com>2015-10-03 22:36:37 +0000
commit8c85bda93a8ece52f02af7f20fb797ad6ac79337 (patch)
tree9170d89d46bae30e60a3f45e852e0469700a7eab /src/set/gnunet-service-set.h
parent03b62462b4db11dbbb3e121cb6992c8d0fb9152a (diff)
downloadgnunet-8c85bda93a8ece52f02af7f20fb797ad6ac79337.tar.gz
gnunet-8c85bda93a8ece52f02af7f20fb797ad6ac79337.zip
- another fix to generation handling and lazy copying
Diffstat (limited to 'src/set/gnunet-service-set.h')
-rw-r--r--src/set/gnunet-service-set.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h
index c3650aa9b..bc3052f02 100644
--- a/src/set/gnunet-service-set.h
+++ b/src/set/gnunet-service-set.h
@@ -560,6 +560,9 @@ struct Set
560 */ 560 */
561 struct GenerationRange *excluded_generations; 561 struct GenerationRange *excluded_generations;
562 562
563 /**
564 * Number of elements in array @a excluded_generations.
565 */
563 unsigned int excluded_generations_size; 566 unsigned int excluded_generations_size;
564 567
565 /** 568 /**
@@ -574,6 +577,11 @@ struct Set
574 uint16_t iteration_id; 577 uint16_t iteration_id;
575 578
576 /** 579 /**
580 * Generation we're currently iteration over.
581 */
582 unsigned int iter_generation;
583
584 /**
577 * Content, possibly shared by multiple sets, 585 * Content, possibly shared by multiple sets,
578 * and thus reference counted. 586 * and thus reference counted.
579 */ 587 */