0a99555401a033704f1f171baab6db11fb5528f2Allan Foster/*
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * CDDL HEADER START
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster *
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * The contents of this file are subject to the terms of the
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * Common Development and Distribution License (the "License").
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * You may not use this file except in compliance with the License.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster *
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * or http://www.opensolaris.org/os/licensing.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * See the License for the specific language governing permissions
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * and limitations under the License.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster *
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * When distributing Covered Code, include this CDDL HEADER in each
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * If applicable, add the following below this CDDL HEADER, with the
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * fields enclosed by brackets "[]" replaced with your own identifying
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * information: Portions Copyright [yyyy] [name of copyright owner]
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster *
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * CDDL HEADER END
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster */
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster/*
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * Use is subject to license terms.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster */
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#ifndef _SYS_VTDAEMON_H
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#define _SYS_VTDAEMON_H
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#ifdef __cplusplus
0a99555401a033704f1f171baab6db11fb5528f2Allan Fosterextern "C" {
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#endif
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#define VT_DAEMON_DOOR_FILE "/var/run/vt/vtdaemon_door"
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#define VT_EV_X_EXIT 0 /* <vt_num> */
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#define VT_EV_HOTKEYS 1 /* <vt_num> */
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster/*
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster * The structure of a request to vtdaemon.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster */
0a99555401a033704f1f171baab6db11fb5528f2Allan Fostertypedef struct vt_cmd_arg {
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster uchar_t vt_ev;
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster uint32_t vt_num;
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster} vt_cmd_arg_t;
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#ifdef __cplusplus
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster}
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#endif
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster#endif /* _SYS_VTDAEMON_H */
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster