Evas_Cserve

Langue: en

Version: 377294 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Shared Image Cache Server -

Provides client-server infrastructure to share bitmaps across multiple processes, saving data and processing power.

Data Structures


struct _Evas_Cserve_Stats
Statistics about server that shares cached bitmaps.
struct _Evas_Cserve_Image_Cache
Cache of images shared by server.
struct _Evas_Cserve_Image
An image shared by the server.
struct _Evas_Cserve_Config
Configuration that controls the server that shares cached bitmaps.

Functions


EAPI Eina_Bool evas_cserve_want_get (void)
Retrieves if the system wants to share bitmaps using the server.
EAPI Eina_Bool evas_cserve_connected_get (void)
Retrieves if the system is connected to the server used to shae bitmaps.
EAPI Eina_Bool evas_cserve_stats_get (Evas_Cserve_Stats *stats)
Retrieves if the system wants to share bitmaps using the server.
EAPI Eina_Bool evas_cserve_config_get (Evas_Cserve_Config *config)
Retrieves the current configuration of the server.
EAPI Eina_Bool evas_cserve_config_set (const Evas_Cserve_Config *config)
Changes the configuration of the server.
EAPI void evas_cserve_disconnect (void)
Force system to disconnect from cache server.

Detailed Description

Provides client-server infrastructure to share bitmaps across multiple processes, saving data and processing power.

Function Documentation

EAPI Eina_Bool evas_cserve_config_get (Evas_Cserve_Config * config)

Retrieves the current configuration of the server. Parameters:

config where to store current server configuration.

Returns:

EINA_TRUE if config were filled with data, EINA_FALSE otherwise and config is untouched.

EAPI Eina_Bool evas_cserve_config_set (const Evas_Cserve_Config * config)

Changes the configuration of the server. Parameters:

config where to store current server configuration.

Returns:

EINA_TRUE if config were successfully applied, EINA_FALSE otherwise.

EAPI Eina_Bool evas_cserve_connected_get (void)

Retrieves if the system is connected to the server used to shae bitmaps. Returns:

EINA_TRUE if connected, EINA_FALSE otherwise.

EAPI Eina_Bool evas_cserve_stats_get (Evas_Cserve_Stats * stats)

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

stats pointer to structure to fill with statistics about cache server.

Returns:

EINA_TRUE if stats were filled with data, EINA_FALSE otherwise and stats is untouched.

References _Evas_Cserve_Stats::saved_memory, _Evas_Cserve_Stats::saved_memory_peak, _Evas_Cserve_Stats::wasted_memory, and _Evas_Cserve_Stats::wasted_memory_peak.

EAPI Eina_Bool evas_cserve_want_get (void)

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

EINA_TRUE if wants, EINA_FALSE otherwise.

Author

Generated automatically by Doxygen for Evas from the source code.