\hypertarget{group__Eina__Tools__Group}{\section{Tools}
\label{group__Eina__Tools__Group}\index{Tools@{Tools}}
}


Eina tools aims to help application development, providing ways to make it safer, log errors, manage memory more efficiently and more.  


\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Benchmark__Group}{Benchmark}
\begin{DoxyCompactList}\small\item\em These functions allow you to add benchmark framework in a project for timing critical part and detect slow parts of code. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Convert__Group}{Convert}
\begin{DoxyCompactList}\small\item\em These functions allow you to convert integer or real numbers to string or conversely. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Counter__Group}{Counter}
\begin{DoxyCompactList}\small\item\em This group discusses the functions that allow you to get the time spent in a part of a code. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Cow__Group}{Copy On Write}
\begin{DoxyCompactList}\small\item\em These functions provide some helper for a pseudo Copy On Write mechanism. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Cpu__Group}{Cpu}
\begin{DoxyCompactList}\small\item\em Cpu and architecture related helpers. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Error__Group}{Error}
\begin{DoxyCompactList}\small\item\em This group discusses the functions that provide error management for projects. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__File__Group}{File}
\begin{DoxyCompactList}\small\item\em This group discusses the functions to handle files and directories. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Lalloc__Group}{Lazy allocator}
\item 
\hyperlink{group__Eina__Lock__Group}{Lock}
\begin{DoxyCompactList}\small\item\em This group provides thread locking and synchronization capabilities. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Log__Group}{Log}
\begin{DoxyCompactList}\small\item\em Full-\/featured logging system. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Magic__Group}{Magic}
\begin{DoxyCompactList}\small\item\em \hyperlink{group__Eina__Magic__Group_ga979d40af6182a8ec32890ba85df88f1d}{Eina\+\_\+\+Magic} provides run-\/time type-\/checking. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Memory__Pool__Group}{Memory Pool}
\begin{DoxyCompactList}\small\item\em This group discusses the functions that provide memory pool management. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Module__Group}{Module}
\begin{DoxyCompactList}\small\item\em Eina module provides some helpers over P\+O\+S\+I\+X \hyperlink{group__Evil__Dlfcn_ga996da7599a89bb84423a0373171ddcee}{dlopen()}. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Prefix__Group}{Prefix}
\begin{DoxyCompactList}\small\item\em This group discusses the functions that provide the ability to determine the runtime location of a software package. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Rectangle__Group}{Rectangle}
\begin{DoxyCompactList}\small\item\em These functions provide rectangle management. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Safety__Checks__Group}{Safety Checks}
\begin{DoxyCompactList}\small\item\em Safety checks are a set of macros to check for parameters or values that should never happen, it is similar in concept to assert(), but will log and return instead of abort() your program. \end{DoxyCompactList}\item 
\hyperlink{group__Schedule}{Schedule}
\begin{DoxyCompactList}\small\item\em T\+O\+D\+O\+: description. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Simple__XML__Group}{Simple\+\_\+\+X\+M\+L}
\begin{DoxyCompactList}\small\item\em Simplistic relaxed S\+A\+X-\/like X\+M\+L parser. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__String__Group}{String}
\begin{DoxyCompactList}\small\item\em Provide useful functions for C string manipulation. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Thread__Group}{Thread}
\begin{DoxyCompactList}\small\item\em Abstracts platform threads, providing an uniform A\+P\+I. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Xattr}{\+\_\+\+Eina\+\_\+\+Xattr}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eina__Tools__Group_ga94caabe159a9a7c9b79fe925d66ae680}{typedef struct \hyperlink{struct__Eina__Xattr}{\+\_\+\+Eina\+\_\+\+Xattr} {\bfseries Eina\+\_\+\+Xattr}}\label{group__Eina__Tools__Group_ga94caabe159a9a7c9b79fe925d66ae680}

\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} \{ \\*
\hyperlink{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ad35191dac37d61fc7c2801fad48ff557}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T}, 
\\*
\hyperlink{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ace44490bfe4f7e023f0756874dd9286e}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E}, 
\\*
\hyperlink{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ae876a765eb0900944d41b37fef5387f8}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D}
 \}
