1 /***************************************
2  Header file for miscellaneous function prototypes
3 
4  Part of the Routino routing software.
5  ******************/ /******************
6  This file Copyright 2008-2016 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 FUNCTIONS_H
24 #define FUNCTIONS_H    /*+ To stop multiple inclusions. +*/
25 
26 #include "types.h"
27 
28 #include "profiles.h"
29 #include "translations.h"
30 #include "results.h"
31 
32 #include "routino.h"
33 
34 
35 /* Functions in optimiser.c */
36 
37 Results *CalculateRoute(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,
38                         index_t start_node,index_t prev_segment,index_t finish_node,
39                         int start_waypoint,int finish_waypoint);
40 
41 
42 /* Functions in output.c */
43 
44 Routino_Output *PrintRoute(Results **results,int nresults,Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,Translation *translation);
45 
46 
47 #endif /* FUNCTIONS_H */
48