\hypertarget{group__Ethumb__Basics}{\section{Ethumb Basics}
\label{group__Ethumb__Basics}\index{Ethumb Basics@{Ethumb Basics}}
}


Functions that all users must know of to use Ethumb.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \-\_\-\-Ethumb \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}
\begin{DoxyCompactList}\small\item\em thumbnailer handle. \end{DoxyCompactList}\item 
typedef void($\ast$ \hyperlink{group__Ethumb__Basics_gac2b4d2b1027bb5efb038116c3460dfe9}{Ethumb\-\_\-\-Generate\-\_\-\-Cb} )(void $\ast$data, \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} success)
\begin{DoxyCompactList}\small\item\em reports results of ethumb\-\_\-generate(). \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int {\bfseries ethumb\-\_\-init} (void)}\label{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}

\item 
\hypertarget{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int {\bfseries ethumb\-\_\-shutdown} (void)}\label{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}

\item 
\hypertarget{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$ {\bfseries ethumb\-\_\-new} (void)}\label{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}

\item 
\hypertarget{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} void {\bfseries ethumb\-\_\-free} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)}\label{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}

\item 
\hypertarget{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} {\bfseries ethumb\-\_\-file\-\_\-set} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, const char $\ast$path, const char $\ast$key)}\label{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}

\item 
\hypertarget{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} void {\bfseries ethumb\-\_\-file\-\_\-get} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, const char $\ast$$\ast$path, const char $\ast$$\ast$key)}\label{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}

\item 
\hypertarget{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} void {\bfseries ethumb\-\_\-file\-\_\-free} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)}\label{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}

\item 
\hypertarget{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} {\bfseries ethumb\-\_\-generate} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, \hyperlink{group__Ethumb__Basics_gac2b4d2b1027bb5efb038116c3460dfe9}{Ethumb\-\_\-\-Generate\-\_\-\-Cb} finished\-\_\-cb, const void $\ast$data, \hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\-\_\-\-Free\-\_\-\-Cb} free\-\_\-data)}\label{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}

\item 
\hypertarget{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} {\bfseries ethumb\-\_\-exists} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)}\label{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}

\item 
\hypertarget{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$ {\bfseries ethumb\-\_\-dup} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)}\label{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}

\item 
\hypertarget{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} {\bfseries ethumb\-\_\-cmp} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e1, const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e2)}\label{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}

\item 
\hypertarget{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int {\bfseries ethumb\-\_\-hash} (const void $\ast$key, int key\-\_\-length)}\label{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}

\item 
\hypertarget{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int {\bfseries ethumb\-\_\-key\-\_\-cmp} (const void $\ast$key1, int key1\-\_\-length, const void $\ast$key2, int key2\-\_\-length)}\label{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}

\item 
\hypertarget{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} unsigned int {\bfseries ethumb\-\_\-length} (const void $\ast$key)}\label{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that all users must know of to use Ethumb. 

\subsection{Typedef Documentation}
\hypertarget{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{\index{Ethumb Basics@{Ethumb Basics}!Ethumb@{Ethumb}}
\index{Ethumb@{Ethumb}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{Ethumb}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \-\_\-\-Ethumb {\bf Ethumb}}}\label{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}


thumbnailer handle. 

The handle is returned by ethumb\-\_\-new() and destroyed by ethumb\-\_\-free(). \hypertarget{group__Ethumb__Basics_gac2b4d2b1027bb5efb038116c3460dfe9}{\index{Ethumb Basics@{Ethumb Basics}!Ethumb\-\_\-\-Generate\-\_\-\-Cb@{Ethumb\-\_\-\-Generate\-\_\-\-Cb}}
\index{Ethumb\-\_\-\-Generate\-\_\-\-Cb@{Ethumb\-\_\-\-Generate\-\_\-\-Cb}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{Ethumb\-\_\-\-Generate\-\_\-\-Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Ethumb\-\_\-\-Generate\-\_\-\-Cb)(void $\ast$data, {\bf Ethumb} $\ast$e, {\bf Eina\-\_\-\-Bool} success)}}\label{group__Ethumb__Basics_gac2b4d2b1027bb5efb038116c3460dfe9}


reports results of ethumb\-\_\-generate(). 


\begin{DoxyParams}{Parameters}
{\em data} & extra context given to ethumb\-\_\-generate(). \\
\hline
{\em e} & handle of the current thumbnailer. \\
\hline
{\em success} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} if generated or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} on errors. \\
\hline
\end{DoxyParams}
