\hypertarget{group__Evas__Cserve}{\section{Shared Image Cache Server}
\label{group__Evas__Cserve}\index{Shared Image Cache Server@{Shared Image Cache Server}}
}


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


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \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 \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 \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 \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}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Cserve_ga665321372e0668b483c69755e54ac340}{evas\+\_\+cserve\+\_\+want\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves if the system wants to share bitmaps using the server. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Cserve_ga6dbad4284ba54468100ffb8fc48b4939}{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 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Cserve_gafc2722c552a1142bfadea61d1b284954}{evas\+\_\+cserve\+\_\+stats\+\_\+get} (\hyperlink{struct__Evas__Cserve__Stats}{Evas\+\_\+\+Cserve\+\_\+\+Stats} $\ast$stats)
\begin{DoxyCompactList}\small\item\em Retrieves statistics from a running bitmap sharing server. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Cserve_gaaae6f006ae2933906bc86173163f1396}{evas\+\_\+cserve\+\_\+config\+\_\+get} (\hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config} $\ast$config)
\begin{DoxyCompactList}\small\item\em Retrieves the current configuration of the Evas image caching server. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Cserve_ga0e9c8fa6a168e457a73a90acb1343c0e}{evas\+\_\+cserve\+\_\+config\+\_\+set} (const \hyperlink{struct__Evas__Cserve__Config}{Evas\+\_\+\+Cserve\+\_\+\+Config} $\ast$config)
\begin{DoxyCompactList}\small\item\em Changes the configurations of the Evas image caching server. \end{DoxyCompactList}\item 
\hypertarget{group__Evas__Cserve_ga0f34f9aaebaf62e8ce2421fef0f275b2}{void \hyperlink{group__Evas__Cserve_ga0f34f9aaebaf62e8ce2421fef0f275b2}{evas\+\_\+cserve\+\_\+disconnect} (void)}\label{group__Evas__Cserve_ga0f34f9aaebaf62e8ce2421fef0f275b2}

\begin{DoxyCompactList}\small\item\em Force the system to disconnect from the bitmap caching server. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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

\subsection{Function Documentation}
\hypertarget{group__Evas__Cserve_ga665321372e0668b483c69755e54ac340}{\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}}
\subsubsection[{evas\+\_\+cserve\+\_\+want\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+cserve\+\_\+want\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__Cserve_ga665321372e0668b483c69755e54ac340}


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

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if it wants, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\hypertarget{group__Evas__Cserve_ga6dbad4284ba54468100ffb8fc48b4939}{\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}}
\subsubsection[{evas\+\_\+cserve\+\_\+connected\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+cserve\+\_\+connected\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__Cserve_ga6dbad4284ba54468100ffb8fc48b4939}


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

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if it's connected, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\hypertarget{group__Evas__Cserve_gafc2722c552a1142bfadea61d1b284954}{\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}}
\subsubsection[{evas\+\_\+cserve\+\_\+stats\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+cserve\+\_\+stats\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Cserve\+\_\+\+Stats} $\ast$}]{stats}
\end{DoxyParamCaption}
)}}\label{group__Evas__Cserve_gafc2722c552a1142bfadea61d1b284954}


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 E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if {\ttfamily stats} were filled with data, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise (when {\ttfamily stats} is untouched) 
\end{DoxyReturn}
\hypertarget{group__Evas__Cserve_gaaae6f006ae2933906bc86173163f1396}{\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}}
\subsubsection[{evas\+\_\+cserve\+\_\+config\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+cserve\+\_\+config\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Cserve\+\_\+\+Config} $\ast$}]{config}
\end{DoxyParamCaption}
)}}\label{group__Evas__Cserve_gaaae6f006ae2933906bc86173163f1396}


Retrieves the current configuration of the Evas image caching server. 


\begin{DoxyParams}{Parameters}
{\em config} & where to store current image caching server's configuration.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if {\ttfamily config} was filled with data, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise (when {\ttfamily config} is untouched)
\end{DoxyReturn}
The fields of {\ttfamily config} will be altered to reflect the current configuration's values.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Cserve_ga0e9c8fa6a168e457a73a90acb1343c0e}{evas\+\_\+cserve\+\_\+config\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Cserve_ga0e9c8fa6a168e457a73a90acb1343c0e}{\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}}
\subsubsection[{evas\+\_\+cserve\+\_\+config\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+cserve\+\_\+config\+\_\+set (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Cserve\+\_\+\+Config} $\ast$}]{config}
\end{DoxyParamCaption}
)}}\label{group__Evas__Cserve_ga0e9c8fa6a168e457a73a90acb1343c0e}


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 E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if {\ttfamily config} was successfully applied, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Cserve_gaaae6f006ae2933906bc86173163f1396}{evas\+\_\+cserve\+\_\+config\+\_\+get()} 
\end{DoxySeeAlso}
