diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-21 16:16:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-21 16:16:00 +0000 |
commit | 734d1cccc30d440dd55c1e950bfde3273186564b (patch) | |
tree | dc6a867c5d9924e953ba627b4a4132d4fe2a52cf /src | |
parent | 13de1036aca268806eec58075e40700c8de7bc8b (diff) | |
download | coreutils-734d1cccc30d440dd55c1e950bfde3273186564b.tar.xz |
(VALID_SPARSE_MODE): Define.
[struct cp_options] (backup_type): New member.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/copy.h b/src/copy.h index 78482d3c7..9409e99be 100644 --- a/src/copy.h +++ b/src/copy.h @@ -22,8 +22,15 @@ enum Sparse_type SPARSE_ALWAYS }; +# define VALID_SPARSE_MODE(Mode) \ + ((Mode) == SPARSE_NEVER \ + || (Mode) == SPARSE_AUTO \ + || (Mode) == SPARSE_ALWAYS) + struct cp_options { + enum backup_type backup_type; + /* If nonzero, copy all files except (directories and, if not dereferencing them, symbolic links,) as if they were regular files. */ int copy_as_regular; |