aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter_http.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-01 14:53:59 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-01 14:53:59 +0100
commitc2ecadc08daa5163f4c90aef36de0e33d0d44f16 (patch)
treea88c01b58c6ec593f47b6efffec5be6d80555737 /protocols/twitter/twitter_http.h
parent85ef57f94436f23447c0d8603b52977824381854 (diff)
Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.
Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
Diffstat (limited to 'protocols/twitter/twitter_http.h')
-rw-r--r--protocols/twitter/twitter_http.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/twitter/twitter_http.h b/protocols/twitter/twitter_http.h
index 1e29fb99..5ef2530f 100644
--- a/protocols/twitter/twitter_http.h
+++ b/protocols/twitter/twitter_http.h
@@ -27,8 +27,10 @@
#include "nogaim.h"
#include "http_client.h"
+struct oauth_info;
+
void *twitter_http(char *url_string, http_input_function func, gpointer data, int is_post,
- char* user, char* pass, char *oauth_token, char** arguments, int arguments_len);
+ char* user, char* pass, struct oauth_info *oi, char** arguments, int arguments_len);
#endif //_TWITTER_HTTP_H