sw-item

## sw-item sw-item |

## Synopsis

    #define             SW_TYPE_ITEM
                        SwItem;
    void                sw_item_unref                       (SwItem *item);
    SwItem *            sw_item_ref                         (SwItem *item);
    void                sw_item_free                        (SwItem *item);
    SwItem *            sw_item_new                         (void);
    gboolean            sw_item_is_from_cache               (SwItem *item);
    gboolean            sw_item_has_key                     (SwItem *item,
                                                             const gchar *key);
    const gchar *       sw_item_get_value                   (SwItem *item,
                                                             const gchar *key);
    GType               sw_item_get_type                    (void);

## Object Hierarchy

      GBoxed
       +----SwItem

## Description

## Details

### SW_TYPE_ITEM

    #define SW_TYPE_ITEM (sw_item_get_type())

### SwItem

    typedef struct {
      volatile gint refcount;
      gchar *service;
      gchar *uuid;
      GTimeVal date;
      GHashTable *props;
    } SwItem;

volatile gint `refcount`; |
gchar *`service`; |
gchar *`uuid`; |
GTimeVal `date`; |
GHashTable *`props`; | . [element-type gchar* gchar*]

### sw_item_unref ()

    void                sw_item_unref                       (SwItem *item);

### sw_item_ref ()

    SwItem *            sw_item_ref                         (SwItem *item);

### sw_item_free ()

    void                sw_item_free                        (SwItem *item);

### sw_item_new ()

    SwItem *            sw_item_new                         (void);

### sw_item_is_from_cache ()

    gboolean            sw_item_is_from_cache               (SwItem *item);

### sw_item_has_key ()

    gboolean            sw_item_has_key                     (SwItem *item,
                                                             const gchar *key);

### sw_item_get_value ()

    const gchar *       sw_item_get_value                   (SwItem *item,
                                                             const gchar *key);

### sw_item_get_type ()

    GType               sw_item_get_type                    (void);