SwClient

## SwClient SwClient |

## Synopsis

                        SwClient;
                        SwClientClass;
    SwClient *          sw_client_new                       (void);
    void                (*SwClientIsOnlineCallback)         (SwClient *client,
                                                             gboolean online,
                                                             gpointer userdata);
    void                (*SwClientGetServicesCallback)      (SwClient *client);
    void                sw_client_get_services              (SwClient *client,
                                                             SwClientGetServicesCallback cb,
                                                             gpointer userdata);
    SwClientService *   sw_client_get_service               (SwClient *client,
                                                             const gchar *service_name);
    void                sw_client_is_online                 (SwClient *client,
                                                             SwClientIsOnlineCallback cb,
                                                             gpointer userdata);

## Object Hierarchy

      GObject
       +----SwClient

## Signals

      "online-changed"                                 : Run First

## Description

## Details

### SwClient

    typedef struct _SwClient SwClient;

### SwClientClass

    typedef struct {
      GObjectClass parent_class;
    } SwClientClass;

### sw_client_new ()

    SwClient *          sw_client_new                       (void);

### SwClientIsOnlineCallback ()

    void                (*SwClientIsOnlineCallback)         (SwClient *client,
                                                             gboolean online,
                                                             gpointer userdata);

`userdata` : | . [closure]

### SwClientGetServicesCallback ()

    void                (*SwClientGetServicesCallback)      (SwClient *client);

`services` : | . [element-type gchar*]
`userdata` : | . [closure]

### sw_client_get_services ()

    void                sw_client_get_services              (SwClient *client,
                                                             SwClientGetServicesCallback cb,
                                                             gpointer userdata);

`cb` : | . [scope async]
`userdata` : | . [closure]

### sw_client_get_service ()

    SwClientService *   sw_client_get_service               (SwClient *client,
                                                             const gchar *service_name);

Returns : | . [transfer full]

### sw_client_is_online ()

    void                sw_client_is_online                 (SwClient *client,
                                                             SwClientIsOnlineCallback cb,
                                                             gpointer userdata);

`cb` : | . [scope async]
`userdata` : | . [closure]

## Signal Details

### The `"online-changed"` signal

    void                user_function                      (SwClient *swclient,
                                                            gboolean  arg1,
                                                            gpointer  user_data)      : Run First