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:
committed by
Justin Maggard
parent
7e6b015b05
commit
f5ebc22eeb
1
utils.h
1
utils.h
@ -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 */
|
||||
|
Reference in New Issue
Block a user