From 37315f877ef27d0f8585389f0c83cd00a31577c1 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 21 Nov 2016 15:22:48 +0100 Subject: Reworked server and client to do one mix and shutdown. This is done as cleanly as possible to track down any memory leaks. unfortunately there is still one async operation running on the nodes. when there should be none. So the nodes are still forced to stop with a. io_service.stop(). --- libcmix/cmix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcmix/cmix.h') diff --git a/libcmix/cmix.h b/libcmix/cmix.h index 057fd60..8e6f598 100644 --- a/libcmix/cmix.h +++ b/libcmix/cmix.h @@ -73,6 +73,8 @@ enum cmix_error get_pub_key_hash(struct CMixContext const* ctx, char** buffer); enum cmix_error start_mix(struct CMixContext* ctx, size_t nr_participants); +void release_mix(struct CMixContext* ctx); + enum cmix_error initialize_mix_randomness(struct CMixContext* ctx); enum cmix_error generate_random_message(struct CMixContext* ctx, char* buffer); -- cgit v1.2.3-70-g09d2