
#ifndef __SHOUTCAST_METADATA_WRITER_H__
#define __SHOUTCAST_METADATA_WRITER_H__

typedef struct s_ShoutcastMetadataWriter ShoutcastMetadataWriter;

ShoutcastMetadataWriter * shoutcast_metadata_writer_new (httpTtrans *trans, bool writeMetadata, int metadataInterval);
void shoutcast_metadata_writer_destroy (void *ptr);

bool shoutcast_metadata_writer_write (ShoutcastMetadataWriter *instance, dynTstring *data);
void shoutcast_metadata_writer_set_metadata (ShoutcastMetadataWriter *instance, const char *title, const char *url);

#endif
