diff options
author | EuAndreh <eu@euandre.org> | 2021-08-23 07:41:55 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-23 07:41:55 -0300 |
commit | 35cead0b83da84c037bcf79ce112cb5e59f56b10 (patch) | |
tree | c897348af5bf2cad5e122840ba95a198386eff5c /src/logerr.h | |
parent | TODOs.md: Extend description of #task-4e40832e-78cf-fc21-cbf9-2fe00fd3828d (diff) | |
download | gistatic-35cead0b83da84c037bcf79ce112cb5e59f56b10.tar.gz gistatic-35cead0b83da84c037bcf79ce112cb5e59f56b10.tar.xz |
src/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to src/tar.c
Diffstat (limited to 'src/logerr.h')
-rw-r--r-- | src/logerr.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/logerr.h b/src/logerr.h new file mode 100644 index 0000000..08ad682 --- /dev/null +++ b/src/logerr.h @@ -0,0 +1,31 @@ +#ifndef GISTATIC_LOGERR_H +#define GISTATIC_LOGERR_H + +#include <stddef.h> + +void logerr_file( + const char *const s, + const char *const msg, + const char *const file, + const int lineno +); + +void logerrs_file( + const char *const pre, + const char *const mid, + const char *const post, + const char *const msg, + const char *const file, + const int lineno +); + +void logerrl_file( + const char *const pre, + const size_t mid, + const char *const post, + const char *const msg, + const char *const file, + const int lineno +); + +#endif |