Changeset 2dcaf9a for irc.h


Ignore:
Timestamp:
2010-09-01T22:35:06Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
76e2f62, 858ea01
Parents:
934db064
Message:

Load/save code. It'd be better if the OTR module would just save its info
in BitlBee settings that automatically end up in the existing .xml files
(or whatever storage is used), but I realise this is non-trivial.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    r934db064 r2dcaf9a  
    240240           message and don't want anything to go to the user. */
    241241        char* (*filter_msg_in)( irc_user_t *iu, char *msg, int flags );
     242       
     243        /* From storage.c functions. Ideally these should not be used
     244           and instead data should be stored in settings which will get
     245           saved automatically. Consider these deprecated! */
     246        void (*storage_load)( irc_t *irc );
     247        void (*storage_save)( irc_t *irc );
     248        void (*storage_remove)( const char *nick );
    242249} irc_plugin_t;
    243250
Note: See TracChangeset for help on using the changeset viewer.