summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2015-05-28 17:39:20 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-09-01 14:32:42 (GMT)
commitb10c48058ed5942b135712f46888e0697fb593ff (patch)
tree30ed518c5adad68054c598f33c6092fe3540d887
parent262d1dae918a3e48d068c4636517cc876f03c0af (diff)
downloadlasso-b10c48058ed5942b135712f46888e0697fb593ff.zip
lasso-b10c48058ed5942b135712f46888e0697fb593ff.tar.gz
lasso-b10c48058ed5942b135712f46888e0697fb593ff.tar.bz2
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
-rw-r--r--lasso/id-ff/profile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lasso/id-ff/profile.h b/lasso/id-ff/profile.h
index a0cc31b..a158225 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 */