diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-14 19:34:56 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-14 19:34:56 +0000 |
commit | 3f7785e670e09cfd75a77ccca8031fabc0d432ab (patch) | |
tree | 41ff9eadd2b1eb537568f87a0bfcc3941a4df36a /src/util.h | |
parent | 009ef4d4a37ca136c6bd1071fc980c4f164badd9 (diff) |
statistics!
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,7 @@ #define UTIL_H_ #include <glib-object.h> +#include <json-glib/json-glib.h> #define trg_strlspeed(a, b) tr_strlspeed(a, b, sizeof(a)) #define trg_strlpercent(a, b) tr_strlpercent(a, b, sizeof(a)) @@ -52,5 +53,7 @@ size_t tr_strlcpy(char *dst, const void *src, size_t siz); double tr_truncd(double x, int decimal_places); int evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap); +void response_unref(JsonObject * response); +const gchar *make_error_message(JsonObject * response, int status); #endif /* UTIL_H_ */ |