Updated Esperanto translation
[gtkhtml.git] / gtkhtml / htmlstringtokenizer.h
blobaca39fb707747ffcd5065b213075cd32ed84cee3
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* This file is part of the GtkHTML library.
4 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
5 * Copyright (C) 1997 Torben Weis (weis@kde.org)
6 * Copyright (C) 2000 Helix Code, Inc.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
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 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
23 #ifndef _HTMLSTRINGTOKENIZER_H_
24 #define _HTMLSTRINGTOKENIZER_H_
27 #include <glib.h>
30 struct _HTMLStringTokenizer {
31 gchar *buffer;
32 gint buffer_length;
34 gchar *pos;
35 gchar *end;
39 HTMLStringTokenizer *html_string_tokenizer_new (void);
40 void html_string_tokenizer_destroy (HTMLStringTokenizer *st);
41 void html_string_tokenizer_tokenize (HTMLStringTokenizer *t,
42 const gchar *str,
43 const gchar *separators);
44 gboolean html_string_tokenizer_has_more_tokens (HTMLStringTokenizer *t);
45 gchar *html_string_tokenizer_next_token (HTMLStringTokenizer *t);
47 #endif /* _HTMLSTRINGTOKENIZER_H_ */