Export variables and functions for CC unit tests.

This commit is contained in:
Mike Perry
2022-05-11 18:02:54 +00:00
parent 155343708d
commit 53748705f7
5 changed files with 27 additions and 12 deletions
+1
View File
@@ -55,6 +55,7 @@
#include "core/or/origin_circuit_st.h"
#include "core/or/socks_request_st.h"
#include "core/or/congestion_control_st.h"
#include "core/or/congestion_control_common.h"
static int
+2
View File
@@ -25,6 +25,8 @@
#include "test/log_test_helpers.h"
#include "test/rng_test_helpers.h"
#define TOR_CONGESTION_CONTROL_PRIVATE
#include "core/or/congestion_control_st.h"
#include "core/or/congestion_control_common.h"
#ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS
+2
View File
@@ -13,7 +13,9 @@
#include "core/crypto/onion_crypto.h"
#include "core/or/extend_info_st.h"
#include "core/or/crypt_path_st.h"
#define TOR_CONGESTION_CONTROL_PRIVATE
#define TOR_CONGESTION_CONTROL_COMMON_PRIVATE
#include "core/or/congestion_control_st.h"
#include "core/or/congestion_control_common.h"
#include "app/config/config.h"