[Libguestfs] [PATCH libnbd] generator: Move first_version fields to a single table.
Eric Blake
eblake at redhat.com
Thu Sep 5 13:02:34 UTC 2019
On 9/5/19 6:56 AM, Richard W.M. Jones wrote:
> See discussion in this and following messages:
> https://www.redhat.com/archives/libguestfs/2019-September/msg00020.html
> ---
> generator/generator | 131 ++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 121 insertions(+), 10 deletions(-)
>
> +let first_version = [
> + "set_debug", (1, 0);
> + "get_debug", (1, 0);
> + "set_debug_callback", (1, 0);
> + "clear_debug_callback", (1, 0);
> + "set_handle_name", (1, 0);
> + "get_handle_name", (1, 0);
> + "set_export_name", (1, 0);
> + "get_export_name", (1, 0);
> + "set_tls", (1, 0);
> + "get_tls", (1, 0);
> + "set_tls_certificates", (1, 0);
> + (*"get_tls_certificates", (1, 0);*)
If we ever do implement this (and any other commented out for various
reasons), it won't be a 1.0 version...
> +
> + (* Added in 1.1 development series. *)
> + "can_fast_zero", (1, 2);
..so maybe it's better to sink the commented future APIs to the bottom?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190905/f1c5779b/attachment.sig>
More information about the Libguestfs
mailing list