Changeset 7b23afd for protocols/jabber


Ignore:
Timestamp:
2005-11-07T16:16:18Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
f7f3ada
Parents:
fe51bcf
Message:

Migrate my pluginable branch to use Wilmers' branch as parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rfe51bcf r7b23afd  
    157157#define JCS_CLOSED  3   /* closed */
    158158
    159 
    160 static char *jabber_name()
    161 {
    162         return "Jabber";
    163 }
    164159
    165160#define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); }
     
    24132408}
    24142409
    2415 static struct prpl *my_protocol = NULL;
    2416 
    2417 void jabber_init(struct prpl *ret)
    2418 {
     2410
     2411void jabber_init()
     2412{
     2413        struct prpl *ret = g_new0(struct prpl, 1);
     2414
    24192415        /* the NULL's aren't required but they're nice to have */
    2420         ret->protocol = PROTO_JABBER;
    2421         ret->name = jabber_name;
     2416        ret->name = "jabber";
    24222417        ret->away_states = jabber_away_states;
    24232418        ret->actions = jabber_actions;
     
    24422437        ret->group_buddy = jabber_group_change;
    24432438
    2444         my_protocol = ret;
    2445 }
     2439        register_protocol (ret);
     2440}
Note: See TracChangeset for help on using the changeset viewer.