\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 
\mbox{\hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc}} $\ast$ \mbox{\hyperlink{group__Eina__Value_gab2f59408bf6a5c2361ce1e7686aabdd3}{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Creates a basic \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} struct desc with refcounting. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$ \mbox{\hyperlink{group__Eina__Value_gadb125aa377d40acbffce74abceba9b20}{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new}} (const char $\ast$timestr)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} containing the passed parameter. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$ \mbox{\hyperlink{group__Eina__Value_gaca1d745634fc1077b23d64ea0e4e7bca}{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value}} (const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Convert Eldbus\+\_\+\+Message to Eina\+\_\+\+Value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$ \mbox{\hyperlink{group__Eina__Value_gac331783e5183d20d2a16c7ca7c40dbe0}{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value_ga525bec3d976a9489b27eb6ffa78cc4a6}{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value}} (const char $\ast$signature, \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg, const \mbox{\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}
\mbox{\Hypertarget{group__Eina__Value_gab2f59408bf6a5c2361ce1e7686aabdd3}\label{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{\texorpdfstring{eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new()}{eina\_value\_util\_struct\_desc\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc}}$\ast$ eina\+\_\+value\+\_\+util\+\_\+struct\+\_\+desc\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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

\begin{DoxyReturn}{Returns}
The \mbox{\hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc}} on success, {\ttfamily N\+U\+LL} on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value_gadb125aa377d40acbffce74abceba9b20}\label{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{\texorpdfstring{eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new()}{eina\_value\_util\_time\_string\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}}$\ast$ eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{timestr }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timestr} & The value to use \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The \mbox{\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\+MP, and strptime().

\mbox{\Hypertarget{group__Eina__Value_gaca1d745634fc1077b23d64ea0e4e7bca}\label{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{\texorpdfstring{eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value()}{eldbus\_message\_to\_eina\_value()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}}$\ast$ eldbus\+\_\+message\+\_\+to\+\_\+eina\+\_\+value (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value_gac331783e5183d20d2a16c7ca7c40dbe0}\label{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{\texorpdfstring{eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value()}{eldbus\_message\_iter\_struct\_like\_to\_eina\_value()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}}$\ast$ eldbus\+\_\+message\+\_\+iter\+\_\+struct\+\_\+like\+\_\+to\+\_\+eina\+\_\+value (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$}]{iter }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eina__Value_ga525bec3d976a9489b27eb6ffa78cc4a6}\label{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{\texorpdfstring{eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value()}{eldbus\_message\_from\_eina\_value()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+from\+\_\+eina\+\_\+value (\begin{DoxyParamCaption}\item[{const char $\ast$}]{signature,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})}



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
\mbox{\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}}.\end{Desc}
