diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-01 23:35:06 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-01 23:35:06 +0100 |
commit | 2dcaf9a0fabdb92a191e64759d116f316de7dfc2 (patch) | |
tree | 1de0cc9ef4fe5ca5afb4c9e951ab1b193f0390f1 /irc.h | |
parent | 934db064a58ebec2edea83df4fa07e2c83220344 (diff) |
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.
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -239,6 +239,13 @@ typedef struct irc_plugin /* Called by bee_irc_user_msg(). Return NULL if you swallowed the message and don't want anything to go to the user. */ char* (*filter_msg_in)( irc_user_t *iu, char *msg, int flags ); + + /* From storage.c functions. Ideally these should not be used + and instead data should be stored in settings which will get + saved automatically. Consider these deprecated! */ + void (*storage_load)( irc_t *irc ); + void (*storage_save)( irc_t *irc ); + void (*storage_remove)( const char *nick ); } irc_plugin_t; extern GSList *irc_plugins; /* struct irc_plugin */ |