summaryrefslogtreecommitdiff
path: root/src/ternary.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-26 04:59:20 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-26 04:59:20 +0000
commitba5e5fc10971719fa5f7584a113b1b26f5932f45 (patch)
tree923734ca9a789553df04b40487e302e41c37e3f8 /src/ternary.h
parenta2c3e5ecc9d0ade4fbff56e22fa87d6050601475 (diff)
downloadtinyproxy-ba5e5fc10971719fa5f7584a113b1b26f5932f45.tar.gz
tinyproxy-ba5e5fc10971719fa5f7584a113b1b26f5932f45.zip
Added the TE_EXISTS return code, and cleaned up the ternary_destroy
function.
Diffstat (limited to '')
-rw-r--r--src/ternary.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ternary.h b/src/ternary.h
index 032889d..fcb6c17 100644
--- a/src/ternary.h
+++ b/src/ternary.h
@@ -1,4 +1,4 @@
-/* $Id: ternary.h,v 1.1 2000-09-12 00:10:28 rjkaes Exp $
+/* $Id: ternary.h,v 1.2 2000-09-26 04:59:20 rjkaes Exp $
*
* See 'ternary.c' for a detailed description.
*
@@ -50,6 +50,7 @@ extern char te_errbuf[256];
#define TE_NOROOM -6 /* can't allocate space (sys err) */
#define TE_TOOMANYTS -7 /* too many trees in use */
#define TE_INTINCON -8 /* internal inconsistency */
+#define TE_EXISTS -9 /* key already exists in tree */
/*
* Library functions.