Routino SVN Repository Browser

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

ViewVC logotype

Annotation of /trunk/src/functions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (hide annotations) (download) (as text)
Thu Sep 3 18:35:59 2009 UTC (15 years, 6 months ago) by amb
File MIME type: text/x-chdr
File size: 2229 byte(s)
Remove extra argument from MapFile function.

1 amb 2 /***************************************
2 amb 250 $Header: /home/amb/CVS/routino/src/functions.h,v 1.38 2009-09-03 18:35:47 amb Exp $
3 amb 2
4     Header file for function prototypes
5 amb 151
6     Part of the Routino routing software.
7 amb 2 ******************/ /******************
8 amb 151 This file Copyright 2008,2009 Andrew M. Bishop
9 amb 2
10 amb 151 This program is free software: you can redistribute it and/or modify
11     it under the terms of the GNU Affero General Public License as published by
12     the Free Software Foundation, either version 3 of the License, or
13     (at your option) any later version.
14    
15     This program is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18     GNU Affero General Public License for more details.
19    
20     You should have received a copy of the GNU Affero General Public License
21     along with this program. If not, see <http://www.gnu.org/licenses/>.
22 amb 2 ***************************************/
23    
24    
25     #ifndef FUNCTIONS_H
26     #define FUNCTIONS_H /*+ To stop multiple inclusions. +*/
27    
28     #include <stdio.h>
29    
30 amb 97 #include "types.h"
31 amb 82 #include "profiles.h"
32 amb 31 #include "results.h"
33 amb 2
34 amb 26
35 amb 2 /* In files.c */
36    
37 amb 162 char *FileName(const char *dirname,const char *prefix, const char *name);
38    
39 amb 250 void *MapFile(const char *filename);
40 amb 248 void UnmapFile(const char *filename,int delete);
41 amb 2
42 amb 87 int OpenFile(const char *filename);
43 amb 97 int WriteFile(int fd,void *address,size_t length);
44     void CloseFile(int fd);
45 amb 2
46 amb 87
47 amb 2 /* In optimiser.c */
48    
49 amb 238 Results *FindNormalRoute(Nodes *nodes,Segments *segments,Ways *ways,index_t start,index_t finish,Profile *profile);
50     Results *FindMiddleRoute(Nodes *supernodes,Segments *supersegments,Ways *superways,Results *begin,Results *end,Profile *profile);
51 amb 2
52 amb 126 Results *FindStartRoutes(Nodes *nodes,Segments *segments,Ways *ways,index_t start,Profile *profile);
53     Results *FindFinishRoutes(Nodes *nodes,Segments *segments,Ways *ways,index_t finish,Profile *profile);
54 amb 31
55 amb 165 Results *CombineRoutes(Results *results,Nodes *nodes,Segments *segments,Ways *ways,Profile *profile);
56 amb 31
57    
58 amb 161 /* In output.c */
59    
60 amb 164 void PrintRouteHead(const char *copyright);
61 amb 165 void PrintRoute(Results *results,Nodes *nodes,Segments *segments,Ways *ways,Profile *profile);
62 amb 164 void PrintRouteTail(void);
63 amb 161
64    
65 amb 2 #endif /* FUNCTIONS_H */

Properties

Name Value
cvs:description Function prototypes.