\section{lib/gvc/gvcontext.c File Reference}
\label{gvcontext_8c}\index{lib/gvc/gvcontext.\-c@{lib/gvc/gvcontext.\-c}}
{\ttfamily \#include \char`\"{}config.\-h\char`\"{}}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include \char`\"{}builddate.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}types.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvplugin.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvcjob.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvcint.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvcproc.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvc.\-h\char`\"{}}\\*
Include dependency graph for gvcontext.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gvcontext_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf E\-L\-E\-M}(x)~+1
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ {\bf zmalloc} (size\-\_\-t)
\item 
void {\bf textfont\-\_\-dict\-\_\-close} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\item 
void {\bf emit\-\_\-once\-\_\-reset} (void)
\item 
{\bf G\-V\-C\-\_\-t} $\ast$ {\bf gv\-N\-E\-Wcontext} (const {\bf lt\-\_\-symlist\-\_\-t} $\ast$builtins, {\bf int} demand\-\_\-loading)
\item 
void {\bf gv\-Finalize} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\item 
{\bf int} {\bf gv\-Free\-Context} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\item 
{\bf G\-V\-C\-\_\-t} $\ast$ {\bf gv\-Clone\-G\-V\-C} ({\bf G\-V\-C\-\_\-t} $\ast$gvc0)
\item 
void {\bf gv\-Free\-Clone\-G\-V\-C} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc})
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf graphviz\-\_\-errors}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{gvcontext.\-c@{gvcontext.\-c}!E\-L\-E\-M@{E\-L\-E\-M}}
\index{E\-L\-E\-M@{E\-L\-E\-M}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{E\-L\-E\-M}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-L\-E\-M(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~+1}\label{gvcontext_8c_a362272c997ae8f67a45bc9a4b399c736}


\subsection{Function Documentation}
\index{gvcontext.\-c@{gvcontext.\-c}!emit\-\_\-once\-\_\-reset@{emit\-\_\-once\-\_\-reset}}
\index{emit\-\_\-once\-\_\-reset@{emit\-\_\-once\-\_\-reset}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{emit\-\_\-once\-\_\-reset}]{\setlength{\rightskip}{0pt plus 5cm}void emit\-\_\-once\-\_\-reset (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_ab34eb67d1012675956a7aa98b7783ffb}


Definition at line 3632 of file emit.\-c.



References dtclose().



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

\index{gvcontext.\-c@{gvcontext.\-c}!gv\-Clone\-G\-V\-C@{gv\-Clone\-G\-V\-C}}
\index{gv\-Clone\-G\-V\-C@{gv\-Clone\-G\-V\-C}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{gv\-Clone\-G\-V\-C}]{\setlength{\rightskip}{0pt plus 5cm}{\bf G\-V\-C\-\_\-t}$\ast$ gv\-Clone\-G\-V\-C (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc0}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_a7220d478344c6794678494cf2e98997d}


Definition at line 113 of file gvcontext.\-c.



References G\-V\-C\-\_\-s\-::api, G\-V\-C\-\_\-s\-::apis, G\-V\-C\-\_\-s\-::common, gvc, G\-V\-C\-\_\-s\-::packages, and zmalloc().

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


Definition at line 65 of file gvcontext.\-c.



References G\-V\-C\-\_\-s\-::active\-\_\-jobs, and gvrender\-\_\-end\-\_\-job().



Referenced by main().

\index{gvcontext.\-c@{gvcontext.\-c}!gv\-Free\-Clone\-G\-V\-C@{gv\-Free\-Clone\-G\-V\-C}}
\index{gv\-Free\-Clone\-G\-V\-C@{gv\-Free\-Clone\-G\-V\-C}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{gv\-Free\-Clone\-G\-V\-C}]{\setlength{\rightskip}{0pt plus 5cm}void gv\-Free\-Clone\-G\-V\-C (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_ab6f5fd84ccfd8ff54bd475c8e86501ab}


Definition at line 125 of file gvcontext.\-c.



References gvjobs\-\_\-delete().

\index{gvcontext.\-c@{gvcontext.\-c}!gv\-Free\-Context@{gv\-Free\-Context}}
\index{gv\-Free\-Context@{gv\-Free\-Context}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{gv\-Free\-Context}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} gv\-Free\-Context (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_aa84d4a48426e4f65a515cbf35afbc4ed}


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



References agerrors(), A\-P\-I\-S, G\-V\-C\-\_\-s\-::apis, G\-V\-C\-\_\-s\-::config\-\_\-path, emit\-\_\-once\-\_\-reset(), graphviz\-\_\-errors, G\-V\-C\-\_\-s\-::gvgs, gvjobs\-\_\-delete(), G\-V\-C\-\_\-s\-::input\-\_\-filenames, gvplugin\-\_\-package\-\_\-s\-::name, gvplugin\-\_\-package\-\_\-s\-::next, gvplugin\-\_\-available\-\_\-s\-::next, G\-V\-G\-\_\-s\-::next, N\-U\-L\-L, G\-V\-C\-\_\-s\-::packages, gvplugin\-\_\-package\-\_\-s\-::path, and textfont\-\_\-dict\-\_\-close().



Referenced by main().

\index{gvcontext.\-c@{gvcontext.\-c}!gv\-N\-E\-Wcontext@{gv\-N\-E\-Wcontext}}
\index{gv\-N\-E\-Wcontext@{gv\-N\-E\-Wcontext}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{gv\-N\-E\-Wcontext}]{\setlength{\rightskip}{0pt plus 5cm}{\bf G\-V\-C\-\_\-t}$\ast$ gv\-N\-E\-Wcontext (
\begin{DoxyParamCaption}
\item[{const {\bf lt\-\_\-symlist\-\_\-t} $\ast$}]{builtins, }
\item[{{\bf int}}]{demand\-\_\-loading}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_aedaaaa2e5c15ae4529238baae4f077dd}


Definition at line 52 of file gvcontext.\-c.



References agerrorf(), G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::builtins, G\-V\-C\-\_\-s\-::common, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::demand\-\_\-loading, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::errorfn, gvc, G\-V\-C\-O\-M\-M\-O\-N\-\_\-s\-::info, and zmalloc().



Referenced by gv\-Context(), and gv\-Context\-Plugins().

\index{gvcontext.\-c@{gvcontext.\-c}!textfont\-\_\-dict\-\_\-close@{textfont\-\_\-dict\-\_\-close}}
\index{textfont\-\_\-dict\-\_\-close@{textfont\-\_\-dict\-\_\-close}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{textfont\-\_\-dict\-\_\-close}]{\setlength{\rightskip}{0pt plus 5cm}void textfont\-\_\-dict\-\_\-close (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_a6ee87af8bb11a206fe866eac473ba4f3}


Definition at line 286 of file textspan.\-c.



References dtclose(), and G\-V\-C\-\_\-s\-::textfont\-\_\-dt.

\index{gvcontext.\-c@{gvcontext.\-c}!zmalloc@{zmalloc}}
\index{zmalloc@{zmalloc}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{zmalloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ zmalloc (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{}
\end{DoxyParamCaption}
)}\label{gvcontext_8c_a02cf5aa3b49bbd479983a1932a99de23}


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



References gmalloc().



Referenced by gv\-Clone\-G\-V\-C(), gvjobs\-\_\-output\-\_\-filename(), gvjobs\-\_\-output\-\_\-langname(), gv\-N\-E\-Wargvlist(), gv\-N\-E\-Wcontext(), and push\-\_\-obj\-\_\-state().



\subsection{Variable Documentation}
\index{gvcontext.\-c@{gvcontext.\-c}!graphviz\-\_\-errors@{graphviz\-\_\-errors}}
\index{graphviz\-\_\-errors@{graphviz\-\_\-errors}!gvcontext.c@{gvcontext.\-c}}
\subsubsection[{graphviz\-\_\-errors}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} graphviz\-\_\-errors}\label{gvcontext_8c_a4940487d4985a9ae1dcb9f10b0e271d5}


Definition at line 69 of file globals.\-h.



Referenced by gv\-Free\-Context(), and gv\-Next\-Input\-Graph().

