iteioctl.h revision 1.5
11.1Smw/* 21.1Smw * Copyright (c) 1988 University of Utah. 31.1Smw * Copyright (c) 1990 The Regents of the University of California. 41.1Smw * All rights reserved. 51.1Smw * 61.1Smw * This code is derived from software contributed to Berkeley by 71.1Smw * the Systems Programming Group of the University of Utah Computer 81.1Smw * Science Department. 91.1Smw * 101.1Smw * Redistribution and use in source and binary forms, with or without 111.1Smw * modification, are permitted provided that the following conditions 121.1Smw * are met: 131.1Smw * 1. Redistributions of source code must retain the above copyright 141.1Smw * notice, this list of conditions and the following disclaimer. 151.1Smw * 2. Redistributions in binary form must reproduce the above copyright 161.1Smw * notice, this list of conditions and the following disclaimer in the 171.1Smw * documentation and/or other materials provided with the distribution. 181.1Smw * 3. All advertising materials mentioning features or use of this software 191.1Smw * must display the following acknowledgement: 201.1Smw * This product includes software developed by the University of 211.1Smw * California, Berkeley and its contributors. 221.1Smw * 4. Neither the name of the University nor the names of its contributors 231.1Smw * may be used to endorse or promote products derived from this software 241.1Smw * without specific prior written permission. 251.1Smw * 261.1Smw * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 271.1Smw * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 281.1Smw * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 291.1Smw * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 301.1Smw * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 311.1Smw * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 321.1Smw * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 331.1Smw * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 341.1Smw * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 351.1Smw * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 361.1Smw * SUCH DAMAGE. 371.1Smw * 381.4Smw * from: Utah $Hdr: iteioctl.h 1.1 90/07/09$ 391.4Smw * 401.4Smw * @(#)iteioctl.h 7.2 (Berkeley) 11/4/90 411.1Smw */ 421.1Smw 431.3Smw#define ITESWITCH _IOW('Z',0x69, int) /* XXX */ 441.3Smw#define ITELOADKMAP _IOW('Z',0x70, struct kbdmap) 451.3Smw#define ITEGETKMAP _IOR('Z',0x71, struct kbdmap) 461.5Smw 471.5Smw/* don't use these in new code, just included to get 481.5Smw view code to compile!! There's got to be a more generic, 491.5Smw not so cc-concentrated approach! */ 501.5Smw 511.5Smwstruct ite_window_size { 521.5Smw int x; 531.5Smw int y; 541.5Smw int width; 551.5Smw int height; 561.5Smw int depth; 571.5Smw}; 581.5Smw 591.5Smwstruct ite_bell_values { 601.5Smw int volume; 611.5Smw int period; 621.5Smw int time; 631.5Smw}; 641.5Smw 651.5Smw 661.5Smw#define ITE_GET_WINDOW_SIZE _IOR('Z',0x72, struct ite_window_size) 671.5Smw#define ITE_SET_WINDOW_SIZE _IOW('Z',0x73, struct ite_window_size) 681.5Smw 691.5Smw#define ITE_DISPLAY_WINDOW _IO('Z', 0x74) 701.5Smw#define ITE_REMOVE_WINDOW _IO('Z', 0x75) 711.5Smw 721.5Smw#define ITE_GET_BELL_VALUES _IOR('Z', 0x76, struct ite_bell_values) 731.5Smw#define ITE_SET_BELL_VALUES _IOW('Z', 0x77, struct ite_bell_values) 741.5Smw 751.5Smw 76