1: #include <X/mit-copyright.h>
   2: 
   3: /* Copyright    Massachusetts Institute of Technology    1985	*/
   4: /* $Header: Xproto.h,v 10.9 86/02/01 15:15:31 tony Rel $ */
   5: 
   6: /* Definitions for the X window system usually hidden by library interface */
   7: 
   8: #define X_TCP_LI_PORT   5800        /* add display number */
   9: #define X_TCP_BI_PORT   5900        /* add display number */
  10: #if defined(XFROMUSER) || (!defined(XFROMINIT) && defined(sun))
  11: #define X_UNIX_PATH "/tmp/X"    /* concat display number */
  12: #else
  13: #define X_UNIX_PATH "/dev/X"    /* concat display number */
  14: #endif
  15: 
  16: /* Request structure */
  17: 
  18: typedef struct _XReq {
  19:     unsigned char code;
  20:     unsigned char func;
  21:     unsigned short mask;
  22:     Window windowId;
  23:     union {
  24:         long l[4];
  25:         short s[8];
  26:         unsigned short u[8];
  27:         char b[16];
  28:     } param;
  29: } XReq;
  30: 
  31: /* Reply structure */
  32: 
  33: typedef struct _XRep {
  34:     long code;
  35:     union {
  36:         long l[5];
  37:         short s[10];
  38:         unsigned short u[10];
  39:         char b[20];
  40:     } param;
  41: } XRep;
  42: 
  43: /* Reply codes */
  44: 
  45: #define X_Reply     0       /* Normal reply */
  46: #define X_Error     -1      /* Error */
  47: 
  48: /* Request codes */
  49: 
  50: #define X_CreateWindow      1
  51: #define X_CreateTransparency    2
  52: #define X_DestroyWindow     3
  53: #define X_DestroySubwindows 4
  54: #define X_MapWindow     5
  55: #define X_MapSubwindows     6
  56: #define X_UnmapWindow       7
  57: #define X_UnmapSubwindows   8
  58: #define X_UnmapTransparent  9
  59: #define X_RaiseWindow       10
  60: #define X_LowerWindow       11
  61: #define X_CircWindowUp      12
  62: #define X_MoveWindow        13
  63: #define X_ChangeWindow      14
  64: #define X_ConfigureWindow   15
  65: #define X_ChangeBackground  16
  66: #define X_ChangeBorder      17
  67: #define X_TileMode      18
  68: #define X_ClipMode      19
  69: #define X_QueryWindow       20
  70: #define X_StoreName     21
  71: #define X_FetchName     22
  72: #define X_SetIconWindow     23
  73: #define X_SetResizeHint     24
  74: #define X_GetResizeHint     25
  75: #define X_DefineCursor      26
  76: #define X_SelectInput       27
  77: #define X_GrabMouse     28
  78: #define X_GrabButton        29
  79: #define X_QueryMouse        30
  80: #define X_InterpretLocator  31
  81: #define X_WarpMouse     32
  82: #define X_FocusKeyboard     33
  83: #define X_CircWindowDown    34
  84: #define X_QueryTree     35
  85: #define X_Clear         40
  86: #define X_PixFill       41
  87: #define X_TileFill      42
  88: #define X_PixmapPut     43
  89: #define X_PixmapBitsPut     44
  90: #define X_BitmapBitsPut     45
  91: #define X_CopyArea      46
  92: #define X_Text          47
  93: #define X_TextMask      48
  94: #define X_Line          49
  95: #define X_Draw          50
  96: #define X_DrawFilled        51
  97: #define X_PixmapSave        52
  98: #define X_PixmapGet     53
  99: #define X_SetUp         80
 100: #define X_UngrabMouse       81
 101: #define X_UngrabButton      82
 102: #define X_GetColor      83
 103: #define X_GetColorCells     84
 104: #define X_FreeColors        85
 105: #define X_StoreColors       86
 106: #define X_QueryColor        87
 107: #define X_GetFont       88
 108: #define X_FreeFont      89
 109: #define X_QueryFont     90
 110: #define X_CharWidths        91
 111: #define X_StringWidth       92
 112: #define X_FontWidths        93
 113: #define X_StoreBitmap       94
 114: #define X_FreeBitmap        95
 115: #define X_CharBitmap        96
 116: #define X_StorePixmap       97
 117: #define X_FreePixmap        98
 118: #define X_MakePixmap        99
 119: #define X_QueryShape        100
 120: #define X_StoreCursor       101
 121: #define X_FreeCursor        102
 122: #define X_MouseControl      103
 123: #define X_FeepControl       104
 124: #define X_Feep          105
 125: #define X_ShiftLock     106
 126: #define X_KeyClick      107
 127: #define X_AutoRepeat        108
 128: #define X_ScreenSaver       109
 129: #define X_StoreBytes        110
 130: #define X_FetchBytes        111
 131: #define X_RotateCuts        112
 132: #define X_AddHost       113
 133: #define X_RemoveHost        114
 134: #define X_GetHosts      115
 135: #define X_GrabServer        116
 136: #define X_UngrabServer      117
 137: #define X_LookupColor       118

