enum GNUNET_SCALARPRODUCT_ResponseStatus status);
/**
* Process a datum that was stored in the scalarproduct.
- *
+ *
* @param cls closure
* @param status Status of the request
* @param type result of the computation
/**
* Request by Alice's client for computing a scalar product
- *
+ *
* @param h handle to the master context
* @param key Session key - unique to the requesting client
* @param peer PeerID of the other peer
void *cont_cls);
/**
- * Used by Bob's client to cooperate with Alice,
- *
+ * Used by Bob's client to cooperate with Alice,
+ *
* @param h handle to our configuration
* @param key Session key - unique to the requesting client
* @param elements Array of elements of the vector
/**
* Cancel an ongoing computation or revoke our collaboration offer.
* Closes the connection to the service
- *
+ *
* @param h handel to terminate
*/
-void
-GNUNET_SCALARPRODUCT_cancel (const struct GNUNET_SCALARPRODUCT_Handle *h);
+void
+GNUNET_SCALARPRODUCT_cancel (struct GNUNET_SCALARPRODUCT_ComputationHandle * h);
+
+/**
+ * Cancel ALL ongoing computation or revoke our collaboration offer.
+ * Closes ALL connections to the service
+ *
+ */
+void
+GNUNET_SCALARPRODUCT_disconnect ();
#if 0 /* keep Emacsens' auto-indent happy */
{