diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-01-25 04:13:02 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-31 15:28:19 +0100 | 
| commit | 0d9e204694fbdff2ad6c8441ba3008907ddec3db (patch) | |
| tree | a5dbdc880de9bf68b3cf480b33c6c909594eb741 /lib/vector.h | |
| parent | 66d29a54a1325217295d19243a5003b65f6ededd (diff) | |
lib: add vector_unset_value()
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/vector.h')
| -rw-r--r-- | lib/vector.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vector.h b/lib/vector.h index 28f4ad320f..f57f28bbd0 100644 --- a/lib/vector.h +++ b/lib/vector.h @@ -53,6 +53,8 @@ extern int vector_empty_slot (vector v);  extern int vector_set (vector v, void *val);  extern int vector_set_index (vector v, unsigned int i, void *val);  extern void vector_unset (vector v, unsigned int i); +extern void vector_unset_value (vector v, void *val); +  extern unsigned int vector_count (vector v);  extern void vector_free (vector v);  extern vector vector_copy (vector v);  | 
