\hypertarget{group__Eina__Value__List__Group}{\section{Generic Value List management}
\label{group__Eina__Value__List__Group}\index{Generic Value List management@{Generic Value List management}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Value__List}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+List}
\begin{DoxyCompactList}\small\item\em Used to store the list and its subtype. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Eina__Value__List}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+List} \hyperlink{group__Eina__Value__List__Group_gaf13bd852ca4f67818bb09df47031dd6e}{Eina\+\_\+\+Value\+\_\+\+List}
\begin{DoxyCompactList}\small\item\em Value type for \hyperlink{group__Eina__Value__Group_gac85f195aac0c6a11510ab02af2bdbd1e}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eina__Value__List__Group_ga946d2deb53312cd289e64d0ce397d76e}{eina\+\_\+value\+\_\+list\+\_\+new} (const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$subtype)
\begin{DoxyCompactList}\small\item\em Create generic value storage of type list. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gaafec5c6528a5d2e2140feb55417ebc31}{eina\+\_\+value\+\_\+list\+\_\+setup} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$subtype)
\begin{DoxyCompactList}\small\item\em Initialize generic value storage of type list. \end{DoxyCompactList}\item 
static unsigned int \hyperlink{group__Eina__Value__List__Group_ga7f8feb51228d5ef85616e931db2875ad}{eina\+\_\+value\+\_\+list\+\_\+count} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value)
\begin{DoxyCompactList}\small\item\em Query number of elements in value of list type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gacf44a35a10c28c64c998b877f434b95e}{eina\+\_\+value\+\_\+list\+\_\+remove} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position)
\begin{DoxyCompactList}\small\item\em Remove element at given position in value of list type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Set the generic value in an list member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Get the generic value from an list member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Insert the generic value in an list member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value,...)
\begin{DoxyCompactList}\small\item\em Append the generic value in an list. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Set the generic value in an list member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga4d1be252489e727e0b396e67b9e10232}{eina\+\_\+value\+\_\+list\+\_\+vget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Get the generic value from an list member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Insert the generic value in an list member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Append the generic value in an list. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Set the generic value in an list member from pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga09beae5ac4d07ec05130fa5c064acd5b}{eina\+\_\+value\+\_\+list\+\_\+pget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Get the generic value to pointer from an list member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Insert the generic value in an list member position from pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Append the generic value in an list from pointer. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Typedef Documentation}
\hypertarget{group__Eina__Value__List__Group_gaf13bd852ca4f67818bb09df47031dd6e}{\index{Generic Value List management@{Generic Value List management}!Eina\+\_\+\+Value\+\_\+\+List@{Eina\+\_\+\+Value\+\_\+\+List}}
\index{Eina\+\_\+\+Value\+\_\+\+List@{Eina\+\_\+\+Value\+\_\+\+List}!Generic Value List management@{Generic Value List management}}
\subsubsection[{Eina\+\_\+\+Value\+\_\+\+List}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value\+\_\+\+List}}}\label{group__Eina__Value__List__Group_gaf13bd852ca4f67818bb09df47031dd6e}


Value type for \hyperlink{group__Eina__Value__Group_gac85f195aac0c6a11510ab02af2bdbd1e}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T}. 

\begin{DoxySeeAlso}{See also}
\hyperlink{struct__Eina__Value__List}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+List} explains fields. 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


\subsection{Function Documentation}
\hypertarget{group__Eina__Value__List__Group_ga946d2deb53312cd289e64d0ce397d76e}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+new@{eina\+\_\+value\+\_\+list\+\_\+new}}
\index{eina\+\_\+value\+\_\+list\+\_\+new@{eina\+\_\+value\+\_\+list\+\_\+new}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Value}$\ast$ eina\+\_\+value\+\_\+list\+\_\+new (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\+\_\+\+Value\+\_\+\+Type} $\ast$}]{subtype}
\end{DoxyParamCaption}
)}}\label{group__Eina__Value__List__Group_ga946d2deb53312cd289e64d0ce397d76e}


Create generic value storage of type list. 


\begin{DoxyParams}{Parameters}
{\em subtype} & how to manage this list members. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new value or {\ttfamily N\+U\+L\+L} on failure.
\end{DoxyReturn}
Create a new generic value storage of type list. The members are managed using the description specified by {\itshape subtype}.

On failure, {\ttfamily N\+U\+L\+L} is returned.

\begin{DoxyNote}{Note}
this creates from mempool and then uses \hyperlink{group__Eina__Value__List__Group_gaafec5c6528a5d2e2140feb55417ebc31}{eina\+\_\+value\+\_\+list\+\_\+setup()}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\+\_\+value\+\_\+free()} 

