/**
* State to signify that this peer is invalid
*/
- PS_INVALID,
+ TESTBED_PS_INVALID,
/**
* The peer has been created
*/
- PS_CREATED,
+ TESTBED_PS_CREATED,
/**
* The peer is running
*/
- PS_STARTED,
+ TESTBED_PS_STARTED,
/**
* The peer is stopped
*/
- PS_STOPPED,
+ TESTBED_PS_STOPPED,
};
* Peer's state
*/
enum PeerState state;
+
+ /**
+ * Has an underlay model already set for this peer?
+ */
+ uint8_t underlay_model_exists;
};
struct ManageServiceData {
GNUNET_TESTBED_OperationCompletionCallback cb;
-
+
void *cb_cls;
-
+
struct GNUNET_TESTBED_Peer *peer;
char *service_name;
-
+
unsigned int start;
uint16_t msize;