kmod - Linux kernel module handling
Go to file
Lucas De Marchi 7f3eb0cced Add lookup to create modules list from alias
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().
2011-11-30 19:03:41 -02:00
libkmod Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
m4 Import skeleton from libabc 2011-11-21 12:35:15 -02:00
test Add test-insmod to insert modules 2011-11-25 01:25:18 -02:00
.gitignore Add cscope.out and .swp files to gitignore 2011-11-25 00:32:28 -02:00
autogen.sh Do not configure if NOCONFIGURE is set 2011-11-24 13:29:44 -02:00
configure.ac Add some good practices to autofoo 2011-11-22 17:47:52 -02:00
COPYING Import skeleton from libabc 2011-11-21 12:35:15 -02:00
Makefile.am Import index handling from module-init-tools 2011-11-30 15:23:49 -02:00
NEWS Rename libabc to libkmod 2011-11-21 14:35:35 -02:00
README Rename libabc to libkmod 2011-11-21 14:35:35 -02:00