|
|
1.1 ! root 1: /* Copyright (c) 1984 AT&T */ ! 2: /* All Rights Reserved */ ! 3: ! 4: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ ! 5: /* The copyright notice above does not evidence any */ ! 6: /* actual or intended publication of such source code. */ ! 7: ! 8: #ident "@(#)/usr/include/sys/jioctl.h.sl 1.3 3.0 01/13/86 20155 AT&T-SF" ! 9: ! 10: /* ! 11: ** Unix to Jerq I/O control codes ! 12: */ ! 13: ! 14: #define JTYPE ('j'<<8) ! 15: #define JBOOT (JTYPE|1) ! 16: #define JTERM (JTYPE|2) ! 17: #define JMPX (JTYPE|3) ! 18: #define JTIMO (JTYPE|4) /* Timeouts in seconds */ ! 19: #define JWINSIZE (JTYPE|5) ! 20: #define JTIMOM (JTYPE|6) /* Timeouts in millisecs */ ! 21: #define JZOMBOOT (JTYPE|7) ! 22: #define JAGENT (JTYPE|9) /* control for both directions */ ! 23: #define JTRUN (JTYPE|10) /* send runlayer command to layers*/ ! 24: ! 25: struct jwinsize ! 26: { ! 27: char bytesx, bytesy; /* Window size in characters */ ! 28: short bitsx, bitsy; /* Window size in bits */ ! 29: }; ! 30: ! 31: /** Channel 0 control message format **/ ! 32: ! 33: struct jerqmesg ! 34: { ! 35: char cmd; /* A control code above */ ! 36: char chan; /* Channel it refers to */ ! 37: }; ! 38: ! 39: /* ! 40: ** Character-driven state machine information for Jerq to Unix communication. ! 41: */ ! 42: ! 43: #define C_SENDCHAR 1 /* Send character to layer process */ ! 44: #define C_NEW 2 /* Create new layer process group */ ! 45: #define C_UNBLK 3 /* Unblock layer process */ ! 46: #define C_DELETE 4 /* Delete layer process group */ ! 47: #define C_EXIT 5 /* Exit */ ! 48: #define C_DEFUNCT 6 /* Send terminate signal to proc. group */ ! 49: #define C_SENDNCHARS 7 /* Send several characters to layer proc. */ ! 50: #define C_RESHAPE 8 /* Layer has been reshaped */ ! 51: #define C_RUN 9 /* Run command in layer */ ! 52: ! 53: /* ! 54: ** Usual format is: [command][data] ! 55: */ ! 56: ! 57: /* ! 58: * This defines things to do with the host agent on the Blit. ! 59: */ ! 60: ! 61: struct bagent{ ! 62: int size; /* size of src string going in and dest string out */ ! 63: char * src; /* address of the source byte string */ ! 64: char * dest; /* address of the destination byte string */ ! 65: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.