\begin{DoxyCompactList}\small\item\em define extended attribute creation \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Eina__Tools__Group_ga298f8faf4124cc14b82175b54810727f}{eina\+\_\+xattr\+\_\+ls} (const char $\ast$file) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1) \hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+L\+T}
\begin{DoxyCompactList}\small\item\em Get an iterator that list all extended attribute of a file. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Eina__Tools__Group_ga3e86be2b045ad1b70ce4c2a3273d25df}{eina\+\_\+xattr\+\_\+value\+\_\+ls} (const char $\ast$file) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1) \hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+L\+T}
\begin{DoxyCompactList}\small\item\em Get an iterator that list all extended attribute value related to a fd. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Eina__Tools__Group_gaa51b522b7a5b77bdd5da019b08778215}{eina\+\_\+xattr\+\_\+fd\+\_\+ls} (int fd) \hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+L\+T}
\begin{DoxyCompactList}\small\item\em Get an iterator that list all extended attribute related to a fd. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{group__Eina__Tools__Group_ga7552a5625aa4c8d9721563b9319f9c4b}{eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls} (int fd) \hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+L\+T}
\begin{DoxyCompactList}\small\item\em Get an iterator that list all extended attribute value related to a fd. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga27023aac24c8cb42041ab0d19a610415}{eina\+\_\+xattr\+\_\+copy} (const char $\ast$src, const char $\ast$dst) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1
\begin{DoxyCompactList}\small\item\em Copy the extended attribute from one file to another. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga27d995b4c40a2c891a95f8520e912688}{eina\+\_\+xattr\+\_\+fd\+\_\+copy} (int src, int dst)
\begin{DoxyCompactList}\small\item\em Copy the extended attribute from one file descriptor to another. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Eina__Tools__Group_ga7efe77e39be245924e5a279083dbf13c}{eina\+\_\+xattr\+\_\+get} (const char $\ast$file, const char $\ast$attribute, ssize\+\_\+t $\ast$size) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1
\begin{DoxyCompactList}\small\item\em Retrieve an extended attribute from a file. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Eina__Tools__Group_ga0b692409fe4593d7e6d78b50bc5d6d72}{eina\+\_\+xattr\+\_\+fd\+\_\+get} (int fd, const char $\ast$attribute, ssize\+\_\+t $\ast$size) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(2
\begin{DoxyCompactList}\small\item\em Retrieve an extended attribute from a file descriptor. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga88302a7e18e4edf9371776ada5c201fa}{eina\+\_\+xattr\+\_\+set} (const char $\ast$file, const char $\ast$attribute, const void $\ast$data, ssize\+\_\+t length, \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} flags) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1
\begin{DoxyCompactList}\small\item\em Set an extended attribute on a file. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga5c0b736357f27fad46077ab3639bdcd5}{eina\+\_\+xattr\+\_\+fd\+\_\+set} (int fd, const char $\ast$attribute, const void $\ast$data, ssize\+\_\+t length, \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} flags) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(2
\begin{DoxyCompactList}\small\item\em Set an extended attribute on a file descriptor. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \\*
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_gae9974f188c14d5ce4b0a663c648fa6ac}{eina\+\_\+xattr\+\_\+del} (const char $\ast$file, const char $\ast$attribute) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(1
\begin{DoxyCompactList}\small\item\em Delete (remove) an extended attribute from a file. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \\*
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga1e8c885c3d3890a5f62edee42e51a962}{eina\+\_\+xattr\+\_\+fd\+\_\+del} (int fd, const char $\ast$attribute) \hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+L\+L}(2)
\begin{DoxyCompactList}\small\item\em Delete (remove) an extended attribute from a file descriptor. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga17eefbfd9d72869049797e0101df9747}{eina\+\_\+xattr\+\_\+string\+\_\+set} (const char $\ast$file, const char $\ast$attribute, const char $\ast$data, \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} flags)
\begin{DoxyCompactList}\small\item\em Set a string as a extended attribute properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} char $\ast$ \hyperlink{group__Eina__Tools__Group_ga2a0cdd9e4858b4a2427a4323f6915fcc}{eina\+\_\+xattr\+\_\+string\+\_\+get} (const char $\ast$file, const char $\ast$attribute)
\begin{DoxyCompactList}\small\item\em Get a string from an extended attribute properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_gaaa0c45a781f6423c6198d0655a958b15}{eina\+\_\+xattr\+\_\+double\+\_\+set} (const char $\ast$file, const char $\ast$attribute, double value, \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} flags)
\begin{DoxyCompactList}\small\item\em Set a double as a extended attribute properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga24d65206c2b78d7ce7a99be3cb636642}{eina\+\_\+xattr\+\_\+double\+\_\+get} (const char $\ast$file, const char $\ast$attribute, double $\ast$value)
\begin{DoxyCompactList}\small\item\em Get a double from an extended attribute properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga780f9fa5eb05397afb52485c80cb36f6}{eina\+\_\+xattr\+\_\+int\+\_\+set} (const char $\ast$file, const char $\ast$attribute, int value, \hyperlink{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{Eina\+\_\+\+Xattr\+\_\+\+Flags} flags)
\begin{DoxyCompactList}\small\item\em Set an int as a extended attribute properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Tools__Group_ga7a6db379f8d665e54f7d6f007313a120}{eina\+\_\+xattr\+\_\+int\+\_\+get} (const char $\ast$file, const char $\ast$attribute, int $\ast$value)
\begin{DoxyCompactList}\small\item\em Get a int from an extended attribute properties. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eina__Tools__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void {\bfseries E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+L\+T}}\label{group__Eina__Tools__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Eina tools aims to help application development, providing ways to make it safer, log errors, manage memory more efficiently and more. 

For more information refer to the \hyperlink{tutorial_eina_string}{string example}.

\subsection{Enumeration Type Documentation}
\hypertarget{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}{\index{Tools@{Tools}!Eina\+\_\+\+Xattr\+\_\+\+Flags@{Eina\+\_\+\+Xattr\+\_\+\+Flags}}
\index{Eina\+\_\+\+Xattr\+\_\+\+Flags@{Eina\+\_\+\+Xattr\+\_\+\+Flags}!Tools@{Tools}}
\subsubsection[{Eina\+\_\+\+Xattr\+\_\+\+Flags}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}}\label{group__Eina__Tools__Group_ga016f6b7c97a22104a6ba6d1b042548c8}


define extended attribute creation 

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T}!Tools@{Tools}}\index{Tools@{Tools}!E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T}}\item[{\em 
\hypertarget{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ad35191dac37d61fc7c2801fad48ff557}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+I\+N\+S\+E\+R\+T}\label{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ad35191dac37d61fc7c2801fad48ff557}
}]This is the default behaviour, it will either create or replace the extended attribute. \index{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E}!Tools@{Tools}}\index{Tools@{Tools}!E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E}}\item[{\em 
\hypertarget{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ace44490bfe4f7e023f0756874dd9286e}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+R\+E\+P\+L\+A\+C\+E}\label{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ace44490bfe4f7e023f0756874dd9286e}
}]This will only succeed if the extended attribute previously existed. \index{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D}!Tools@{Tools}}\index{Tools@{Tools}!E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D@{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D}}\item[{\em 
\hypertarget{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ae876a765eb0900944d41b37fef5387f8}{E\+I\+N\+A\+\_\+\+X\+A\+T\+T\+R\+\_\+\+C\+R\+E\+A\+T\+E\+D}\label{group__Eina__Tools__Group_gga016f6b7c97a22104a6ba6d1b042548c8ae876a765eb0900944d41b37fef5387f8}
}]This will only succeed if the extended attribute wasn't previously set. \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Eina__Tools__Group_ga298f8faf4124cc14b82175b54810727f}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+ls@{eina\+\_\+xattr\+\_\+ls}}
\index{eina\+\_\+xattr\+\_\+ls@{eina\+\_\+xattr\+\_\+ls}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+ls}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Iterator}$\ast$ eina\+\_\+xattr\+\_\+ls (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga298f8faf4124cc14b82175b54810727f}


Get an iterator that list all extended attribute of a file. 


\begin{DoxyParams}{Parameters}
{\em file} & The filename to retrieve the extended attribute list from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator.
\end{DoxyReturn}
The iterator will not allocate any data during the iteration step, so you need to copy them yourself if you need.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+E\+T, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+R\+E\+E, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+G\+E\+T\+\_\+\+C\+O\+N\+T\+A\+I\+N\+E\+R, and F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+N\+E\+X\+T.

\hypertarget{group__Eina__Tools__Group_ga3e86be2b045ad1b70ce4c2a3273d25df}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+value\+\_\+ls@{eina\+\_\+xattr\+\_\+value\+\_\+ls}}
\index{eina\+\_\+xattr\+\_\+value\+\_\+ls@{eina\+\_\+xattr\+\_\+value\+\_\+ls}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+value\+\_\+ls}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Iterator}$\ast$ eina\+\_\+xattr\+\_\+value\+\_\+ls (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga3e86be2b045ad1b70ce4c2a3273d25df}


Get an iterator that list all extended attribute value related to a fd. 


\begin{DoxyParams}{Parameters}
{\em file} & The filename to retrieve the extended attribute list from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator.
\end{DoxyReturn}
The iterator will not allocate any data during the iteration step, so you need to copy them yourself if you need. The iterator will provide an Eina\+\_\+\+Xattr structure.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+E\+T, eina\+\_\+stringshare\+\_\+add(), F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+R\+E\+E, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+G\+E\+T\+\_\+\+C\+O\+N\+T\+A\+I\+N\+E\+R, and F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+N\+E\+X\+T.

\hypertarget{group__Eina__Tools__Group_gaa51b522b7a5b77bdd5da019b08778215}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+fd\+\_\+ls@{eina\+\_\+xattr\+\_\+fd\+\_\+ls}}
\index{eina\+\_\+xattr\+\_\+fd\+\_\+ls@{eina\+\_\+xattr\+\_\+fd\+\_\+ls}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+fd\+\_\+ls}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Iterator}$\ast$ eina\+\_\+xattr\+\_\+fd\+\_\+ls (
\begin{DoxyParamCaption}
\item[{int}]{fd}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_gaa51b522b7a5b77bdd5da019b08778215}


Get an iterator that list all extended attribute related to a fd. 


\begin{DoxyParams}{Parameters}
{\em fd} & The file descriptor to retrieve the extended attribute list from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator.
\end{DoxyReturn}
The iterator will not allocate any data during the iteration step, so you need to copy them yourself if you need.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+E\+T, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+R\+E\+E, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+G\+E\+T\+\_\+\+C\+O\+N\+T\+A\+I\+N\+E\+R, and F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+N\+E\+X\+T.



Referenced by eina\+\_\+file\+\_\+xattr\+\_\+get().

\hypertarget{group__Eina__Tools__Group_ga7552a5625aa4c8d9721563b9319f9c4b}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls@{eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls}}
\index{eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls@{eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Iterator}$\ast$ eina\+\_\+xattr\+\_\+value\+\_\+fd\+\_\+ls (
\begin{DoxyParamCaption}
\item[{int}]{fd}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga7552a5625aa4c8d9721563b9319f9c4b}


Get an iterator that list all extended attribute value related to a fd. 


\begin{DoxyParams}{Parameters}
{\em fd} & The file descriptor to retrieve the extended attribute list from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator.
\end{DoxyReturn}
The iterator will not allocate any data during the iteration step, so you need to copy them yourself if you need. The iterator will provide an Eina\+\_\+\+Xattr structure.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+E\+T, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+R\+E\+E, F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+G\+E\+T\+\_\+\+C\+O\+N\+T\+A\+I\+N\+E\+R, and F\+U\+N\+C\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+N\+E\+X\+T.



Referenced by eina\+\_\+file\+\_\+xattr\+\_\+value\+\_\+get().

\hypertarget{group__Eina__Tools__Group_ga27023aac24c8cb42041ab0d19a610415}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+copy@{eina\+\_\+xattr\+\_\+copy}}
\index{eina\+\_\+xattr\+\_\+copy@{eina\+\_\+xattr\+\_\+copy}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+copy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+copy (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{src, }
\item[{const char $\ast$}]{dst}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga27023aac24c8cb42041ab0d19a610415}


Copy the extended attribute from one file to another. 


\begin{DoxyParams}{Parameters}
{\em src} & source file to use as input. \\
\hline
{\em dst} & destination file to use as output. \\
\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__Tools__Group_ga27d995b4c40a2c891a95f8520e912688}{eina\+\_\+xattr\+\_\+fd\+\_\+copy()} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Eina__Tools__Group_ga27d995b4c40a2c891a95f8520e912688}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+fd\+\_\+copy@{eina\+\_\+xattr\+\_\+fd\+\_\+copy}}
\index{eina\+\_\+xattr\+\_\+fd\+\_\+copy@{eina\+\_\+xattr\+\_\+fd\+\_\+copy}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+fd\+\_\+copy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+fd\+\_\+copy (
\begin{DoxyParamCaption}
\item[{int}]{src, }
\item[{int}]{dst}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga27d995b4c40a2c891a95f8520e912688}


Copy the extended attribute from one file descriptor to another. 


\begin{DoxyParams}{Parameters}
{\em src} & source file descriptor to use as input. \\
\hline
{\em dst} & destination file descriptor to use as output. \\
\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__Tools__Group_ga27023aac24c8cb42041ab0d19a610415}{eina\+\_\+xattr\+\_\+copy()} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eina__Tools__Group_ga7efe77e39be245924e5a279083dbf13c}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+get@{eina\+\_\+xattr\+\_\+get}}
\index{eina\+\_\+xattr\+\_\+get@{eina\+\_\+xattr\+\_\+get}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void$\ast$ eina\+\_\+xattr\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{ssize\+\_\+t $\ast$}]{size}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga7efe77e39be245924e5a279083dbf13c}


