BRL-CAD
glob.h File Reference
#include "common.h"
#include "bu/defines.h"
#include "bu/vls.h"
Include dependency graph for glob.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_dirent
 
struct  bu_stat
 
struct  bu_glob_context
 

Macros

#define BU_GLOB_APPEND   0x0001
 
#define BU_GLOB_NOSORT   0x0020
 
#define BU_GLOB_NOESCAPE   0x2000
 
#define BU_GLOB_ALTDIRFUNC   0x0040
 
#define BU_GLOB_NOMATCH   (-1)
 
#define BU_GLOB_ABORTED   (-2)
 
#define BU_GLOB_INIT_ZERO   {0, 0, 0, NULL, (struct bu_glob_context *(*)(const char *))NULL, (int(*)(struct bu_dirent *, struct bu_glob_context *))NULL, (void(*)(struct bu_glob_context *))NULL, (int(*)(const char *, struct bu_stat *, struct bu_glob_context *))NULL, (int(*)(const char *, struct bu_stat *, struct bu_glob_context *))NULL, (int(*)(const char *, int, struct bu_glob_context *))NULL, NULL, NULL}
 

Typedefs

typedef struct bu_glob_context bu_glob_t
 

Functions

struct bu_glob_contextbu_glob_init (void)
 
void bu_glob_free (struct bu_glob_context *)
 
int bu_glob (const char *pattern, int flags, struct bu_glob_context *context)
 

Macro Definition Documentation

◆ BU_GLOB_APPEND

#define BU_GLOB_APPEND   0x0001

Append to output from previous call.

Definition at line 70 of file glob.h.

◆ BU_GLOB_NOSORT

#define BU_GLOB_NOSORT   0x0020

Don't sort.

Definition at line 71 of file glob.h.

◆ BU_GLOB_NOESCAPE

#define BU_GLOB_NOESCAPE   0x2000

Disable backslash escaping.

Definition at line 72 of file glob.h.

◆ BU_GLOB_ALTDIRFUNC

#define BU_GLOB_ALTDIRFUNC   0x0040

use alternate functions.

Definition at line 73 of file glob.h.

◆ BU_GLOB_NOMATCH

#define BU_GLOB_NOMATCH   (-1)

No match.

Definition at line 91 of file glob.h.

◆ BU_GLOB_ABORTED

#define BU_GLOB_ABORTED   (-2)

Unignored error.

Definition at line 92 of file glob.h.