[gssdp] Only use /** **/ for gtk-doc.



commit cf2a3298983f22a06b1e5785a431467a0f3105e4
Author: Jens Georg <mail jensge org>
Date:   Thu Jul 7 19:04:14 2011 +0200

    Only use /** **/ for gtk-doc.
    
    Silence some warnings in make doc.

 libgssdp/gssdp-client.c           |   12 +++++-----
 libgssdp/gssdp-resource-browser.c |   20 ++++++++--------
 libgssdp/gssdp-resource-group.c   |   44 ++++++++++++++++++------------------
 3 files changed, 38 insertions(+), 38 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 3b0c900..16a6da5 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -571,9 +571,9 @@ gssdp_client_new (GMainContext *main_context,
                                NULL);
 }
 
-/**
+/*
  * Sets the GMainContext @client is associated with to @main_context
- **/
+ */
 static void
 gssdp_client_set_main_context (GSSDPClient  *client,
                                GMainContext *main_context)
@@ -790,9 +790,9 @@ _gssdp_client_send_message (GSSDPClient      *client,
         g_object_unref (inet_address);
 }
 
-/**
+/*
  * Generates the default server ID
- **/
+ */
 static char *
 make_server_id (void)
 {
@@ -915,9 +915,9 @@ inet_netof (struct in_addr in) {
 }
 #endif
 
-/**
+/*
  * Called when data can be read from the socket
- **/
+ */
 static gboolean
 socket_source_cb (GSSDPSocketSource *socket_source, GSSDPClient *client)
 {
diff --git a/libgssdp/gssdp-resource-browser.c b/libgssdp/gssdp-resource-browser.c
index eb081d5..77b25b7 100644
--- a/libgssdp/gssdp-resource-browser.c
+++ b/libgssdp/gssdp-resource-browser.c
@@ -390,9 +390,9 @@ gssdp_resource_browser_new (GSSDPClient *client,
                              NULL);
 }
 
-/**
+/*
  * Sets the #GSSDPClient @resource_browser is associated with to @client
- **/
+ */
 static void
 gssdp_resource_browser_set_client (GSSDPResourceBrowser *resource_browser,
                                    GSSDPClient          *client)
@@ -574,9 +574,9 @@ gssdp_resource_browser_get_active (GSSDPResourceBrowser *resource_browser)
         return resource_browser->priv->active;
 }
 
-/**
+/*
  * Resource expired: Remove
- **/
+ */
 static gboolean
 resource_expire (gpointer user_data)
 {
@@ -844,9 +844,9 @@ received_announcement (GSSDPResourceBrowser *resource_browser,
                 resource_unavailable (resource_browser, headers);
 }
 
-/**
+/*
  * Received a message
- **/
+ */
 static void
 message_received_cb (GSSDPClient        *client,
                      const char         *from_ip,
@@ -874,9 +874,9 @@ message_received_cb (GSSDPClient        *client,
         }
 }
 
-/**
+/*
  * Free a Resource structure and its contained data
- **/
+ */
 static void
 resource_free (gpointer data)
 {
@@ -906,9 +906,9 @@ clear_cache_helper (gpointer key, gpointer value, gpointer data)
         return TRUE;
 }
 
-/**
+/*
  * Clears the cached resources hash
- **/
+ */
 static void
 clear_cache (GSSDPResourceBrowser *resource_browser)
 {
diff --git a/libgssdp/gssdp-resource-group.c b/libgssdp/gssdp-resource-group.c
index 224be63..db6e2bf 100644
--- a/libgssdp/gssdp-resource-group.c
+++ b/libgssdp/gssdp-resource-group.c
@@ -379,9 +379,9 @@ gssdp_resource_group_new (GSSDPClient *client)
                              NULL);
 }
 
-/**
+/*
  * Sets the #GSSDPClient @resource_group is associated with @client
- **/
+ */
 static void
 gssdp_resource_group_set_client (GSSDPResourceGroup *resource_group,
                                  GSSDPClient        *client)
@@ -710,9 +710,9 @@ gssdp_resource_group_remove_resource (GSSDPResourceGroup *resource_group,
         }
 }
 
-/**
+/*
  * Called to re-announce all resources periodically
- **/
+ */
 static gboolean
 resource_group_timeout (gpointer user_data)
 {
@@ -728,9 +728,9 @@ resource_group_timeout (gpointer user_data)
         return TRUE;
 }
 
-/**
+/*
  * Received a message
- **/
+ */
 static void
 message_received_cb (GSSDPClient        *client,
                      const char         *from_ip,
@@ -840,9 +840,9 @@ message_received_cb (GSSDPClient        *client,
         }
 }
 
-/**
+/*
  * Construct the AL (Alternative Locations) header for @resource
- **/
+ */
 static char *
 construct_al (Resource *resource)
 {
@@ -886,9 +886,9 @@ construct_usn (const char *usn,
         return st;
 }
 
-/**
+/*
  * Send a discovery response
- **/
+ */
 static gboolean
 discovery_response_timeout (gpointer user_data)
 {
@@ -939,9 +939,9 @@ discovery_response_timeout (gpointer user_data)
         return FALSE;
 }
 
-/**
+/*
  * Free a DiscoveryResponse structure and its contained data
- **/
+ */
 static void
 discovery_response_free (DiscoveryResponse *response)
 {
@@ -956,9 +956,9 @@ discovery_response_free (DiscoveryResponse *response)
         g_slice_free (DiscoveryResponse, response);
 }
 
-/**
+/*
  * Send the next queued message, if any
- **/
+ */
 static gboolean
 process_queue (gpointer data)
 {
@@ -990,11 +990,11 @@ process_queue (gpointer data)
         }
 }
 
-/**
+/*
  * Add a message to sending queue
  * 
  * Do not free @message.
- **/
+ */
 static void
 queue_message (GSSDPResourceGroup *resource_group,
                char               *message)
@@ -1019,9 +1019,9 @@ queue_message (GSSDPResourceGroup *resource_group,
         }
 }
 
-/**
+/*
  * Send ssdp:alive message for @resource
- **/
+ */
 static void
 resource_alive (Resource *resource)
 {
@@ -1055,9 +1055,9 @@ resource_alive (Resource *resource)
         g_free (al);
 }
 
-/**
+/*
  * Send ssdp:byebye message for @resource
- **/
+ */
 static void
 resource_byebye (Resource *resource)
 {
@@ -1074,9 +1074,9 @@ resource_byebye (Resource *resource)
         }
 }
 
-/**
+/*
  * Free a Resource structure and its contained data
- **/
+ */
 static void
 resource_free (Resource *resource)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]