[libvirt] [PATCH 01/10] secret: Move virSecretObj to secret_conf.h

Peter Krempa pkrempa at redhat.com
Mon Mar 7 15:50:12 UTC 2016


On Wed, Mar 02, 2016 at 13:54:58 -0500, John Ferlan wrote:
> To support being able to create a hashed secrets list, move the
> virSecretObj to secret_conf.h so that secret_conf.c can at least find
> the definition.

I don't think this is necessary. You still can create accessors and have
the actual implementation of the struct private in the .c file. That way
it's guaranteed that nobody will touch the fields directly accross the
source files.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160307/42493b3f/attachment-0001.sig>


More information about the libvir-list mailing list