Changeset ab49fdc for storage.c


Ignore:
Timestamp:
2005-12-10T14:50:49Z (14 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
a301379c
Parents:
87c24ba
Message:

Use helper functions rather then the backends directly. This will be
used for transparent upgrade support later on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage.c

    r87c24ba rab49fdc  
    5757        return st;
    5858}
     59
     60storage_status_t storage_check_pass (const char *nick, const char *password)
     61{
     62        return global.storage->check_pass(nick, password);
     63}
     64
     65storage_status_t storage_load (const char *nick, const char *password, irc_t * irc)
     66{
     67        return global.storage->load(nick, password, irc);
     68}
     69
     70storage_status_t storage_save (irc_t *irc, int overwrite)
     71{
     72        return global.storage->save(irc, overwrite);
     73}
     74
     75storage_status_t storage_remove (const char *nick, const char *password)
     76{
     77        return global.storage->remove(nick, password);
     78}
     79
     80storage_status_t storage_rename (const char *onick, const char *nnick, const char *password)
     81{
     82        return global.storage->rename(onick, nnick, password);
     83}
Note: See TracChangeset for help on using the changeset viewer.