* when the helper process is stoped using GNUNET_HELPER_stop()
*
* @param cls the closure from GNUNET_HELPER_start()
- * @param h the handle representing the helper process. This handle is invalid
- * in this callback. It is only presented for reference. No operations
- * can be performed using it.
*/
-typedef void (*GNUNET_HELPER_ExceptionCallback) (void *cls,
- const struct GNUNET_HELPER_Handle *h);
+typedef void (*GNUNET_HELPER_ExceptionCallback) (void *cls);
/**
* when the helper process is stoped using GNUNET_HELPER_stop()
*
* @param cls the closure from GNUNET_HELPER_start()
- * @param h the handle representing the helper process. This handle is invalid
- * in this callback. It is only presented for reference. No operations
- * can be performed using it.
*/
static void
-exp_cb (void *cls, const struct GNUNET_HELPER_Handle *h)
+exp_cb (void *cls)
{
status = GNUNET_SYSERR;
GNUNET_SCHEDULER_cancel (shutdown_id);
* when the helper process is stoped using GNUNET_HELPER_stop()
*
* @param cls the closure from GNUNET_HELPER_start()
- * @param h the handle representing the helper process. This handle is invalid
- * in this callback. It is only presented for reference. No operations
- * can be performed using it.
*/
static void
-controller_exp_cb (void *cls, const struct GNUNET_HELPER_Handle *h)
+controller_exp_cb (void *cls)
{
struct GNUNET_TESTBED_ControllerProc *cproc = cls;
* when the helper process is stoped using GNUNET_HELPER_stop()
*
* @param cls the closure from GNUNET_HELPER_start()
- * @param h the handle representing the helper process. This handle is invalid
- * in this callback. It is only presented for reference. No operations
- * can be performed using it.
*/
static void
-helper_exp_cb (void *cls, const struct GNUNET_HELPER_Handle *h)
+helper_exp_cb (void *cls)
{
struct GNUNET_TESTBED_HelperHandle *handle = cls;
handle->is_stopped = GNUNET_YES;
GNUNET_TESTBED_host_stop_ (handle);
- handle->exp_cb (handle->exp_cb_cls, h);
+ handle->exp_cb (handle->exp_cb_cls);
}
STRERROR (errno));
if (NULL != h->exp_cb)
{
- h->exp_cb (h->cb_cls, h);
+ h->exp_cb (h->cb_cls);
GNUNET_HELPER_stop (h);
return;
}
h->binary_name);
if (NULL != h->exp_cb)
{
- h->exp_cb (h->cb_cls, h);
+ h->exp_cb (h->cb_cls);
GNUNET_HELPER_stop (h);
return;
}
h->binary_name);
if (NULL != h->exp_cb)
{
- h->exp_cb (h->cb_cls, h);
+ h->exp_cb (h->cb_cls);
GNUNET_HELPER_stop (h);
return;
}