Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Flags
- AppInfoCreateFlags
- ApplicationFlags
- AskPasswordFlags
- BusNameOwnerFlags
- BusNameWatcherFlags
- ConverterFlags
- DBusCallFlags
- DBusCapabilityFlags
- DBusConnectionFlags
- DBusInterfaceSkeletonFlags
- DBusMessageFlags
- DBusObjectManagerClientFlags
- DBusPropertyInfoFlags
- DBusProxyFlags
- DBusSendMessageFlags
- DBusServerFlags
- DBusSignalFlags
- DBusSubtreeFlags
- DriveStartFlags
- FileAttributeInfoFlags
- FileCopyFlags
- FileCreateFlags
- FileMeasureFlags
- FileMonitorFlags
- FileQueryInfoFlags
- IOStreamSpliceFlags
- MountMountFlags
- MountUnmountFlags
- OutputStreamSpliceFlags
- ResourceFlags
- ResourceLookupFlags
- SettingsBindFlags
- SocketMsgFlags
- SubprocessFlags
- TestDBusFlags
- TlsCertificateFlags
- TlsDatabaseVerifyFlags
- TlsPasswordFlags
Synopsis
- data AppInfoCreateFlags
- data ApplicationFlags
- data AskPasswordFlags
- data BusNameOwnerFlags
- data BusNameWatcherFlags
- data ConverterFlags
- data DBusCallFlags
- data DBusCapabilityFlags
- data DBusConnectionFlags
- data DBusInterfaceSkeletonFlags
- data DBusMessageFlags
- data DBusObjectManagerClientFlags
- data DBusPropertyInfoFlags
- data DBusProxyFlags
- data DBusSendMessageFlags
- data DBusServerFlags
- data DBusSignalFlags
- data DBusSubtreeFlags
- data DriveStartFlags
- data FileAttributeInfoFlags
- data FileCopyFlags
- data FileCreateFlags
- data FileMeasureFlags
- data FileMonitorFlags
- data FileQueryInfoFlags
- data IOStreamSpliceFlags
- data MountMountFlags
- data MountUnmountFlags
- data OutputStreamSpliceFlags
- data ResourceFlags
- data ResourceLookupFlags
- data SettingsBindFlags
- data SocketMsgFlags
- data SubprocessFlags
- data TestDBusFlags
- data TlsCertificateFlags
- data TlsDatabaseVerifyFlags
- data TlsPasswordFlags
Flags
AppInfoCreateFlags
data AppInfoCreateFlags Source #
Flags used when creating a AppInfo
.
AppInfoCreateFlagsNone | No flags. |
AppInfoCreateFlagsNeedsTerminal | Application opens in a terminal window. |
AppInfoCreateFlagsSupportsUris | Application supports URI arguments. |
AppInfoCreateFlagsSupportsStartupNotification | Application supports startup notification. Since 2.26 |
AnotherAppInfoCreateFlags Int | Catch-all for unknown values |
Instances
ApplicationFlags
data ApplicationFlags Source #
Flags used to define the behaviour of a Application
.
Since: 2.28
ApplicationFlagsFlagsNone | Default |
ApplicationFlagsIsService | Run as a service. In this mode, registration fails if the service is already running, and the application will initially wait up to 10 seconds for an initial activation message to arrive. |
ApplicationFlagsIsLauncher | Don't try to become the primary instance. |
ApplicationFlagsHandlesOpen | This application handles opening files (in
the primary instance). Note that this flag only affects the default
implementation of |
ApplicationFlagsHandlesCommandLine | This application handles command line
arguments (in the primary instance). Note that this flag only affect
the default implementation of |
ApplicationFlagsSendEnvironment | Send the environment of the
launching process to the primary instance. Set this flag if your
application is expected to behave differently depending on certain
environment variables. For instance, an editor might be expected
to use the |
ApplicationFlagsNonUnique | Make no attempts to do any of the typical single-instance application negotiation, even if the application ID is given. The application neither attempts to become the owner of the application ID nor does it check if an existing owner already exists. Everything occurs in the local process. Since: 2.30. |
ApplicationFlagsCanOverrideAppId | Allow users to override the
application ID from the command line with |
AnotherApplicationFlags Int | Catch-all for unknown values |
Instances
AskPasswordFlags
data AskPasswordFlags Source #
AskPasswordFlags
are used to request specific information from the
user, or to notify the user of their choices in an authentication
situation.
AskPasswordFlagsNeedPassword | operation requires a password. |
AskPasswordFlagsNeedUsername | operation requires a username. |
AskPasswordFlagsNeedDomain | operation requires a domain. |
AskPasswordFlagsSavingSupported | operation supports saving settings. |
AskPasswordFlagsAnonymousSupported | operation supports anonymous users. |
AnotherAskPasswordFlags Int | Catch-all for unknown values |
Instances
BusNameOwnerFlags
data BusNameOwnerFlags Source #
Flags used in g_bus_own_name()
.
Since: 2.26
BusNameOwnerFlagsNone | No flags set. |
BusNameOwnerFlagsAllowReplacement | Allow another message bus connection to claim the name. |
BusNameOwnerFlagsReplace | If another message bus connection owns the name and have
specified |
BusNameOwnerFlagsDoNotQueue | If another message bus connection owns the name, immediately
return an error from |
AnotherBusNameOwnerFlags Int | Catch-all for unknown values |
Instances
BusNameWatcherFlags
data BusNameWatcherFlags Source #
Flags used in g_bus_watch_name()
.
Since: 2.26
BusNameWatcherFlagsNone | No flags set. |
BusNameWatcherFlagsAutoStart | If no-one owns the name when beginning to watch the name, ask the bus to launch an owner for the name. |
AnotherBusNameWatcherFlags Int | Catch-all for unknown values |
Instances
ConverterFlags
data ConverterFlags Source #
Flags used when calling a converterConvert
.
Since: 2.24
ConverterFlagsNone | No flags. |
ConverterFlagsInputAtEnd | At end of input data |
ConverterFlagsFlush | Flush data |
AnotherConverterFlags Int | Catch-all for unknown values |
Instances
DBusCallFlags
data DBusCallFlags Source #
Flags used in dBusConnectionCall
and similar APIs.
Since: 2.26
DBusCallFlagsNone | No flags set. |
DBusCallFlagsNoAutoStart | The bus must not launch an owner for the destination name in response to this method invocation. |
DBusCallFlagsAllowInteractiveAuthorization | the caller is prepared to wait for interactive authorization. Since 2.46. |
AnotherDBusCallFlags Int | Catch-all for unknown values |
Instances
DBusCapabilityFlags
data DBusCapabilityFlags Source #
Capabilities negotiated with the remote peer.
Since: 2.26
DBusCapabilityFlagsNone | No flags set. |
DBusCapabilityFlagsUnixFdPassing | The connection supports exchanging UNIX file descriptors with the remote peer. |
AnotherDBusCapabilityFlags Int | Catch-all for unknown values |
Instances
DBusConnectionFlags
data DBusConnectionFlags Source #
Flags used when creating a new DBusConnection
.
Since: 2.26
DBusConnectionFlagsNone | No flags set. |
DBusConnectionFlagsAuthenticationClient | Perform authentication against server. |
DBusConnectionFlagsAuthenticationServer | Perform authentication against client. |
DBusConnectionFlagsAuthenticationAllowAnonymous | When authenticating as a server, allow the anonymous authentication method. |
DBusConnectionFlagsMessageBusConnection | Pass this flag if connecting to a peer that is a
message bus. This means that the |
DBusConnectionFlagsDelayMessageProcessing | If set, processing of D-Bus messages is
delayed until |
AnotherDBusConnectionFlags Int | Catch-all for unknown values |
Instances
DBusInterfaceSkeletonFlags
data DBusInterfaceSkeletonFlags Source #
Flags describing the behavior of a DBusInterfaceSkeleton
instance.
Since: 2.30
DBusInterfaceSkeletonFlagsNone | No flags set. |
DBusInterfaceSkeletonFlagsHandleMethodInvocationsInThread | Each method invocation is handled in a thread dedicated to the invocation. This means that the method implementation can use blocking IO without blocking any other part of the process. It also means that the method implementation must use locking to access data structures used by other threads. |
AnotherDBusInterfaceSkeletonFlags Int | Catch-all for unknown values |
Instances
DBusMessageFlags
data DBusMessageFlags Source #
Message flags used in DBusMessage
.
Since: 2.26
DBusMessageFlagsNone | No flags set. |
DBusMessageFlagsNoReplyExpected | A reply is not expected. |
DBusMessageFlagsNoAutoStart | The bus must not launch an owner for the destination name in response to this message. |
DBusMessageFlagsAllowInteractiveAuthorization | If set on a method call, this flag means that the caller is prepared to wait for interactive authorization. Since 2.46. |
AnotherDBusMessageFlags Int | Catch-all for unknown values |
Instances
DBusObjectManagerClientFlags
data DBusObjectManagerClientFlags Source #
Flags used when constructing a DBusObjectManagerClient
.
Since: 2.30
DBusObjectManagerClientFlagsNone | No flags set. |
DBusObjectManagerClientFlagsDoNotAutoStart | If not set and the manager is for a well-known name, then request the bus to launch an owner for the name if no-one owns the name. This flag can only be used in managers for well-known names. |
AnotherDBusObjectManagerClientFlags Int | Catch-all for unknown values |
Instances
DBusPropertyInfoFlags
data DBusPropertyInfoFlags Source #
Flags describing the access control of a D-Bus property.
Since: 2.26
DBusPropertyInfoFlagsNone | No flags set. |
DBusPropertyInfoFlagsReadable | Property is readable. |
DBusPropertyInfoFlagsWritable | Property is writable. |
AnotherDBusPropertyInfoFlags Int | Catch-all for unknown values |
Instances
DBusProxyFlags
data DBusProxyFlags Source #
Flags used when constructing an instance of a DBusProxy
derived class.
Since: 2.26
DBusProxyFlagsNone | No flags set. |
DBusProxyFlagsDoNotLoadProperties | Don't load properties. |
DBusProxyFlagsDoNotConnectSignals | Don't connect to signals on the remote object. |
DBusProxyFlagsDoNotAutoStart | If the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization or a method call. This flag is only meaningful in proxies for well-known names. |
DBusProxyFlagsGetInvalidatedProperties | If set, the property value for any invalidated property will be (asynchronously) retrieved upon receiving the `PropertiesChanged` D-Bus signal and the property will not cause emission of the |
DBusProxyFlagsDoNotAutoStartAtConstruction | If the proxy is for a well-known name,
do not ask the bus to launch an owner during proxy initialization, but allow it to be
autostarted by a method call. This flag is only meaningful in proxies for well-known names,
and only if |
AnotherDBusProxyFlags Int | Catch-all for unknown values |
Instances
DBusSendMessageFlags
data DBusSendMessageFlags Source #
Flags used when sending GDBusMessages
on a DBusConnection
.
Since: 2.26
DBusSendMessageFlagsNone | No flags set. |
DBusSendMessageFlagsPreserveSerial | Do not automatically
assign a serial number from the |
AnotherDBusSendMessageFlags Int | Catch-all for unknown values |
Instances
DBusServerFlags
data DBusServerFlags Source #
Flags used when creating a DBusServer
.
Since: 2.26
DBusServerFlagsNone | No flags set. |
DBusServerFlagsRunInThread | All |
DBusServerFlagsAuthenticationAllowAnonymous | Allow the anonymous authentication method. |
AnotherDBusServerFlags Int | Catch-all for unknown values |
Instances
DBusSignalFlags
data DBusSignalFlags Source #
Flags used when subscribing to signals via dBusConnectionSignalSubscribe
.
Since: 2.26
DBusSignalFlagsNone | No flags set. |
DBusSignalFlagsNoMatchRule | Don't actually send the AddMatch D-Bus call for this signal subscription. This gives you more control over which match rules you add (but you must add them manually). |
DBusSignalFlagsMatchArg0Namespace | Match first arguments that contain a bus or interface name with the given namespace. |
DBusSignalFlagsMatchArg0Path | Match first arguments that contain an object path that is either equivalent to the given path, or one of the paths is a subpath of the other. |
AnotherDBusSignalFlags Int | Catch-all for unknown values |
Instances
DBusSubtreeFlags
data DBusSubtreeFlags Source #
Flags passed to dBusConnectionRegisterSubtree
.
Since: 2.26
DBusSubtreeFlagsNone | No flags set. |
DBusSubtreeFlagsDispatchToUnenumeratedNodes | Method calls to objects not in the enumerated range will still be dispatched. This is useful if you want to dynamically spawn objects in the subtree. |
AnotherDBusSubtreeFlags Int | Catch-all for unknown values |
Instances
DriveStartFlags
data DriveStartFlags Source #
Flags used when starting a drive.
Since: 2.22
DriveStartFlagsNone | No flags set. |
AnotherDriveStartFlags Int | Catch-all for unknown values |
Instances
FileAttributeInfoFlags
data FileAttributeInfoFlags Source #
Flags specifying the behaviour of an attribute.
FileAttributeInfoFlagsNone | no flags set. |
FileAttributeInfoFlagsCopyWithFile | copy the attribute values when the file is copied. |
FileAttributeInfoFlagsCopyWhenMoved | copy the attribute values when the file is moved. |
AnotherFileAttributeInfoFlags Int | Catch-all for unknown values |
Instances
FileCopyFlags
data FileCopyFlags Source #
Flags used when copying or moving files.
FileCopyFlagsNone | No flags set. |
FileCopyFlagsOverwrite | Overwrite any existing files |
FileCopyFlagsBackup | Make a backup of any existing files. |
FileCopyFlagsNofollowSymlinks | Don't follow symlinks. |
FileCopyFlagsAllMetadata | Copy all file metadata instead of just default set used for copy (see |
FileCopyFlagsNoFallbackForMove | Don't use copy and delete fallback if native move not supported. |
FileCopyFlagsTargetDefaultPerms | Leaves target file with default perms, instead of setting the source file perms. |
AnotherFileCopyFlags Int | Catch-all for unknown values |
Instances
FileCreateFlags
data FileCreateFlags Source #
Flags used when an operation may create a file.
FileCreateFlagsNone | No flags set. |
FileCreateFlagsPrivate | Create a file that can only be accessed by the current user. |
FileCreateFlagsReplaceDestination | Replace the destination as if it didn't exist before. Don't try to keep any old permissions, replace instead of following links. This is generally useful if you're doing a "copy over" rather than a "save new version of" replace operation. You can think of it as "unlink destination" before writing to it, although the implementation may not be exactly like that. Since 2.20 |
AnotherFileCreateFlags Int | Catch-all for unknown values |
Instances
FileMeasureFlags
data FileMeasureFlags Source #
Flags that can be used with g_file_measure_disk_usage()
.
Since: 2.38
FileMeasureFlagsNone | No flags set. |
FileMeasureFlagsReportAnyError | Report any error encountered while traversing the directory tree. Normally errors are only reported for the toplevel file. |
FileMeasureFlagsApparentSize | Tally usage based on apparent file
sizes. Normally, the block-size is used, if available, as this is a
more accurate representation of disk space used.
Compare with |
FileMeasureFlagsNoXdev | Do not cross mount point boundaries.
Compare with |
AnotherFileMeasureFlags Int | Catch-all for unknown values |
Instances
FileMonitorFlags
data FileMonitorFlags Source #
Flags used to set what a FileMonitor
will watch for.
FileMonitorFlagsNone | No flags set. |
FileMonitorFlagsWatchMounts | Watch for mount events. |
FileMonitorFlagsSendMoved | Pair DELETED and CREATED events caused
by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED
event instead (NB: not supported on all backends; the default
behaviour -without specifying this flag- is to send single DELETED
and CREATED events). Deprecated since 2.46: use
|
FileMonitorFlagsWatchHardLinks | Watch for changes to the file made via another hard link. Since 2.36. |
FileMonitorFlagsWatchMoves | Watch for rename operations on a
monitored directory. This causes |
AnotherFileMonitorFlags Int | Catch-all for unknown values |
Instances
FileQueryInfoFlags
data FileQueryInfoFlags Source #
Flags used when querying a FileInfo
.
FileQueryInfoFlagsNone | No flags set. |
FileQueryInfoFlagsNofollowSymlinks | Don't follow symlinks. |
AnotherFileQueryInfoFlags Int | Catch-all for unknown values |
Instances
IOStreamSpliceFlags
data IOStreamSpliceFlags Source #
GIOStreamSpliceFlags determine how streams should be spliced.
Since: 2.28
IOStreamSpliceFlagsNone | Do not close either stream. |
IOStreamSpliceFlagsCloseStream1 | Close the first stream after the splice. |
IOStreamSpliceFlagsCloseStream2 | Close the second stream after the splice. |
IOStreamSpliceFlagsWaitForBoth | Wait for both splice operations to finish before calling the callback. |
AnotherIOStreamSpliceFlags Int | Catch-all for unknown values |
Instances
MountMountFlags
data MountMountFlags Source #
Flags used when mounting a mount.
MountMountFlagsNone | No flags set. |
AnotherMountMountFlags Int | Catch-all for unknown values |
Instances
MountUnmountFlags
data MountUnmountFlags Source #
Flags used when an unmounting a mount.
MountUnmountFlagsNone | No flags set. |
MountUnmountFlagsForce | Unmount even if there are outstanding file operations on the mount. |
AnotherMountUnmountFlags Int | Catch-all for unknown values |
Instances
OutputStreamSpliceFlags
data OutputStreamSpliceFlags Source #
GOutputStreamSpliceFlags determine how streams should be spliced.
OutputStreamSpliceFlagsNone | Do not close either stream. |
OutputStreamSpliceFlagsCloseSource | Close the source stream after the splice. |
OutputStreamSpliceFlagsCloseTarget | Close the target stream after the splice. |
AnotherOutputStreamSpliceFlags Int | Catch-all for unknown values |
Instances
ResourceFlags
data ResourceFlags Source #
GResourceFlags give information about a particular file inside a resource bundle.
Since: 2.32
ResourceFlagsNone | No flags set. |
ResourceFlagsCompressed | The file is compressed. |
AnotherResourceFlags Int | Catch-all for unknown values |
Instances
ResourceLookupFlags
data ResourceLookupFlags Source #
GResourceLookupFlags determine how resource path lookups are handled.
Since: 2.32
ResourceLookupFlagsNone | No flags set. |
AnotherResourceLookupFlags Int | Catch-all for unknown values |
Instances
SettingsBindFlags
data SettingsBindFlags Source #
Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions.
SettingsBindFlagsDefault | Equivalent to |
SettingsBindFlagsGet | Update the |
SettingsBindFlagsSet | Update the setting when the |
SettingsBindFlagsNoSensitivity | Do not try to bind a "sensitivity" property to the writability of the setting |
SettingsBindFlagsGetNoChanges | When set in addition to |
SettingsBindFlagsInvertBoolean | When passed to |
AnotherSettingsBindFlags Int | Catch-all for unknown values |
Instances
SocketMsgFlags
data SocketMsgFlags Source #
Flags used in socketReceiveMessage
and socketSendMessage
.
The flags listed in the enum are some commonly available flags, but the
values used for them are the same as on the platform, and any other flags
are passed in/out as is. So to use a platform specific flag, just include
the right system header and pass in the flag.
Since: 2.22
SocketMsgFlagsNone | No flags. |
SocketMsgFlagsOob | Request to send/receive out of band data. |
SocketMsgFlagsPeek | Read data from the socket without removing it from the queue. |
SocketMsgFlagsDontroute | Don't use a gateway to send out the packet, only send to hosts on directly connected networks. |
AnotherSocketMsgFlags Int | Catch-all for unknown values |
Instances
SubprocessFlags
data SubprocessFlags Source #
Flags to define the behaviour of a Subprocess
.
Note that the default for stdin is to redirect from /dev/null
. For
stdout and stderr the default are for them to inherit the
corresponding descriptor from the calling process.
Note that it is a programmer error to mix 'incompatible' flags. For
example, you may not request both SubprocessFlagsStdoutPipe
and
SubprocessFlagsStdoutSilence
.
Since: 2.40
SubprocessFlagsNone | No flags. |
SubprocessFlagsStdinPipe | create a pipe for the stdin of the
spawned process that can be accessed with
|
SubprocessFlagsStdinInherit | stdin is inherited from the calling process. |
SubprocessFlagsStdoutPipe | create a pipe for the stdout of the
spawned process that can be accessed with
|
SubprocessFlagsStdoutSilence | silence the stdout of the spawned
process (ie: redirect to |
SubprocessFlagsStderrPipe | create a pipe for the stderr of the
spawned process that can be accessed with
|
SubprocessFlagsStderrSilence | silence the stderr of the spawned
process (ie: redirect to |
SubprocessFlagsStderrMerge | merge the stderr of the spawned process with whatever the stdout happens to be. This is a good way of directing both streams to a common log file, for example. |
SubprocessFlagsInheritFds | spawned processes will inherit the file descriptors of their parent, unless those descriptors have been explicitly marked as close-on-exec. This flag has no effect over the "standard" file descriptors (stdin, stdout, stderr). |
AnotherSubprocessFlags Int | Catch-all for unknown values |
Instances
TestDBusFlags
data TestDBusFlags Source #
Flags to define future TestDBus
behaviour.
Since: 2.34
TestDBusFlagsNone | No flags. |
AnotherTestDBusFlags Int | Catch-all for unknown values |
Instances
TlsCertificateFlags
data TlsCertificateFlags Source #
A set of flags describing TLS certification validation. This can be
used to set which validation steps to perform (eg, with
tlsClientConnectionSetValidationFlags
), or to describe why
a particular certificate was rejected (eg, in
TlsConnection
::accept-certificate
).
Since: 2.28
TlsCertificateFlagsUnknownCa | The signing certificate authority is not known. |
TlsCertificateFlagsBadIdentity | The certificate does not match the expected identity of the site that it was retrieved from. |
TlsCertificateFlagsNotActivated | The certificate's activation time is still in the future |
TlsCertificateFlagsExpired | The certificate has expired |
TlsCertificateFlagsRevoked | The certificate has been revoked according to the 'GI.Gio.Objects.TlsConnection.TlsConnection'\'s certificate revocation list. |
TlsCertificateFlagsInsecure | The certificate's algorithm is considered insecure. |
TlsCertificateFlagsGenericError | Some other error occurred validating the certificate |
TlsCertificateFlagsValidateAll | the combination of all of the above flags |
AnotherTlsCertificateFlags Int | Catch-all for unknown values |
Instances
TlsDatabaseVerifyFlags
data TlsDatabaseVerifyFlags Source #
Flags for tlsDatabaseVerifyChain
.
Since: 2.30
TlsDatabaseVerifyFlagsNone | No verification flags |
AnotherTlsDatabaseVerifyFlags Int | Catch-all for unknown values |
Instances
TlsPasswordFlags
data TlsPasswordFlags Source #
Various flags for the password.
Since: 2.30
TlsPasswordFlagsNone | No flags |
TlsPasswordFlagsRetry | The password was wrong, and the user should retry. |
TlsPasswordFlagsManyTries | Hint to the user that the password has been wrong many times, and the user may not have many chances left. |
TlsPasswordFlagsFinalTry | Hint to the user that this is the last try to get this password right. |
AnotherTlsPasswordFlags Int | Catch-all for unknown values |