Rechercher une page de manuel
Eina_Main_Group
Langue: en
Version: 376066 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Main -These functions provide general initialisation and shut down functions.
Functions
EAPI int eina_init (void)
Initialize the Eina library.
EAPI int eina_shutdown (void)
Shut down the Eina library.
EAPI int eina_threads_init (void)
Initialize the mutexs of the Eina library.
EAPI int eina_threads_shutdown (void)
Shut down mutexs in the Eina library.
Detailed Description
These functions provide general initialisation and shut down functions.
Function Documentation
EAPI int eina_init (void)
Initialize the Eina library. Returns:
- 1 or greater on success, 0 on error.
This function sets up all the eina modules. It returns 0 on failure (that is, when one of the module fails to initialize), otherwise it returns the number of times it has already been called.
When Eina is not used anymore, call eina_shutdown() to shut down the Eina library.
EAPI int eina_shutdown (void)
Shut down the Eina library. Returns:
- 0 when all the modules is completely shut down, 1 or greater otherwise.
This function shuts down the Eina library. It returns 0 when it has been called the same number of times than eina_init(). In that case it shut down all the Eina modules.
Once this function succeeds (that is, 0 is returned), you must not call any of the Eina function anymore. You must call eina_init() again to use the Eina functions again.
EAPI int eina_threads_init (void)
Initialize the mutexs of the Eina library. Returns:
- 1 or greater on success, 0 on error.
This function sets up all the mutexs in all eina modules. It returns 0 on failure (that is, when one of the module fails to initialize), otherwise it returns the number of times it has already been called.
When the mutexs are not used anymore, call eina_thread_shutdown() to shut down the mutexs.
EAPI int eina_threads_shutdown (void)
Shut down mutexs in the Eina library. Returns:
- 0 when all mutexs are completely shut down, 1 or greater otherwise.
This function shuts down the mutexs in the Eina library. It returns 0 when it has been called the same number of times than eina_thread_init(). In that case it shut down all the mutexs.
Once this function succeeds (that is, 0 is returned), you must not call any of the Eina function in a thread anymore. You must call eina_thread_init() again to use the Eina functions in a thread again.
Author
Generated automatically by Doxygen for Eina from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre