kmdb_io.h revision 1598:3034c599847f
1100966Siwasaki/*
2100966Siwasaki * CDDL HEADER START
3100966Siwasaki *
4100966Siwasaki * The contents of this file are subject to the terms of the
5100966Siwasaki * Common Development and Distribution License (the "License").
6100966Siwasaki * You may not use this file except in compliance with the License.
7100966Siwasaki *
8100966Siwasaki * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9100966Siwasaki * or http://www.opensolaris.org/os/licensing.
10100966Siwasaki * See the License for the specific language governing permissions
11100966Siwasaki * and limitations under the License.
12100966Siwasaki *
13100966Siwasaki * When distributing Covered Code, include this CDDL HEADER in each
14100966Siwasaki * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15100966Siwasaki * If applicable, add the following below this CDDL HEADER, with the
16100966Siwasaki * fields enclosed by brackets "[]" replaced with your own identifying
17100966Siwasaki * information: Portions Copyright [yyyy] [name of copyright owner]
18100966Siwasaki *
19100966Siwasaki * CDDL HEADER END
20100966Siwasaki */
21100966Siwasaki/*
22100966Siwasaki * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23100966Siwasaki * Use is subject to license terms.
24100966Siwasaki */
25100966Siwasaki
26100966Siwasaki#ifndef _KMDB_IO_H
27100966Siwasaki#define	_KMDB_IO_H
28100966Siwasaki
29100966Siwasaki#pragma ident	"%Z%%M%	%I%	%E% SMI"
30100966Siwasaki
31100966Siwasaki/*
32100966Siwasaki * KMDB-specific I/O functions
33100966Siwasaki */
34100966Siwasaki
35100966Siwasaki#ifdef __cplusplus
36100966Siwasakiextern "C" {
37100966Siwasaki#endif
38100966Siwasaki
39100966Siwasakiextern mdb_io_t *kmdb_promio_create(char *);
40100966Siwasaki
41100966Siwasakiextern char kmdb_getchar(void);
42100966Siwasaki
43100966Siwasaki#ifdef __cplusplus
44100966Siwasaki}
45100966Siwasaki#endif
46100966Siwasaki
47100966Siwasaki#endif /* _KMDB_IO_H */
48100966Siwasaki