From b9deaf6ec1ba587f2b81a63c75b696c6def33436 Mon Sep 17 00:00:00 2001 From: jvech Date: Wed, 24 Jul 2024 11:45:05 -0500 Subject: add: file_read() function implemented things implemented: - Automatic file format infering - json_read() small refactor done - error checking in csv_read() improved --- src/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 3219502..a3ef908 100644 --- a/src/util.h +++ b/src/util.h @@ -25,6 +25,7 @@ void usage(int exit_code); void die(const char *fmt, ...); void *ecalloc(size_t nmemb, size_t size); void *erealloc(void *ptr, size_t size); +char *e_strdup(const char *s); void util_load_cli(struct Configs *ml, int argc, char *argv[]); void util_load_config(struct Configs *ml, char *filepath); void util_free_config(struct Configs *ml); -- cgit v1.2.3-70-g09d2