aboutsummaryrefslogtreecommitdiff
path: root/libfshelp/fshelp.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:30:59 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:08:57 +0200
commitce5e3a32a54e73e60d45659519ac75e812599fc5 (patch)
treeae71de65ed495e635e5af7006d2e73bf3f84da4d /libfshelp/fshelp.h
parent12feacb67ee755f2f25a1384c496e991eeee6097 (diff)
downloadhurd-ce5e3a32a54e73e60d45659519ac75e812599fc5.tar.gz
hurd-ce5e3a32a54e73e60d45659519ac75e812599fc5.tar.bz2
hurd-ce5e3a32a54e73e60d45659519ac75e812599fc5.zip
libfshelp: Port to x86_64
Message-Id: <20230508213136.608575-5-bugaevc@gmail.com>
Diffstat (limited to 'libfshelp/fshelp.h')
-rw-r--r--libfshelp/fshelp.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 8ecfbd57..b050ecac 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -107,13 +107,17 @@ typedef error_t (*fshelp_open_fn_t) (int flags,
task's owner to OWNER_UID (or, if OWNER_UID is -1, then clear the
new task's owner. */
error_t
-fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, void *cookie,
- char *name, char *argz, int argz_len,
+fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
+ void *cookie, char *name, char *argz,
+ mach_msg_type_number_t argz_len,
mach_port_t *fds,
- mach_msg_type_name_t fds_type, int fds_len,
+ mach_msg_type_name_t fds_type,
+ mach_msg_type_number_t fds_len,
mach_port_t *ports,
- mach_msg_type_name_t ports_type, int ports_len,
- int *ints, int ints_len,
+ mach_msg_type_name_t ports_type,
+ mach_msg_type_number_t ports_len,
+ int *ints,
+ mach_msg_type_number_t ints_len,
uid_t owner_uid,
int timeout, fsys_t *control);
@@ -123,8 +127,9 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, void *cookie,
and the other fds are cleared. */
error_t
fshelp_start_translator (fshelp_open_fn_t underlying_open_fn, void *cookie,
- char *name, char *argz, int argz_len,
- int timeout, fsys_t *control);
+ char *name, char *argz,
+ mach_msg_type_number_t argz_len,
+ int timeout, fsys_t *control);
/* Active translator linkage */