X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=c51ab116e41294853f2baea41cb175b4518e915d;hb=643a8844a578ff146cfe746fe6091d29502b6c40;hp=b60c4a0730c45f53c16da92a92fe49bbcc7e9158;hpb=02bf3a96a931678211117534ee535863c780c6dc;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index b60c4a0..c51ab11 100644 --- a/src/common.h +++ b/src/common.h @@ -183,6 +183,7 @@ enum old_files OVERWRITE_OLD_FILES, /* --overwrite */ UNLINK_FIRST_OLD_FILES, /* --unlink-first */ KEEP_OLD_FILES, /* --keep-old-files */ + SKIP_OLD_FILES, /* --skip-old-files */ KEEP_NEWER_FILES /* --keep-newer-files */ }; GLOBAL enum old_files old_files_option; @@ -620,6 +621,9 @@ void undo_last_backup (void); int deref_stat (char const *name, struct stat *buf); +size_t blocking_read (int fd, void *buf, size_t count); +size_t blocking_write (int fd, void const *buf, size_t count); + extern int chdir_current; extern int chdir_fd; int chdir_arg (char const *dir);