source: trunk/src/core/scew/xhandler.h @ 1559

Last change on this file since 1559 was 1018, checked in by gah, 16 years ago

Massive changes: New directory/file layout

File size: 1.6 KB
Line 
1/**
2 *
3 * @file     xhandler.h
4 * @author   Aleix Conchillo Flaque <aleix@member.fsf.org>
5 * @date     Mon Nov 25, 2002 00:23
6 * @brief    SCEW Expat handlers
7 *
8 * $Id: xhandler.h,v 1.1 2004/01/28 00:43:21 aleix Exp $
9 *
10 * @if copyright
11 *
12 * Copyright (C) 2002, 2003 Aleix Conchillo Flaque
13 *
14 * SCEW is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * SCEW is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
27 *
28 * @endif
29 */
30
31
32#ifndef XHANDLER_H_ALEIX0211250023
33#define XHANDLER_H_ALEIX0211250023
34
35#include <expat.h>
36
37/* Expat callback for XML declaration. */
38void
39xmldecl_handler(void* data, XML_Char const* version, XML_Char const* encoding,
40                int standalone);
41
42/* Expat callback for starting elements. */
43void
44start_handler(void* data, XML_Char const* elem, XML_Char const** attr);
45
46/* Expat callback for ending elements. */
47void
48end_handler(void* data, XML_Char const* elem);
49
50/* Expat callback for element contents. */
51void
52char_handler(void* data, XML_Char const* s, int len);
53
54#endif /* XHANDLER_H_ALEIX0211250023 */
Note: See TracBrowser for help on using the repository browser.