mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-18 20:48:11 +07:00
kmod - Linux kernel module handling
7f3eb0cced
We return a kmod_list when searching for an alias. Right now, it only search for aliases in config files. To use it, we create a list: list = NULL; kmod_module_new_from_lookup(..., &list); And iterate over it to get the modules and their details: kmod_list_foreach(l, list) { struct kmod_mod *mod = kmod_module_get_module(l); ... ... kmod_module_get_name(mod); ... kmod_module_get_path(mod); } Aliases might contain globs and are match by using fnmatch(). |
||
---|---|---|
libkmod | ||
m4 | ||
test | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
NEWS | ||
README |