diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-07-31 15:51:07 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-07-31 15:51:07 +0100 |
commit | aa9f1acec3f941cbb6b9fa716db1e775e88005c2 (patch) | |
tree | 5fec0553657b4d52dc0ebeefa281da4fc2a4c0df | |
parent | 1174899c4f299dd020a8e6489d0384ae24771978 (diff) |
Export oauth_params_parse().
-rw-r--r-- | lib/oauth.c | 2 | ||||
-rw-r--r-- | lib/oauth.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/oauth.c b/lib/oauth.c index 372a62d3..4131dc97 100644 --- a/lib/oauth.c +++ b/lib/oauth.c @@ -164,7 +164,7 @@ const char *oauth_params_get( GSList **params, const char *key ) return NULL; } -static void oauth_params_parse( GSList **params, char *in ) +void oauth_params_parse( GSList **params, char *in ) { char *amp, *eq, *s; diff --git a/lib/oauth.h b/lib/oauth.h index 5c4ef4b0..b7388503 100644 --- a/lib/oauth.h +++ b/lib/oauth.h @@ -92,6 +92,7 @@ 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 ); const char *oauth_params_get( GSList **params, const char *key ); |