\hypertarget{trie_8c}{\section{trie.\+c File Reference}
\label{trie_8c}\index{trie.\+c@{trie.\+c}}
}


Interna of trie functionality.  


{\ttfamily \#include \char`\"{}kdbinternal.\+h\char`\"{}}\\*
Include dependency graph for trie.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{trie_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
Backend $\ast$ \hyperlink{trie_8c_a01cd822dd59a8929211f9ec804c15561}{elektra\+Trie\+Lookup} (Trie $\ast$trie, const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Internal Datastructure for mountpoints. \end{DoxyCompactList}\item 
int \hyperlink{trie_8c_afbd6d64636af0f06b703c1b0c32c0372}{elektra\+Trie\+Close} (Trie $\ast$trie, Key $\ast$error\+Key)
\begin{DoxyCompactList}\small\item\em Closes the trie and all opened backends within. \end{DoxyCompactList}\end{DoxyCompactItemize}



\subsection{Detailed Description}
Interna of trie functionality. 

\begin{DoxyCopyright}{Copyright}
B\+S\+D License (see doc/\+C\+O\+P\+Y\+I\+N\+G or \href{http://www.libelektra.org}{\tt http\+://www.\+libelektra.\+org}) 
\end{DoxyCopyright}


\subsection{Function Documentation}
\hypertarget{trie_8c_afbd6d64636af0f06b703c1b0c32c0372}{\index{trie.\+c@{trie.\+c}!elektra\+Trie\+Close@{elektra\+Trie\+Close}}
\index{elektra\+Trie\+Close@{elektra\+Trie\+Close}!trie.\+c@{trie.\+c}}
\subsubsection[{elektra\+Trie\+Close}]{\setlength{\rightskip}{0pt plus 5cm}int elektra\+Trie\+Close (
\begin{DoxyParamCaption}
\item[{Trie $\ast$}]{trie, }
\item[{Key $\ast$}]{error\+Key}
\end{DoxyParamCaption}
)}}\label{trie_8c_afbd6d64636af0f06b703c1b0c32c0372}


Closes the trie and all opened backends within. 


\begin{DoxyParams}{Parameters}
{\em trie} & the trie to close \\
\hline
{\em error\+Key} & the key used to report warnings\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em 0} & on success \\
\hline
\end{DoxyRetVals}
\hypertarget{trie_8c_a01cd822dd59a8929211f9ec804c15561}{\index{trie.\+c@{trie.\+c}!elektra\+Trie\+Lookup@{elektra\+Trie\+Lookup}}
\index{elektra\+Trie\+Lookup@{elektra\+Trie\+Lookup}!trie.\+c@{trie.\+c}}
\subsubsection[{elektra\+Trie\+Lookup}]{\setlength{\rightskip}{0pt plus 5cm}Backend$\ast$ elektra\+Trie\+Lookup (
\begin{DoxyParamCaption}
\item[{Trie $\ast$}]{trie, }
\item[{const Key $\ast$}]{key}
\end{DoxyParamCaption}
)}}\label{trie_8c_a01cd822dd59a8929211f9ec804c15561}


Internal Datastructure for mountpoints. 

Lookups a backend inside the trie.

\begin{DoxyReturn}{Returns}
the backend if found 

0 otherwise 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em trie} & the trie object to work with \\
\hline
{\em key} & the name of this key will be looked up \\
\hline
\end{DoxyParams}
