### ----------------------------------------------------
### -- Gnome::Gio
### -- Licenses: Artistic-2.0
### -- Authors: Marcel Timmerman
### -- File: lib/Gnome/Gio/Enums.rakumod
### ----------------------------------------------------
### -- Chunk 2 of 3
Type

The type of name used by a B<GUnixSocketAddress>.
C<G_UNIX_SOCKET_ADDRESS_PATH> indicates a traditional unix domain
socket bound to a filesystem path. C<G_UNIX_SOCKET_ADDRESS_ANONYMOUS>
indicates a socket not bound to any name (eg, a client-side socket,
or a socket created with C<socketpair()>).

For abstract sockets, there are two incompatible ways of naming
them; the man pages suggest using the entire `struct sockaddr_un`
as the name, padding the unused parts of the C<sun_path> field with
zeroes; this corresponds to C<G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED>.
However, many programs instead just use a portion of C<sun_path>, and
pass an appropriate smaller length to C<bind()> or C<connect()>. This is
C<G_UNIX_SOCKET_ADDRESS_ABSTRACT>.

Since: 2.26


=item G_UNIX_SOCKET_ADDRESS_INVALID: invalid
=item G_UNIX_SOCKET_ADDRESS_ANONYMOUS: anonymous
=item G_UNIX_SOCKET_ADDRESS_PATH: a filesystem path
=item G_UNIX_SOCKET_ADDRESS_ABSTRACT: an abstract name
=item G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: an abstract name, 0-padded to the full length of a unix socket name


=end pod

