GNOME Desktop Library Reference Manual: gnome-pnp-ids

## gnome-pnp-ids gnome-pnp-ids |

## Synopsis

    struct              GnomePnpIds;
    struct              GnomePnpIdsClass;
    #define             GNOME_PNP_IDS_ERROR
    gchar *             gnome_pnp_ids_get_pnp_id            (GnomePnpIds *pnp_ids,
                                                             const gchar *pnp_id);
    GnomePnpIds *       gnome_pnp_ids_new                   (void);

## Object Hierarchy

      GObject
       +----GnomePnpIds

## Description

## Details

### struct GnomePnpIds

    struct GnomePnpIds;

### struct GnomePnpIdsClass

    struct GnomePnpIdsClass {
            GObjectClass    parent_class;
    };

### GNOME_PNP_IDS_ERROR

    #define GNOME_PNP_IDS_ERROR                (gnome_pnp_ids_error_quark ())

### gnome_pnp_ids_get_pnp_id ()

    gchar *             gnome_pnp_ids_get_pnp_id            (GnomePnpIds *pnp_ids,
                                                             const gchar *pnp_id);

Find the full manufacturer name for the given PNP ID.

`pnp_ids` : | a GnomePnpIds object
`pnp_id` : | the PNP ID to look for
Returns : | a new string representing the manufacturer name, or `NULL` when not found. [transfer full]

### gnome_pnp_ids_new ()

    GnomePnpIds *       gnome_pnp_ids_new                   (void);

Returns a reference to a GnomePnpIds object, or creates a new one if none have been created.

Returns : | a GnomePnpIds object. [transfer full]