p11_kit_fini / p11_kit_init - Should these be public symbols?

Stef Walter stef at thewalter.net
Sat Mar 9 01:36:54 PST 2013


On 09.03.2013 10:13, Andreas Metzler wrote:
> 
> Hello,
> 
> 0.16 exports two new symbols in libp11-kit.so: p11_kit_fini /
> p11_kit_init. As there is no corresponding prototype in p11-kit.h I
> am wondering whether this is done intentionally.

Yup, these are a library constructor and finalizer when running on Linux
(with appropriate compiler attributes). They are not meant to be called
explicitly. Is there a better way to name them?

Cheers,

Stef



More information about the p11-glue mailing list