summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-25 21:07:24 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-25 21:07:24 +0000
commitee266d0bd0b96c67ac1c7f76fff41980bb181e64 (patch)
tree83ecfde601054fe58e1748653ef0d05d9833b48f /src/transport/test_transport_api_reliability.c
parentcc1a0361b423f92a18115785c13893e04bf6799a (diff)
-indentation plugin_transport_udp.c
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;
/**
* Context of peer 1
*/
-struct PeerContext *p1;
+static struct PeerContext *p1;
/**
* Configuration file of peer 1
*/
-char *cfg_file_p1;
+static char *cfg_file_p1;
/**
* Context of peer 2
*/
-struct PeerContext *p2;
+static struct PeerContext *p2;
/**
* Configuration file of peer 1
*/
-char *cfg_file_p2;
+static char *cfg_file_p2;
/**
* Timeout task
@@ -112,12 +112,12 @@ static struct GNUNET_SCHEDULER_Task * die_task;
/**
* Transport transmit handle used
*/
-struct GNUNET_TRANSPORT_TransmitHandle *th;
+static struct GNUNET_TRANSPORT_TransmitHandle *th;
/**
* Transport testing handle
*/
-struct GNUNET_TRANSPORT_TESTING_handle *tth;
+static struct GNUNET_TRANSPORT_TESTING_handle *tth;
/*
* Total amount of bytes sent
@@ -145,7 +145,9 @@ static int msg_sent;
static int msg_recv;
static int test_connected;
+
static int test_sending;
+
static int test_send_timeout;
@@ -167,9 +169,11 @@ static GNUNET_TRANSPORT_TESTING_ConnectRequest cc;
#define OKPP do { ok++; } while (0)
#endif
+
static int
get_bit (const char *map, unsigned int bit);
+
static void
end ()
{