summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/profile.h
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-12 15:39:45 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-12 15:39:45 +0000
commit0988cc2ec8650ee7bd30b4869a9b0afec704c89f (patch)
treeccd99065bc2561f2504ec100ee26ed6c6eb1cbc4 /lasso/id-ff/profile.h
parent601617843b3bf1e203db821879ffdf63d83d6d04 (diff)
downloadlasso-0988cc2ec8650ee7bd30b4869a9b0afec704c89f.tar.gz
lasso-0988cc2ec8650ee7bd30b4869a9b0afec704c89f.tar.xz
lasso-0988cc2ec8650ee7bd30b4869a9b0afec704c89f.zip
Core: in profile.c, profile.h, profileprivate.h, add a new attribute to express signature needs
Diffstat (limited to 'lasso/id-ff/profile.h')
-rw-r--r--lasso/id-ff/profile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lasso/id-ff/profile.h b/lasso/id-ff/profile.h
index 26f30dff..4dfbff80 100644
--- a/lasso/id-ff/profile.h
+++ b/lasso/id-ff/profile.h
@@ -87,6 +87,11 @@ typedef enum {
LASSO_REQUEST_TYPE_IDWSF2_DISCO_QUERY = 15
} LassoRequestType;
+typedef enum {
+ LASSO_PROFILE_SIGNATURE_HINT_MAYBE = 0,
+ LASSO_PROFILE_SIGNATURE_HINT_FORCE = 1,
+ LASSO_PROFILE_SIGNATURE_HINT_FORBID = 2
+} LassoProfileSignatureHint;
struct _LassoProfile {
LassoNode parent;
@@ -142,6 +147,9 @@ LASSO_EXPORT char* lasso_profile_get_artifact(LassoProfile *profile);
LASSO_EXPORT char* lasso_profile_get_artifact_message(LassoProfile *profile);
LASSO_EXPORT void lasso_profile_set_artifact_message(LassoProfile *profile, char *message);
LASSO_EXPORT LassoServer* lasso_profile_get_server(LassoProfile *profile);
+LASSO_EXPORT void lasso_profile_set_signature_hint(LassoProfile *profile,
+ LassoProfileSignatureHint signature_hint);
+LASSO_EXPORT LassoProfileSignatureHint lasso_profile_get_signature_hint(LassoProfile *profile);
#ifdef __cplusplus
}