summaryrefslogtreecommitdiff
path: root/urlmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'urlmatch.h')
-rw-r--r--urlmatch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/urlmatch.h b/urlmatch.h
index 6ff42f81b0..34a3ba6d19 100644
--- a/urlmatch.h
+++ b/urlmatch.h
@@ -66,6 +66,10 @@ struct urlmatch_config {
int (*fallback_match_fn)(const char *url, void *cb);
};
+#define URLMATCH_CONFIG_INIT { \
+ .vars = STRING_LIST_INIT_DUP, \
+}
+
int urlmatch_config_entry(const char *var, const char *value, void *cb);
#endif /* URL_MATCH_H */