diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-03-09 19:48:50 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-03-09 19:48:50 +0000 |
commit | 0612b830c7c10b48190907d0e38b090178c3838f (patch) | |
tree | 92ac742c653cd8e8ab087892f4db0838e121cbe0 /doc/README.binarytrees | |
parent | 5ca9e9cbe8f27db88e7a1207957430fbcbe7e1c0 (diff) |
Complete binary tree description with string keys.
Update some entries in developer doc.
Add some preference description in POD.
svn path=/trunk/; revision=24594
Diffstat (limited to 'doc/README.binarytrees')
-rw-r--r-- | doc/README.binarytrees | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/README.binarytrees b/doc/README.binarytrees index 7b4d3b039b..6e09e1373f 100644 --- a/doc/README.binarytrees +++ b/doc/README.binarytrees @@ -215,4 +215,13 @@ in the same tree : 3.3 se_tree_insert_string / se_tree_lookup_string -to be added... +void emem_tree_insert_string(emem_tree_t* h, const gchar* k, void* v, guint32 flags); +void* emem_tree_lookup_string(emem_tree_t* h, const gchar* k, guint32 flags); +These functions are essentially wrappers for se_tree_insert32_array and +se_tree_lookup32_array, tailered to text strings. They extend the text string +into an array key and use that to key the se_tree_insert32_array and +se_tree_lookup32_array functions. +In order to support text string in a case insensitive way add the +EMEM_TREE_STRING_NOCASE flag. This will uppercase all string data before using +it as key data. + |