You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
326 B
14 lines
326 B
#pragma once
|
|
|
|
#include "module.h"
|
|
|
|
#define MODULE_DATABASE_CAPACITY 128
|
|
|
|
struct module_database {
|
|
struct module *modules[MODULE_DATABASE_CAPACITY];
|
|
size_t count;
|
|
};
|
|
|
|
struct module *module_database_find_by_path(struct module_database *db, char *path);
|
|
void module_database_init(struct module_database *db);
|