Changeset d860a8d for protocols/bee.h


Ignore:
Timestamp:
2010-04-01T03:38:50Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e63507a
Parents:
81e04e1
Message:

Restored "account" root command and restored enough stuff to be able to
send messages. Also started moving stuff out from nogaim.* into bee_* files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    r81e04e1 rd860a8d  
    8080int bee_user_free( bee_t *bee, struct im_connection *ic, const char *handle );
    8181bee_user_t *bee_user_by_handle( bee_t *bee, struct im_connection *ic, const char *handle );
     82int 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 */
     90G_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. */
     93G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at );
    8294
    8395#endif /* __BEE_H__ */
Note: See TracChangeset for help on using the changeset viewer.