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/tar.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 '')
-rw-r--r-- | src/tar.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,12 @@ #ifndef GISTATIC_TAR_H #define GISTATIC_TAR_H -int tarball_write_from_directory(const char *const directory_path); +#include <stdio.h> + +int tarball_write_from_directory( + FILE *const fd, + const char *const directory_path +); #ifdef TEST void unit_tests_tar(void); |