diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 22:06:24 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 22:06:24 +0100 |
commit | 203a2d2e8857e4c83f8f5e1a89de03ea08538cb2 (patch) | |
tree | a55e88fda74a3c77c29890e6da53e1c2b6e987d5 /protocols/nogaim.h | |
parent | 7b87539aedd967884d4e4eed75d1052a233720eb (diff) |
Allow protocol modules to keep per-contact protocol-specific data. Use
this in the Twitter module to remember the id and timestamp of a contact's
last tweet, which can later be used for simple replies/retweets.
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r-- | protocols/nogaim.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h index 1665a730..be67bb24 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -246,6 +246,9 @@ struct prpl { /* Incoming transfer request */ void (* transfer_request) (struct im_connection *, file_transfer_t *ft, char *handle ); + void (* buddy_data_add) (struct bee_user *bu); + void (* buddy_data_free) (struct bee_user *bu); + /* Some placeholders so eventually older plugins may cooperate with newer BitlBees. */ void *resv1; void *resv2; |