Retrieve an extended attribute from a file. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to retrieve the extended attribute from. \\
\hline
{\em attribute} & The extended attribute name to retrieve. \\
\hline
{\em size} & The size of the retrieved extended attribute. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the allocated data that hold the extended attribute value.
\end{DoxyReturn}
It will return {\ttfamily N\+U\+L\+L} and $\ast$size will be {\ttfamily 0} if it fails.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by eet\+\_\+data\+\_\+xattr\+\_\+cipher\+\_\+get(), and eina\+\_\+xattr\+\_\+string\+\_\+get().

\hypertarget{group__Eina__Tools__Group_ga0b692409fe4593d7e6d78b50bc5d6d72}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+fd\+\_\+get@{eina\+\_\+xattr\+\_\+fd\+\_\+get}}
\index{eina\+\_\+xattr\+\_\+fd\+\_\+get@{eina\+\_\+xattr\+\_\+fd\+\_\+get}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+fd\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void$\ast$ eina\+\_\+xattr\+\_\+fd\+\_\+get (
\begin{DoxyParamCaption}
\item[{int}]{fd, }
\item[{const char $\ast$}]{attribute, }
\item[{ssize\+\_\+t $\ast$}]{size}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga0b692409fe4593d7e6d78b50bc5d6d72}


Retrieve an extended attribute from a file descriptor. 


\begin{DoxyParams}{Parameters}
{\em fd} & The file descriptor to retrieve the extended attribute from. \\
\hline
{\em attribute} & The extended attribute name to retrieve. \\
\hline
{\em size} & The size of the retrieved extended attribute. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the allocated data that hold the extended attribute value.
\end{DoxyReturn}
It will return {\ttfamily N\+U\+L\+L} and $\ast$size will be {\ttfamily 0} if it fails.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Eina__Tools__Group_ga88302a7e18e4edf9371776ada5c201fa}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+set@{eina\+\_\+xattr\+\_\+set}}
\index{eina\+\_\+xattr\+\_\+set@{eina\+\_\+xattr\+\_\+set}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{const void $\ast$}]{data, }
\item[{ssize\+\_\+t}]{length, }
\item[{{\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}]{flags}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga88302a7e18e4edf9371776ada5c201fa}


Set an extended attribute on a file. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to set the extended attribute to. \\
\hline
{\em attribute} & The attribute to set. \\
\hline
{\em data} & The data to set. \\
\hline
{\em length} & The length of the data to set. \\
\hline
{\em flags} & Define the set policy. \\
\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.\+1 
\end{DoxySince}