\hyperlink{group__Eina__Value__List__Group_gaafec5c6528a5d2e2140feb55417ebc31}{eina\+\_\+value\+\_\+list\+\_\+setup()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References eina\+\_\+mempool\+\_\+free(), eina\+\_\+mempool\+\_\+malloc(), eina\+\_\+value\+\_\+list\+\_\+setup(), and eina\+\_\+value\+\_\+type\+\_\+check().

\hypertarget{group__Eina__Value__List__Group_gaafec5c6528a5d2e2140feb55417ebc31}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+setup@{eina\+\_\+value\+\_\+list\+\_\+setup}}
\index{eina\+\_\+value\+\_\+list\+\_\+setup@{eina\+\_\+value\+\_\+list\+\_\+setup}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+setup}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+setup (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{const {\bf Eina\+\_\+\+Value\+\_\+\+Type} $\ast$}]{subtype}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gaafec5c6528a5d2e2140feb55417ebc31}


Initialize generic value storage of type list. 


\begin{DoxyParams}{Parameters}
{\em value} & value object \\
\hline
{\em subtype} & how to manage this list members. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
Initializes new generic value storage of type list with the given {\itshape subtype}.

This is the same as calling \hyperlink{group__Eina__Value__Value__Group_ga9a1407c953694c3d6f40ab01ebe9a294}{eina\+\_\+value\+\_\+set()} with \hyperlink{group__Eina__Value__Group_gac85f195aac0c6a11510ab02af2bdbd1e}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T} followed by \hyperlink{group__Eina__Value__Value__Group_ga60352abff8ce5f9cdfc870ba9cf2f28e}{eina\+\_\+value\+\_\+pset()} with the \hyperlink{group__Eina__Value__List__Group_gaf13bd852ca4f67818bb09df47031dd6e}{Eina\+\_\+\+Value\+\_\+\+List} description configured.

\begin{DoxyNote}{Note}
Existing contents are ignored! If the value was previously used, then use \hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()} first.
\end{DoxyNote}
On failure, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} is returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


Referenced by eina\+\_\+value\+\_\+list\+\_\+new().

\hypertarget{group__Eina__Value__List__Group_ga7f8feb51228d5ef85616e931db2875ad}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+count@{eina\+\_\+value\+\_\+list\+\_\+count}}
\index{eina\+\_\+value\+\_\+list\+\_\+count@{eina\+\_\+value\+\_\+list\+\_\+count}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+count}]{\setlength{\rightskip}{0pt plus 5cm}static unsigned int eina\+\_\+value\+\_\+list\+\_\+count (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\+\_\+\+Value} $\ast$}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga7f8feb51228d5ef85616e931db2875ad}


Query number of elements in value of list type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of child elements. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gacf44a35a10c28c64c998b877f434b95e}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+remove@{eina\+\_\+value\+\_\+list\+\_\+remove}}
\index{eina\+\_\+value\+\_\+list\+\_\+remove@{eina\+\_\+value\+\_\+list\+\_\+remove}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+remove}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+remove (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gacf44a35a10c28c64c998b877f434b95e}


Remove element at given position in value of list type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+set@{eina\+\_\+value\+\_\+list\+\_\+set}}
\index{eina\+\_\+value\+\_\+list\+\_\+set@{eina\+\_\+value\+\_\+list\+\_\+set}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}


Set the generic value in an list member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x;
3 
4 eina\_value\_list\_append(value, 1234);
5 eina\_value\_list\_set(value, 0, 5678);
6 eina\_value\_list\_get(value, 0, &x);
7 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+get@{eina\+\_\+value\+\_\+list\+\_\+get}}
\index{eina\+\_\+value\+\_\+list\+\_\+get@{eina\+\_\+value\+\_\+list\+\_\+get}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}


Get the generic value from an list member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation, thus the contents should {\bfseries not} be freed.

The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x;
3 
4 eina\_value\_list\_append(value, 1234);
5 eina\_value\_list\_get(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+insert@{eina\+\_\+value\+\_\+list\+\_\+insert}}
\index{eina\+\_\+value\+\_\+list\+\_\+insert@{eina\+\_\+value\+\_\+list\+\_\+insert}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+insert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+insert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}


Insert the generic value in an list member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x;
3 
4 eina\_value\_list\_insert(value, 0, 1234);
5 eina\_value\_list\_get(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+append@{eina\+\_\+value\+\_\+list\+\_\+append}}
\index{eina\+\_\+value\+\_\+list\+\_\+append@{eina\+\_\+value\+\_\+list\+\_\+append}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+append}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+append (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}


Append the generic value in an list. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x;
3 
4 eina\_value\_list\_append(value, 1234);
5 eina\_value\_list\_get(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+vset@{eina\+\_\+value\+\_\+list\+\_\+vset}}
\index{eina\+\_\+value\+\_\+list\+\_\+vset@{eina\+\_\+value\+\_\+list\+\_\+vset}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+vset}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+vset (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\+\_\+list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}


Set the generic value in an list member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga4d1be252489e727e0b396e67b9e10232}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+vget@{eina\+\_\+value\+\_\+list\+\_\+vget}}
\index{eina\+\_\+value\+\_\+list\+\_\+vget@{eina\+\_\+value\+\_\+list\+\_\+vget}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+vget}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+vget (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\+\_\+list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga4d1be252489e727e0b396e67b9e10232}


