Mercurial > pidgin
diff src/protocols/bonjour/dns_sd.c @ 11677:8004885fabbe
[gaim-migrate @ 13963]
Remove some things from the public namespace by making them static
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 17 Oct 2005 05:50:30 +0000 |
parents | 5a2c38d33eb4 |
children | b37c439dfcc0 |
line wrap: on
line diff
--- a/src/protocols/bonjour/dns_sd.c Mon Oct 17 05:32:33 2005 +0000 +++ b/src/protocols/bonjour/dns_sd.c Mon Oct 17 05:50:30 2005 +0000 @@ -229,7 +229,7 @@ return SW_OKAY; } -int +static int _dns_sd_publish(BonjourDnsSd *data, PublishType type) { sw_text_record dns_data; @@ -281,33 +281,13 @@ return 0; } -gboolean +static gboolean _dns_sd_handle_packets(GIOChannel *source, GIOCondition condition, gpointer data) { sw_discovery_read_socket(*((sw_discovery*)data)); return TRUE; } -gpointer -_dns_sd_wait_for_connections(gpointer data) -{ - sw_discovery_oid session_id; - BonjourDnsSd *dns_sd_data = (BonjourDnsSd*)data; - - // Advise the daemon that we are waiting for connections - if (sw_discovery_browse(*(dns_sd_data->session), 0, ICHAT_SERVICE, NULL, _browser_reply, - dns_sd_data->account, &session_id) != SW_OKAY) - { - gaim_debug_error("bonjour", "Unable to get service."); - return NULL; - } - - // Yields control of the cpu to the daemon - sw_discovery_run(*(dns_sd_data->session)); - - return NULL; -} - // End private functions /**