Commit 6be2a53d authored by Yoni Fogel's avatar Yoni Fogel

Modified header

git-svn-id: file:///svn/tokudb@1858 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1faeb23d
......@@ -16,6 +16,7 @@
MIT Press and McGraw-Hill, 2001. ISBN 0-262-03293-7
*/
//Defines BOOL data type.
#include <brttypes.h>
/** \brief Range with value
......@@ -109,7 +110,6 @@ int toku_rt_create(toku_range_tree** ptree, int (*end_cmp)(void*,void*),
\return
- 0: Success.
- EINVAL: If tree is NULL.
- Other exit codes may be forwarded from underlying system calls.
*/
int toku_rt_close(toku_range_tree* tree /**< The range tree to free */);
......@@ -137,7 +137,8 @@ int toku_rt_close(toku_range_tree* tree /**< The range tree to free */);
- 0: Success.
- EINVAL: If any pointer argument is NULL. If range.data != NULL.
If buflen == 0.
- Other exit codes may be forwarded from underlying system calls.
- Other exit codes may be forwarded from underlying system calls but only
if buf is not large enough.
Growth direction: It may be useful in the future to add an extra out
parameter to specify whether more elements exist in the tree that overlap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment