diff options
| author | Miguel Dalberto Pedro <miguel.pedro@precisioninno.com> | 2026-10-29 17:55:36 -0300 |
|---|---|---|
| committer | Miguel Dalberto Pedro <miguel.pedro@precisioninno.com> | 2026-10-29 17:55:36 -0300 |
| commit | 915478aef931cb57fe56fe568ab4982454a29812 (patch) | |
| tree | 33057f4773852d99e8cd7ad92d568e79f34847ee /src/pms_match.h | |
| download | pms-915478aef931cb57fe56fe568ab4982454a29812.tar.gz pms-915478aef931cb57fe56fe568ab4982454a29812.zip | |
Diffstat (limited to 'src/pms_match.h')
| -rw-r--r-- | src/pms_match.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pms_match.h b/src/pms_match.h new file mode 100644 index 0000000..89dec53 --- /dev/null +++ b/src/pms_match.h @@ -0,0 +1,20 @@ +#ifndef PMS_MATCH_H +#define PMS_MATCH_H + +#include "pms_config.h" +#include "pms_ref.h" + +typedef struct { + int start; + int end; +} pms_range; + +typedef struct { + int current; + int next_match; + pms_range matches[2]; +} pms_match_data; + +int pms_next_verse(const pms_ref *ref, const pms_config *config, pms_match_data *data); + +#endif /* PMS_MATCH_H */ |
