54 const uint8 *src,
int len);
115 #define GETBYTE(pf, dst) \ 118 int __res = pullf_read_fixed(pf, 1, &__b); \ MBuf * mbuf_create_from_data(uint8 *data, int len)
int pushf_flush(PushFilter *mp)
int mbuf_rewind(MBuf *mbuf)
int mbuf_size(MBuf *mbuf)
MBuf * mbuf_create(int len)
int pullf_read_max(PullFilter *mp, int len, uint8 **data_p, uint8 *tmpbuf)
int pullf_create_mbuf_reader(PullFilter **pf_p, MBuf *mbuf)
int pullf_read(PullFilter *mp, int len, uint8 **data_p)
void pushf_free(PushFilter *mp)
int pushf_create(PushFilter **res, const PushFilterOps *ops, void *init_arg, PushFilter *next)
int pushf_write(PushFilter *mp, const uint8 *data, int len)
int(* flush)(PushFilter *next, void *priv)
static int pull(struct nfa *nfa, struct arc *con, struct state **intermediates)
int mbuf_steal_data(MBuf *mbuf, uint8 **data_p)
int pullf_read_fixed(PullFilter *src, int len, uint8 *dst)
int pullf_create(PullFilter **res, const PullFilterOps *ops, void *init_arg, PullFilter *src)
void pushf_free_all(PushFilter *mp)
static StringInfoData tmpbuf
int(* push)(PushFilter *next, void *priv, const uint8 *src, int len)
int mbuf_avail(MBuf *mbuf)
int mbuf_free(MBuf *mbuf)
int mbuf_grab(MBuf *mbuf, int len, uint8 **data_p)
int(* init)(PushFilter *next, void *init_arg, void **priv_p)
int mbuf_append(MBuf *dst, const uint8 *buf, int cnt)
int mbuf_tell(MBuf *mbuf)
void pullf_free(PullFilter *mp)
int pushf_create_mbuf_writer(PushFilter **mp_p, MBuf *mbuf)