diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-24 12:39:39 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-24 12:39:39 +0000 |
commit | e48b37b7041f4bad25a5d23a32be278f1801e1b3 (patch) | |
tree | ee0cb1245712fda0cf869b87ab36f421df4c8ba3 /src/testbed/testbed_api_peers.h | |
parent | efa8d0fd1dc4df1fd291d60dbe71c0b861af1e3e (diff) | |
download | gnunet-e48b37b7041f4bad25a5d23a32be278f1801e1b3.tar.gz gnunet-e48b37b7041f4bad25a5d23a32be278f1801e1b3.zip |
testcases for peer get information
Diffstat (limited to 'src/testbed/testbed_api_peers.h')
-rw-r--r-- | src/testbed/testbed_api_peers.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_peers.h b/src/testbed/testbed_api_peers.h index 83d2d890f..5b0a23c64 100644 --- a/src/testbed/testbed_api_peers.h +++ b/src/testbed/testbed_api_peers.h | |||
@@ -116,6 +116,23 @@ struct PeerDestroyData | |||
116 | 116 | ||
117 | 117 | ||
118 | /** | 118 | /** |
119 | * Data for the OperationType OP_PEER_INFO | ||
120 | */ | ||
121 | struct PeerInfoData | ||
122 | { | ||
123 | /** | ||
124 | * The peer whose information has been requested | ||
125 | */ | ||
126 | struct GNUNET_TESTBED_Peer *peer; | ||
127 | |||
128 | /** | ||
129 | * The type of peer information requested | ||
130 | */ | ||
131 | enum GNUNET_TESTBED_PeerInformationType pit; | ||
132 | }; | ||
133 | |||
134 | |||
135 | /** | ||
119 | * Create the given peer at the specified host using the given | 136 | * Create the given peer at the specified host using the given |
120 | * controller. If the given controller is not running on the target | 137 | * controller. If the given controller is not running on the target |
121 | * host, it should find or create a controller at the target host and | 138 | * host, it should find or create a controller at the target host and |