40 for (temp = list->
first; temp; temp = next) {
58 if (one == list->
last) {
84 for (temp = list->
first; temp; temp = temp->
next) {
85 if (n == temp->
curr) {
94 item = init_nodelistitem(n);
108 for (temp = list->
first; temp; temp = temp->
next) {
109 if (n == temp->
curr) {
116 if (temp == list->
last) {
157 if (np == list->
first)
180 for (temp = list->
first; temp; temp = temp->
next) {
182 prev = newlist->
last;
200 for (temp = list->
first; temp; temp = temp->
next) {
201 if (temp->
curr == cn) {
220 for (temp = list->
first; temp; temp = temp->
next) {
221 if (temp->
curr == neighbor) {
223 if (temp == list->
first) {
224 list->
first = actual;
236 if (temp == list->
last) {
279 for (temp = list->
first; temp; temp = temp->
next) {
280 if (temp->
curr == n) {
291 int nodename_exists(
nodelist_t * list,
char *n)
297 for (temp = list->
first; temp; temp = temp->
next) {
298 if (temp->
curr->name == n) {
318 for (temp = list->
first; temp; temp = temp->
next) {
352 concatNodelist(l1, l2);
362 while (temp !=
NULL) {
void insertNodelist(nodelist_t *list, Agnode_t *cn, Agnode_t *neighbor, int pos)
void realignNodelist(nodelist_t *list, nodelistitem_t *np)
nodelist_t * cloneNodelist(nodelist_t *list)
nodelist_t * mkNodelist()
void reverseAppend(nodelist_t *l1, nodelist_t *l2)
int sizeNodelist(nodelist_t *list)
CGRAPH_API char * agnameof(void *)
int node_position(nodelist_t *list, Agnode_t *n)
void freeNodelist(nodelist_t *list)
void appendNodelist(nodelist_t *list, nodelistitem_t *one, Agnode_t *n)
nodelist_t * reverseNodelist(nodelist_t *list)