\hypertarget{errors_8c}{}\doxysection{errors.\+c File Reference}
\label{errors_8c}\index{errors.c@{errors.c}}


Used for writing the error/warning information into a key to be used for emitting messages to the user.  


{\ttfamily \#include $<$kdberrors.\+h$>$}\newline
{\ttfamily \#include $<$kdbprivate.\+h$>$}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
Include dependency graph for errors.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{errors_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{errors_8c_acdce5fac1acd5a51d6506418cbb7feed}{elektra\+Copy\+Error}} (Key $\ast$target, Key $\ast$source)
\begin{DoxyCompactList}\small\item\em Copy the error from the source key to target key. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{errors_8c_a6e88fc3914310acd5ce76b7e73151703}{elektra\+Copy\+Warnings}} (Key $\ast$target, Key $\ast$source)
\begin{DoxyCompactList}\small\item\em Copy the warnings from the source key to target key. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{errors_8c_a36f0cff687c691ef1707631a62dce718}{elektra\+Copy\+Error\+And\+Warnings}} (Key $\ast$target, Key $\ast$source)
\begin{DoxyCompactList}\small\item\em Copies the error and warnings from the source key to the target key. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Used for writing the error/warning information into a key to be used for emitting messages to the user. 

\begin{DoxyCopyright}{Copyright}
BSD License (see doc/\+COPYING or \href{https://www.libelektra.org}{\texttt{ https\+://www.\+libelektra.\+org}}) 
\end{DoxyCopyright}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{errors_8c_acdce5fac1acd5a51d6506418cbb7feed}\label{errors_8c_acdce5fac1acd5a51d6506418cbb7feed}} 
\index{errors.c@{errors.c}!elektraCopyError@{elektraCopyError}}
\index{elektraCopyError@{elektraCopyError}!errors.c@{errors.c}}
\doxysubsubsection{\texorpdfstring{elektraCopyError()}{elektraCopyError()}}
{\footnotesize\ttfamily void elektra\+Copy\+Error (\begin{DoxyParamCaption}\item[{Key $\ast$}]{target,  }\item[{Key $\ast$}]{source }\end{DoxyParamCaption})}



Copy the error from the source key to target key. 


\begin{DoxyParams}{Parameters}
{\em target} & append error to this key \\
\hline
{\em source} & copy error from this key \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{errors_8c_a36f0cff687c691ef1707631a62dce718}\label{errors_8c_a36f0cff687c691ef1707631a62dce718}} 
\index{errors.c@{errors.c}!elektraCopyErrorAndWarnings@{elektraCopyErrorAndWarnings}}
\index{elektraCopyErrorAndWarnings@{elektraCopyErrorAndWarnings}!errors.c@{errors.c}}
\doxysubsubsection{\texorpdfstring{elektraCopyErrorAndWarnings()}{elektraCopyErrorAndWarnings()}}
{\footnotesize\ttfamily void elektra\+Copy\+Error\+And\+Warnings (\begin{DoxyParamCaption}\item[{Key $\ast$}]{target,  }\item[{Key $\ast$}]{source }\end{DoxyParamCaption})}



Copies the error and warnings from the source key to the target key. 

Note that only 100 warnings can be had. If we exceed that, we\textquotesingle{}ll override the existing warnings in the target key


\begin{DoxyParams}{Parameters}
{\em target} & copy error and warnings to this key \\
\hline
{\em source} & copy error and warnings from this key \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{errors_8c_a6e88fc3914310acd5ce76b7e73151703}\label{errors_8c_a6e88fc3914310acd5ce76b7e73151703}} 
\index{errors.c@{errors.c}!elektraCopyWarnings@{elektraCopyWarnings}}
\index{elektraCopyWarnings@{elektraCopyWarnings}!errors.c@{errors.c}}
\doxysubsubsection{\texorpdfstring{elektraCopyWarnings()}{elektraCopyWarnings()}}
{\footnotesize\ttfamily void elektra\+Copy\+Warnings (\begin{DoxyParamCaption}\item[{Key $\ast$}]{target,  }\item[{Key $\ast$}]{source }\end{DoxyParamCaption})}



Copy the warnings from the source key to target key. 

Note that only 100 warnings can be had. If we exceed that, we\textquotesingle{}ll override the existing warnings in the target key.


\begin{DoxyParams}{Parameters}
{\em target} & append warnings to this key \\
\hline
{\em source} & copy warnings from this key \\
\hline
\end{DoxyParams}
