2 #define UTILS_ARRAY_H 1
5 typedef struct str_array_s str_array_t;
7 str_array_t *array_create (void);
8 void array_destroy (str_array_t *a);
9 int array_append (str_array_t *a, const char *entry);
10 int array_append_format (str_array_t *a, const char *format, ...)
11 __attribute__((format(printf,2,3)));
13 int array_sort (str_array_t *a);
15 int array_argc (str_array_t *);
16 char **array_argv (str_array_t *);
18 #endif /* UTILS_ARRAY_H */
19 /* vim: set sw=2 sts=2 et fdm=marker : */