aboutsummaryrefslogtreecommitdiff
path: root/src/lib/subsys
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-01 14:13:36 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit05b54f6a6a24ebdb47de4f7e41cf94f2f6be93bd (patch)
treeab0b383c73f1ab5fd0106e4e4687f137351559fa /src/lib/subsys
parenta0ee54549fec3ae710ab5e3623d707bd08adcafe (diff)
downloadtor-05b54f6a6a24ebdb47de4f7e41cf94f2f6be93bd.tar.gz
tor-05b54f6a6a24ebdb47de4f7e41cf94f2f6be93bd.zip
Use subsystems manager for subsystems used in tests.
Diffstat (limited to 'src/lib/subsys')
-rw-r--r--src/lib/subsys/subsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h
index 012b218da7..25451bc450 100644
--- a/src/lib/subsys/subsys.h
+++ b/src/lib/subsys/subsys.h
@@ -65,4 +65,8 @@ typedef struct subsys_fns_t {
#define MIN_SUBSYS_LEVEL -100
#define MAX_SUBSYS_LEVEL 100
+/* All tor "libraries" (in src/libs) should have a subsystem level equal to or
+ * less than this value. */
+#define SUBSYS_LEVEL_LIBS -10
+
#endif