#ifndef COUNTERS_H #define COUNTERS_H #include /* Special counters live in the private use area */ enum { COUNTER_ILLUSTRATION=0xE000, NO_SPECIAL_COUNTERS }; struct counters { GTree *matching; int c_unders; }; void increment_matching(struct counters *counters,gunichar ch,gboolean open); int matching_count(const struct counters *counters,gunichar ch,gboolean open); int matching_difference(const struct counters *counters,gunichar ch); void counters_reset(struct counters *counters); void counters_destroy(struct counters *counters); #endif /* COUNTERS_H */