xref: /titanic_50/usr/src/uts/common/sys/vtdaemon.h (revision aecfc01d1bad84e66649703f7fc2926ef70b34ba)
1*aecfc01dSrui zang - Sun Microsystems - Beijing China /*
2*aecfc01dSrui zang - Sun Microsystems - Beijing China  * CDDL HEADER START
3*aecfc01dSrui zang - Sun Microsystems - Beijing China  *
4*aecfc01dSrui zang - Sun Microsystems - Beijing China  * The contents of this file are subject to the terms of the
5*aecfc01dSrui zang - Sun Microsystems - Beijing China  * Common Development and Distribution License (the "License").
6*aecfc01dSrui zang - Sun Microsystems - Beijing China  * You may not use this file except in compliance with the License.
7*aecfc01dSrui zang - Sun Microsystems - Beijing China  *
8*aecfc01dSrui zang - Sun Microsystems - Beijing China  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*aecfc01dSrui zang - Sun Microsystems - Beijing China  * or http://www.opensolaris.org/os/licensing.
10*aecfc01dSrui zang - Sun Microsystems - Beijing China  * See the License for the specific language governing permissions
11*aecfc01dSrui zang - Sun Microsystems - Beijing China  * and limitations under the License.
12*aecfc01dSrui zang - Sun Microsystems - Beijing China  *
13*aecfc01dSrui zang - Sun Microsystems - Beijing China  * When distributing Covered Code, include this CDDL HEADER in each
14*aecfc01dSrui zang - Sun Microsystems - Beijing China  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*aecfc01dSrui zang - Sun Microsystems - Beijing China  * If applicable, add the following below this CDDL HEADER, with the
16*aecfc01dSrui zang - Sun Microsystems - Beijing China  * fields enclosed by brackets "[]" replaced with your own identifying
17*aecfc01dSrui zang - Sun Microsystems - Beijing China  * information: Portions Copyright [yyyy] [name of copyright owner]
18*aecfc01dSrui zang - Sun Microsystems - Beijing China  *
19*aecfc01dSrui zang - Sun Microsystems - Beijing China  * CDDL HEADER END
20*aecfc01dSrui zang - Sun Microsystems - Beijing China  */
21*aecfc01dSrui zang - Sun Microsystems - Beijing China 
22*aecfc01dSrui zang - Sun Microsystems - Beijing China /*
23*aecfc01dSrui zang - Sun Microsystems - Beijing China  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*aecfc01dSrui zang - Sun Microsystems - Beijing China  * Use is subject to license terms.
25*aecfc01dSrui zang - Sun Microsystems - Beijing China  */
26*aecfc01dSrui zang - Sun Microsystems - Beijing China 
27*aecfc01dSrui zang - Sun Microsystems - Beijing China #ifndef _SYS_VTDAEMON_H
28*aecfc01dSrui zang - Sun Microsystems - Beijing China #define	_SYS_VTDAEMON_H
29*aecfc01dSrui zang - Sun Microsystems - Beijing China 
30*aecfc01dSrui zang - Sun Microsystems - Beijing China #ifdef __cplusplus
31*aecfc01dSrui zang - Sun Microsystems - Beijing China extern "C" {
32*aecfc01dSrui zang - Sun Microsystems - Beijing China #endif
33*aecfc01dSrui zang - Sun Microsystems - Beijing China 
34*aecfc01dSrui zang - Sun Microsystems - Beijing China #define	VT_DAEMON_DOOR_FILE	"/var/run/vt/vtdaemon_door"
35*aecfc01dSrui zang - Sun Microsystems - Beijing China 
36*aecfc01dSrui zang - Sun Microsystems - Beijing China #define	VT_EV_X_EXIT	0	/* <vt_num> */
37*aecfc01dSrui zang - Sun Microsystems - Beijing China #define	VT_EV_HOTKEYS	1	/* <vt_num> */
38*aecfc01dSrui zang - Sun Microsystems - Beijing China 
39*aecfc01dSrui zang - Sun Microsystems - Beijing China /*
40*aecfc01dSrui zang - Sun Microsystems - Beijing China  * The structure of a request to vtdaemon.
41*aecfc01dSrui zang - Sun Microsystems - Beijing China  */
42*aecfc01dSrui zang - Sun Microsystems - Beijing China typedef struct vt_cmd_arg {
43*aecfc01dSrui zang - Sun Microsystems - Beijing China 	uchar_t		vt_ev;
44*aecfc01dSrui zang - Sun Microsystems - Beijing China 	uint32_t	vt_num;
45*aecfc01dSrui zang - Sun Microsystems - Beijing China } vt_cmd_arg_t;
46*aecfc01dSrui zang - Sun Microsystems - Beijing China 
47*aecfc01dSrui zang - Sun Microsystems - Beijing China #ifdef __cplusplus
48*aecfc01dSrui zang - Sun Microsystems - Beijing China }
49*aecfc01dSrui zang - Sun Microsystems - Beijing China #endif
50*aecfc01dSrui zang - Sun Microsystems - Beijing China 
51*aecfc01dSrui zang - Sun Microsystems - Beijing China #endif /* _SYS_VTDAEMON_H */
52