diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-14 20:08:32 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-14 20:08:32 +0000 |
commit | 1bd8ccc95287b6d77d3b0fa92aff1139033aca02 (patch) | |
tree | 2ccea00763fef0345fa2d855c3fae8381b05145c /libfshelp | |
parent | 38c0d4a24a601c7b20a0064a6df3695b8b23f9c0 (diff) |
(fshelp_fetch_root): New arg COOKIE.
(fshelp_callback_t): COOKIE->COOKIE1. New arg COOKIE2.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fshelp.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 7a1090f2..f4752de9 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -89,8 +89,10 @@ struct transbox node for the file itself in *UNDERLYING, and point *ARGZ at the entire passive translator spec for the file (setting *ARGZ_LEN to the length.) If there is no passive - translator, then return ENOENT. */ -typedef error_t (*fshelp_callback_t) (void *cookie, + translator, then return ENOENT. COOKIE1 is the cookie passed + in fshelp_transbox_init. COOKIE2 is the cookie passed in the + call to fshelp_fetch_root. */ +typedef error_t (*fshelp_callback_t) (void *cookie1, void *cookie2, mach_port_t *underlying, uid_t *uid, gid_t *gid, char **argz, int *argz_len); @@ -105,7 +107,8 @@ typedef error_t (*fshelp_callback_t) (void *cookie, be held upon return, but may be released during the operation of the call. */ error_t -fshelp_fetch_root (struct transbox *transbox, file_t dotdot, +fshelp_fetch_root (struct transbox *transbox, void *cookie, + file_t dotdot, uid_t *uids, int uids_len, uid_t *gids, int gids_len, int flags, fshelp_callback_t callback, |