#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(
clippy::approx_constant,
clippy::type_complexity,
clippy::unreadable_literal,
clippy::upper_case_acronyms
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
use glib_sys as glib;
use gobject_sys as gobject;
mod manual;
pub use manual::*;
#[allow(unused_imports)]
use libc::{
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE,
};
#[cfg(unix)]
#[allow(unused_imports)]
use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};
pub type GBusType = c_int;
pub const G_BUS_TYPE_STARTER: GBusType = -1;
pub const G_BUS_TYPE_NONE: GBusType = 0;
pub const G_BUS_TYPE_SYSTEM: GBusType = 1;
pub const G_BUS_TYPE_SESSION: GBusType = 2;
pub type GConverterResult = c_int;
pub const G_CONVERTER_ERROR: GConverterResult = 0;
pub const G_CONVERTER_CONVERTED: GConverterResult = 1;
pub const G_CONVERTER_FINISHED: GConverterResult = 2;
pub const G_CONVERTER_FLUSHED: GConverterResult = 3;
pub type GCredentialsType = c_int;
pub const G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0;
pub const G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1;
pub const G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2;
pub const G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3;
pub const G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4;
pub const G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5;
pub const G_CREDENTIALS_TYPE_APPLE_XUCRED: GCredentialsType = 6;
pub const G_CREDENTIALS_TYPE_WIN32_PID: GCredentialsType = 7;
pub type GDBusError = c_int;
pub const G_DBUS_ERROR_FAILED: GDBusError = 0;
pub const G_DBUS_ERROR_NO_MEMORY: GDBusError = 1;
pub const G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2;
pub const G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3;
pub const G_DBUS_ERROR_NO_REPLY: GDBusError = 4;
pub const G_DBUS_ERROR_IO_ERROR: GDBusError = 5;
pub const G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6;
pub const G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7;
pub const G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8;
pub const G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9;
pub const G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10;
pub const G_DBUS_ERROR_NO_SERVER: GDBusError = 11;
pub const G_DBUS_ERROR_TIMEOUT: GDBusError = 12;
pub const G_DBUS_ERROR_NO_NETWORK: GDBusError = 13;
pub const G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14;
pub const G_DBUS_ERROR_DISCONNECTED: GDBusError = 15;
pub const G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16;
pub const G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17;
pub const G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18;
pub const G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19;
pub const G_DBUS_ERROR_TIMED_OUT: GDBusError = 20;
pub const G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21;
pub const G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22;
pub const G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23;
pub const G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24;
pub const G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25;
pub const G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26;
pub const G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27;
pub const G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28;
pub const G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29;
pub const G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30;
pub const G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31;
pub const G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32;
pub const G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33;
pub const G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34;
pub const G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35;
pub const G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36;
pub const G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37;
pub const G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38;
pub const G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39;
pub const G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40;
pub const G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41;
pub const G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42;
pub const G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43;
pub const G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44;
pub type GDBusMessageByteOrder = c_int;
pub const G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66;
pub const G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder = 108;
pub type GDBusMessageHeaderField = c_int;
pub const G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0;
pub const G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1;
pub const G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField = 2;
pub const G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3;
pub const G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField = 4;
pub const G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: GDBusMessageHeaderField = 5;
pub const G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField = 6;
pub const G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7;
pub const G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField = 8;
pub const G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: GDBusMessageHeaderField = 9;
pub type GDBusMessageType = c_int;
pub const G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0;
pub const G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1;
pub const G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2;
pub const G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3;
pub const G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4;
pub type GDataStreamByteOrder = c_int;
pub const G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0;
pub const G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1;
pub const G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2;
pub type GDataStreamNewlineType = c_int;
pub const G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0;
pub const G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1;
pub const G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2;
pub const G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3;
pub type GDriveStartStopType = c_int;
pub const G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0;
pub const G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1;
pub const G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2;
pub const G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3;
pub const G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4;
pub type GEmblemOrigin = c_int;
pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0;
pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1;
pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2;
pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3;
pub type GFileAttributeStatus = c_int;
pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0;
pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1;
pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2;
pub type GFileAttributeType = c_int;
pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0;
pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1;
pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2;
pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3;
pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4;
pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5;
pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6;
pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7;
pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8;
pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9;
pub type GFileMonitorEvent = c_int;
pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0;
pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1;
pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2;
pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3;
pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4;
pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5;
pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6;
pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7;
pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8;
pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9;
pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10;
pub type GFileType = c_int;
pub const G_FILE_TYPE_UNKNOWN: GFileType = 0;
pub const G_FILE_TYPE_REGULAR: GFileType = 1;
pub const G_FILE_TYPE_DIRECTORY: GFileType = 2;
pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3;
pub const G_FILE_TYPE_SPECIAL: GFileType = 4;
pub const G_FILE_TYPE_SHORTCUT: GFileType = 5;
pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6;
pub type GFilesystemPreviewType = c_int;
pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0;
pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1;
pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2;
pub type GIOErrorEnum = c_int;
pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0;
pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1;
pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2;
pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3;
pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4;
pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5;
pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6;
pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7;
pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8;
pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9;
pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10;
pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11;
pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12;
pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13;
pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14;
pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15;
pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16;
pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17;
pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18;
pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19;
pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20;
pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21;
pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22;
pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23;
pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24;
pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25;
pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26;
pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27;
pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28;
pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29;
pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30;
pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31;
pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32;
pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33;
pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34;
pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35;
pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36;
pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37;
pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38;
pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39;
pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40;
pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41;
pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42;
pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43;
pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44;
pub const G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44;
pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45;
pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46;
pub const G_IO_ERROR_NO_SUCH_DEVICE: GIOErrorEnum = 47;
pub const G_IO_ERROR_DESTINATION_UNSET: GIOErrorEnum = 48;
pub type GIOModuleScopeFlags = c_int;
pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0;
pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1;
pub type GMemoryMonitorWarningLevel = c_int;
pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50;
pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100;
pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255;
pub type GMountOperationResult = c_int;
pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0;
pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1;
pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2;
pub type GNetworkConnectivity = c_int;
pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1;
pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2;
pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3;
pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4;
pub type GNotificationPriority = c_int;
pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0;
pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1;
pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2;
pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3;
pub type GPasswordSave = c_int;
pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0;
pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1;
pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2;
pub type GPollableReturn = c_int;
pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0;
pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1;
pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27;
pub type GResolverError = c_int;
pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0;
pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1;
pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2;
pub type GResolverRecordType = c_int;
pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1;
pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2;
pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3;
pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4;
pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5;
pub type GResourceError = c_int;
pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0;
pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1;
pub type GSocketClientEvent = c_int;
pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0;
pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1;
pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2;
pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3;
pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4;
pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5;
pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6;
pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7;
pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8;
pub type GSocketListenerEvent = c_int;
pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0;
pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1;
pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2;
pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3;
pub type GSocketProtocol = c_int;
pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1;
pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0;
pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6;
pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17;
pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132;
pub type GSocketType = c_int;
pub const G_SOCKET_TYPE_INVALID: GSocketType = 0;
pub const G_SOCKET_TYPE_STREAM: GSocketType = 1;
pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2;
pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3;
pub type GTlsAuthenticationMode = c_int;
pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0;
pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1;
pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2;
pub type GTlsCertificateRequestFlags = c_int;
pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0;
pub type GTlsChannelBindingError = c_int;
pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0;
pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1;
pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2;
pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3;
pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4;
pub type GTlsChannelBindingType = c_int;
pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0;
pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1;
pub const G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2;
pub type GTlsDatabaseLookupFlags = c_int;
pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
pub type GTlsError = c_int;
pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0;
pub const G_TLS_ERROR_MISC: GTlsError = 1;
pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2;
pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3;
pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4;
pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5;
pub const G_TLS_ERROR_EOF: GTlsError = 6;
pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7;
pub const G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8;
pub type GTlsInteractionResult = c_int;
pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0;
pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1;
pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2;
pub type GTlsProtocolVersion = c_int;
pub const G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0;
pub const G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1;
pub const G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2;
pub const G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3;
pub const G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4;
pub const G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5;
pub const G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201;
pub const G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202;
pub type GTlsRehandshakeMode = c_int;
pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0;
pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1;
pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2;
pub type GUnixSocketAddressType = c_int;
pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0;
pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1;
pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2;
pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3;
pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4;
pub type GZlibCompressorFormat = c_int;
pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0;
pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1;
pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2;
pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE;
pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE;
pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller\0";
pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: &[u8] = b"gio-desktop-app-info-lookup\0";
pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8] = b"access::can-read\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8] = b"access::can-rename\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8] = b"access::can-trash\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8] = b"access::can-write\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8] = b"dos::is-archive\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8] = b"dos::is-mountpoint\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8] = b"dos::is-system\0";
pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8] = b"dos::reparse-point-tag\0";
pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8] = b"etag::value\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8] = b"filesystem::free\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8] = b"filesystem::readonly\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8] = b"filesystem::remote\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8] = b"filesystem::size\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8] = b"filesystem::type\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8] = b"filesystem::used\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8] = b"filesystem::use-preview\0";
pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8] = b"gvfs::backend\0";
pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8] = b"id::file\0";
pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8] = b"id::filesystem\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8] = b"mountable::can-eject\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8] = b"mountable::can-mount\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8] = b"mountable::can-poll\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8] = b"mountable::can-start\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8] = b"mountable::can-start-degraded\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8] = b"mountable::can-stop\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8] = b"mountable::can-unmount\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8] = b"mountable::hal-udi\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8] =
b"mountable::is-media-check-automatic\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8] = b"mountable::start-stop-type\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8] = b"mountable::unix-device\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8] = b"mountable::unix-device-file\0";
pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8] = b"owner::group\0";
pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8] = b"owner::user\0";
pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8] = b"owner::user-real\0";
pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8] = b"preview::icon\0";
pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8] = b"recent::modified\0";
pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8] = b"selinux::context\0";
pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8] = b"standard::allocated-size\0";
pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8] = b"standard::content-type\0";
pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8] = b"standard::copy-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8] = b"standard::description\0";
pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8] = b"standard::display-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8] = b"standard::edit-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8] = b"standard::fast-content-type\0";
pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8] = b"standard::icon\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8] = b"standard::is-backup\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8] = b"standard::is-hidden\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8] = b"standard::is-symlink\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8] = b"standard::is-virtual\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8] = b"standard::is-volatile\0";
pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8] = b"standard::name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8] = b"standard::size\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8] = b"standard::sort-order\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8] = b"standard::symbolic-icon\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8] = b"standard::symlink-target\0";
pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8] = b"standard::target-uri\0";
pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8] = b"standard::type\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8] = b"thumbnail::failed\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &[u8] = b"thumbnail::failed-large\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &[u8] = b"thumbnail::failed-normal\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &[u8] = b"thumbnail::failed-xlarge\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &[u8] = b"thumbnail::failed-xxlarge\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8] = b"thumbnail::is-valid\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &[u8] = b"thumbnail::is-valid-large\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &[u8] = b"thumbnail::is-valid-normal\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &[u8] = b"thumbnail::is-valid-xlarge\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &[u8] = b"thumbnail::is-valid-xxlarge\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8] = b"thumbnail::path\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &[u8] = b"thumbnail::path-large\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &[u8] = b"thumbnail::path-normal\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &[u8] = b"thumbnail::path-xlarge\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &[u8] = b"thumbnail::path-xxlarge\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8] = b"time::access\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8] = b"time::access-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8] = b"time::access-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8] = b"time::changed\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8] = b"time::changed-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8] = b"time::changed-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8] = b"time::created\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8] = b"time::created-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8] = b"time::created-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8] = b"time::modified\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8] = b"time::modified-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8] = b"time::modified-usec\0";
pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8] = b"trash::deletion-date\0";
pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8] = b"trash::item-count\0";
pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8] = b"trash::orig-path\0";
pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8] = b"unix::blocks\0";
pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8] = b"unix::block-size\0";
pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8] = b"unix::device\0";
pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8] = b"unix::gid\0";
pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8] = b"unix::inode\0";
pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8] = b"unix::is-mountpoint\0";
pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8] = b"unix::mode\0";
pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8] = b"unix::nlink\0";
pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8] = b"unix::rdev\0";
pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8] = b"unix::uid\0";
pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-memory-monitor\0";
pub const G_MENU_ATTRIBUTE_ACTION: &[u8] = b"action\0";
pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8] = b"action-namespace\0";
pub const G_MENU_ATTRIBUTE_ICON: &[u8] = b"icon\0";
pub const G_MENU_ATTRIBUTE_LABEL: &[u8] = b"label\0";
pub const G_MENU_ATTRIBUTE_TARGET: &[u8] = b"target\0";
pub const G_MENU_EXPORTER_MAX_SECTION_SIZE: c_int = 1000;
pub const G_MENU_LINK_SECTION: &[u8] = b"section\0";
pub const G_MENU_LINK_SUBMENU: &[u8] = b"submenu\0";
pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-native-volume-monitor\0";
pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-network-monitor\0";
pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-power-profile-monitor\0";
pub const G_PROXY_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy\0";
pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy-resolver\0";
pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gsettings-backend\0";
pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gio-tls-backend\0";
pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8] = b"1.3.6.1.5.5.7.3.2\0";
pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8] = b"1.3.6.1.5.5.7.3.1\0";
pub const G_VFS_EXTENSION_POINT_NAME: &[u8] = b"gio-vfs\0";
pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8] = b"class\0";
pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: &[u8] = b"hal-udi\0";
pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8] = b"label\0";
pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8] = b"nfs-mount\0";
pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8] = b"uuid\0";
pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-volume-monitor\0";
pub type GAppInfoCreateFlags = c_uint;
pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0;
pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1;
pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2;
pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4;
pub type GApplicationFlags = c_uint;
pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0;
pub const G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0;
pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1;
pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2;
pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4;
pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8;
pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16;
pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32;
pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64;
pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128;
pub const G_APPLICATION_REPLACE: GApplicationFlags = 256;
pub type GAskPasswordFlags = c_uint;
pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1;
pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2;
pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4;
pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8;
pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16;
pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32;
pub type GBusNameOwnerFlags = c_uint;
pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0;
pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1;
pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2;
pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4;
pub type GBusNameWatcherFlags = c_uint;
pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0;
pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1;
pub type GConverterFlags = c_uint;
pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0;
pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1;
pub const G_CONVERTER_FLUSH: GConverterFlags = 2;
pub type GDBusCallFlags = c_uint;
pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0;
pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1;
pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2;
pub type GDBusCapabilityFlags = c_uint;
pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0;
pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1;
pub type GDBusConnectionFlags = c_uint;
pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0;
pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1;
pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2;
pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4;
pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8;
pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16;
pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusConnectionFlags = 32;
pub const G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64;
pub type GDBusInterfaceSkeletonFlags = c_uint;
pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0;
pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD:
GDBusInterfaceSkeletonFlags = 1;
pub type GDBusMessageFlags = c_uint;
pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0;
pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1;
pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2;
pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4;
pub type GDBusObjectManagerClientFlags = c_uint;
pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0;
pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1;
pub type GDBusPropertyInfoFlags = c_uint;
pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0;
pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1;
pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2;
pub type GDBusProxyFlags = c_uint;
pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0;
pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1;
pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2;
pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4;
pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8;
pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16;
pub const G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32;
pub type GDBusSendMessageFlags = c_uint;
pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0;
pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1;
pub type GDBusServerFlags = c_uint;
pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0;
pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1;
pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2;
pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags = 4;
pub type GDBusSignalFlags = c_uint;
pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0;
pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1;
pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2;
pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4;
pub type GDBusSubtreeFlags = c_uint;
pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0;
pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1;
pub type GDriveStartFlags = c_uint;
pub const G_DRIVE_START_NONE: GDriveStartFlags = 0;
pub type GFileAttributeInfoFlags = c_uint;
pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0;
pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1;
pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2;
pub type GFileCopyFlags = c_uint;
pub const G_FILE_COPY_NONE: GFileCopyFlags = 0;
pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1;
pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2;
pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4;
pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8;
pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16;
pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32;
pub const G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME: GFileCopyFlags = 64;
pub type GFileCreateFlags = c_uint;
pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0;
pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1;
pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2;
pub type GFileMeasureFlags = c_uint;
pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0;
pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2;
pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4;
pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8;
pub type GFileMonitorFlags = c_uint;
pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0;
pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1;
pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2;
pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4;
pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8;
pub type GFileQueryInfoFlags = c_uint;
pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0;
pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1;
pub type GIOStreamSpliceFlags = c_uint;
pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0;
pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1;
pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2;
pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4;
pub type GMountMountFlags = c_uint;
pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0;
pub type GMountUnmountFlags = c_uint;
pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
pub type GOutputStreamSpliceFlags = c_uint;
pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1;
pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2;
pub type GResolverNameLookupFlags = c_uint;
pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0;
pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1;
pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2;
pub type GResourceFlags = c_uint;
pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
pub type GResourceLookupFlags = c_uint;
pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
pub type GSettingsBindFlags = c_uint;
pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
pub type GSubprocessFlags = c_uint;
pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
pub type GTestDBusFlags = c_uint;
pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0;
pub type GTlsCertificateFlags = c_uint;
pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
pub type GTlsDatabaseVerifyFlags = c_uint;
pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
pub type GTlsPasswordFlags = c_uint;
pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0;
pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2;
pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4;
pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8;
pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16;
pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32;
pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64;
pub type GAsyncReadyCallback =
Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>;
pub type GBusAcquiredCallback =
Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
pub type GBusNameAcquiredCallback =
Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
pub type GBusNameAppearedCallback =
Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>;
pub type GBusNameLostCallback =
Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
pub type GBusNameVanishedCallback =
Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
pub type GCancellableSourceFunc =
Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>;
pub type GDBusInterfaceGetPropertyFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
*const c_char,
*mut *mut glib::GError,
gpointer,
) -> *mut glib::GVariant,
>;
pub type GDBusInterfaceMethodCallFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
*const c_char,
*mut glib::GVariant,
*mut GDBusMethodInvocation,
gpointer,
),
>;
pub type GDBusInterfaceSetPropertyFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
*const c_char,
*mut glib::GVariant,
*mut *mut glib::GError,
gpointer,
) -> gboolean,
>;
pub type GDBusMessageFilterFunction = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*mut GDBusMessage,
gboolean,
gpointer,
) -> *mut GDBusMessage,
>;
pub type GDBusProxyTypeFunc = Option<
unsafe extern "C" fn(
*mut GDBusObjectManagerClient,
*const c_char,
*const c_char,
gpointer,
) -> GType,
>;
pub type GDBusSignalCallback = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
*const c_char,
*mut glib::GVariant,
gpointer,
),
>;
pub type GDBusSubtreeDispatchFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
*const c_char,
*mut gpointer,
gpointer,
) -> *const GDBusInterfaceVTable,
>;
pub type GDBusSubtreeEnumerateFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
gpointer,
) -> *mut *mut c_char,
>;
pub type GDBusSubtreeIntrospectFunc = Option<
unsafe extern "C" fn(
*mut GDBusConnection,
*const c_char,
*const c_char,
*const c_char,
gpointer,
) -> *mut *mut GDBusInterfaceInfo,
>;
pub type GDatagramBasedSourceFunc =
Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>;
pub type GDesktopAppLaunchCallback =
Option<unsafe extern "C" fn(*mut GDesktopAppInfo, glib::GPid, gpointer)>;
pub type GFileMeasureProgressCallback =
Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>;
pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>;
pub type GFileReadMoreCallback =
Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>;
pub type GIOSchedulerJobFunc =
Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>;
pub type GPollableSourceFunc =
Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>;
pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>;
pub type GSettingsBindGetMapping =
Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>;
pub type GSettingsBindSetMapping = Option<
unsafe extern "C" fn(
*const gobject::GValue,
*const glib::GVariantType,
gpointer,
) -> *mut glib::GVariant,
>;
pub type GSettingsGetMapping =
Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>;
pub type GSimpleAsyncThreadFunc =
Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>;
pub type GSocketSourceFunc =
Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>;
pub type GTaskThreadFunc =
Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>;
pub type GVfsFileLookupFunc =
Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GActionEntry {
pub name: *const c_char,
pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
pub parameter_type: *const c_char,
pub state: *const c_char,
pub change_state:
Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
pub padding: [size_t; 3],
}
impl ::std::fmt::Debug for GActionEntry {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GActionEntry @ {self:p}"))
.field("name", &self.name)
.field("activate", &self.activate)
.field("parameter_type", &self.parameter_type)
.field("state", &self.state)
.field("change_state", &self.change_state)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GActionGroupInterface {
pub g_iface: gobject::GTypeInterface,
pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>,
pub get_action_enabled:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
pub get_action_parameter_type:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
pub get_action_state_type:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
pub get_action_state_hint:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
pub get_action_state:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
pub change_action_state:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
pub activate_action:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
pub action_enabled_changed:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>,
pub action_state_changed:
Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
pub query_action: Option<
unsafe extern "C" fn(
*mut GActionGroup,
*const c_char,
*mut gboolean,
*mut *const glib::GVariantType,
*mut *const glib::GVariantType,
*mut *mut glib::GVariant,
*mut *mut glib::GVariant,
) -> gboolean,
>,
}
impl ::std::fmt::Debug for GActionGroupInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GActionGroupInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("has_action", &self.has_action)
.field("list_actions", &self.list_actions)
.field("get_action_enabled", &self.get_action_enabled)
.field("get_action_parameter_type", &self.get_action_parameter_type)
.field("get_action_state_type", &self.get_action_state_type)
.field("get_action_state_hint", &self.get_action_state_hint)
.field("get_action_state", &self.get_action_state)
.field("change_action_state", &self.change_action_state)
.field("activate_action", &self.activate_action)
.field("action_added", &self.action_added)
.field("action_removed", &self.action_removed)
.field("action_enabled_changed", &self.action_enabled_changed)
.field("action_state_changed", &self.action_state_changed)
.field("query_action", &self.query_action)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GActionInterface {
pub g_iface: gobject::GTypeInterface,
pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>,
pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>,
pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
}
impl ::std::fmt::Debug for GActionInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GActionInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("get_name", &self.get_name)
.field("get_parameter_type", &self.get_parameter_type)
.field("get_state_type", &self.get_state_type)
.field("get_state_hint", &self.get_state_hint)
.field("get_enabled", &self.get_enabled)
.field("get_state", &self.get_state)
.field("change_state", &self.change_state)
.field("activate", &self.activate)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GActionMapInterface {
pub g_iface: gobject::GTypeInterface,
pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>,
pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>,
pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>,
}
impl ::std::fmt::Debug for GActionMapInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GActionMapInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("lookup_action", &self.lookup_action)
.field("add_action", &self.add_action)
.field("remove_action", &self.remove_action)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GAppInfoIface {
pub g_iface: gobject::GTypeInterface,
pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>,
pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>,
pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>,
pub launch: Option<
unsafe extern "C" fn(
*mut GAppInfo,
*mut glib::GList,
*mut GAppLaunchContext,
*mut *mut glib::GError,
) -> gboolean,
>,
pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub launch_uris: Option<
unsafe extern "C" fn(
*mut GAppInfo,
*mut glib::GList,
*mut GAppLaunchContext,
*mut *mut glib::GError,
) -> gboolean,
>,
pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub set_as_default_for_type: Option<
unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
>,
pub set_as_default_for_extension: Option<
unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
>,
pub add_supports_type: Option<
unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
>,
pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub remove_supports_type: Option<
unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
>,
pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
pub set_as_last_used_for_type: Option<
unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
>,
pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>,
pub launch_uris_async: Option<
unsafe extern "C" fn(
*mut GAppInfo,
*mut glib::GList,
*mut GAppLaunchContext,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub launch_uris_finish: Option<
unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
}
impl ::std::fmt::Debug for GAppInfoIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GAppInfoIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("dup", &self.dup)
.field("equal", &self.equal)
.field("get_id", &self.get_id)
.field("get_name", &self.get_name)
.field("get_description", &self.get_description)
.field("get_executable", &self.get_executable)
.field("get_icon", &self.get_icon)
.field("launch", &self.launch)
.field("supports_uris", &self.supports_uris)
.field("supports_files", &self.supports_files)
.field("launch_uris", &self.launch_uris)
.field("should_show", &self.should_show)
.field("set_as_default_for_type", &self.set_as_default_for_type)
.field(
"set_as_default_for_extension",
&self.set_as_default_for_extension,
)
.field("add_supports_type", &self.add_supports_type)
.field("can_remove_supports_type", &self.can_remove_supports_type)
.field("remove_supports_type", &self.remove_supports_type)
.field("can_delete", &self.can_delete)
.field("do_delete", &self.do_delete)
.field("get_commandline", &self.get_commandline)
.field("get_display_name", &self.get_display_name)
.field("set_as_last_used_for_type", &self.set_as_last_used_for_type)
.field("get_supported_types", &self.get_supported_types)
.field("launch_uris_async", &self.launch_uris_async)
.field("launch_uris_finish", &self.launch_uris_finish)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GAppLaunchContextClass {
pub parent_class: gobject::GObjectClass,
pub get_display: Option<
unsafe extern "C" fn(
*mut GAppLaunchContext,
*mut GAppInfo,
*mut glib::GList,
) -> *mut c_char,
>,
pub get_startup_notify_id: Option<
unsafe extern "C" fn(
*mut GAppLaunchContext,
*mut GAppInfo,
*mut glib::GList,
) -> *mut c_char,
>,
pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>,
pub launched:
Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
pub launch_started:
Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GAppLaunchContextClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GAppLaunchContextClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("get_display", &self.get_display)
.field("get_startup_notify_id", &self.get_startup_notify_id)
.field("launch_failed", &self.launch_failed)
.field("launched", &self.launched)
.field("launch_started", &self.launch_started)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.finish()
}
}
#[repr(C)]
pub struct _GAppLaunchContextPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GApplicationClass {
pub parent_class: gobject::GObjectClass,
pub startup: Option<unsafe extern "C" fn(*mut GApplication)>,
pub activate: Option<unsafe extern "C" fn(*mut GApplication)>,
pub open:
Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>,
pub command_line:
Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>,
pub local_command_line: Option<
unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean,
>,
pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
pub add_platform_data:
Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>,
pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>,
pub dbus_register: Option<
unsafe extern "C" fn(
*mut GApplication,
*mut GDBusConnection,
*const c_char,
*mut *mut glib::GError,
) -> gboolean,
>,
pub dbus_unregister:
Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>,
pub handle_local_options:
Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>,
pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>,
pub padding: [gpointer; 7],
}
impl ::std::fmt::Debug for GApplicationClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GApplicationClass @ {self:p}"))
.field("startup", &self.startup)
.field("activate", &self.activate)
.field("open", &self.open)
.field("command_line", &self.command_line)
.field("local_command_line", &self.local_command_line)
.field("before_emit", &self.before_emit)
.field("after_emit", &self.after_emit)
.field("add_platform_data", &self.add_platform_data)
.field("quit_mainloop", &self.quit_mainloop)
.field("run_mainloop", &self.run_mainloop)
.field("shutdown", &self.shutdown)
.field("dbus_register", &self.dbus_register)
.field("dbus_unregister", &self.dbus_unregister)
.field("handle_local_options", &self.handle_local_options)
.field("name_lost", &self.name_lost)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GApplicationCommandLineClass {
pub parent_class: gobject::GObjectClass,
pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>,
pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>,
pub padding: [gpointer; 10],
}
impl ::std::fmt::Debug for GApplicationCommandLineClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}"))
.field("print_literal", &self.print_literal)
.field("printerr_literal", &self.printerr_literal)
.field("get_stdin", &self.get_stdin)
.field("done", &self.done)
.finish()
}
}
#[repr(C)]
pub struct _GApplicationCommandLinePrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
#[repr(C)]
pub struct _GApplicationPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GApplicationPrivate = _GApplicationPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GAsyncInitableIface {
pub g_iface: gobject::GTypeInterface,
pub init_async: Option<
unsafe extern "C" fn(
*mut GAsyncInitable,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub init_finish: Option<
unsafe extern "C" fn(
*mut GAsyncInitable,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> gboolean,
>,
}
impl ::std::fmt::Debug for GAsyncInitableIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GAsyncInitableIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("init_async", &self.init_async)
.field("init_finish", &self.init_finish)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GAsyncResultIface {
pub g_iface: gobject::GTypeInterface,
pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>,
pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>,
pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>,
}
impl ::std::fmt::Debug for GAsyncResultIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GAsyncResultIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("get_user_data", &self.get_user_data)
.field("get_source_object", &self.get_source_object)
.field("is_tagged", &self.is_tagged)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GBufferedInputStreamClass {
pub parent_class: GFilterInputStreamClass,
pub fill: Option<
unsafe extern "C" fn(
*mut GBufferedInputStream,
ssize_t,
*mut GCancellable,
*mut *mut glib::GError,
) -> ssize_t,
>,
pub fill_async: Option<
unsafe extern "C" fn(
*mut GBufferedInputStream,
ssize_t,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub fill_finish: Option<
unsafe extern "C" fn(
*mut GBufferedInputStream,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> ssize_t,
>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GBufferedInputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("fill", &self.fill)
.field("fill_async", &self.fill_async)
.field("fill_finish", &self.fill_finish)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GBufferedInputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GBufferedOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GBufferedOutputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.finish()
}
}
#[repr(C)]
pub struct _GBufferedOutputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GCancellableClass {
pub parent_class: gobject::GObjectClass,
pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GCancellableClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GCancellableClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("cancelled", &self.cancelled)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GCancellablePrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GCancellablePrivate = _GCancellablePrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GCharsetConverterClass {
pub parent_class: gobject::GObjectClass,
}
impl ::std::fmt::Debug for GCharsetConverterClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GCharsetConverterClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GConverterIface {
pub g_iface: gobject::GTypeInterface,
pub convert: Option<
unsafe extern "C" fn(
*mut GConverter,
*mut u8,
size_t,
*mut u8,
size_t,
GConverterFlags,
*mut size_t,
*mut size_t,
*mut *mut glib::GError,
) -> GConverterResult,
>,
pub reset: Option<unsafe extern "C" fn(*mut GConverter)>,
}
impl ::std::fmt::Debug for GConverterIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GConverterIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("convert", &self.convert)
.field("reset", &self.reset)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GConverterInputStreamClass {
pub parent_class: GFilterInputStreamClass,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GConverterInputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GConverterInputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GConverterInputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GConverterOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GConverterOutputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GConverterOutputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
#[repr(C)]
pub struct _GCredentialsClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GCredentialsClass = _GCredentialsClass;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusAnnotationInfo {
pub ref_count: c_int,
pub key: *mut c_char,
pub value: *mut c_char,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusAnnotationInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("key", &self.key)
.field("value", &self.value)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusArgInfo {
pub ref_count: c_int,
pub name: *mut c_char,
pub signature: *mut c_char,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusArgInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusArgInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("name", &self.name)
.field("signature", &self.signature)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusErrorEntry {
pub error_code: c_int,
pub dbus_error_name: *const c_char,
}
impl ::std::fmt::Debug for GDBusErrorEntry {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusErrorEntry @ {self:p}"))
.field("error_code", &self.error_code)
.field("dbus_error_name", &self.dbus_error_name)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusInterfaceIface {
pub parent_iface: gobject::GTypeInterface,
pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>,
pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
}
impl ::std::fmt::Debug for GDBusInterfaceIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusInterfaceIface @ {self:p}"))
.field("parent_iface", &self.parent_iface)
.field("get_info", &self.get_info)
.field("get_object", &self.get_object)
.field("set_object", &self.set_object)
.field("dup_object", &self.dup_object)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusInterfaceInfo {
pub ref_count: c_int,
pub name: *mut c_char,
pub methods: *mut *mut GDBusMethodInfo,
pub signals: *mut *mut GDBusSignalInfo,
pub properties: *mut *mut GDBusPropertyInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusInterfaceInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("name", &self.name)
.field("methods", &self.methods)
.field("signals", &self.signals)
.field("properties", &self.properties)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusInterfaceSkeletonClass {
pub parent_class: gobject::GObjectClass,
pub get_info:
Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>,
pub get_vtable:
Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>,
pub get_properties:
Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>,
pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>,
pub vfunc_padding: [gpointer; 8],
pub g_authorize_method: Option<
unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean,
>,
pub signal_padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("get_info", &self.get_info)
.field("get_vtable", &self.get_vtable)
.field("get_properties", &self.get_properties)
.field("flush", &self.flush)
.field("g_authorize_method", &self.g_authorize_method)
.finish()
}
}
#[repr(C)]
pub struct _GDBusInterfaceSkeletonPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusInterfaceVTable {
pub method_call: GDBusInterfaceMethodCallFunc,
pub get_property: GDBusInterfaceGetPropertyFunc,
pub set_property: GDBusInterfaceSetPropertyFunc,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusInterfaceVTable {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}"))
.field("method_call", &self.method_call)
.field("get_property", &self.get_property)
.field("set_property", &self.set_property)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusMethodInfo {
pub ref_count: c_int,
pub name: *mut c_char,
pub in_args: *mut *mut GDBusArgInfo,
pub out_args: *mut *mut GDBusArgInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusMethodInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusMethodInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("name", &self.name)
.field("in_args", &self.in_args)
.field("out_args", &self.out_args)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusNodeInfo {
pub ref_count: c_int,
pub path: *mut c_char,
pub interfaces: *mut *mut GDBusInterfaceInfo,
pub nodes: *mut *mut GDBusNodeInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusNodeInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusNodeInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("path", &self.path)
.field("interfaces", &self.interfaces)
.field("nodes", &self.nodes)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectIface {
pub parent_iface: gobject::GTypeInterface,
pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>,
pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>,
pub get_interface:
Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>,
pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
}
impl ::std::fmt::Debug for GDBusObjectIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectIface @ {self:p}"))
.field("parent_iface", &self.parent_iface)
.field("get_object_path", &self.get_object_path)
.field("get_interfaces", &self.get_interfaces)
.field("get_interface", &self.get_interface)
.field("interface_added", &self.interface_added)
.field("interface_removed", &self.interface_removed)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectManagerClientClass {
pub parent_class: gobject::GObjectClass,
pub interface_proxy_signal: Option<
unsafe extern "C" fn(
*mut GDBusObjectManagerClient,
*mut GDBusObjectProxy,
*mut GDBusProxy,
*const c_char,
*const c_char,
*mut glib::GVariant,
),
>,
pub interface_proxy_properties_changed: Option<
unsafe extern "C" fn(
*mut GDBusObjectManagerClient,
*mut GDBusObjectProxy,
*mut GDBusProxy,
*mut glib::GVariant,
*const *const c_char,
),
>,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusObjectManagerClientClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("interface_proxy_signal", &self.interface_proxy_signal)
.field(
"interface_proxy_properties_changed",
&self.interface_proxy_properties_changed,
)
.finish()
}
}
#[repr(C)]
pub struct _GDBusObjectManagerClientPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectManagerIface {
pub parent_iface: gobject::GTypeInterface,
pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>,
pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>,
pub get_object:
Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>,
pub get_interface: Option<
unsafe extern "C" fn(
*mut GDBusObjectManager,
*const c_char,
*const c_char,
) -> *mut GDBusInterface,
>,
pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
pub interface_added: Option<
unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
>,
pub interface_removed: Option<
unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
>,
}
impl ::std::fmt::Debug for GDBusObjectManagerIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}"))
.field("parent_iface", &self.parent_iface)
.field("get_object_path", &self.get_object_path)
.field("get_objects", &self.get_objects)
.field("get_object", &self.get_object)
.field("get_interface", &self.get_interface)
.field("object_added", &self.object_added)
.field("object_removed", &self.object_removed)
.field("interface_added", &self.interface_added)
.field("interface_removed", &self.interface_removed)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectManagerServerClass {
pub parent_class: gobject::GObjectClass,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusObjectManagerServerClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
pub struct _GDBusObjectManagerServerPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectProxyClass {
pub parent_class: gobject::GObjectClass,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusObjectProxyClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
pub struct _GDBusObjectProxyPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusObjectSkeletonClass {
pub parent_class: gobject::GObjectClass,
pub authorize_method: Option<
unsafe extern "C" fn(
*mut GDBusObjectSkeleton,
*mut GDBusInterfaceSkeleton,
*mut GDBusMethodInvocation,
) -> gboolean,
>,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusObjectSkeletonClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("authorize_method", &self.authorize_method)
.finish()
}
}
#[repr(C)]
pub struct _GDBusObjectSkeletonPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusPropertyInfo {
pub ref_count: c_int,
pub name: *mut c_char,
pub signature: *mut c_char,
pub flags: GDBusPropertyInfoFlags,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusPropertyInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusPropertyInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("name", &self.name)
.field("signature", &self.signature)
.field("flags", &self.flags)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusProxyClass {
pub parent_class: gobject::GObjectClass,
pub g_properties_changed:
Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>,
pub g_signal: Option<
unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant),
>,
pub padding: [gpointer; 32],
}
impl ::std::fmt::Debug for GDBusProxyClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusProxyClass @ {self:p}"))
.field("g_properties_changed", &self.g_properties_changed)
.field("g_signal", &self.g_signal)
.finish()
}
}
#[repr(C)]
pub struct _GDBusProxyPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDBusProxyPrivate = _GDBusProxyPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusSignalInfo {
pub ref_count: c_int,
pub name: *mut c_char,
pub args: *mut *mut GDBusArgInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
impl ::std::fmt::Debug for GDBusSignalInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusSignalInfo @ {self:p}"))
.field("ref_count", &self.ref_count)
.field("name", &self.name)
.field("args", &self.args)
.field("annotations", &self.annotations)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDBusSubtreeVTable {
pub enumerate: GDBusSubtreeEnumerateFunc,
pub introspect: GDBusSubtreeIntrospectFunc,
pub dispatch: GDBusSubtreeDispatchFunc,
pub padding: [gpointer; 8],
}
impl ::std::fmt::Debug for GDBusSubtreeVTable {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}"))
.field("enumerate", &self.enumerate)
.field("introspect", &self.introspect)
.field("dispatch", &self.dispatch)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDataInputStreamClass {
pub parent_class: GBufferedInputStreamClass,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GDataInputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDataInputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GDataInputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDataOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GDataOutputStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDataOutputStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GDataOutputStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDatagramBasedInterface {
pub g_iface: gobject::GTypeInterface,
pub receive_messages: Option<
unsafe extern "C" fn(
*mut GDatagramBased,
*mut GInputMessage,
c_uint,
c_int,
i64,
*mut GCancellable,
*mut *mut glib::GError,
) -> c_int,
>,
pub send_messages: Option<
unsafe extern "C" fn(
*mut GDatagramBased,
*mut GOutputMessage,
c_uint,
c_int,
i64,
*mut GCancellable,
*mut *mut glib::GError,
) -> c_int,
>,
pub create_source: Option<
unsafe extern "C" fn(
*mut GDatagramBased,
glib::GIOCondition,
*mut GCancellable,
) -> *mut glib::GSource,
>,
pub condition_check:
Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>,
pub condition_wait: Option<
unsafe extern "C" fn(
*mut GDatagramBased,
glib::GIOCondition,
i64,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
}
impl ::std::fmt::Debug for GDatagramBasedInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDatagramBasedInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("receive_messages", &self.receive_messages)
.field("send_messages", &self.send_messages)
.field("create_source", &self.create_source)
.field("condition_check", &self.condition_check)
.field("condition_wait", &self.condition_wait)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDebugControllerDBusClass {
pub parent_class: gobject::GObjectClass,
pub authorize: Option<
unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean,
>,
pub padding: [gpointer; 12],
}
impl ::std::fmt::Debug for GDebugControllerDBusClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("authorize", &self.authorize)
.field("padding", &self.padding)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDebugControllerInterface {
pub g_iface: gobject::GTypeInterface,
}
impl ::std::fmt::Debug for GDebugControllerInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDebugControllerInterface @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDesktopAppInfoClass {
pub parent_class: gobject::GObjectClass,
}
impl ::std::fmt::Debug for GDesktopAppInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDesktopAppInfoClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDesktopAppInfoLookupIface {
pub g_iface: gobject::GTypeInterface,
pub get_default_for_uri_scheme:
Option<unsafe extern "C" fn(*mut GDesktopAppInfoLookup, *const c_char) -> *mut GAppInfo>,
}
impl ::std::fmt::Debug for GDesktopAppInfoLookupIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDesktopAppInfoLookupIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field(
"get_default_for_uri_scheme",
&self.get_default_for_uri_scheme,
)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDriveIface {
pub g_iface: gobject::GTypeInterface,
pub changed: Option<unsafe extern "C" fn(*mut GDrive)>,
pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>,
pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>,
pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>,
pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub eject: Option<
unsafe extern "C" fn(
*mut GDrive,
GMountUnmountFlags,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub eject_finish: Option<
unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub poll_for_media:
Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
pub poll_for_media_finish: Option<
unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>,
pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>,
pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>,
pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub start: Option<
unsafe extern "C" fn(
*mut GDrive,
GDriveStartFlags,
*mut GMountOperation,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub start_finish: Option<
unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
pub stop: Option<
unsafe extern "C" fn(
*mut GDrive,
GMountUnmountFlags,
*mut GMountOperation,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub stop_finish: Option<
unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>,
pub eject_with_operation: Option<
unsafe extern "C" fn(
*mut GDrive,
GMountUnmountFlags,
*mut GMountOperation,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub eject_with_operation_finish: Option<
unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
}
impl ::std::fmt::Debug for GDriveIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDriveIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("changed", &self.changed)
.field("disconnected", &self.disconnected)
.field("eject_button", &self.eject_button)
.field("get_name", &self.get_name)
.field("get_icon", &self.get_icon)
.field("has_volumes", &self.has_volumes)
.field("get_volumes", &self.get_volumes)
.field("is_media_removable", &self.is_media_removable)
.field("has_media", &self.has_media)
.field("is_media_check_automatic", &self.is_media_check_automatic)
.field("can_eject", &self.can_eject)
.field("can_poll_for_media", &self.can_poll_for_media)
.field("eject", &self.eject)
.field("eject_finish", &self.eject_finish)
.field("poll_for_media", &self.poll_for_media)
.field("poll_for_media_finish", &self.poll_for_media_finish)
.field("get_identifier", &self.get_identifier)
.field("enumerate_identifiers", &self.enumerate_identifiers)
.field("get_start_stop_type", &self.get_start_stop_type)
.field("can_start", &self.can_start)
.field("can_start_degraded", &self.can_start_degraded)
.field("start", &self.start)
.field("start_finish", &self.start_finish)
.field("can_stop", &self.can_stop)
.field("stop", &self.stop)
.field("stop_finish", &self.stop_finish)
.field("stop_button", &self.stop_button)
.field("eject_with_operation", &self.eject_with_operation)
.field(
"eject_with_operation_finish",
&self.eject_with_operation_finish,
)
.field("get_sort_key", &self.get_sort_key)
.field("get_symbolic_icon", &self.get_symbolic_icon)
.field("is_removable", &self.is_removable)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDtlsClientConnectionInterface {
pub g_iface: gobject::GTypeInterface,
}
impl ::std::fmt::Debug for GDtlsClientConnectionInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDtlsConnectionInterface {
pub g_iface: gobject::GTypeInterface,
pub accept_certificate: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
*mut GTlsCertificate,
GTlsCertificateFlags,
) -> gboolean,
>,
pub handshake: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub handshake_async: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub handshake_finish: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> gboolean,
>,
pub shutdown: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
gboolean,
gboolean,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub shutdown_async: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
gboolean,
gboolean,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub shutdown_finish: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> gboolean,
>,
pub set_advertised_protocols:
Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>,
pub get_negotiated_protocol:
Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>,
pub get_binding_data: Option<
unsafe extern "C" fn(
*mut GDtlsConnection,
GTlsChannelBindingType,
*mut glib::GByteArray,
*mut *mut glib::GError,
) -> gboolean,
>,
}
impl ::std::fmt::Debug for GDtlsConnectionInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("accept_certificate", &self.accept_certificate)
.field("handshake", &self.handshake)
.field("handshake_async", &self.handshake_async)
.field("handshake_finish", &self.handshake_finish)
.field("shutdown", &self.shutdown)
.field("shutdown_async", &self.shutdown_async)
.field("shutdown_finish", &self.shutdown_finish)
.field("set_advertised_protocols", &self.set_advertised_protocols)
.field("get_negotiated_protocol", &self.get_negotiated_protocol)
.field("get_binding_data", &self.get_binding_data)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GDtlsServerConnectionInterface {
pub g_iface: gobject::GTypeInterface,
}
impl ::std::fmt::Debug for GDtlsServerConnectionInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}"))
.field("g_iface", &self.g_iface)
.finish()
}
}
#[repr(C)]
pub struct _GEmblemClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GEmblemClass = _GEmblemClass;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GEmblemedIconClass {
pub parent_class: gobject::GObjectClass,
}
impl ::std::fmt::Debug for GEmblemedIconClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GEmblemedIconClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
pub struct _GEmblemedIconPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileAttributeInfo {
pub name: *mut c_char,
pub type_: GFileAttributeType,
pub flags: GFileAttributeInfoFlags,
}
impl ::std::fmt::Debug for GFileAttributeInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileAttributeInfo @ {self:p}"))
.field("name", &self.name)
.field("type_", &self.type_)
.field("flags", &self.flags)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileAttributeInfoList {
pub infos: *mut GFileAttributeInfo,
pub n_infos: c_int,
}
impl ::std::fmt::Debug for GFileAttributeInfoList {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileAttributeInfoList @ {self:p}"))
.field("infos", &self.infos)
.field("n_infos", &self.n_infos)
.finish()
}
}
#[repr(C)]
pub struct GFileAttributeMatcher {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for GFileAttributeMatcher {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileAttributeMatcher @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileDescriptorBasedIface {
pub g_iface: gobject::GTypeInterface,
pub get_fd: Option<unsafe extern "C" fn(*mut GFileDescriptorBased) -> c_int>,
}
impl ::std::fmt::Debug for GFileDescriptorBasedIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileDescriptorBasedIface @ {self:p}"))
.field("g_iface", &self.g_iface)
.field("get_fd", &self.get_fd)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileEnumeratorClass {
pub parent_class: gobject::GObjectClass,
pub next_file: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub close_fn: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub next_files_async: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
c_int,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub next_files_finish: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut glib::GList,
>,
pub close_async: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub close_finish: Option<
unsafe extern "C" fn(
*mut GFileEnumerator,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> gboolean,
>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
pub _g_reserved6: Option<unsafe extern "C" fn()>,
pub _g_reserved7: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GFileEnumeratorClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileEnumeratorClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("next_file", &self.next_file)
.field("close_fn", &self.close_fn)
.field("next_files_async", &self.next_files_async)
.field("next_files_finish", &self.next_files_finish)
.field("close_async", &self.close_async)
.field("close_finish", &self.close_finish)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.field("_g_reserved6", &self._g_reserved6)
.field("_g_reserved7", &self._g_reserved7)
.finish()
}
}
#[repr(C)]
pub struct _GFileEnumeratorPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileIOStreamClass {
pub parent_class: GIOStreamClass,
pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>,
pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
pub seek: Option<
unsafe extern "C" fn(
*mut GFileIOStream,
i64,
glib::GSeekType,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
pub truncate_fn: Option<
unsafe extern "C" fn(
*mut GFileIOStream,
i64,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub query_info: Option<
unsafe extern "C" fn(
*mut GFileIOStream,
*const c_char,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub query_info_async: Option<
unsafe extern "C" fn(
*mut GFileIOStream,
*const c_char,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub query_info_finish: Option<
unsafe extern "C" fn(
*mut GFileIOStream,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
impl ::std::fmt::Debug for GFileIOStreamClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GFileIOStreamClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("tell", &self.tell)
.field("can_seek", &self.can_seek)
.field("seek", &self.seek)
.field("can_truncate", &self.can_truncate)
.field("truncate_fn", &self.truncate_fn)
.field("query_info", &self.query_info)
.field("query_info_async", &self.query_info_async)
.field("query_info_finish", &self.query_info_finish)
.field("get_etag", &self.get_etag)
.field("_g_reserved1", &self._g_reserved1)
.field("_g_reserved2", &self._g_reserved2)
.field("_g_reserved3", &self._g_reserved3)
.field("_g_reserved4", &self._g_reserved4)
.field("_g_reserved5", &self._g_reserved5)
.finish()
}
}
#[repr(C)]
pub struct _GFileIOStreamPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
#[repr(C)]
pub struct _GFileIconClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GFileIconClass = _GFileIconClass;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GFileIface {
pub g_iface: gobject::GTypeInterface,
pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>,
pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>,
pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>,
pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>,
pub resolve_relative_path:
Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>,
pub get_child_for_display_name: Option<
unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile,
>,
pub enumerate_children: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
GFileQueryInfoFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileEnumerator,
>,
pub enumerate_children_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
GFileQueryInfoFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub enumerate_children_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileEnumerator,
>,
pub query_info: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
GFileQueryInfoFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub query_info_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
GFileQueryInfoFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub query_info_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub query_filesystem_info: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub query_filesystem_info_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub query_filesystem_info_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileInfo,
>,
pub find_enclosing_mount: Option<
unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount,
>,
pub find_enclosing_mount_async: Option<
unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
>,
pub find_enclosing_mount_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount,
>,
pub set_display_name: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFile,
>,
pub set_display_name_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub set_display_name_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
>,
pub query_settable_attributes: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileAttributeInfoList,
>,
pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
pub query_writable_namespaces: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileAttributeInfoList,
>,
pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
pub set_attribute: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
GFileAttributeType,
gpointer,
GFileQueryInfoFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub set_attributes_from_info: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GFileInfo,
GFileQueryInfoFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub set_attributes_async: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GFileInfo,
GFileQueryInfoFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub set_attributes_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut GFileInfo,
*mut *mut glib::GError,
) -> gboolean,
>,
pub read_fn: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileInputStream,
>,
pub read_async: Option<
unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
>,
pub read_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileInputStream,
>,
pub append_to: Option<
unsafe extern "C" fn(
*mut GFile,
GFileCreateFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub append_to_async: Option<
unsafe extern "C" fn(
*mut GFile,
GFileCreateFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub append_to_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub create: Option<
unsafe extern "C" fn(
*mut GFile,
GFileCreateFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub create_async: Option<
unsafe extern "C" fn(
*mut GFile,
GFileCreateFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub create_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub replace: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
gboolean,
GFileCreateFlags,
*mut GCancellable,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub replace_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
gboolean,
GFileCreateFlags,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub replace_finish: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GAsyncResult,
*mut *mut glib::GError,
) -> *mut GFileOutputStream,
>,
pub delete_file: Option<
unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
>,
pub delete_file_async: Option<
unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
>,
pub delete_file_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub trash: Option<
unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
>,
pub trash_async: Option<
unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
>,
pub trash_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub make_directory: Option<
unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
>,
pub make_directory_async: Option<
unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
>,
pub make_directory_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub make_symbolic_link: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
*mut GCancellable,
*mut *mut glib::GError,
) -> gboolean,
>,
pub make_symbolic_link_async: Option<
unsafe extern "C" fn(
*mut GFile,
*const c_char,
c_int,
*mut GCancellable,
GAsyncReadyCallback,
gpointer,
),
>,
pub make_symbolic_link_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub copy: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GFile,
GFileCopyFlags,
*mut GCancellable,
GFileProgressCallback,
gpointer,
*mut *mut glib::GError,
) -> gboolean,
>,
pub copy_async: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GFile,
GFileCopyFlags,
c_int,
*mut GCancellable,
GFileProgressCallback,
gpointer,
GAsyncReadyCallback,
gpointer,
),
>,
pub copy_finish: Option<
unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
>,
pub move_: Option<
unsafe extern "C" fn(
*mut GFile,
*mut GFile,
GFileCopyFlags,
*mut GCancellable,
GFileProgressCallback,
gpointer,
*mut *mut glib::GError,
) -> gboolean,
>,
pub move_async: