Hi,
as a followup for the signature fix for mount_vfs [1], here it is a
patch series to generate automatically all the OCaml interfaces of
daemon actions.
[1]
https://www.redhat.com/archives/libguestfs/2018-April/msg00059.html
Thanks,
Pino Toscano (5):
daemon: directly use Optgroups
daemon: use the structs from the Structs module
daemon: move Lvm.lv_canonical to new Lvm_utils module
daemon: move Mount.umount_all to new Mount_utils module
daemon: autogenerate OCaml interfaces
.gitignore | 17 ++++++++
daemon/Makefile.am | 4 ++
daemon/blkid.mli | 19 ---------
daemon/btrfs.mli | 26 -----------
daemon/devsparts.mli | 25 -----------
daemon/filearch.mli | 19 ---------
daemon/findfs.ml | 2 +-
daemon/findfs.mli | 20 ---------
daemon/inspect.ml | 2 +-
daemon/inspect.mli | 41 ------------------
daemon/inspect_fs.ml | 2 +-
daemon/inspect_fs_unix_fstab.ml | 2 +-
daemon/inspect_fs_windows.ml | 4 +-
daemon/is.mli | 21 ---------
daemon/ldm.ml | 2 -
daemon/ldm.mli | 22 ----------
daemon/link.mli | 19 ---------
daemon/listfs.ml | 8 ++--
daemon/listfs.mli | 19 ---------
daemon/lvm.ml | 29 -------------
daemon/lvm_utils.ml | 48 +++++++++++++++++++++
daemon/{lvm.mli => lvm_utils.mli} | 4 --
daemon/md.mli | 20 ---------
daemon/mount.ml | 61 --------------------------
daemon/mount.mli | 24 -----------
daemon/mount_utils.ml | 83 ++++++++++++++++++++++++++++++++++++
daemon/{file.mli => mount_utils.mli} | 2 +-
daemon/parted.mli | 34 ---------------
daemon/realpath.mli | 20 ---------
daemon/statvfs.mli | 33 --------------
generator/daemon.ml | 83 ++++++++++++++++++++++++++++++++++++
generator/daemon.mli | 1 +
generator/main.ml | 17 ++++++++
33 files changed, 264 insertions(+), 469 deletions(-)
delete mode 100644 daemon/blkid.mli
delete mode 100644 daemon/btrfs.mli
delete mode 100644 daemon/devsparts.mli
delete mode 100644 daemon/filearch.mli
delete mode 100644 daemon/findfs.mli
delete mode 100644 daemon/inspect.mli
delete mode 100644 daemon/is.mli
delete mode 100644 daemon/ldm.mli
delete mode 100644 daemon/link.mli
delete mode 100644 daemon/listfs.mli
create mode 100644 daemon/lvm_utils.ml
rename daemon/{lvm.mli => lvm_utils.mli} (94%)
delete mode 100644 daemon/md.mli
delete mode 100644 daemon/mount.mli
create mode 100644 daemon/mount_utils.ml
rename daemon/{file.mli => mount_utils.mli} (96%)
delete mode 100644 daemon/parted.mli
delete mode 100644 daemon/realpath.mli
delete mode 100644 daemon/statvfs.mli
--
2.14.3