Expose json_segment_contains_flag to internal library.

This commit is contained in:
Ondrej Kozina
2022-01-06 14:45:20 +01:00
committed by Milan Broz
parent 4e98b65c04
commit f83e56e43e
2 changed files with 2 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ static json_object *json_segment_get_flags(json_object *jobj_segment)
return jobj;
}
static bool json_segment_contains_flag(json_object *jobj_segment, const char *flag_str, size_t len)
bool json_segment_contains_flag(json_object *jobj_segment, const char *flag_str, size_t len)
{
int r, i;
json_object *jobj, *jobj_flags = json_segment_get_flags(jobj_segment);