search for: subplugin

Displaying 5 results from an estimated 5 matches for "subplugin".

2020 Jun 04
0
[PATCH nbdkit] cc: Handle missing callbacks.
If can_write is defined by the subplugin and returns true, but pwrite is missing, then the plugin would crash. nbdkit itself handles these kinds of cases in different ways, and this commit replicates that handling. Except for .zero where the fallback is complex. Thanks: Eric Blake --- plugins/cc/cc.c | 50 +++++++++++++++++++++++++++++...
2020 Sep 21
0
[nbdkit PATCH v3 06/14] api: Add .export_description
...andle); extern int sh_pread (void *handle, void *buf, uint32_t count, uint64_t offset, uint32_t flags); diff --git a/plugins/cc/cc.c b/plugins/cc/cc.c index 7d529b20..3251f312 100644 --- a/plugins/cc/cc.c +++ b/plugins/cc/cc.c @@ -377,6 +377,14 @@ cc_close (void *handle) subplugin.close (handle); } +static const char * +cc_export_description (void *handle) +{ + if (subplugin.export_description) + return subplugin.export_description (handle); + return NULL; +} + static int64_t cc_get_size (void *handle) { @@ -575,34 +583,35 @@ static struct nbdkit_plugin plugin = {...
2008 Mar 06
0
[ANNOUNCE] compiz-0.7.2
...to translate tooltips and dialog items of gtk-window-decorator. Update translatable files. Correctly reflect changes to Gnome's DPI settings. Fix warning. Set cancel state when ending scale the same way as it was initiated. Make scaleSelectWindow wrappable so that subplugins can be notified of window selection. Clear window input extents when removing decoration from a window. Correctly terminate move action if it was initiated by decoration button press and the button binding was not set to <some modifier>+Button1. Fixed annotate erase invoc...
2020 Aug 27
10
[nbdkit PATCH v2 0/8] exportname filter
This is a revision of my .default_export work, plus new work on .export_descriptions and a new exportname filter. I think it is now ready to check in. Things I'd still like in 1.22: - the file plugin should implement .list_exports (patch already posted, but it needs rebasing on this series) - the ext2 filter should override .list_exports when in exportname mode - the nbd plugin should be
2020 Sep 21
18
[nbdkit PATCH v3 00/14] exportname filter
It's been several weeks since I posted v2 (I got distracted by improving libnbd to better test things, which in turn surfaced some major memory leak problems in nbdsh that are now fixed). Many of the patches are minor rebases from v2, with the biggest changes being fallout from: - patch 2: rename nbdkit_add_default_export to nbdkit_use_default_export - overall: this missed 1.22, so update