g_type_class_add_private (klass, sizeof (GSSDPClientPrivate));
/**
- * GSSDPClient:server-id
+ * GSSDPClient:server-id:
*
* The SSDP server's identifier.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:main-context
+ * GSSDPClient:main-context:
*
* The #GMainContext to use. Set to NULL to use the default.
* Deprecated: 0.11.2: Use g_main_context_push_thread_default().
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:interface
+ * GSSDPClient:interface:
*
* The name of the network interface this client is associated with.
* Set to NULL to autodetect.
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:network
+ * GSSDPClient:network:
*
* The network this client is currently connected to. You could set this
* to anything you want to identify the network this client is
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:host-ip
+ * GSSDPClient:host-ip:
*
* The IP address of the assoicated network interface.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:active
+ * GSSDPClient:active:
*
* Whether this client is active or not (passive). When active
* (default), the client sends messages on the network, otherwise
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient::message-received
+ * GSSDPClient::message-received:
*
* Internal signal.
*
}
/**
- * gssdp_client_new
+ * gssdp_client_new:
* @main_context: Deprecated: 0.11.2: Always set to NULL. If you want to
* specify a context use g_main_context_push_thread_default()
* @iface: The name of the network interface, or %NULL for auto-detection.
}
/*
- * gssdp_client_get_main_context
+ * gssdp_client_get_main_context:
* @client: A #GSSDPClient
*
* Returns: (transfer none): The #GMainContext @client is associated with, or NULL.
}
/**
- * gssdp_client_set_server_id
+ * gssdp_client_set_server_id:
* @client: A #GSSDPClient
* @server_id: The server ID
*
}
/**
- * gssdp_client_get_server_id
+ * gssdp_client_get_server_id:
* @client: A #GSSDPClient
*
* Return value: The server ID.
}
/**
- * gssdp_client_get_interface
+ * gssdp_client_get_interface:
* @client: A #GSSDPClient
*
* Get the name of the network interface associated to @client.
}
/**
- * gssdp_client_get_host_ip
+ * gssdp_client_get_host_ip:
* @client: A #GSSDPClient
*
* Get the IP address we advertise ourselves as using.
}
/**
- * gssdp_client_set_network
+ * gssdp_client_set_network:
* @client: A #GSSDPClient
* @network: The string identifying the network
*
}
/**
- * gssdp_client_get_network
+ * gssdp_client_get_network:
* @client: A #GSSDPClient
*
* Get the network this client is associated with.
}
/**
- * gssdp_client_get_active
+ * gssdp_client_get_active:
* @client: A #GSSDPClient
*
* Return value: %TRUE if @client is active, %FALSE otherwise.
}
/**
- * _gssdp_client_send_message
+ * _gssdp_client_send_message:
* @client: A #GSSDPClient
* @dest_ip: The destination IP address, or NULL to broadcast
* @dest_port: The destination port, or NULL for default
#include "gssdp-error.h"
/**
- * gssdp_error_quark
+ * gssdp_error_quark:
*
* Returns: a #GQuark uniquely used by GSSDP's errors.
**/
g_type_class_add_private (klass, sizeof (GSSDPResourceBrowserPrivate));
/**
- * GSSDPResourceBrowser:client
+ * GSSDPResourceBrowser:client:
*
* The #GSSDPClient to use.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceBrowser:target
+ * GSSDPResourceBrowser:target:
*
* The discovery target.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceBrowser:mx
+ * GSSDPResourceBrowser:mx:
*
* The maximum number of seconds in which to request other parties
* to respond.
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceBrowser:active
+ * GSSDPResourceBrowser:active:
*
* Whether this browser is active or not.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceBrowser::resource-available
+ * GSSDPResourceBrowser::resource-available:
* @resource_browser: The #GSSDPResourceBrowser that received the
* signal
* @usn: The USN of the discovered resource
G_TYPE_POINTER);
/**
- * GSSDPResourceBrowser::resource-unavailable
+ * GSSDPResourceBrowser::resource-unavailable:
* @resource_browser: The #GSSDPResourceBrowser that received the
* signal
* @usn: The USN of the resource
}
/**
- * gssdp_resource_browser_new
+ * gssdp_resource_browser_new:
* @client: The #GSSDPClient to associate with
*
* Return value: A new #GSSDPResourceBrowser object.
}
/**
- * gssdp_resource_browser_get_client
+ * gssdp_resource_browser_get_client:
* @resource_browser: A #GSSDPResourceBrowser
*
* Returns: (transfer none): The #GSSDPClient @resource_browser is associated with.
}
/**
- * gssdp_resource_browser_set_target
+ * gssdp_resource_browser_set_target:
* @resource_browser: A #GSSDPResourceBrowser
* @target: The browser target
*
}
/**
- * gssdp_resource_browser_get_target
+ * gssdp_resource_browser_get_target:
* @resource_browser: A #GSSDPResourceBrowser
*
* Return value: The browser target.
}
/**
- * gssdp_resource_browser_set_mx
+ * gssdp_resource_browser_set_mx:
* @resource_browser: A #GSSDPResourceBrowser
* @mx: The to be used MX value
*
}
/**
- * gssdp_resource_browser_get_mx
+ * gssdp_resource_browser_get_mx:
* @resource_browser: A #GSSDPResourceBrowser
*
* Return value: The used MX value.
}
/**
- * gssdp_resource_browser_set_active
+ * gssdp_resource_browser_set_active:
* @resource_browser: A #GSSDPResourceBrowser
* @active: TRUE to activate @resource_browser
*
}
/**
- * gssdp_resource_browser_get_active
+ * gssdp_resource_browser_get_active:
* @resource_browser: A #GSSDPResourceBrowser
*
* Return value: TRUE if @resource_browser is active.
};
/**
- * GSSDP_ALL_RESOURCES
+ * GSSDP_ALL_RESOURCES:
*
* SSDP search target for finding all possible resources.
**/
g_type_class_add_private (klass, sizeof (GSSDPResourceGroupPrivate));
/**
- * GSSDPResourceGroup:client
+ * GSSDPResourceGroup:client:
*
* The #GSSDPClient to use.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceGroup:max-age
+ * GSSDPResourceGroup:max-age:
*
* The number of seconds our advertisements are valid.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceGroup:available
+ * GSSDPResourceGroup:available:
*
* Whether this group of resources is available or not.
**/
G_PARAM_STATIC_BLURB));
/**
- * GSSDPResourceGroup:message-delay
+ * GSSDPResourceGroup:message-delay:
*
* The minimum number of milliseconds between SSDP messages.
* The default is 120 based on DLNA specification.
}
/**
- * gssdp_resource_group_new
+ * gssdp_resource_group_new:
* @client: The #GSSDPClient to associate with
*
* Return value: A new #GSSDPResourceGroup object.
}
/**
- * gssdp_resource_group_get_client
+ * gssdp_resource_group_get_client:
* @resource_group: A #GSSDPResourceGroup
*
* Returns: (transfer none): The #GSSDPClient @resource_group is associated with.
}
/**
- * gssdp_resource_group_set_max_age
+ * gssdp_resource_group_set_max_age:
* @resource_group: A #GSSDPResourceGroup
* @max_age: The number of seconds advertisements are valid
*
}
/**
- * gssdp_resource_group_get_max_age
+ * gssdp_resource_group_get_max_age:
* @resource_group: A #GSSDPResourceGroup
*
* Return value: The number of seconds advertisements are valid.
}
/**
- * gssdp_resource_group_set_message_delay
+ * gssdp_resource_group_set_message_delay:
* @resource_group: A #GSSDPResourceGroup
* @message_delay: The message delay in ms.
*
}
/**
- * gssdp_resource_group_get_message_delay
+ * gssdp_resource_group_get_message_delay:
* @resource_group: A #GSSDPResourceGroup
*
* Return value: the minimum time between each SSDP message in ms.
}
/**
- * gssdp_resource_group_set_available
+ * gssdp_resource_group_set_available:
* @resource_group: A #GSSDPResourceGroup
* @available: TRUE if @resource_group should be available (advertised)
*
}
/**
- * gssdp_resource_group_get_available
+ * gssdp_resource_group_get_available:
* @resource_group: A #GSSDPResourceGroup
*
* Return value: TRUE if @resource_group is available (advertised).
}
/**
- * gssdp_resource_group_add_resource
+ * gssdp_resource_group_add_resource:
* @resource_group: An @GSSDPResourceGroup
* @target: The resource's target
* @usn: The resource's USN
- * @locations: A #GList of the resource's locations
+ * @locations: (element-type utf8): A #GList of the resource's locations
*
* Adds a resource with target @target, USN @usn, and locations @locations
* to @resource_group.
}
/**
- * gssdp_resource_group_add_resource_simple
+ * gssdp_resource_group_add_resource_simple:
* @resource_group: An @GSSDPResourceGroup
* @target: The resource's target
* @usn: The resource's USN
}
/**
- * gssdp_resource_group_remove_resource
+ * gssdp_resource_group_remove_resource:
* @resource_group: An @GSSDPResourceGroup
* @resource_id: The ID of the resource to remove
*