Changes in storage.c [d628339:8e6ecfe]
Legend:
- Unmodified
- Added
- Removed
-
storage.c
rd628339 r8e6ecfe 29 29 #include "bitlbee.h" 30 30 31 extern storage_t storage_text;32 31 extern storage_t storage_xml; 33 32 34 33 static GList *storage_backends = NULL; 35 36 const struct prpl protocol_missing = {37 .name = "_unknown",38 };39 34 40 35 void register_storage_backend(storage_t *backend) … … 92 87 } 93 88 94 storage_status_t storage_check_pass( const char *nick, const char *password)89 storage_status_t storage_check_pass(irc_t *irc, const char *nick, const char *password) 95 90 { 96 91 GList *gl; … … 102 97 storage_status_t status; 103 98 104 status = st->check_pass( nick, password);99 status = st->check_pass(irc, nick, password); 105 100 if (status != STORAGE_NO_SUCH_USER) { 106 101 return status; … … 176 171 } 177 172 178 storage_status_t storage_remove(const char *nick , const char *password)173 storage_status_t storage_remove(const char *nick) 179 174 { 180 175 GList *gl; … … 190 185 storage_status_t status; 191 186 192 status = st->remove(nick , password);187 status = st->remove(nick); 193 188 ok |= status == STORAGE_OK; 194 189 if (status != STORAGE_NO_SUCH_USER && status != STORAGE_OK) {
Note: See TracChangeset
for help on using the changeset viewer.