- Timestamp:
- 2016-03-25T18:07:53Z (9 years ago)
- Branches:
- master
- Children:
- a6005da
- Parents:
- 446a23e
- git-author:
- Dennis Kaarsemaker <dennis@…> (23-02-16 18:41:34)
- git-committer:
- Dennis Kaarsemaker <dennis@…> (25-03-16 18:07:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage.h
r446a23e r8e6ecfe 31 31 STORAGE_NO_SUCH_USER, 32 32 STORAGE_INVALID_PASSWORD, 33 STORAGE_CHECK_BACKEND, 33 34 STORAGE_ALREADY_EXISTS, 34 35 STORAGE_OTHER_ERROR /* Error that isn't caused by user input, such as … … 43 44 void (*init)(void); 44 45 45 storage_status_t (*check_pass)( const char *nick, const char *password);46 storage_status_t (*check_pass)(irc_t *irc, const char *nick, const char *password); 46 47 47 48 storage_status_t (*load)(irc_t *irc, const char *password); 48 49 storage_status_t (*save)(irc_t *irc, int overwrite); 49 storage_status_t (*remove)(const char *nick , const char *password);50 storage_status_t (*remove)(const char *nick); 50 51 51 52 /* May be NULL if not supported by backend */ … … 53 54 } storage_t; 54 55 55 storage_status_t storage_check_pass( const char *nick, const char *password);56 storage_status_t storage_check_pass(irc_t *irc, const char *nick, const char *password); 56 57 57 58 storage_status_t storage_load(irc_t * irc, const char *password); 58 59 storage_status_t storage_save(irc_t *irc, char *password, int overwrite); 59 storage_status_t storage_remove(const char *nick , const char *password);60 storage_status_t storage_remove(const char *nick); 60 61 61 62 void register_storage_backend(storage_t *);
Note: See TracChangeset
for help on using the changeset viewer.