|
@@ -1,6 +1,9 @@
|
|
/* Copyright (c) 2014-2019, The Tor Project, Inc. */
|
|
/* Copyright (c) 2014-2019, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
+#ifndef TOR_TEST_CONNECTION_H
|
|
|
|
+#define TOR_TEST_CONNECTION_H
|
|
|
|
+
|
|
/** Some constants used by test_connection and helpers */
|
|
/** Some constants used by test_connection and helpers */
|
|
#define TEST_CONN_FAMILY (AF_INET)
|
|
#define TEST_CONN_FAMILY (AF_INET)
|
|
#define TEST_CONN_ADDRESS "127.0.0.1"
|
|
#define TEST_CONN_ADDRESS "127.0.0.1"
|
|
@@ -11,3 +14,4 @@
|
|
void test_conn_lookup_addr_helper(const char *address,
|
|
void test_conn_lookup_addr_helper(const char *address,
|
|
int family, tor_addr_t *addr);
|
|
int family, tor_addr_t *addr);
|
|
|
|
|
|
|
|
+#endif
|