aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index a727d3e6a..903e6efdc 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -87,22 +87,22 @@ static int ok;
87/** 87/**
88 * Context of peer 1 88 * Context of peer 1
89 */ 89 */
90struct PeerContext *p1; 90static struct PeerContext *p1;
91 91
92/** 92/**
93 * Configuration file of peer 1 93 * Configuration file of peer 1
94 */ 94 */
95char *cfg_file_p1; 95static char *cfg_file_p1;
96 96
97/** 97/**
98 * Context of peer 2 98 * Context of peer 2
99 */ 99 */
100struct PeerContext *p2; 100static struct PeerContext *p2;
101 101
102/** 102/**
103 * Configuration file of peer 1 103 * Configuration file of peer 1
104 */ 104 */
105char *cfg_file_p2; 105static char *cfg_file_p2;
106 106
107/** 107/**
108 * Timeout task 108 * Timeout task
@@ -112,12 +112,12 @@ static struct GNUNET_SCHEDULER_Task * die_task;
112/** 112/**
113 * Transport transmit handle used 113 * Transport transmit handle used
114 */ 114 */
115struct GNUNET_TRANSPORT_TransmitHandle *th; 115static struct GNUNET_TRANSPORT_TransmitHandle *th;
116 116
117/** 117/**
118 * Transport testing handle 118 * Transport testing handle
119 */ 119 */
120struct GNUNET_TRANSPORT_TESTING_handle *tth; 120static struct GNUNET_TRANSPORT_TESTING_handle *tth;
121 121
122/* 122/*
123 * Total amount of bytes sent 123 * Total amount of bytes sent
@@ -145,7 +145,9 @@ static int msg_sent;
145static int msg_recv; 145static int msg_recv;
146 146
147static int test_connected; 147static int test_connected;
148
148static int test_sending; 149static int test_sending;
150
149static int test_send_timeout; 151static int test_send_timeout;
150 152
151 153
@@ -167,9 +169,11 @@ static GNUNET_TRANSPORT_TESTING_ConnectRequest cc;
167#define OKPP do { ok++; } while (0) 169#define OKPP do { ok++; } while (0)
168#endif 170#endif
169 171
172
170static int 173static int
171get_bit (const char *map, unsigned int bit); 174get_bit (const char *map, unsigned int bit);
172 175
176
173static void 177static void
174end () 178end ()
175{ 179{