diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-12-22 01:14:26 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-12-22 01:14:26 +0100 |
commit | cc6fdf8fe5a044db58ed74e69673cf4270080d45 (patch) | |
tree | d58edb70d76e84bf24016fccf9cd27764ea7ae4c /protocols/twitter/twitter_http.h | |
parent | 92d30446251591a6805168f51a4b07ff65b3cc24 (diff) | |
parent | 573e274c58bf7d154b35ab5cd9d0b711f7ede715 (diff) |
Merging JSON branch. It's very stable by now, and I want more testers.
Diffstat (limited to 'protocols/twitter/twitter_http.h')
-rw-r--r-- | protocols/twitter/twitter_http.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/protocols/twitter/twitter_http.h b/protocols/twitter/twitter_http.h index 393a1c26..09ef350c 100644 --- a/protocols/twitter/twitter_http.h +++ b/protocols/twitter/twitter_http.h @@ -27,10 +27,18 @@ #include "nogaim.h" #include "http_client.h" +typedef enum { + /* With this set, twitter_http_post() will post a generic confirmation + message to the user. */ + TWITTER_HTTP_USER_ACK = 0x1000000, +} twitter_http_flags_t; + 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); +struct http_request *twitter_http_f(struct im_connection *ic, char *url_string, http_input_function func, + gpointer data, int is_post, char** arguments, int arguments_len, twitter_http_flags_t flags); #endif //_TWITTER_HTTP_H |