Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
193 B

  1. #include "buffer.h"
  2. void buffer_init(buffer* b,int (*op)(),int fd,
  3. char* y,unsigned long int ylen) {
  4. b->op=op;
  5. b->fd=fd;
  6. b->x=y;
  7. b->a=ylen;
  8. b->p=0;
  9. b->n=0;
  10. b->todo=NOTHING;
  11. }