summaryrefslogtreecommitdiffstats
path: root/loader/modules.h
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-10 15:41:27 +0000
committerErik Troan <ewt@redhat.com>1999-08-10 15:41:27 +0000
commit75fd52271c0ae636a31f6a9377abfd909c784857 (patch)
treeb82b82eeafb95054c3c7daffd20df4506db4327a /loader/modules.h
parent33a274128e257c4c924f8e197e30ab9e28d82fea (diff)
downloadanaconda-75fd52271c0ae636a31f6a9377abfd909c784857.tar.gz
anaconda-75fd52271c0ae636a31f6a9377abfd909c784857.tar.xz
anaconda-75fd52271c0ae636a31f6a9377abfd909c784857.zip
first pass at displaying loaded module info
Diffstat (limited to 'loader/modules.h')
-rw-r--r--loader/modules.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/loader/modules.h b/loader/modules.h
index 869c1fc36..ff458f13f 100644
--- a/loader/modules.h
+++ b/loader/modules.h
@@ -4,6 +4,17 @@
typedef struct moduleList_s * moduleList;
typedef struct moduleDependency_s * moduleDeps;
+struct loadedModuleInfo {
+ char * name;
+ char ** args;
+ int weLoaded;
+};
+
+struct moduleList_s {
+ struct loadedModuleInfo mods[50];
+ int numModules;
+};
+
int mlReadLoadedList(moduleList * list);
void mlFreeList(moduleList list);
int mlLoadDeps(moduleDeps * moduleDepList, const char * path);