Changes in protocols/nogaim.h [cca0692:aea8b68]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
rcca0692 raea8b68 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 04Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 … … 45 45 #include "proxy.h" 46 46 #include "query.h" 47 #include "md5.h" 48 #include "ft.h" 47 49 48 50 #define BUDDY_ALIAS_MAXLEN 388 /* because MSN names can be 387 characters */ … … 85 87 86 88 /* BitlBee */ 87 irc_t *irc;88 89 struct groupchat *groupchats;89 bee_t *bee; 90 91 GSList *groupchats; 90 92 }; 91 93 … … 98 100 * already, for example to avoid adding somebody two times. */ 99 101 GList *in_room; 100 GList *ignored; 101 102 struct groupchat *next; 103 char *channel; 102 //GList *ignored; 103 104 //struct groupchat *next; 104 105 /* The title variable contains the ID you gave when you created the 105 106 * chat using imcb_chat_new(). */ … … 112 113 * structure for your protocol's needs. */ 113 114 void *data; 115 void *ui_data; 114 116 }; 115 117 … … 228 230 void (* auth_allow) (struct im_connection *, const char *who); 229 231 void (* auth_deny) (struct im_connection *, const char *who); 232 233 /* Incoming transfer request */ 234 void (* transfer_request) (struct im_connection *, file_transfer_t *ft, char *handle ); 230 235 }; 231 236 … … 281 286 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, const char *handle, const char *nick ); 282 287 283 /* Buddy activity */284 /* To manipulate the status of a handle.285 * - flags can be |='d with OPT_* constants. You will need at least:286 * OPT_LOGGED_IN and OPT_AWAY.287 * - 'state' and 'message' can be NULL */288 G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message );289 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle );290 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */291 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at );292 288 G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags ); 289 G_MODULE_EXPORT struct bee_user *imcb_buddy_by_handle( struct im_connection *ic, const char *handle ); 293 290 G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle ); 294 291 … … 316 313 /* Actions, or whatever. */ 317 314 int imc_away_send_update( struct im_connection *ic ); 318 int imc_buddy_msg( struct im_connection *ic, char *handle, char *msg, int flags );319 315 int imc_chat_msg( struct groupchat *c, char *msg, int flags ); 320 316 … … 325 321 326 322 /* Misc. stuff */ 327 char *set_eval_timezone( set_t *set, char *value );328 323 char *set_eval_away_devoice( set_t *set, char *value ); 329 324 gboolean auto_reconnect( gpointer data, gint fd, b_input_condition cond );
Note: See TracChangeset
for help on using the changeset viewer.