bookloupe/counters.h
author ali <ali@juiblex.co.uk>
Sat Sep 21 23:48:00 2013 +0100 (2013-09-21)
changeset 102 8ebfd83f8688
child 103 adc06e9e8470
permissions -rw-r--r--
Added tag 2.0.51 for changeset 7afb1e598abd
     1 #ifndef COUNTERS_H
     2 #define COUNTERS_H
     3 
     4 #include <glib.h>
     5 
     6 struct counters {
     7     GTree *matching;
     8     long quot;
     9     int c_unders;
    10 };
    11 
    12 void increment_matching(struct counters *counters,gunichar ch,gboolean open);
    13 int matching_count(const struct counters *counters,gunichar ch,gboolean open);
    14 int matching_difference(const struct counters *counters,gunichar ch);
    15 void counters_destroy(struct counters *counters);
    16 
    17 #endif /* COUNTERS_H */