diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 16:11:09 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 16:11:09 +0100 |
commit | 56699f009a608ecff3a247a08b3d0105a5e17153 (patch) | |
tree | 9884c0b47ed1f7d062c0567c8505cc120deb4a26 /protocols/bee.h | |
parent | 4aa0f6bc5645e124738ab15ad1eb65d4147dba25 (diff) |
Show idle + login time info in /WHOIS (if available).
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/bee.h b/protocols/bee.h index 5701ea60..c57b4ab5 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -67,6 +67,8 @@ typedef struct bee_user char *status; char *status_msg; + time_t login_time, idle_time; + bee_t *bee; void *ui_data; } bee_user_t; @@ -122,7 +124,7 @@ void bee_group_free( bee_t *bee ); * OPT_LOGGED_IN and OPT_AWAY. * - 'state' and 'message' can be NULL */ G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message ); -/* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); +G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, guint32 flags, time_t sent_at ); |