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