summaryrefslogtreecommitdiff
path: root/src/lib/net/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-01 08:47:27 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-01 08:47:27 -0400
commit2884639ad63583d2a5a3dd14185c77212e566b5f (patch)
tree2a8461ee9037d2b0f4a83e4ae3bfc2f9a9bca24f /src/lib/net/include.am
parent7e4ac0283ef9c089ebe4da8b85a5f6b5ec84a081 (diff)
downloadtor-2884639ad63583d2a5a3dd14185c77212e566b5f.tar.gz
tor-2884639ad63583d2a5a3dd14185c77212e566b5f.zip
Extract tor_ersatz_socketpair into a new c file
I'm doing this because I want to make it a lower-level function again, so that we can use it without linking in the rest of the universe.
Diffstat (limited to 'src/lib/net/include.am')
-rw-r--r--src/lib/net/include.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/net/include.am b/src/lib/net/include.am
index 67db0d5af2..ff0967e786 100644
--- a/src/lib/net/include.am
+++ b/src/lib/net/include.am
@@ -12,7 +12,8 @@ src_lib_libtor_net_a_SOURCES = \
src/lib/net/gethostname.c \
src/lib/net/inaddr.c \
src/lib/net/resolve.c \
- src/lib/net/socket.c
+ src/lib/net/socket.c \
+ src/lib/net/socketpair.c
src_lib_libtor_net_testing_a_SOURCES = \
$(src_lib_libtor_net_a_SOURCES)
@@ -29,4 +30,5 @@ noinst_HEADERS += \
src/lib/net/nettypes.h \
src/lib/net/resolve.h \
src/lib/net/socket.h \
+ src/lib/net/socketpair.h \
src/lib/net/socks5_status.h