\hypertarget{group__Eina__Value}{}\doxysection{Eina\+\_\+\+Value to/from Message}
\label{group__Eina__Value}\index{Eina\_Value to/from Message@{Eina\_Value to/from Message}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Value__Struct__Group_ga69bcc1965b7b57ef713b0370d10f593d}{Eina\+\_\+\+Value\+\_\+\+Struct\+\_\+\+Desc}} $\ast$ \mbox{\hyperlink{group__Eina__Value_ga887ad27af8f8279ea345788c0c7c56f2}{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__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$ \mbox{\hyperlink{group__Eina__Value_gae9a68896e9c25312fcbedbd5c3061f43}{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_gad4dfe479e6b19b2fdbb196f37d769214}{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_ga87bf40e85f557f4c7ca6ac4581617552}{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}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Value_ga887ad27af8f8279ea345788c0c7c56f2}\label{group__Eina__Value_ga887ad27af8f8279ea345788c0c7c56f2}} 
\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}}
\doxysubsubsection{\texorpdfstring{eina\_value\_util\_struct\_desc\_new()}{eina\_value\_util\_struct\_desc\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \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 NULL} on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Value__Struct__Group_gae76aada4965672ce991f1f41baf71975}{EINA\+\_\+\+VALUE\+\_\+\+STRUCT\+\_\+\+DESC\+\_\+\+VERSION}}.

\mbox{\Hypertarget{group__Eina__Value_gae9a68896e9c25312fcbedbd5c3061f43}\label{group__Eina__Value_gae9a68896e9c25312fcbedbd5c3061f43}} 
\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}}
\doxysubsubsection{\texorpdfstring{eina\_value\_util\_time\_string\_new()}{eina\_value\_util\_time\_string\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \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{\texttt{ 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 \mbox{\hyperlink{group__Eina__Value__Value__Group_ga5ca9b1b51f6ab84b1f714508f511c549}{eina\+\_\+value\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Value__Value__Group_ga9a1407c953694c3d6f40ab01ebe9a294}{eina\+\_\+value\+\_\+set()}}, \mbox{\hyperlink{group__Eina__Value__Group_ga4406e1fba3da9b1dcb52e4b175370b78}{EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+TIMESTAMP}}, and \mbox{\hyperlink{group__Evil__Time__Group_ga0ebf87f17b08be5b192003cef8699cd3}{strptime()}}.

\mbox{\Hypertarget{group__Eina__Value_gad4dfe479e6b19b2fdbb196f37d769214}\label{group__Eina__Value_gad4dfe479e6b19b2fdbb196f37d769214}} 
\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gae7cf7b1d66fa9022242e09fd53c06bb2}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eldbus__Message__Iter_ga847256246b5c192f076d204c55e7ac11}{eldbus\+\_\+message\+\_\+iter\+\_\+get()}}.

\mbox{\Hypertarget{group__Eina__Value_ga87bf40e85f557f4c7ca6ac4581617552}\label{group__Eina__Value_ga87bf40e85f557f4c7ca6ac4581617552}} 
\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gae7cf7b1d66fa9022242e09fd53c06bb2}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eldbus__Message__Iter_ga847256246b5c192f076d204c55e7ac11}{eldbus\+\_\+message\+\_\+iter\+\_\+get()}}.

