From 33db1748a0ebfa5a44289f00c5c3c98aaf34f9d0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 20 Aug 2000 20:35:25 +0000 Subject: (enum Dereference_symlink): Define. (struct cp_options) [dereference]: Change type to Dereference_symlink. --- src/copy.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/copy.h b/src/copy.h index 36833460e..81d916f89 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; -- cgit v1.2.3-70-g09d2