From: Jim Meyering Date: Wed, 21 Jan 1998 16:16:00 +0000 (+0000) Subject: (VALID_SPARSE_MODE): Define. X-Git-Tag: FILEUTILS-3_16l~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=734d1cccc30d440dd55c1e950bfde3273186564b;p=thirdparty%2Fcoreutils.git (VALID_SPARSE_MODE): Define. [struct cp_options] (backup_type): New member. --- diff --git a/src/copy.h b/src/copy.h index 78482d3c78..9409e99be1 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;