#ifndef	_io_user_
#define	_io_user_

/* Module io */

#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/message.h>

#include <mach/std_types.h>
#include <mach/mach_types.h>
#include <device/device_types.h>
#include <device/net_status.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/resource.h>
#include <sys/utsname.h>
#include <hurd/hurd_types.h>
#include <fcntl.h>

/* Routine io_write */
#define MIG_RPC_HAVE___IO_WRITE
#define MIG_RPC_REQUEST_ID___IO_WRITE 21000
#define MIG_RPC_REPLY_ID___IO_WRITE 21100
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_write
(
	io_t io_object,
	const_data_t data,
	mach_msg_type_number_t dataCnt,
	__loff_t offset,
	vm_size_t *amount
);

/* Routine io_read */
#define MIG_RPC_HAVE___IO_READ
#define MIG_RPC_REQUEST_ID___IO_READ 21001
#define MIG_RPC_REPLY_ID___IO_READ 21101
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_read
(
	io_t io_object,
	data_t *data,
	mach_msg_type_number_t *dataCnt,
	__loff_t offset,
	vm_size_t amount
);

/* Routine io_seek */
#define MIG_RPC_HAVE___IO_SEEK
#define MIG_RPC_REQUEST_ID___IO_SEEK 21002
#define MIG_RPC_REPLY_ID___IO_SEEK 21102
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_seek
(
	io_t io_object,
	__loff_t offset,
	int whence,
	__loff_t *newp
);

/* Routine io_readable */
#define MIG_RPC_HAVE___IO_READABLE
#define MIG_RPC_REQUEST_ID___IO_READABLE 21003
#define MIG_RPC_REPLY_ID___IO_READABLE 21103
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_readable
(
	io_t io_object,
	vm_size_t *amount
);

/* Routine io_set_all_openmodes */
#define MIG_RPC_HAVE___IO_SET_ALL_OPENMODES
#define MIG_RPC_REQUEST_ID___IO_SET_ALL_OPENMODES 21004
#define MIG_RPC_REPLY_ID___IO_SET_ALL_OPENMODES 21104
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_set_all_openmodes
(
	io_t io_object,
	int newbits
);

/* Routine io_get_openmodes */
#define MIG_RPC_HAVE___IO_GET_OPENMODES
#define MIG_RPC_REQUEST_ID___IO_GET_OPENMODES 21005
#define MIG_RPC_REPLY_ID___IO_GET_OPENMODES 21105
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_get_openmodes
(
	io_t io_object,
	int *bits
);

/* Routine io_set_some_openmodes */
#define MIG_RPC_HAVE___IO_SET_SOME_OPENMODES
#define MIG_RPC_REQUEST_ID___IO_SET_SOME_OPENMODES 21006
#define MIG_RPC_REPLY_ID___IO_SET_SOME_OPENMODES 21106
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_set_some_openmodes
(
	io_t io_object,
	int bits_to_set
);

/* Routine io_clear_some_openmodes */
#define MIG_RPC_HAVE___IO_CLEAR_SOME_OPENMODES
#define MIG_RPC_REQUEST_ID___IO_CLEAR_SOME_OPENMODES 21007
#define MIG_RPC_REPLY_ID___IO_CLEAR_SOME_OPENMODES 21107
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_clear_some_openmodes
(
	io_t io_object,
	int bits_to_clear
);

/* Routine io_async */
#define MIG_RPC_HAVE___IO_ASYNC
#define MIG_RPC_REQUEST_ID___IO_ASYNC 21008
#define MIG_RPC_REPLY_ID___IO_ASYNC 21108
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_async
(
	io_t io_object,
	mach_port_t notify_port,
	mach_msg_type_name_t notify_portPoly,
	mach_port_t *async_id_port
);

/* Routine io_mod_owner */
#define MIG_RPC_HAVE___IO_MOD_OWNER
#define MIG_RPC_REQUEST_ID___IO_MOD_OWNER 21009
#define MIG_RPC_REPLY_ID___IO_MOD_OWNER 21109
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_mod_owner
(
	io_t io_object,
	pid_t owner
);

