improve kmod_config api.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 2 Dec 2011 23:40:22 +0000 (21:40 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 3 Dec 2011 05:56:57 +0000 (03:56 -0200)
commitd13e606ff6b064b9939169f1408fc5bd8ab2c1ca
tree997f8303fd1188ccccc5f600438bbdd722b0066a
parent8d3f3ef815cf9012ad54a0e0bda21aed8e7afa33
improve kmod_config api.

make the function names reflect the structure they are operating on.

the structure is now allocated and remembers the context it was
created, then no need to give the context in every function call.
libkmod/libkmod-config.c
libkmod/libkmod-private.h
libkmod/libkmod.c