Add messageID and idp_list to profile properties
ECP needs a place to store the messageID and idp_list. Normally values like this would located in a "context" passed to the relevant routines. But currently there is no such context, the closest thing to a context we have is the profile so we add them here in the profile private data using accessors. They are currently not relevant outside of ECP. Adds functions: lasso_profile_get_message_id() lasso_profile_set_message_id() lasso_profile_get_idp_list() lasso_profile_set_idp_list() Signed-off-by: John Dennis <jdennis@redhat.com> License: MIT
This commit is contained in:
parent
262d1dae91
commit
b10c48058e
|
@ -221,6 +221,13 @@ LASSO_EXPORT LassoNode* lasso_profile_get_idp_list(LassoProfile *profile);
|
|||
LASSO_EXPORT void lasso_profile_set_idp_list(LassoProfile *profile, const LassoNode *idp_list);
|
||||
|
||||
|
||||
LASSO_EXPORT char* lasso_profile_get_message_id(LassoProfile *profile);
|
||||
LASSO_EXPORT void lasso_profile_set_message_id(LassoProfile *profile, const char *message_id);
|
||||
|
||||
LASSO_EXPORT LassoNode* lasso_profile_get_idp_list(LassoProfile *profile);
|
||||
LASSO_EXPORT void lasso_profile_set_idp_list(LassoProfile *profile, const LassoNode *idp_list);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
|
Loading…
Reference in New Issue