From ed48f29a35d617079ba54c373d238ac7eca1388e Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 13 Jun 1995 20:56:18 +0000 Subject: Reorder decls a bit. --- libfshelp/fshelp.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 1832ff01..504ed96b 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -78,6 +78,19 @@ struct transbox fshelp_fetch_root should not need to create them on every call, since usually there will be an existing active translator. */ +/* This routine is called by fshelp_fetch_root to fetch more + information. Return the owner and group of the underlying + translated file in *UID and *GID; return an unauthenticated + 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 void (*fshelp_callback_t) (void *cookie, + mach_port_t *underlying, + uid_t *uid, gid_t *gid, + char **argz, int *argz_len); + + /* Fetch the root from TRANSBOX. DOTDOT is an unauthenticated port for the directory in which we are looking; UIDS (length UIDS_LEN) and GIDS (length GIDS_LEN) are the ids of the user responsible for @@ -98,18 +111,6 @@ fshelp_transbox_init (struct transbox *transbox, struct mutex *lock, void *cookie); -/* This routine is called by fshelp_fetch_root to fetch more - information. Return the owner and group of the underlying - translated file in *UID and *GID; return an unauthenticated - 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 void (*fshelp_callback_t) (void *cookie, - mach_port_t *underlying, - uid_t *uid, gid_t *gid, - char **argz, int *argz_len); - /* Return true iff there is an active translator on this box */ extern inline int fshelp_translated (struct transbox *box) -- cgit v1.2.3