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