summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-14 19:34:56 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-14 19:34:56 +0000
commit3f7785e670e09cfd75a77ccca8031fabc0d432ab (patch)
tree41ff9eadd2b1eb537568f87a0bfcc3941a4df36a /src/util.h
parent009ef4d4a37ca136c6bd1071fc980c4f164badd9 (diff)
statistics!
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ef9d3b3..edfc7e8 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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_ */