]> git.ipfire.org Git - thirdparty/kmod.git/commit - libkmod/libkmod.c
log: give log function its data instead of kmod_ctx.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 8 Dec 2011 15:47:55 +0000 (13:47 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 8 Dec 2011 16:06:50 +0000 (14:06 -0200)
commit1bdd951ee2fcc906a0394ee0b387e355d2bab850
tree2ab9eaf6e5cc79759c80fcd18b4b6cf5cf9f0fc6
parente1a6b30dc495c46c14fd9ed7b7a1807858d0d08e
log: give log function its data instead of kmod_ctx.

This will be the most common use case for logging, also changed
log_stderr() to log_filep() with data being stderr to test it.
libkmod/libkmod-private.h
libkmod/libkmod.c
libkmod/libkmod.h