aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-07 22:06:24 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-07 22:06:24 +0100
commit203a2d2e8857e4c83f8f5e1a89de03ea08538cb2 (patch)
treea55e88fda74a3c77c29890e6da53e1c2b6e987d5 /protocols/bee.h
parent7b87539aedd967884d4e4eed75d1052a233720eb (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/bee.h')
-rw-r--r--protocols/bee.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/bee.h b/protocols/bee.h
index a8517f2e..5792e988 100644
--- a/protocols/bee.h
+++ b/protocols/bee.h
@@ -79,6 +79,7 @@ typedef struct bee_user
bee_t *bee;
void *ui_data;
+ void *data; /* Can be used by the IM module. */
} bee_user_t;
/* This one's mostly used so save space and make it easier (cheaper) to