summaryrefslogtreecommitdiff
path: root/junklib.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-28 09:57:20 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-28 09:57:20 +0200
commit8a105a63ee117ade3e9e29c0f3e9e577a6882c18 (patch)
treed3ccb130e3a18455156914c73df0be52bb1d3673 /junklib.h
parenta6e88e9bd292e5359c80ebbffbaee1952c50a885 (diff)
id3v2 writer WIP
Diffstat (limited to 'junklib.h')
-rw-r--r--junklib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/junklib.h b/junklib.h
index 8d1a40ca..2566e135 100644
--- a/junklib.h
+++ b/junklib.h
@@ -18,6 +18,7 @@
#ifndef __JUNKLIB_H
#define __JUNKLIB_H
+#include <stdio.h>
#include "deadbeef.h"
struct playItem_s;
@@ -26,12 +27,24 @@ int
junk_read_id3v1 (struct playItem_s *it, DB_FILE *fp);
int
+junk_read_id3v2_full (struct playItem_s *it, DB_id3v2_tag_t *tag, DB_FILE *fp);
+
+int
+junk_write_id3v2 (const char *fname, DB_id3v2_tag_t *tag);
+
+void
+junk_free_id3v2 (DB_id3v2_tag_t *tag);
+
+int
junk_read_id3v2 (struct playItem_s *it, DB_FILE *fp);
int
junk_read_ape (struct playItem_s *it, DB_FILE *fp);
int
+junk_get_leading_size_stdio (FILE *fp);
+
+int
junk_get_leading_size (DB_FILE *fp);
const char *