summaryrefslogtreecommitdiffstats
path: root/loader/modules.h
blob: 3fad121f077f49ba5d36e67c706982f8da769876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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(char * modName, moduleList modLoaded,
	         moduleDeps modDeps, int testing);
char ** mlGetDeps(moduleDeps modDeps, const char * modName);
int mlModuleInList(const char * modName, moduleList list);
int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd);

#endif