Changes in protocols/nogaim.h [aea8b68:cca0692]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
raea8b68 rcca0692 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 10Wilmer van der Gaast and others *4 * Copyright 2002-2004 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"49 47 50 48 #define BUDDY_ALIAS_MAXLEN 388 /* because MSN names can be 387 characters */ … … 87 85 88 86 /* BitlBee */ 89 bee_t *bee;90 91 GSList *groupchats;87 irc_t *irc; 88 89 struct groupchat *groupchats; 92 90 }; 93 91 … … 100 98 * already, for example to avoid adding somebody two times. */ 101 99 GList *in_room; 102 //GList *ignored; 103 104 //struct groupchat *next; 100 GList *ignored; 101 102 struct groupchat *next; 103 char *channel; 105 104 /* The title variable contains the ID you gave when you created the 106 105 * chat using imcb_chat_new(). */ … … 113 112 * structure for your protocol's needs. */ 114 113 void *data; 115 void *ui_data;116 114 }; 117 115 … … 230 228 void (* auth_allow) (struct im_connection *, const char *who); 231 229 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 );235 230 }; 236 231 … … 286 281 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, const char *handle, const char *nick ); 287 282 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 ); 288 292 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 );290 293 G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle ); 291 294 … … 313 316 /* Actions, or whatever. */ 314 317 int imc_away_send_update( struct im_connection *ic ); 318 int imc_buddy_msg( struct im_connection *ic, char *handle, char *msg, int flags ); 315 319 int imc_chat_msg( struct groupchat *c, char *msg, int flags ); 316 320 … … 321 325 322 326 /* Misc. stuff */ 327 char *set_eval_timezone( set_t *set, char *value ); 323 328 char *set_eval_away_devoice( set_t *set, char *value ); 324 329 gboolean auto_reconnect( gpointer data, gint fd, b_input_condition cond );
Note: See TracChangeset
for help on using the changeset viewer.