diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-01-30 20:51:38 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2024-01-30 20:51:38 +0000 |
| commit | 21d51f7e0a639a3224ffc45dc3c06854decf1d45 (patch) | |
| tree | 87c4a36f66510e79d7ec8315361bb8bbbb5767f5 /src/client/apastec.h | |
| download | apaste-21d51f7e0a639a3224ffc45dc3c06854decf1d45.tar.gz | |
Initial commit
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/client/apastec.h')
| -rw-r--r-- | src/client/apastec.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/apastec.h b/src/client/apastec.h new file mode 100644 index 0000000..84ab242 --- /dev/null +++ b/src/client/apastec.h @@ -0,0 +1,17 @@ +/* ISC license. */ + +#ifndef APASTEC_H +#define APASTEC_H + +#include <sys/types.h> + +#include <skalibs/buffer.h> +#include <skalibs/tai.h> + + +/* send_file.c */ + +extern void send_file (buffer *, int, off_t, char const *, tain const *, tain *) ; +#define send_file_g(b, fd, size, file, deadline) send_file(b, fd, size, file, (deadline), &STAMP) + +#endif |
