diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-24 15:50:48 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-24 18:10:11 +0100 |
commit | 592b43fdf3f3572892f4095808daf22010469d0b (patch) | |
tree | 74f01c52aa3a2727388f81d0b4a3fc86a08af8a9 /src/set/gnunet-service-set.h | |
parent | 398c70fd7434f3f7891175be96b73191e49a0afe (diff) | |
download | gnunet-592b43fdf3f3572892f4095808daf22010469d0b.tar.gz gnunet-592b43fdf3f3572892f4095808daf22010469d0b.zip |
add option parsing
Diffstat (limited to 'src/set/gnunet-service-set.h')
-rw-r--r-- | src/set/gnunet-service-set.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index 1460707fa..68d8fe81f 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h | |||
@@ -119,6 +119,30 @@ struct OperationSpecification | |||
119 | * When are elements sent to the client, and which elements are sent? | 119 | * When are elements sent to the client, and which elements are sent? |
120 | */ | 120 | */ |
121 | enum GNUNET_SET_ResultMode result_mode; | 121 | enum GNUNET_SET_ResultMode result_mode; |
122 | |||
123 | /** | ||
124 | * Always use delta operation instead of sending full sets, | ||
125 | * even it it's less efficient. | ||
126 | */ | ||
127 | int force_delta; | ||
128 | |||
129 | /** | ||
130 | * Always send full sets, even if delta operations would | ||
131 | * be more efficient. | ||
132 | */ | ||
133 | int force_full; | ||
134 | |||
135 | /** | ||
136 | * #GNUNET_YES to fail operations where Byzantine faults | ||
137 | * are suspected | ||
138 | */ | ||
139 | int byzantine; | ||
140 | |||
141 | /** | ||
142 | * Lower bound for the set size, used only when | ||
143 | * byzantine mode is enabled. | ||
144 | */ | ||
145 | int byzantine_lower_bound; | ||
122 | }; | 146 | }; |
123 | 147 | ||
124 | 148 | ||