ETVDB
0.6.0
ETVDB is a tool and a library to get data from The TV Database (TVDB)
|
Basic Setup Functions. More...
Functions | |
EAPI Eina_Bool | etvdb_init (char *api_key) |
Initialize etvdb. More... | |
EAPI Eina_Bool | etvdb_shutdown (void) |
Shutdown etvdb. More... | |
Basic Setup Functions.
Basic setup routines.
Before any etvdb functions can be used, etvdb has to be initialized with etvdb_init().
After the application no longer requires any etvdb functions, etvdb should be properly shut down with etvdb_shutdown() to avoid problems and memory leaks.
etvdb logs via Eina's logging subsystem, using the "etvdb" log domain.
EAPI Eina_Bool etvdb_init | ( | char * | api_key | ) |
Initialize etvdb.
This function initializes etvdb and its dependencies. It does not depend on any other init routine and has to be called before any etvdb function is called. You need to check its return value, on failure the behaviour of all functions is undefined.
EAPI Eina_Bool etvdb_shutdown | ( | void | ) |
Shutdown etvdb.
This function cleans up after etvdb and will free all memory allocated by the library, not the user of the library.