utils: add unescape_tag function

This is added to remove any escape chars from a string.
This will be used in a pending patch, that correctly reads .nfo files that
contain escape chars.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Spencer Oliver
2013-12-05 22:11:09 +00:00
committed by Justin Maggard
parent 7e6b015b05
commit f5ebc22eeb
2 changed files with 21 additions and 0 deletions

View File

@ -36,6 +36,7 @@ char *strstrc(const char *s, const char *p, const char t);
char *strcasestrc(const char *s, const char *p, const char t);
char *modifyString(char * string, const char * before, const char * after);
char *escape_tag(const char *tag, int force_alloc);
char *unescape_tag(const char *tag, int force_alloc);
void strip_ext(char * name);
/* Metadata functions */