xtl: New xentoollog mini-library.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 08:29:15 +0000 (09:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 08:29:15 +0000 (09:29 +0100)
commit7f9a888af4b65cb8c22cea3c8295d30d0fedd623
tree84001e50ab1b7f9fa6bb45494dab0d241cc72253
parent36cfb6aa84c1b5a5b5ac15883e34b10f32ab0ab8
xtl: New xentoollog mini-library.

We provide a new header file "xentoollog.h" which defines an interface
that libraries and applications can use for logging.  This avoids
having to wrap each library's log callbacks up, massage arguments to
log callbacks, and so on.

The library's .o files are within libxc to avoid having to create a
separate lib*.a, but callers do not need to #include xenctrl.h and it
should be regarded as a separate API.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/Makefile
tools/libxc/xentoollog.h [new file with mode: 0644]
tools/libxc/xtl_core.c [new file with mode: 0644]
tools/libxc/xtl_logger_stdio.c [new file with mode: 0644]