aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2024-07-24 11:45:05 -0500
committerjvech <jmvalenciae@unal.edu.co>2024-07-24 11:45:05 -0500
commitb9deaf6ec1ba587f2b81a63c75b696c6def33436 (patch)
tree9ca7352b2e006f9c5e75d104a91f2070db8acff9 /src/util.h
parente83529ae7533c15c2a604fe6075a34d124d4316e (diff)
add: file_read() function implemented
things implemented: - Automatic file format infering - json_read() small refactor done - error checking in csv_read() improved
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
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);
Feel free to download, copy and edit any repo