}
static void
-gssdp_client_initable_iface_init (gpointer g_iface,
+gssdp_client_initable_iface_init (gpointer g_iface,
G_GNUC_UNUSED gpointer iface_data)
{
GInitableIface *iface = (GInitableIface *)g_iface;
}
static gboolean
-gssdp_client_initable_init (GInitable *initable,
- G_GNUC_UNUSED GCancellable *cancellable,
- GError **error)
+gssdp_client_initable_init (GInitable *initable,
+ G_GNUC_UNUSED GCancellable *cancellable,
+ GError **error)
{
GSSDPClient *client = GSSDP_CLIENT (initable);
GError *internal_error = NULL;
static gboolean
request_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
static gboolean
multicast_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
static gboolean
search_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
* Received a message
*/
static void
-message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
- G_GNUC_UNUSED const char *from_ip,
- G_GNUC_UNUSED gushort from_port,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data)
+message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
+ G_GNUC_UNUSED const char *from_ip,
+ G_GNUC_UNUSED gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ gpointer user_data)
{
GSSDPResourceBrowser *resource_browser;
static gboolean
clear_cache_helper (G_GNUC_UNUSED gpointer key,
- gpointer value,
+ gpointer value,
G_GNUC_UNUSED gpointer data)
{
Resource *resource;
* Received a message
*/
static void
-message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
- const char *from_ip,
- gushort from_port,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data)
+message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
+ const char *from_ip,
+ gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ gpointer user_data)
{
GSSDPResourceGroup *resource_group;
const char *target, *mx_str, *version_str, *man;
GError **error);
static void
-gssdp_socket_source_initable_init (gpointer g_iface,
+gssdp_socket_source_initable_init (gpointer g_iface,
G_GNUC_UNUSED gpointer iface_data)
{
GInitableIface *iface = (GInitableIface *)g_iface;
}
static void
-gssdp_socket_source_get_property (GObject *object,
- guint property_id,
- G_GNUC_UNUSED GValue *value,
- GParamSpec *pspec)
+gssdp_socket_source_get_property (GObject *object,
+ guint property_id,
+ G_GNUC_UNUSED GValue *value,
+ GParamSpec *pspec)
{
/* All properties are construct-only, write-only */
switch (property_id) {
}
static gboolean
-gssdp_socket_source_do_init (GInitable *initable,
+gssdp_socket_source_do_init (GInitable *initable,
G_GNUC_UNUSED GCancellable *cancellable,
- GError **error)
+ GError **error)
{
GSSDPSocketSource *self = NULL;
GInetAddress *iface_address = NULL;
static void
resource_available_cb (G_GNUC_UNUSED GSSDPResourceBrowser *resource_browser,
- const char *usn,
- GList *locations)
+ const char *usn,
+ GList *locations)
{
GList *l;
static void
resource_unavailable_cb (G_GNUC_UNUSED GSSDPResourceBrowser *resource_browser,
- const char *usn)
+ const char *usn)
{
g_print ("resource unavailable\n"
" USN: %s\n",
}
static void
-on_ssdp_message (GSSDPClient *client G_GNUC_UNUSED,
- const gchar *from_ip,
- gushort from_port G_GNUC_UNUSED,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data G_GNUC_UNUSED)
+on_ssdp_message (G_GNUC_UNUSED GSSDPClient *client,
+ G_GNUC_UNUSED const gchar *from_ip,
+ G_GNUX_UNUSED gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ G_GNUC_UNUSED gpointer user_data)
{
time_t arrival_time;