diff options
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -236,6 +236,8 @@ typedef struct { void (*rewind) (DB_FILE *stream); int64_t (*fgetlength) (DB_FILE *stream); const char *(*fget_content_type) (DB_FILE *stream); + const char *(*fget_content_name) (DB_FILE *stream); + const char *(*fget_content_genre) (DB_FILE *stream); // message passing int (*sendmessage) (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2); // configuration access @@ -393,6 +395,8 @@ typedef struct DB_vfs_s { void (*rewind) (DB_FILE *stream); int64_t (*getlength)(DB_FILE *stream); const char * (*get_content_type) (DB_FILE *stream); + const char * (*get_content_name) (DB_FILE *stream); + const char * (*get_content_genre) (DB_FILE *stream); const char **scheme_names; // NULL-terminated list of supported schemes, e.g. {"http", "ftp", NULL} unsigned streaming : 1; } DB_vfs_t; |