vrpRouting  0.3
vroom/vehicles_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: vehicles_input.h
3 
4 Copyright (c) 2021 pgRouting developers
6 
7 Function's developer:
8 Copyright (c) 2021 Ashish Kumar
10 
11 ------
12 
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 
27  ********************************************************************PGR-GNU*/
28 
29 #ifndef INCLUDE_C_COMMON_VROOM_VEHICLES_INPUT_H_
30 #define INCLUDE_C_COMMON_VROOM_VEHICLES_INPUT_H_
31 #pragma once
32 
33 #include <stddef.h>
34 
36 #include "c_types/column_info_t.h"
38 
39 #ifdef PROFILE
40 #include "c_common/debug_macro.h"
41 #include "c_common/time_msg.h"
42 #endif
43 
45 void
47  char *vehicles_sql,
48  Vroom_vehicle_t **vehicles,
49  size_t *total_vehicles,
50  bool is_plain);
51 
52 #endif // INCLUDE_C_COMMON_VROOM_VEHICLES_INPUT_H_
time_msg.h
vroom_vehicle_t.h
get_vroom_vehicles
void get_vroom_vehicles(char *vehicles_sql, Vroom_vehicle_t **vehicles, size_t *total_vehicles, bool is_plain)
Reads the VROOM vehicles.
Definition: vroom/vehicles_input.c:237
debug_macro.h
column_info_t.h
Vroom_vehicle_t
Vehicles's attributes.
Definition: vroom_vehicle_t.h:54
get_check_data.h