aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/oauth.c2
-rw-r--r--lib/oauth.h1
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 );