Get the generic value from an list member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation, thus the contents should {\bfseries not} be freed.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_ga09beae5ac4d07ec05130fa5c064acd5b}{eina\+\_\+value\+\_\+list\+\_\+pget()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+vinsert@{eina\+\_\+value\+\_\+list\+\_\+vinsert}}
\index{eina\+\_\+value\+\_\+list\+\_\+vinsert@{eina\+\_\+value\+\_\+list\+\_\+vinsert}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+vinsert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+vinsert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\+\_\+list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}


Insert the generic value in an list member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+vappend@{eina\+\_\+value\+\_\+list\+\_\+vappend}}
\index{eina\+\_\+value\+\_\+list\+\_\+vappend@{eina\+\_\+value\+\_\+list\+\_\+vappend}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+vappend}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+vappend (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{va\+\_\+list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}


Append the generic value in an list. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_ga4d1be252489e727e0b396e67b9e10232}{eina\+\_\+value\+\_\+list\+\_\+vget()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+pset@{eina\+\_\+value\+\_\+list\+\_\+pset}}
\index{eina\+\_\+value\+\_\+list\+\_\+pset@{eina\+\_\+value\+\_\+list\+\_\+pset}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+pset}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+pset (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}


Set the generic value in an list member from pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x = 1234;
3 
4 eina\_value\_list\_append(value, 1234);
5 eina\_value\_list\_pset(value, 0, &x);
6 eina\_value\_list\_pget(value, 0, &x);
7 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga09beae5ac4d07ec05130fa5c064acd5b}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+pget@{eina\+\_\+value\+\_\+list\+\_\+pget}}
\index{eina\+\_\+value\+\_\+list\+\_\+pget@{eina\+\_\+value\+\_\+list\+\_\+pget}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+pget}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+pget (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga09beae5ac4d07ec05130fa5c064acd5b}


Get the generic value to pointer from an list member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to receive the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The value is returned in pointer contents, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation, thus the contents should {\bfseries not} be freed.

The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x;
3 
4 eina\_value\_list\_append(value, 1234);
5 eina\_value\_list\_pget(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga3394c575297f44f51510cdafe518a135}{eina\+\_\+value\+\_\+list\+\_\+pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+pinsert@{eina\+\_\+value\+\_\+list\+\_\+pinsert}}
\index{eina\+\_\+value\+\_\+list\+\_\+pinsert@{eina\+\_\+value\+\_\+list\+\_\+pinsert}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+pinsert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+pinsert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}


Insert the generic value in an list member position from pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x = 1234;
3 
4 eina\_value\_list\_pinsert(value, 0, &x);
5 eina\_value\_list\_pget(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\hypertarget{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{\index{Generic Value List management@{Generic Value List management}!eina\+\_\+value\+\_\+list\+\_\+pappend@{eina\+\_\+value\+\_\+list\+\_\+pappend}}
\index{eina\+\_\+value\+\_\+list\+\_\+pappend@{eina\+\_\+value\+\_\+list\+\_\+pappend}!Generic Value List management@{Generic Value List management}}
\subsubsection[{eina\+\_\+value\+\_\+list\+\_\+pappend}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+list\+\_\+pappend (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Value} $\ast$}]{value, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}


Append the generic value in an list from pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+A\+R\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+R\+T\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+N\+G\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+A\+R\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+R\+T\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+N\+G\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+A\+T\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+R\+E\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+S\+T\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+S\+H\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+A\+L\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+O\+B\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+C\+T\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
1 Eina\_Value *value = eina\_value\_list\_new(EINA\_VALUE\_TYPE\_INT);
2 int x = 1234;
3 
4 eina\_value\_list\_pappend(value, &x);
5 eina\_value\_list\_pget(value, 0, &x);
6 eina\_value\_free(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__List__Group_gafc779df6ff45d16b7ee83d82c0862964}{eina\+\_\+value\+\_\+list\+\_\+set()} 

\hyperlink{group__Eina__Value__List__Group_gaf1b31fc2085b8077f3789bb9365e6818}{eina\+\_\+value\+\_\+list\+\_\+get()} 

\hyperlink{group__Eina__Value__List__Group_gaaf1a01660592d3c6c563732420d6bd5d}{eina\+\_\+value\+\_\+list\+\_\+vset()} 

\hyperlink{group__Eina__Value__List__Group_ga9ebf2390187d96a0429c1f48584f60f8}{eina\+\_\+value\+\_\+list\+\_\+insert()} 

\hyperlink{group__Eina__Value__List__Group_ga8e69ec401196cd2c12a0e6c0583d2e2a}{eina\+\_\+value\+\_\+list\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__List__Group_ga359a5923f24ef4f93d207da4ce1922ee}{eina\+\_\+value\+\_\+list\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__List__Group_gafa73de27b260bfe24c9fc55148e5afc0}{eina\+\_\+value\+\_\+list\+\_\+append()} 

\hyperlink{group__Eina__Value__List__Group_ga838495ed2c8b97c5f94866574065c434}{eina\+\_\+value\+\_\+list\+\_\+vappend()} 

\hyperlink{group__Eina__Value__List__Group_gad51aed899d09a8adbf682d1793bf29c3}{eina\+\_\+value\+\_\+list\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
