Changeset d860a8d for protocols/bee.h
- Timestamp:
- 2010-04-01T03:38:50Z (14 years ago)
- Branches:
- master
- Children:
- e63507a
- Parents:
- 81e04e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.h
r81e04e1 rd860a8d 80 80 int bee_user_free( bee_t *bee, struct im_connection *ic, const char *handle ); 81 81 bee_user_t *bee_user_by_handle( bee_t *bee, struct im_connection *ic, const char *handle ); 82 int bee_user_msg( bee_t *bee, bee_user_t *bu, const char *msg, int flags ); 83 84 /* Callbacks from IM modules to core: */ 85 /* Buddy activity */ 86 /* To manipulate the status of a handle. 87 * - flags can be |='d with OPT_* constants. You will need at least: 88 * OPT_LOGGED_IN and OPT_AWAY. 89 * - 'state' and 'message' can be NULL */ 90 G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message ); 91 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 92 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 93 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at ); 82 94 83 95 #endif /* __BEE_H__ */
Note: See TracChangeset
for help on using the changeset viewer.