diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-26 11:51:19 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-26 11:51:19 +0100 |
commit | 5f40da79f78e444f08387ce53da1b2e471c8552f (patch) | |
tree | ceded3c147f55b819e11503e91cc4d9e75bbcd43 /lib/oauth.h | |
parent | 96f954df218e81f5580257c319b91217dac2f4bf (diff) | |
parent | 644b8080349d7d42ca89946acc207592fd0acc2d (diff) |
Merging oauth-xmpp branch, which adds support for OAuth2 authentication
against some XMPP services (Google Talk, Facebook and Microsoft's MSN-XMPP
gateway).
Diffstat (limited to 'lib/oauth.h')
-rw-r--r-- | lib/oauth.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/oauth.h b/lib/oauth.h index 8270a545..50adc95c 100644 --- a/lib/oauth.h +++ b/lib/oauth.h @@ -91,4 +91,9 @@ 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_parse( GSList **params, char *in ); +void oauth_params_free( GSList **params ); +char *oauth_params_string( GSList *params ); +void oauth_params_set( GSList **params, const char *key, const char *value ); const char *oauth_params_get( GSList **params, const char *key ); |