--- margi2/ringbuffy.h 2000/12/03 22:41:08 1.1 +++ margi2/ringbuffy.h 2001/03/29 23:12:01 1.2 @@ -33,6 +33,7 @@ typedef struct ringbuffy{ int ring_init (ringbuffy *rbuf, long size); void ring_destroy(ringbuffy *rbuf); int ring_write(ringbuffy *rbuf, const char *data, int count); +int ring_writek(ringbuffy *rbuf, const char *data, int count); int ring_read(ringbuffy *rbuf, char *data, int count); long ring_read_rest(ringbuffy *rbuf); long ring_write_rest(ringbuffy *rbuf);