Mercurial > pidgin
comparison libpurple/connection.c @ 19109:1cb69ea47a6e
propagate from branch 'im.pidgin.pidgin' (head d2f50519c5ed668dd980277afdc25d71ccb8a852)
to branch 'im.pidgin.soc.2007.finchfeat' (head 6429a075d71b5b1cc70abf9b5d55875f793168c8)
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Thu, 21 Jun 2007 20:37:57 +0000 (2007-06-21) |
parents | 873ee0038752 |
children | 033b128f7c21 941965d6fd88 |
comparison
equal
deleted
inserted
replaced
19108:32c479656486 | 19109:1cb69ea47a6e |
---|---|
454 } | 454 } |
455 | 455 |
456 void | 456 void |
457 purple_connections_disconnect_all(void) | 457 purple_connections_disconnect_all(void) |
458 { | 458 { |
459 const GList *l; | 459 GList *l; |
460 PurpleConnection *gc; | 460 PurpleConnection *gc; |
461 | 461 |
462 while ((l = purple_connections_get_all()) != NULL) { | 462 while ((l = purple_connections_get_all()) != NULL) { |
463 gc = l->data; | 463 gc = l->data; |
464 gc->wants_to_die = TRUE; | 464 gc->wants_to_die = TRUE; |
465 purple_account_disconnect(gc->account); | 465 purple_account_disconnect(gc->account); |
466 } | 466 } |
467 } | 467 } |
468 | 468 |
469 const GList * | 469 GList * |
470 purple_connections_get_all(void) | 470 purple_connections_get_all(void) |
471 { | 471 { |
472 return connections; | 472 return connections; |
473 } | 473 } |
474 | 474 |
475 const GList * | 475 GList * |
476 purple_connections_get_connecting(void) | 476 purple_connections_get_connecting(void) |
477 { | 477 { |
478 return connections_connecting; | 478 return connections_connecting; |
479 } | 479 } |
480 | 480 |