aboutsummaryrefslogblamecommitdiffstats
path: root/src/metadataChunk.h
blob: 05e1c907e451da970012142289e7c6963d057d4a (plain) (tree)





















                                                                    
#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