summaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-08 22:25:06 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-08 22:25:06 +0000
commit71f190d1d34a96f7126e07128a975b798474f114 (patch)
tree14ef3ce2a8ee45aaeaa55f9879ce59ba168cec2c /src/testbed/testbed_api_peers.c
parent197f413ca268ec9f19a7491573290fe4835fae69 (diff)
downloadgnunet-71f190d1d34a96f7126e07128a975b798474f114.tar.gz
gnunet-71f190d1d34a96f7126e07128a975b798474f114.zip
-client handle operation success
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r--src/testbed/testbed_api_peers.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c
index 2fe8ce26d..3cd89f2f6 100644
--- a/src/testbed/testbed_api_peers.c
+++ b/src/testbed/testbed_api_peers.c
@@ -30,60 +30,6 @@
30#include "testbed.h" 30#include "testbed.h"
31#include "testbed_api_hosts.h" 31#include "testbed_api_hosts.h"
32 32
33/**
34 * Details about a peer; kept in a separate struct to avoid bloating
35 * memory consumption everywhere...
36 */
37struct PeerDetails
38{
39 /**
40 * Configuration of the peer; NULL if we are not sure what the peer's correct
41 * configuration actually is; non-NULL if this peer is controlled by this
42 * process.
43 */
44 struct GNUNET_CONFIGURATION_Handle *cfg;
45
46 /**
47 * If this process has started this peer's ARM process, this is the handle
48 * to the 'gnunet-service-arm' process of the peer.
49 */
50 struct GNUNET_OS_Process *arm;
51
52 // ...
53
54};
55
56
57/**
58 * A peer controlled by the testing framework. A peer runs
59 * at a particular host.
60 */
61struct GNUNET_TESTBED_Peer
62{
63 /**
64 * Our controller context (not necessarily the controller
65 * that is responsible for starting/running the peer!).
66 */
67 struct GNUNET_TESTBED_Controller *controller;
68
69 /**
70 * Which host does this peer run on?
71 */
72 struct GNUNET_TESTBED_Host *host;
73
74 /**
75 * Globally unique ID of the peer.
76 */
77 uint32_t unique_id;
78
79 /**
80 * Internals of the peer for the controlling process; NULL if
81 * this process is not controlling this peer.
82 */
83 struct PeerDetails *details;
84
85};
86
87 33
88/** 34/**
89 * Lookup a peer by ID. 35 * Lookup a peer by ID.