ali@94: #ifndef COUNTERS_H ali@94: #define COUNTERS_H ali@94: ali@94: #include ali@94: ali@94: struct counters { ali@94: GTree *matching; ali@94: long quot; ali@94: int c_unders; ali@94: }; ali@94: ali@94: void increment_matching(struct counters *counters,gunichar ch,gboolean open); ali@94: int matching_count(const struct counters *counters,gunichar ch,gboolean open); ali@94: int matching_difference(const struct counters *counters,gunichar ch); ali@94: void counters_destroy(struct counters *counters); ali@94: ali@94: #endif /* COUNTERS_H */