FwupdPlugin.Plugin.register_private_flag
Description: Reference for FwupdPlugin.Plugin.register_private_flag

### Function

# FwupdPlugin Pluginregister_private_flag

since: 2.1.6

#### Declaration [src]

    GQuark
    fu_plugin_register_private_flag (
      FuPluginClass* klass,
      const gchar* flag
    )

#### Description [src]

Registers a private flag so it can be used by `fu_plugin_add_private_flag()` and fu_plugin_has_private_flag().

Available since: 2.1.6

#### Parameters

`klass`

  Type: `FuPluginClass`

  A `FuPluginClass`.

  The data is owned by the caller of the function.

`flag`

  Type: `const gchar*`

  A plugin flag.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GQuark`

A `GQuark`.