return list->sz;
}
-/* node_position:
- * Returns index of node n in list, starting at 0.
- * Returns -1 if not in list.
- */
-int node_position(nodelist_t * list, Agnode_t * n)
-{
- return POSITION(n);
-}
-
/* concatNodelist:
* attach l2 to l1.
*/
/* extern void removeNodelist(nodelist_t* list, Agnode_t* n); */
/* extern int node_exists(nodelist_t* list, Agnode_t* n); */
/* extern int nodename_exists(nodelist_t* list, char* n); */
- extern int node_position(nodelist_t * list, Agnode_t * n);
extern void realignNodelist(nodelist_t * list, nodelistitem_t * n);
extern void insertNodelist(nodelist_t *, Agnode_t *, Agnode_t *, int);