diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-16 10:42:14 +0100 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-16 11:39:24 +0100 |
| commit | c087569c48fbe2ad981e5f4ef0f838b7920f5e2b (patch) | |
| tree | a7772b1810afd834df6e0396b81b1638bfc20862 | |
| parent | 591a47002d9d759256b4b29e56a1e1303a421167 (diff) | |
| download | lasso-c087569c48fbe2ad981e5f4ef0f838b7920f5e2b.tar.gz lasso-c087569c48fbe2ad981e5f4ef0f838b7920f5e2b.tar.xz lasso-c087569c48fbe2ad981e5f4ef0f838b7920f5e2b.zip | |
[xml] add missing nodes to LassoIsInteractionRequest
| -rw-r--r-- | lasso/xml/is_interaction_request.c | 6 | ||||
| -rw-r--r-- | 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 { |
