From bf59e01ea1fd1dbcc727b063fe9bf87885de3fe9 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Sat, 18 Sep 1999 16:09:48 +0000 Subject: tried to add path information for modball to insmod -- totally untested ;-) --- isys/isys.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'isys/isys.h') 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 -- cgit