\doxysubsection{Shared Image Cache Server}
\hypertarget{group__Evas__Cserve}{}\label{group__Evas__Cserve}\index{Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Evas__Cserve__Stats}{\+\_\+\+Evas\+\_\+\+Cserve\+\_\+\+Stats}}
\begin{DoxyCompactList}\small\item\em Statistics about the server that shares cached bitmaps. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Evas__Cserve__Image__Cache}{\+\_\+\+Evas\+\_\+\+Cserve\+\_\+\+Image\+\_\+\+Cache}}
\begin{DoxyCompactList}\small\item\em A handle of a cache of images shared by a server. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Evas__Cserve__Image}{\+\_\+\+Evas\+\_\+\+Cserve\+\_\+\+Image}}
\begin{DoxyCompactList}\small\item\em A handle to an image shared by a server. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Evas__Cserve__Config}{\+\_\+\+Evas\+\_\+\+Cserve\+\_\+\+Config}}
\begin{DoxyCompactList}\small\item\em Configuration that controls the server that shares cached bitmaps. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Cserve_ga3a259a70cef9a03c40fe6becae60f544}{evas\+\_\+cserve\+\_\+want\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves if the system wants to share bitmaps using the server. \end{DoxyCompactList}\item 
EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Cserve_gab21d08f68636139c97aa28d63430e053}{evas\+\_\+cserve\+\_\+connected\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves if the system is connected to the server used to share bitmaps. \end{DoxyCompactList}\item 
EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Cserve_gae77bc57328b1d927ff4a982fea60a7aa}{evas\+\_\+cserve\+\_\+stats\+\_\+get}} (\mbox{\hyperlink{struct__Evas__Cserve__Stats}{Evas\+\_\+\+Cserve\+\_\+\+Stats}} \texorpdfstring{$\ast$}{*}stats)
\begin{DoxyCompactList}\small\item\em Retrieves statistics from a running bitmap sharing server. \end{DoxyCompactList}\item 
EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Cserve_gad3b57ffb07cfa871c2c2b79dae8fb5b2}{evas\+\_\+cserve\+\_\+config\+\_\+get}} (\mbox{\hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config}} \texorpdfstring{$\ast$}{*}config)
\begin{DoxyCompactList}\small\item\em Retrieves the current configuration of the Evas image caching server. \end{DoxyCompactList}\item 
EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Evas__Cserve_ga5ebb0c0973f6046636e840030d560389}{evas\+\_\+cserve\+\_\+config\+\_\+set}} (const \mbox{\hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config}} \texorpdfstring{$\ast$}{*}config)
\begin{DoxyCompactList}\small\item\em Changes the configurations of the Evas image caching server. \end{DoxyCompactList}\item 
\Hypertarget{group__Evas__Cserve_ga72dd9fef6c5a63d3e49acf06c1802847}\label{group__Evas__Cserve_ga72dd9fef6c5a63d3e49acf06c1802847} 
EVAS\+\_\+\+API void {\bfseries evas\+\_\+cserve\+\_\+disconnect} (void)
\begin{DoxyCompactList}\small\item\em Force the system to disconnect from the bitmap caching server. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


Evas has an (optional) module that provides client-\/server infrastructure to {\bfseries{share bitmaps across multiple processes}}, saving data and processing power.

Be warned that it {\bfseries{doesn\textquotesingle{}t}} work when {\bfseries{threaded image preloading}} is enabled for Evas, though. 

