Updated Esperanto translation
[gtkhtml.git] / gtkhtml / htmlstack.h
blobb2863a31eae8607ec4b12e13644b17ff595da7e1
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* This file is part of the KDE libraries
3 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
4 * (C) 1997 Torben Weis (weis@kde.org)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
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 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef _HTMLSTACK_H_
23 #define _HTMLSTACK_H_
25 struct _HTMLStack {
26 HTMLStackFreeFunc free_func;
28 GList *list;
32 HTMLStack *html_stack_new (HTMLStackFreeFunc free_func);
33 void html_stack_clear (HTMLStack *stack);
34 void html_stack_destroy (HTMLStack *stack);
35 gpointer html_stack_pop (HTMLStack *stack);
36 gpointer html_stack_top (HTMLStack *stack);
37 void html_stack_push (HTMLStack *stack, gpointer data);
38 gboolean html_stack_is_empty (HTMLStack *stack);
39 guint html_stack_count (HTMLStack *stack);
41 #endif /* _HTMLSTACK_H_ */