diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-09-03 12:07:52 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-09-03 12:07:52 +0000 |
commit | dc91365855b72f0c97c0a7abc6eac7d479704daf (patch) | |
tree | a0242025c976f2c23b64cdd3516a84b6681d4c57 /src/include/gnunet_scalarproduct_service.h | |
parent | d4922969a54f83b3c2d7503a9bda2708700869c8 (diff) | |
download | gnunet-dc91365855b72f0c97c0a7abc6eac7d479704daf.tar.gz gnunet-dc91365855b72f0c97c0a7abc6eac7d479704daf.zip |
re-added collective disconnect command to the scalarproduct API
adapted the scalarproduct client to use the new API
modified scalarproduct.h to include proper logging for gcrypt errors
cancel is now quiet
added proper gcry logging to the SP-API
Diffstat (limited to 'src/include/gnunet_scalarproduct_service.h')
-rw-r--r-- | src/include/gnunet_scalarproduct_service.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/gnunet_scalarproduct_service.h b/src/include/gnunet_scalarproduct_service.h index 4ad9f6c62..a398a3198 100644 --- a/src/include/gnunet_scalarproduct_service.h +++ b/src/include/gnunet_scalarproduct_service.h | |||
@@ -122,8 +122,16 @@ GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
122 | * | 122 | * |
123 | * @param h handel to terminate | 123 | * @param h handel to terminate |
124 | */ | 124 | */ |
125 | void | 125 | void |
126 | GNUNET_SCALARPRODUCT_cancel (const struct GNUNET_SCALARPRODUCT_Handle *h); | 126 | GNUNET_SCALARPRODUCT_cancel (struct GNUNET_SCALARPRODUCT_ComputationHandle * h); |
127 | |||
128 | /** | ||
129 | * Cancel ALL ongoing computation or revoke our collaboration offer. | ||
130 | * Closes ALL connections to the service | ||
131 | * | ||
132 | */ | ||
133 | void | ||
134 | GNUNET_SCALARPRODUCT_disconnect (); | ||
127 | 135 | ||
128 | #if 0 /* keep Emacsens' auto-indent happy */ | 136 | #if 0 /* keep Emacsens' auto-indent happy */ |
129 | { | 137 | { |