diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-10 23:52:21 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-10 23:52:21 +0000 |
commit | ddc2de54664ec25b95bbce997fbbb6a7104f1203 (patch) | |
tree | f1f76bf48e9e5ca4eeb6eaa0b84687253f0f78f3 /protocols/twitter/twitter_http.h | |
parent | 8bd866f3d336cb695006bc48592cf7475139aa36 (diff) |
Very immature code for reading from the streaming API. It reads from a
fixed URL and tried to parse individual JSON objects. Not doing anything
useful with it.
Diffstat (limited to 'protocols/twitter/twitter_http.h')
-rw-r--r-- | protocols/twitter/twitter_http.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/twitter/twitter_http.h b/protocols/twitter/twitter_http.h index 393a1c26..02a7ea43 100644 --- a/protocols/twitter/twitter_http.h +++ b/protocols/twitter/twitter_http.h @@ -29,8 +29,8 @@ struct oauth_info; -void *twitter_http(struct im_connection *ic, char *url_string, http_input_function func, - gpointer data, int is_post, char** arguments, int arguments_len); +struct http_request *twitter_http(struct im_connection *ic, char *url_string, http_input_function func, + gpointer data, int is_post, char** arguments, int arguments_len); #endif //_TWITTER_HTTP_H |