Functions that all users must know of to use Ethumb. More...
Typedefs | |
typedef struct _Ethumb | Ethumb |
thumbnailer handle. More... | |
typedef void(* | Ethumb_Generate_Cb )(void *data, Ethumb *e, Eina_Bool success) |
reports results of ethumb_generate(). More... | |
Functions | |
EAPI int | ethumb_init (void) |
EAPI int | ethumb_shutdown (void) |
EAPI Ethumb * | ethumb_new (void) EINA_MALLOC EINA_WARN_UNUSED_RESULT |
EAPI void | ethumb_free (Ethumb *e) |
EAPI Eina_Bool | ethumb_file_set (Ethumb *e, const char *path, const char *key) EINA_ARG_NONNULL(1 |
EAPI Eina_Bool EAPI void | ethumb_file_get (const Ethumb *e, const char **path, const char **key) EINA_ARG_NONNULL(1) |
EAPI void | ethumb_file_free (Ethumb *e) EINA_ARG_NONNULL(1) |
EAPI Eina_Bool | ethumb_generate (Ethumb *e, Ethumb_Generate_Cb finished_cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(1 |
EAPI Eina_Bool EAPI Eina_Bool | ethumb_exists (Ethumb *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
EAPI Ethumb * | ethumb_dup (const Ethumb *e) EINA_ARG_NONNULL(1) |
EAPI Eina_Bool | ethumb_cmp (const Ethumb *e1, const Ethumb *e2) EINA_ARG_NONNULL(1 |
EAPI int | ethumb_hash (const void *key, int key_length) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT EINA_PURE |
EAPI int | ethumb_key_cmp (const void *key1, int key1_length, const void *key2, int key2_length) EINA_ARG_NONNULL(1 |
EAPI unsigned int | ethumb_length (const void *key) EINA_PURE EINA_WARN_UNUSED_RESULT |
Variables | |
EAPI Eina_Bool EINA_WARN_UNUSED_RESULT | EINA_PURE |
Detailed Description
Functions that all users must know of to use Ethumb.
Typedef Documentation
thumbnailer handle.
The handle is returned by ethumb_new() and destroyed by ethumb_free().
typedef void(* Ethumb_Generate_Cb)(void *data, Ethumb *e, Eina_Bool success) |
reports results of ethumb_generate().
- Parameters
-
data extra context given to ethumb_generate(). e handle of the current thumbnailer. success EINA_TRUE
if generated orEINA_FALSE
on errors.