search for: d42daeb

Displaying 1 result from an estimated 1 matches for "d42daeb".

2018 Jul 01
2
[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...= tcl_can_trim, + + .pread = tcl_pread, + .pwrite = tcl_pwrite, + .flush = tcl_flush, + .trim = tcl_trim, + .zero = tcl_zero, +}; + +NBDKIT_REGISTER_PLUGIN(plugin) diff --git a/tests/Makefile.am b/tests/Makefile.am index a7a31b9..d42daeb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -461,6 +461,19 @@ test_ruby_LDADD = libtest.la $(LIBGUESTFS_LIBS) endif HAVE_RUBY +# Tcl plugin test. +if HAVE_TCL + +LIBGUESTFS_TESTS += test-tcl + +test_tcl_SOURCES = test-lang-plugins.c test.h +test_tcl_CFLAGS = \ + -DLANG='&quot...