struct counter * counter_by_index(int index, enum counter_target target)
static int number_city_counters
int counter_index(const struct counter *pcount)
const char * counter_name_translation(const struct counter *counter)
struct counter * counter_by_rule_name(const char *name)
struct counter * counter_by_translated_name(const char *name)
const char * counter_rule_name(struct counter *pcount)
int counters_get_city_counters_count(void)
static struct counter counters[MAX_COUNTERS]
struct counter * counter_by_id(int id)
int counter_id(struct counter *pcount)
static struct counter * counters_city[MAX_COUNTERS]
void attach_city_counter(struct counter *counter)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
static const char * rule_name_get(const struct name_translation *ptrans)
static const char * name_translation_get(const struct name_translation *ptrans)
void strvec_destroy(struct strvec *psv)
struct packet_ruleset_control control
enum counter_target target
struct name_translation name
int fc_strcasecmp(const char *str0, const char *str1)