1 /* chown-core.h -- types and prototypes shared by chown and chgrp.
2 Copyright (C) 2000 Free Software Foundation.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software Foundation,
16 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
26 CH_NO_CHANGE_REQUESTED
31 /* Print a message for each file that is processed. */
34 /* Print a message for each file whose attributes we change. */
37 /* Do not be verbose. This is the default. */
41 enum Dereference_symlink
45 DEREF_COMMAND_LINE_ARGUMENTS
, /* -H */
51 /* Level of verbosity. */
52 enum Verbosity verbosity
;
54 /* If nonzero, change the ownership of directories recursively. */
57 /* This is useful only on systems with support for changing the
58 ownership of symbolic links. */
59 enum Dereference_symlink dereference
;
61 /* If nonzero, force silence (no error messages). */
64 /* The name of the user to which ownership of the files is being given. */
67 /* The name of the group to which ownership of the files is being given. */
72 chopt_init (struct Chown_option
*);
75 chopt_free (struct Chown_option
*);
84 change_file_owner
PARAMS ((int, const char *,
87 struct Chown_option
const *));
89 #endif /* CHOWN_CORE_H */