Skip to content

Commit d741063

Browse files
committed
Name nested anonymous structures (#97)
1 parent 0236a0d commit d741063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ddwaf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ struct _ddwaf_object
114114
**/
115115
struct _ddwaf_config
116116
{
117-
struct {
117+
struct _ddwaf_config_limits {
118118
/** Maximum size of ddwaf::object containers. */
119119
uint32_t max_container_size;
120120
/** Maximum depth of ddwaf::object containers. */
@@ -124,7 +124,7 @@ struct _ddwaf_config
124124
} limits;
125125

126126
/** Obfuscator regexes - the strings are owned by the caller */
127-
struct {
127+
struct _ddwaf_config_obfuscator {
128128
/** Regular expression for key-based obfuscation */
129129
const char *key_regex;
130130
/** Regular expression for value-based obfuscation */

0 commit comments

Comments
 (0)