PGROUTING  3.2
vehicles_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: vehicles_input.h
3 
4 Copyright (c) 2016 Celia Virginia Vergara Castillo
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
24 
25 #ifndef INCLUDE_C_COMMON_VEHICLES_INPUT_H_
26 #define INCLUDE_C_COMMON_VEHICLES_INPUT_H_
27 #pragma once
28 
29 #include <stddef.h>
31 
38 void
40  char *vehicles_sql,
41  Vehicle_t **vehicles,
42  size_t *total_vehicles);
43 
50 void
52  char *vehicles_sql,
53  Vehicle_t **vehicles,
54  size_t *total_vehicles);
55 
56 #endif // INCLUDE_C_COMMON_VEHICLES_INPUT_H_
vehicle_t.h
pgr_get_vehicles_with_id
void pgr_get_vehicles_with_id(char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles)
Reads the vehicles orders.
Definition: vehicles_input.c:267
Vehicle_t
Definition: vehicle_t.h:40
pgr_get_vehicles
void pgr_get_vehicles(char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles)
Reads the vehicles orders.
Definition: vehicles_input.c:259