aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/.may_include
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-08-05 17:04:00 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-05 17:04:00 -0400
commit720951f05664c38155a4515aa76b9c8d3a99269d (patch)
treeb5c25f0f693ccfeac3e159f8294152c21ea8a3c8 /src/core/or/.may_include
parent9abbde2c244f40fcf06c34cd72c360a9770fcd7c (diff)
downloadtor-720951f05664c38155a4515aa76b9c8d3a99269d.tar.gz
tor-720951f05664c38155a4515aa76b9c8d3a99269d.zip
Teach include-checker about advisory rules
A .may_includes file can be "advisory", which means that some violations of the rules are expected. We will track these violations with practracker, not as automatic errors.
Diffstat (limited to 'src/core/or/.may_include')
-rw-r--r--src/core/or/.may_include38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/core/or/.may_include b/src/core/or/.may_include
new file mode 100644
index 0000000000..5173e8a2b6
--- /dev/null
+++ b/src/core/or/.may_include
@@ -0,0 +1,38 @@
+!advisory
+
+orconfig.h
+
+lib/arch/*.h
+lib/buf/*.h
+lib/cc/*.h
+lib/compress/*.h
+lib/container/*.h
+lib/crypt_ops/*.h
+lib/ctime/*.h
+lib/defs/*.h
+lib/encoding/*.h
+lib/err/*.h
+lib/evloop/*.h
+lib/fs/*.h
+lib/geoip/*.h
+lib/intmath/*.h
+lib/log/*.h
+lib/malloc/*.h
+lib/math/*.h
+lib/net/*.h
+lib/pubsub/*.h
+lib/string/*.h
+lib/subsys/*.h
+lib/test/*.h
+lib/testsupport/*.h
+lib/thread/*.h
+lib/time/*.h
+lib/tls/*.h
+lib/wallclock/*.h
+
+trunnel/*.h
+
+core/mainloop/*.h
+core/proto/*.h
+core/crypto/*.h
+core/or/*.h \ No newline at end of file