1.1 --- a/bookloupe/counters.h Sat Sep 21 18:28:40 2013 +0100
1.2 +++ b/bookloupe/counters.h Mon Sep 23 21:18:27 2013 +0100
1.3 @@ -3,6 +3,12 @@
1.4
1.5 #include <glib.h>
1.6
1.7 +/* Special counters live in the private use area */
1.8 +enum {
1.9 + COUNTER_ILLUSTRATION=0xE000,
1.10 + NO_SPECIAL_COUNTERS
1.11 +};
1.12 +
1.13 struct counters {
1.14 GTree *matching;
1.15 long quot;
1.16 @@ -12,6 +18,7 @@
1.17 void increment_matching(struct counters *counters,gunichar ch,gboolean open);
1.18 int matching_count(const struct counters *counters,gunichar ch,gboolean open);
1.19 int matching_difference(const struct counters *counters,gunichar ch);
1.20 +void counters_reset(struct counters *counters);
1.21 void counters_destroy(struct counters *counters);
1.22
1.23 #endif /* COUNTERS_H */