Sha256: 80c6a54b3ef57a201241802846af542f3ea08d7d528d870b696572929e48eae1

Contents?: true

Size: 719 Bytes

Versions: 32

Compression:

Stored size: 719 Bytes

Contents


struct node
{
   unsigned char value;
   struct node *left;
   struct node *middle;
   struct node *right;
};

struct tst
{
   int node_line_width;
   struct node_lines *node_lines;
   struct node *free_list;
   struct node *head[127];
};

struct node_lines
{
   struct node *node_line;
   struct node_lines *next;
};

enum tst_constants
{
   TST_OK, TST_ERROR, TST_NULL_KEY, TST_DUPLICATE_KEY, TST_REPLACE
};

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_delete(unsigned char *key, struct tst *tst);

void tst_cleanup(struct tst *tst);


Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
IOWA-1.0.3 ext/Classifier/tst.h
IOWA-1.0.2 ext/Classifier/tst.h
IOWA-1.0.0 ext/Classifier/tst.h
mongrel-0.3.1 ext/http11/tst.h
mongrel-0.2.0 ext/http11/tst.h
mongrel-0.2.2 ext/http11/tst.h
mongrel-0.2.1 ext/http11/tst.h
mongrel-0.3.10.1 ext/http11/tst.h
mongrel-0.3.12.1 ext/http11/tst.h
mongrel-0.3.12.3 ext/http11/tst.h
mongrel-0.3.11 ext/http11/tst.h
mongrel-0.3.10 ext/http11/tst.h
mongrel-0.3.12.2 ext/http11/tst.h
mongrel-0.3.12.4 ext/http11/tst.h
mongrel-0.3.13.1 ext/http11/tst.h
mongrel-0.3.13.2 ext/http11/tst.h
mongrel-0.3.12 ext/http11/tst.h
mongrel-0.3.13.3 ext/http11/tst.h
mongrel-0.3.13.4 ext/http11/tst.h
mongrel-0.3.13 ext/http11/tst.h