- opaque mq structs
[oweals/gnunet.git] / src / testbed / testbed_api_peers.h
index 96b7180269bb69297849e596985981dd33428589..50fb29bf6adc3e40712d7abff1fdc2df05adf133 100644 (file)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet
-      (C) 2008--2012 Christian Grothoff (and other contributing authors)
+      (C) 2008--2013 Christian Grothoff (and other contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published
@@ -195,6 +195,28 @@ struct PeerInfoData
 };
 
 
+/**
+ * Data for the operations of type OP_PEER_RECONFIGURE
+ */
+struct PeerReconfigureData
+{
+  /**
+   * The peer whose information has been requested
+   */
+  struct GNUNET_TESTBED_Peer *peer;
+
+  /**
+   * The serialized new configuration template
+   */
+  char *config;
+
+  /**
+   * the size of the serialized configuration
+   */
+  uint16_t cfg_size;
+};
+
+
 /**
  * Data structure for OperationType OP_OVERLAY_CONNECT
  */