\section{lib/cgraph/agxbuf.h File Reference}
\label{agxbuf_8h}\index{lib/cgraph/agxbuf.\-h@{lib/cgraph/agxbuf.\-h}}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{agxbuf_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf agxbuf}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf A\-G\-X\-B\-U\-F\-\_\-\-H}
\item 
\#define {\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I}~{\bf extern}
\item 
\#define {\bf agxbputc}(X, {\bf C})~((((X)-\/$>$ptr $>$= (X)-\/$>$eptr) ? {\bf agxbmore}(X,1) \-: 0), (void)($\ast$(X)-\/$>$ptr++ = ((unsigned char){\bf C})))
\item 
\#define {\bf agxbuse}(X)~((void){\bf agxbputc}(X,'\textbackslash{}0'),(char$\ast$)((X)-\/$>$ptr = (X)-\/$>$buf))
\item 
\#define {\bf agxbstart}(X)~((char$\ast$)((X)-\/$>$buf))
\item 
\#define {\bf agxblen}(X)~(((X)-\/$>$ptr)-\/((X)-\/$>$buf))
\item 
\#define {\bf agxbclear}(X)~((void)((X)-\/$>$ptr = (X)-\/$>$buf))
\item 
\#define {\bf agxbnext}(X)~((char$\ast$)((X)-\/$>$ptr))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} void {\bf agxbinit} ({\bf agxbuf} $\ast$xb, unsigned {\bf int} hint, unsigned char $\ast$init)
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} size\-\_\-t {\bf agxbput\-\_\-n} ({\bf agxbuf} $\ast$xb, const char $\ast${\bf s}, size\-\_\-t n)
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} size\-\_\-t {\bf agxbput} ({\bf agxbuf} $\ast$xb, const char $\ast${\bf s})
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} void {\bf agxbfree} ({\bf agxbuf} $\ast$xb)
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} {\bf int} {\bf agxbpop} ({\bf agxbuf} $\ast$xb)
\item 
{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} {\bf int} {\bf agxbmore} ({\bf agxbuf} $\ast$xb, size\-\_\-t ssz)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{agxbuf.\-h@{agxbuf.\-h}!agxbclear@{agxbclear}}
\index{agxbclear@{agxbclear}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbclear}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxbclear(
\begin{DoxyParamCaption}
\item[{}]{X}
\end{DoxyParamCaption}
)~((void)((X)-\/$>$ptr = (X)-\/$>$buf))}\label{agxbuf_8h_a781fc869e74deb56ebfa6fd708cee115}


Definition at line 101 of file agxbuf.\-h.

\index{agxbuf.\-h@{agxbuf.\-h}!agxblen@{agxblen}}
\index{agxblen@{agxblen}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxblen}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxblen(
\begin{DoxyParamCaption}
\item[{}]{X}
\end{DoxyParamCaption}
)~(((X)-\/$>$ptr)-\/((X)-\/$>$buf))}\label{agxbuf_8h_aa62af9884ef33fc0ac6f68e6de201334}


Definition at line 95 of file agxbuf.\-h.



Referenced by htmllex().

\index{agxbuf.\-h@{agxbuf.\-h}!agxbnext@{agxbnext}}
\index{agxbnext@{agxbnext}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbnext}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxbnext(
\begin{DoxyParamCaption}
\item[{}]{X}
\end{DoxyParamCaption}
)~((char$\ast$)((X)-\/$>$ptr))}\label{agxbuf_8h_a81d64b7ca4149a7edfb8a8fd64267395}


Definition at line 107 of file agxbuf.\-h.



Referenced by parse\-\_\-style().

\index{agxbuf.\-h@{agxbuf.\-h}!agxbputc@{agxbputc}}
\index{agxbputc@{agxbputc}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbputc}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxbputc(
\begin{DoxyParamCaption}
\item[{}]{X, }
\item[{}]{{\bf C}}
\end{DoxyParamCaption}
)~((((X)-\/$>$ptr $>$= (X)-\/$>$eptr) ? {\bf agxbmore}(X,1) \-: 0), (void)($\ast$(X)-\/$>$ptr++ = ((unsigned char){\bf C})))}\label{agxbuf_8h_a657ea4fbe5cab99b35127fc44c37e029}


Definition at line 77 of file agxbuf.\-h.



Referenced by aagerror(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), get\-Obj\-Id(), gvplugin\-\_\-list(), html\-Entity\-U\-T\-F8(), latin1\-To\-U\-T\-F8(), parse\-\_\-style(), ps\-\_\-string(), scan\-Entity(), and utf8\-To\-Latin1().

