From c087569c48fbe2ad981e5f4ef0f838b7920f5e2b Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 16 Dec 2011 10:42:14 +0100 Subject: [PATCH] [xml] add missing nodes to LassoIsInteractionRequest --- lasso/xml/is_interaction_request.c | 6 ++++-- lasso/xml/is_interaction_request.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lasso/xml/is_interaction_request.c b/lasso/xml/is_interaction_request.c index 92037d9a..ab1774c7 100644 --- a/lasso/xml/is_interaction_request.c +++ b/lasso/xml/is_interaction_request.c @@ -62,14 +62,16 @@ static struct XmlSnippet schema_snippets[] = { LASSO_DISCO_PREFIX, LASSO_DISCO_HREF}, { "Inquiry", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry), NULL, NULL, NULL}, - /* TODO : KeyInfo */ + { "KeyInfo", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionRequest, KeyInfo), NULL, + LASSO_DS_PREFIX, LASSO_DS_HREF}, { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL, G_STRUCT_OFFSET(LassoIsInteractionRequest, id), NULL, NULL, NULL}, { "language", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL, G_STRUCT_OFFSET(LassoIsInteractionRequest, language), NULL, NULL, NULL}, { "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL, G_STRUCT_OFFSET(LassoIsInteractionRequest, maxInteractTime), NULL, NULL, NULL}, - /* TODO : signed */ + { "signed", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL, + G_STRUCT_OFFSET(LassoIsInteractionRequest, signed_attribute), NULL, NULL, NULL}, {NULL, 0, 0, NULL, NULL, NULL} }; diff --git a/lasso/xml/is_interaction_request.h b/lasso/xml/is_interaction_request.h index 0cd06a23..6f58c8a8 100644 --- a/lasso/xml/is_interaction_request.h +++ b/lasso/xml/is_interaction_request.h @@ -60,11 +60,12 @@ struct _LassoIsInteractionRequest { LassoDiscoEncryptedResourceID *EncryptedResourceID; GList *Inquiry; /* of LassoNode */ /* TODO : ds:KeyInfo */ + LassoDsKeyInfo *KeyInfo; char *id; char *language; int maxInteractTime; - /* TODO : signed */ + char *signed_attribute; }; struct _LassoIsInteractionRequestClass {