aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing-ng.h
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-09-13 18:25:21 +0200
committert3sserakt <t3ss@posteo.de>2021-09-13 18:25:21 +0200
commit72d77af5270ba1dabe6fa8c45009601b44d23b7b (patch)
tree3ea58e04fdaf79befff8925086b2dbf391586d64 /src/transport/transport-testing-ng.h
parent46e07ed8eb64ff5a7473ac51de2e39c5a8a6ab3d (diff)
downloadgnunet-72d77af5270ba1dabe6fa8c45009601b44d23b7b.tar.gz
gnunet-72d77af5270ba1dabe6fa8c45009601b44d23b7b.zip
- added tng milestone 2 versions with improvements onto version 1 files , fixed smaller issues in milestone 1 versions, added version 1 to buildbot, added new testcase for testing udp backchannel
Diffstat (limited to 'src/transport/transport-testing-ng.h')
-rw-r--r--src/transport/transport-testing-ng.h107
1 files changed, 0 insertions, 107 deletions
diff --git a/src/transport/transport-testing-ng.h b/src/transport/transport-testing-ng.h
deleted file mode 100644
index cd4e1f3fe..000000000
--- a/src/transport/transport-testing-ng.h
+++ /dev/null
@@ -1,107 +0,0 @@
1/*
2 This file is part of GNUnet
3 Copyright (C) 2021 GNUnet e.V.
4
5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your 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 Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 SPDX-License-Identifier: AGPL3.0-or-later
19 */
20
21/**
22 * @author t3sserakt
23 */
24
25struct StartPeerState
26{
27 /**
28 * Receive callback
29 */
30 struct GNUNET_MQ_MessageHandler *handlers;
31
32 const char *cfgname;
33
34 /**
35 * Peer's configuration
36 */
37 struct GNUNET_CONFIGURATION_Handle *cfg;
38
39 struct GNUNET_TESTING_Peer *peer;
40
41 /**
42 * Peer identity
43 */
44 struct GNUNET_PeerIdentity id;
45
46 /**
47 * Peer's transport service handle
48 */
49 struct GNUNET_TRANSPORT_CoreHandle *th;
50
51 /**
52 * Application handle
53 */
54 struct GNUNET_TRANSPORT_ApplicationHandle *ah;
55
56 /**
57 * Peer's PEERSTORE Handle
58 */
59 struct GNUNET_PEERSTORE_Handle *ph;
60
61 /**
62 * Hello get task
63 */
64 struct GNUNET_SCHEDULER_Task *rh_task;
65
66 /**
67 * Peer's transport get hello handle to retrieve peer's HELLO message
68 */
69 struct GNUNET_PEERSTORE_IterateContext *pic;
70
71 /**
72 * Hello
73 */
74 char *hello;
75
76 /**
77 * Hello size
78 */
79 size_t hello_size;
80
81 char *m;
82
83 char *n;
84
85 char *local_m;
86
87 unsigned int finished;
88
89 const char *system_label;
90
91 /**
92 * An unique number to identify the peer
93 */
94 unsigned int no;
95
96 struct GNUNET_CONTAINER_MultiShortmap *connected_peers_map;
97
98 struct GNUNET_TESTING_System *tl_system;
99
100};
101
102
103int
104GNUNET_TRANSPORT_get_trait_state (const struct
105 GNUNET_TESTING_Command
106 *cmd,
107 struct StartPeerState **sps);