From ef427fa2c16139b2d6790b8867d5bdb6307fd14d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 25 May 2020 23:57:24 -0400 Subject: Add strlist_append_file() * Add reader_strlist_append_file() as default reader function --- include/strlist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/strlist.h') 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); -- cgit