diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-25 23:57:24 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-25 23:57:24 -0400 |
commit | ef427fa2c16139b2d6790b8867d5bdb6307fd14d (patch) | |
tree | 6dbdcfda35ccf229285e4eedc0264ac4b0eb7bc0 /include | |
parent | 737729afb8d2b248105d8301066479092ac6c4c7 (diff) | |
download | spmc-ef427fa2c16139b2d6790b8867d5bdb6307fd14d.tar.gz |
Add strlist_append_file()
* Add reader_strlist_append_file() as default reader function
Diffstat (limited to 'include')
-rw-r--r-- | include/strlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/strlist.h b/include/strlist.h index 76b6d5f..9614894 100644 --- a/include/strlist.h +++ b/include/strlist.h @@ -4,6 +4,7 @@ */ #ifndef SPM_STRLIST_H #define SPM_STRLIST_H +#include "metadata.h" typedef struct { size_t num_alloc; @@ -12,6 +13,7 @@ typedef struct { } StrList; StrList *strlist_init(); +int strlist_append_file(StrList *pStrList, char *path, ReaderFn *readerFn); void strlist_remove(StrList *pStrList, size_t index); long double strlist_item_as_long_double(StrList *pStrList, size_t index); double strlist_item_as_double(StrList *pStrList, size_t index); |