Ignore:
Timestamp:
2015-02-20T22:50:54Z (5 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
  • protocols/account.h

    raf359b4 r5ebff60  
    1   /********************************************************************\
     1/********************************************************************\
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
     
    2727#define _ACCOUNT_H
    2828
    29 typedef struct account
    30 {
     29typedef struct account {
    3130        struct prpl *prpl;
    3231        char *user;
     
    3433        char *server;
    3534        char *tag;
    36        
     35
    3736        int auto_connect;
    3837        int auto_reconnect_delay;
    3938        int reconnect;
    4039        int flags;
    41        
     40
    4241        set_t *set;
    4342        GHashTable *nicks;
    44        
     43
    4544        struct bee *bee;
    4645        struct im_connection *ic;
     
    4847} account_t;
    4948
    50 account_t *account_add( bee_t *bee, struct prpl *prpl, char *user, char *pass );
    51 account_t *account_get( bee_t *bee, const char *id );
    52 account_t *account_by_tag( bee_t *bee, const char *tag );
    53 void account_del( bee_t *bee, account_t *acc );
    54 void account_on( bee_t *bee, account_t *a );
    55 void account_off( bee_t *bee, account_t *a );
     49account_t *account_add(bee_t *bee, struct prpl *prpl, char *user, char *pass);
     50account_t *account_get(bee_t *bee, const char *id);
     51account_t *account_by_tag(bee_t *bee, const char *tag);
     52void account_del(bee_t *bee, account_t *acc);
     53void account_on(bee_t *bee, account_t *a);
     54void account_off(bee_t *bee, account_t *a);
    5655
    57 char *set_eval_account( set_t *set, char *value );
    58 char *set_eval_account_reconnect_delay( set_t *set, char *value );
    59 int account_reconnect_delay( account_t *a );
     56char *set_eval_account(set_t *set, char *value);
     57char *set_eval_account_reconnect_delay(set_t *set, char *value);
     58int account_reconnect_delay(account_t *a);
    6059
    61 int protocol_account_islocal( const char* protocol );
     60int protocol_account_islocal(const char* protocol);
    6261
    63 typedef enum
    64 {
     62typedef enum {
    6563        ACC_SET_OFFLINE_ONLY = 0x02,    /* Allow changes only if the acct is offline. */
    6664        ACC_SET_ONLINE_ONLY = 0x04,     /* Allow changes only if the acct is online. */
    6765} account_set_flag_t;
    6866
    69 typedef enum
    70 {
     67typedef enum {
    7168        ACC_FLAG_AWAY_MESSAGE = 0x01,   /* Supports away messages instead of just states. */
    7269        ACC_FLAG_STATUS_MESSAGE = 0x02, /* Supports status messages (without being away). */
Note: See TracChangeset for help on using the changeset viewer.