Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/src/functions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations) (download) (as text)
Sat Jan 10 11:53:49 2009 UTC (16 years, 2 months ago) by amb
File MIME type: text/x-chdr
File size: 1149 byte(s)
About to add the super-segment functionality using Segments data type to hold
them.

1 /***************************************
2 $Header: /home/amb/CVS/routino/src/functions.h,v 1.7 2009-01-10 11:53:48 amb Exp $
3
4 Header file for function prototypes
5 ******************/ /******************
6 Written by Andrew M. Bishop
7
8 This file Copyright 2008,2009 Andrew M. Bishop
9 It may be distributed under the GNU Public License, version 2, or
10 any higher version. See section COPYING of the GNU Public license
11 for conditions under which this file may be redistributed.
12 ***************************************/
13
14
15 #ifndef FUNCTIONS_H
16 #define FUNCTIONS_H /*+ To stop multiple inclusions. +*/
17
18 #include <stdio.h>
19
20 #include "nodes.h"
21 #include "ways.h"
22 #include "segments.h"
23
24
25 /* In osmparser.c */
26
27 int ParseXML(FILE *file,NodesMem *OSMNodes,SegmentsMem *OSMSegments,WaysMem *OSMWays);
28
29
30 /* In files.c */
31
32 void *MapFile(const char *filename);
33
34 void UnMapFile(void *address);
35
36 int WriteFile(const char *filename,void *address,size_t length);
37
38
39 /* In optimiser.c */
40
41 void FindRoute(Nodes *nodes,Segments *segments,node_t start,node_t finish);
42 void PrintRoute(Segments *segments,Ways *ways,node_t start,node_t finish);
43
44
45 #endif /* FUNCTIONS_H */

Properties

Name Value
cvs:description Function prototypes.