PGROUTING  3.2
topologicalSort_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3 File: topologicalSort_driver.h
4 
5 Generated with Template by:
6 Copyright (c) 2015 pgRouting developers
8 
9 Function's developer:
10 Copyright (c) 2019 Hang Wu
12 
13 ------
14 
15 This program is free software; you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation; either version 2 of the License, or
18 (at your option) any later version.
19 
20 This program is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU General Public License for more details.
24 
25 You should have received a copy of the GNU General Public License
26 along with this program; if not, write to the Free Software
27 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 
29 ********************************************************************PGR-GNU*/
30 
31 #ifndef INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
32 #define INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
33 
34 /* for size-t */
35 #ifdef __cplusplus
36 # include <cstddef>
37 #else
38 # include <stddef.h>
39 #endif
40 
41 #include "c_types/pgr_edge_t.h"
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
48  // CREATE OR REPLACE FUNCTION pgr_topologicalSort(
49  // sql text,
51  pgr_edge_t *data_edges,
52  size_t total_tuples,
53 
54  pgr_topologicalSort_t **return_tuples,
55  size_t *return_count,
56 
57  char** log_msg,
58  char** notice_msg,
59  char** err_msg);
60 
61 #ifdef __cplusplus
62  }
63 #endif
64 
65 #endif // INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
pgr_edge_t
Definition: pgr_edge_t.h:37
do_pgr_topologicalSort
void do_pgr_topologicalSort(pgr_edge_t *data_edges, size_t total_tuples, pgr_topologicalSort_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: topologicalSort_driver.cpp:57
pgr_topologicalSort_t.h
pgr_topologicalSort_t
Definition: pgr_topologicalSort_t.h:37
pgr_edge_t.h