#include <nodelist.h>
Include dependency graph for block.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | blocklist_t |
struct | block |
Defines | |
#define | CHILD(b) ((b)->child) |
#define | BLK_PARENT(b) (CHILD(b)? PARENT(CHILD(b)) : 0) |
#define | BLK_FLAGS(b) ((b)->flags) |
#define | COALESCED_F (1 << 0) |
#define | COALESCED(b) (BLK_FLAGS(b)&COALESCED_F) |
#define | SET_COALESCED(b) (BLK_FLAGS(b) |= COALESCED_F) |
Typedefs | |
typedef block | block_t |
Functions | |
block_t * | mkBlock (Agraph_t *) |
void | freeBlock (block_t *sp) |
void | initBlocklist (blocklist_t *) |
void | appendBlock (blocklist_t *sp, block_t *sn) |
void | insertBlock (blocklist_t *sp, block_t *sn) |
#define CHILD | ( | b | ) | ((b)->child) |
void appendBlock | ( | blocklist_t * | sp, | |
block_t * | sn | |||
) |
Definition at line 64 of file block.c.
References blocklist_t::first, blocklist_t::last, block::next, and NULL.
Referenced by createBlocktree().
void freeBlock | ( | block_t * | sp | ) |
Definition at line 53 of file block.c.
References block::circle_list, free(), and freeNodelist().
Referenced by delGrid(), and freeBlocktree().
void initBlocklist | ( | blocklist_t * | ) |
Definition at line 22 of file block.c.
References blocklist_t::first, blocklist_t::last, and NULL.
Referenced by createBlocktree(), and mkBlock().
void insertBlock | ( | blocklist_t * | sp, | |
block_t * | sn | |||
) |
Definition at line 79 of file block.c.
References blocklist_t::first, blocklist_t::last, and block::next.
Definition at line 43 of file block.c.
References block::children, initBlocklist(), NEW, and block::sub_graph.