summaryrefslogtreecommitdiff
path: root/src/maat_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maat_api.c')
-rw-r--r--src/maat_api.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/maat_api.c b/src/maat_api.c
index dbc633b..2dad86e 100644
--- a/src/maat_api.c
+++ b/src/maat_api.c
@@ -2151,4 +2151,13 @@ int maat_state_get_last_hit_group_ids(struct maat_state *state,
return compile_state_get_last_hit_group_id(state->compile_state,
group_id_array, array_size);
+}
+
+size_t maat_state_get_last_hit_group_id_cnt(struct maat_state *state)
+{
+ if (NULL == state || NULL == state->compile_state) {
+ return 0;
+ }
+
+ return compile_state_get_last_hit_group_id_cnt(state->compile_state);
} \ No newline at end of file