|
|
|
1. What is that ?
|
|
|
|
this is a small C library with a collection of small useful stuff such as:
|
|
|
|
* Index allocator
|
|
|
|
* Linked list implementation, looks like a linux kernel one
|
|
|
|
* Collection of the binary search tree implementation:
|
|
|
|
* Btree
|
|
|
|
* AVL
|
|
|
|
* Red black
|
|
|
|
* Splay
|
|
|
|
|
|
|
|
2. Is it useful ?
|
|
|
|
I hope so, usually I have a lot of tools or applications are required
|
|
|
|
to use index allocation, or some kind of structures to search within.
|
|
|
|
I guess it might be useful for everybody who looks the same thing (implementing
|
|
|
|
the same boring stuff each time isn't productive).
|
|
|
|
|
|
|
|
3. Is it stable ?
|
|
|
|
Yes, it is stable. But if you will find a bug, please report me via email.
|
|
|
|
Actually it's used a lot (mostly in some firmware images and in my own pet
|
|
|
|
projects as well).
|
|
|
|
|
|
|
|
4. How to build ?
|
|
|
|
|
|
|
|
4.1. Simple way:
|
|
|
|
Just type ./autogen.sh, and you will have a configure script with a
|
|
|
|
common autotools options (e.g. make && make install).
|
|
|
|
|
|
|
|
4.2. Proper way:
|
|
|
|
- Create directory outside of the code tree, let's say libtdata-build
|
|
|
|
- Do ./autogen.sh within source tree
|
|
|
|
- Go to your 'libtdata-build' directory
|
|
|
|
- ./configure && make && make install (don't forget sudo for install target)
|
|
|
|
|
|
|
|
4.3. Configure options:
|
|
|
|
At the moment just the standard options are exist, so more valuable is
|
|
|
|
--prefix=<installation prefix>
|
|
|
|
|
|
|
|
5. Are there new features coming ?
|
|
|
|
Yep, something is coming. I'm planning to implement CTries (just for fun).
|
|
|
|
|
|
|
|
6. Contact
|
|
|
|
Currently this library is maintained by avdolainen at zoho dot com.
|
|
|
|
To post bugs, requests, questions you may use sf.net: http://libtdata.sf.net
|