New upstream version 0.15.4+dfsg1

This commit is contained in:
Sebastian Ramacher 2016-08-28 14:07:43 +02:00
parent 55d5047af0
commit 67704ac59c
359 changed files with 8423 additions and 1050 deletions

View file

@ -264,6 +264,15 @@ static inline int cf_next_name(struct cf_parser *p, char **dst,
return cf_get_name(p, dst, name, goto_token);
}
static inline int cf_next_token_copy(struct cf_parser *p, char **dst)
{
if (!cf_next_valid_token(p))
return PARSE_EOF;
cf_copy_token(p, dst);
return PARSE_SUCCESS;
}
static inline int cf_get_name_ref(struct cf_parser *p, struct strref *dst,
const char *name, const char *goto_token)
{