[Libguestfs] [PATCH v7 10/13] utils: Split out structs cleanups and printing into common/structs.

Pino Toscano ptoscano at redhat.com
Mon Jun 19 15:38:53 UTC 2017


On Monday, 19 June 2017 15:31:26 CEST Richard W.M. Jones wrote:
> These won't be used by the daemon, so interferes with us using
> common/utils in the daemon, so they are moved to a different library.
> ---

I checked it again, and the daemon does use structs cleanups:

$ cat generator/main.ml
[...]
  output_to "daemon/structs-cleanups.c"
            Daemon.generate_daemon_structs_cleanups_c;
  output_to "daemon/structs-cleanups.h"
            Daemon.generate_daemon_structs_cleanups_h;

See commits 32f0f9b032db592b50c4a4b0da29ef0de0478633 and
31fb6e20418e8f1b0647c92af0464f2009e9a997.

So structs cleanups could stay in libutils -- OTOH, structs printing
is only used in the library, and by guestfish.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170619/d4718677/attachment.sig>


More information about the Libguestfs mailing list