diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-18 16:09:48 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-18 16:09:48 +0000 |
commit | bf59e01ea1fd1dbcc727b063fe9bf87885de3fe9 (patch) | |
tree | bc56cf1fddb3b023827bb95a0c514029dcc9e1ee /isys/isys.h | |
parent | 7a0d620ca47468bdefac9f77ffb9548f3562429d (diff) | |
download | anaconda-bf59e01ea1fd1dbcc727b063fe9bf87885de3fe9.tar.gz anaconda-bf59e01ea1fd1dbcc727b063fe9bf87885de3fe9.tar.xz anaconda-bf59e01ea1fd1dbcc727b063fe9bf87885de3fe9.zip |
tried to add path information for modball to insmod -- totally untested ;-)
Diffstat (limited to 'isys/isys.h')
-rw-r--r-- | isys/isys.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isys/isys.h b/isys/isys.h index bfa9aca89..065308642 100644 --- a/isys/isys.h +++ b/isys/isys.h @@ -21,6 +21,7 @@ struct moduleInfo { int numArgs; struct moduleArg * args; int flags; + char * path; }; struct moduleInfoSet_s { @@ -32,7 +33,8 @@ typedef struct moduleInfoSet_s * moduleInfoSet; moduleInfoSet isysNewModuleInfoSet(void); void isysFreeModuleInfoSet(moduleInfoSet mis); -int isysReadModuleInfo(const char * filename, moduleInfoSet mis); +int isysReadModuleInfo(const char * filename, moduleInfoSet mis, + char * path); struct moduleInfo * isysFindModuleInfo(moduleInfoSet mis, const char * moduleName); @@ -43,7 +45,7 @@ struct moduleInfo * isysGetModuleList(moduleInfoSet mis, /* returns -2 for errno, -1 for unknown device */ int devMakeInode(char * devName, char * path); -int insmod(char * modName, char ** args); +int insmod(char * modName, char * path, char ** args); int rmmod(char * modName); #endif |