\section{lib/cgraph/utils.c File Reference}
\label{cgraph_2utils_8c}\index{lib/cgraph/utils.\-c@{lib/cgraph/utils.\-c}}
{\ttfamily \#include $<$cghdr.\-h$>$}\\*
Include dependency graph for utils.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{cgraph_2utils_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ {\bf agdictobjmem} ({\bf Dict\-\_\-t} $\ast$dict, void $\ast$p, size\-\_\-t size, {\bf Dtdisc\-\_\-t} $\ast$disc)
\item 
void {\bf agdictobjfree} ({\bf Dict\-\_\-t} $\ast$dict, void $\ast$p, {\bf Dtdisc\-\_\-t} $\ast$disc)
\item 
{\bf Dict\-\_\-t} $\ast$ {\bf agdtopen} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Dtdisc\-\_\-t} $\ast$disc, {\bf Dtmethod\-\_\-t} $\ast$method)
\item 
long {\bf agdtdelete} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Dict\-\_\-t} $\ast$dict, void $\ast$obj)
\item 
{\bf int} {\bf agobjfinalize} (void $\ast$obj)
\item 
{\bf int} {\bf agdtclose} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Dict\-\_\-t} $\ast$dict)
\item 
void {\bf agdtdisc} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Dict\-\_\-t} $\ast$dict, {\bf Dtdisc\-\_\-t} $\ast$disc)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdictobjfree@{agdictobjfree}}
\index{agdictobjfree@{agdictobjfree}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdictobjfree}]{\setlength{\rightskip}{0pt plus 5cm}void agdictobjfree (
\begin{DoxyParamCaption}
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{void $\ast$}]{p, }
\item[{{\bf Dtdisc\-\_\-t} $\ast$}]{disc}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_adb5833dd9ae458cab354177d2dd16abf}


Definition at line 40 of file utils.\-c.



References agfree(), and N\-O\-T\-U\-S\-E\-D.

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdictobjmem@{agdictobjmem}}
\index{agdictobjmem@{agdictobjmem}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdictobjmem}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ agdictobjmem (
\begin{DoxyParamCaption}
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{void $\ast$}]{p, }
\item[{size\-\_\-t}]{size, }
\item[{{\bf Dtdisc\-\_\-t} $\ast$}]{disc}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_af4ab5e9f3aeab20cdaf0d3133b59bb36}


Definition at line 19 of file utils.\-c.



References agalloc(), agfree(), N\-I\-L, and N\-O\-T\-U\-S\-E\-D.



Referenced by agdtclose(), and agdtopen().

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdtclose@{agdtclose}}
\index{agdtclose@{agdtclose}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdtclose}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agdtclose (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_afc3fcbd4141196da99eb181c684405f3}


Definition at line 79 of file utils.\-c.



References agdictobjmem(), dtclose(), dtdisc(), \-\_\-dtdisc\-\_\-s\-::memoryf, and N\-I\-L.



Referenced by agclose(), agraphattr\-\_\-delete(), and agstrclose().

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdtdelete@{agdtdelete}}
\index{agdtdelete@{agdtdelete}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdtdelete}]{\setlength{\rightskip}{0pt plus 5cm}long agdtdelete (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_ac97f79dac32fd5b9f3492fd1f819218c}


Definition at line 67 of file utils.\-c.



References dtdelete.



Referenced by agstrfree().

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdtdisc@{agdtdisc}}
\index{agdtdisc@{agdtdisc}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdtdisc}]{\setlength{\rightskip}{0pt plus 5cm}void agdtdisc (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{{\bf Dtdisc\-\_\-t} $\ast$}]{disc}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_a1af91b2406d4d9d7ff0d07278898b85c}


Definition at line 95 of file utils.\-c.



References dtdisc(), and N\-I\-L.

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agdtopen@{agdtopen}}
\index{agdtopen@{agdtopen}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agdtopen}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Dict\-\_\-t}$\ast$ agdtopen (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Dtdisc\-\_\-t} $\ast$}]{disc, }
\item[{{\bf Dtmethod\-\_\-t} $\ast$}]{method}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_a86518cd6dff86593d4008052231246de}


Definition at line 53 of file utils.\-c.



References agdictobjmem(), dtopen(), \-\_\-dtdisc\-\_\-s\-::memoryf, and N\-I\-L.



Referenced by aginternalmapinsert(), and agopen1().

\index{cgraph/utils.\-c@{cgraph/utils.\-c}!agobjfinalize@{agobjfinalize}}
\index{agobjfinalize@{agobjfinalize}!cgraph/utils.c@{cgraph/utils.\-c}}
\subsubsection[{agobjfinalize}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agobjfinalize (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{cgraph_2utils_8c_a28622cb691319c7289c199b13b7ea912}


Definition at line 73 of file utils.\-c.



References agfree().

