Since v1:
- patch 1: check size limits
- patch 2: better handling of default export name canonicalization
- patch 3: support filters as well as plugins
- patch 4: new
- patch 5: rewrite sh parser, fix testsuite to actually work and
cover more cases (now that libnbd.git is fixed)
Eric Blake (4):
server: Add exports list functions
server: Prepare to use export list from plugin
log: Add .list_exports support
sh, eval: Add .list_exports support
Richard W.M. Jones (1):
server: Implement list_exports.
docs/nbdkit-filter.pod | 92 +++++++++++++++--
docs/nbdkit-plugin.pod | 64 +++++++++++-
docs/nbdkit-protocol.pod | 4 +-
filters/log/nbdkit-log-filter.pod | 18 ++--
plugins/eval/nbdkit-eval-plugin.pod | 2 +
plugins/sh/nbdkit-sh-plugin.pod | 52 ++++++++++
include/nbdkit-common.h | 4 +
include/nbdkit-filter.h | 18 ++++
include/nbdkit-plugin.h | 3 +
server/Makefile.am | 2 +
tests/Makefile.am | 2 +
server/internal.h | 10 ++
common/utils/cleanup.h | 3 +
server/backend.c | 43 ++++++++
server/exports.c | 149 +++++++++++++++++++++++++++
server/filters.c | 13 +++
server/nbdkit.syms | 5 +
server/plugins.c | 15 +++
server/protocol-handshake-newstyle.c | 80 ++++++++------
common/utils/cleanup-nbdkit.c | 6 ++
plugins/sh/methods.h | 4 +-
plugins/eval/eval.c | 2 +
plugins/sh/methods.c | 106 +++++++++++++++++++
plugins/sh/sh.c | 1 +
plugins/sh/example.sh | 8 ++
filters/log/log.c | 50 ++++++++-
tests/test-eval-exports.sh | 108 +++++++++++++++++++
tests/test-layers-filter.c | 10 ++
tests/test-layers-plugin.c | 9 ++
tests/test-layers.c | 15 +++
30 files changed, 839 insertions(+), 59 deletions(-)
create mode 100644 server/exports.c
create mode 100755 tests/test-eval-exports.sh
--
2.28.0