}
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Test successful \n");
- GNUNET_break (0);
GNUNET_SCHEDULER_shutdown ();
- ok = 0;
}
static void
GNUNET_free(keyfile);
GNUNET_free(web);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up dave done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[0]);
return GNUNET_OK;
}
GNUNET_CRYPTO_rsa_key_free(key);
GNUNET_free(keyfile);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up bob done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[1]);
return GNUNET_OK;
}
GNUNET_CRYPTO_rsa_key_free (key);
GNUNET_free (keyfile);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up alice done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[2]);
return GNUNET_OK;
}
static int connections = 0;
int res;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback of type: %u %p \n", event->type, cls);
switch (event->type)
{
case GNUNET_TESTBED_ET_OPERATION_FINISHED:
if (get_cfg_ops[0] == event->details.operation_finished.operation)
{
res = setup_dave (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[0]);
get_cfg_ops[0] = NULL;
if (GNUNET_SYSERR == res)
{
else if (get_cfg_ops[1] == event->details.operation_finished.operation)
{
res = setup_bob (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[1]);
get_cfg_ops[1] = NULL;
if (GNUNET_SYSERR == res)
{
else if (get_cfg_ops[2] == event->details.operation_finished.operation)
{
res = setup_alice (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[2]);
get_cfg_ops[2] = NULL;
if (GNUNET_SYSERR == res)
{