/* Routine io_get_owner */
#define MIG_RPC_HAVE___IO_GET_OWNER
#define MIG_RPC_REQUEST_ID___IO_GET_OWNER 21010
#define MIG_RPC_REPLY_ID___IO_GET_OWNER 21110
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_get_owner
(
	io_t io_object,
	pid_t *owner
);

/* Routine io_get_icky_async_id */
#define MIG_RPC_HAVE___IO_GET_ICKY_ASYNC_ID
#define MIG_RPC_REQUEST_ID___IO_GET_ICKY_ASYNC_ID 21011
#define MIG_RPC_REPLY_ID___IO_GET_ICKY_ASYNC_ID 21111
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_get_icky_async_id
(
	io_t io_object,
	mach_port_t *icky_async_id_port
);

/* Routine io_select */
#define MIG_RPC_HAVE___IO_SELECT
#define MIG_RPC_REQUEST_ID___IO_SELECT 21012
#define MIG_RPC_REPLY_ID___IO_SELECT 21112
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_select
(
	io_t io_object,
	mach_port_t reply,
	natural_t timeout,
	int *select_type
);

/* Routine io_stat */
#define MIG_RPC_HAVE___IO_STAT
#define MIG_RPC_REQUEST_ID___IO_STAT 21013
#define MIG_RPC_REPLY_ID___IO_STAT 21113
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_stat
(
	io_t stat_object,
	io_statbuf_t *stat_info
);

/* SimpleRoutine io_reauthenticate */
#define MIG_RPC_HAVE___IO_REAUTHENTICATE
#define MIG_RPC_REQUEST_ID___IO_REAUTHENTICATE 21014
#define MIG_RPC_REPLY_ID___IO_REAUTHENTICATE 21114
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_reauthenticate
(
	io_t auth_object,
	mach_port_t rendezvous2,
	mach_msg_type_name_t rendezvous2Poly
);

/* Routine io_restrict_auth */
#define MIG_RPC_HAVE___IO_RESTRICT_AUTH
#define MIG_RPC_REQUEST_ID___IO_RESTRICT_AUTH 21015
#define MIG_RPC_REPLY_ID___IO_RESTRICT_AUTH 21115
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_restrict_auth
(
	io_t io_object,
	mach_port_t *new_object,
	const_idarray_t uids,
	mach_msg_type_number_t uidsCnt,
	const_idarray_t gids,
	mach_msg_type_number_t gidsCnt
);

/* Routine io_duplicate */
#define MIG_RPC_HAVE___IO_DUPLICATE
#define MIG_RPC_REQUEST_ID___IO_DUPLICATE 21016
#define MIG_RPC_REPLY_ID___IO_DUPLICATE 21116
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_duplicate
(
	io_t io_object,
	mach_port_t *newport
);

/* Routine io_server_version */
#define MIG_RPC_HAVE___IO_SERVER_VERSION
#define MIG_RPC_REQUEST_ID___IO_SERVER_VERSION 21017
#define MIG_RPC_REPLY_ID___IO_SERVER_VERSION 21117
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_server_version
(
	io_t vers_object,
	string_t server_name,
	int *server_major_version,
	int *server_minor_version,
	int *server_edit_level
);

/* Routine io_map */
#define MIG_RPC_HAVE___IO_MAP
#define MIG_RPC_REQUEST_ID___IO_MAP 21018
#define MIG_RPC_REPLY_ID___IO_MAP 21118
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_map
(
	io_t io_object,
	mach_port_t *memobjrd,
	mach_port_t *memobjwt
);

/* Routine io_map_cntl */
#define MIG_RPC_HAVE___IO_MAP_CNTL
#define MIG_RPC_REQUEST_ID___IO_MAP_CNTL 21019
#define MIG_RPC_REPLY_ID___IO_MAP_CNTL 21119
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_map_cntl
(
	io_t io_object,
	mach_port_t *memobj
);

