#include "check.h"
#include "tag.h"
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | tag_handler |
A callback table for receiving metadata of a song. More... | |
Functions | |
static void | tag_handler_invoke_duration (const struct tag_handler *handler, void *ctx, unsigned seconds) |
static void | tag_handler_invoke_tag (const struct tag_handler *handler, void *ctx, enum tag_type type, const char *value) |
static void | tag_handler_invoke_pair (const struct tag_handler *handler, void *ctx, const char *name, const char *value) |
Variables | |
struct tag_handler | add_tag_handler |
This tag_handler implementation adds tag values to a tag object (casted from the context pointer). | |
struct tag_handler | full_tag_handler |
This tag_handler implementation adds tag values to a tag object (casted from the context pointer), and supports the has_playlist attribute. |
static void tag_handler_invoke_duration | ( | const struct tag_handler * | handler, | |
void * | ctx, | |||
unsigned | seconds | |||
) | [inline, static] |
Definition at line 55 of file tag_handler.h.
static void tag_handler_invoke_pair | ( | const struct tag_handler * | handler, | |
void * | ctx, | |||
const char * | name, | |||
const char * | value | |||
) | [inline, static] |
Definition at line 77 of file tag_handler.h.
static void tag_handler_invoke_tag | ( | const struct tag_handler * | handler, | |
void * | ctx, | |||
enum tag_type | type, | |||
const char * | value | |||
) | [inline, static] |
Definition at line 65 of file tag_handler.h.
struct tag_handler add_tag_handler |
This tag_handler implementation adds tag values to a tag object (casted from the context pointer).
struct tag_handler full_tag_handler |
This tag_handler implementation adds tag values to a tag object (casted from the context pointer), and supports the has_playlist attribute.