source: trunk/src/core/scew/types.h @ 5673

Last change on this file since 5673 was 5673, checked in by ldelgass, 9 years ago

Fix line endings, set eol-style to native on all C/C++ sources.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1/**
2 *
3 * @file     types.h
4 * @author   Aleix Conchillo Flaque <aleix@member.fsf.org>
5 * @date     Sat Mar 29, 2003 19:50
6 * @brief    SCEW main types definition
7 *
8 * $Id: types.h,v 1.2 2004/05/25 20:23:05 aleix Exp $
9 *
10 * @if copyright
11 *
12 * Copyright (C) 2003, 2004 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 TYPES_H_ALEIX0303291951
33#define TYPES_H_ALEIX0303291951
34
35#ifdef __cplusplus
36extern "C" {
37#endif /* __cplusplus */
38
39/**
40 * This is the type declaration of the SCEW parser.
41 */
42typedef struct _scew_parser scew_parser;
43
44/**
45 * This is the type delcaration for XML trees.
46 */
47typedef struct _scew_tree scew_tree;
48
49/**
50 * This is the type delcaration for elements.
51 */
52typedef struct _scew_element scew_element;
53
54/**
55 * This is the type declaration for element attributes.
56 */
57typedef struct _scew_attribute scew_attribute;
58
59/**
60 * Callback function type.
61 *
62 * @return 1 if callback call had no errors, 0 otherwise.
63 */
64typedef unsigned int SCEW_CALLBACK(scew_parser* parser);
65
66#ifdef __cplusplus
67}
68#endif /* __cplusplus */
69
70#endif /* TYPES_H_ALEIX0303291951 */
Note: See TracBrowser for help on using the repository browser.