[libvirt] [PATCH v2 08/10] nss: Use macro to generate public API names

Martin Kletzander mkletzan at redhat.com
Mon Dec 5 15:55:18 UTC 2016


On Mon, Dec 05, 2016 at 11:31:54AM +0100, Michal Privoznik wrote:
>The name of the exported functions for an NSS module is quite
>fixed, it is derived from the module name:
>
>  _nss_$module_$function
>
>Since we will create another NSS module with very similar
>implementation we might as well generate the function names at
>the compile time.
>

I'd be nice to say that the NSS_NAME macro comes from nss.h (I
presume).  It's starting to look like libvirt-php now =D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161205/c247fe73/attachment-0001.sig>


More information about the libvir-list mailing list