kmod/libkmod
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
..
.gitignore Rename libabc to libkmod 2011-11-21 14:35:35 -02:00
libkmod-config.c Add getters for aliases 2011-11-30 18:18:13 -02:00
libkmod-index.c Remove trailing whitespaces 2011-11-30 15:59:47 -02:00
libkmod-index.h Fix misspellings by use of codespell 2011-11-30 16:02:08 -02:00
libkmod-list.c Fix wrong copyright 2011-11-28 16:59:06 -02:00
libkmod-loaded.c Fix wrong copyright 2011-11-28 16:59:06 -02:00
libkmod-module.c Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
libkmod-private.h Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
libkmod-util.c Add underscores() helper to replace - with _ 2011-11-30 02:14:33 -02:00
libkmod.c Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
libkmod.h Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
libkmod.pc.in Rename libabc to libkmod 2011-11-21 14:35:35 -02:00
libkmod.sym Add lookup to create modules list from alias 2011-11-30 19:03:41 -02:00
macro.h Define temporary macros for importing index 2011-11-30 14:35:39 -02:00