FwupdPlugin.Plugin.guess_name_from_fn
Description: Reference for FwupdPlugin.Plugin.guess_name_from_fn

### Function

# FwupdPlugin Pluginguess_name_from_fn

#### Declaration [src]

    gchar*
    fu_plugin_guess_name_from_fn (
      const gchar* filename
    )

#### Description [src]

Tries to guess the name of the plugin from a filename.

Available since: | 1.0.8

#### Parameters

`filename` | `const gchar*`
| Filename to guess.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `gchar*`
| The guessed name of the plugin.
| The caller of the function takes ownership of the data, and is responsible for freeing it.
| The value is a NUL terminated UTF-8 string.