Changeset f6f5eee for protocols/nogaim.h


Ignore:
Timestamp:
2010-07-27T22:04:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4255320
Parents:
82ca986
Message:

Source documentation update, including a short HACKING file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r82ca986 rf6f5eee  
    305305G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle );
    306306
    307 /* Groupchats */
    308 G_MODULE_EXPORT void imcb_chat_invited( struct im_connection *ic, char *handle, char *who, char *msg, GList *data );
    309 /* These two functions are to create a group chat.
    310  * - imcb_chat_new(): the 'handle' parameter identifies the chat, like the
    311  *   channel name on IRC.
    312  * - After you have a groupchat pointer, you should add the handles, finally
    313  *   the user her/himself. At that point the group chat will be visible to the
    314  *   user, too. */
    315 G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle );
    316 G_MODULE_EXPORT void imcb_chat_name_hint( struct groupchat *c, const char *name );
    317 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, const char *handle );
    318 /* To remove a handle from a group chat. Reason can be NULL. */
    319 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, const char *handle, const char *reason );
    320 /* To tell BitlBee 'who' said 'msg' in 'c'. 'flags' and 'sent_at' can be 0. */
    321 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at );
    322 /* System messages specific to a groupchat, so they can be displayed in the right context. */
    323 G_MODULE_EXPORT void imcb_chat_log( struct groupchat *c, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
    324 /* To tell BitlBee 'who' changed the topic of 'c' to 'topic'. */
    325 G_MODULE_EXPORT void imcb_chat_topic( struct groupchat *c, char *who, char *topic, time_t set_at );
    326 G_MODULE_EXPORT void imcb_chat_free( struct groupchat *c );
    327 
    328307/* Actions, or whatever. */
    329308int imc_away_send_update( struct im_connection *ic );
Note: See TracChangeset for help on using the changeset viewer.