From: Jim Meyering Date: Sun, 20 Aug 2000 20:35:25 +0000 (+0000) Subject: (enum Dereference_symlink): Define. X-Git-Tag: FILEUTILS-4_0y~11 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=33db1748a0ebfa5a44289f00c5c3c98aaf34f9d0;p=thirdparty%2Fcoreutils.git (enum Dereference_symlink): Define. (struct cp_options) [dereference]: Change type to Dereference_symlink. --- diff --git a/src/copy.h b/src/copy.h index 36833460e4..81d916f89d 100644 --- a/src/copy.h +++ b/src/copy.h @@ -22,6 +22,14 @@ enum Sparse_type SPARSE_ALWAYS }; +enum Dereference_symlink +{ + DEREF_UNDEFINED = 1, + DEREF_ALWAYS, + DEREF_NEVER, + DEREF_COMMAND_LINE_ARGUMENTS +}; + # define VALID_SPARSE_MODE(Mode) \ ((Mode) == SPARSE_NEVER \ || (Mode) == SPARSE_AUTO \ @@ -36,7 +44,7 @@ struct cp_options int copy_as_regular; /* If nonzero, dereference symbolic links (copy the files they point to). */ - int dereference; + enum Dereference_symlink dereference; /* If nonzero, remove existing destination nondirectories. */ int force;