diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-07-24 11:45:05 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-07-24 11:45:05 -0500 |
commit | b9deaf6ec1ba587f2b81a63c75b696c6def33436 (patch) | |
tree | 9ca7352b2e006f9c5e75d104a91f2070db8acff9 /src/util.h | |
parent | e83529ae7533c15c2a604fe6075a34d124d4316e (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |