struct event_filter *event_filter,
const char **error_r);
+static unsigned int path_element_count(const char *key)
+{
+ unsigned int count = 1;
+ while ((key = strchr(key, '/')) != NULL) {
+ key++;
+ count++;
+ }
+ return count;
+}
+
static int
settings_block_read_uint32(struct settings_mmap *mmap,
size_t *offset, size_t end_offset,
return set;
}
-static unsigned int path_element_count(const char *key)
-{
- unsigned int count = 1;
- while ((key = strchr(key, '/')) != NULL) {
- key++;
- count++;
- }
- return count;
-}
-
void settings_override(struct settings_instance *instance,
const char *key, const char *value,
enum settings_override_type type)