lib/circogen/nodelist.c File Reference

#include "nodelist.h"
#include "circular.h"
#include <assert.h>

Include dependency graph for nodelist.c:

Go to the source code of this file.

Functions

nodelist_tmkNodelist ()
void freeNodelist (nodelist_t *list)
void appendNodelist (nodelist_t *list, nodelistitem_t *one, Agnode_t *n)
nodelist_treverseNodelist (nodelist_t *list)
void realignNodelist (nodelist_t *list, nodelistitem_t *np)
nodelist_tcloneNodelist (nodelist_t *list)
void insertNodelist (nodelist_t *list, Agnode_t *cn, Agnode_t *neighbor, int pos)
int sizeNodelist (nodelist_t *list)
int node_position (nodelist_t *list, Agnode_t *n)
void reverseAppend (nodelist_t *l1, nodelist_t *l2)


Function Documentation

void appendNodelist ( nodelist_t list,
nodelistitem_t one,
Agnode_t n 
)

nodelist_t* cloneNodelist ( nodelist_t list  ) 

void freeNodelist ( nodelist_t list  ) 

Definition at line 35 of file nodelist.c.

References nodelist_t::first, free(), and nodelistitem::next.

Referenced by freeBlock().

void insertNodelist ( nodelist_t list,
Agnode_t cn,
Agnode_t neighbor,
int  pos 
)

nodelist_t* mkNodelist ( void   ) 

Definition at line 29 of file nodelist.c.

References NEW.

Referenced by cloneNodelist().

int node_position ( nodelist_t list,
Agnode_t n 
)

void realignNodelist ( nodelist_t list,
nodelistitem_t np 
)

Definition at line 155 of file nodelist.c.

References nodelist_t::first, nodelist_t::last, nodelistitem::next, NULL, and nodelistitem::prev.

Referenced by layout_block().

void reverseAppend ( nodelist_t l1,
nodelist_t l2 
)

Definition at line 352 of file nodelist.c.

References free(), and reverseNodelist().

nodelist_t* reverseNodelist ( nodelist_t list  ) 

Definition at line 134 of file nodelist.c.

References nodelist_t::first, nodelist_t::last, nodelistitem::next, and nodelistitem::prev.

Referenced by reverseAppend().

int sizeNodelist ( nodelist_t list  ) 

Definition at line 258 of file nodelist.c.

References nodelist_t::first, nodelistitem::next, NULL, and nodelist_t::sz.

Referenced by layout_block().


Generated on Thu Aug 7 14:15:26 2008 for Graphviz by  doxygen 1.5.6