Changeset 7b23afd for protocols/jabber
- Timestamp:
- 2005-11-07T16:16:18Z (19 years ago)
- Branches:
- master
- Children:
- f7f3ada
- Parents:
- fe51bcf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
rfe51bcf r7b23afd 157 157 #define JCS_CLOSED 3 /* closed */ 158 158 159 160 static char *jabber_name()161 {162 return "Jabber";163 }164 159 165 160 #define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); } … … 2413 2408 } 2414 2409 2415 static struct prpl *my_protocol = NULL; 2416 2417 void jabber_init(struct prpl *ret) 2418 { 2410 2411 void jabber_init() 2412 { 2413 struct prpl *ret = g_new0(struct prpl, 1); 2414 2419 2415 /* 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"; 2422 2417 ret->away_states = jabber_away_states; 2423 2418 ret->actions = jabber_actions; … … 2442 2437 ret->group_buddy = jabber_group_change; 2443 2438 2444 my_protocol = ret;2445 } 2439 register_protocol (ret); 2440 }
Note: See TracChangeset
for help on using the changeset viewer.