summaryrefslogtreecommitdiffstats
path: root/loader/modules.h
blob: a2c669e2462f3cf0a5aa4da9011b7a0ec842d637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef H_MODULES

typedef struct moduleList_s * moduleList;
typedef struct moduleDependency_s * moduleDeps;

int mlReadLoadedList(moduleList * list);
void mlFreeList(moduleList list);
int mlLoadDeps(moduleDeps moduleDepList, const char * path);
moduleDeps mlNewDeps(void);
int mlLoadModule(struct moduleInfo * modInfo, moduleList modLoaded,
	         moduleDeps modDeps);
char ** mlGetDeps(moduleDeps modDeps, const char * modName);

#endif