\section{lib/circogen/block.h File Reference}
\label{block_8h}\index{lib/circogen/block.\-h@{lib/circogen/block.\-h}}
{\ttfamily \#include $<$nodelist.\-h$>$}\\*
Include dependency graph for block.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{block_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{block_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf blocklist\-\_\-t}
\item 
struct {\bf block}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf B\-L\-O\-C\-K\-\_\-\-H}
\item 
\#define {\bf C\-H\-I\-L\-D}(b)~((b)-\/$>$child)
\item 
\#define {\bf B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T}(b)~({\bf C\-H\-I\-L\-D}(b)? {\bf P\-A\-R\-E\-N\-T}({\bf C\-H\-I\-L\-D}(b)) \-: 0)
\item 
\#define {\bf B\-L\-K\-\_\-\-F\-L\-A\-G\-S}(b)~((b)-\/$>$flags)
\item 
\#define {\bf C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F}~(1 $<$$<$ 0)
\item 
\#define {\bf C\-O\-A\-L\-E\-S\-C\-E\-D}(b)~({\bf B\-L\-K\-\_\-\-F\-L\-A\-G\-S}(b)\&{\bf C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F})
\item 
\#define {\bf S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D}(b)~({\bf B\-L\-K\-\_\-\-F\-L\-A\-G\-S}(b) $|$= {\bf C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F})
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf block} {\bf block\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf block\-\_\-t} $\ast$ {\bf mk\-Block} ({\bf Agraph\-\_\-t} $\ast$)
\item 
void {\bf free\-Block} ({\bf block\-\_\-t} $\ast$sp)
\item 
{\bf int} {\bf block\-Size} ({\bf block\-\_\-t} $\ast$sp)
\item 
void {\bf init\-Blocklist} ({\bf blocklist\-\_\-t} $\ast$)
\item 
void {\bf append\-Block} ({\bf blocklist\-\_\-t} $\ast$sp, {\bf block\-\_\-t} $\ast$sn)
\item 
void {\bf insert\-Block} ({\bf blocklist\-\_\-t} $\ast$sp, {\bf block\-\_\-t} $\ast$sn)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{block.\-h@{block.\-h}!B\-L\-K\-\_\-\-F\-L\-A\-G\-S@{B\-L\-K\-\_\-\-F\-L\-A\-G\-S}}
\index{B\-L\-K\-\_\-\-F\-L\-A\-G\-S@{B\-L\-K\-\_\-\-F\-L\-A\-G\-S}!block.h@{block.\-h}}
\subsubsection[{B\-L\-K\-\_\-\-F\-L\-A\-G\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-L\-K\-\_\-\-F\-L\-A\-G\-S(
\begin{DoxyParamCaption}
\item[{}]{b}
\end{DoxyParamCaption}
)~((b)-\/$>$flags)}\label{block_8h_af67f84f2e9be578426f862dcf34abdfc}


Definition at line 57 of file block.\-h.

\index{block.\-h@{block.\-h}!B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T@{B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T}}
\index{B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T@{B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T}!block.h@{block.\-h}}
\subsubsection[{B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-L\-K\-\_\-\-P\-A\-R\-E\-N\-T(
\begin{DoxyParamCaption}
\item[{}]{b}
\end{DoxyParamCaption}
)~({\bf C\-H\-I\-L\-D}(b)? {\bf P\-A\-R\-E\-N\-T}({\bf C\-H\-I\-L\-D}(b)) \-: 0)}\label{block_8h_a0f64a9be91df573723dfa998d62aa441}


Definition at line 56 of file block.\-h.

\index{block.\-h@{block.\-h}!B\-L\-O\-C\-K\-\_\-\-H@{B\-L\-O\-C\-K\-\_\-\-H}}
\index{B\-L\-O\-C\-K\-\_\-\-H@{B\-L\-O\-C\-K\-\_\-\-H}!block.h@{block.\-h}}
\subsubsection[{B\-L\-O\-C\-K\-\_\-\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-L\-O\-C\-K\-\_\-\-H}\label{block_8h_a0b1c3ef654295828dcc23174cdf68860}


Definition at line 19 of file block.\-h.

\index{block.\-h@{block.\-h}!C\-H\-I\-L\-D@{C\-H\-I\-L\-D}}
\index{C\-H\-I\-L\-D@{C\-H\-I\-L\-D}!block.h@{block.\-h}}
\subsubsection[{C\-H\-I\-L\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-H\-I\-L\-D(
\begin{DoxyParamCaption}
\item[{}]{b}
\end{DoxyParamCaption}
)~((b)-\/$>$child)}\label{block_8h_aae42455342fb813959c3d30888a367bd}


Definition at line 55 of file block.\-h.



Referenced by create\-Blocktree().

\index{block.\-h@{block.\-h}!C\-O\-A\-L\-E\-S\-C\-E\-D@{C\-O\-A\-L\-E\-S\-C\-E\-D}}
\index{C\-O\-A\-L\-E\-S\-C\-E\-D@{C\-O\-A\-L\-E\-S\-C\-E\-D}!block.h@{block.\-h}}
\subsubsection[{C\-O\-A\-L\-E\-S\-C\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-A\-L\-E\-S\-C\-E\-D(
\begin{DoxyParamCaption}
\item[{}]{b}
\end{DoxyParamCaption}
)~({\bf B\-L\-K\-\_\-\-F\-L\-A\-G\-S}(b)\&{\bf C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F})}\label{block_8h_ab951f06968269299f5ba0bb95b506561}


Definition at line 60 of file block.\-h.

\index{block.\-h@{block.\-h}!C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F@{C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F}}
\index{C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F@{C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F}!block.h@{block.\-h}}
\subsubsection[{C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F~(1 $<$$<$ 0)}\label{block_8h_af0264ddd80ef28ace8ba29e56544f3d8}


Definition at line 59 of file block.\-h.

\index{block.\-h@{block.\-h}!S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D@{S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D}}
\index{S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D@{S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D}!block.h@{block.\-h}}
\subsubsection[{S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-E\-T\-\_\-\-C\-O\-A\-L\-E\-S\-C\-E\-D(
\begin{DoxyParamCaption}
\item[{}]{b}
\end{DoxyParamCaption}
)~({\bf B\-L\-K\-\_\-\-F\-L\-A\-G\-S}(b) $|$= {\bf C\-O\-A\-L\-E\-S\-C\-E\-D\-\_\-\-F})}\label{block_8h_ad6ce46838c316237e5644bf78d043e43}


Definition at line 61 of file block.\-h.



\subsection{Typedef Documentation}
\index{block.\-h@{block.\-h}!block\-\_\-t@{block\-\_\-t}}
\index{block\-\_\-t@{block\-\_\-t}!block.h@{block.\-h}}
\subsubsection[{block\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf block} {\bf block\-\_\-t}}\label{block_8h_a8791e1059e34d35f2f66fc546ad1922c}


Definition at line 23 of file block.\-h.



\subsection{Function Documentation}
\index{block.\-h@{block.\-h}!append\-Block@{append\-Block}}
\index{append\-Block@{append\-Block}!block.h@{block.\-h}}
\subsubsection[{append\-Block}]{\setlength{\rightskip}{0pt plus 5cm}void append\-Block (
\begin{DoxyParamCaption}
\item[{{\bf blocklist\-\_\-t} $\ast$}]{sp, }
\item[{{\bf block\-\_\-t} $\ast$}]{sn}
\end{DoxyParamCaption}
)}\label{block_8h_abbf18b847a688adfa8b36ac013db4363}


Definition at line 67 of file block.\-c.



References blocklist\-\_\-t\-::first, blocklist\-\_\-t\-::last, block\-::next, and N\-U\-L\-L.



Referenced by create\-Blocktree().

\index{block.\-h@{block.\-h}!block\-Size@{block\-Size}}
\index{block\-Size@{block\-Size}!block.h@{block.\-h}}
\subsubsection[{block\-Size}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} block\-Size (
\begin{DoxyParamCaption}
\item[{{\bf block\-\_\-t} $\ast$}]{sp}
\end{DoxyParamCaption}
)}\label{block_8h_a8a7052e2dcc7331adfa7ca26d91b7144}


Definition at line 59 of file block.\-c.



References agnnodes(), and block\-::sub\-\_\-graph.

\index{block.\-h@{block.\-h}!free\-Block@{free\-Block}}
\index{free\-Block@{free\-Block}!block.h@{block.\-h}}
\subsubsection[{free\-Block}]{\setlength{\rightskip}{0pt plus 5cm}void free\-Block (
\begin{DoxyParamCaption}
\item[{{\bf block\-\_\-t} $\ast$}]{sp}
\end{DoxyParamCaption}
)}\label{block_8h_a8c88135d4579be53292c9c338878c386}


Definition at line 51 of file block.\-c.



References block\-::circle\-\_\-list, and free\-Nodelist().



Referenced by del\-Grid(), and free\-Blocktree().

\index{block.\-h@{block.\-h}!init\-Blocklist@{init\-Blocklist}}
\index{init\-Blocklist@{init\-Blocklist}!block.h@{block.\-h}}
\subsubsection[{init\-Blocklist}]{\setlength{\rightskip}{0pt plus 5cm}void init\-Blocklist (
\begin{DoxyParamCaption}
\item[{{\bf blocklist\-\_\-t} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{block_8h_a3898c852cf7512b421b2fe5347f829f6}


Definition at line 20 of file block.\-c.



References blocklist\-\_\-t\-::first, blocklist\-\_\-t\-::last, and N\-U\-L\-L.



Referenced by create\-Blocktree(), and mk\-Block().

\index{block.\-h@{block.\-h}!insert\-Block@{insert\-Block}}
\index{insert\-Block@{insert\-Block}!block.h@{block.\-h}}
\subsubsection[{insert\-Block}]{\setlength{\rightskip}{0pt plus 5cm}void insert\-Block (
\begin{DoxyParamCaption}
\item[{{\bf blocklist\-\_\-t} $\ast$}]{sp, }
\item[{{\bf block\-\_\-t} $\ast$}]{sn}
\end{DoxyParamCaption}
)}\label{block_8h_a35a0101b9e11dba59ab5f136770bcc58}


Definition at line 82 of file block.\-c.



References blocklist\-\_\-t\-::first, blocklist\-\_\-t\-::last, and block\-::next.

\index{block.\-h@{block.\-h}!mk\-Block@{mk\-Block}}
\index{mk\-Block@{mk\-Block}!block.h@{block.\-h}}
\subsubsection[{mk\-Block}]{\setlength{\rightskip}{0pt plus 5cm}{\bf block\-\_\-t}$\ast$ mk\-Block (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{block_8h_a25507b831e99b7468e4b75f85423d971}


Definition at line 41 of file block.\-c.



References block\-::children, init\-Blocklist(), N\-E\-W, and block\-::sub\-\_\-graph.

