rc_t open_table (VDBManager * mgr, VSchema * schema, VTable ** table) { rc_t rc; rc = VDBManagerVCreateTable (mgr, table, schema, TABLE_NAME, kcmInit, schema_path, NULL); if (rc) { LOGERR (klogErr, rc, "Failed to create/init Table"); } return rc; }
LIB_EXPORT rc_t CC VDBManagerCreateTable ( VDBManager *self, VTable **tbl, const VSchema *schema, const char *typespec, KCreateMode cmode, const char *path, ... ) { rc_t rc; va_list args; va_start ( args, path ); rc = VDBManagerVCreateTable ( self, tbl, schema, typespec, cmode, path, args ); va_end ( args ); return rc; }