\hypertarget{ethumb__client_8c}{}\doxysection{ethumb\+\_\+client.\+c File Reference}
\label{ethumb__client_8c}\index{ethumb\_client.c@{ethumb\_client.c}}


This is the client-\/server thumbnail library, see \mbox{\hyperlink{tutorial_ethumb_client}{Client-\/\+Server Thumbnailing Tutorial}}.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__Ethumb__Client__Basics_ga64c23fe86d0bce53c9eeaacbe4834c7f}{ethumb\+\_\+client\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize the Ethumb\+\_\+\+Client library. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ethumb__Client__Basics_ga1e32e798f7465f9f699ff4e66e323381}{ethumb\+\_\+client\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shut down the Ethumb\+\_\+\+Client library. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{ethumb__client_8c_aa67764db10311ff0dc4380991cc3484c}\label{ethumb__client_8c_aa67764db10311ff0dc4380991cc3484c}} 
static void {\bfseries \+\_\+name\+\_\+start} (void $\ast$data, const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg, \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$pending)
\item 
\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Basics_ga6c27fce30e83988810d432a6d1751a2c}{ethumb\+\_\+client\+\_\+connect}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga773f249a30da312f594bde51fb0d1c2f}{Ethumb\+\_\+\+Client\+\_\+\+Connect\+\_\+\+Cb}} connect\+\_\+cb, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Connects to Ethumb server and return the client instance. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_ga23330db7a756b6ba8026b1bb33ce720d}{ethumb\+\_\+client\+\_\+disconnect}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Disconnect the client, releasing all client resources. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_ga453c18b2df77d5cdbaf367587580ae83}{ethumb\+\_\+client\+\_\+on\+\_\+server\+\_\+die\+\_\+callback\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga972481bed987f47cba1d788bdc0ace20}{Ethumb\+\_\+\+Client\+\_\+\+Die\+\_\+\+Cb}} server\+\_\+die\+\_\+cb, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Sets the callback to report server died. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{ethumb__client_8c_adf12605910aa5165f6850481427a9786}\label{ethumb__client_8c_adf12605910aa5165f6850481427a9786}} 
static \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$ {\bfseries \+\_\+setup\+\_\+iterator\+\_\+open} (\mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$array, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$$\ast$entry, const char $\ast$key, const char $\ast$type)
\item 
\mbox{\Hypertarget{ethumb__client_8c_ad60bd34413b04e15dd0afbd1ee2acae2}\label{ethumb__client_8c_ad60bd34413b04e15dd0afbd1ee2acae2}} 
static void {\bfseries \+\_\+setup\+\_\+iterator\+\_\+close} (\mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$array, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$entry, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$variant)
\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Send setup to server. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_ga55fad34988a1cde2962141e25c5b26c5}{ethumb\+\_\+client\+\_\+generate\+\_\+cancel}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int id, \mbox{\hyperlink{group__Ethumb__Client__Basics_gaac2b8013eec4818a1429e518b2894569}{Ethumb\+\_\+\+Client\+\_\+\+Generate\+\_\+\+Cancel\+\_\+\+Cb}} cancel\+\_\+cb, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Ask server to cancel generation of thumbnail. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_ga37569c3c40b5e0f30d48db23acf4a344}{ethumb\+\_\+client\+\_\+generate\+\_\+cancel\+\_\+all}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Ask server to cancel generation of all thumbnails. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}{ethumb\+\_\+client\+\_\+fdo\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+FDO\+\_\+\+Size s)
\begin{DoxyCompactList}\small\item\em Configure future requests to use Free\+Desktop.\+Org preset. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int tw, int th)
\begin{DoxyCompactList}\small\item\em Configure future request to use custom size. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}{ethumb\+\_\+client\+\_\+size\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int $\ast$tw, int $\ast$th)
\begin{DoxyCompactList}\small\item\em Retrieve future request to use custom size. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}{ethumb\+\_\+client\+\_\+format\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Format f)
\begin{DoxyCompactList}\small\item\em Configure format to use for future requests. \end{DoxyCompactList}\item 
Ethumb\+\_\+\+Thumb\+\_\+\+Format \mbox{\hyperlink{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}{ethumb\+\_\+client\+\_\+format\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Retrieve format to use for future requests. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}{ethumb\+\_\+client\+\_\+aspect\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Aspect a)
\begin{DoxyCompactList}\small\item\em Configure aspect mode to use. \end{DoxyCompactList}\item 
Ethumb\+\_\+\+Thumb\+\_\+\+Aspect \mbox{\hyperlink{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}{ethumb\+\_\+client\+\_\+aspect\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get current aspect in use for requests. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}{ethumb\+\_\+client\+\_\+orientation\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Orientation o)
\begin{DoxyCompactList}\small\item\em Configure orientation to use for future requests. \end{DoxyCompactList}\item 
Ethumb\+\_\+\+Thumb\+\_\+\+Orientation \mbox{\hyperlink{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}{ethumb\+\_\+client\+\_\+orientation\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get current orientation in use for requests. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float x, float y)
\begin{DoxyCompactList}\small\item\em Configure crop alignment in use for future requests. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float $\ast$x, float $\ast$y)
\begin{DoxyCompactList}\small\item\em Get current crop alignment in use for requests. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}{ethumb\+\_\+client\+\_\+quality\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int quality)
\begin{DoxyCompactList}\small\item\em Configure quality to be used in thumbnails. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}{ethumb\+\_\+client\+\_\+quality\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get quality to be used in thumbnails. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}{ethumb\+\_\+client\+\_\+compress\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int compress)
\begin{DoxyCompactList}\small\item\em Configure compression level used in requests. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}{ethumb\+\_\+client\+\_\+compress\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get compression level used in requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}{ethumb\+\_\+client\+\_\+frame\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$file, const char $\ast$group, const char $\ast$swallow)
\begin{DoxyCompactList}\small\item\em Set frame to apply to future thumbnails. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Configure where to store thumbnails in future requests. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Setup_gac11e10a994c559bc7b098dd57f628143}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get base directory path where to store thumbnails. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$category)
\begin{DoxyCompactList}\small\item\em Category directory to store thumbnails. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Setup_gaa35dd9b743a1ff13862e73b9e10b31ae}{ethumb\+\_\+client\+\_\+category\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get category sub-\/directory where to store thumbnails. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float t)
\begin{DoxyCompactList}\small\item\em Set the video time (duration) in seconds. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float start)
\begin{DoxyCompactList}\small\item\em Set initial video position to start thumbnailing, in percentage. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float interval)
\begin{DoxyCompactList}\small\item\em Set the video frame interval, in seconds. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int ntimes)
\begin{DoxyCompactList}\small\item\em Set the number of frames to thumbnail. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int fps)
\begin{DoxyCompactList}\small\item\em Set the number of frames per second to thumbnail the video. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int page)
\begin{DoxyCompactList}\small\item\em Set the page number to thumbnail in paged documents. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$path, const char $\ast$key)
\begin{DoxyCompactList}\small\item\em Set source file to be thumbnailed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_gace6930ae055ed155f2b161ba5e83b2d8}{ethumb\+\_\+client\+\_\+file\+\_\+get}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$$\ast$path, const char $\ast$$\ast$key)
\begin{DoxyCompactList}\small\item\em Get values set with \mbox{\hyperlink{group__Ethumb__Client__Basics_gace6930ae055ed155f2b161ba5e83b2d8}{ethumb\+\_\+client\+\_\+file\+\_\+get()}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_gab8b830c4744f72d7a4d3a677a6ba7a91}{ethumb\+\_\+client\+\_\+file\+\_\+free}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Reset previously set file to {\ttfamily NULL}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$path, const char $\ast$key)
\begin{DoxyCompactList}\small\item\em Set a defined path and key to store the thumbnail. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$$\ast$path, const char $\ast$$\ast$key)
\begin{DoxyCompactList}\small\item\em Get the configured thumbnail path. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ethumb__Client__Basics_ga6f207317e558e9a273ca60b1c7d1cab2}{Ethumb\+\_\+\+Exists}} $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Basics_gab69c8658057776f0d103237164737753}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga5e2bfebf2e5df3c29db2331839928859}{Ethumb\+\_\+\+Client\+\_\+\+Thumb\+\_\+\+Exists\+\_\+\+Cb}} exists\+\_\+cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Checks whenever file already exists (locally!) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ethumb__Client__Basics_gad96b376ead632e96723ca9f9b0735918}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists\+\_\+cancel}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga6f207317e558e9a273ca60b1c7d1cab2}{Ethumb\+\_\+\+Exists}} $\ast$exists)
\begin{DoxyCompactList}\small\item\em Cancel an ongoing exists request. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Client__Basics_gae68364004bf3ba3247fab20efc58f146}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists\+\_\+check}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga6f207317e558e9a273ca60b1c7d1cab2}{Ethumb\+\_\+\+Exists}} $\ast$exists)
\begin{DoxyCompactList}\small\item\em Check if an exists request was cancelled. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ethumb__Client__Basics_gaa09f3c82539082042f47196c47ef8251}{ethumb\+\_\+client\+\_\+generate}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga4fefc01b98790d39c16f1e0511732c18}{Ethumb\+\_\+\+Client\+\_\+\+Generate\+\_\+\+Cb}} generated\+\_\+cb, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Ask server to generate thumbnail. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{ethumb__client_8c_a77be86cadc7e843db475e6b78085aa39}\label{ethumb__client_8c_a77be86cadc7e843db475e6b78085aa39}} 
static void {\bfseries \+\_\+ethumb\+\_\+client\+\_\+async\+\_\+free} (Ethumb\+\_\+\+Client\+\_\+\+Async $\ast$async)
\item 
\mbox{\Hypertarget{ethumb__client_8c_aa40c1dfb161cc293a7e88cbbc9fdea15}\label{ethumb__client_8c_aa40c1dfb161cc293a7e88cbbc9fdea15}} 
static void {\bfseries \+\_\+ethumb\+\_\+client\+\_\+thumb\+\_\+finish} (void $\ast$data, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int id, const char $\ast$file, const char $\ast$key, const char $\ast$thumb\+\_\+path, const char $\ast$thumb\+\_\+key, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} success)
\item 
\mbox{\Hypertarget{ethumb__client_8c_a92d2788a9179f8a9c39f521a178e11c5}\label{ethumb__client_8c_a92d2788a9179f8a9c39f521a178e11c5}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ethumb\+\_\+client\+\_\+thumb\+\_\+generate\+\_\+idler} (void $\ast$data)
\item 
\mbox{\Hypertarget{ethumb__client_8c_a5bcb0e204bc4da3ff647eec79fad52cc}\label{ethumb__client_8c_a5bcb0e204bc4da3ff647eec79fad52cc}} 
static void {\bfseries \+\_\+ethumb\+\_\+client\+\_\+thumb\+\_\+exists} (void $\ast$data, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, \mbox{\hyperlink{group__Ethumb__Client__Basics_ga6f207317e558e9a273ca60b1c7d1cab2}{Ethumb\+\_\+\+Exists}} $\ast$request, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} exists)
\item 
\mbox{\Hypertarget{ethumb__client_8c_a18d5e03a3a7b2a3d5a6153cd915ec58f}\label{ethumb__client_8c_a18d5e03a3a7b2a3d5a6153cd915ec58f}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ethumb\+\_\+client\+\_\+thumb\+\_\+exists\+\_\+idler} (void $\ast$data)
\item 
Ethumb\+\_\+\+Client\+\_\+\+Async $\ast$ {\bfseries ethumb\+\_\+client\+\_\+thumb\+\_\+async\+\_\+get} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Client\+\_\+\+Async\+\_\+\+Done\+\_\+\+Cb done, Ethumb\+\_\+\+Client\+\_\+\+Async\+\_\+\+Error\+\_\+\+Cb error, const void $\ast$data)
\item 
void {\bfseries ethumb\+\_\+client\+\_\+thumb\+\_\+async\+\_\+cancel} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Client\+\_\+\+Async $\ast$request)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{ethumb__client_8c_af978003f1e311047467f252b204710f8}\label{ethumb__client_8c_af978003f1e311047467f252b204710f8}} 
static \mbox{\hyperlink{group__Ecore__Idle__Group_gae4e7f2215a6e8cff3e2eab2582b5868e}{Ecore\+\_\+\+Idler}} $\ast$ {\bfseries idler} \mbox{[}2\mbox{]} = \{ NULL, NULL \}
\item 
\mbox{\Hypertarget{ethumb__client_8c_a32a11d97cd00767337e70d9f3aae792e}\label{ethumb__client_8c_a32a11d97cd00767337e70d9f3aae792e}} 
static \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ {\bfseries pending} = NULL
\item 
\mbox{\Hypertarget{ethumb__client_8c_a6904942c4f972940c68d3aaa9eefe3d3}\label{ethumb__client_8c_a6904942c4f972940c68d3aaa9eefe3d3}} 
static \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ {\bfseries idle\+\_\+tasks} \mbox{[}2\mbox{]} = \{ NULL, NULL \}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is the client-\/server thumbnail library, see \mbox{\hyperlink{tutorial_ethumb_client}{Client-\/\+Server Thumbnailing Tutorial}}. 

Copyright (C) 2009 by Pro\+FUSION embedded systems

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.\+1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, see \href{http://www.gnu.org/licenses/}{\texttt{ http\+://www.\+gnu.\+org/licenses/}}.

\begin{DoxyAuthor}{Author}
Rafael Antognolli \href{mailto:antognolli@profusion.mobi}{\texttt{ antognolli@profusion.\+mobi}} 

Gustavo Sverzut Barbieri \href{mailto:barbieri@profusion.mobi}{\texttt{ barbieri@profusion.\+mobi}} 
\end{DoxyAuthor}
