[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28936 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28936 - gnunet/src/include |
Date: |
Mon, 2 Sep 2013 12:01:22 +0200 |
Author: harsha
Date: 2013-09-02 12:01:22 +0200 (Mon, 02 Sep 2013)
New Revision: 28936
Modified:
gnunet/src/include/gnunet_testbed_service.h
Log:
- barrier stuff
Modified: gnunet/src/include/gnunet_testbed_service.h
===================================================================
--- gnunet/src/include/gnunet_testbed_service.h 2013-09-02 10:01:01 UTC (rev
28935)
+++ gnunet/src/include/gnunet_testbed_service.h 2013-09-02 10:01:22 UTC (rev
28936)
@@ -1478,6 +1478,29 @@
/**
+ * Status of a barrier
+ */
+enum GNUNET_TESTBED_BarrierStatus
+{
+ /**
+ * Barrier initialised successfully
+ */
+ BARRIER_STATUS_INITIALISED = 1,
+
+ /**
+ * Barrier is crossed
+ */
+ BARRIER_STATUS_CROSSED,
+
+ /**
+ * Error status
+ */
+ BARRIER_STATUS_ERROR,
+
+};
+
+
+/**
* Functions of this type are to be given as callback argument to
* GNUNET_TESTBED_barrier_init(). The callback will be called when status
* information is available for the barrier.
@@ -1494,7 +1517,7 @@
const char *name,
struct GNUNET_TESTBED_Barrier
*barrier,
- int status,
+ enum
GNUNET_TESTBED_BarrierStatus status,
const char *emsg);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28936 - gnunet/src/include,
gnunet <=