#include <render.h>
Include dependency graph for nodelist.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | nodelistitem |
struct | nodelist_t |
Typedefs | |
typedef nodelistitem | nodelistitem_t |
Functions | |
nodelist_t * | mkNodelist (void) |
void | freeNodelist (nodelist_t *) |
int | sizeNodelist (nodelist_t *list) |
void | appendNodelist (nodelist_t *, nodelistitem_t *, Agnode_t *n) |
int | node_position (nodelist_t *list, Agnode_t *n) |
void | realignNodelist (nodelist_t *list, nodelistitem_t *n) |
void | insertNodelist (nodelist_t *, Agnode_t *, Agnode_t *, int) |
void | reverseAppend (nodelist_t *, nodelist_t *) |
nodelist_t * | reverseNodelist (nodelist_t *list) |
nodelist_t * | cloneNodelist (nodelist_t *list) |
typedef struct nodelistitem nodelistitem_t |
Definition at line 26 of file nodelist.h.
void appendNodelist | ( | nodelist_t * | , | |
nodelistitem_t * | , | |||
Agnode_t * | n | |||
) |
Definition at line 54 of file nodelist.c.
References nodelist_t::first, nodelist_t::last, nodelistitem::next, NULL, nodelistitem::prev, and nodelist_t::sz.
Referenced by cloneNodelist().
nodelist_t* cloneNodelist | ( | nodelist_t * | list | ) |
Definition at line 177 of file nodelist.c.
References appendNodelist(), nodelistitem::curr, nodelist_t::first, nodelist_t::last, mkNodelist(), and nodelistitem::next.
void freeNodelist | ( | nodelist_t * | ) |
Definition at line 35 of file nodelist.c.
References nodelist_t::first, free(), and nodelistitem::next.
Referenced by freeBlock().
void insertNodelist | ( | nodelist_t * | , | |
Agnode_t * | , | |||
Agnode_t * | , | |||
int | ||||
) |
Definition at line 195 of file nodelist.c.
References assert, nodelistitem::curr, nodelist_t::first, nodelist_t::last, nodelistitem::next, NULL, and nodelistitem::prev.
nodelist_t* mkNodelist | ( | void | ) |
int node_position | ( | nodelist_t * | list, | |
Agnode_t * | n | |||
) |
Definition at line 313 of file nodelist.c.
References nodelistitem::curr, nodelist_t::first, Agnode_t::name, nodelistitem::next, and POSITION.
void realignNodelist | ( | nodelist_t * | list, | |
nodelistitem_t * | n | |||
) |
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 * | , | |
nodelist_t * | ||||
) |
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().