1 /* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
2 * BSD-style license. Please see the COPYING file for details.
10 #define VALID_CHAR(c) ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '-' || c == '_')
11 #define WHITESPACE(c) (c == ' ' || c == '\t' || c == '\n' || c == '\r')
37 int blerg_exists(const char *);
38 struct blerg *blerg_open(const char *);
39 int blerg_close(struct blerg *);
40 int blerg_store(struct blerg *, const char *, int);
41 int blerg_fetch(struct blerg *, int, char **, int *);
42 uint64_t blerg_get_record_count(struct blerg *);
43 time_t blerg_get_timestamp(struct blerg *blerg, int record);