summaryrefslogtreecommitdiff
path: root/src/metadataChunk.h
blob: 05e1c907e451da970012142289e7c6963d057d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef METADATA_CHUNK_H
#define METADATA_CHUNK_H

#define METADATA_BUFFER_LENGTH 1024

#include "tag.h"

typedef struct _MetadataChunk {
	int name;
	int title;
	int artist;
	int album;
	char buffer[METADATA_BUFFER_LENGTH];
} MetadataChunk;

void initMetadataChunk(MetadataChunk *);

MpdTag * metadataChunkToMpdTagDup(MetadataChunk * chunk);

void copyMpdTagToMetadataChunk(MpdTag * tag, MetadataChunk * chunk);

#endif