summaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-18 14:26:29 -0400
committerNick Mathewson <nickm@torproject.org>2017-11-01 13:22:09 -0400
commitfa02ea102e3ccc946d269788e88c6818e84ad6f8 (patch)
tree1243062264c951326ef829d5cfeca1b0a8dcdc7a /src/or/include.am
parent72b5e4a2db4282002fe50e11c2b8a79e108d30f8 (diff)
downloadtor-fa02ea102e3ccc946d269788e88c6818e84ad6f8.tar.gz
tor-fa02ea102e3ccc946d269788e88c6818e84ad6f8.zip
Add a public tor_api.h with an implementation in tor_api.c
The main effect of this change is to commit to an extensible long-term API. Closes ticket 23684.
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 662bd4807c..bc7327064f 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -105,6 +105,7 @@ LIBTOR_A_SOURCES = \
src/or/statefile.c \
src/or/status.c \
src/or/torcert.c \
+ src/or/tor_api.c \
src/or/onion_ntor.c \
$(tor_platform_source)
@@ -245,9 +246,13 @@ ORHEADERS = \
src/or/scheduler.h \
src/or/statefile.h \
src/or/status.h \
- src/or/torcert.h
+ src/or/torcert.h \
+ src/or/tor_api_internal.h
-noinst_HEADERS+= $(ORHEADERS) micro-revision.i
+# This may someday want to be an installed file?
+noinst_HEADERS += src/or/tor_api.h
+
+noinst_HEADERS += $(ORHEADERS) micro-revision.i
micro-revision.i: FORCE
$(AM_V_at)rm -f micro-revision.tmp; \