Ignore:
Timestamp:
2005-12-15T11:55:27Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
15832cc, bd69a21
Parents:
11e090b (diff), 547f937 (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.
Message:

Merged Jelmer's pluginable tree (mainly useful for the Win32 port).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r11e090b rbf02a67  
    155155#define JCS_CLOSED  3   /* closed */
    156156
    157 
    158 static char *jabber_name()
    159 {
    160         return "Jabber";
    161 }
    162157
    163158#define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); }
     
    23682363}
    23692364
    2370 static struct prpl *my_protocol = NULL;
    2371 
    2372 void jabber_init(struct prpl *ret)
    2373 {
     2365
     2366void jabber_init()
     2367{
     2368        struct prpl *ret = g_new0(struct prpl, 1);
     2369
    23742370        /* the NULL's aren't required but they're nice to have */
    2375         ret->protocol = PROTO_JABBER;
    2376         ret->name = jabber_name;
     2371        ret->name = "jabber";
    23772372        ret->away_states = jabber_away_states;
    23782373        ret->actions = jabber_actions;
     
    23982393        ret->cmp_buddynames = g_strcasecmp;
    23992394
    2400         my_protocol = ret;
    2401 }
     2395        register_protocol (ret);
     2396}
Note: See TracChangeset for help on using the changeset viewer.