aboutsummaryrefslogtreecommitdiff
path: root/src/ext/README
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-12 17:05:06 -0400
committerNick Mathewson <nickm@torproject.org>2012-10-12 17:18:14 -0400
commitb555388dac71696c6a1028805094e16b5e5b2b82 (patch)
tree1afcb5ff02b20a834347113ac123a5901459922e /src/ext/README
parente3c746384a2c50e9a2b853456040cdc732d72b57 (diff)
downloadtor-b555388dac71696c6a1028805094e16b5e5b2b82.tar.gz
tor-b555388dac71696c6a1028805094e16b5e5b2b82.zip
Add a copy of OpenBSD's sys/queue.h as tor_queue.h
There are as many divergent implementations of sys/queue.h as there are operating systems shipping it, it would seem. They have some code in common, but have drifted apart, and have added other stuff named differently. So I'm taking a relatively sane one, and hoping for the best. I'm taking OpenBSD's in particular because of the lack of external dependencies, the presence of a CIRCLEQ (we could use one of those in places), and the liberal licensing terms. I'm naming the file tor_queue.h, since historically we've run into trouble having headers with the same names as system headers (log.h, for example.)
Diffstat (limited to 'src/ext/README')
-rw-r--r--src/ext/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ext/README b/src/ext/README
index 2c303c1069..7aeaba515f 100644
--- a/src/ext/README
+++ b/src/ext/README
@@ -29,3 +29,11 @@ tinytest_macros.h
A unit testing framework. https://github.com/nmathewson/tinytest
+tor_queue.h
+
+ A copy of sys/queue.h from OpenBSD. We keep our own copy rather
+ than using sys/queue.h, since some platforms don't have a
+ sys/queue.h, and the ones that do have diverged in incompatible
+ ways. (CIRCLEQ or no CIRCLEQ? SIMPLQ or STAILQ?)
+
+