123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- #ifndef AVUTIL_TREE_H
- #define AVUTIL_TREE_H
- #include "attributes.h"
- #include "version.h"
- struct AVTreeNode;
- extern const int av_tree_node_size;
- struct AVTreeNode *av_tree_node_alloc(void);
- void *av_tree_find(const struct AVTreeNode *root, void *key,
- int (*cmp)(const void *key, const void *b), void *next[2]);
- void *av_tree_insert(struct AVTreeNode **rootp, void *key,
- int (*cmp)(const void *key, const void *b),
- struct AVTreeNode **next);
- void av_tree_destroy(struct AVTreeNode *t);
- void av_tree_enumerate(struct AVTreeNode *t, void *opaque,
- int (*cmp)(void *opaque, void *elem),
- int (*enu)(void *opaque, void *elem));
- #endif
|