Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
proton-0.5
-
None
-
None
Description
For consistency and convenience, I'd like to add an API that would allow an application-defined context be associated with the pn_sasl_t, pn_ssl_domain_t, and pn_ssl_t objects. This api would follow the convention used by other proton classes (eg, pn_connection_get_context(), pn_connection_set_context()). ex:
void *pn_sasl_get_context(pn_sasl_t);
void pn_sasl_set_context(pn_sasl_t *, void *context);