diff options
author | Wilmer van der Gaast <wilmer@google.com> | 2011-07-26 12:58:38 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@google.com> | 2011-07-26 12:58:38 +0100 |
commit | 4a5d88504235e1df5d01a3a5701b83dd82d6695d (patch) | |
tree | 95eda026f565bc43ad8aea62470d710ba3245369 /lib/oauth.h | |
parent | 59c9adb4e3e27ded95ec9ccee4f57cf79490bd12 (diff) |
Working OAuth2 support. Needs some more debugging (error handling is not
great and imc_logout() gets (rightfully) confused when jabber_data is empty).
Diffstat (limited to 'lib/oauth.h')
-rw-r--r-- | lib/oauth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/oauth.h b/lib/oauth.h index 8270a545..5c4ef4b0 100644 --- a/lib/oauth.h +++ b/lib/oauth.h @@ -91,4 +91,7 @@ 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. */ +void oauth_params_add( GSList **params, const char *key, const char *value ); +void oauth_params_free( GSList **params ); +char *oauth_params_string( GSList *params ); const char *oauth_params_get( GSList **params, const char *key ); |