// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once

typedef struct {
    char **patterns;
    size_t count;
} pattern_list;

int glob_brace(const char *pattern, glob_t *pglob, int flags,
               int (*errfunc)(const char *epath, int eerrno));
