Mercurial > pidgin
comparison libpurple/connection.c @ 18114:873ee0038752
merge of 'd8c7c08339ae468cb4298f6850eb7d3b760ad7b5'
and 'ed8b5b74cff83943994bc055c40b107e04e87249'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 16 Jun 2007 19:00:52 +0000 |
parents | bb2e5f6ff2b4 926ccb104da0 |
children | 033b128f7c21 941965d6fd88 |
comparison
equal
deleted
inserted
replaced
18104:e4d21d4dfcca | 18114:873ee0038752 |
---|---|
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 |