Defined struct's

_XRep defined in line 33; never used
_XReq defined in line 18; never used

Defined typedef's

XRep defined in line 41; used 79 times
XReq defined in line 29; used 158 times

Defined macros

X_AddHost defined in line 132; used 2 times
X_BitmapBitsPut defined in line 90; used 1 times
X_ChangeBackground defined in line 65; used 1 times
X_ChangeBorder defined in line 66; used 1 times
X_ChangeWindow defined in line 63; used 1 times
X_CharBitmap defined in line 115; used 1 times
X_CharWidths defined in line 110; used 1 times
X_CircWindowDown defined in line 83; used 1 times
X_CircWindowUp defined in line 61; used 1 times
X_Clear defined in line 85; used 1 times
X_ConfigureWindow defined in line 64; used 1 times
X_CopyArea defined in line 91; used 2 times
X_DestroySubwindows defined in line 53; used 1 times
X_DestroyWindow defined in line 52; used 1 times
X_Feep defined in line 124; used 1 times
X_FeepControl defined in line 123; used 1 times
X_FetchName defined in line 71; used 1 times
X_FocusKeyboard defined in line 82; used 1 times
X_FontWidths defined in line 112; used 1 times
X_FreeBitmap defined in line 114; used 1 times
X_FreeColors defined in line 104; used 1 times
X_FreeCursor defined in line 121; used 1 times
X_FreeFont defined in line 108; used 1 times
X_FreePixmap defined in line 117; used 1 times
X_GetColorCells defined in line 103; used 1 times
X_GetResizeHint defined in line 74; used 1 times
X_GrabButton defined in line 78; used 1 times
X_GrabMouse defined in line 77; used 1 times
X_GrabServer defined in line 135; used 1 times
X_InterpretLocator defined in line 80; used 1 times
X_KeyClick defined in line 126; used 1 times
X_Line defined in line 94; used 1 times
X_LowerWindow defined in line 60; used 1 times
X_MapSubwindows defined in line 55; used 1 times
X_MapWindow defined in line 54; used 1 times
X_MouseControl defined in line 122; used 1 times
X_MoveWindow defined in line 62; used 1 times
X_PixFill defined in line 86; used 2 times
X_PixmapPut defined in line 88; used 1 times
X_PixmapSave defined in line 97; used 1 times
X_QueryFont defined in line 109; used 1 times
X_QueryTree defined in line 84; used 1 times
X_RaiseWindow defined in line 59; used 1 times
X_Reply defined in line 45; used 2 times
X_RotateCuts defined in line 131; used 1 times
X_ScreenSaver defined in line 128; used 1 times
X_SelectInput defined in line 76; used 1 times
X_SetResizeHint defined in line 73; used 1 times
X_StoreName defined in line 70; used 1 times
X_StringWidth defined in line 111; used 1 times
X_TCP_BI_PORT defined in line 9; used 3 times
X_TCP_LI_PORT defined in line 8; used 3 times
X_Text defined in line 92; used 2 times
X_TileFill defined in line 87; used 2 times
X_UNIX_PATH defined in line 13; used 2 times
X_UngrabButton defined in line 101; used 1 times
X_UngrabMouse defined in line 100; used 1 times
X_UngrabServer defined in line 136; used 1 times
X_UnmapSubwindows defined in line 57; used 1 times
X_UnmapTransparent defined in line 58; used 1 times
X_UnmapWindow defined in line 56; used 1 times

Usage of this include

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2066
Valid CSS Valid XHTML 1.0 Strict