diff options
Diffstat (limited to 'vector.h')
-rw-r--r-- | vector.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,5 +9,7 @@ struct vector { void *vector_init(size_t alloc, size_t elemsize, size_t arrayoff); void *vector_append(struct vector **vp); +void vector_sort(struct vector *v, int (*cmp)(const void *, const void *)); +void *vector_search(struct vector *v, const void *key, int (*cmp)(const void *, const void *)); #endif |