\hypertarget{group__Eina__Value}{}\section{Eina\+\_\+\+Value to/from Message}
\label{group__Eina__Value}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc} $\ast$ \hyperlink{group__Eina__Value_gab2f59408bf6a5c2361ce1e7686aabdd3}{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new} (void)
\begin{DoxyCompactList}\small\item\em Create a basic \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} struct desc with refcounting. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eina__Value_gadb125aa377d40acbffce74abceba9b20}{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new} (const char $\ast$timestr)
\begin{DoxyCompactList}\small\item\em Create a new \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} containing the passed parameter. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eina__Value_gaca1d745634fc1077b23d64ea0e4e7bca}{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Convert Eldbus\+\_\+\+Message to Eina\+\_\+\+Value. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eina__Value_gac331783e5183d20d2a16c7ca7c40dbe0}{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value} (const \hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter} $\ast$iter)
\begin{DoxyCompactList}\small\item\em Convert Eldbus\+\_\+\+Message\+\_\+\+Iter of type variant, struct or dict entry to Eina\+\_\+\+Value. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value_ga525bec3d976a9489b27eb6ffa78cc4a6}{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value} (const char $\ast$signature, \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value)
\begin{DoxyCompactList}\small\item\em Convert Eina\+\_\+\+Value to Eldbus\+\_\+\+Message. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\hypertarget{group__Eina__Value_gab2f59408bf6a5c2361ce1e7686aabdd3}{}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}!eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new@{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new}}
\index{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new@{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new}!Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsubsection[{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc}$\ast$ eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Eina__Value_gab2f59408bf6a5c2361ce1e7686aabdd3}


Create a basic \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} struct desc with refcounting. 

\begin{DoxyReturn}{Returns}
The \hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc} on success, {\ttfamily N\+U\+L\+L} on failure 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+S\+T\+R\+U\+C\+T\+\_\+\+D\+E\+S\+C\+\_\+\+V\+E\+R\+S\+I\+O\+N.

\hypertarget{group__Eina__Value_gadb125aa377d40acbffce74abceba9b20}{}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}!eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new@{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new}}
\index{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new@{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new}!Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsubsection[{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new(const char $\ast$timestr)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value}$\ast$ eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{timestr}
\end{DoxyParamCaption}
)}\label{group__Eina__Value_gadb125aa377d40acbffce74abceba9b20}


Create a new \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} containing the passed parameter. 


\begin{DoxyParams}{Parameters}
{\em timestr} & The value to use \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References eina\+\_\+value\+\_\+new(), eina\+\_\+value\+\_\+set(), E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+S\+T\+A\+M\+P, and strptime().

\hypertarget{group__Eina__Value_gaca1d745634fc1077b23d64ea0e4e7bca}{}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}!eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value}}
\index{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value}!Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value(const Eldbus\+\_\+\+Message $\ast$msg)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value}$\ast$ eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\label{group__Eina__Value_gaca1d745634fc1077b23d64ea0e4e7bca}


Convert Eldbus\+\_\+\+Message to Eina\+\_\+\+Value. 


\begin{DoxyParams}{Parameters}
{\em msg} & Message \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eina\+\_\+\+Value of type Eina\+\_\+\+Value\+\_\+\+Type\+\_\+\+Struct 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}


References eldbus\+\_\+message\+\_\+iter\+\_\+get().

\hypertarget{group__Eina__Value_gac331783e5183d20d2a16c7ca7c40dbe0}{}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}!eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value}}
\index{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value}!Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value(const Eldbus\+\_\+\+Message\+\_\+\+Iter $\ast$iter)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value}$\ast$ eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message\+\_\+\+Iter} $\ast$}]{iter}
\end{DoxyParamCaption}
)}\label{group__Eina__Value_gac331783e5183d20d2a16c7ca7c40dbe0}


Convert Eldbus\+\_\+\+Message\+\_\+\+Iter of type variant, struct or dict entry to Eina\+\_\+\+Value. 


\begin{DoxyParams}{Parameters}
{\em iter} & Message iterator \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eina\+\_\+\+Value of type Eina\+\_\+\+Value\+\_\+\+Type\+\_\+\+Struct 
\end{DoxyReturn}
\hypertarget{group__Eina__Value_ga525bec3d976a9489b27eb6ffa78cc4a6}{}\index{Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}!eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value}}
\index{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value@{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value}!Eina\+\_\+\+Value to/from Message@{Eina\+\_\+\+Value to/from Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value(const char $\ast$signature, Eldbus\+\_\+\+Message $\ast$msg, const Eina\+\_\+\+Value $\ast$value)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{signature, }
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const {\bf Eina\+\_\+\+Value} $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Eina__Value_ga525bec3d976a9489b27eb6ffa78cc4a6}


Convert Eina\+\_\+\+Value to Eldbus\+\_\+\+Message. 


\begin{DoxyParams}{Parameters}
{\em signature} & dbus signature \\
\hline
{\em msg} & where data will be put \\
\hline
{\em value} & source of data, must be of type Eina\+\_\+\+Value\+\_\+\+Type\+\_\+\+Struct \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
success or not 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and eldbus\+\_\+message\+\_\+iter\+\_\+get().

