glob_t
glob_t gl;
glob_t gl;
glob_t gl;
glob_t gl;
glob_t gl;
glob_t gl;
static int g_lstat (Char *, struct stat *, glob_t *);
static DIR *g_opendir (Char *, glob_t *);
static int g_stat (Char *, struct stat *, glob_t *);
static int glob0 (const Char *, glob_t *);
static int glob1 (Char *, glob_t *, size_t *);
static int glob2 (Char *, Char *, Char *, glob_t *, size_t *);
static int glob3 (Char *, Char *, Char *, Char *, glob_t *, size_t *);
static int globextend (const Char *, glob_t *, size_t *);
static const Char * globtilde (const Char *, Char *, glob_t *);
static int globexp1 (const Char *, glob_t *);
static int globexp2 (const Char *, const Char *, glob_t *, int *);
glob_t *pglob)
static int globexp1(const Char *pattern, glob_t *pglob)
glob_t *pglob, int *rv)
globtilde(const Char *pattern, Char *patbuf, glob_t *pglob)
glob0(const Char *pattern, glob_t *pglob)
glob1(Char *pattern, glob_t *pglob, size_t *limit)
glob2(Char *pathbuf, Char *pathend, Char *pattern, glob_t *pglob,
glob_t *pglob, size_t *limit)
globextend(const Char *path, glob_t *pglob, size_t *limit)
globfree(glob_t *pglob)
g_opendir(Char *str, glob_t *pglob)
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
glob_t globbuf;
glob_t gl;
glob_t gl;
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
static int g_lstat(Char *, struct stat *, glob_t *);
static DIR *g_opendir(Char *, glob_t *);
static int g_stat(Char *, struct stat *, glob_t *);
static int glob0(const Char *, glob_t *, struct glob_lim *);
static int glob1(Char *, Char *, glob_t *, struct glob_lim *);
glob_t *, struct glob_lim *);
Char *, Char *, glob_t *, struct glob_lim *);
static int globextend(const Char *, glob_t *, struct glob_lim *,
globtilde(const Char *, Char *, size_t, glob_t *);
static int globexp1(const Char *, glob_t *, struct glob_lim *);
static int globexp2(const Char *, const Char *, glob_t *,
glob_t *pglob)
globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp)
globexp2(const Char *ptr, const Char *pattern, glob_t *pglob,
globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp)
glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp)
Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp)
Char *pattern, Char *restpattern, Char *restpattern_last, glob_t *pglob,
globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp,
globfree(glob_t *pglob)
g_opendir(Char *str, glob_t *pglob)
int glob(const char *, int, int (*)(const char *, int), glob_t *);
void globfree(glob_t *);
glob_t gl;
glob_t g;
int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */
glob_t g;
glob_t gbuf;
int (*errfunc)(const char *, int), glob_t *pglob)
int (*)(const char *, int), glob_t *);
collect_ids_from_glob(glob_t *g, int user, u_int **idsp, u_int *nidsp)
get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g)
void get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g);
glob_t *sort_glob;
int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */
glob_t g;
glob_t g;
glob_t g;
glob_t g;
glob_t g;
int (*)(const char *, int), glob_t * __restrict);
int (^)(const char *, int), glob_t * __restrict);
void globfree(glob_t *);
globfree(glob_t *pglob)
g_opendir(Char *str, glob_t *pglob)
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
err_nomatch(glob_t *pglob, struct glob_limit *limit, const char *origpat) {
err_aborted(glob_t *pglob, int err, char *buf)
static int g_lstat(Char *, struct stat *, glob_t *);
static DIR *g_opendir(Char *, glob_t *);
static int g_stat(Char *, struct stat *, glob_t *);
static int glob0(const Char *, glob_t *, struct glob_limit *,
static int glob1(Char *, glob_t *, struct glob_limit *);
static int glob2(Char *, Char *, Char *, Char *, glob_t *,
static int glob3(Char *, Char *, Char *, Char *, Char *, glob_t *,
static int globextend(const Char *, glob_t *, struct glob_limit *,
globtilde(const Char *, Char *, size_t, glob_t *);
static int globexp0(const Char *, glob_t *, struct glob_limit *,
static int globexp1(const Char *, glob_t *, struct glob_limit *);
static int globexp2(const Char *, const Char *, glob_t *,
static int globfinal(glob_t *, struct glob_limit *, size_t,
static int err_nomatch(glob_t *, struct glob_limit *, const char *);
static int err_aborted(glob_t *, int, char *);
__glob(const char *pattern, glob_t *pglob)
int (*errfunc)(const char *, int), glob_t * __restrict pglob)
glob_b_block block, glob_t * __restrict pglob)
globexp0(const Char *pattern, glob_t *pglob, struct glob_limit *limit,
globexp1(const Char *pattern, glob_t *pglob, struct glob_limit *limit)
globexp2(const Char *ptr, const Char *pattern, glob_t *pglob,
globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
glob0(const Char *pattern, glob_t *pglob, struct glob_limit *limit,
globfinal(glob_t *pglob, struct glob_limit *limit, size_t oldpathc,
glob1(Char *pattern, glob_t *pglob, struct glob_limit *limit)
glob_t *pglob, struct glob_limit *limit)
glob_t *pglob, struct glob_limit *limit)
globextend(const Char *path, glob_t *pglob, struct glob_limit *limit,
glob_t g;
glob_t g;
glob_t g;
glob_t g;
glob_t glob; /* globbing information */
glob_t g;
glob_t g;
glob_t g;
glob_t gl;
glob_t g = {0};
glob_t pglob;
glob_t pglob;
glob_t g;
glob_t g;
glob_t g;
glob_t g;