summaryrefslogtreecommitdiff
path: root/boot.backup1/device_reply_U.h
blob: d70cd5b3ab04b2b090bb9f47568586f79b0b49b1 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#ifndef	_device_reply_user_
#define	_device_reply_user_

/* Module device_reply */

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

#include <mach/std_types.h>
#include <device/device_types.h>
#include <device/net_status.h>

/* SimpleRoutine device_open_reply */
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t ds_device_open_reply
#if	defined(LINTLIBRARY)
    (reply_port, reply_portPoly, return_code, device_port)
	mach_port_t reply_port;
	mach_msg_type_name_t reply_portPoly;
	kern_return_t return_code;
	mach_port_t device_port;
{ return ds_device_open_reply(reply_port, reply_portPoly, return_code, device_port); }
#else
(
	mach_port_t reply_port,
	mach_msg_type_name_t reply_portPoly,
	kern_return_t return_code,
	mach_port_t device_port
);
#endif

/* SimpleRoutine device_write_reply */
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t ds_device_write_reply
#if	defined(LINTLIBRARY)
    (reply_port, reply_portPoly, return_code, bytes_written)
	mach_port_t reply_port;
	mach_msg_type_name_t reply_portPoly;
	kern_return_t return_code;
	int bytes_written;
{ return ds_device_write_reply(reply_port, reply_portPoly, return_code, bytes_written); }
#else
(
	mach_port_t reply_port,
	mach_msg_type_name_t reply_portPoly,
	kern_return_t return_code,
	int bytes_written
);
#endif

/* SimpleRoutine device_write_reply_inband */
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t ds_device_write_reply_inband
#if	defined(LINTLIBRARY)
    (reply_port, reply_portPoly, return_code, bytes_written)
	mach_port_t reply_port;
	mach_msg_type_name_t reply_portPoly;
	kern_return_t return_code;
	int bytes_written;
{ return ds_device_write_reply_inband(reply_port, reply_portPoly, return_code, bytes_written); }
#else
(
	mach_port_t reply_port,
	mach_msg_type_name_t reply_portPoly,
	kern_return_t return_code,
	int bytes_written
);
#endif

/* SimpleRoutine device_read_reply */
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t ds_device_read_reply
#if	defined(LINTLIBRARY)
    (reply_port, reply_portPoly, return_code, data, dataCnt)
	mach_port_t reply_port;
	mach_msg_type_name_t reply_portPoly;
	kern_return_t return_code;
	io_buf_ptr_t data;
	mach_msg_type_number_t dataCnt;
{ return ds_device_read_reply(reply_port, reply_portPoly, return_code, data, dataCnt); }
#else
(
	mach_port_t reply_port,
	mach_msg_type_name_t reply_portPoly,
	kern_return_t return_code,
	io_buf_ptr_t data,
	mach_msg_type_number_t dataCnt
);
#endif

/* SimpleRoutine device_read_reply_inband */
#ifdef	mig_external
mig_external
#else
extern
#endif
kern_return_t ds_device_read_reply_inband
#if	defined(LINTLIBRARY)
    (reply_port, reply_portPoly, return_code, data, dataCnt)
	mach_port_t reply_port;
	mach_msg_type_name_t reply_portPoly;
	kern_return_t return_code;
	io_buf_ptr_inband_t data;
	mach_msg_type_number_t dataCnt;
{ return ds_device_read_reply_inband(reply_port, reply_portPoly, return_code, data, dataCnt); }
#else
(
	mach_port_t reply_port,
	mach_msg_type_name_t reply_portPoly,
	kern_return_t return_code,
	io_buf_ptr_inband_t data,
	mach_msg_type_number_t dataCnt
);
#endif

#endif	/* not defined(_device_reply_user_) */