GNOME Desktop Library Reference Manual: gnome-pnp-ids

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

## Functions

#define | GNOME_PNP_IDS_ERROR
gchar * | gnome_pnp_ids_get_pnp_id ()
GnomePnpIds * | gnome_pnp_ids_new ()

## Types and Values

struct | GnomePnpIds
struct | GnomePnpIdsClass

## Object Hierarchy

        GObject
        ╰── GnomePnpIds

## Description

## Functions

### 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.

#### Parameters

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]

## Types and Values

### struct GnomePnpIds

    struct GnomePnpIds;

### struct GnomePnpIdsClass

    struct GnomePnpIdsClass {
            GObjectClass    parent_class;
    };