Go to the documentation of this file.
21 #ifndef AVUTIL_AVSTRING_H
22 #define AVUTIL_AVSTRING_H
41 int av_strstart(
const char *str,
const char *pfx,
const char **ptr);
53 int av_stristart(
const char *str,
const char *pfx,
const char **ptr);
67 char *
av_stristr(
const char *haystack,
const char *needle);
82 char *
av_strnstr(
const char *haystack,
const char *needle,
size_t hay_length);
186 char *
av_strtok(
char *s, const
char *delim,
char **saveptr);
193 return c >=
'0' && c <=
'9';
201 return c > 32 && c < 127;
209 return c ==
' ' || c ==
'\f' || c ==
'\n' || c ==
'\r' || c ==
'\t' || c ==
'\v';
217 if (c >=
'a' && c <=
'z')
227 if (c >=
'A' && c <=
'Z')
238 return av_isdigit(c) || (c >=
'a' && c <=
'z');
283 #define AV_ESCAPE_FLAG_WHITESPACE 0x01
290 #define AV_ESCAPE_FLAG_STRICT 0x02
308 int av_escape(
char **
dst,
const char *src,
const char *special_chars,