[xml] add missing nodes to LassoIsInteractionRequest

This commit is contained in:
Benjamin Dauvergne 2011-12-16 10:42:14 +01:00
parent 591a47002d
commit c087569c48
2 changed files with 6 additions and 3 deletions

View File

@ -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}
};

View File

@ -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 {