Home
last modified time | relevance | path

Searched refs:cs_c (Results 1 – 4 of 4) sorted by relevance

/src/contrib/blocklist/bin/
H A Dconf.c928 cs->cs_c = NULL; in confset_init()
939 tc = realloc(cs->cs_c, cs->cs_m * sizeof(*cs->cs_c)); in confset_grow()
944 cs->cs_c = tc; in confset_grow()
951 return &cs->cs_c[cs->cs_n]; in confset_get()
963 qsort(cs->cs_c, cs->cs_n, sizeof(*cs->cs_c), conf_sort); in confset_sort()
975 free(cs->cs_c); in confset_free()
989 if (conf_eq(&dc->cs_c[j], &sc->cs_c[i])) { in confset_merge()
999 *confset_get(dc) = sc->cs_c[i]; in confset_merge()
1010 if (sc->cs_c[i].c_nfail == dc->cs_c[j].c_nfail && in confset_merge()
1011 sc->cs_c[i].c_duration && dc->cs_c[j].c_duration) { in confset_merge()
[all …]
H A Dconf.h51 struct conf *cs_c; member
H A Dblocklistd.c393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
H A Dblacklistd.c393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()