Changeset 11bcee9
- Timestamp:
- 2006-04-08T14:10:29Z (19 years ago)
- Branches:
- master
- Children:
- 85616c3, 88b3a07
- Parents:
- f8de26f (diff), 9e08d5d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/bitlbee.8
rf8de26f r11bcee9 116 116 .SH AUTHORS 117 117 .PP 118 Wilmer van der Gaast < lintux@lintux.cx>118 Wilmer van der Gaast <wilmer@gaast.net> 119 119 .BR 120 120 Jelmer Vernooij <jelmer@vernstok.nl> -
irc.c
rf8de26f r11bcee9 199 199 } 200 200 201 static gboolean irc_free_ userhash( gpointer key, gpointer value, gpointer data )201 static gboolean irc_free_hashkey( gpointer key, gpointer value, gpointer data ) 202 202 { 203 203 g_free( key ); … … 285 285 } 286 286 287 g_hash_table_foreach_remove(irc->userhash, irc_free_ userhash, NULL);287 g_hash_table_foreach_remove(irc->userhash, irc_free_hashkey, NULL); 288 288 g_hash_table_destroy(irc->userhash); 289 289 290 g_hash_table_foreach_remove(irc->watches, irc_free_ userhash, NULL);290 g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL); 291 291 g_hash_table_destroy(irc->watches); 292 292 -
protocols/nogaim.c
rf8de26f r11bcee9 566 566 /* prpl.c */ 567 567 568 struct show_got_added_data 569 { 570 struct gaim_connection *gc; 571 char *handle; 572 }; 573 574 void show_got_added_no( gpointer w, struct show_got_added_data *data ) 575 { 576 g_free( data->handle ); 577 g_free( data ); 578 } 579 580 void show_got_added_yes( gpointer w, struct show_got_added_data *data ) 581 { 582 data->gc->prpl->add_buddy( data->gc, data->handle ); 583 add_buddy( data->gc, NULL, data->handle, data->handle ); 584 585 return show_got_added_no( w, data ); 586 } 587 568 588 void show_got_added( struct gaim_connection *gc, char *handle, const char *realname ) 569 589 { 570 return; 590 struct show_got_added_data *data = g_new0( struct show_got_added_data, 1 ); 591 char *s; 592 593 /* TODO: Make a setting for this! */ 594 if( user_findhandle( gc, handle ) != NULL ) 595 return; 596 597 s = g_strdup_printf( "The user %s is not in your buddy list yet. Do you want to add him/her now?", handle ); 598 599 data->gc = gc; 600 data->handle = g_strdup( handle ); 601 query_add( gc->irc, gc, s, show_got_added_yes, show_got_added_no, data ); 571 602 } 572 603 -
protocols/nogaim.h
rf8de26f r11bcee9 15 15 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> 16 16 * (and possibly other members of the Gaim team) 17 * Copyright 2002-2004 Wilmer van der Gaast < lintux@lintux.cx>17 * Copyright 2002-2004 Wilmer van der Gaast <wilmer@gaast.net> 18 18 */ 19 19 … … 52 52 #define BUDDY_ALIAS_MAXLEN 388 /* because MSN names can be 387 characters */ 53 53 54 #define PERMIT_ALL 155 #define PERMIT_NONE 256 #define PERMIT_SOME 357 #define DENY_SOME 458 59 54 #define WEBSITE "http://www.bitlee.org/" 60 55 #define IM_FLAG_AWAY 0x0020 … … 62 57 #define OPT_LOGGED_IN 0x00010000 63 58 #define GAIM_AWAY_CUSTOM "Custom" 64 65 #define GAIM_LOGO 066 #define GAIM_ERROR 167 #define GAIM_WARNING 268 #define GAIM_INFO 369 59 70 60 /* ok. now the fun begins. first we create a connection structure */ -
query.c
rf8de26f r11bcee9 140 140 if( ans ) 141 141 { 142 serv_got_crap( q->gc, "Accepted: %s", q->question ); 142 143 q->yes( NULL, q->data ); 143 serv_got_crap( q->gc, "Accepted: %s", q->question );144 144 } 145 145 else 146 146 { 147 serv_got_crap( q->gc, "Rejected: %s", q->question ); 147 148 q->no( NULL, q->data ); 148 serv_got_crap( q->gc, "Rejected: %s", q->question );149 149 } 150 150 q->data = NULL; -
utils/bitlbeed.c
rf8de26f r11bcee9 6 6 * (without access to /etc/inetd.conf or whatever) * 7 7 * * 8 * Copyright 2002-2004 Wilmer van der Gaast < lintux@debian.org>*8 * Copyright 2002-2004 Wilmer van der Gaast <wilmer@gaast.net> * 9 9 * * 10 10 * Licensed under the GNU General Public License *
Note: See TracChangeset
for help on using the changeset viewer.