/* Routine io_get_conch */
#define MIG_RPC_HAVE___IO_GET_CONCH
#define MIG_RPC_REQUEST_ID___IO_GET_CONCH 21020
#define MIG_RPC_REPLY_ID___IO_GET_CONCH 21120
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_get_conch
(
	io_t io_object
);

/* Routine io_release_conch */
#define MIG_RPC_HAVE___IO_RELEASE_CONCH
#define MIG_RPC_REQUEST_ID___IO_RELEASE_CONCH 21021
#define MIG_RPC_REPLY_ID___IO_RELEASE_CONCH 21121
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_release_conch
(
	io_t io_object
);

/* Routine io_eofnotify */
#define MIG_RPC_HAVE___IO_EOFNOTIFY
#define MIG_RPC_REQUEST_ID___IO_EOFNOTIFY 21022
#define MIG_RPC_REPLY_ID___IO_EOFNOTIFY 21122
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_eofnotify
(
	io_t io_object
);

/* Routine io_prenotify */
#define MIG_RPC_HAVE___IO_PRENOTIFY
#define MIG_RPC_REQUEST_ID___IO_PRENOTIFY 21023
#define MIG_RPC_REPLY_ID___IO_PRENOTIFY 21123
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_prenotify
(
	io_t io_object,
	vm_offset_t write_start,
	vm_offset_t write_end
);

/* Routine io_postnotify */
#define MIG_RPC_HAVE___IO_POSTNOTIFY
#define MIG_RPC_REQUEST_ID___IO_POSTNOTIFY 21024
#define MIG_RPC_REPLY_ID___IO_POSTNOTIFY 21124
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_postnotify
(
	io_t io_object,
	vm_offset_t write_start,
	vm_offset_t write_end
);

/* Routine io_readnotify */
#define MIG_RPC_HAVE___IO_READNOTIFY
#define MIG_RPC_REQUEST_ID___IO_READNOTIFY 21025
#define MIG_RPC_REPLY_ID___IO_READNOTIFY 21125
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_readnotify
(
	io_t io_object
);

/* Routine io_readsleep */
#define MIG_RPC_HAVE___IO_READSLEEP
#define MIG_RPC_REQUEST_ID___IO_READSLEEP 21026
#define MIG_RPC_REPLY_ID___IO_READSLEEP 21126
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_readsleep
(
	io_t io_object
);

/* Routine io_sigio */
#define MIG_RPC_HAVE___IO_SIGIO
#define MIG_RPC_REQUEST_ID___IO_SIGIO 21027
#define MIG_RPC_REPLY_ID___IO_SIGIO 21127
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_sigio
(
	io_t io_object
);

/* Routine io_pathconf */
#define MIG_RPC_HAVE___IO_PATHCONF
#define MIG_RPC_REQUEST_ID___IO_PATHCONF 21028
#define MIG_RPC_REPLY_ID___IO_PATHCONF 21128
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_pathconf
(
	io_t io_object,
	int name,
	int *value
);

/* Routine io_identity */
#define MIG_RPC_HAVE___IO_IDENTITY
#define MIG_RPC_REQUEST_ID___IO_IDENTITY 21029
#define MIG_RPC_REPLY_ID___IO_IDENTITY 21129
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_identity
(
	io_t io_object,
	mach_port_t *idport,
	mach_port_t *fsidport,
	__ino64_t *fileno
);

/* Routine io_revoke */
#define MIG_RPC_HAVE___IO_REVOKE
#define MIG_RPC_REQUEST_ID___IO_REVOKE 21030
#define MIG_RPC_REPLY_ID___IO_REVOKE 21130
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_revoke
(
	io_t io_object
);

/* Routine io_select_timeout */
#define MIG_RPC_HAVE___IO_SELECT_TIMEOUT
#define MIG_RPC_REQUEST_ID___IO_SELECT_TIMEOUT 21031
#define MIG_RPC_REPLY_ID___IO_SELECT_TIMEOUT 21131
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t __io_select_timeout
(
	io_t io_object,
	mach_port_t reply,
	timespec_t timeout,
	int *select_type
);


