4 #include "config_filter.h"
6 int config_filter(const char *name
)
10 static const char *const skip_prefix
[] = {
17 static const char *const skip_suffix
[] = {
35 for (p
= skip_prefix
; *p
; p
++) {
36 if (strstarts(name
, *p
))
40 for (p
= skip_suffix
; *p
; p
++) {
41 if (strlen(name
) >= strlen(*p
) &&
42 streq(*p
, strchr(name
, 0) - strlen(*p
)))