blob: f6198048a02245902e7981914d5c0b3fc43586a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef MATCHING_H
#define MATCHING_H
#include <stdint.h>
enum matching_algorithm {
MATCHING_ALGORITHM_NORMAL,
MATCHING_ALGORITHM_PREFIX,
MATCHING_ALGORITHM_FUZZY
};
int32_t match_words(enum matching_algorithm algorithm, const char *restrict patterns, const char *restrict str);
#endif /* MATCHING_H */
|