Changes in protocols/jabber/jabber.c [7b23afd:9cb9868]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r7b23afd r9cb9868 157 157 #define JCS_CLOSED 3 /* closed */ 158 158 159 160 static char *jabber_name() 161 { 162 return "Jabber"; 163 } 159 164 160 165 #define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); } … … 2408 2413 } 2409 2414 2410 2411 void jabber_init() 2412 { 2413 struct prpl *ret = g_new0(struct prpl, 1); 2414 2415 static struct prpl *my_protocol = NULL; 2416 2417 void jabber_init(struct prpl *ret) 2418 { 2415 2419 /* the NULL's aren't required but they're nice to have */ 2416 ret->name = "jabber"; 2420 ret->protocol = PROTO_JABBER; 2421 ret->name = jabber_name; 2417 2422 ret->away_states = jabber_away_states; 2418 2423 ret->actions = jabber_actions; … … 2436 2441 ret->alias_buddy = jabber_roster_update; 2437 2442 ret->group_buddy = jabber_group_change; 2438 2439 register_protocol (ret); 2440 } 2443 ret->cmp_buddynames = g_strcasecmp; 2444 2445 my_protocol = ret; 2446 }
Note: See TracChangeset
for help on using the changeset viewer.