\section{lib/common/input.c File Reference}
\label{input_8c}\index{lib/common/input.\-c@{lib/common/input.\-c}}
{\ttfamily \#include $<$ctype.\-h$>$}\\*
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}htmltable.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvc.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xdot.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}agxbuf.\-h\char`\"{}}\\*
Include dependency graph for input.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{input_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf dotneato\-\_\-usage} ({\bf int} exval)
\item 
{\bf graph\-\_\-t} $\ast$ {\bf gv\-Plugins\-Graph} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\item 
{\bf int} {\bf dotneato\-\_\-args\-\_\-initialize} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc}, {\bf int} argc, char $\ast$$\ast$argv)
\item 
void {\bf getdouble} ({\bf graph\-\_\-t} $\ast$g, char $\ast$name, double $\ast$result)
\item 
{\bf graph\-\_\-t} $\ast$ {\bf gv\-Next\-Input\-Graph} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\item 
void {\bf graph\-\_\-init} ({\bf graph\-\_\-t} $\ast$g, {\bf boolean} use\-\_\-rankdir)
\item 
void {\bf graph\-\_\-cleanup} ({\bf graph\-\_\-t} $\ast$g)
\item 
char $\ast$ {\bf charset\-To\-Str} ({\bf int} c)
\item 
void {\bf do\-\_\-graph\-\_\-label} ({\bf graph\-\_\-t} $\ast$sg)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{input.\-c@{input.\-c}!charset\-To\-Str@{charset\-To\-Str}}
\index{charset\-To\-Str@{charset\-To\-Str}!input.c@{input.\-c}}
\subsubsection[{charset\-To\-Str}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ charset\-To\-Str (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{c}
\end{DoxyParamCaption}
)}\label{input_8c_a7fd0b4b7d1495711a50828a63036caf7}


Definition at line 866 of file input.\-c.



References agerr(), A\-G\-E\-R\-R, C\-H\-A\-R\-\_\-\-B\-I\-G5, C\-H\-A\-R\-\_\-\-L\-A\-T\-I\-N1, and C\-H\-A\-R\-\_\-\-U\-T\-F8.



Referenced by init\-H\-T\-M\-Llexer().

\index{input.\-c@{input.\-c}!do\-\_\-graph\-\_\-label@{do\-\_\-graph\-\_\-label}}
\index{do\-\_\-graph\-\_\-label@{do\-\_\-graph\-\_\-label}!input.c@{input.\-c}}
\subsubsection[{do\-\_\-graph\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}void do\-\_\-graph\-\_\-label (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{sg}
\end{DoxyParamCaption}
)}\label{input_8c_ae620eb31a7022a931b7977b4ffa4d822}


Definition at line 892 of file input.\-c.



References agfindgraphattr, agget(), aghtmlstr(), agroot(), B\-O\-T\-T\-O\-M\-\_\-\-I\-X, D\-E\-F\-A\-U\-L\-T\-\_\-\-C\-O\-L\-O\-R, D\-E\-F\-A\-U\-L\-T\-\_\-\-F\-O\-N\-T\-N\-A\-M\-E, D\-E\-F\-A\-U\-L\-T\-\_\-\-F\-O\-N\-T\-S\-I\-Z\-E, G\-D\-\_\-border, G\-D\-\_\-flip, G\-D\-\_\-has\-\_\-labels, G\-D\-\_\-label, G\-D\-\_\-label\-\_\-pos, G\-R\-A\-P\-H\-\_\-\-L\-A\-B\-E\-L, L\-A\-B\-E\-L\-\_\-\-A\-T\-\_\-\-B\-O\-T\-T\-O\-M, L\-A\-B\-E\-L\-\_\-\-A\-T\-\_\-\-L\-E\-F\-T, L\-A\-B\-E\-L\-\_\-\-A\-T\-\_\-\-R\-I\-G\-H\-T, L\-A\-B\-E\-L\-\_\-\-A\-T\-\_\-\-T\-O\-P, late\-\_\-double(), late\-\_\-nnstring(), L\-E\-F\-T\-\_\-\-I\-X, L\-T\-\_\-\-H\-T\-M\-L, L\-T\-\_\-\-N\-O\-N\-E, make\-\_\-label(), M\-I\-N\-\_\-\-F\-O\-N\-T\-S\-I\-Z\-E, P\-A\-D, R\-I\-G\-H\-T\-\_\-\-I\-X, Agraph\-\_\-s\-::root, str, T\-O\-P\-\_\-\-I\-X, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.



Referenced by graph\-\_\-init().

\index{input.\-c@{input.\-c}!dotneato\-\_\-args\-\_\-initialize@{dotneato\-\_\-args\-\_\-initialize}}
\index{dotneato\-\_\-args\-\_\-initialize@{dotneato\-\_\-args\-\_\-initialize}!input.c@{input.\-c}}
\subsubsection[{dotneato\-\_\-args\-\_\-initialize}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} dotneato\-\_\-args\-\_\-initialize (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc, }
\item[{{\bf int}}]{argc, }
\item[{char $\ast$$\ast$}]{argv}
\end{DoxyParamCaption}
)}\label{input_8c_aaa9f8bb35cf03774304c3068ee60efa3}


Definition at line 224 of file input.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agerr(), A\-G\-E\-R\-R, A\-G\-M\-A\-X, A\-G\-N\-O\-D\-E, A\-G\-R\-A\-P\-H, agseterr(), agxbfree(), agxbinit(), G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::auto\-\_\-outfile\-\_\-names, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::cmdname, Cmd\-Name, G\-V\-C\-\_\-s\-::common, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::config, dotneato\-\_\-usage(), gvconfig(), Gv\-Exit\-On\-Usage, Gvfilepath, gvjobs\-\_\-output\-\_\-filename(), gvjobs\-\_\-output\-\_\-langname(), gvlayout\-\_\-select(), gvplugin\-\_\-graph(), gvplugin\-\_\-list(), H\-T\-T\-P\-Server\-En\-Var, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::info, G\-V\-C\-\_\-s\-::input\-\_\-filenames, G\-V\-C\-\_\-s\-::jobs, layout(), N\-\_\-\-N\-E\-W, N\-O\-\_\-\-S\-U\-P\-P\-O\-R\-T, N\-O\-D\-E\-N\-A\-M\-E\-\_\-\-E\-S\-C, N\-U\-L\-L, G\-V\-J\-\_\-s\-::output\-\_\-langname, P\-O\-I\-N\-T\-S\-\_\-\-P\-E\-R\-\_\-\-I\-N\-C\-H, P\-Sinputscale, Reduce, S\-M\-A\-L\-L\-B\-U\-F, streq, T\-R\-U\-E, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::verbose, Verbose, and Y\-\_\-invert.



Referenced by gv\-Parse\-Args().

\index{input.\-c@{input.\-c}!dotneato\-\_\-usage@{dotneato\-\_\-usage}}
\index{dotneato\-\_\-usage@{dotneato\-\_\-usage}!input.c@{input.\-c}}
\subsubsection[{dotneato\-\_\-usage}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} dotneato\-\_\-usage (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{exval}
\end{DoxyParamCaption}
)}\label{input_8c_adf4b3be51f94e3d170fbef4ecd052f6d}


Definition at line 71 of file input.\-c.



References Cmd\-Name, and Gv\-Exit\-On\-Usage.



Referenced by dotneato\-\_\-args\-\_\-initialize().

\index{input.\-c@{input.\-c}!getdouble@{getdouble}}
\index{getdouble@{getdouble}!input.c@{input.\-c}}
\subsubsection[{getdouble}]{\setlength{\rightskip}{0pt plus 5cm}void getdouble (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{char $\ast$}]{name, }
\item[{double $\ast$}]{result}
\end{DoxyParamCaption}
)}\label{input_8c_ac6f658bdb5778fe38b2789d5b550ccb9}


Definition at line 475 of file input.\-c.



References agget().



Referenced by scan\-\_\-graph\-\_\-mode().

\index{input.\-c@{input.\-c}!graph\-\_\-cleanup@{graph\-\_\-cleanup}}
\index{graph\-\_\-cleanup@{graph\-\_\-cleanup}!input.c@{input.\-c}}
\subsubsection[{graph\-\_\-cleanup}]{\setlength{\rightskip}{0pt plus 5cm}void graph\-\_\-cleanup (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{input_8c_abb8fffd41174d94daec60f98fb046ca3}


Definition at line 847 of file input.\-c.



References agclean(), A\-G\-R\-A\-P\-H, free\-\_\-label(), free\-X\-Dot(), G\-D\-\_\-drawing, G\-D\-\_\-label, and N\-U\-L\-L.



Referenced by gv\-Free\-Layout().

\index{input.\-c@{input.\-c}!graph\-\_\-init@{graph\-\_\-init}}
\index{graph\-\_\-init@{graph\-\_\-init}!input.c@{input.\-c}}
\subsubsection[{graph\-\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void graph\-\_\-init (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{{\bf boolean}}]{use\-\_\-rankdir}
\end{DoxyParamCaption}
)}\label{input_8c_af781cc9e91659412f0e235c5ddcfda0a}


Definition at line 654 of file input.\-c.



References agattr(), agfindedgeattr, agfindgraphattr, agfindnodeattr, agget(), A\-G\-N\-O\-D\-E, C\-L\-\_\-type, Concentrate, D\-E\-F\-A\-U\-L\-T\-\_\-\-N\-O\-D\-E\-S\-E\-P, D\-E\-F\-A\-U\-L\-T\-\_\-\-R\-A\-N\-K\-S\-E\-P, do\-\_\-graph\-\_\-label(), E\-\_\-arrowhead, E\-\_\-arrowsz, E\-\_\-arrowtail, E\-\_\-color, E\-\_\-comment, E\-\_\-constr, E\-\_\-decorate, E\-\_\-dir, E\-\_\-fillcolor, E\-\_\-fontcolor, E\-\_\-fontname, E\-\_\-fontsize, E\-\_\-headclip, E\-\_\-headlabel, E\-\_\-label, E\-\_\-label\-\_\-float, E\-\_\-labelangle, E\-\_\-labeldistance, E\-\_\-labelfontcolor, E\-\_\-labelfontname, E\-\_\-labelfontsize, E\-\_\-layer, E\-\_\-minlen, E\-\_\-penwidth, E\-\_\-showboxes, E\-\_\-style, E\-\_\-tailclip, E\-\_\-taillabel, E\-\_\-weight, E\-\_\-xlabel, Edge\-Labels\-Done, G\-\_\-gradientangle, G\-\_\-margin, G\-\_\-ordering, G\-D\-\_\-charset, G\-D\-\_\-drawing, G\-D\-\_\-exact\-\_\-ranksep, G\-D\-\_\-fontnames, G\-D\-\_\-nodesep, G\-D\-\_\-ranksep, G\-D\-\_\-showboxes, G\-L\-O\-B\-A\-L, grealloc(), G\-V\-B\-E\-G\-I\-N, Gvfilepath, Gvimagepath, H\-T\-T\-P\-Server\-En\-Var, init\-\_\-xdot(), Initial\-\_\-dist, late\-\_\-double(), late\-\_\-int(), late\-\_\-string(), L\-O\-C\-A\-L, mapbool(), maptoken(), M\-I\-N\-\_\-\-N\-O\-D\-E\-S\-E\-P, M\-I\-N\-\_\-\-R\-A\-N\-K\-S\-E\-P, M\-Y\-H\-U\-G\-E, N\-\_\-color, N\-\_\-comment, N\-\_\-distortion, N\-\_\-fillcolor, N\-\_\-fixed, N\-\_\-fontcolor, N\-\_\-fontname, N\-\_\-fontsize, N\-\_\-gradientangle, N\-\_\-group, N\-\_\-height, N\-\_\-imagepos, N\-\_\-imagescale, N\-\_\-label, N\-\_\-layer, N\-\_\-margin, N\-\_\-nojustify, N\-\_\-ordering, N\-\_\-orientation, N\-\_\-penwidth, N\-\_\-peripheries, N\-\_\-shape, N\-\_\-showboxes, N\-\_\-sides, N\-\_\-skew, N\-\_\-style, N\-\_\-vertices, N\-\_\-width, N\-\_\-xlabel, N\-\_\-z, N\-A\-T\-I\-V\-E\-F\-O\-N\-T\-S, N\-E\-W, N\-O\-C\-L\-U\-S\-T, N\-O\-D\-E\-N\-A\-M\-E\-\_\-\-E\-S\-C, N\-U\-L\-L, P\-O\-I\-N\-T\-S, P\-S\-F\-O\-N\-T\-S, R\-A\-N\-K\-D\-I\-R\-\_\-\-B\-T, R\-A\-N\-K\-D\-I\-R\-\_\-\-L\-R, R\-A\-N\-K\-D\-I\-R\-\_\-\-R\-L, R\-A\-N\-K\-D\-I\-R\-\_\-\-T\-B, S\-E\-T\-\_\-\-R\-A\-N\-K\-D\-I\-R, State, strdup\-\_\-and\-\_\-subst\-\_\-obj(), streq, S\-V\-G\-F\-O\-N\-T\-S, and T\-R\-U\-E.



Referenced by gv\-Layout\-Jobs(), and main().

\index{input.\-c@{input.\-c}!gv\-Next\-Input\-Graph@{gv\-Next\-Input\-Graph}}
\index{gv\-Next\-Input\-Graph@{gv\-Next\-Input\-Graph}!input.c@{input.\-c}}
\subsubsection[{gv\-Next\-Input\-Graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf graph\-\_\-t}$\ast$ gv\-Next\-Input\-Graph (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc}
\end{DoxyParamCaption}
)}\label{input_8c_a470abedd754cbaa1a24c93585a5fffed}


Definition at line 537 of file input.\-c.



References agerr(), A\-G\-E\-R\-R, agread(), agread\-\_\-usergets(), agsetfile(), G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::cmdname, G\-V\-C\-\_\-s\-::common, graphviz\-\_\-errors, G\-V\-C\-\_\-s\-::input\-\_\-filenames, N\-I\-L, and N\-U\-L\-L.



Referenced by main().

\index{input.\-c@{input.\-c}!gv\-Plugins\-Graph@{gv\-Plugins\-Graph}}
\index{gv\-Plugins\-Graph@{gv\-Plugins\-Graph}!input.c@{input.\-c}}
\subsubsection[{gv\-Plugins\-Graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf graph\-\_\-t}$\ast$ gv\-Plugins\-Graph (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc}
\end{DoxyParamCaption}
)}\label{input_8c_ae28ba786b0811f07c793f2873171701e}


Definition at line 213 of file input.\-c.



Referenced by main().

