polish tarjan
[ccc.git] / tarjan.h
index b2a8fbb..3bcf0b8 100644 (file)
--- a/tarjan.h
+++ b/tarjan.h
@@ -25,7 +25,8 @@ struct components {
  * @param number of edges
  * @param data of edges
  */
-struct components *scc(int nn, void **nodes, int ne, struct edge **edges);
+struct components *tarjans(int nnodes, void *nodedata[], int nedges,
+       struct edge *edgedata[], int *error);
 
 /**
  * Free a list of components