diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-07 22:24:34 -0800 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-07 22:24:34 -0800 |
commit | 93cc86fe9e3be0ce83d20790327f41df3b0f6949 (patch) | |
tree | 3d44c9f1226b8b9302df5d368b412360cfb91cca /lib/oauth.h | |
parent | 9e9140b16ab7551c0588a58f065d7c9fbc8475fe (diff) |
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.
Diffstat (limited to 'lib/oauth.h')
-rw-r--r-- | lib/oauth.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 ); |