comparison buffer.h @ 219:654bc8327787

merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Jul 2005 13:28:03 +0000
parents 161557a9dde8
children c3f2ec71e3d4 76097ec1a29a
comparison
equal deleted inserted replaced
218:3ee0c2f85e1e 219:654bc8327787
48 void buf_incrlen(buffer* buf, unsigned int incr); 48 void buf_incrlen(buffer* buf, unsigned int incr);
49 void buf_setpos(buffer* buf, unsigned int pos); 49 void buf_setpos(buffer* buf, unsigned int pos);
50 void buf_incrpos(buffer* buf, int incr); /* -ve is ok, to go backwards */ 50 void buf_incrpos(buffer* buf, int incr); /* -ve is ok, to go backwards */
51 void buf_incrwritepos(buffer* buf, unsigned int incr); 51 void buf_incrwritepos(buffer* buf, unsigned int incr);
52 unsigned char buf_getbyte(buffer* buf); 52 unsigned char buf_getbyte(buffer* buf);
53 unsigned char buf_getbool(buffer* buf);
53 void buf_putbyte(buffer* buf, unsigned char val); 54 void buf_putbyte(buffer* buf, unsigned char val);
54 unsigned char* buf_getptr(buffer* buf, unsigned int len); 55 unsigned char* buf_getptr(buffer* buf, unsigned int len);
55 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len); 56 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len);
56 unsigned char* buf_getstring(buffer* buf, unsigned int *retlen); 57 unsigned char* buf_getstring(buffer* buf, unsigned int *retlen);
57 void buf_eatstring(buffer *buf); 58 void buf_eatstring(buffer *buf);