From 915478aef931cb57fe56fe568ab4982454a29812 Mon Sep 17 00:00:00 2001 From: Miguel Dalberto Pedro Date: Thu, 29 Oct 2026 17:55:36 -0300 Subject: Initial commit: Padre Matos Soares (1932) Bible corpus and pms CLI --- src/pms_match.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/pms_match.h (limited to 'src/pms_match.h') 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 */ -- cgit v1.2.3