24 #include <sys/types.h>
43 HttpParser
this = _this;
45 this->buffer = va_arg(* params, Cbuf);
47 if (NULL == this->buffer) {
51 this->queue =
new(Queue);
60 HttpParser
this = _this;
64 if (
TRUE == this->ourLock)
68 delete(this->current);
void cbufRelease(Cbuf this)
static int httpParserCtor(void *_this, va_list *params)
ssize_t httpParserParse(void *, Stream)
CREATE_CLASS(HttpParser, NULL, IFACE(Class), IFACE(StreamReader))
INIT_IFACE(Class, httpParserCtor, httpParserDtor, NULL)
static void httpParserDtor(void *_this)