summaryrefslogtreecommitdiff
path: root/src/chown-core.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-09 20:31:56 +0000
committerJim Meyering <jim@meyering.net>2000-12-09 20:31:56 +0000
commitd26ef4e978e5461f262e4208d8e11f96ea601c6c (patch)
tree47eb5b12a67a638cb1d42830563fa6afe7dbcf04 /src/chown-core.h
parent40d911bc459bc7a0e62576d30382481ab9e4118a (diff)
downloadcoreutils-d26ef4e978e5461f262e4208d8e11f96ea601c6c.tar.xz
add 3 more prototypes
Diffstat (limited to 'src/chown-core.h')
-rw-r--r--src/chown-core.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/chown-core.h b/src/chown-core.h
index 1ac59e1f3..9b6071055 100644
--- a/src/chown-core.h
+++ b/src/chown-core.h
@@ -61,12 +61,21 @@ struct Chown_option
};
void
-chopt_init (struct Chown_option *chopt);
+chopt_init (struct Chown_option *);
+
+void
+chopt_free (struct Chown_option *);
+
+char *
+gid_to_name (gid_t);
+
+char *
+uid_to_name (uid_t);
int
-change_file_owner PARAMS ((int cmdline_arg, const char *file,
- uid_t user, gid_t group,
- uid_t old_user, gid_t old_group,
- struct Chown_option const *chopt));
+change_file_owner PARAMS ((int, const char *,
+ uid_t, gid_t,
+ uid_t, gid_t,
+ struct Chown_option const *));
#endif /* CHOWN_CORE_H */