Referenced by eet\+\_\+data\+\_\+xattr\+\_\+cipher\+\_\+set(), and eina\+\_\+xattr\+\_\+string\+\_\+set().

\hypertarget{group__Eina__Tools__Group_ga5c0b736357f27fad46077ab3639bdcd5}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+fd\+\_\+set@{eina\+\_\+xattr\+\_\+fd\+\_\+set}}
\index{eina\+\_\+xattr\+\_\+fd\+\_\+set@{eina\+\_\+xattr\+\_\+fd\+\_\+set}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+fd\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+fd\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{fd, }
\item[{const char $\ast$}]{attribute, }
\item[{const void $\ast$}]{data, }
\item[{ssize\+\_\+t}]{length, }
\item[{{\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}]{flags}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga5c0b736357f27fad46077ab3639bdcd5}


Set an extended attribute on a file descriptor. 


\begin{DoxyParams}{Parameters}
{\em fd} & The file descriptor to set the extended attribute to. \\
\hline
{\em attribute} & The attribute to set. \\
\hline
{\em data} & The data to set. \\
\hline
{\em length} & The length of the data to set. \\
\hline
{\em flags} & Define the set policy. \\
\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.\+8 
\end{DoxySince}
\hypertarget{group__Eina__Tools__Group_gae9974f188c14d5ce4b0a663c648fa6ac}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+del@{eina\+\_\+xattr\+\_\+del}}
\index{eina\+\_\+xattr\+\_\+del@{eina\+\_\+xattr\+\_\+del}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+del (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_gae9974f188c14d5ce4b0a663c648fa6ac}


Delete (remove) an extended attribute from a file. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to del the extended attribute from. \\
\hline
{\em attribute} & The attribute to del. \\
\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.\+8 
\end{DoxySince}
\hypertarget{group__Eina__Tools__Group_ga1e8c885c3d3890a5f62edee42e51a962}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+fd\+\_\+del@{eina\+\_\+xattr\+\_\+fd\+\_\+del}}
\index{eina\+\_\+xattr\+\_\+fd\+\_\+del@{eina\+\_\+xattr\+\_\+fd\+\_\+del}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+fd\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} {\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+fd\+\_\+del (
\begin{DoxyParamCaption}
\item[{int}]{fd, }
\item[{const char $\ast$}]{attribute}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga1e8c885c3d3890a5f62edee42e51a962}


Delete (remove) an extended attribute from a file descriptor. 


\begin{DoxyParams}{Parameters}
{\em fd} & The file descriptor to del the extended attribute from. \\
\hline
{\em attribute} & The attribute to del. \\
\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.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eina__Tools__Group_ga17eefbfd9d72869049797e0101df9747}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+string\+\_\+set@{eina\+\_\+xattr\+\_\+string\+\_\+set}}
\index{eina\+\_\+xattr\+\_\+string\+\_\+set@{eina\+\_\+xattr\+\_\+string\+\_\+set}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+string\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+string\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{const char $\ast$}]{data, }
\item[{{\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}]{flags}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga17eefbfd9d72869049797e0101df9747}


Set a string as a extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to set the string to. \\
\hline
{\em attribute} & The attribute to set. \\
\hline
{\em data} & The N\+U\+L\+L-\/terminated string to set. \\
\hline
{\em flags} & Define the set policy. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E on success, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and eina\+\_\+xattr\+\_\+set().



Referenced by eina\+\_\+xattr\+\_\+double\+\_\+set(), and eina\+\_\+xattr\+\_\+int\+\_\+set().

\hypertarget{group__Eina__Tools__Group_ga2a0cdd9e4858b4a2427a4323f6915fcc}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+string\+\_\+get@{eina\+\_\+xattr\+\_\+string\+\_\+get}}
\index{eina\+\_\+xattr\+\_\+string\+\_\+get@{eina\+\_\+xattr\+\_\+string\+\_\+get}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+string\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} char$\ast$ eina\+\_\+xattr\+\_\+string\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga2a0cdd9e4858b4a2427a4323f6915fcc}


Get a string from an extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to get the string from. \\
\hline
{\em attribute} & The attribute to get. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid string on success, {\ttfamily N\+U\+L\+L} otherwise.
\end{DoxyReturn}
This call check that the string is properly N\+U\+L\+L-\/terminated before returning it.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+xattr\+\_\+get().



