diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-06-16 12:35:26 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-06-16 12:35:26 +0000 |
commit | 33cbde487152c775a38628ae7b12e8f5e8040a52 (patch) | |
tree | 3edafc6f153c9cf47f92d71bcb3d2f64b1ddc6f9 /src/transport/transport-testing.h | |
parent | 2aff944f4bce448c67c576d384926c2ffe8c8c5a (diff) | |
download | gnunet-33cbde487152c775a38628ae7b12e8f5e8040a52.tar.gz gnunet-33cbde487152c775a38628ae7b12e8f5e8040a52.zip |
clean up in transport tests
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r-- | src/transport/transport-testing.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h new file mode 100644 index 000000000..db90354f4 --- /dev/null +++ b/src/transport/transport-testing.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2006, 2009 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 2, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file transport_testing.h | ||
23 | * @brief testing lib for transport service | ||
24 | * | ||
25 | * @author Matthias Wachs | ||
26 | */ | ||
27 | |||
28 | struct PeerContext | ||
29 | { | ||
30 | struct GNUNET_CONFIGURATION_Handle *cfg; | ||
31 | struct GNUNET_TRANSPORT_Handle *th; | ||
32 | struct GNUNET_PeerIdentity id; | ||
33 | struct GNUNET_OS_Process *arm_proc; | ||
34 | char * servicehome; | ||
35 | }; | ||
36 | |||
37 | /* end of transport_testing.h */ | ||