\hypertarget{keyvalue_8c}{}\doxysection{keyvalue.\+c File Reference}
\label{keyvalue_8c}\index{keyvalue.c@{keyvalue.c}}


Methods for Key value manipulation.  


{\ttfamily \#include \char`\"{}kdbprivate.\+h\char`\"{}}\newline
Include dependency graph for keyvalue.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{keyvalue_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const void $\ast$ \mbox{\hyperlink{group__keyvalue_ga6f29609c5da53c6dc26a98678d5752af}{key\+Value}} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Return a pointer to the real internal {\ttfamily key} value. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__keyvalue_ga880936f2481d28e6e2acbe7486a21d05}{key\+String}} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Get the c-\/string representing the value. \end{DoxyCompactList}\item 
ssize\+\_\+t \mbox{\hyperlink{group__keyvalue_gae326672fffb7474abfe9baf53b73217e}{key\+Get\+Value\+Size}} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Returns the number of bytes needed to store the key value, including the N\+U\+LL terminator. \end{DoxyCompactList}\item 
ssize\+\_\+t \mbox{\hyperlink{group__keyvalue_ga41b9fac5ccddafe407fc0ae1e2eb8778}{key\+Get\+String}} (const Key $\ast$key, char $\ast$returned\+String, size\+\_\+t max\+Size)
\begin{DoxyCompactList}\small\item\em Get the value of a key as a string. \end{DoxyCompactList}\item 
ssize\+\_\+t \mbox{\hyperlink{group__keyvalue_ga622bde1eb0e0c4994728331326340ef2}{key\+Set\+String}} (Key $\ast$key, const char $\ast$new\+String\+Value)
\begin{DoxyCompactList}\small\item\em Set the value for {\ttfamily key} as {\ttfamily new\+String\+Value}. \end{DoxyCompactList}\item 
ssize\+\_\+t \mbox{\hyperlink{group__keyvalue_ga4c0d8a4a11174197699c231e0b5c3c84}{key\+Get\+Binary}} (const Key $\ast$key, void $\ast$returned\+Binary, size\+\_\+t max\+Size)
\begin{DoxyCompactList}\small\item\em Get the value of a key as a binary. \end{DoxyCompactList}\item 
ssize\+\_\+t \mbox{\hyperlink{group__keyvalue_gaa50a5358fd328d373a45f395fa1b99e7}{key\+Set\+Binary}} (Key $\ast$key, const void $\ast$new\+Binary, size\+\_\+t data\+Size)
\begin{DoxyCompactList}\small\item\em Set the value of a key as a binary. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Methods for Key value manipulation. 

\begin{DoxyCopyright}{Copyright}
B\+SD License (see L\+I\+C\+E\+N\+S\+E.\+md or \href{https://www.libelektra.org}{\texttt{ https\+://www.\+libelektra.\+org}}) 
\end{DoxyCopyright}
