diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-26 22:20:09 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-26 22:20:09 +0100 | 
| commit | acba168df90f28fdaee26bc09d621364878dd099 (patch) | |
| tree | 82121fc2a12c376f1433d08df0b253be742f29d9 /lib/oauth.c | |
| parent | 508c340d1d12d3ca932001d7ee1dea1a4c81bf02 (diff) | |
Moving two public OAuth functions into the header file.
Diffstat (limited to 'lib/oauth.c')
| -rw-r--r-- | lib/oauth.c | 17 | 
1 files changed, 1 insertions, 16 deletions
| diff --git a/lib/oauth.c b/lib/oauth.c index 6731fe7e..7897b760 100644 --- a/lib/oauth.c +++ b/lib/oauth.c @@ -30,6 +30,7 @@  #include "misc.h"  #include "sha1.h"  #include "url.h" +#include "oauth.h"  #define CONSUMER_KEY "xsDNKJuNZYkZyMcu914uEA"  #define CONSUMER_SECRET "FCxqcr0pXKzsF9ajmP57S3VQ8V6Drk4o2QYtqMcOszo" @@ -37,22 +38,6 @@  #define HMAC_BLOCK_SIZE 64 -struct oauth_info; -typedef void (*oauth_cb)( struct oauth_info * ); - -struct oauth_info -{ -	oauth_cb func; -	void *data; -	 -	struct http_request *http; -	 -	char *auth_params; -	char *token; -	 -	char *access_token; -}; -  static char *oauth_sign( const char *method, const char *url,                           const char *params, const char *token_secret )  { | 
