summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:38:48 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:38:48 +0000
commit2c30f1b79cb339d4b3d8c08aad0b430e7056f020 (patch)
treeac50e122a043d7c5707a6541f8b97f92d9235eb3 /libfshelp
parentbe25112ecbb88063a639690c0001bb57439460ce (diff)
2002-06-07 Roland McGrath <roland@frob.com>
* fshelp.h: Use io_statbuf_t in place of struct stat throughout. (fshelp_get_identity): ino_t -> ino64_t
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/fshelp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 8b395dd9..5c43c54c 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -194,7 +194,7 @@ struct port_bucket; /* shut up C compiler */
notifications) are used.
*/
error_t fshelp_get_identity (struct port_bucket *bucket,
- ino_t fileno, mach_port_t *pt);
+ ino64_t fileno, mach_port_t *pt);
@@ -236,26 +236,26 @@ error_t fshelp_set_options (struct argp *argp, int flags,
/* Check to see whether USER should be considered the owner of the
file identified by ST. If so, return zero; otherwise return an
appropriate error code. */
-error_t fshelp_isowner (struct stat *st, struct iouser *user);
+error_t fshelp_isowner (io_statbuf_t *st, struct iouser *user);
/* Check to see whether USER should be considered a controller of the
filesystem. Which is to say, check to see if we should give USER the
control port. ST is the stat of the root node. USER is the user
asking for a send right to the control port. */
error_t
-fshelp_iscontroller (struct stat *st, struct iouser *user);
+fshelp_iscontroller (io_statbuf_t *st, struct iouser *user);
/* Check to see whether the user USER can operate on a file identified
by ST. OP is one of S_IREAD, S_IWRITE, and S_IEXEC. If the access
is permitted, return zero; otherwise return an appropriate error
code. */
-error_t fshelp_access (struct stat *st, int op, struct iouser *user);
+error_t fshelp_access (io_statbuf_t *st, int op, struct iouser *user);
/* Check to see whether USER is allowed to modify DIR with respect to
existing file ST. (If there is no existing file, pass 0 for ST.)
If the access is permissable return 0; otherwise return an
appropriate error code. */
-error_t fshelp_checkdirmod (struct stat *dir, struct stat *st,
+error_t fshelp_checkdirmod (io_statbuf_t *dir, io_statbuf_t *st,
struct iouser *user);
@@ -266,6 +266,6 @@ error_t fshelp_checkdirmod (struct stat *dir, struct stat *st,
/* Change the stat times of NODE as indicated by WHAT (from the set TOUCH_*)
to the current time. */
-void fshelp_touch (struct stat *st, unsigned what,
+void fshelp_touch (io_statbuf_t *st, unsigned what,
volatile struct mapped_time_value *maptime);
#endif