~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to lasso/xml/is_interaction_request.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: is_interaction_request.c,v 1.4 2005/01/23 16:36:44 eraviart Exp $ 
 
1
/* $Id: is_interaction_request.c,v 1.5 2006/10/28 11:13:20 fpeters Exp $ 
2
2
 *
3
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
4
4
 *
46
46
/*****************************************************************************/
47
47
 
48
48
static struct XmlSnippet schema_snippets[] = {
49
 
        { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionRequest, ResourceID) },
50
 
        { "EncryptedResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionRequest,
51
 
                                                               EncryptedResourceID) },
52
 
        { "Inquiry", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry) },
 
49
        { "ResourceID", SNIPPET_NODE,
 
50
                G_STRUCT_OFFSET(LassoIsInteractionRequest, ResourceID) },
 
51
        { "EncryptedResourceID", SNIPPET_NODE,
 
52
                G_STRUCT_OFFSET(LassoIsInteractionRequest, EncryptedResourceID) },
 
53
        { "Inquiry", SNIPPET_LIST_NODES,
 
54
                G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry) },
53
55
        /* TODO : KeyInfo */
54
 
        { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInteractionRequest, id) },
55
 
        { "language", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInteractionRequest, language) },
56
 
        { "maxInteractTime", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInteractionRequest,
57
 
                                                                maxInteractTime) },
 
56
        { "id", SNIPPET_ATTRIBUTE,
 
57
                G_STRUCT_OFFSET(LassoIsInteractionRequest, id) },
 
58
        { "language", SNIPPET_ATTRIBUTE,
 
59
                G_STRUCT_OFFSET(LassoIsInteractionRequest, language) },
 
60
        { "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
 
61
                G_STRUCT_OFFSET(LassoIsInteractionRequest, maxInteractTime) },
58
62
        /* TODO : signed */
59
63
        { NULL, 0, 0}
60
64
};
72
76
        /* TODO : KeyInfo */
73
77
        node->id = NULL;
74
78
        node->language = NULL;
75
 
        node->maxInteractTime = 0; /* FIXME : optional integer attribute */
 
79
        node->maxInteractTime = 0;
76
80
        /* TODO : signed */
77
81
}
78
82