Changes in storage.h [8e6ecfe:d628339]
Legend:
- Unmodified
- Added
- Removed
-
storage.h
r8e6ecfe rd628339 31 31 STORAGE_NO_SUCH_USER, 32 32 STORAGE_INVALID_PASSWORD, 33 STORAGE_CHECK_BACKEND,34 33 STORAGE_ALREADY_EXISTS, 35 34 STORAGE_OTHER_ERROR /* Error that isn't caused by user input, such as … … 44 43 void (*init)(void); 45 44 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); 47 46 48 47 storage_status_t (*load)(irc_t *irc, const char *password); 49 48 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); 51 50 52 51 /* May be NULL if not supported by backend */ … … 54 53 } storage_t; 55 54 56 storage_status_t storage_check_pass( irc_t *irc,const char *nick, const char *password);55 storage_status_t storage_check_pass(const char *nick, const char *password); 57 56 58 57 storage_status_t storage_load(irc_t * irc, const char *password); 59 58 storage_status_t storage_save(irc_t *irc, char *password, int overwrite); 60 storage_status_t storage_remove(const char *nick );59 storage_status_t storage_remove(const char *nick, const char *password); 61 60 62 61 void register_storage_backend(storage_t *); 63 62 G_GNUC_MALLOC GList *storage_init(const char *primary, char **migrate); 64 63 64 extern const struct prpl protocol_missing; 65 65 66 #endif /* __STORAGE_H__ */
Note: See TracChangeset
for help on using the changeset viewer.