From 35cead0b83da84c037bcf79ce112cb5e59f56b10 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 23 Aug 2021 07:41:55 -0300 Subject: src/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to src/tar.c --- src/logerr.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/logerr.h (limited to 'src/logerr.h') 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 + +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 -- cgit v1.2.3