libxc: ocaml: add simple binding for xentoollog (output only).
authorRob Hoes <rob.hoes@citrix.com>
Wed, 6 Nov 2013 17:49:43 +0000 (17:49 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 11 Nov 2013 15:38:26 +0000 (15:38 +0000)
commit65e35eb12447eb0c7343a1286f5c80138b5e5c84
treec99838ad37a06b9aab32c49cf97e3f301b33d387
parent3832037494154babfe3523744e77c68fb8336ced
libxc: ocaml: add simple binding for xentoollog (output only).

These bindings allow ocaml code to receive log message via xentoollog
but do not support injecting messages into xentoollog from ocaml.
Receiving log messages from libx{c,l} and forwarding them to ocaml is
the use case which is needed by the following patches.

Add a simple noddy test case (tools/ocaml/test).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Acked-by: David Scott <dave.scott@eu.citrix.com>
[ ijc -- dropped the xtl test harness, it failed to link ]
tools/ocaml/Makefile.rules
tools/ocaml/libs/Makefile
tools/ocaml/libs/xentoollog/META.in [new file with mode: 0644]
tools/ocaml/libs/xentoollog/Makefile [new file with mode: 0644]
tools/ocaml/libs/xentoollog/caml_xentoollog.h [new file with mode: 0644]
tools/ocaml/libs/xentoollog/genlevels.py [new file with mode: 0755]
tools/ocaml/libs/xentoollog/xentoollog.ml.in [new file with mode: 0644]
tools/ocaml/libs/xentoollog/xentoollog.mli.in [new file with mode: 0644]
tools/ocaml/libs/xentoollog/xentoollog_stubs.c [new file with mode: 0644]