\section{lib/circogen/block.c File Reference}
\label{block_8c}\index{lib/circogen/block.\-c@{lib/circogen/block.\-c}}
{\ttfamily \#include $<$assert.\-h$>$}\\*
{\ttfamily \#include \char`\"{}circular.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}block.\-h\char`\"{}}\\*
Include dependency graph for block.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{block_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf init\-Blocklist} ({\bf blocklist\-\_\-t} $\ast$bl)
\item 
{\bf block\-\_\-t} $\ast$ {\bf mk\-Block} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf free\-Block} ({\bf block\-\_\-t} $\ast$sp)
\item 
{\bf int} {\bf block\-Size} ({\bf block\-\_\-t} $\ast$sp)
\item 
void {\bf append\-Block} ({\bf blocklist\-\_\-t} $\ast$bl, {\bf block\-\_\-t} $\ast$bp)
\item 
void {\bf insert\-Block} ({\bf blocklist\-\_\-t} $\ast$bl, {\bf block\-\_\-t} $\ast$bp)
\end{DoxyCompactItemize}


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


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.\-c@{block.\-c}!block\-Size@{block\-Size}}
\index{block\-Size@{block\-Size}!block.c@{block.\-c}}
\subsubsection[{block\-Size}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} block\-Size (
\begin{DoxyParamCaption}
\item[{{\bf block\-\_\-t} $\ast$}]{sp}
\end{DoxyParamCaption}
)}\label{block_8c_a8a7052e2dcc7331adfa7ca26d91b7144}


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



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

\index{block.\-c@{block.\-c}!free\-Block@{free\-Block}}
\index{free\-Block@{free\-Block}!block.c@{block.\-c}}
\subsubsection[{free\-Block}]{\setlength{\rightskip}{0pt plus 5cm}void free\-Block (
\begin{DoxyParamCaption}
\item[{{\bf block\-\_\-t} $\ast$}]{sp}
\end{DoxyParamCaption}
)}\label{block_8c_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.\-c@{block.\-c}!init\-Blocklist@{init\-Blocklist}}
\index{init\-Blocklist@{init\-Blocklist}!block.c@{block.\-c}}
\subsubsection[{init\-Blocklist}]{\setlength{\rightskip}{0pt plus 5cm}void init\-Blocklist (
\begin{DoxyParamCaption}
\item[{{\bf blocklist\-\_\-t} $\ast$}]{bl}
\end{DoxyParamCaption}
)}\label{block_8c_a8d0cbaa5798b81297e70662e04424717}


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.\-c@{block.\-c}!insert\-Block@{insert\-Block}}
\index{insert\-Block@{insert\-Block}!block.c@{block.\-c}}
\subsubsection[{insert\-Block}]{\setlength{\rightskip}{0pt plus 5cm}void insert\-Block (
\begin{DoxyParamCaption}
\item[{{\bf blocklist\-\_\-t} $\ast$}]{bl, }
\item[{{\bf block\-\_\-t} $\ast$}]{bp}
\end{DoxyParamCaption}
)}\label{block_8c_a70b453d8a54282db3162ed01b9848400}


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



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

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


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



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

