Debian Codegraph @

libgdome/gdomecore/gdome-xml-str.h

raw
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
2 /* gdome-xml-str.h
3 *
4 * Copyright (C) 1999 Raph Levien <[email protected]>
5 * Copyright (C) 2000 Mathieu Lacage <[email protected]>
6 * Copyright (C) 2001 Paolo Casarini <[email protected]>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23
24 #ifndef GDOME_STR_FILE
25 #define GDOME_STR_FILE
26
27 GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
28 GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
29 GdomeDOMString *gdome_xml_str_mkref_xml (xmlChar *str);
30 GdomeDOMString *gdome_xml_str_mkref_dup (const gchar *str);
31
32 void gdome_xml_str_ref (GdomeDOMString *self);
33 void gdome_xml_str_unref (GdomeDOMString *self);
34
35 GdomeBoolean gdome_xml_str_equal (GdomeDOMString *self,
36 GdomeDOMString *str);
37 GdomeBoolean gdome_xml_str_equalIgnoreCase (GdomeDOMString *self,
38 GdomeDOMString *str);
39 gchar gdome_xml_str_charAt (GdomeDOMString *self,
40 int index);
41 GdomeDOMString * gdome_xml_str_concat (GdomeDOMString *self,
42 GdomeDOMString *str);
43 GdomeBoolean gdome_xml_str_endsWith (GdomeDOMString *self,
44 GdomeDOMString *suffix);
45 GdomeBoolean gdome_xml_str_isEmpty (GdomeDOMString *self);
46 int gdome_xml_str_length (GdomeDOMString *self);
47 GdomeBoolean gdome_xml_str_startsWith (GdomeDOMString *self,
48 GdomeDOMString *prefix);
49
50 #endif /* GDOME_STR_FILE */