\section{lib/cgraph/agxbuf.c File Reference}
\label{agxbuf_8c}\index{lib/cgraph/agxbuf.\-c@{lib/cgraph/agxbuf.\-c}}
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$agxbuf.\-h$>$}\\*
Include dependency graph for agxbuf.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=296pt]{agxbuf_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf N\-\_\-\-G\-N\-E\-W}(n, t)~(t$\ast$)malloc((n)$\ast$sizeof(t))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf agxbinit} ({\bf agxbuf} $\ast$xb, unsigned {\bf int} hint, unsigned char $\ast$init)
\item 
{\bf int} {\bf agxbmore} ({\bf agxbuf} $\ast$xb, size\-\_\-t ssz)
\item 
size\-\_\-t {\bf agxbput\-\_\-n} ({\bf agxbuf} $\ast$xb, const char $\ast${\bf s}, size\-\_\-t ssz)
\item 
size\-\_\-t {\bf agxbput} ({\bf agxbuf} $\ast$xb, const char $\ast${\bf s})
\item 
void {\bf agxbfree} ({\bf agxbuf} $\ast$xb)
\item 
{\bf int} {\bf agxbpop} ({\bf agxbuf} $\ast$xb)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{agxbuf.\-c@{agxbuf.\-c}!N\-\_\-\-G\-N\-E\-W@{N\-\_\-\-G\-N\-E\-W}}
\index{N\-\_\-\-G\-N\-E\-W@{N\-\_\-\-G\-N\-E\-W}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{N\-\_\-\-G\-N\-E\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-\_\-\-G\-N\-E\-W(
\begin{DoxyParamCaption}
\item[{}]{n, }
\item[{}]{t}
\end{DoxyParamCaption}
)~(t$\ast$)malloc((n)$\ast$sizeof(t))}\label{agxbuf_8c_ad879f57c222c8bb9a977853d9aba4820}


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



Referenced by adjust\-Grid(), agxbinit(), agxbmore(), c\-Adjust(), call\-\_\-tri(), call\-\_\-tri2(), cccomps(), ccomps(), cg(), compute\-\_\-new\-\_\-weights(), conjugate\-\_\-gradient(), conjugate\-\_\-gradient\-\_\-f(), dijkstra\-\_\-f(), Distance\-Matrix\-\_\-restrict\-\_\-cluster(), E\-Linitialize(), embed\-\_\-graph(), find\-Stop\-Color(), get\-Sizes(), ideal\-\_\-distance\-\_\-matrix(), main(), make\-\_\-simple\-\_\-label(), make\-Add\-Poly(), make\-Matrix(), make\-Multi\-Spline(), make\-Poly(), make\-Self\-Arcs(), mk\-Queue(), mk\-Router(), Operator\-\_\-diag\-\_\-precon\-\_\-new(), P\-C\-A\-\_\-alloc(), pccomps(), Plegal\-\_\-arrangement(), poly\-Overlap(), power\-\_\-iteration(), P\-Qinitialize(), Priority\-Queue\-\_\-new(), Priority\-Queue\-\_\-push(), put\-Graphs(), round\-\_\-corners(), routesplinesinit(), sc\-Adjust(), solve(), Spring\-Smoother\-\_\-new(), Stress\-Majorization\-Smoother2\-\_\-new(), Stress\-Majorization\-Smoother\-\_\-smooth(), Triangle\-Smoother\-\_\-new(), and U\-G\-\_\-graph().



\subsection{Function Documentation}
\index{agxbuf.\-c@{agxbuf.\-c}!agxbfree@{agxbfree}}
\index{agxbfree@{agxbfree}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbfree}]{\setlength{\rightskip}{0pt plus 5cm}void agxbfree (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_aa753492f3e13571b727d8f7616d216d6}


Definition at line 94 of file agxbuf.\-c.



References agxbuf\-::buf, and agxbuf\-::dyna.



Referenced by aagerror(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), clear\-H\-T\-M\-Llexer(), dotneato\-\_\-args\-\_\-initialize(), get\-\_\-font\-\_\-mapping(), html\-Entity\-U\-T\-F8(), latin1\-To\-U\-T\-F8(), make\-\_\-html\-\_\-label(), parse\-\_\-style(), parse\-H\-T\-M\-L(), process\-Cluster\-Edges(), sprint\-X\-Dot(), and utf8\-To\-Latin1().

\index{agxbuf.\-c@{agxbuf.\-c}!agxbinit@{agxbinit}}
\index{agxbinit@{agxbinit}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbinit}]{\setlength{\rightskip}{0pt plus 5cm}void agxbinit (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{unsigned {\bf int}}]{hint, }
\item[{unsigned char $\ast$}]{init}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_a71e12bcac1478f2034704dde646efa38}


