From 93cc86fe9e3be0ce83d20790327f41df3b0f6949 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 7 Mar 2011 22:24:34 -0800 Subject: Twitter: Warn the user if the OAuth username and the configured username don't match. This is not a real problem but can be confusing if you don't expect it. --- lib/oauth.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/oauth.h') diff --git a/lib/oauth.h b/lib/oauth.h index 5dfe0ae5..8270a545 100644 --- a/lib/oauth.h +++ b/lib/oauth.h @@ -51,6 +51,7 @@ struct oauth_info char *token; char *token_secret; + GSList *params; }; struct oauth_service @@ -88,3 +89,6 @@ void oauth_info_free( struct oauth_info *info ); /* Convert to and back from strings, for easier saving. */ char *oauth_to_string( struct oauth_info *oi ); struct oauth_info *oauth_from_string( char *in, const struct oauth_service *sp ); + +/* For reading misc. data. */ +const char *oauth_params_get( GSList **params, const char *key ); -- cgit v1.2.3