\index{agxbuf.\-h@{agxbuf.\-h}!agxbstart@{agxbstart}}
\index{agxbstart@{agxbstart}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbstart}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxbstart(
\begin{DoxyParamCaption}
\item[{}]{X}
\end{DoxyParamCaption}
)~((char$\ast$)((X)-\/$>$buf))}\label{agxbuf_8h_a099d2e904ba0b4a0bc77c361cbef9ebf}


Definition at line 89 of file agxbuf.\-h.

\index{agxbuf.\-h@{agxbuf.\-h}!A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I@{A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I}}
\index{A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I@{A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I~{\bf extern}}\label{agxbuf_8h_a42146dfdb7855f09857b7e8187425f6f}


Definition at line 28 of file agxbuf.\-h.

\index{agxbuf.\-h@{agxbuf.\-h}!A\-G\-X\-B\-U\-F\-\_\-\-H@{A\-G\-X\-B\-U\-F\-\_\-\-H}}
\index{A\-G\-X\-B\-U\-F\-\_\-\-H@{A\-G\-X\-B\-U\-F\-\_\-\-H}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{A\-G\-X\-B\-U\-F\-\_\-\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\-G\-X\-B\-U\-F\-\_\-\-H}\label{agxbuf_8h_a788b88ddf073afb0a751493749f12fcb}


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

\index{agxbuf.\-h@{agxbuf.\-h}!agxbuse@{agxbuse}}
\index{agxbuse@{agxbuse}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbuse}]{\setlength{\rightskip}{0pt plus 5cm}\#define agxbuse(
\begin{DoxyParamCaption}
\item[{}]{X}
\end{DoxyParamCaption}
)~((void){\bf agxbputc}(X,'\textbackslash{}0'),(char$\ast$)((X)-\/$>$ptr = (X)-\/$>$buf))}\label{agxbuf_8h_ac952fad85305b7008fc79599ab6a34a2}


Definition at line 83 of file agxbuf.\-h.



Referenced by aagerror(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), get\-Obj\-Id(), gvplugin\-\_\-list(), html\-Entity\-U\-T\-F8(), htmllex(), latin1\-To\-U\-T\-F8(), parse\-\_\-style(), ps\-\_\-string(), switch(), and utf8\-To\-Latin1().



\subsection{Function Documentation}
\index{agxbuf.\-h@{agxbuf.\-h}!agxbfree@{agxbfree}}
\index{agxbfree@{agxbfree}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbfree}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} void agxbfree (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_a772f4e0024a99c06dec1a4e8b2198a71}


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.\-h@{agxbuf.\-h}!agxbinit@{agxbinit}}
\index{agxbinit@{agxbinit}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbinit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} void agxbinit (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{unsigned {\bf int}}]{hint, }
\item[{unsigned char $\ast$}]{init}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_a5936b72eabd4285e6fe2f29ca05d7705}


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.\-h@{agxbuf.\-h}!agxbmore@{agxbmore}}
\index{agxbmore@{agxbmore}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbmore}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} {\bf int} agxbmore (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{size\-\_\-t}]{ssz}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_ac87c07b7720ab16d1db8463803a1c649}


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.\-h@{agxbuf.\-h}!agxbpop@{agxbpop}}
\index{agxbpop@{agxbpop}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbpop}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} {\bf int} agxbpop (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_af6dc867f7a895f06651e1bcf44d7fc18}


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



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



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

\index{agxbuf.\-h@{agxbuf.\-h}!agxbput@{agxbput}}
\index{agxbput@{agxbput}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbput}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} size\-\_\-t agxbput (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{const char $\ast$}]{s}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_ad406dabdeb58a13a49ad1282a8bf9024}


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.\-h@{agxbuf.\-h}!agxbput\-\_\-n@{agxbput\-\_\-n}}
\index{agxbput\-\_\-n@{agxbput\-\_\-n}!agxbuf.h@{agxbuf.\-h}}
\subsubsection[{agxbput\-\_\-n}]{\setlength{\rightskip}{0pt plus 5cm}{\bf A\-G\-X\-B\-U\-F\-\_\-\-A\-P\-I} size\-\_\-t agxbput\-\_\-n (
\begin{DoxyParamCaption}
\item[{{\bf agxbuf} $\ast$}]{xb, }
\item[{const char $\ast$}]{s, }
\item[{size\-\_\-t}]{n}
\end{DoxyParamCaption}
)}\label{agxbuf_8h_ae80bf8a2c548b6e678f5284f149c22b1}


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



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



Referenced by agxbput().

