AdblAttributes* adbl_attrs_new (void) { AdblAttributes* self = ENTC_NEW (AdblAttributes); self->columns = ecmapchar_create (EC_ALLOC); return self; }
Q5Module* module_create (Q5Core core, Q5ModuleInstance* instance) { Q5Module* self = ENTC_NEW (Q5Module); self->instance = instance; self->core = core; self->port = 44000; self->host = ecstr_copy ("0.0.0.0"); self->entities = NULL; return self; }
AdblCredentials* adbl_credentials_new (const EcString dbtype) { AdblCredentials* self = ENTC_NEW(AdblCredentials); self->type = ecstr_copy(dbtype); //initialise the credentials self->connection = 0; //inisitalise the properties self->properties.port = 0; self->properties.host = 0; self->properties.file = 0; self->properties.schema = 0; self->properties.username = 0; self->properties.password = 0; self->pp = NULL; return self; }