diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-12 11:50:12 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-12 11:50:12 +0000 |
commit | 73ad75b9f9cd4111d7f99e62fe8dc873ab8ccfcc (patch) | |
tree | 7e0c114f8e4cc1ad48bac0e4fb6cd53c961e0b07 /src/testbed/testbed_api_hosts.h | |
parent | 56d821c92867bfbf861aa034c099c562eca949aa (diff) | |
download | gnunet-73ad75b9f9cd4111d7f99e62fe8dc873ab8ccfcc.tar.gz gnunet-73ad75b9f9cd4111d7f99e62fe8dc873ab8ccfcc.zip |
implemented controller error callback
Diffstat (limited to 'src/testbed/testbed_api_hosts.h')
-rw-r--r-- | src/testbed/testbed_api_hosts.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_hosts.h b/src/testbed/testbed_api_hosts.h index 1eab19363..b9a62698c 100644 --- a/src/testbed/testbed_api_hosts.h +++ b/src/testbed/testbed_api_hosts.h | |||
@@ -31,6 +31,38 @@ | |||
31 | 31 | ||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Wrapper around | ||
35 | */ | ||
36 | struct GNUNET_TESTBED_HelperHandle | ||
37 | { | ||
38 | /** | ||
39 | * The process handle | ||
40 | */ | ||
41 | struct GNUNET_OS_Process *process; | ||
42 | |||
43 | /** | ||
44 | * Pipe connecting to stdin of the process. | ||
45 | */ | ||
46 | struct GNUNET_DISK_PipeHandle *cpipe_in; | ||
47 | |||
48 | /** | ||
49 | * Pipe from the stdout of the process. | ||
50 | */ | ||
51 | struct GNUNET_DISK_PipeHandle *cpipe_out; | ||
52 | |||
53 | /** | ||
54 | * The port number for ssh; used for helpers starting ssh | ||
55 | */ | ||
56 | char *port; | ||
57 | |||
58 | /** | ||
59 | * The ssh destination string; used for helpers starting ssh | ||
60 | */ | ||
61 | char *dst; | ||
62 | }; | ||
63 | |||
64 | |||
65 | /** | ||
34 | * Lookup a host by ID. | 66 | * Lookup a host by ID. |
35 | * | 67 | * |
36 | * @param id global host ID assigned to the host; 0 is | 68 | * @param id global host ID assigned to the host; 0 is |