WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
/**
*/
enum OperationType
{
- /**
- * Peer create operation
- */
+ /**
+ * Peer create operation
+ */
OP_PEER_CREATE,
- /**
- * Peer start operation
- */
+ /**
+ * Peer start operation
+ */
OP_PEER_START,
- /**
- * Peer stop operation
- */
+ /**
+ * Peer stop operation
+ */
OP_PEER_STOP,
- /**
- * Peer destroy operation
- */
+ /**
+ * Peer destroy operation
+ */
OP_PEER_DESTROY,
- /**
- * Get peer information operation
- */
+ /**
+ * Get peer information operation
+ */
OP_PEER_INFO,
/**
*/
OP_PEER_RECONFIGURE,
- /**
- * Overlay connection operation
- */
+ /**
+ * Overlay connection operation
+ */
OP_OVERLAY_CONNECT,
- /**
- * Forwarded operation
- */
+ /**
+ * Forwarded operation
+ */
OP_FORWARDED,
- /**
- * Link controllers operation
- */
+ /**
+ * Link controllers operation
+ */
OP_LINK_CONTROLLERS,
/**
};
-
/**
* Enumeration of states of OperationContext
*/
* The operation id counter. use current value and increment
*/
uint32_t operation_counter;
-
};
};
-
/**
* Queues a message in send queue for sending to the service
*
struct GNUNET_TESTBED_HelperInit *
GNUNET_TESTBED_create_helper_init_msg_ (const char *cname,
const char *hostname,
- const struct GNUNET_CONFIGURATION_Handle *cfg);
+ const struct
+ GNUNET_CONFIGURATION_Handle *cfg);
/**
* operation
*/
struct OperationContext *
-GNUNET_TESTBED_forward_operation_msg_ (struct GNUNET_TESTBED_Controller *controller,
+GNUNET_TESTBED_forward_operation_msg_ (struct
+ GNUNET_TESTBED_Controller *controller,
uint64_t operation_id,
const struct GNUNET_MessageHeader *msg,
GNUNET_MQ_MessageCallback cc,
* @return the error message
*/
const char *
-GNUNET_TESTBED_parse_error_string_ (const struct GNUNET_TESTBED_OperationFailureEventMessage *msg);
+GNUNET_TESTBED_parse_error_string_ (const struct
+ GNUNET_TESTBED_OperationFailureEventMessage
+ *msg);
/**
uint32_t slave_host_id);
-
/**
* Initialise a barrier and call the given callback when the required percentage
* of peers (quorum) reach the barrier OR upon error.
GNUNET_TESTBED_barrier_remove_ (struct GNUNET_TESTBED_Barrier *barrier);
-
#endif
/* end of testbed_api.h */