freebsd-nq/contrib/less/xbuf.h
Xin LI 30a1828c51 less: upgrade to v590.
MFC after:	2 weeks
2021-07-17 22:20:44 -07:00

16 lines
219 B
C

#ifndef XBUF_H_
#define XBUF_H_
struct xbuffer
{
char *data;
int end;
int size;
};
void xbuf_init(struct xbuffer *xbuf);
void xbuf_reset(struct xbuffer *xbuf);
void xbuf_add(struct xbuffer *xbuf, char ch);
#endif