[libdmapsharing] Basic whitespace cleanup to dmap-mdns-browser-dnssd.c Signed-off-by: W. Michael Petullo <mike flyn o
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Basic whitespace cleanup to dmap-mdns-browser-dnssd.c Signed-off-by: W. Michael Petullo <mike flyn o
- Date: Thu, 31 Mar 2011 03:31:11 +0000 (UTC)
commit 07cfc9a07d5a4bfd68738393eb6351e0198831b9
Author: W. Michael Petullo <mike flyn org>
Date: Wed Mar 30 22:11:58 2011 -0500
Basic whitespace cleanup to dmap-mdns-browser-dnssd.c
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-mdns-browser-dnssd.c | 45 ------------------------------
1 files changed, 0 insertions(+), 45 deletions(-)
---
diff --git a/libdmapsharing/dmap-mdns-browser-dnssd.c b/libdmapsharing/dmap-mdns-browser-dnssd.c
index 4fb3a8e..64b3909 100644
--- a/libdmapsharing/dmap-mdns-browser-dnssd.c
+++ b/libdmapsharing/dmap-mdns-browser-dnssd.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*
*/
-
#include <stdlib.h>
#include <stdio.h>
#include <dns_sd.h>
@@ -25,23 +24,12 @@
#include <time.h>
#include <unistd.h>
#include <errno.h>
-
-/*
-#include <arpa/inet.h>
-
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/select.h>
-*/
-
#include <glib.h>
#include <glib-object.h>
#include "config.h"
#include "dmap-mdns-browser.h"
-
-
struct
_DMAPMdnsBrowserPrivate
{
@@ -72,7 +60,6 @@ enum
LAST_SIGNAL
};
-
static void
print_browser (DMAPMdnsBrowser *browser);
@@ -251,9 +238,6 @@ add_sd_to_event_loop (DMAPMdnsBrowser *browser, DNSServiceRef sdRef)
return TRUE;
}
-
-
-
static void
dns_service_browse_reply (
DNSServiceRef sdRef,
@@ -288,8 +272,6 @@ dns_service_browse_reply (
}
}
-
-
static void
dns_service_resolve_reply (
DNSServiceRef sdRef,
@@ -321,8 +303,6 @@ dns_service_resolve_reply (
}
}
-
-
static void
dnssd_browser_init (DMAPMdnsBrowser *browser)
{
@@ -349,8 +329,6 @@ dnssd_browser_init (DMAPMdnsBrowser *browser)
browser->priv->host_target = g_strdup ("");
}
-
-
static void
dmap_mdns_browser_class_init (DMAPMdnsBrowserClass *klass)
{
@@ -389,8 +367,6 @@ dmap_mdns_browser_class_init (DMAPMdnsBrowserClass *klass)
1, G_TYPE_STRING);
}
-
-
DMAPMdnsBrowser*
dmap_mdns_browser_new (DMAPMdnsBrowserServiceType type)
{
@@ -409,8 +385,6 @@ dmap_mdns_browser_new (DMAPMdnsBrowserServiceType type)
return browser_object;
}
-
-
static gboolean
dmap_mdns_browser_resolve (
DMAPMdnsBrowser *browser,
@@ -443,8 +417,6 @@ dmap_mdns_browser_resolve (
return TRUE;
}
-
-
static void
browser_add_service (
DMAPMdnsBrowser *browser,
@@ -456,7 +428,6 @@ browser_add_service (
dmap_mdns_browser_resolve (browser, service_name, domain);
}
-
gboolean
dmap_mdns_browser_start (DMAPMdnsBrowser *browser, GError **error)
{
@@ -484,8 +455,6 @@ dmap_mdns_browser_start (DMAPMdnsBrowser *browser, GError **error)
return isSuccess;
}
-
-
/**
* Note that you must terminate the connection with the daemon and
* free any memory associated with DNSServiceRef
@@ -499,8 +468,6 @@ dmap_mdns_browser_stop (DMAPMdnsBrowser *browser, GError **error)
return TRUE;
}
-
-
GQuark
dmap_mdns_browser_error_quark (void)
{
@@ -515,8 +482,6 @@ dmap_mdns_browser_error_quark (void)
return quark;
}
-
-
G_CONST_RETURN GSList*
dmap_mdns_browser_get_services (DMAPMdnsBrowser *browser)
{
@@ -525,8 +490,6 @@ dmap_mdns_browser_get_services (DMAPMdnsBrowser *browser)
return browser->priv->services;
}
-
-
DMAPMdnsBrowserServiceType
dmap_mdns_browser_get_service_type (DMAPMdnsBrowser *browser)
{
@@ -537,8 +500,6 @@ dmap_mdns_browser_get_service_type (DMAPMdnsBrowser *browser)
return browser->priv->service_type;
}
-
-
static void
dmap_mdns_browser_dispose (GObject *object)
{
@@ -556,8 +517,6 @@ dmap_mdns_browser_dispose (GObject *object)
G_OBJECT_CLASS (dmap_mdns_browser_parent_class)->dispose (object);
}
-
-
static void
dmap_mdns_browser_finalize (GObject *object)
{
@@ -565,8 +524,6 @@ dmap_mdns_browser_finalize (GObject *object)
G_OBJECT_CLASS (dmap_mdns_browser_parent_class)->finalize (object);
}
-
-
static void
free_service (DMAPMdnsBrowserService *service)
{
@@ -577,7 +534,6 @@ free_service (DMAPMdnsBrowserService *service)
g_free (service);
}
-
static void
print_browser (DMAPMdnsBrowser *browser)
{
@@ -596,4 +552,3 @@ print_browser (DMAPMdnsBrowser *browser)
printf ("\n");
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]