diff options
author | filipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-09-13 04:12:01 +0000 |
---|---|---|
committer | filipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-09-13 04:12:01 +0000 |
commit | 706aef01fbbcee885fcb6d76228f669d48d16f25 (patch) | |
tree | a42509c89301d451300a3bc64dd1f2ac388bff66 /ext/http11/tst.h | |
parent | 6bfa360e4a418cf6d3531334cea185be0878c0ed (diff) | |
download | unicorn-706aef01fbbcee885fcb6d76228f669d48d16f25.tar.gz |
and he also close the bug upstream :D So we are in sync with his source code and bug 10279 is closed with this commit. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@586 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/tst.h')
-rw-r--r-- | ext/http11/tst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/tst.h b/ext/http11/tst.h index 8e5ab2c..3a58a65 100644 --- a/ext/http11/tst.h +++ b/ext/http11/tst.h @@ -24,14 +24,14 @@ struct node_lines enum tst_constants { - TST_OK, TST_ERROR, TST_NULL_KEY, TST_DUPLICATE_KEY, TST_REPLACE + 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(unsigned char *key, struct tst *tst, int *prefix_len); +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); |