Flags

Details

class FwupdPlugin.AppFlags(value)

Bases: GLib.Flags

The flags to use when loading an application.

NONE = 0

No flags set

NO_IDLE_SOURCES = 1

Disallow idle sources

class FwupdPlugin.ArchiveFlags(value)

Bases: GLib.Flags

The flags to use when loading the archive.

NONE = 0

No flags set

IGNORE_PATH = 1

Ignore any path component

class FwupdPlugin.DeviceInstanceFlags(value)

Bases: GLib.Flags

The flags to use when interacting with a device instance

NONE = 0

No flags set

ONLY_QUIRKS = 1

Only use instance ID for quirk matching

class FwupdPlugin.DumpFlags(value)

Bases: GLib.Flags

The flags to use when configuring debugging

NONE = 0

No flags set

SHOW_ASCII = 1

Show ASCII in debugging dumps

SHOW_ADDRESSES = 2

Show addresses in debugging dumps

class FwupdPlugin.IOChannelFlags(value)

Bases: GLib.Flags

The flags used when reading data from the TTY.

NONE = 0

No flags are set

SINGLE_SHOT = 1

Only one read or write is expected

FLUSH_INPUT = 2

Flush pending input before writing

USE_BLOCKING_IO = 4

Block waiting for the TTY

class FwupdPlugin.QuirksLoadFlags(value)

Bases: GLib.Flags

The flags to use when loading quirks.

NONE = 0

No flags set

READONLY_FS = 1

Ignore readonly filesystem errors

class FwupdPlugin.UdevDeviceFlags(value)

Bases: GLib.Flags

Flags used when opening the device using FwupdPlugin.Device.open().

NONE = 0

No flags set

OPEN_READ = 1

Open the device read-only

OPEN_WRITE = 2

Open the device write-only

VENDOR_FROM_PARENT = 4

Get the vendor ID fallback from the parent