16 lines
231 B
C++
16 lines
231 B
C++
#ifndef GLOB_HPP
|
|
#define GLOB_HPP
|
|
|
|
enum class Glob_Result
|
|
{
|
|
OOM_ERROR,
|
|
ENCODING_ERROR,
|
|
SYNTAX_ERROR,
|
|
UNMATCHED,
|
|
MATCHED,
|
|
};
|
|
|
|
// https://github.com/tsoding/glob.h
|
|
Glob_Result glob(const char *pattern, const char *text);
|
|
|
|
#endif |