Changeset acba168 for lib/oauth.c


Ignore:
Timestamp:
2010-04-26T21:20:09Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
713d611
Parents:
508c340
Message:

Moving two public OAuth functions into the header file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth.c

    r508c340 racba168  
    3131#include "sha1.h"
    3232#include "url.h"
     33#include "oauth.h"
    3334
    3435#define CONSUMER_KEY "xsDNKJuNZYkZyMcu914uEA"
     
    3738
    3839#define HMAC_BLOCK_SIZE 64
    39 
    40 struct oauth_info;
    41 typedef void (*oauth_cb)( struct oauth_info * );
    42 
    43 struct oauth_info
    44 {
    45         oauth_cb func;
    46         void *data;
    47        
    48         struct http_request *http;
    49        
    50         char *auth_params;
    51         char *token;
    52        
    53         char *access_token;
    54 };
    5540
    5641static char *oauth_sign( const char *method, const char *url,
Note: See TracChangeset for help on using the changeset viewer.