aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_scalarproduct_service.h
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-09-03 12:07:52 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-09-03 12:07:52 +0000
commitdc91365855b72f0c97c0a7abc6eac7d479704daf (patch)
treea0242025c976f2c23b64cdd3516a84b6681d4c57 /src/include/gnunet_scalarproduct_service.h
parentd4922969a54f83b3c2d7503a9bda2708700869c8 (diff)
downloadgnunet-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.h12
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 */
125void 125void
126GNUNET_SCALARPRODUCT_cancel (const struct GNUNET_SCALARPRODUCT_Handle *h); 126GNUNET_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 */
133void
134GNUNET_SCALARPRODUCT_disconnect ();
127 135
128#if 0 /* keep Emacsens' auto-indent happy */ 136#if 0 /* keep Emacsens' auto-indent happy */
129{ 137{