summaryrefslogtreecommitdiff
path: root/hurd/fsys_reply.defs
blob: e2031692bf2a23c9c4773e0aa7f1465552ceb52e (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
78
/* Reply half of fsys

   Copyright (C) 1991, 1993, 1994, 1995, 2001, 2007
     Free Software Foundation, Inc.

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;

simpleroutine fsys_startup_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG;
	realnode: mach_port_send_t);

simpleroutine fsys_goaway_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG);

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

simpleroutine fsys_getfile_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG;
	file: mach_port_send_t);

simpleroutine fsys_syncfs_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG);

simpleroutine fsys_set_options_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG);

simpleroutine fsys_getpriv_reply (
	reply_port_: reply_port_t;
	RETURN_CODE_ARG;
	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;
	RETURN_CODE_ARG);

simpleroutine fsys_forward_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG);

simpleroutine fsys_get_options_reply (
	reply_port: reply_port_t;
	RETURN_CODE_ARG;
	options: data_t);