28 static const char *strings[] = {
50 " foo bar : blahblah",
52 "'foo : \\ \\ ' : blahblah",
53 "'\\fo\\o:': blahblah",
54 "\\'fo\\o\\:': foo ' :blahblah" 57 printf(
"Testing av_get_token()\n");
59 const char *p = strings[i];
63 printf(
" -> |%s|", q);
64 printf(
" + |%s|\n", p);
memory handling functions
#define FF_ARRAY_ELEMS(a)
void av_free(void *ptr)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). ...
char * av_get_token(const char **buf, const char *term)
Unescape the given string until a non escaped terminating char, and return the token corresponding to...
common internal and external API header