Definition at line 25 of file agxbuf.\-c.



References agxbuf\-::buf, agxbuf\-::dyna, agxbuf\-::eptr, N\-\_\-\-G\-N\-E\-W, and agxbuf\-::ptr.



Referenced by aagerror(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), dotneato\-\_\-args\-\_\-initialize(), get\-\_\-font\-\_\-mapping(), gvplugin\-\_\-list(), html\-Entity\-U\-T\-F8(), init\-H\-T\-M\-Llexer(), latin1\-To\-U\-T\-F8(), make\-\_\-html\-\_\-label(), parse\-\_\-style(), parse\-H\-T\-M\-L(), process\-Cluster\-Edges(), ps\-\_\-string(), sprint\-X\-Dot(), and utf8\-To\-Latin1().

\index{agxbuf.\-c@{agxbuf.\-c}!agxbmore@{agxbmore}}
\index{agxbmore@{agxbmore}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbmore}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agxbmore (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{size\-\_\-t}]{ssz}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_a1e6c957bee60addfcb7715c930dc57e1}


Definition at line 44 of file agxbuf.\-c.



References agxbuf\-::buf, agxbuf\-::dyna, agxbuf\-::eptr, N\-\_\-\-G\-N\-E\-W, and agxbuf\-::ptr.



Referenced by agxbput\-\_\-n().

\index{agxbuf.\-c@{agxbuf.\-c}!agxbpop@{agxbpop}}
\index{agxbpop@{agxbpop}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbpop}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agxbpop (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_a6b45574c2bdcc0614d01f6c97496ff98}


Definition at line 103 of file agxbuf.\-c.



References agxbuf\-::buf, and agxbuf\-::ptr.



Referenced by attach\-\_\-attrs\-\_\-and\-\_\-arrows().

\index{agxbuf.\-c@{agxbuf.\-c}!agxbput@{agxbput}}
\index{agxbput@{agxbput}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbput}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t agxbput (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{const char $\ast$}]{s}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_ac4605bac0765795e419fc502a10b2576}


Definition at line 84 of file agxbuf.\-c.



References agxbput\-\_\-n().



Referenced by aagerror(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), core\-\_\-loadimage\-\_\-xdot(), get\-Obj\-Id(), gvplugin\-\_\-list(), parse\-\_\-style(), scan\-Entity(), and sprint\-X\-Dot().

\index{agxbuf.\-c@{agxbuf.\-c}!agxbput\-\_\-n@{agxbput\-\_\-n}}
\index{agxbput\-\_\-n@{agxbput\-\_\-n}!agxbuf.c@{agxbuf.\-c}}
\subsubsection[{agxbput\-\_\-n}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t agxbput\-\_\-n (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{const char $\ast$}]{s, }
\item[{size\-\_\-t}]{ssz}
\end{DoxyParamCaption}
)}\label{agxbuf_8c_adcca0cb573ec0afe5d6632aff99d6e70}


Definition at line 72 of file agxbuf.\-c.



References agxbmore(), agxbuf\-::eptr, and agxbuf\-::ptr.



Referenced by agxbput().

