- Timestamp:
- 2010-03-14T17:49:24Z (15 years ago)
- Branches:
- master
- Children:
- fb00989
- Parents:
- 6a78c0e
- Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r6a78c0e rc6ca3ee 29 29 #include "xmltree.h" 30 30 #include "bitlbee.h" 31 #include "md5.h" 31 32 32 33 extern GSList *jabber_connections; -
protocols/msn/msn.c
r6a78c0e rc6ca3ee 26 26 #include "nogaim.h" 27 27 #include "msn.h" 28 29 int msn_chat_id; 30 GSList *msn_connections; 31 GSList *msn_switchboards; 28 32 29 33 static char *msn_set_display_name( set_t *set, char *value ); -
protocols/msn/msn.h
r6a78c0e rc6ca3ee 133 133 #define STATUS_SB_CHAT_SPARE 8 /* Same, but also for groupchats (not used yet). */ 134 134 135 int msn_chat_id;135 extern int msn_chat_id; 136 136 extern const struct msn_away_state msn_away_state_list[]; 137 137 extern const struct msn_status_code msn_status_code_list[]; … … 142 142 connection), the callback should check whether it's still listed here 143 143 before doing *anything* else. */ 144 GSList *msn_connections;145 GSList *msn_switchboards;144 extern GSList *msn_connections; 145 extern GSList *msn_switchboards; 146 146 147 147 /* ns.c */ -
protocols/nogaim.c
r6a78c0e rc6ca3ee 352 352 /* list.c */ 353 353 354 void imcb_add_buddy( struct im_connection *ic, c har *handle,char *group )354 void imcb_add_buddy( struct im_connection *ic, const char *handle, const char *group ) 355 355 { 356 356 user_t *u; … … 426 426 } 427 427 428 void imcb_rename_buddy( struct im_connection *ic, c har *handle,char *realname )428 void imcb_rename_buddy( struct im_connection *ic, const char *handle, const char *realname ) 429 429 { 430 430 user_t *u = user_findhandle( ic, handle ); … … 443 443 } 444 444 445 void imcb_remove_buddy( struct im_connection *ic, c har *handle, char *group )445 void imcb_remove_buddy( struct im_connection *ic, const char *handle, char *group ) 446 446 { 447 447 user_t *u; … … 628 628 } 629 629 630 void imcb_buddy_msg( struct im_connection *ic, c har *handle, char *msg, uint32_t flags, time_t sent_at )630 void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at ) 631 631 { 632 632 irc_t *irc = ic->irc; … … 695 695 } 696 696 697 struct groupchat *imcb_chat_new( struct im_connection *ic, c har *handle )697 struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle ) 698 698 { 699 699 struct groupchat *c; … … 761 761 } 762 762 763 void imcb_chat_msg( struct groupchat *c, c har *who, char *msg, uint32_t flags, time_t sent_at )763 void imcb_chat_msg( struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at ) 764 764 { 765 765 struct im_connection *ic = c->ic; … … 833 833 /* buddy_chat.c */ 834 834 835 void imcb_chat_add_buddy( struct groupchat *b, c har *handle )835 void imcb_chat_add_buddy( struct groupchat *b, const char *handle ) 836 836 { 837 837 user_t *u = user_findhandle( b->ic, handle ); … … 868 868 869 869 /* This function is one BIG hack... :-( EREWRITE */ 870 void imcb_chat_remove_buddy( struct groupchat *b, c har *handle,char *reason )870 void imcb_chat_remove_buddy( struct groupchat *b, const char *handle, const char *reason ) 871 871 { 872 872 user_t *u; -
protocols/nogaim.h
r6a78c0e rc6ca3ee 43 43 #include "proxy.h" 44 44 #include "query.h" 45 #include "md5.h"46 45 47 46 #define BUDDY_ALIAS_MAXLEN 388 /* because MSN names can be 387 characters */ … … 264 263 * user, usually after a login, or if the user added a buddy and the IM 265 264 * server confirms that the add was successful. Don't forget to do this! */ 266 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, c har *handle,char *group );267 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, c har *handle, char *group );265 G_MODULE_EXPORT void imcb_add_buddy( struct im_connection *ic, const char *handle, const char *group ); 266 G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, const char *handle, char *group ); 268 267 G_MODULE_EXPORT struct buddy *imcb_find_buddy( struct im_connection *ic, char *handle ); 269 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, c har *handle,char *realname );268 G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, const char *handle, const char *realname ); 270 269 G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, char *handle, char *nick ); 271 270 … … 278 277 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 279 278 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 280 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, c har *handle, char *msg, uint32_t flags, time_t sent_at );279 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at ); 281 280 G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags ); 282 281 G_MODULE_EXPORT void imcb_clean_handle( struct im_connection *ic, char *handle ); … … 290 289 * the user her/himself. At that point the group chat will be visible to the 291 290 * user, too. */ 292 G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, c har *handle );293 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, c har *handle );291 G_MODULE_EXPORT struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle ); 292 G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *b, const char *handle ); 294 293 /* To remove a handle from a group chat. Reason can be NULL. */ 295 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, c har *handle,char *reason );294 G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *b, const char *handle, const char *reason ); 296 295 /* To tell BitlBee 'who' said 'msg' in 'c'. 'flags' and 'sent_at' can be 0. */ 297 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, c har *who, char *msg, uint32_t flags, time_t sent_at );296 G_MODULE_EXPORT void imcb_chat_msg( struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at ); 298 297 /* System messages specific to a groupchat, so they can be displayed in the right context. */ 299 298 G_MODULE_EXPORT void imcb_chat_log( struct groupchat *c, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
Note: See TracChangeset
for help on using the changeset viewer.