CI / lint (push) Successful in 1m7s
CI / sanitizers (address) (push) Successful in 53s
CI / sanitizers (undefined) (push) Successful in 53s
CI / fuzz-build (push) Successful in 21s
CI / coverage (push) Successful in 44s
CI / valgrind (push) Successful in 37s
CI / build-and-test (push) Successful in 4m41s
file_send_special now takes const File*; test_chunk declares the deserialized Chunk* const. cppcheck (--error-exitcode=1) now exits clean; clang-format clean; unit 29/29.
23 lines
1.1 KiB
C
23 lines
1.1 KiB
C
#ifndef FILE_SEND_H
|
|
#define FILE_SEND_H
|
|
|
|
#include "file_types.h"
|
|
#include <stdbool.h>
|
|
|
|
/* Client-side file send path. */
|
|
|
|
bool file_send_special(const File* file, int file_descriptor, bool use_metadata);
|
|
bool file_send_single_calls(File* file, int file_descriptor, bool use_metadata,
|
|
int compression_level, bool send_path);
|
|
bool file_send_single_calls_with_skip(File* file, int file_descriptor, bool use_metadata,
|
|
int compression_level, bool send_path,
|
|
char* const* skip_suffixes, int skip_count,
|
|
int compression_threads, bool send_xattrs);
|
|
bool file_send_sendfile(File* file, int file_descriptor, bool use_metadata, int compression_level,
|
|
bool send_path);
|
|
bool file_send_sendfile_with_skip(File* file, int file_descriptor, bool use_metadata,
|
|
int compression_level, bool send_path, char* const* skip_suffixes,
|
|
int skip_count, int compression_threads, bool send_xattrs);
|
|
|
|
#endif
|