ETVDB  0.6.0
ETVDB is a tool and a library to get data from The TV Database (TVDB)
Functions
Init / Shutdown

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...
 

Detailed Description

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.

Function Documentation

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.

Returns
EINA_TRUE on success, EINA_FALSE on failure.
See also
etvdb_shutdown().
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.

Returns
EINA_TRUE on success, EINA_FALSE on failure.
See also
etvdb_init().