Ignore:
Timestamp:
2007-04-16T01:03:08Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6bbb939
Parents:
c2fb3809
Message:

s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h a
little bit, grouping things by category instead of original Gaim 0.58
filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rc2fb3809 r84b045d  
    5959static void jabber_login( account_t *acc )
    6060{
    61         struct im_connection *ic = imc_new( acc );
     61        struct im_connection *ic = imcb_new( acc );
    6262        struct jabber_data *jd = g_new0( struct jabber_data, 1 );
    6363        struct ns_srv_reply *srv = NULL;
     
    7272        if( jd->server == NULL )
    7373        {
    74                 imc_error( ic, "Incomplete account name (format it like <username@jabberserver.name>)" );
     74                imcb_error( ic, "Incomplete account name (format it like <username@jabberserver.name>)" );
    7575                imc_logout( ic, FALSE );
    7676                return;
     
    159159                connect_to = jd->server;
    160160       
    161         imc_log( ic, "Connecting" );
     161        imcb_log( ic, "Connecting" );
    162162       
    163163        if( set_getint( &acc->set, "port" ) < JABBER_PORT_MIN ||
    164164            set_getint( &acc->set, "port" ) > JABBER_PORT_MAX )
    165165        {
    166                 imc_log( ic, "Incorrect port number, must be in the %d-%d range",
     166                imcb_log( ic, "Incorrect port number, must be in the %d-%d range",
    167167                               JABBER_PORT_MIN, JABBER_PORT_MAX );
    168168                imc_logout( ic, FALSE );
     
    186186        if( jd->fd == -1 )
    187187        {
    188                 imc_error( ic, "Could not connect to server" );
     188                imcb_error( ic, "Could not connect to server" );
    189189                imc_logout( ic, TRUE );
    190190        }
     
    285285        while( bud )
    286286        {
    287                 imc_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s",
     287                imcb_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s",
    288288                                   bud->full_jid, bud->priority,
    289289                                   bud->away_state ? bud->away_state->full_name : "(none)",
Note: See TracChangeset for help on using the changeset viewer.