\doxysubsubsection{Function Documentation}
\Hypertarget{group__Evas__Cserve_ga3a259a70cef9a03c40fe6becae60f544}\label{group__Evas__Cserve_ga3a259a70cef9a03c40fe6becae60f544} 
\index{Shared Image Cache Server@{Shared Image Cache Server}!evas\_cserve\_want\_get@{evas\_cserve\_want\_get}}
\index{evas\_cserve\_want\_get@{evas\_cserve\_want\_get}!Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection{\texorpdfstring{evas\_cserve\_want\_get()}{evas\_cserve\_want\_get()}}
{\footnotesize\ttfamily EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+cserve\+\_\+want\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves if the system wants to share bitmaps using the server. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if it wants, {\ttfamily EINA\+\_\+\+FALSE} otherwise. 
\end{DoxyReturn}
\Hypertarget{group__Evas__Cserve_gab21d08f68636139c97aa28d63430e053}\label{group__Evas__Cserve_gab21d08f68636139c97aa28d63430e053} 
\index{Shared Image Cache Server@{Shared Image Cache Server}!evas\_cserve\_connected\_get@{evas\_cserve\_connected\_get}}
\index{evas\_cserve\_connected\_get@{evas\_cserve\_connected\_get}!Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection{\texorpdfstring{evas\_cserve\_connected\_get()}{evas\_cserve\_connected\_get()}}
{\footnotesize\ttfamily EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+cserve\+\_\+connected\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves if the system is connected to the server used to share bitmaps. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if it\textquotesingle{}s connected, {\ttfamily EINA\+\_\+\+FALSE} otherwise. 
\end{DoxyReturn}
\Hypertarget{group__Evas__Cserve_gae77bc57328b1d927ff4a982fea60a7aa}\label{group__Evas__Cserve_gae77bc57328b1d927ff4a982fea60a7aa} 
\index{Shared Image Cache Server@{Shared Image Cache Server}!evas\_cserve\_stats\_get@{evas\_cserve\_stats\_get}}
\index{evas\_cserve\_stats\_get@{evas\_cserve\_stats\_get}!Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection{\texorpdfstring{evas\_cserve\_stats\_get()}{evas\_cserve\_stats\_get()}}
{\footnotesize\ttfamily EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+cserve\+\_\+stats\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Evas__Cserve__Stats}{Evas\+\_\+\+Cserve\+\_\+\+Stats}} \texorpdfstring{$\ast$}{*}}]{stats }\end{DoxyParamCaption})}



Retrieves statistics from a running bitmap sharing server. 


\begin{DoxyParams}{Parameters}
{\em stats} & pointer to structure to fill with statistics about the bitmap cache server.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if {\ttfamily stats} were filled with data, {\ttfamily EINA\+\_\+\+FALSE} otherwise (when {\ttfamily stats} is untouched) 
\end{DoxyReturn}
\Hypertarget{group__Evas__Cserve_gad3b57ffb07cfa871c2c2b79dae8fb5b2}\label{group__Evas__Cserve_gad3b57ffb07cfa871c2c2b79dae8fb5b2} 
\index{Shared Image Cache Server@{Shared Image Cache Server}!evas\_cserve\_config\_get@{evas\_cserve\_config\_get}}
\index{evas\_cserve\_config\_get@{evas\_cserve\_config\_get}!Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection{\texorpdfstring{evas\_cserve\_config\_get()}{evas\_cserve\_config\_get()}}
{\footnotesize\ttfamily EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+cserve\+\_\+config\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config}} \texorpdfstring{$\ast$}{*}}]{config }\end{DoxyParamCaption})}



Retrieves the current configuration of the Evas image caching server. 


\begin{DoxyParams}{Parameters}
{\em config} & where to store current image caching server\textquotesingle{}s configuration.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if {\ttfamily config} was filled with data, {\ttfamily EINA\+\_\+\+FALSE} otherwise (when {\ttfamily config} is untouched)
\end{DoxyReturn}
The fields of {\ttfamily config} will be altered to reflect the current configuration\textquotesingle{}s values.

\begin{DoxySeeAlso}{See also}
\doxylink{group__Evas__Cserve_ga5ebb0c0973f6046636e840030d560389}{evas\+\_\+cserve\+\_\+config\+\_\+set()} 
\end{DoxySeeAlso}
\Hypertarget{group__Evas__Cserve_ga5ebb0c0973f6046636e840030d560389}\label{group__Evas__Cserve_ga5ebb0c0973f6046636e840030d560389} 
\index{Shared Image Cache Server@{Shared Image Cache Server}!evas\_cserve\_config\_set@{evas\_cserve\_config\_set}}
\index{evas\_cserve\_config\_set@{evas\_cserve\_config\_set}!Shared Image Cache Server@{Shared Image Cache Server}}
\doxysubsubsubsection{\texorpdfstring{evas\_cserve\_config\_set()}{evas\_cserve\_config\_set()}}
{\footnotesize\ttfamily EVAS\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} evas\+\_\+cserve\+\_\+config\+\_\+set (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config}} \texorpdfstring{$\ast$}{*}}]{config }\end{DoxyParamCaption})}



Changes the configurations of the Evas image caching server. 


\begin{DoxyParams}{Parameters}
{\em config} & A bitmap cache configuration handle with fields set to desired configuration values. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if {\ttfamily config} was successfully applied, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\doxylink{group__Evas__Cserve_gad3b57ffb07cfa871c2c2b79dae8fb5b2}{evas\+\_\+cserve\+\_\+config\+\_\+get()} 
\end{DoxySeeAlso}
