FdPnpIds

FdPnpIds

Functions

FdPnpIds * fd_pnp_ids_new ()
gchar * fd_pnp_ids_get_pnp_id ()

Types and Values

Description

Functions

fd_pnp_ids_new ()

FdPnpIds *
fd_pnp_ids_new (void);

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

Returns

a FdPnpIds object.

[transfer full]


fd_pnp_ids_get_pnp_id ()

gchar *
fd_pnp_ids_get_pnp_id (FdPnpIds *pnp_ids,
                       const gchar *pnp_id);

Find the full manufacturer name for the given PNP ID.

Parameters

pnp_ids

a FdPnpIds object

 

pnp_id

the PNP ID to look for

 

Returns

a new string representing the manufacturer name, or NULL when not found.

[transfer full]

Types and Values

FD_PNP_IDS_ERROR

#define FD_PNP_IDS_ERROR                (fd_pnp_ids_error_quark ())