diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-24 13:46:12 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-24 13:46:12 +0000 |
commit | 8b9b2ab39943070706515485cff6e23cbb564003 (patch) | |
tree | a7944312a411fee199bbdaa9ef3e47688ad08da4 /src/testbed/testbed_api_peers.h | |
parent | dd177ca10b140d68c79335c900b34a77f33cc98b (diff) | |
download | gnunet-8b9b2ab39943070706515485cff6e23cbb564003.tar.gz gnunet-8b9b2ab39943070706515485cff6e23cbb564003.zip |
fixed mem leaks with operations
Diffstat (limited to 'src/testbed/testbed_api_peers.h')
-rw-r--r-- | src/testbed/testbed_api_peers.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_peers.h b/src/testbed/testbed_api_peers.h index 5b0a23c64..b3a74eef7 100644 --- a/src/testbed/testbed_api_peers.h +++ b/src/testbed/testbed_api_peers.h | |||
@@ -133,6 +133,34 @@ struct PeerInfoData | |||
133 | 133 | ||
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Data for the OperationType OP_PEER_INFO | ||
137 | */ | ||
138 | struct PeerInfoData2 | ||
139 | { | ||
140 | /** | ||
141 | * The type of peer information requested | ||
142 | */ | ||
143 | enum GNUNET_TESTBED_PeerInformationType pit; | ||
144 | |||
145 | /** | ||
146 | * The data from reply | ||
147 | */ | ||
148 | union | ||
149 | { | ||
150 | /** | ||
151 | * Configuration handle | ||
152 | */ | ||
153 | struct GNUNET_CONFIGURATION_Handle *cfg; | ||
154 | |||
155 | /** | ||
156 | * Peer Identity | ||
157 | */ | ||
158 | struct GNUNET_PeerIdentity *peer_identity; | ||
159 | } details; | ||
160 | }; | ||
161 | |||
162 | |||
163 | /** | ||
136 | * Create the given peer at the specified host using the given | 164 | * Create the given peer at the specified host using the given |
137 | * controller. If the given controller is not running on the target | 165 | * controller. If the given controller is not running on the target |
138 | * host, it should find or create a controller at the target host and | 166 | * host, it should find or create a controller at the target host and |