Debian Codegraph @

libgdome/gdomecore/gdome-xml-xpns.h

raw
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
2 /* gdome-xml-xpns.h
3 *
4 * CopyRight (C) 2002 T.J. Mather <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef GDOME_XPNS_FILE
22 #define GDOME_XPNS_FILE
23
24 struct _GdomeXPathNamespaceVtab {
25 GdomeNodeVtab super;
26 GdomeElement *(*ownerElement) (GdomeXPathNamespace *self, GdomeException *exc);
27 };
28
29 typedef struct _Gdome_xml_XPathNamespace Gdome_xml_XPathNamespace;
30
31 struct _Gdome_xml_XPathNamespace {
32 GdomeXPathNamespace super;
33 const GdomeXPathNamespaceVtab *vtab;
34 int refcnt;
35 xmlNode *n;
36 GdomeAccessType accessType;
37 };
38 GdomeXPathNamespace * gdome_xml_xpns_mkref (xmlNs *n);
39 GdomeElement * gdome_xml_xpns_ownerElement (GdomeXPathNamespace *self, GdomeException *exc);
40
41 extern const GdomeXPathNamespaceVtab gdome_xml_xpns_vtab;
42
43 #endif /* GDOME_XPNS_FILE */