aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_testbed_service.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 173aa76b3..1810c9f25 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -1478,6 +1478,29 @@ struct GNUNET_TESTBED_Barrier;
1478 1478
1479 1479
1480/** 1480/**
1481 * Status of a barrier
1482 */
1483enum GNUNET_TESTBED_BarrierStatus
1484{
1485 /**
1486 * Barrier initialised successfully
1487 */
1488 BARRIER_STATUS_INITIALISED = 1,
1489
1490 /**
1491 * Barrier is crossed
1492 */
1493 BARRIER_STATUS_CROSSED,
1494
1495 /**
1496 * Error status
1497 */
1498 BARRIER_STATUS_ERROR,
1499
1500};
1501
1502
1503/**
1481 * Functions of this type are to be given as callback argument to 1504 * Functions of this type are to be given as callback argument to
1482 * GNUNET_TESTBED_barrier_init(). The callback will be called when status 1505 * GNUNET_TESTBED_barrier_init(). The callback will be called when status
1483 * information is available for the barrier. 1506 * information is available for the barrier.
@@ -1494,7 +1517,7 @@ typedef void (*GNUNET_TESTBED_barrier_status_cb) (void *cls,
1494 const char *name, 1517 const char *name,
1495 struct GNUNET_TESTBED_Barrier 1518 struct GNUNET_TESTBED_Barrier
1496 *barrier, 1519 *barrier,
1497 int status, 1520 enum GNUNET_TESTBED_BarrierStatus status,
1498 const char *emsg); 1521 const char *emsg);
1499 1522
1500 1523