PGROUTING  3.2
vehicles_input.h File Reference
#include <stddef.h>
#include "c_types/pickDeliver/vehicle_t.h"
Include dependency graph for vehicles_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pgr_get_vehicles (char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles)
 Reads the vehicles orders. More...
 
void pgr_get_vehicles_with_id (char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles)
 Reads the vehicles orders. More...
 

Function Documentation

◆ pgr_get_vehicles()

void pgr_get_vehicles ( char *  vehicles_sql,
Vehicle_t **  vehicles,
size_t *  total_vehicles 
)

Reads the vehicles orders.

Parameters
[in]vehicles_sql
[out]vehicles
[out]total_vehicles

Definition at line 259 of file vehicles_input.c.

262  {
263  pgr_get_vehicles_general(vehicles_sql, vehicles, total_vehicles, false);
264 }

References pgr_get_vehicles_general().

Referenced by process().

◆ 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.

Parameters
[in]vehicles_sql
[out]vehicles
[out]total_vehicles

Definition at line 267 of file vehicles_input.c.

270  {
271  pgr_get_vehicles_general(vehicles_sql, vehicles, total_vehicles, true);
272 }

References pgr_get_vehicles_general().

Referenced by process().

pgr_get_vehicles_general
static void pgr_get_vehicles_general(char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles, bool with_id)
Definition: vehicles_input.c:135