Changeset 5ebff60 for lib/oauth2.h


Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b9daac, 3d45471, 7733b8c
Parents:
af359b4
git-author:
Indent <please@…> (19-02-15 05:47:20)
git-committer:
dequis <dx@…> (20-02-15 22:50:54)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth2.h

    raf359b4 r5ebff60  
    2525   module, and from http://code.google.com/apis/accounts/docs/OAuth2.html . */
    2626
    27 typedef void (*oauth2_token_callback)( gpointer data, const char *atoken,
    28                                        const char *rtoken, const char *error );
     27typedef void (*oauth2_token_callback)(gpointer data, const char *atoken,
     28                                      const char *rtoken, const char *error);
    2929
    30 struct oauth2_service
    31 {
     30struct oauth2_service {
    3231        char *auth_url;
    3332        char *token_url;
     
    4342/* Generate a URL the user should open in his/her browser to get an
    4443   authorization code. */
    45 char *oauth2_url( const struct oauth2_service *sp );
     44char *oauth2_url(const struct oauth2_service *sp);
    4645
    4746/* Exchanges an auth code or refresh token for an access token.
    4847   auth_type is one of the two OAUTH2_AUTH_.. constants above. */
    49 int oauth2_access_token( const struct oauth2_service *sp,
    50                          const char *auth_type, const char *auth,
    51                          oauth2_token_callback func, gpointer data );
     48int oauth2_access_token(const struct oauth2_service *sp,
     49                        const char *auth_type, const char *auth,
     50                        oauth2_token_callback func, gpointer data);
Note: See TracChangeset for help on using the changeset viewer.