21 #ifndef BASH_PATTERN_H
22 #define BASH_PATTERN_H
35 #define DLL_EXPORT __declspec(dllexport)
41 struct bash_pattern_t;
42 typedef struct bash_pattern_t bash_pattern;
50 bash_pattern *bash_pattern_compile(
const char *);
56 void bash_pattern_free(bash_pattern *);
62 int bash_pattern_matches(
const bash_pattern *,
const char *);
70 int bash_pattern_is_flat(
const bash_pattern *);