modules.h
来自「linux 安装程序」· C头文件 代码 · 共 45 行
H
45 行
#ifndef H_MODULES#define H_MODULES#include "moduleinfo.h"#include "moduledeps.h"typedef struct moduleList_s * moduleList;struct loadedModuleInfo { char * name; char ** args; int weLoaded; int written; char * path; int firstDevNum, lastDevNum; enum driverMajor major; enum driverMinor minor;};struct extractedModule { char * path; char * location;};struct moduleList_s { struct loadedModuleInfo mods[100]; int numModules;};int mlReadLoadedList(moduleList * mlp);int mlLoadModule(const char * module, moduleList modLoaded, moduleDeps modDeps, moduleInfoSet modInfo, char ** args);int mlLoadModuleSet(const char * modNames, moduleList modLoaded, moduleDeps modDeps, moduleInfoSet modInfo);int mlModuleInList(const char * modName, moduleList list);void writeScsiDisks(moduleList list);int removeLoadedModule(const char * modName, moduleList modLoaded);char * getModuleLocation(int version);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?