Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage.h

    r8e6ecfe rd628339  
    3131        STORAGE_NO_SUCH_USER,
    3232        STORAGE_INVALID_PASSWORD,
    33         STORAGE_CHECK_BACKEND,
    3433        STORAGE_ALREADY_EXISTS,
    3534        STORAGE_OTHER_ERROR /* Error that isn't caused by user input, such as
     
    4443        void (*init)(void);
    4544
    46         storage_status_t (*check_pass)(irc_t *irc, const char *nick, const char *password);
     45        storage_status_t (*check_pass)(const char *nick, const char *password);
    4746
    4847        storage_status_t (*load)(irc_t *irc, const char *password);
    4948        storage_status_t (*save)(irc_t *irc, int overwrite);
    50         storage_status_t (*remove)(const char *nick);
     49        storage_status_t (*remove)(const char *nick, const char *password);
    5150
    5251        /* May be NULL if not supported by backend */
     
    5453} storage_t;
    5554
    56 storage_status_t storage_check_pass(irc_t *irc, const char *nick, const char *password);
     55storage_status_t storage_check_pass(const char *nick, const char *password);
    5756
    5857storage_status_t storage_load(irc_t * irc, const char *password);
    5958storage_status_t storage_save(irc_t *irc, char *password, int overwrite);
    60 storage_status_t storage_remove(const char *nick);
     59storage_status_t storage_remove(const char *nick, const char *password);
    6160
    6261void register_storage_backend(storage_t *);
    6362G_GNUC_MALLOC GList *storage_init(const char *primary, char **migrate);
    6463
     64extern const struct prpl protocol_missing;
     65
    6566#endif /* __STORAGE_H__ */
Note: See TracChangeset for help on using the changeset viewer.