summaryrefslogtreecommitdiff
path: root/src/requests.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-30 18:54:29 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-11-30 18:54:29 +0000
commit7bc8fe632f29a875659f223ad1e9aa035c56f46c (patch)
tree8a13af1000337feade93762295b213283b03d089 /src/requests.c
parent6df6b7c2a2383d01a6fc20e597f48b0168ccfeb5 (diff)
add some comments at the top of some files, also add a timeout of 20 seconds for curl requests
Diffstat (limited to 'src/requests.c')
-rw-r--r--src/requests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/requests.c b/src/requests.c
index 380c46a..0e17fb3 100644
--- a/src/requests.c
+++ b/src/requests.c
@@ -29,6 +29,10 @@
#include "util.h"
#include "requests.h"
+/* A bunch of functions for creating the various requests, in the form of a
+ * JsonNode ready for dispatch.
+ */
+
static JsonNode *base_request(gchar * method);
JsonNode *generic_request(gchar * method, JsonArray * ids)