#TE:0:GUnixSocketAddressType:
enum GUnixSocketAddressType is export (
  'G_UNIX_SOCKET_ADDRESS_INVALID',
  'G_UNIX_SOCKET_ADDRESS_ANONYMOUS',
  'G_UNIX_SOCKET_ADDRESS_PATH',
  'G_UNIX_SOCKET_ADDRESS_ABSTRACT',
  'G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GBusType

An enumeration for well-known message buses.

Since: 2.26


=item G_BUS_TYPE_STARTER: An alias for the message bus that activated the process, if any.
=item G_BUS_TYPE_NONE: Not a message bus.
=item G_BUS_TYPE_SYSTEM: The system-wide message bus.
=item G_BUS_TYPE_SESSION: The login session message bus.


=end pod

#TE:0:GBusType:
enum GBusType is export (
  'G_BUS_TYPE_STARTER' => -1,
  'G_BUS_TYPE_NONE' => 0,
  'G_BUS_TYPE_SYSTEM'  => 1,
  'G_BUS_TYPE_SESSION' => 2
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GBusNameOwnerFlags

Flags used in C<g_bus_own_name()>.

Since: 2.26


=item G_BUS_NAME_OWNER_FLAGS_NONE: No flags set.
=item G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: Allow another message bus connection to claim the name.
=item G_BUS_NAME_OWNER_FLAGS_REPLACE: If another message bus connection owns the name and have specified B<G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT>, then take the name from the other connection.
=item G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: If another message bus connection owns the name, immediately return an error from C<g_bus_own_name()> rather than entering the waiting queue for that name. (Since 2.54)


=end pod

#TE:0:GBusNameOwnerFlags:
enum GBusNameOwnerFlags is export (
  'G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE' => (1+<2)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GBusNameWatcherFlags

Flags used in C<g_bus_watch_name()>.

Since: 2.26


=item G_BUS_NAME_WATCHER_FLAGS_NONE: No flags set.
=item G_BUS_NAME_WATCHER_FLAGS_AUTO_START: If no-one owns the name when beginning to watch the name, ask the bus to launch an owner for the name.


=end pod

#TE:0:GBusNameWatcherFlags:
enum GBusNameWatcherFlags is export (
  'G_BUS_NAME_WATCHER_FLAGS_NONE' => 0,
  'G_BUS_NAME_WATCHER_FLAGS_AUTO_START' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusProxyFlags

Flags used when constructing an instance of a B<GDBusProxy> derived class.

Since: 2.26


=item G_DBUS_PROXY_FLAGS_NONE: No flags set.
=item G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: Don't load properties.
=item G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: Don't connect to signals on the remote object.
=item G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: 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.
=item G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: If set, the property value for any __invalidated property__ will be (asynchronously) retrieved upon receiving the [`PropertiesChanged`](http://dbus.freedesktop.org/doc/dbus-specification.htmlB<standard>-interfaces-properties) D-Bus signal and the property will not cause emission of the  I<g-properties-changed> signal. When the value is received the  I<g-properties-changed> signal is emitted for the property along with the retrieved value. Since 2.32.
=item G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: 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 C<G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START> is not also specified.


=end pod

#TE:0:GDBusProxyFlags:
enum GDBusProxyFlags is export (
  'G_DBUS_PROXY_FLAGS_NONE' => 0,
  'G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES' => (1+<0),
  'G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS' => (1+<1),
  'G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START' => (1+<2),
  'G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES' => (1+<3),
  'G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION' => (1+<4)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusError

Error codes for the C<G_DBUS_ERROR> error domain.

Since: 2.26


=item G_DBUS_ERROR_FAILED: A generic error; "something went wrong" - see the error message for more.
=item G_DBUS_ERROR_NO_MEMORY: There was not enough memory to complete an operation.
=item G_DBUS_ERROR_SERVICE_UNKNOWN: The bus doesn't know how to launch a service to supply the bus name you wanted.
=item G_DBUS_ERROR_NAME_HAS_NO_OWNER: The bus name you referenced doesn't exist (i.e. no application owns it).
=item G_DBUS_ERROR_NO_REPLY: No reply to a message expecting one, usually means a timeout occurred.
=item G_DBUS_ERROR_IO_ERROR: Something went wrong reading or writing to a socket, for example.
=item G_DBUS_ERROR_BAD_ADDRESS: A D-Bus bus address was malformed.
=item G_DBUS_ERROR_NOT_SUPPORTED: Requested operation isn't supported (like ENOSYS on UNIX).
=item G_DBUS_ERROR_LIMITS_EXCEEDED: Some limited resource is exhausted.
=item G_DBUS_ERROR_ACCESS_DENIED: Security restrictions don't allow doing what you're trying to do.
=item G_DBUS_ERROR_AUTH_FAILED: Authentication didn't work.
=item G_DBUS_ERROR_NO_SERVER: Unable to connect to server (probably caused by ECONNREFUSED on a socket).
=item G_DBUS_ERROR_TIMEOUT: Certain timeout errors, possibly ETIMEDOUT on a socket.  Note that C<G_DBUS_ERROR_NO_REPLY> is used for message reply timeouts. Warning: this is confusingly-named given that C<G_DBUS_ERROR_TIMED_OUT> also exists. We can't fix it for compatibility reasons so just be careful.
=item G_DBUS_ERROR_NO_NETWORK: No network access (probably ENETUNREACH on a socket).
=item G_DBUS_ERROR_ADDRESS_IN_USE: Can't bind a socket since its address is in use (i.e. EADDRINUSE).
=item G_DBUS_ERROR_DISCONNECTED: The connection is disconnected and you're trying to use it.
=item G_DBUS_ERROR_INVALID_ARGS: Invalid arguments passed to a method call.
=item G_DBUS_ERROR_FILE_NOT_FOUND: Missing file.
=item G_DBUS_ERROR_FILE_EXISTS: Existing file and the operation you're using does not silently overwrite.
=item G_DBUS_ERROR_UNKNOWN_METHOD: Method name you invoked isn't known by the object you invoked it on.
=item G_DBUS_ERROR_UNKNOWN_OBJECT: Object you invoked a method on isn't known. Since 2.42
=item G_DBUS_ERROR_UNKNOWN_INTERFACE: Interface you invoked a method on isn't known by the object. Since 2.42
=item G_DBUS_ERROR_UNKNOWN_PROPERTY: Property you tried to access isn't known by the object. Since 2.42
=item G_DBUS_ERROR_PROPERTY_READ_ONLY: Property you tried to set is read-only. Since 2.42
=item G_DBUS_ERROR_TIMED_OUT: Certain timeout errors, e.g. while starting a service. Warning: this is confusingly-named given that C<G_DBUS_ERROR_TIMEOUT> also exists. We can't fix it for compatibility reasons so just be careful.
=item G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: Tried to remove or modify a match rule that didn't exist.
=item G_DBUS_ERROR_MATCH_RULE_INVALID: The match rule isn't syntactically valid.
=item G_DBUS_ERROR_SPAWN_EXEC_FAILED: While starting a new process, the C<exec()> call failed.
=item G_DBUS_ERROR_SPAWN_FORK_FAILED: While starting a new process, the C<fork()> call failed.
=item G_DBUS_ERROR_SPAWN_CHILD_EXITED: While starting a new process, the child exited with a status code.
=item G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: While starting a new process, the child exited on a signal.
=item G_DBUS_ERROR_SPAWN_FAILED: While starting a new process, something went wrong.
=item G_DBUS_ERROR_SPAWN_SETUP_FAILED: We failed to setup the environment correctly.
=item G_DBUS_ERROR_SPAWN_CONFIG_INVALID: We failed to setup the config parser correctly.
=item G_DBUS_ERROR_SPAWN_SERVICE_INVALID: Bus name was not valid.
=item G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: Service file not found in system-services directory.
=item G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: Permissions are incorrect on the setuid helper.
=item G_DBUS_ERROR_SPAWN_FILE_INVALID: Service file invalid (Name, User or Exec missing).
=item G_DBUS_ERROR_SPAWN_NO_MEMORY: Tried to get a UNIX process ID and it wasn't available.
=item G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: Tried to get a UNIX process ID and it wasn't available.
=item G_DBUS_ERROR_INVALID_SIGNATURE: A type signature is not valid.
=item G_DBUS_ERROR_INVALID_FILE_CONTENT: A file contains invalid syntax or is otherwise broken.
=item G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: Asked for SELinux security context and it wasn't available.
=item G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: Asked for ADT audit data and it wasn't available.
=item G_DBUS_ERROR_OBJECT_PATH_IN_USE: There's already an object with the requested object path.


=end pod

#TE:0:GDBusError:
enum GDBusError is export (
  'G_DBUS_ERROR_PROPERTY_READ_ONLY'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusConnectionFlags

Flags used when creating a new B<GDBusConnection>.

Since: 2.26

=item G_DBUS_CONNECTION_FLAGS_NONE: No flags set.
=item G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: Perform authentication against server.
=item G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: Perform authentication against client.
=item G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: When authenticating as a server, allow the anonymous authentication method.
=item G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: Pass this flag if connecting to a peer that is a message bus. This means that the C<Hello()> method will be invoked as part of the connection setup.
=item G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: If set, processing of D-Bus messages is delayed until C<g_dbus_connection_start_message_processing()> is called.


=end pod

#TE:0:GDBusConnectionFlags:
enum GDBusConnectionFlags is export (
  'G_DBUS_CONNECTION_FLAGS_NONE' => 0,
  'G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT' => (1+<0),
  'G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER' => (1+<1),
  'G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS' => (1+<2),
  'G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION' => (1+<3),
  'G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING' => (1+<4)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusCapabilityFlags

Capabilities negotiated with the remote peer.

Since: 2.26


=item G_DBUS_CAPABILITY_FLAGS_NONE: No flags set.
=item G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: The connection supports exchanging UNIX file descriptors with the remote peer.


=end pod

#TE:0:GDBusCapabilityFlags:
enum GDBusCapabilityFlags is export (
  'G_DBUS_CAPABILITY_FLAGS_NONE' => 0,
  'G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusCallFlags

Flags used in C<g_dbus_connection_call()> and similar APIs.

Since: 2.26


=item G_DBUS_CALL_FLAGS_NONE: No flags set.
=item G_DBUS_CALL_FLAGS_NO_AUTO_START: The bus must not launch an owner for the destination name in response to this method invocation.
=item G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: the caller is prepared to wait for interactive authorization. Since 2.46.


=end pod

#TE:0:GDBusCallFlags:
enum GDBusCallFlags is export (
  'G_DBUS_CALL_FLAGS_NONE' => 0,
  'G_DBUS_CALL_FLAGS_NO_AUTO_START' => (1+<0),
  'G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION' => (1+<1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusMessageType

Message types used in B<GDBusMessage>.

Since: 2.26


=item G_DBUS_MESSAGE_TYPE_INVALID: Message is of invalid type.
=item G_DBUS_MESSAGE_TYPE_METHOD_CALL: Method call.
=item G_DBUS_MESSAGE_TYPE_METHOD_RETURN: Method reply.
=item G_DBUS_MESSAGE_TYPE_ERROR: Error reply.
=item G_DBUS_MESSAGE_TYPE_SIGNAL: Signal emission.


=end pod

#TE:0:GDBusMessageType:
enum GDBusMessageType is export (
  'G_DBUS_MESSAGE_TYPE_INVALID',
  'G_DBUS_MESSAGE_TYPE_METHOD_CALL',
  'G_DBUS_MESSAGE_TYPE_METHOD_RETURN',
  'G_DBUS_MESSAGE_TYPE_ERROR',
  'G_DBUS_MESSAGE_TYPE_SIGNAL'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusMessageFlags

Message flags used in B<GDBusMessage>.

Since: 2.26


=item G_DBUS_MESSAGE_FLAGS_NONE: No flags set.
=item G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: A reply is not expected.
=item G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: The bus must not launch an owner for the destination name in response to this message.
=item G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: If set on a method call, this flag means that the caller is prepared to wait for interactive authorization. Since 2.46.


=end pod

#TE:0:GDBusMessageFlags:
enum GDBusMessageFlags is export (
  'G_DBUS_MESSAGE_FLAGS_NONE' => 0,
  'G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED' => (1+<0),
  'G_DBUS_MESSAGE_FLAGS_NO_AUTO_START' => (1+<1),
  'G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION' => (1+<2)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusMessageHeaderField

Header fields used in B<GDBusMessage>.

Since: 2.26


=item G_DBUS_MESSAGE_HEADER_FIELD_INVALID: Not a valid header field.
=item G_DBUS_MESSAGE_HEADER_FIELD_PATH: The object path.
=item G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: The interface name.
=item G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: The method or signal name.
=item G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: The name of the error that occurred.
=item G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: The serial number the message is a reply to.
=item G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: The name the message is intended for.
=item G_DBUS_MESSAGE_HEADER_FIELD_SENDER: Unique name of the sender of the message (filled in by the bus).
=item G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: The signature of the message body.
=item G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: The number of UNIX file descriptors that accompany the message.


=end pod

#TE:0:GDBusMessageHeaderField:
enum GDBusMessageHeaderField is export (
  'G_DBUS_MESSAGE_HEADER_FIELD_INVALID',
  'G_DBUS_MESSAGE_HEADER_FIELD_PATH',
  'G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE',
  'G_DBUS_MESSAGE_HEADER_FIELD_MEMBER',
  'G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME',
  'G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL',
  'G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION',
  'G_DBUS_MESSAGE_HEADER_FIELD_SENDER',
  'G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE',
  'G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusPropertyInfoFlags

Flags describing the access control of a D-Bus property.

Since: 2.26


=item G_DBUS_PROPERTY_INFO_FLAGS_NONE: No flags set.
=item G_DBUS_PROPERTY_INFO_FLAGS_READABLE: Property is readable.
=item G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: Property is writable.


=end pod

#TE:0:GDBusPropertyInfoFlags:
enum GDBusPropertyInfoFlags is export (
  'G_DBUS_PROPERTY_INFO_FLAGS_NONE' => 0,
  'G_DBUS_PROPERTY_INFO_FLAGS_READABLE' => (1+<0),
  'G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE' => (1+<1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusSubtreeFlags

Flags passed to C<g_dbus_connection_register_subtree()>.

Since: 2.26


=item G_DBUS_SUBTREE_FLAGS_NONE: No flags set.
=item G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: 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.


=end pod

#TE:0:GDBusSubtreeFlags:
enum GDBusSubtreeFlags is export (
  'G_DBUS_SUBTREE_FLAGS_NONE' => 0,
  'G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusServerFlags

Flags used when creating a B<GDBusServer>.

Since: 2.26


=item G_DBUS_SERVER_FLAGS_NONE: No flags set.
=item G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: All  I<new-connection> signals will run in separated dedicated threads (see signal for details).
=item G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: Allow the anonymous authentication method.


=end pod

#TE:0:GDBusServerFlags:
enum GDBusServerFlags is export (
  'G_DBUS_SERVER_FLAGS_NONE' => 0,
  'G_DBUS_SERVER_FLAGS_RUN_IN_THREAD' => (1+<0),
  'G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS' => (1+<1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusSendMessageFlags

Flags used when sending B<GDBusMessages> on a B<GDBusConnection>.

Since: 2.26


=item G_DBUS_SEND_MESSAGE_FLAGS_NONE: No flags set.
=item G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: Do not automatically assign a serial number from the B<GDBusConnection> object when sending a message.


=end pod

#TE:0:GDBusSendMessageFlags:
enum GDBusSendMessageFlags is export (
  'G_DBUS_SEND_MESSAGE_FLAGS_NONE' => 0,
  'G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GCredentialsType

Enumeration describing different kinds of native credential types.

Since: 2.26


=item G_CREDENTIALS_TYPE_INVALID: Indicates an invalid native credential type.
=item G_CREDENTIALS_TYPE_LINUX_UCRED: The native credentials type is a struct ucred.
=item G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: The native credentials type is a struct cmsgcred.
=item G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: The native credentials type is a struct sockpeercred. Added in 2.30.
=item G_CREDENTIALS_TYPE_SOLARIS_UCRED: The native credentials type is a ucred_t. Added in 2.40.
=item G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a struct unpcbid.


=end pod

#TE:0:GCredentialsType:
enum GCredentialsType is export (
  'G_CREDENTIALS_TYPE_INVALID',
  'G_CREDENTIALS_TYPE_LINUX_UCRED',
  'G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED',
  'G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED',
  'G_CREDENTIALS_TYPE_SOLARIS_UCRED',
  'G_CREDENTIALS_TYPE_NETBSD_UNPCBID'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusMessageByteOrder

Enumeration used to describe the byte order of a D-Bus message.

Since: 2.26


=item G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: The byte order is big endian.
=item G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: The byte order is little endian.


=end pod

#TE:0:GDBusMessageByteOrder:
enum GDBusMessageByteOrder is export (
  'G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN'    => 'B',
  'G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN' => 'l'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GApplicationFlags

Flags used to define the behaviour of a B<GApplication>.

Since: 2.28


=item G_APPLICATION_FLAGS_NONE: Default
=item G_APPLICATION_IS_SERVICE: 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.
=item G_APPLICATION_IS_LAUNCHER: Don't try to become the primary instance.
=item G_APPLICATION_HANDLES_OPEN: This application handles opening files (in the primary instance). Note that this flag only affects the default implementation of C<local_command_line()>, and has no effect if C<G_APPLICATION_HANDLES_COMMAND_LINE> is given. See C<g_application_run()> for details.
=item G_APPLICATION_HANDLES_COMMAND_LINE: This application handles command line arguments (in the primary instance). Note that this flag only affect the default implementation of C<local_command_line()>. See C<g_application_run()> for details.
=item G_APPLICATION_SEND_ENVIRONMENT: 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 `GIT_COMMITTER_NAME` environment variable when editing a git commit message. The environment is available to the  I<command-line> signal handler, via C<g_application_command_line_getenv()>.
=item G_APPLICATION_NON_UNIQUE: 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.
=item G_APPLICATION_CAN_OVERRIDE_APP_ID: Allow users to override the application ID from the command line with `--gapplication-app-id`. Since: 2.48


=end pod

#TE:1:GApplicationFlags:
enum GApplicationFlags is export (
  'G_APPLICATION_FLAGS_NONE',
  'G_APPLICATION_IS_SERVICE'  =>          (1 +< 0),
  'G_APPLICATION_IS_LAUNCHER' =>          (1 +< 1),
  'G_APPLICATION_HANDLES_OPEN' =>         (1 +< 2),
  'G_APPLICATION_HANDLES_COMMAND_LINE' => (1 +< 3),
  'G_APPLICATION_SEND_ENVIRONMENT'    =>  (1 +< 4),
  'G_APPLICATION_NON_UNIQUE' =>           (1 +< 5),
  'G_APPLICATION_CAN_OVERRIDE_APP_ID' =>  (1 +< 6)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsError

An error code used with C<G_TLS_ERROR> in a B<GError> returned from a
TLS-related routine.

Since: 2.28


=item G_TLS_ERROR_UNAVAILABLE: No TLS provider is available
=item G_TLS_ERROR_MISC: Miscellaneous TLS error
=item G_TLS_ERROR_BAD_CERTIFICATE: A certificate could not be parsed
=item G_TLS_ERROR_NOT_TLS: The TLS handshake failed because the peer does not seem to be a TLS server.
=item G_TLS_ERROR_HANDSHAKE: The TLS handshake failed because the peer's certificate was not acceptable.
=item G_TLS_ERROR_CERTIFICATE_REQUIRED: The TLS handshake failed because the server requested a client-side certificate, but none was provided. See C<g_tls_connection_set_certificate()>.
=item G_TLS_ERROR_EOF: The TLS connection was closed without proper notice, which may indicate an attack. See C<g_tls_connection_set_require_close_notify()>.


=end pod

#TE:0:GTlsError:
enum GTlsError is export (
  'G_TLS_ERROR_UNAVAILABLE',
  'G_TLS_ERROR_MISC',
  'G_TLS_ERROR_BAD_CERTIFICATE',
  'G_TLS_ERROR_NOT_TLS',
  'G_TLS_ERROR_HANDSHAKE',
  'G_TLS_ERROR_CERTIFICATE_REQUIRED',
  'G_TLS_ERROR_EOF'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsCertificateFlags

A set of flags describing TLS certification validation. This can be
used to set which validation steps to perform (eg, with
C<g_tls_client_connection_set_validation_flags()>), or to describe why
a particular certificate was rejected (eg, in
 I<accept-certificate>).

Since: 2.28


=item G_TLS_CERTIFICATE_UNKNOWN_CA: The signing certificate authority is not known.
=item G_TLS_CERTIFICATE_BAD_IDENTITY: The certificate does not match the expected identity of the site that it was retrieved from.
=item G_TLS_CERTIFICATE_NOT_ACTIVATED: The certificate's activation time is still in the future
=item G_TLS_CERTIFICATE_EXPIRED: The certificate has expired
=item G_TLS_CERTIFICATE_REVOKED: The certificate has been revoked according to the B<GTlsConnection>'s certificate revocation list.
=item G_TLS_CERTIFICATE_INSECURE: The certificate's algorithm is considered insecure.
=item G_TLS_CERTIFICATE_GENERIC_ERROR: Some other error occurred validating the certificate
=item G_TLS_CERTIFICATE_VALIDATE_ALL: the combination of all of the above flags


=end pod

#TE:0:GTlsCertificateFlags:
enum GTlsCertificateFlags is export (
  'G_TLS_CERTIFICATE_UNKNOWN_CA'    => (1 +< 0),
  'G_TLS_CERTIFICATE_BAD_IDENTITY'  => (1 +< 1),
  'G_TLS_CERTIFICATE_NOT_ACTIVATED' => (1 +< 2),
  'G_TLS_CERTIFICATE_EXPIRED'       => (1 +< 3),
  'G_TLS_CERTIFICATE_REVOKED'       => (1 +< 4),
  'G_TLS_CERTIFICATE_INSECURE'      => (1 +< 5),
  'G_TLS_CERTIFICATE_GENERIC_ERROR' => (1 +< 6),
  'G_TLS_CERTIFICATE_VALIDATE_ALL'  => 0x007f
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsAuthenticationMode

The client authentication mode for a B<GTlsServerConnection>.

Since: 2.28


=item G_TLS_AUTHENTICATION_NONE: client authentication not required
=item G_TLS_AUTHENTICATION_REQUESTED: client authentication is requested
=item G_TLS_AUTHENTICATION_REQUIRED: client authentication is required


=end pod

#TE:0:GTlsAuthenticationMode:
enum GTlsAuthenticationMode is export (
  'G_TLS_AUTHENTICATION_NONE',
  'G_TLS_AUTHENTICATION_REQUESTED',
  'G_TLS_AUTHENTICATION_REQUIRED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsRehandshakeMode

When to allow rehandshaking. See
C<g_tls_connection_set_rehandshake_mode()>.

Since: 2.28


=item G_TLS_REHANDSHAKE_NEVER: Never allow rehandshaking
=item G_TLS_REHANDSHAKE_SAFELY: Allow safe rehandshaking only
=item G_TLS_REHANDSHAKE_UNSAFELY: Allow unsafe rehandshaking


=end pod

#TE:0:GTlsRehandshakeMode:
enum GTlsRehandshakeMode is export (
  'G_TLS_REHANDSHAKE_NEVER',
  'G_TLS_REHANDSHAKE_SAFELY',
  'G_TLS_REHANDSHAKE_UNSAFELY'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsInteractionResult

B<GTlsInteractionResult> is returned by various functions in B<GTlsInteraction>
when finishing an interaction request.

Since: 2.30


=item G_TLS_INTERACTION_UNHANDLED: The interaction was unhandled (i.e. not implemented).
=item G_TLS_INTERACTION_HANDLED: The interaction completed, and resulting data is available.
=item G_TLS_INTERACTION_FAILED: The interaction has failed, or was cancelled. and the operation should be aborted.


=end pod

#TE:0:GTlsInteractionResult:
enum GTlsInteractionResult is export (
  'G_TLS_INTERACTION_UNHANDLED',
  'G_TLS_INTERACTION_HANDLED',
  'G_TLS_INTERACTION_FAILED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusInterfaceSkeletonFlags

Flags describing the behavior of a B<GDBusInterfaceSkeleton> instance.

Since: 2.30


=item G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: No flags set.
=item G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: 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.


=end pod

#TE:0:GDBusInterfaceSkeletonFlags:
enum GDBusInterfaceSkeletonFlags is export (
  'G_DBUS_INTERFACE_SKELETON_FLAGS_NONE' => 0,
  'G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDBusObjectManagerClientFlags

Flags used when constructing a B<GDBusObjectManagerClient>.

Since: 2.30


=item G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: No flags set.
=item G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: 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.


=end pod

#TE:0:GDBusObjectManagerClientFlags:
enum GDBusObjectManagerClientFlags is export (
  'G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE' => 0,
  'G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsDatabaseLookupFlags

Flags for C<g_tls_database_lookup_certificate_for_handle()>,
C<g_tls_database_lookup_certificate_issuer()>,
and C<g_tls_database_lookup_certificates_issued_by()>.

Since: 2.30


=item G_TLS_DATABASE_LOOKUP_NONE: No lookup flags
=item G_TLS_DATABASE_LOOKUP_KEYPAIR: Restrict lookup to certificates that have a private key.


=end pod

#TE:0:GTlsDatabaseLookupFlags:
enum GTlsDatabaseLookupFlags is export (
  'G_TLS_DATABASE_LOOKUP_NONE' => 0,
  'G_TLS_DATABASE_LOOKUP_KEYPAIR' => 1
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GTlsCertificateRequestFlags

Flags for C<g_tls_interaction_request_certificate()>,
C<g_tls_interaction_request_certificate_async()>, and
C<g_tls_interaction_invoke_request_certificate()>.

Since: 2.40


=item G_TLS_CERTIFICATE_REQUEST_NONE: No flags


=end pod

#TE:0:GTlsCertificateRequestFlags:
enum GTlsCertificateRequestFlags is export (
  'G_TLS_CERTIFICATE_REQUEST_NONE' => 0
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GIOModuleScopeFlags

Flags for use with C<g_io_module_scope_new()>.

Since: 2.30


=item G_IO_MODULE_SCOPE_NONE: No module scan flags
=item G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: When using this scope to load or scan modules, automatically block a modules which has the same base basename as previously loaded module.


=end pod

#TE:0:GIOModuleScopeFlags:
enum GIOModuleScopeFlags is export (
  'G_IO_MODULE_SCOPE_NONE',
  'G_IO_MODULE_SCOPE_BLOCK_DUPLICATES'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSocketClientEvent

Describes an event occurring on a B<GSocketClient>. See the
 I<event> signal for more details.

Additional values may be added to this type in the future.

Since: 2.32


=item G_SOCKET_CLIENT_RESOLVING: The client is doing a DNS lookup.
=item G_SOCKET_CLIENT_RESOLVED: The client has completed a DNS lookup.
=item G_SOCKET_CLIENT_CONNECTING: The client is connecting to a remote host (either a proxy or the destination server).
=item G_SOCKET_CLIENT_CONNECTED: The client has connected to a remote host.
=item G_SOCKET_CLIENT_PROXY_NEGOTIATING: The client is negotiating with a proxy to connect to the destination server.
=item G_SOCKET_CLIENT_PROXY_NEGOTIATED: The client has negotiated with the proxy server.
=item G_SOCKET_CLIENT_TLS_HANDSHAKING: The client is performing a TLS handshake.
=item G_SOCKET_CLIENT_TLS_HANDSHAKED: The client has performed a TLS handshake.
=item G_SOCKET_CLIENT_COMPLETE: The client is done with a particular B<GSocketConnectable>.


=end pod

#TE:0:GSocketClientEvent:
enum GSocketClientEvent is export (
  'G_SOCKET_CLIENT_RESOLVING',
  'G_SOCKET_CLIENT_RESOLVED',
  'G_SOCKET_CLIENT_CONNECTING',
  'G_SOCKET_CLIENT_CONNECTED',
  'G_SOCKET_CLIENT_PROXY_NEGOTIATING',
  'G_SOCKET_CLIENT_PROXY_NEGOTIATED',
  'G_SOCKET_CLIENT_TLS_HANDSHAKING',
  'G_SOCKET_CLIENT_TLS_HANDSHAKED',
  'G_SOCKET_CLIENT_COMPLETE'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSocketListenerEvent

Describes an event occurring on a B<GSocketListener>. See the
 I<event> signal for more details.

Additional values may be added to this type in the future.

Since: 2.46


=item G_SOCKET_LISTENER_BINDING: The listener is about to bind a socket.
=item G_SOCKET_LISTENER_BOUND: The listener has bound a socket.
=item G_SOCKET_LISTENER_LISTENING: The listener is about to start listening on this socket.
=item G_SOCKET_LISTENER_LISTENED: The listener is now listening on this socket.


=end pod

#TE:0:GSocketListenerEvent:
enum GSocketListenerEvent is export (
  'G_SOCKET_LISTENER_BINDING',
  'G_SOCKET_LISTENER_BOUND',
  'G_SOCKET_LISTENER_LISTENING',
  'G_SOCKET_LISTENER_LISTENED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSubprocessFlags

Flags to define the behaviour of a B<GSubprocess>.

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 C<G_SUBPROCESS_FLAGS_STDOUT_PIPE> and
C<G_SUBPROCESS_FLAGS_STDOUT_SILENCE>.

Since: 2.40


=item G_SUBPROCESS_FLAGS_NONE: No flags.
=item G_SUBPROCESS_FLAGS_STDIN_PIPE: create a pipe for the stdin of the spawned process that can be accessed with C<g_subprocess_get_stdin_pipe()>.
=item G_SUBPROCESS_FLAGS_STDIN_INHERIT: stdin is inherited from the calling process.
=item G_SUBPROCESS_FLAGS_STDOUT_PIPE: create a pipe for the stdout of the spawned process that can be accessed with C<g_subprocess_get_stdout_pipe()>.
=item G_SUBPROCESS_FLAGS_STDOUT_SILENCE: silence the stdout of the spawned process (ie: redirect to `/dev/null`).
=item G_SUBPROCESS_FLAGS_STDERR_PIPE: create a pipe for the stderr of the spawned process that can be accessed with C<g_subprocess_get_stderr_pipe()>.
=item G_SUBPROCESS_FLAGS_STDERR_SILENCE: silence the stderr of the spawned process (ie: redirect to `/dev/null`).
=item G_SUBPROCESS_FLAGS_STDERR_MERGE: 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.
=item G_SUBPROCESS_FLAGS_INHERIT_FDS: 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).


=end pod

#TE:0:GSubprocessFlags:
enum GSubprocessFlags is export (
  'G_SUBPROCESS_FLAGS_NONE'                  => 0,
  'G_SUBPROCESS_FLAGS_STDIN_PIPE'            => (1 +< 0),
  'G_SUBPROCESS_FLAGS_STDIN_INHERIT'         => (1 +< 1),
  'G_SUBPROCESS_FLAGS_STDOUT_PIPE'           => (1 +<