/* Module io */

#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/message.h>

#include <mach/std_types.h>
#include <mach/mach_types.h>
#include <device/device_types.h>
#include <device/net_status.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/resource.h>
#include <sys/utsname.h>
#include <hurd/hurd_types.h>
#include <fcntl.h>

/* Routine io_write */
#define MIG_RPC_HAVE_IO_WRITE
#define MIG_RPC_REQUEST_ID_IO_WRITE 21000
#define MIG_RPC_REPLY_ID_IO_WRITE 21100
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_write
(
	io_t io_object,
	const_data_t data,
	mach_msg_type_number_t dataCnt,
	__loff_t offset,
	vm_size_t *amount
);

/* Routine io_read */
#define MIG_RPC_HAVE_IO_READ
#define MIG_RPC_REQUEST_ID_IO_READ 21001
#define MIG_RPC_REPLY_ID_IO_READ 21101
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_read
(
	io_t io_object,
	data_t *data,
	mach_msg_type_number_t *dataCnt,
	__loff_t offset,
	vm_size_t amount
);

/* Routine io_seek */
#define MIG_RPC_HAVE_IO_SEEK
#define MIG_RPC_REQUEST_ID_IO_SEEK 21002
#define MIG_RPC_REPLY_ID_IO_SEEK 21102
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_seek
(
	io_t io_object,
	__loff_t offset,
	int whence,
	__loff_t *newp
);

/* Routine io_readable */
#define MIG_RPC_HAVE_IO_READABLE
#define MIG_RPC_REQUEST_ID_IO_READABLE 21003
#define MIG_RPC_REPLY_ID_IO_READABLE 21103
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_readable
(
	io_t io_object,
	vm_size_t *amount
);

/* Routine io_set_all_openmodes */
#define MIG_RPC_HAVE_IO_SET_ALL_OPENMODES
#define MIG_RPC_REQUEST_ID_IO_SET_ALL_OPENMODES 21004
#define MIG_RPC_REPLY_ID_IO_SET_ALL_OPENMODES 21104
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_set_all_openmodes
(
	io_t io_object,
	int newbits
);

/* Routine io_get_openmodes */
#define MIG_RPC_HAVE_IO_GET_OPENMODES
#define MIG_RPC_REQUEST_ID_IO_GET_OPENMODES 21005
#define MIG_RPC_REPLY_ID_IO_GET_OPENMODES 21105
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_get_openmodes
(
	io_t io_object,
	int *bits
);

/* Routine io_set_some_openmodes */
#define MIG_RPC_HAVE_IO_SET_SOME_OPENMODES
#define MIG_RPC_REQUEST_ID_IO_SET_SOME_OPENMODES 21006
#define MIG_RPC_REPLY_ID_IO_SET_SOME_OPENMODES 21106
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_set_some_openmodes
(
	io_t io_object,
	int bits_to_set
);

/* Routine io_clear_some_openmodes */
#define MIG_RPC_HAVE_IO_CLEAR_SOME_OPENMODES
#define MIG_RPC_REQUEST_ID_IO_CLEAR_SOME_OPENMODES 21007
#define MIG_RPC_REPLY_ID_IO_CLEAR_SOME_OPENMODES 21107
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_clear_some_openmodes
(
	io_t io_object,
	int bits_to_clear
);

/* Routine io_async */
#define MIG_RPC_HAVE_IO_ASYNC
#define MIG_RPC_REQUEST_ID_IO_ASYNC 21008
#define MIG_RPC_REPLY_ID_IO_ASYNC 21108
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_async
(
	io_t io_object,
	mach_port_t notify_port,
	mach_msg_type_name_t notify_portPoly,
	mach_port_t *async_id_port
);

/* Routine io_mod_owner */
#define MIG_RPC_HAVE_IO_MOD_OWNER
#define MIG_RPC_REQUEST_ID_IO_MOD_OWNER 21009
#define MIG_RPC_REPLY_ID_IO_MOD_OWNER 21109
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_mod_owner
(
	io_t io_object,
	pid_t owner
);

/* Routine io_get_owner */
#define MIG_RPC_HAVE_IO_GET_OWNER
#define MIG_RPC_REQUEST_ID_IO_GET_OWNER 21010
#define MIG_RPC_REPLY_ID_IO_GET_OWNER 21110
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_get_owner
(
	io_t io_object,
	pid_t *owner
);

/* Routine io_get_icky_async_id */
#define MIG_RPC_HAVE_IO_GET_ICKY_ASYNC_ID
#define MIG_RPC_REQUEST_ID_IO_GET_ICKY_ASYNC_ID 21011
#define MIG_RPC_REPLY_ID_IO_GET_ICKY_ASYNC_ID 21111
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_get_icky_async_id
(
	io_t io_object,
	mach_port_t *icky_async_id_port
);

/* Routine io_select */
#define MIG_RPC_HAVE_IO_SELECT
#define MIG_RPC_REQUEST_ID_IO_SELECT 21012
#define MIG_RPC_REPLY_ID_IO_SELECT 21112
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_select
(
	io_t io_object,
	mach_port_t reply,
	natural_t timeout,
	int *select_type
);

/* Routine io_stat */
#define MIG_RPC_HAVE_IO_STAT
#define MIG_RPC_REQUEST_ID_IO_STAT 21013
#define MIG_RPC_REPLY_ID_IO_STAT 21113
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_stat
(
	io_t stat_object,
	io_statbuf_t *stat_info
);

/* SimpleRoutine io_reauthenticate */
#define MIG_RPC_HAVE_IO_REAUTHENTICATE
#define MIG_RPC_REQUEST_ID_IO_REAUTHENTICATE 21014
#define MIG_RPC_REPLY_ID_IO_REAUTHENTICATE 21114
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_reauthenticate
(
	io_t auth_object,
	mach_port_t rendezvous2,
	mach_msg_type_name_t rendezvous2Poly
);

/* Routine io_restrict_auth */
#define MIG_RPC_HAVE_IO_RESTRICT_AUTH
#define MIG_RPC_REQUEST_ID_IO_RESTRICT_AUTH 21015
#define MIG_RPC_REPLY_ID_IO_RESTRICT_AUTH 21115
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_restrict_auth
(
	io_t io_object,
	mach_port_t *new_object,
	const_idarray_t uids,
	mach_msg_type_number_t uidsCnt,
	const_idarray_t gids,
	mach_msg_type_number_t gidsCnt
);

/* Routine io_duplicate */
#define MIG_RPC_HAVE_IO_DUPLICATE
#define MIG_RPC_REQUEST_ID_IO_DUPLICATE 21016
#define MIG_RPC_REPLY_ID_IO_DUPLICATE 21116
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_duplicate
(
	io_t io_object,
	mach_port_t *newport
);

/* Routine io_server_version */
#define MIG_RPC_HAVE_IO_SERVER_VERSION
#define MIG_RPC_REQUEST_ID_IO_SERVER_VERSION 21017
#define MIG_RPC_REPLY_ID_IO_SERVER_VERSION 21117
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_server_version
(
	io_t vers_object,
	string_t server_name,
	int *server_major_version,
	int *server_minor_version,
	int *server_edit_level
);

/* Routine io_map */
#define MIG_RPC_HAVE_IO_MAP
#define MIG_RPC_REQUEST_ID_IO_MAP 21018
#define MIG_RPC_REPLY_ID_IO_MAP 21118
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_map
(
	io_t io_object,
	mach_port_t *memobjrd,
	mach_port_t *memobjwt
);

/* Routine io_map_cntl */
#define MIG_RPC_HAVE_IO_MAP_CNTL
#define MIG_RPC_REQUEST_ID_IO_MAP_CNTL 21019
#define MIG_RPC_REPLY_ID_IO_MAP_CNTL 21119
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_map_cntl
(
	io_t io_object,
	mach_port_t *memobj
);

