request.c 478 Bytes
#include <stdlib.h>
#include <stdarg.h>

#include "class.h"
#include "interface/class.h"

#include "http/request.h"
#include "message/helper.c"


static
void
ctor(void * _this, va_list * params) {}

static
void
dtor(void * _this)
{
	HttpRequest this = _this;

	_free((void **)&(this->uri));
	_free((void **)&(this->method));

	PARENTCALL(_this, Class, dtor);
} 

INIT_IFACE(Class, ctor, dtor, NULL);
CREATE_CLASS(HttpRequest, HttpMessage, IFACE(Class));

// vim: set ts=4 sw=4: