Changes in storage.h [d628339:8e6ecfe]
Legend:
- Unmodified
- Added
- Removed
-
storage.h
rd628339 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 *); 62 63 G_GNUC_MALLOC GList *storage_init(const char *primary, char **migrate); 63 64 64 extern const struct prpl protocol_missing;65 66 65 #endif /* __STORAGE_H__ */
Note: See TracChangeset
for help on using the changeset viewer.