From b10c48058ed5942b135712f46888e0697fb593ff Mon Sep 17 00:00:00 2001 From: John Dennis Date: Thu, 28 May 2015 13:39:20 -0400 Subject: [PATCH] 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 License: MIT --- lasso/id-ff/profile.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lasso/id-ff/profile.h b/lasso/id-ff/profile.h index a0cc31b0..a158225c 100644 --- a/lasso/id-ff/profile.h +++ b/lasso/id-ff/profile.h @@ -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 */