Revision a51ddbe1809e034848147d4cab7000e97bb94c34 authored by Eric Fischer on 29 July 2015, 23:46:56 UTC, committed by Eric Fischer on 29 July 2015, 23:46:56 UTC
1 parent 10e35c4
pool.h
struct pool_val {
char *s;
int type;
int n;
struct pool_val *left;
struct pool_val *right;
struct pool_val *next;
};
struct pool {
struct pool_val **vals;
struct pool_val *head;
struct pool_val *tail;
int n;
};
struct pool_val *pool(struct pool *p, char *s, int type);
void pool_free(struct pool *p);
void pool_free_strings(struct pool *p);
void pool_init(struct pool *p, int n);
int is_pooled(struct pool *p, char *s, int type);
Computing file changes ...