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

use v6;
#-------------------------------------------------------------------------------
=begin pod

=head1 Gnome::Gio::Enums

=head1 Description

All enummerations and flags used for Gio are defined here.

=head1 Synopsis
=head2 Declaration

  unit class Gnome::Gio::Enums;

=comment head2 Example

=end pod
#-------------------------------------------------------------------------------
use NativeCall;

use Gnome::N::X:api<1>;
use Gnome::N::NativeLib:api<1>;
use Gnome::N::N-GObject:api<1>;

#-------------------------------------------------------------------------------
unit class Gnome::Gio::Enums:auth<github:MARTIMM>:api<1>;

#-------------------------------------------------------------------------------
=begin pod
=head1 Types
=end pod
#-------------------------------------------------------------------------------
=begin pod
=head2 enum GAppInfoCreateFlags

Flags used when creating a B<Gnome::Gio::AppInfo>.

=item G_APP_INFO_CREATE_NONE: No flags.
=item G_APP_INFO_CREATE_NEEDS_TERMINAL: Application opens in a terminal window.
=item G_APP_INFO_CREATE_SUPPORTS_URIS: Application supports URI arguments.
=item G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: Application supports startup notification.

=end pod

#TE:1:GAppInfoCreateFlags:
enum GAppInfoCreateFlags is export (
  G_APP_INFO_CREATE_NONE                            => 0x00,
  G_APP_INFO_CREATE_NEEDS_TERMINAL                  => 0x01,
  G_APP_INFO_CREATE_SUPPORTS_URIS                   => 0x02,
  G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION   => 0x04,
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GConverterFlags

Flags used when calling a C<g_converter_convert()>.

=item G_CONVERTER_NO_FLAGS: No flags.
=item G_CONVERTER_INPUT_AT_END: At end of input data
=item G_CONVERTER_FLUSH: Flush data

=end pod

#TE:0:GConverterFlags:
enum GConverterFlags is export (
  'G_CONVERTER_FLUSH'        => (1 +< 1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GConverterResult

Results returned from C<g_converter_convert()>.

Since: 2.24


=item G_CONVERTER_ERROR: There was an error during conversion.
=item G_CONVERTER_CONVERTED: Some data was consumed or produced
=item G_CONVERTER_FINISHED: The conversion is finished
=item G_CONVERTER_FLUSHED: Flushing is finished


=end pod

#TE:0:GConverterResult:
enum GConverterResult is export (
  'G_CONVERTER_FLUSHED'   => 3
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDataStreamByteOrder

B<GDataStreamByteOrder> is used to ensure proper endianness of streaming data sources
across various machine architectures.



=item G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: Selects Big Endian byte order.
=item G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: Selects Little Endian byte order.
=item G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: Selects endianness based on host machine's architecture.


=end pod

#TE:0:GDataStreamByteOrder:
enum GDataStreamByteOrder is export (
  'G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN',
  'G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN',
  'G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDataStreamNewlineType

B<GDataStreamNewlineType> is used when checking for or setting the line endings for a given file.


=item G_DATA_STREAM_NEWLINE_TYPE_LF: Selects "LF" line endings, common on most modern UNIX platforms.
=item G_DATA_STREAM_NEWLINE_TYPE_CR: Selects "CR" line endings.
=item G_DATA_STREAM_NEWLINE_TYPE_CR_LF: Selects "CR, LF" line ending, common on Microsoft Windows.
=item G_DATA_STREAM_NEWLINE_TYPE_ANY: Automatically try to handle any line ending type.


=end pod

#TE:0:GDataStreamNewlineType:
enum GDataStreamNewlineType is export (
  'G_DATA_STREAM_NEWLINE_TYPE_LF',
  'G_DATA_STREAM_NEWLINE_TYPE_CR',
  'G_DATA_STREAM_NEWLINE_TYPE_CR_LF',
  'G_DATA_STREAM_NEWLINE_TYPE_ANY'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileAttributeType

The data types for file attributes.


=item G_FILE_ATTRIBUTE_TYPE_INVALID: indicates an invalid or uninitalized type.
=item G_FILE_ATTRIBUTE_TYPE_STRING: a null terminated UTF8 string.
=item G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: a zero terminated string of non-zero bytes.
=item G_FILE_ATTRIBUTE_TYPE_BOOLEAN: a boolean value.
=item G_FILE_ATTRIBUTE_TYPE_UINT32: an unsigned 4-byte/32-bit integer.
=item G_FILE_ATTRIBUTE_TYPE_INT32: a signed 4-byte/32-bit integer.
=item G_FILE_ATTRIBUTE_TYPE_UINT64: an unsigned 8-byte/64-bit integer.
=item G_FILE_ATTRIBUTE_TYPE_INT64: a signed 8-byte/64-bit integer.
=item G_FILE_ATTRIBUTE_TYPE_OBJECT: a B<GObject>.
=item G_FILE_ATTRIBUTE_TYPE_STRINGV: a C<Any> terminated char **. Since 2.22


=end pod

#TE:0:GFileAttributeType:
enum GFileAttributeType is export (
  'G_FILE_ATTRIBUTE_TYPE_INVALID' => 0,
  'G_FILE_ATTRIBUTE_TYPE_STRING',
  'G_FILE_ATTRIBUTE_TYPE_BOOLEAN',
  'G_FILE_ATTRIBUTE_TYPE_UINT32',
  'G_FILE_ATTRIBUTE_TYPE_INT32',
  'G_FILE_ATTRIBUTE_TYPE_UINT64',
  'G_FILE_ATTRIBUTE_TYPE_INT64',
  'G_FILE_ATTRIBUTE_TYPE_OBJECT',
  'G_FILE_ATTRIBUTE_TYPE_STRINGV'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileAttributeInfoFlags

Flags specifying the behaviour of an attribute.


=item G_FILE_ATTRIBUTE_INFO_NONE: no flags set.
=item G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: copy the attribute values when the file is copied.
=item G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: copy the attribute values when the file is moved.


=end pod

#TE:0:GFileAttributeInfoFlags:
enum GFileAttributeInfoFlags is export (
  'G_FILE_ATTRIBUTE_INFO_NONE'            => 0,
  'G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE'  => (1 +< 0),
  'G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED' => (1 +< 1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileAttributeStatus

Used by C<g_file_set_attributes_from_info()> when setting file attributes.


=item G_FILE_ATTRIBUTE_STATUS_UNSET: Attribute value is unset (empty).
=item G_FILE_ATTRIBUTE_STATUS_SET: Attribute value is set.
=item G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: Indicates an error in setting the value.


=end pod

#TE:0:GFileAttributeStatus:
enum GFileAttributeStatus is export (
  'G_FILE_ATTRIBUTE_STATUS_UNSET' => 0,
  'G_FILE_ATTRIBUTE_STATUS_SET',
  'G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileQueryInfoFlags

Flags used when querying a B<Gnome::Gio::FileInfo>.

=item G_FILE_QUERY_INFO_NONE: No flags set.
=item G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: Don't follow symlinks.

=end pod

#TE:1:GFileQueryInfoFlags:
enum GFileQueryInfoFlags is export (
  'G_FILE_QUERY_INFO_NONE'              => 0,
  'G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS' => (1 +< 0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileCreateFlags

Flags used when an operation may create a file.


=item G_FILE_CREATE_NONE: No flags set.
=item G_FILE_CREATE_PRIVATE: Create a file that can only be accessed by the current user.
=item G_FILE_CREATE_REPLACE_DESTINATION: 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


=end pod

#TE:0:GFileCreateFlags:
enum GFileCreateFlags is export (
  'G_FILE_CREATE_NONE'    => 0,
  'G_FILE_CREATE_PRIVATE' => (1 +< 0),
  'G_FILE_CREATE_REPLACE_DESTINATION' => (1 +< 1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileMeasureFlags

Flags that can be used with C<g_file_measure_disk_usage()>.

Since: 2.38


=item G_FILE_MEASURE_NONE: No flags set.
=item G_FILE_MEASURE_REPORT_ANY_ERROR: Report any error encountered while traversing the directory tree.  Normally errors are only reported for the toplevel file.
=item G_FILE_MEASURE_APPARENT_SIZE: 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 `du --apparent-size`.
=item G_FILE_MEASURE_NO_XDEV: Do not cross mount point boundaries. Compare with `du -x`.


=end pod

#TE:0:GFileMeasureFlags:
enum GFileMeasureFlags is export (
  'G_FILE_MEASURE_NONE'                 => 0,
  'G_FILE_MEASURE_REPORT_ANY_ERROR'     => (1 +< 1),
  'G_FILE_MEASURE_APPARENT_SIZE'        => (1 +< 2),
  'G_FILE_MEASURE_NO_XDEV'              => (1 +< 3)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GMountUnmountFlags

Flags used when an unmounting a mount.


=item G_MOUNT_UNMOUNT_NONE: No flags set.
=item G_MOUNT_UNMOUNT_FORCE: Unmount even if there are outstanding file operations on the mount.


=end pod

#TE:0:GMountUnmountFlags:
enum GMountUnmountFlags is export (
  'G_MOUNT_UNMOUNT_NONE'  => 0,
  'G_MOUNT_UNMOUNT_FORCE' => (1 +< 0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GDriveStartStopType

Enumeration describing how a drive can be started/stopped.

Since: 2.22


=item G_DRIVE_START_STOP_TYPE_UNKNOWN: Unknown or drive doesn't support start/stop.
=item G_DRIVE_START_STOP_TYPE_SHUTDOWN: The stop method will physically shut down the drive and e.g. power down the port the drive is attached to.
=item G_DRIVE_START_STOP_TYPE_NETWORK: The start/stop methods are used for connecting/disconnect to the drive over the network.
=item G_DRIVE_START_STOP_TYPE_MULTIDISK: The start/stop methods will assemble/disassemble a virtual drive from several physical drives.
=item G_DRIVE_START_STOP_TYPE_PASSWORD: The start/stop methods will unlock/lock the disk (for example using the ATA SECURITY UNLOCK DEVICE command)


=end pod

#TE:0:GDriveStartStopType:
enum GDriveStartStopType is export (
  'G_DRIVE_START_STOP_TYPE_UNKNOWN',
  'G_DRIVE_START_STOP_TYPE_SHUTDOWN',
  'G_DRIVE_START_STOP_TYPE_NETWORK',
  'G_DRIVE_START_STOP_TYPE_MULTIDISK',
  'G_DRIVE_START_STOP_TYPE_PASSWORD'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileCopyFlags

Flags used when copying or moving files.


=item G_FILE_COPY_NONE: No flags set.
=item G_FILE_COPY_OVERWRITE: Overwrite any existing files
=item G_FILE_COPY_BACKUP: Make a backup of any existing files.
=item G_FILE_COPY_NOFOLLOW_SYMLINKS: Don't follow symlinks.
=item G_FILE_COPY_ALL_METADATA: Copy all file metadata instead of just default set used for copy (see B<GFileInfo>).
=item G_FILE_COPY_NO_FALLBACK_FOR_MOVE: Don't use copy and delete fallback if native move not supported.
=item G_FILE_COPY_TARGET_DEFAULT_PERMS: Leaves target file with default perms, instead of setting the source file perms.


=end pod

#TE:0:GFileCopyFlags:
enum GFileCopyFlags is export (
  'G_FILE_COPY_OVERWRITE'            => (1 +< 0),
  'G_FILE_COPY_BACKUP'               => (1 +< 1),
  'G_FILE_COPY_NOFOLLOW_SYMLINKS'    => (1 +< 2),
  'G_FILE_COPY_ALL_METADATA'         => (1 +< 3),
  'G_FILE_COPY_NO_FALLBACK_FOR_MOVE' => (1 +< 4),
  'G_FILE_COPY_TARGET_DEFAULT_PERMS' => (1 +< 5)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileMonitorFlags

Flags used to set what a B<GFileMonitor> will watch for.


=item G_FILE_MONITOR_NONE: No flags set.
=item G_FILE_MONITOR_WATCH_MOUNTS: Watch for mount events.
=item G_FILE_MONITOR_SEND_MOVED: 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 C<G_FILE_MONITOR_WATCH_MOVES> instead.
=item G_FILE_MONITOR_WATCH_HARD_LINKS: Watch for changes to the file made via another hard link. Since 2.36.
=item G_FILE_MONITOR_WATCH_MOVES: Watch for rename operations on a monitored directory.  This causes C<G_FILE_MONITOR_EVENT_RENAMED>, C<G_FILE_MONITOR_EVENT_MOVED_IN> and C<G_FILE_MONITOR_EVENT_MOVED_OUT> events to be emitted when possible.  Since: 2.46.


=end pod

#TE:0:GFileMonitorFlags:
enum GFileMonitorFlags is export (
  'G_FILE_MONITOR_NONE'             => 0,
  'G_FILE_MONITOR_WATCH_MOUNTS'     => (1 +< 0),
  'G_FILE_MONITOR_SEND_MOVED'       => (1 +< 1),
  'G_FILE_MONITOR_WATCH_HARD_LINKS' => (1 +< 2),
  'G_FILE_MONITOR_WATCH_MOVES'      => (1 +< 3)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileType

Indicates the file's on-disk type.


=item G_FILE_TYPE_UNKNOWN: File's type is unknown.
=item G_FILE_TYPE_REGULAR: File handle represents a regular file.
=item G_FILE_TYPE_DIRECTORY: File handle represents a directory.
=item G_FILE_TYPE_SYMBOLIC_LINK: File handle represents a symbolic link (Unix systems).
=item G_FILE_TYPE_SPECIAL: File is a "special" file, such as a socket, fifo, block device, or character device.
=item G_FILE_TYPE_SHORTCUT: File is a shortcut (Windows systems).
=item G_FILE_TYPE_MOUNTABLE: File is a mountable location.


=end pod

#TE:0:GFileType:
enum GFileType is export (
  'G_FILE_TYPE_UNKNOWN' => 0,
  'G_FILE_TYPE_REGULAR',
  'G_FILE_TYPE_DIRECTORY',
  'G_FILE_TYPE_SYMBOLIC_LINK',
  'G_FILE_TYPE_SHORTCUT',
  'G_FILE_TYPE_MOUNTABLE'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFilesystemPreviewType

Indicates a hint from the file system whether files should be
previewed in a file manager. Returned as the value of the key
B<G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW>.


=item G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: Only preview files if user has explicitly requested it.
=item G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: Preview files if user has requested preview of "local" files.
=item G_FILESYSTEM_PREVIEW_TYPE_NEVER: Never preview files.


=end pod

#TE:0:GFilesystemPreviewType:
enum GFilesystemPreviewType is export (
  'G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS' => 0,
  'G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL',
  'G_FILESYSTEM_PREVIEW_TYPE_NEVER'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GFileMonitorEvent

Specifies what type of event a monitor event is.


=item G_FILE_MONITOR_EVENT_CHANGED: a file changed.
=item G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: a hint that this was probably the last change in a set of changes.
=item G_FILE_MONITOR_EVENT_DELETED: a file was deleted.
=item G_FILE_MONITOR_EVENT_CREATED: a file was created.
=item G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: a file attribute was changed.
=item G_FILE_MONITOR_EVENT_PRE_UNMOUNT: the file location will soon be unmounted.
=item G_FILE_MONITOR_EVENT_UNMOUNTED: the file location was unmounted.
=item G_FILE_MONITOR_EVENT_MOVED: the file was moved -- only sent if the (deprecated) C<G_FILE_MONITOR_SEND_MOVED> flag is set
=item G_FILE_MONITOR_EVENT_RENAMED: the file was renamed within the current directory -- only sent if the C<G_FILE_MONITOR_WATCH_MOVES> flag is set.  Since: 2.46.
=item G_FILE_MONITOR_EVENT_MOVED_IN: the file was moved into the monitored directory from another location -- only sent if the C<G_FILE_MONITOR_WATCH_MOVES> flag is set.  Since: 2.46.
=item G_FILE_MONITOR_EVENT_MOVED_OUT: the file was moved out of the monitored directory to another location -- only sent if the C<G_FILE_MONITOR_WATCH_MOVES> flag is set.  Since: 2.46


=end pod

#TE:0:GFileMonitorEvent:
enum GFileMonitorEvent is export (
  'G_FILE_MONITOR_EVENT_CHANGED',
  'G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT',
  'G_FILE_MONITOR_EVENT_DELETED',
  'G_FILE_MONITOR_EVENT_CREATED',
  'G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED',
  'G_FILE_MONITOR_EVENT_PRE_UNMOUNT',
  'G_FILE_MONITOR_EVENT_UNMOUNTED',
  'G_FILE_MONITOR_EVENT_MOVED',
  'G_FILE_MONITOR_EVENT_RENAMED',
  'G_FILE_MONITOR_EVENT_MOVED_IN',
  'G_FILE_MONITOR_EVENT_MOVED_OUT'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GIOErrorEnum

Error codes returned by GIO functions.

Note that this domain may be extended in future GLib releases. In
general, new error codes either only apply to new APIs, or else
replace C<G_IO_ERROR_FAILED> in cases that were not explicitly
distinguished before. You should therefore avoid writing code like
|[<!-- language="C" -->
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
{
// Assume that this is EPRINTERONFIRE
...
}
]|
but should instead treat all unrecognized error codes the same as
B<G_IO_ERROR_FAILED>.


=item G_IO_ERROR_FAILED: Generic error condition for when an operation fails and no more specific B<GIOErrorEnum> value is defined.
=item G_IO_ERROR_NOT_FOUND: File not found.
=item G_IO_ERROR_EXISTS: File already exists.
=item G_IO_ERROR_IS_DIRECTORY: File is a directory.
=item G_IO_ERROR_NOT_DIRECTORY: File is not a directory.
=item G_IO_ERROR_NOT_EMPTY: File is a directory that isn't empty.
=item G_IO_ERROR_NOT_REGULAR_FILE: File is not a regular file.
=item G_IO_ERROR_NOT_SYMBOLIC_LINK: File is not a symbolic link.
=item G_IO_ERROR_NOT_MOUNTABLE_FILE: File cannot be mounted.
=item G_IO_ERROR_FILENAME_TOO_LONG: Filename is too many characters.
=item G_IO_ERROR_INVALID_FILENAME: Filename is invalid or contains invalid characters.
=item G_IO_ERROR_TOO_MANY_LINKS: File contains too many symbolic links.
=item G_IO_ERROR_NO_SPACE: No space left on drive.
=item G_IO_ERROR_INVALID_ARGUMENT: Invalid argument.
=item G_IO_ERROR_PERMISSION_DENIED: Permission denied.
=item G_IO_ERROR_NOT_SUPPORTED: Operation (or one of its parameters) not supported
=item G_IO_ERROR_NOT_MOUNTED: File isn't mounted.
=item G_IO_ERROR_ALREADY_MOUNTED: File is already mounted.
=item G_IO_ERROR_CLOSED: File was closed.
=item G_IO_ERROR_CANCELLED: Operation was cancelled. See B<GCancellable>.
=item G_IO_ERROR_PENDING: Operations are still pending.
=item G_IO_ERROR_READ_ONLY: File is read only.
=item G_IO_ERROR_CANT_CREATE_BACKUP: Backup couldn't be created.
=item G_IO_ERROR_WRONG_ETAG: File's Entity Tag was incorrect.
=item G_IO_ERROR_TIMED_OUT: Operation timed out.
=item G_IO_ERROR_WOULD_RECURSE: Operation would be recursive.
=item G_IO_ERROR_BUSY: File is busy.
=item G_IO_ERROR_WOULD_BLOCK: Operation would block.
=item G_IO_ERROR_HOST_NOT_FOUND: Host couldn't be found (remote operations).
=item G_IO_ERROR_WOULD_MERGE: Operation would merge files.
=item G_IO_ERROR_FAILED_HANDLED: Operation failed and a helper program has already interacted with the user. Do not display any error dialog.
=item G_IO_ERROR_TOO_MANY_OPEN_FILES: The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit. Since 2.20
=item G_IO_ERROR_NOT_INITIALIZED: The object has not been initialized. Since 2.22
=item G_IO_ERROR_ADDRESS_IN_USE: The requested address is already in use. Since 2.22
=item G_IO_ERROR_PARTIAL_INPUT: Need more input to finish operation. Since 2.24
=item G_IO_ERROR_INVALID_DATA: The input data was invalid. Since 2.24
=item G_IO_ERROR_DBUS_ERROR: A remote object generated an error that doesn't correspond to a locally registered B<GError> error domain. Use C<g_dbus_error_get_remote_error()> to extract the D-Bus error name and C<g_dbus_error_strip_remote_error()> to fix up the message so it matches what was received on the wire. Since 2.26.
=item G_IO_ERROR_HOST_UNREACHABLE: Host unreachable. Since 2.26
=item G_IO_ERROR_NETWORK_UNREACHABLE: Network unreachable. Since 2.26
=item G_IO_ERROR_CONNECTION_REFUSED: Connection refused. Since 2.26
=item G_IO_ERROR_PROXY_FAILED: Connection to proxy server failed. Since 2.26
=item G_IO_ERROR_PROXY_AUTH_FAILED: Proxy authentication failed. Since 2.26
=item G_IO_ERROR_PROXY_NEED_AUTH: Proxy server needs authentication. Since 2.26
=item G_IO_ERROR_PROXY_NOT_ALLOWED: Proxy connection is not allowed by ruleset. Since 2.26
=item G_IO_ERROR_BROKEN_PIPE: Broken pipe. Since 2.36
=item G_IO_ERROR_CONNECTION_CLOSED: Connection closed by peer. Note that this is the same code as C<G_IO_ERROR_BROKEN_PIPE>; before 2.44 some "connection closed" errors returned C<G_IO_ERROR_BROKEN_PIPE>, but others returned C<G_IO_ERROR_FAILED>. Now they should all return the same value, which has this more logical name. Since 2.44.
=item G_IO_ERROR_NOT_CONNECTED: Transport endpoint is not connected. Since 2.44
=item G_IO_ERROR_MESSAGE_TOO_LARGE: Message too large. Since 2.48.


=end pod

#TE:0:GIOErrorEnum:
enum GIOErrorEnum is export (
  'G_IO_ERROR_FAILED',
  'G_IO_ERROR_NOT_FOUND',
  'G_IO_ERROR_EXISTS',
  'G_IO_ERROR_IS_DIRECTORY',
  'G_IO_ERROR_NOT_DIRECTORY',
  'G_IO_ERROR_NOT_EMPTY',
  'G_IO_ERROR_NOT_REGULAR_FILE',
  'G_IO_ERROR_NOT_SYMBOLIC_LINK',
  'G_IO_ERROR_NOT_MOUNTABLE_FILE',
  'G_IO_ERROR_FILENAME_TOO_LONG',
  'G_IO_ERROR_INVALID_FILENAME',
  'G_IO_ERROR_TOO_MANY_LINKS',
  'G_IO_ERROR_NO_SPACE',
  'G_IO_ERROR_INVALID_ARGUMENT',
  'G_IO_ERROR_PERMISSION_DENIED',
  'G_IO_ERROR_NOT_SUPPORTED',
  'G_IO_ERROR_NOT_MOUNTED',
  'G_IO_ERROR_ALREADY_MOUNTED',
  'G_IO_ERROR_CLOSED',
  'G_IO_ERROR_CANCELLED',
  'G_IO_ERROR_PENDING',
  'G_IO_ERROR_READ_ONLY',
  'G_IO_ERROR_CANT_CREATE_BACKUP',
  'G_IO_ERROR_WRONG_ETAG',
  'G_IO_ERROR_TIMED_OUT',
  'G_IO_ERROR_WOULD_RECURSE',
  'G_IO_ERROR_BUSY',
  'G_IO_ERROR_WOULD_BLOCK',
  'G_IO_ERROR_HOST_NOT_FOUND',
  'G_IO_ERROR_WOULD_MERGE',
  'G_IO_ERROR_FAILED_HANDLED',
  'G_IO_ERROR_TOO_MANY_OPEN_FILES',
  'G_IO_ERROR_NOT_INITIALIZED',
  'G_IO_ERROR_ADDRESS_IN_USE',
  'G_IO_ERROR_PARTIAL_INPUT',
  'G_IO_ERROR_INVALID_DATA',
  'G_IO_ERROR_DBUS_ERROR',
  'G_IO_ERROR_HOST_UNREACHABLE',
  'G_IO_ERROR_NETWORK_UNREACHABLE',
  'G_IO_ERROR_CONNECTION_REFUSED',
  'G_IO_ERROR_PROXY_FAILED',
  'G_IO_ERROR_PROXY_AUTH_FAILED',
  'G_IO_ERROR_PROXY_NEED_AUTH',
  'G_IO_ERROR_PROXY_NOT_ALLOWED',
  'G_IO_ERROR_BROKEN_PIPE',
  'G_IO_ERROR_CONNECTION_CLOSED' => 44, # G_IO_ERROR_BROKEN_PIPE,
  'G_IO_ERROR_NOT_CONNECTED',
  'G_IO_ERROR_MESSAGE_TOO_LARGE'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GAskPasswordFlags

B<GAskPasswordFlags> are used to request specific information from the
user, or to notify the user of their choices in an authentication
situation.


=item G_ASK_PASSWORD_NEED_PASSWORD: operation requires a password.
=item G_ASK_PASSWORD_NEED_USERNAME: operation requires a username.
=item G_ASK_PASSWORD_NEED_DOMAIN: operation requires a domain.
=item G_ASK_PASSWORD_SAVING_SUPPORTED: operation supports saving settings.
=item G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: operation supports anonymous users.
=item G_ASK_PASSWORD_TCRYPT: operation takes TCRYPT parameters (Since: 2.58)


=end pod

#TE:0:GAskPasswordFlags:
enum GAskPasswordFlags is export (
  'G_ASK_PASSWORD_NEED_PASSWORD'           => (1 +< 0),
  'G_ASK_PASSWORD_NEED_USERNAME'           => (1 +< 1),
  'G_ASK_PASSWORD_NEED_DOMAIN'             => (1 +< 2),
  'G_ASK_PASSWORD_SAVING_SUPPORTED'        => (1 +< 3),
  'G_ASK_PASSWORD_ANONYMOUS_SUPPORTED'     => (1 +< 4),
  'G_ASK_PASSWORD_TCRYPT'                  => (1 +< 5),
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GPasswordSave

B<GPasswordSave> is used to indicate the lifespan of a saved password.

B<Gvfs> stores passwords in the Gnome keyring when this flag allows it
to, and later retrieves it again from there.


=item G_PASSWORD_SAVE_NEVER: never save a password.
=item G_PASSWORD_SAVE_FOR_SESSION: save a password for the session.
=item G_PASSWORD_SAVE_PERMANENTLY: save a password permanently.


=end pod

#TE:0:GPasswordSave:
enum GPasswordSave is export (
  'G_PASSWORD_SAVE_NEVER',
  'G_PASSWORD_SAVE_FOR_SESSION',
  'G_PASSWORD_SAVE_PERMANENTLY'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GMountOperationResult

B<GMountOperationResult> is returned as a result when a request for
information is send by the mounting operation.


=item G_MOUNT_OPERATION_HANDLED: The request was fulfilled and the user specified data is now available
=item G_MOUNT_OPERATION_ABORTED: The user requested the mount operation to be aborted
=item G_MOUNT_OPERATION_UNHANDLED: The request was unhandled (i.e. not implemented)


=end pod

#TE:0:GMountOperationResult:
enum GMountOperationResult is export (
  'G_MOUNT_OPERATION_HANDLED',
  'G_MOUNT_OPERATION_ABORTED',
  'G_MOUNT_OPERATION_UNHANDLED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GOutputStreamSpliceFlags

GOutputStreamSpliceFlags determine how streams should be spliced.


=item G_OUTPUT_STREAM_SPLICE_NONE: Do not close either stream.
=item G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: Close the source stream after the splice.
=item G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: Close the target stream after the splice.


=end pod

#TE:0:GOutputStreamSpliceFlags:
enum GOutputStreamSpliceFlags is export (
  'G_OUTPUT_STREAM_SPLICE_NONE'         => 0,
  'G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE' => (1 +< 0),
  'G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET' => (1 +< 1)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GIOStreamSpliceFlags

GIOStreamSpliceFlags determine how streams should be spliced.

Since: 2.28


=item G_IO_STREAM_SPLICE_NONE: Do not close either stream.
=item G_IO_STREAM_SPLICE_CLOSE_STREAM1: Close the first stream after the splice.
=item G_IO_STREAM_SPLICE_CLOSE_STREAM2: Close the second stream after the splice.
=item G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: Wait for both splice operations to finish before calling the callback.


=end pod

#TE:0:GIOStreamSpliceFlags:
enum GIOStreamSpliceFlags is export (
  'G_IO_STREAM_SPLICE_NONE'          => 0,
  'G_IO_STREAM_SPLICE_CLOSE_STREAM1' => (1 +< 0),
  'G_IO_STREAM_SPLICE_CLOSE_STREAM2' => (1 +< 1),
  'G_IO_STREAM_SPLICE_WAIT_FOR_BOTH' => (1 +< 2)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GEmblemOrigin

GEmblemOrigin is used to add information about the origin of the emblem
to B<GEmblem>.


=item G_EMBLEM_ORIGIN_UNKNOWN: Emblem of unknown origin
=item G_EMBLEM_ORIGIN_DEVICE: Emblem adds device-specific information
=item G_EMBLEM_ORIGIN_LIVEMETADATA: Emblem depicts live metadata, such as "readonly"
=item G_EMBLEM_ORIGIN_TAG: Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)


=end pod

#TE:2:GEmblemOrigin:
enum GEmblemOrigin is export (
  'G_EMBLEM_ORIGIN_UNKNOWN',
  'G_EMBLEM_ORIGIN_DEVICE',
  'G_EMBLEM_ORIGIN_LIVEMETADATA',
  'G_EMBLEM_ORIGIN_TAG'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GResolverError

An error code used with C<G_RESOLVER_ERROR> in a B<GError> returned
from a B<GResolver> routine.

Since: 2.22


=item G_RESOLVER_ERROR_NOT_FOUND: the requested name/address/service was not found
=item G_RESOLVER_ERROR_TEMPORARY_FAILURE: the requested information could not be looked up due to a network error or similar problem
=item G_RESOLVER_ERROR_INTERNAL: unknown error


=end pod

#TE:0:GResolverError:
enum GResolverError is export (
  'G_RESOLVER_ERROR_NOT_FOUND',
  'G_RESOLVER_ERROR_TEMPORARY_FAILURE',
  'G_RESOLVER_ERROR_INTERNAL'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GResolverRecordType

The type of record that C<g_resolver_lookup_records()> or
C<g_resolver_lookup_records_async()> should retrieve. The records are returned
as lists of B<GVariant> tuples. Each record type has different values in
the variant tuples returned.

C<G_RESOLVER_RECORD_SRV> records are returned as variants with the signature
'(qqqs)', containing a guint16 with the priority, a guint16 with the
weight, a guint16 with the port, and a string of the hostname.

C<G_RESOLVER_RECORD_MX> records are returned as variants with the signature
'(qs)', representing a guint16 with the preference, and a string containing
the mail exchanger hostname.

C<G_RESOLVER_RECORD_TXT> records are returned as variants with the signature
'(as)', representing an array of the strings in the text record.

C<G_RESOLVER_RECORD_SOA> records are returned as variants with the signature
'(ssuuuuu)', representing a string containing the primary name server, a
string containing the administrator, the serial as a guint32, the refresh
interval as guint32, the retry interval as a guint32, the expire timeout
as a guint32, and the ttl as a guint32.

C<G_RESOLVER_RECORD_NS> records are returned as variants with the signature
'(s)', representing a string of the hostname of the name server.

Since: 2.34


=item G_RESOLVER_RECORD_SRV: lookup DNS SRV records for a domain
=item G_RESOLVER_RECORD_MX: lookup DNS MX records for a domain
=item G_RESOLVER_RECORD_TXT: lookup DNS TXT records for a name
=item G_RESOLVER_RECORD_SOA: lookup DNS SOA records for a zone
=item G_RESOLVER_RECORD_NS: lookup DNS NS records for a domain


=end pod

#TE:0:GResolverRecordType:
enum GResolverRecordType is export (
  'G_RESOLVER_RECORD_SRV' => 1,
  'G_RESOLVER_RECORD_MX',
  'G_RESOLVER_RECORD_TXT',
  'G_RESOLVER_RECORD_SOA',
  'G_RESOLVER_RECORD_NS'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GResourceError

An error code used with C<G_RESOURCE_ERROR> in a B<GError> returned
from a B<GResource> routine.

Since: 2.32


=item G_RESOURCE_ERROR_NOT_FOUND: no file was found at the requested path
=item G_RESOURCE_ERROR_INTERNAL: unknown error


=end pod

#TE:1:GResourceError:
enum GResourceError is export (
  'G_RESOURCE_ERROR_NOT_FOUND',
  'G_RESOURCE_ERROR_INTERNAL'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GResourceFlags

GResourceFlags give information about a particular file inside a resource
bundle.

Since: 2.32


=item G_RESOURCE_FLAGS_NONE: No flags set.
=item G_RESOURCE_FLAGS_COMPRESSED: The file is compressed.


=end pod

#TE:0:GResourceFlags:
enum GResourceFlags is export (
  'G_RESOURCE_FLAGS_NONE'       => 0,
  'G_RESOURCE_FLAGS_COMPRESSED' => (1+<0)
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSocketFamily

The protocol family of a B<GSocketAddress>. (These values are
identical to the system defines C<AF_INET>, C<AF_INET6> and C<AF_UNIX>,
if available.)

Since: 2.22


=item G_SOCKET_FAMILY_INVALID: no address family
=item G_SOCKET_FAMILY_IPV4: the IPv4 family
=item G_SOCKET_FAMILY_IPV6: the IPv6 family
=item G_SOCKET_FAMILY_UNIX: the UNIX domain family


=end pod

#TE:0:GSocketFamily:
enum GSocketFamily is export (
  'G_SOCKET_FAMILY_INVALID',
  'G_SOCKET_FAMILY_UNIX' => 1,  #GLIB_SYSDEF_AF_UNIX,
  'G_SOCKET_FAMILY_IPV4' => 2,  #GLIB_SYSDEF_AF_INET,
  'G_SOCKET_FAMILY_IPV6' => 10, #GLIB_SYSDEF_AF_INET6

# From http://repository.egi.eu/mirrors/EMI/tarball/cvmfsdevel/emi-ui-2.10.4-1_sl6v1/usr/lib64/glib-2.0/include/glibconfig.h

#define GLIB_SYSDEF_AF_UNIX 1
#define GLIB_SYSDEF_AF_INET 2
#define GLIB_SYSDEF_AF_INET6 10
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSocketType

Flags used when creating a B<GSocket>. Some protocols may not implement
all the socket types.

Since: 2.22


=item G_SOCKET_TYPE_INVALID: Type unknown or wrong
=item G_SOCKET_TYPE_STREAM: Reliable connection-based byte streams (e.g. TCP).
=item G_SOCKET_TYPE_DATAGRAM: Connectionless, unreliable datagram passing. (e.g. UDP)
=item G_SOCKET_TYPE_SEQPACKET: Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP).


=end pod

#TE:0:GSocketType:
enum GSocketType is export (
  'G_SOCKET_TYPE_INVALID',
  'G_SOCKET_TYPE_STREAM',
  'G_SOCKET_TYPE_DATAGRAM',
  'G_SOCKET_TYPE_SEQPACKET'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GSocketProtocol

A protocol identifier is specified when creating a B<GSocket>, which is a
family/type specific identifier, where 0 means the default protocol for
the particular family/type.

This enum contains a set of commonly available and used protocols. You
can also pass any other identifiers handled by the platform in order to
use protocols not listed here.

Since: 2.22


=item G_SOCKET_PROTOCOL_UNKNOWN: The protocol type is unknown
=item G_SOCKET_PROTOCOL_DEFAULT: The default protocol for the family/type
=item G_SOCKET_PROTOCOL_TCP: TCP over IP
=item G_SOCKET_PROTOCOL_UDP: UDP over IP
=item G_SOCKET_PROTOCOL_SCTP: SCTP over IP


=end pod

#TE:0:GSocketProtocol:
enum GSocketProtocol is export (
  'G_SOCKET_PROTOCOL_UNKNOWN' => -1,
  'G_SOCKET_PROTOCOL_DEFAULT' => 0,
  'G_SOCKET_PROTOCOL_TCP'     => 6,
  'G_SOCKET_PROTOCOL_UDP'     => 17,
  'G_SOCKET_PROTOCOL_SCTP'    => 132
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GZlibCompressorFormat

Used to select the type of data format to use for B<GZlibDecompressor>
and B<GZlibCompressor>.

Since: 2.24


=item G_ZLIB_COMPRESSOR_FORMAT_ZLIB: deflate compression with zlib header
=item G_ZLIB_COMPRESSOR_FORMAT_GZIP: gzip file format
=item G_ZLIB_COMPRESSOR_FORMAT_RAW: deflate compression with no header


=end pod

#TE:0:GZlibCompressorFormat:
enum GZlibCompressorFormat is export (
  'G_ZLIB_COMPRESSOR_FORMAT_ZLIB',
  'G_ZLIB_COMPRESSOR_FORMAT_GZIP',
  'G_ZLIB_COMPRESSOR_FORMAT_RAW'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GUnixSocketAddress