FreeBSD/Linux Kernel Cross Reference
sys/ipc/mach_msg.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1993,1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: mach_msg.h,v $
29 * Revision 2.6 93/11/17 17:04:48 dbg
30 * Declared continuation functions as not returning.
31 * [93/05/04 dbg]
32 *
33 * Added ANSI function prototypes.
34 * [93/03/29 dbg]
35 *
36 * Revision 2.5 91/08/28 11:14:01 jsb
37 * Added mach_msg_interrupt.
38 * [91/08/03 rpd]
39 *
40 * Revision 2.4 91/05/14 16:39:03 mrt
41 * Correcting copyright
42 *
43 * Revision 2.3 91/02/05 17:24:59 mrt
44 * Changed to new Mach copyright
45 * [91/02/01 15:53:24 mrt]
46 *
47 * Revision 2.2 91/01/08 15:15:23 rpd
48 * Created.
49 * [90/11/22 rpd]
50 *
51 */
52 /*
53 * File: ipc/mach_msg.h
54 * Author: Rich Draves
55 * Date: 1989
56 *
57 * Declarations of internal messaging primitives.
58 */
59
60 #ifndef _IPC_MACH_MSG_H_
61 #define _IPC_MACH_MSG_H_
62
63 #include <mach_ipc_compat.h>
64
65 #include <mach/boolean.h>
66 #include <mach/message.h>
67 #include <kern/kern_types.h>
68
69 extern mach_msg_return_t
70 mach_msg_send(mach_msg_header_t *, mach_msg_option_t,
71 mach_msg_size_t, mach_msg_timeout_t, mach_port_t);
72
73 extern mach_msg_return_t
74 mach_msg_receive(mach_msg_header_t *, mach_msg_option_t,
75 mach_msg_size_t, mach_port_t,
76 mach_msg_timeout_t, mach_port_t);
77
78 extern mach_msg_return_t
79 mach_msg_trap(mach_msg_header_t *, mach_msg_option_t,
80 mach_msg_size_t, mach_msg_size_t, mach_port_t,
81 mach_msg_timeout_t, mach_port_t);
82
83 extern no_return
84 mach_msg_receive_continue(void);
85
86 extern no_return
87 mach_msg_continue(void);
88
89 extern boolean_t
90 mach_msg_interrupt(thread_t);
91
92 #if MACH_IPC_COMPAT
93
94 extern no_return
95 msg_receive_continue(void);
96
97 #endif /* MACH_IPC_COMPAT */
98
99 #endif /* _IPC_MACH_MSG_H_ */
Cache object: 61688159fda729759dcc9e1f3d38f2f0
|