33 #define PREFIX "controller"
41 this->application = va_arg(*params, Application);
42 this->functions =
new(Hash);
43 this->handle = dlopen(NULL, RTLD_LAZY);
45 this->nprefix =
sizeof(
PREFIX) - 1;
47 if (NULL == this->handle) {
59 delete(this->functions);
60 dlclose(this->handle);
static void routerDtor(void *_this)
static int routerCtor(void *_this, va_list *params)
CREATE_CLASS(Router, NULL, IFACE(Class))
INIT_IFACE(Class, routerCtor, routerDtor, NULL)