summaryrefslogtreecommitdiff
path: root/src/json.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-11 10:27:06 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-11 10:27:06 +0000
commitbe569c0953fcd777ae00ae41feb9c673e4df2f23 (patch)
treede0c822ae4ca82e5a717a04a11271f6d544c6507 /src/json.h
parent547bcd3c5ec89e30f20723b46c8eab1a71e0cf44 (diff)
use thread local storage to keep one curl client per thread (by default 3) in the thread pool
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json.h b/src/json.h
index 1234784..a71e130 100644
--- a/src/json.h
+++ b/src/json.h
@@ -23,10 +23,10 @@
#include <glib-object.h>
#include <json-glib/json-glib.h>
-#include "http.h"
+#include "trg-client.h"
gchar *trg_serialize(JsonNode * req);
-JsonObject *trg_deserialize(struct http_response *response,
+JsonObject *trg_deserialize(trg_http_response *response,
GError ** error);
JsonObject *get_arguments(JsonObject * req);
JsonObject *node_get_arguments(JsonNode * req);