yelp-document: Fix return type of document_indexed
[yelp.git] / libyelp / yelp-info-parser.h
blob7cec40e2eec694b1d6cf06f35939b1c1f57398bb
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 2004, Davyd Madeley
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Davyd Madeley <davyd@madeley.id.au>
21 #ifndef __YELP_INFO_PARSER_H__
22 #define __YELP_INFO_PARSER_H__
24 #include <glib.h>
25 #include <gtk/gtk.h>
26 #include <libxml/tree.h>
28 enum {
29 INFO_PARSER_COLUMN_PAGE_NO,
30 INFO_PARSER_COLUMN_PAGE_NAME,
31 INFO_PARSER_COLUMN_PAGE_CONTENT,
32 INFO_PARSER_N_COLUMNS
36 G_GNUC_INTERNAL
37 GtkTreeStore *yelp_info_parser_parse_file (char *file);
38 G_GNUC_INTERNAL
39 xmlDocPtr yelp_info_parser_parse_tree (GtkTreeStore *tree);
41 #endif /* __YELP_INFO_PARSER_H__ */