Is the header file gpgme.h complete?

Werner Koch wk at
Sat Mar 11 12:38:38 CET 2017


On Fri, 10 Mar 2017 23:34, marcel.wagner at said:

> lib and find this struct in a context.h header file, but this is not
> included in gpgme.h? My question is now, is the gpgme.h file complete?

Yes it is complete.  Anonymous structures are the standard way in C to
hide implementation details.  Obviously you can only have a pointer to
such an object and that is why the corresponding typedef defines a
pointer to the structure.  For a typedef it is sufficient to have just
the name of the structure (i.e. an anonymous structure).



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170311/06aa64dc/attachment.sig>

More information about the Gnupg-users mailing list