Referenced by eina\+\_\+xattr\+\_\+double\+\_\+get(), and eina\+\_\+xattr\+\_\+int\+\_\+get().

\hypertarget{group__Eina__Tools__Group_gaaa0c45a781f6423c6198d0655a958b15}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+double\+\_\+set@{eina\+\_\+xattr\+\_\+double\+\_\+set}}
\index{eina\+\_\+xattr\+\_\+double\+\_\+set@{eina\+\_\+xattr\+\_\+double\+\_\+set}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+double\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+double\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{double}]{value, }
\item[{{\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}]{flags}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_gaaa0c45a781f6423c6198d0655a958b15}


Set a double as a extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to set the double to. \\
\hline
{\em attribute} & The attribute to set. \\
\hline
{\em value} & The N\+U\+L\+L-\/terminated double to set. \\
\hline
{\em flags} & Define the set policy. \\
\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.\+1 
\end{DoxySince}


References eina\+\_\+convert\+\_\+dtoa(), and eina\+\_\+xattr\+\_\+string\+\_\+set().



Referenced by emotion\+\_\+object\+\_\+last\+\_\+position\+\_\+save().

\hypertarget{group__Eina__Tools__Group_ga24d65206c2b78d7ce7a99be3cb636642}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+double\+\_\+get@{eina\+\_\+xattr\+\_\+double\+\_\+get}}
\index{eina\+\_\+xattr\+\_\+double\+\_\+get@{eina\+\_\+xattr\+\_\+double\+\_\+get}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+double\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+double\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{double $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga24d65206c2b78d7ce7a99be3cb636642}


Get a double from an extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to get the string from. \\
\hline
{\em attribute} & The attribute to get. \\
\hline
{\em value} & Where to put the extracted value \\
\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}
This call check that the double is correctly set.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+convert\+\_\+atod(), E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and eina\+\_\+xattr\+\_\+string\+\_\+get().



Referenced by emotion\+\_\+object\+\_\+last\+\_\+position\+\_\+load().

\hypertarget{group__Eina__Tools__Group_ga780f9fa5eb05397afb52485c80cb36f6}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+int\+\_\+set@{eina\+\_\+xattr\+\_\+int\+\_\+set}}
\index{eina\+\_\+xattr\+\_\+int\+\_\+set@{eina\+\_\+xattr\+\_\+int\+\_\+set}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+int\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+int\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{int}]{value, }
\item[{{\bf Eina\+\_\+\+Xattr\+\_\+\+Flags}}]{flags}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga780f9fa5eb05397afb52485c80cb36f6}


Set an int as a extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to set the int to. \\
\hline
{\em attribute} & The attribute to set. \\
\hline
{\em value} & The N\+U\+L\+L-\/terminated int to set. \\
\hline
{\em flags} & Define the set policy. \\
\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.\+1 
\end{DoxySince}


References eina\+\_\+convert\+\_\+itoa(), and eina\+\_\+xattr\+\_\+string\+\_\+set().

\hypertarget{group__Eina__Tools__Group_ga7a6db379f8d665e54f7d6f007313a120}{\index{Tools@{Tools}!eina\+\_\+xattr\+\_\+int\+\_\+get@{eina\+\_\+xattr\+\_\+int\+\_\+get}}
\index{eina\+\_\+xattr\+\_\+int\+\_\+get@{eina\+\_\+xattr\+\_\+int\+\_\+get}!Tools@{Tools}}
\subsubsection[{eina\+\_\+xattr\+\_\+int\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eina\+\_\+xattr\+\_\+int\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{attribute, }
\item[{int $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{group__Eina__Tools__Group_ga7a6db379f8d665e54f7d6f007313a120}


Get a int from an extended attribute properties. 


\begin{DoxyParams}{Parameters}
{\em file} & The file to get the string from. \\
\hline
{\em attribute} & The attribute to get. \\
\hline
{\em value} & Where to put the extracted value \\
\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}
This call check that the int is correctly set.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and eina\+\_\+xattr\+\_\+string\+\_\+get().

