aboutsummaryrefslogtreecommitdiff
path: root/src/pms_match.h
diff options
context:
space:
mode:
authorMiguel Dalberto Pedro <miguel.pedro@precisioninno.com>2026-10-29 17:55:36 -0300
committerMiguel Dalberto Pedro <miguel.pedro@precisioninno.com>2026-10-29 17:55:36 -0300
commit915478aef931cb57fe56fe568ab4982454a29812 (patch)
tree33057f4773852d99e8cd7ad92d568e79f34847ee /src/pms_match.h
downloadpms-915478aef931cb57fe56fe568ab4982454a29812.tar.gz
pms-915478aef931cb57fe56fe568ab4982454a29812.zip
Initial commit: Padre Matos Soares (1932) Bible corpus and pms CLIHEADmaster
Diffstat (limited to 'src/pms_match.h')
-rw-r--r--src/pms_match.h20
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 */