diff options
author | Simon Rettberg | 2013-08-28 17:54:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-08-28 17:54:19 +0200 |
commit | bfdac5b274d8ca371307d2b4b417092ba25f11ab (patch) | |
tree | c62b57b0d56995057f152f1e1273dc3383a709a1 /src/server/helper.h | |
parent | [SERVER] On-the-fly transparent proxying (diff) | |
download | dnbd3-bfdac5b274d8ca371307d2b4b417092ba25f11ab.tar.gz dnbd3-bfdac5b274d8ca371307d2b4b417092ba25f11ab.tar.xz dnbd3-bfdac5b274d8ca371307d2b4b417092ba25f11ab.zip |
[SERVER] Copy CRC-32 list from uplink server if available
Split up helper.c, move file/disk related functions to fileutil.c
Uplink: Make sure relayed requests are at least 1MiB
Diffstat (limited to 'src/server/helper.h')
-rw-r--r-- | src/server/helper.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/helper.h b/src/server/helper.h index e939a66..eb82a00 100644 --- a/src/server/helper.h +++ b/src/server/helper.h @@ -16,10 +16,6 @@ char host_to_string(const dnbd3_host_t *host, char *target, size_t targetlen); void strtolower(char *string); void remove_trailing_slash(char *string); void trim_right(char * const string); -int file_exists(char *file); -int file_writable(char *file); -int mkdir_p(const char* path); -int file_alloc(int fd, uint64_t offset, uint64_t size); void setThreadName(char *name); static inline int is_same_server(const dnbd3_host_t * const a, const dnbd3_host_t * const b) |