diff options
author | Richard van der Hoff <richard@matrix.org> | 2015-10-20 16:46:30 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2015-10-20 16:46:30 +0100 |
commit | 9e1c6611dabd7763e9ef86708f2fbe2ea27a9d8d (patch) | |
tree | d30fa61a1db0febc4e588e28c14bfed0f2229b2c /matrix-api.h | |
parent | 9d691407057959418d3c23f1ec896eed5efa5fcb (diff) | |
download | purple-matrix-9e1c6611dabd7763e9ef86708f2fbe2ea27a9d8d.tar.gz |
Use libhttp_parser for parsing the API response
Use an external http parser, instead of inventing that wheel ourselves.
Diffstat (limited to 'matrix-api.h')
-rw-r--r-- | matrix-api.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/matrix-api.h b/matrix-api.h index 125568d..a252f19 100644 --- a/matrix-api.h +++ b/matrix-api.h @@ -33,16 +33,12 @@ struct _JsonNode; * @param account The MatrixAccount passed into the api method * @param user_data The user data that your code passed into the api * method. - * @param body_start NULL if there was no body in the response; - * otherwise a pointer to the start of the body in the - * response * @param json_root NULL if there was no body, or it could not be * parsed as JSON; otherwise the root of the JSON * tree in the response */ typedef void (*MatrixApiCallback)(MatrixAccount *account, gpointer user_data, - const gchar *body_start, struct _JsonNode *json_root); |