Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/src/osmparser.h
Parent Directory
|
Revision Log
Revision 1186 -
(show annotations)
(download)
(as text)
Mon Dec 10 18:36:08 2012 UTC (12 years, 3 months ago) by amb
File MIME type: text/x-chdr
File size: 1273 byte(s)
Mon Dec 10 18:36:08 2012 UTC (12 years, 3 months ago) by amb
File MIME type: text/x-chdr
File size: 1273 byte(s)
New XML parser doesn't use stdio buffered file access but lower level read functions.
1 | /*************************************** |
2 | Header file for OSM parser function prototype. |
3 | |
4 | Part of the Routino routing software. |
5 | ******************/ /****************** |
6 | This file Copyright 2008-2012 Andrew M. Bishop |
7 | |
8 | This program is free software: you can redistribute it and/or modify |
9 | it under the terms of the GNU Affero General Public License as published by |
10 | the Free Software Foundation, either version 3 of the License, or |
11 | (at your option) any later version. |
12 | |
13 | This program 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 |
16 | GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public License |
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | ***************************************/ |
21 | |
22 | |
23 | #ifndef OSMPARSER_H |
24 | #define OSMPARSER_H /*+ To stop multiple inclusions. +*/ |
25 | |
26 | #include "typesx.h" |
27 | |
28 | |
29 | /* Functions in osmparser.c */ |
30 | |
31 | int ParseOSM(int fd,NodesX *OSMNodes,SegmentsX *OSMSegments,WaysX *OSMWays,RelationsX *OSMRelations); |
32 | |
33 | int ParseOSC(int fd,NodesX *OSMNodes,SegmentsX *OSMSegments,WaysX *OSMWays,RelationsX *OSMRelations); |
34 | |
35 | |
36 | #endif /* OSMPARSER_H */ |
Properties
Name | Value |
---|---|
cvs:description | Functions for extended data types. |