about summary refs log tree commit homepage
path: root/ext/http11/tst.h
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-26 03:07:30 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-26 03:07:30 +0000
commite045f787e126f40d6cd2539632ceb02221c1e8d8 (patch)
tree47eb16d886e5ead3b4e47d716b9d23f26df624c0 /ext/http11/tst.h
parentd7fa2022890e9347933591805f49d7f76fd3e141 (diff)
downloadunicorn-e045f787e126f40d6cd2539632ceb02221c1e8d8.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@744 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/tst.h')
-rw-r--r--ext/http11/tst.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/ext/http11/tst.h b/ext/http11/tst.h
deleted file mode 100644
index 3a58a65..0000000
--- a/ext/http11/tst.h
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-struct node
-{
-   unsigned char value;
-   struct node *left;
-   struct node *middle;
-   struct node *right;
-};
-
-struct tst
-{
-   int node_line_width;
-   struct node_lines *node_lines;
-   struct node *free_list;
-   struct node *head[127];
-};
-
-struct node_lines
-{
-   struct node *node_line;
-   struct node_lines *next;
-};
-
-enum tst_constants
-{
-   TST_OK, TST_ERROR, TST_NULL_KEY, TST_DUPLICATE_KEY, TST_REPLACE, TST_LONGEST_MATCH
-};
-
-struct tst *tst_init(int node_line_width);
-
-int tst_insert(unsigned char *key, void *data, struct tst *tst, int option, void **exist_ptr);
-
-void *tst_search(const unsigned char *key, struct tst *tst, int option, unsigned int *match_len);
-
-void *tst_delete(unsigned char *key, struct tst *tst);
-
-void tst_cleanup(struct tst *tst);
-
-