llog: add "data" parameter to pass context
authorDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 8 Feb 2013 15:14:48 +0000 (16:14 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 8 Feb 2013 15:14:48 +0000 (16:14 +0100)
commit577a9b4c41e6d0b8ee6a281877e5366be96803d6
treee0c772fd006e7e67dcb2a4a7dc61e359f6dd02a1
parent36f9d2d0b1bcc66572ddba0241558f2ca176897c
llog: add "data" parameter to pass context

If we allow users to specify log functions, we should also allow them to
pass a context. This isn't used internally, but may be needed by external
users so provide it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
20 files changed:
src/eloop.c
src/eloop.h
src/kmscon_cdev.c
src/kmscon_main.c
src/kmscon_terminal.c
src/log.c
src/log.h
src/pty.c
src/shl_llog.h
src/static_gl.h
src/static_gl_shader.c
src/text_gltex.c
src/tsm_screen.c
src/tsm_screen.h
src/tsm_vte.c
src/tsm_vte.h
src/uterm_drm3d_render.c
src/uterm_video.c
src/wlt_main.c
src/wlt_terminal.c