diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-25 22:28:38 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-25 22:28:38 +0000 |
commit | b235228768645c11d3ef138ddba839c7dd529567 (patch) | |
tree | 545e11cc601d3162599f2b15edefe397cfcd01d6 /protocols/twitter/twitter_http.h | |
parent | 67f68282bb20ad3af6dfa6017b89b89ab0a1767f (diff) |
Have root confirm some commands that so far gave no feedback at all, since
"no news is good news" can be a little confusing.
Diffstat (limited to 'protocols/twitter/twitter_http.h')
-rw-r--r-- | protocols/twitter/twitter_http.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_http.h b/protocols/twitter/twitter_http.h index 02a7ea43..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; 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 |