diff options
author | Siraj Razick <siraj.razick@collabora.co.uk> | 2012-03-17 02:06:34 -0400 |
---|---|---|
committer | Siraj Razick <siraj.razick@collabora.co.uk> | 2012-03-26 10:31:35 -0400 |
commit | fb036a83780d8bdd69c0bc359182665064a9a8e5 (patch) | |
tree | ac3f64d7e2b7349ef3edf974d9ce643833640162 /src/bonjour-discovery-client.h | |
parent | 0569559273adfa2f8fb17454aad8ca086d327fc8 (diff) | |
download | telepathy-salut-fb036a83780d8bdd69c0bc359182665064a9a8e5.tar.gz |
bonjour-discovery-client: Move Socket processing methods to a common place
With libdns_sd API we need to process the socket when registering,
browsing, and also when resolving, So we add the socket watch method
to bonjour-discovery-client so we can share this method in bonjour-self/contact
and bonjour-contact-manager
Diffstat (limited to 'src/bonjour-discovery-client.h')
-rw-r--r-- | src/bonjour-discovery-client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bonjour-discovery-client.h b/src/bonjour-discovery-client.h index afe3dd12..a71d0be7 100644 --- a/src/bonjour-discovery-client.h +++ b/src/bonjour-discovery-client.h @@ -48,6 +48,14 @@ GType salut_bonjour_discovery_client_get_type (void); const gchar * salut_bonjour_discovery_client_get_dnssd_name ( SalutBonjourDiscoveryClient *self); +void salut_bonjour_discovery_client_watch_svc_ref ( + SalutBonjourDiscoveryClient *self, + DNSServiceRef *service); + +void salut_bonjour_discovery_client_drop_svc_ref ( + SalutBonjourDiscoveryClient *self, + DNSServiceRef *service); + /* TYPE MACROS */ #define SALUT_TYPE_BONJOUR_DISCOVERY_CLIENT \ (salut_bonjour_discovery_client_get_type ()) |