Commit Graph

4 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño) 89c1e430c1 transaction: Add support for using raw binary pointers conversation handler
This requires the allocating function to provide a binary pointer that
will be free'd by the conversation handlers finalizers.

This is for a more advanced usage scenario where the binary conversion
may be handled manually.
2023-12-14 22:07:50 +01:00
Marco Trevisan (Treviño) 0143d11445 transaction: Add BinaryConversationFunc adapter 2023-12-14 22:07:50 +01:00
Marco Trevisan (Treviño) e0e1d2de2c transaction: Move PAM app side function only to app-transaction
In this way all these features not even compiled when creating modules,
avoiding generating unused code.
2023-12-14 22:07:50 +01:00
Marco Trevisan (Treviño) 05f676c233 transaction, moduler: Do not export PAM conv handler function to modules
This function is only needed when using go PAM for creating applications
so it's not something we expect to have exported to library modules.

To prevent this use an `asPamModule` tag to prevent compilation of
application-only features.
2023-12-14 22:07:50 +01:00