1 /* BEGIN INCLUDE FILE ws_buf.h */ 2 3 /* HISTORY COMMENTS: 4 1) change(86-06-01,Westcott), approve(87-07-13,MCR7580), 5 audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072): 6 Created. 7 END HISTORY COMMENTS */ 8 9 /* FUNCTION 10 11 Defines the structure of a circular buffer. Equivalent include file ws_buf.mac 12 */ 13 14 struct bstruc { /* circular buffer structure */ 15 int bsize; /* Size of buffer */ 16 char *bfirst; /* First char in buffer */ 17 char *blast; /* Last char in buffer */ 18 char *bin; /* First data in buffer */ 19 char *bout; /* Last data in buffer */ 20 char bminor; /* Minor of data */ 21 char mbuffer[1]; /* data holding place */ 22 }; 23 24 /* END INCLUDE FILE ws_buf.h */ 25 ^Z