A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
two new functions to xbt_graph, load and save
[simgrid.git]
/
include
/
xbt
/
graph.h
diff --git
a/include/xbt/graph.h
b/include/xbt/graph.h
index
a35336e
..
64e0648
100644
(file)
--- a/
include/xbt/graph.h
+++ b/
include/xbt/graph.h
@@
-77,6
+77,11
@@
XBT_PUBLIC(void) xbt_graph_export_graphxml(xbt_graph_t g,
*(edge_name) (xbt_edge_t), const char
*(node_data_print) (void *), const char
*(edge_data_print) (void *));
*(edge_name) (xbt_edge_t), const char
*(node_data_print) (void *), const char
*(edge_data_print) (void *));
+XBT_PUBLIC(xbt_graph_t) xbt_graph_load (const char *filename);
+XBT_PUBLIC(void) xbt_graph_save (xbt_graph_t span,
+ const char *filename,
+ const char *(nname) (xbt_node_t),
+ const char *(ename) (xbt_edge_t));
/* Not implemented yet ! */
/* void *xbt_graph_to_array(xbt_graph_t g); */
/* Not implemented yet ! */
/* void *xbt_graph_to_array(xbt_graph_t g); */