\hypertarget{eina_value_03_8c-example}{}\doxysection{eina\+\_\+value\+\_\+03.\+c}

\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\textcolor{comment}{//Compile\ with:}}
\DoxyCodeLine{\textcolor{comment}{//gcc\ eina\_value\_03.c\ -\/o\ eina\_value\_03\ `pkg-\/config\ -\/-\/cflags\ -\/-\/libs\ eina`}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ <\mbox{\hyperlink{Eina_8h}{Eina.h}}>}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ <sys/time.h>}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_setup(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type,\ \textcolor{keywordtype}{void}\ *mem)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ memset(mem,\ 0,\ type-\/>value\_size);}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_flush(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keywordtype}{void}\ *mem\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_copy(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *src,\ \textcolor{keywordtype}{void}\ *\ dst)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ *tzsrc\ =\ (\textcolor{keyword}{struct\ }timezone\ *)src;}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ *tzdst\ =\ dst;}
\DoxyCodeLine{\ \ \ *tzdst\ =\ *tzsrc;}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \textcolor{keywordtype}{int}}
\DoxyCodeLine{\_tz\_compare(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *a,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *b)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ tza\ =\ *(\textcolor{keyword}{struct\ }timezone*)a;}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ tzb\ =\ *(\textcolor{keyword}{struct\ }timezone*)b;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{if}\ (tza.tz\_minuteswest\ <\ tzb.tz\_minuteswest)}
\DoxyCodeLine{\ \ \ \ \ \textcolor{keywordflow}{return}\ -\/1;}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (tza.tz\_minuteswest\ >\ tzb.tz\_minuteswest)}
\DoxyCodeLine{\ \ \ \ \ \textcolor{keywordflow}{return}\ 1;}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ 0;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_pset(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keywordtype}{void}\ *mem,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *ptr)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ *(\textcolor{keyword}{struct\ }timezone*)mem\ =\ *(\textcolor{keyword}{struct}\ timezone*)ptr;}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_vset(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type,\ \textcolor{keywordtype}{void}\ *mem,\ va\_list\ args)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{const}\ \textcolor{keyword}{struct\ }timezone\ tz\ =\ va\_arg(args,\ \textcolor{keyword}{struct}\ timezone);}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \_tz\_pset(type,\ mem,\ \&tz);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_pget(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *mem,\ \textcolor{keywordtype}{void}\ *ptr)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ memcpy(ptr,\ mem,\ type-\/>value\_size);}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_tz\_convert\_to(\textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *type\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keyword}{const}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ *convert,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *type\_mem,\ \textcolor{keywordtype}{void}\ *convert\_mem)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ v\ =\ *(\textcolor{keyword}{struct\ }timezone*)type\_mem;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga798f7b7886e75d016d782c13332c9f7d}{EINA\_VALUE\_TYPE\_UCHAR}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga50bc262dd61c71bac1024b07c7cb1143}{EINA\_VALUE\_TYPE\_USHORT}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{short}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga2067ec9d7a8b415f78aaa9a0f5f53348}{EINA\_VALUE\_TYPE\_UINT}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ ((convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_gaba83e2d960a53456d059f1aca2f3d7d1}{EINA\_VALUE\_TYPE\_ULONG}})\ ||\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga4406e1fba3da9b1dcb52e4b175370b78}{EINA\_VALUE\_TYPE\_TIMESTAMP}}))}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{long}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_gac700d404e013551f960489cc49df7849}{EINA\_VALUE\_TYPE\_UINT64}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ uint64\_t\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga0d54e0b952b44b7ac4f2fd573f7839c0}{EINA\_VALUE\_TYPE\_CHAR}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga85845b9a6328ff7bfc202f38fe7cbd4c}{EINA\_VALUE\_TYPE\_SHORT}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{short}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_gaf8b9c1de294c0287cf28f514c59204a1}{EINA\_VALUE\_TYPE\_LONG}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{long}\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga127af77aa29eca66320f21145304ba64}{EINA\_VALUE\_TYPE\_INT64}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ int64\_t\ other\_mem\ =\ v.tz\_minuteswest;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_gaa9881efc130366d176e617c8f0f98cf8}{EINA\_VALUE\_TYPE\_FLOAT}})}
\DoxyCodeLine{\ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&v.tz\_minuteswest);}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga959961fb03cd94a84ab469245c543732}{EINA\_VALUE\_TYPE\_DOUBLE}})}
\DoxyCodeLine{\ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&v.tz\_minuteswest);}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga9edaffb2d45ab4d820223289def3e888}{EINA\_VALUE\_TYPE\_STRINGSHARE}}\ ||}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ convert\ ==\ \mbox{\hyperlink{group__Eina__Value__Group_ga916f76c8d5ffd4c3ee3c322a54efd0b7}{EINA\_VALUE\_TYPE\_STRING}})}
\DoxyCodeLine{\ \ \ \ \ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *other\_mem;}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ buf[64];}
\DoxyCodeLine{\ \ \ \ \ \ \ \ snprintf(buf,\ \textcolor{keyword}{sizeof}(buf),\ \textcolor{stringliteral}{"{}\%d"{}},\ v.tz\_minuteswest);}
\DoxyCodeLine{\ \ \ \ \ \ \ \ other\_mem\ =\ buf;\ \textcolor{comment}{/*\ required\ due\ \&buf\ ==\ buf\ */}}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ eina\_value\_type\_pset(convert,\ convert\_mem,\ \&other\_mem);}
\DoxyCodeLine{\ \ \ \ \ \}}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\_FALSE}};}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{struct__Eina__Value__Type}{Eina\_Value\_Type}}\ TZ\_TYPE\ =\ \{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}{EINA\_VALUE\_TYPE\_VERSION}},}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct\ }timezone),}
\DoxyCodeLine{\ \ \ \textcolor{stringliteral}{"{}struct\ timezone"{}},}
\DoxyCodeLine{\ \ \ \_tz\_setup,}
\DoxyCodeLine{\ \ \ \_tz\_flush,}
\DoxyCodeLine{\ \ \ \_tz\_copy,}
\DoxyCodeLine{\ \ \ \_tz\_compare,}
\DoxyCodeLine{\ \ \ \_tz\_convert\_to,}
\DoxyCodeLine{\ \ \ NULL,\ \textcolor{comment}{//No\ convert\ from}}
\DoxyCodeLine{\ \ \ \_tz\_vset,}
\DoxyCodeLine{\ \ \ \_tz\_pset,}
\DoxyCodeLine{\ \ \ \_tz\_pget}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ main(\textcolor{keywordtype}{int}\ argc\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keywordtype}{char}\ **argv\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{struct__Eina__Value}{Eina\_Value}}\ vtv,\ vtz;}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timeval\ tv;}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{struct\ }timezone\ tz;}
\DoxyCodeLine{\ \ \ \textcolor{keywordtype}{char}\ *s;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Eina__Main__Group_ga81b8137665b8a4d2cb38ca50017d4c74}{eina\_init}}();}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ eina\_value\_setup(\&vtv,\ \mbox{\hyperlink{group__Eina__Value__Group_ga0dc75915976bd83b0d15f72a5ba34412}{EINA\_VALUE\_TYPE\_TIMEVAL}});}
\DoxyCodeLine{\ \ \ eina\_value\_setup(\&vtz,\ \&TZ\_TYPE);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ gettimeofday(\&tv,\ \&tz);}
\DoxyCodeLine{\ \ \ eina\_value\_set(\&vtv,\ tv);}
\DoxyCodeLine{\ \ \ eina\_value\_set(\&vtz,\ tz);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ s\ =\ \mbox{\hyperlink{group__Eina__Value__Value__Group_ga6d5197504d68bd4a72ff212fdda2b6af}{eina\_value\_to\_string}}(\&vtv);}
\DoxyCodeLine{\ \ \ printf(\textcolor{stringliteral}{"{}time:\ \%s\(\backslash\)n"{}},\ s);}
\DoxyCodeLine{\ \ \ free(s);}
\DoxyCodeLine{\ \ \ s\ =\ \mbox{\hyperlink{group__Eina__Value__Value__Group_ga6d5197504d68bd4a72ff212fdda2b6af}{eina\_value\_to\_string}}(\&vtz);}
\DoxyCodeLine{\ \ \ printf(\textcolor{stringliteral}{"{}timezone:\ \%s\(\backslash\)n"{}},\ s);}
\DoxyCodeLine{\ \ \ free(s);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Eina__Value__Value__Group_ga27a121e20a7109d5eae7203fc0f54850}{eina\_value\_free}}(\&vtz);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Eina__Value__Value__Group_ga27a121e20a7109d5eae7203fc0f54850}{eina\_value\_free}}(\&vtv);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\_shutdown}}();}
\DoxyCodeLine{\}}

\end{DoxyCodeInclude}
 