]> git.ipfire.org Git - thirdparty/kmod.git/commit
kmod_module: return a new list and increase ref of dependencies
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 5 Dec 2011 21:40:45 +0000 (19:40 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 6 Dec 2011 04:48:03 +0000 (02:48 -0200)
commitf1cd799fb0a8e4d2859189b85480cdb5668db72a
treeac87bb9f8677163877923542ecdffc3889b0002d
parentd2d648dfafd7b661e16a3bf5f66b03c56abeb850
kmod_module: return a new list and increase ref of dependencies

kmod_module_get_dependency is renamed to kmod_module_get_dependencies
since it's returning a list. To match other APIs, now it returns a new
list that user must free with kmod_module_unref_list().
libkmod/libkmod-module.c
libkmod/libkmod.h
libkmod/libkmod.sym