~ubuntu-branches/ubuntu/dapper/lasso/dapper

« back to all changes in this revision

Viewing changes to lasso/xml/disco_query_response.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Pefferkorn
  • Date: 2005-11-25 19:20:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051125192059-m4894lhpynmkrmwr
Tags: 0.6.3-4ubuntu1
Resynchronise with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: disco_query_response.c,v 1.7 2005/01/22 15:57:55 eraviart Exp $ 
 
1
/* $Id: disco_query_response.c,v 1.9 2005/08/12 09:08:44 fpeters Exp $ 
2
2
 *
3
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
4
4
 *
82
82
        xmlNs *ns;
83
83
 
84
84
        xmlnode = parent_class->get_xmlNode(node, lasso_dump);
85
 
        ns = xmlNewNs(NULL, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
 
85
        ns = xmlNewNs(NULL, (xmlChar*)LASSO_DISCO_HREF, (xmlChar*)LASSO_DISCO_PREFIX);
86
86
        insure_namespace(xmlnode, ns);
87
87
 
88
88
        return xmlnode;
111
111
        nclass->get_xmlNode = get_xmlNode;
112
112
        nclass->node_data = g_new0(LassoNodeClassData, 1);
113
113
        lasso_node_class_set_nodename(nclass, "QueryResponse");
 
114
        lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
114
115
        lasso_node_class_add_snippets(nclass, schema_snippets);
115
116
}
116
117