Changeset 703f0f7 for protocols/jabber/jabber.c
- Timestamp:
- 2005-12-14T01:17:25Z (18 years ago)
- Branches:
- master
- Children:
- 547f937
- Parents:
- 22bf64e (diff), 568aaf7 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r22bf64e r703f0f7 155 155 #define JCS_CLOSED 3 /* closed */ 156 156 157 158 static char *jabber_name()159 {160 return "Jabber";161 }162 157 163 158 #define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); } … … 2368 2363 } 2369 2364 2370 static struct prpl *my_protocol = NULL; 2371 2372 void jabber_init(struct prpl *ret) 2373 { 2365 2366 void jabber_init() 2367 { 2368 struct prpl *ret = g_new0(struct prpl, 1); 2369 2374 2370 /* 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"; 2377 2372 ret->away_states = jabber_away_states; 2378 2373 ret->actions = jabber_actions; … … 2398 2393 ret->cmp_buddynames = g_strcasecmp; 2399 2394 2400 my_protocol = ret;2401 } 2395 register_protocol (ret); 2396 }
Note: See TracChangeset
for help on using the changeset viewer.