request_queue.c
431 Bytes
#include <stdarg.h>
#include "class.h"
#include "interface/class.h"
#include "http/request_queue.h"
static
void
ctor(void * _this, va_list * params) {}
static
void
dtor(void * _this)
{
HttpRequestQueue this = _this;
int i;
for (i=0; i<this->nrequests; i++) {
delete(&(this->requests)[i]);
}
}
INIT_IFACE(Class, ctor, dtor, NULL);
CREATE_CLASS(HttpRequestQueue, NULL, IFACE(Class));
// vim: set ts=4 sw=4: