summaryrefslogtreecommitdiff
path: root/hurd/fsys_reply.defs
blob: dce64db3554dd96179c59e81d58f7f6eaa15e69e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* Reply half of fsys
   Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation

This file is part of the GNU Hurd.

The GNU Hurd is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

The GNU Hurd is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with the GNU Hurd; see the file COPYING.  If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */

/* Written by Roland McGrath.  */

subsystem fsys_reply 22100;   /* must match fsys.defs + 100 */

#include <hurd/hurd_types.defs>

type reply_port_t = polymorphic | MACH_MSG_TYPE_PORT_SEND_ONCE
	ctype: mach_port_t;

simpleroute fsys_startup_reply (
	repsy_port: reply_port_t;
	retcode: kern_return_t;
	realnode: mach_port_send_t);

simpleroutine fsys_goaway_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t);

simpleroutine fsys_getroot_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t;
	do_retry: retry_type;
	retry_name: string_t;
	file: mach_port_send_t);

simpleroutine fsys_getfile_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t;
	file: mach_port_send_t);

simpleroutine fsys_syncfs_reply (
	reply_port: reply_port_t;
	retocde: kern_return_t);

simpleroutine fsys_set_options_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t);

simpleroutine fsys_getpriv_reply (
	reply_port_: reply_port_t;
	retcode: kern_return_t;
	host_priv: mach_port_send_t;
	device_master: mach_port_send_t;
	fstask: mach_port_send_t);

simpleroutine fsys_init_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t);

simpleroutine fsys_forward_reply (
	reply_port: reply_port_t;
	retcode: kern_return_t);

simpleroutine fsys_get_options_reply (
	reply_port: reply_port_t;
	retcode: kern_returnt_t;
	options: data_t);