home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_06_08 / v6n8066b.txt < prev    next >
Text File  |  1989-09-28  |  975b  |  40 lines

  1.     1: /*
  2.     2:  * Listing 2:
  3.     3:  * 
  4.     4:  * sc_admin.h - #defines and typedefs for CVIEW utility
  5.     5:  * and remote SC_ADMIN task.
  6.     6:  */
  7.     7: 
  8.     8: /* incoming dtype definitions */
  9.     9: #define GET_DSP_INFO  -1
  10.    10: #define GET_DSP_DATA  0
  11.    11: #define GET_ALL_DATA  1
  12.    12: #define GET_DSP_CHGS  2
  13.    13: #define GET_NXT_CHGS  3
  14.    14: #define PUT_DSP_DATA  4
  15.    15: #define PUT_ALL_DATA  5
  16.    16: 
  17.    17: /* outgoing dtype definitions */
  18.    18: #define NOT_OK  -1
  19.    19: 
  20.    20: #ifndef OK
  21.    21: #define OK    0
  22.    22: #endif
  23.    23: 
  24.    24: #ifndef TRUE
  25.    25: #define TRUE  1
  26.    26: #define FALSE  0
  27.    27: #endif
  28.    28: 
  29.    29: /*
  30.    30:  * Structure of message passed between sc_admin and cview.
  31.    31:  */
  32.    32: typedef struct {
  33.    33:   unsigned dtype;
  34.    34:   int drow, dcol;
  35.    35:   int dbytes;
  36.    36:   int ddevno;
  37.    37:   struct state_entry dstate;
  38.    38:   char dbuffer[0];
  39.    39: } DISP_MSG;
  40.