aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-24 15:50:48 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-24 18:10:11 +0100
commit592b43fdf3f3572892f4095808daf22010469d0b (patch)
tree74f01c52aa3a2727388f81d0b4a3fc86a08af8a9 /src/set/gnunet-service-set.c
parent398c70fd7434f3f7891175be96b73191e49a0afe (diff)
downloadgnunet-592b43fdf3f3572892f4095808daf22010469d0b.tar.gz
gnunet-592b43fdf3f3572892f4095808daf22010469d0b.zip
add option parsing
Diffstat (limited to 'src/set/gnunet-service-set.c')
-rw-r--r--src/set/gnunet-service-set.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index e3e1afe08..126bf02d2 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -1683,6 +1683,10 @@ handle_client_evaluate (void *cls,
1683 spec->set = set; 1683 spec->set = set;
1684 spec->result_mode = ntohl (msg->result_mode); 1684 spec->result_mode = ntohl (msg->result_mode);
1685 spec->client_request_id = ntohl (msg->request_id); 1685 spec->client_request_id = ntohl (msg->request_id);
1686 spec->byzantine = msg->byzantine;
1687 spec->byzantine_lower_bound = msg->byzantine_lower_bound;
1688 spec->force_full = msg->force_full;
1689 spec->force_delta = msg->force_delta;
1686 context = GNUNET_MQ_extract_nested_mh (msg); 1690 context = GNUNET_MQ_extract_nested_mh (msg);
1687 op->spec = spec; 1691 op->spec = spec;
1688 1692
@@ -2019,6 +2023,10 @@ handle_client_accept (void *cls,
2019 op); 2023 op);
2020 op->spec->client_request_id = ntohl (msg->request_id); 2024 op->spec->client_request_id = ntohl (msg->request_id);
2021 op->spec->result_mode = ntohl (msg->result_mode); 2025 op->spec->result_mode = ntohl (msg->result_mode);
2026 op->spec->byzantine = msg->byzantine;
2027 op->spec->byzantine_lower_bound = msg->byzantine_lower_bound;
2028 op->spec->force_full = msg->force_full;
2029 op->spec->force_delta = msg->force_delta;
2022 2030
2023 // Advance generation values, so that 2031 // Advance generation values, so that
2024 // mutations won't interfer with the running operation. 2032 // mutations won't interfer with the running operation.