Changes in / [11bcee9:f8de26f]


Ignore:
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • doc/bitlbee.8

    r11bcee9 rf8de26f  
    116116.SH AUTHORS
    117117.PP
    118  Wilmer van der Gaast <wilmer@gaast.net>
     118 Wilmer van der Gaast <lintux@lintux.cx>
    119119.BR
    120120 Jelmer Vernooij <jelmer@vernstok.nl>
  • irc.c

    r11bcee9 rf8de26f  
    199199}
    200200
    201 static gboolean irc_free_hashkey( gpointer key, gpointer value, gpointer data )
     201static gboolean irc_free_userhash( gpointer key, gpointer value, gpointer data )
    202202{
    203203        g_free( key );
     
    285285        }
    286286       
    287         g_hash_table_foreach_remove(irc->userhash, irc_free_hashkey, NULL);
     287        g_hash_table_foreach_remove(irc->userhash, irc_free_userhash, NULL);
    288288        g_hash_table_destroy(irc->userhash);
    289289       
    290         g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL);
     290        g_hash_table_foreach_remove(irc->watches, irc_free_userhash, NULL);
    291291        g_hash_table_destroy(irc->watches);
    292292       
  • protocols/nogaim.c

    r11bcee9 rf8de26f  
    566566/* prpl.c */
    567567
    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 
    588568void show_got_added( struct gaim_connection *gc, char *handle, const char *realname )
    589569{
    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 );
     570        return;
    602571}
    603572
  • protocols/nogaim.h

    r11bcee9 rf8de26f  
    1515 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
    1616 *                          (and possibly other members of the Gaim team)
    17  * Copyright 2002-2004 Wilmer van der Gaast <wilmer@gaast.net>
     17 * Copyright 2002-2004 Wilmer van der Gaast <lintux@lintux.cx>
    1818 */
    1919
     
    5252#define BUDDY_ALIAS_MAXLEN 388   /* because MSN names can be 387 characters */
    5353
     54#define PERMIT_ALL      1
     55#define PERMIT_NONE     2
     56#define PERMIT_SOME     3
     57#define DENY_SOME       4
     58
    5459#define WEBSITE "http://www.bitlee.org/"
    5560#define IM_FLAG_AWAY 0x0020
     
    5762#define OPT_LOGGED_IN 0x00010000
    5863#define GAIM_AWAY_CUSTOM "Custom"
     64
     65#define GAIM_LOGO       0
     66#define GAIM_ERROR      1
     67#define GAIM_WARNING    2
     68#define GAIM_INFO       3
    5969
    6070/* ok. now the fun begins. first we create a connection structure */
  • query.c

    r11bcee9 rf8de26f  
    140140        if( ans )
    141141        {
     142                q->yes( NULL, q->data );
    142143                serv_got_crap( q->gc, "Accepted: %s", q->question );
    143                 q->yes( NULL, q->data );
    144144        }
    145145        else
    146146        {
     147                q->no( NULL, q->data );
    147148                serv_got_crap( q->gc, "Rejected: %s", q->question );
    148                 q->no( NULL, q->data );
    149149        }
    150150        q->data = NULL;
  • utils/bitlbeed.c

    r11bcee9 rf8de26f  
    66*  (without access to /etc/inetd.conf or whatever)               *
    77*                                                                *
    8 *  Copyright 2002-2004 Wilmer van der Gaast <wilmer@gaast.net>   *
     8*  Copyright 2002-2004 Wilmer van der Gaast <lintux@debian.org>  *
    99*                                                                *
    1010*  Licensed under the GNU General Public License                 *
Note: See TracChangeset for help on using the changeset viewer.