Replace glibc tsearch() with a custom red-black tree implementation.

The library supplied tree estructure is not enought for our needs, due to its
limited API. Thus, we have implemented a suitable red-black tree.
This commit is contained in:
Vreixo Formoso
2007-12-20 00:25:25 +01:00
parent 5eb3a7e038
commit e6bd1586d6
9 changed files with 422 additions and 31 deletions

View File

@@ -10,6 +10,7 @@
#define LIBISO_ECMA119_H_
#include "libisofs.h"
#include "util.h"
#include <stdint.h>
@@ -72,8 +73,7 @@ struct ecma119_image {
IsoImageWriter **writers;
/* tree of files sources */
void *file_srcs;
int file_count;
IsoRBTree *files;
/* file descriptors for read and writing image */
int wrfd; /* write to here */