Changeset 5ebff60 for storage.h


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
  • storage.h

    raf359b4 r5ebff60  
    1   /********************************************************************\
     1/********************************************************************\
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
     
    3232        STORAGE_INVALID_PASSWORD,
    3333        STORAGE_ALREADY_EXISTS,
    34         STORAGE_OTHER_ERROR /* Error that isn't caused by user input, such as 
    35                                a database that is unreachable. log() will be 
     34        STORAGE_OTHER_ERROR /* Error that isn't caused by user input, such as
     35                               a database that is unreachable. log() will be
    3636                               used for the exact error message */
    3737} storage_status_t;
     
    3939typedef struct {
    4040        const char *name;
    41        
     41
    4242        /* May be set to NULL if not required */
    43         void (*init) (void);
     43        void (*init)(void);
    4444
    45         storage_status_t (*check_pass) (const char *nick, const char *password);
     45        storage_status_t (*check_pass)(const char *nick, const char *password);
    4646
    47         storage_status_t (*load) (irc_t *irc, const char *password);
    48         storage_status_t (*save) (irc_t *irc, int overwrite);
    49         storage_status_t (*remove) (const char *nick, const char *password);
     47        storage_status_t (*load)(irc_t *irc, const char *password);
     48        storage_status_t (*save)(irc_t *irc, int overwrite);
     49        storage_status_t (*remove)(const char *nick, const char *password);
    5050
    5151        /* May be NULL if not supported by backend */
    52         storage_status_t (*rename) (const char *onick, const char *nnick, const char *password);
     52        storage_status_t (*rename)(const char *onick, const char *nnick, const char *password);
    5353} storage_t;
    5454
    55 storage_status_t storage_check_pass (const char *nick, const char *password);
     55storage_status_t storage_check_pass(const char *nick, const char *password);
    5656
    57 storage_status_t storage_load (irc_t * irc, const char *password);
    58 storage_status_t storage_save (irc_t *irc, char *password, int overwrite);
    59 storage_status_t storage_remove (const char *nick, const char *password);
     57storage_status_t storage_load(irc_t * irc, const char *password);
     58storage_status_t storage_save(irc_t *irc, char *password, int overwrite);
     59storage_status_t storage_remove(const char *nick, const char *password);
    6060
    6161void register_storage_backend(storage_t *);
Note: See TracChangeset for help on using the changeset viewer.