]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ipc/ipc_print.h
xnu-344.34.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_print.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22 /*
23 * @OSF_COPYRIGHT@
24 */
25 /*
26 * HISTORY
27 *
28 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:26:16 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.1.8.3 1995/02/23 17:31:31 alanl
35 * DIPC: Merge from nmk17b2 to nmk18b8.
36 * [95/01/03 mmp]
37 *
38 * Revision 1.1.7.3 1994/11/29 01:21:22 robert
39 * re-submit for failed CF backup
40 * [1994/11/29 01:17:55 robert]
41 *
42 * Revision 1.1.7.2 1994/11/28 23:58:36 travos
43 * Add MACH_KDB ifdef.
44 * [1994/11/28 23:53:46 travos]
45 *
46 * Revision 1.1.7.1 1994/08/04 02:22:55 mmp
47 * NOTE: file was moved back to b11 version for dipc2_shared.
48 * Update prototype for ipc_port_print.
49 * [1994/08/03 19:26:56 mmp]
50 *
51 * Revision 1.1.8.2 1994/09/23 02:10:26 ezf
52 * change marker to not FREE
53 * [1994/09/22 21:30:09 ezf]
54 *
55 * Revision 1.1.8.1 1994/08/07 20:46:08 bolinger
56 * Merge up to colo_b7.
57 * [1994/08/01 20:59:21 bolinger]
58 *
59 * Revision 1.1.2.2 1993/08/02 16:12:25 jeffc
60 * CR9523 -- New file to hold prototypes for ddb print
61 * functions in the ipc system.
62 * [1993/07/29 20:13:45 jeffc]
63 *
64 * $EndLog$
65 */
66
67 #ifndef IPC_PRINT_H
68 #define IPC_PRINT_H
69
70 #include <mach_kdb.h>
71 #include <ipc/ipc_pset.h>
72
73 extern void ipc_pset_print(
74 ipc_pset_t pset);
75
76 #include <ipc/ipc_port.h>
77
78 #if MACH_KDB
79 #include <ddb/db_expr.h>
80
81 extern void ipc_port_print(
82 ipc_port_t port,
83 boolean_t have_addr,
84 db_expr_t count,
85 char *modif);
86
87 #include <ipc/ipc_kmsg.h>
88
89 extern void ipc_kmsg_print(
90 ipc_kmsg_t kmsg);
91
92 #include <mach/message.h>
93
94 extern void ipc_msg_print(
95 mach_msg_header_t *msgh);
96
97 extern ipc_port_t ipc_name_to_data(
98 task_t task,
99 mach_port_name_t name);
100
101 #endif /* MACH_KDB */
102 #endif /* IPC_PRINT_H */