mbuf.h
#ifndef ANI_CHANGEFILE_H
#define ANI_CHANGEFILE_H
struct mbuf {
size len;
u8 *buf;
};
/**
* Populate a changefile from a file descriptor - returns a negative
* number to indicate some kind of failure.
*/
int mkmbuf(int fd, struct mbuf *);
/**
* Free an mbuf
*/
void freembuf(struct mbuf *b);
#endif