root/compat/svr4/svr4_jioctl.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


    1 /*      $OpenBSD: svr4_jioctl.h,v 1.1 1997/11/04 07:45:34 niklas Exp $   */
    2 
    3 /*
    4  * Copyright (c) 1997 Niklas Hallqvist
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  * 3. The name of the author may not be used to endorse or promote products
   16  *    derived from this software without specific prior written permission
   17  *
   18  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   19  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   20  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   21  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   22  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   23  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   24  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   25  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   26  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   27  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   28  */
   29 
   30 /*
   31  * Deal with the "j" svr4 ioctls ("j" stands for "jerq", the first windowing
   32  * terminal).
   33  */
   34 
   35 #ifndef _SVR4_SYS_JIOCTL_H_
   36 #define _SVR4_SYS_JIOCTL_H_
   37 
   38 #define SVR4_jIOC       ('j' << 8)
   39 
   40 #define SVR4_JBOOT      (SVR4_jIOC|1)
   41 #define SVR4_JTERM      (SVR4_jIOC|2)
   42 #define SVR4_JMPX       (SVR4_jIOC|3)
   43 #define SVR4_JTIMO      (SVR4_jIOC|4)
   44 #define SVR4_JWINSIZE   (SVR4_jIOC|5)
   45 #define SVR4_JTIMOM     (SVR4_jIOC|6)
   46 #define SVR4_JZOMBOOT   (SVR4_jIOC|7)
   47 #define SVR4_JAGENT     (SVR4_jIOC|9)
   48 #define SVR4_JTRUN      (SVR4_jIOC|10)
   49 #define SVR4_JXTPROTO   (SVR4_jIOC|11)
   50 
   51 struct svr4_jwinsize {
   52         u_int8_t        bytesx, bytesy;
   53         u_int16_t       bitsx, bitsy;
   54 };
   55 
   56 struct svr4_jerqmsg {
   57         u_int8_t        cmd, chan;
   58 };
   59 
   60 #define SVR4_C_SENDCHAR         1
   61 #define SVR4_C_NEW              2
   62 #define SVR4_C_UNBLK            3
   63 #define SVR4_C_DELETE           4
   64 #define SVR4_C_EXIT             5
   65 #define SVR4_C_DEFUNCT          6
   66 #define SVR4_C_SENDCHARS        7
   67 #define SVR4_C_RESHAPE          8
   68 #define SVR4_C_RUN              9
   69 #define SVR4_C_NOFLOW           10
   70 #define SVR4_C_YESFLOW          11
   71 
   72 struct svr4_bagent {
   73         u_int32_t size;
   74         void *src;
   75         void *dest;
   76 };
   77 
   78 #endif  /* _SVR4_SYS_JIOCTL_H_ */

/* [<][>][^][v][top][bottom][index][help] */