/* Routine io_get_conch */
#define MIG_RPC_HAVE_IO_GET_CONCH
#define MIG_RPC_REQUEST_ID_IO_GET_CONCH 21020
#define MIG_RPC_REPLY_ID_IO_GET_CONCH 21120
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_get_conch
(
	io_t io_object
);

/* Routine io_release_conch */
#define MIG_RPC_HAVE_IO_RELEASE_CONCH
#define MIG_RPC_REQUEST_ID_IO_RELEASE_CONCH 21021
#define MIG_RPC_REPLY_ID_IO_RELEASE_CONCH 21121
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_release_conch
(
	io_t io_object
);

/* Routine io_eofnotify */
#define MIG_RPC_HAVE_IO_EOFNOTIFY
#define MIG_RPC_REQUEST_ID_IO_EOFNOTIFY 21022
#define MIG_RPC_REPLY_ID_IO_EOFNOTIFY 21122
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_eofnotify
(
	io_t io_object
);

/* Routine io_prenotify */
#define MIG_RPC_HAVE_IO_PRENOTIFY
#define MIG_RPC_REQUEST_ID_IO_PRENOTIFY 21023
#define MIG_RPC_REPLY_ID_IO_PRENOTIFY 21123
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_prenotify
(
	io_t io_object,
	vm_offset_t write_start,
	vm_offset_t write_end
);

/* Routine io_postnotify */
#define MIG_RPC_HAVE_IO_POSTNOTIFY
#define MIG_RPC_REQUEST_ID_IO_POSTNOTIFY 21024
#define MIG_RPC_REPLY_ID_IO_POSTNOTIFY 21124
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_postnotify
(
	io_t io_object,
	vm_offset_t write_start,
	vm_offset_t write_end
);

/* Routine io_readnotify */
#define MIG_RPC_HAVE_IO_READNOTIFY
#define MIG_RPC_REQUEST_ID_IO_READNOTIFY 21025
#define MIG_RPC_REPLY_ID_IO_READNOTIFY 21125
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_readnotify
(
	io_t io_object
);

/* Routine io_readsleep */
#define MIG_RPC_HAVE_IO_READSLEEP
#define MIG_RPC_REQUEST_ID_IO_READSLEEP 21026
#define MIG_RPC_REPLY_ID_IO_READSLEEP 21126
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_readsleep
(
	io_t io_object
);

/* Routine io_sigio */
#define MIG_RPC_HAVE_IO_SIGIO
#define MIG_RPC_REQUEST_ID_IO_SIGIO 21027
#define MIG_RPC_REPLY_ID_IO_SIGIO 21127
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_sigio
(
	io_t io_object
);

/* Routine io_pathconf */
#define MIG_RPC_HAVE_IO_PATHCONF
#define MIG_RPC_REQUEST_ID_IO_PATHCONF 21028
#define MIG_RPC_REPLY_ID_IO_PATHCONF 21128
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_pathconf
(
	io_t io_object,
	int name,
	int *value
);

/* Routine io_identity */
#define MIG_RPC_HAVE_IO_IDENTITY
#define MIG_RPC_REQUEST_ID_IO_IDENTITY 21029
#define MIG_RPC_REPLY_ID_IO_IDENTITY 21129
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_identity
(
	io_t io_object,
	mach_port_t *idport,
	mach_port_t *fsidport,
	__ino64_t *fileno
);

/* Routine io_revoke */
#define MIG_RPC_HAVE_IO_REVOKE
#define MIG_RPC_REQUEST_ID_IO_REVOKE 21030
#define MIG_RPC_REPLY_ID_IO_REVOKE 21130
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_revoke
(
	io_t io_object
);

/* Routine io_select_timeout */
#define MIG_RPC_HAVE_IO_SELECT_TIMEOUT
#define MIG_RPC_REQUEST_ID_IO_SELECT_TIMEOUT 21031
#define MIG_RPC_REPLY_ID_IO_SELECT_TIMEOUT 21131
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t io_select_timeout
(
	io_t io_object,
	mach_port_t reply,
	timespec_t timeout,
	int *select_type
);

#endif	/* not defined(_io_user_) */
