From 1bd8ccc95287b6d77d3b0fa92aff1139033aca02 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 14 Jun 1995 20:08:32 +0000 Subject: (fshelp_fetch_root): New arg COOKIE. (fshelp_callback_t): COOKIE->COOKIE1. New arg COOKIE2. --- libfshelp/fshelp.h | 9 ++++++--- 1 file 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, -- cgit v1.2.3