source: trunk/third/gtkhtml/src/htmlstringtokenizer.h @ 16767

Revision 16767, 1.7 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16766, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/* This file is part of the GtkHTML library.
3
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.
7   
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.
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   Library General Public License for more details.
17   
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., 59 Temple Place - Suite 330,
21   Boston, MA 02111-1307, USA.
22*/
23#ifndef _HTMLSTRINGTOKENIZER_H_
24#define _HTMLSTRINGTOKENIZER_H_
25
26
27#include <glib.h>
28
29
30struct _HTMLStringTokenizer {
31        gchar *buffer;
32        gint buffer_length;
33
34        gchar *pos;
35        gchar *end;
36};
37
38
39HTMLStringTokenizer *html_string_tokenizer_new              (void);
40void                 html_string_tokenizer_destroy          (HTMLStringTokenizer *st);
41void                 html_string_tokenizer_tokenize         (HTMLStringTokenizer *t,
42                                                             const gchar         *str,
43                                                             gchar               *separators);
44gboolean             html_string_tokenizer_has_more_tokens  (HTMLStringTokenizer *t);
45gchar               *html_string_tokenizer_next_token       (HTMLStringTokenizer *t);
46
47#endif /* _HTMLSTRINGTOKENIZER_H_ */
Note: See TracBrowser for help on using the repository browser.