aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r--src/regex/regex_internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h
index fe76d15377..00badc54d8 100644
--- a/src/regex/regex_internal.h
+++ b/src/regex/regex_internal.h
@@ -98,9 +98,14 @@ struct GNUNET_REGEX_StateSet
struct GNUNET_REGEX_State **states;
/**
+ * Number of entries in *use* in the 'states' array.
+ */
+ unsigned int off;
+
+ /**
* Length of the 'states' array.
*/
- unsigned int len;
+ unsigned int size;
};