Skip to main content

gio_sys/
lib.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6#![allow(
7    clippy::approx_constant,
8    clippy::type_complexity,
9    clippy::unreadable_literal,
10    clippy::upper_case_acronyms
11)]
12#![cfg_attr(docsrs, feature(doc_cfg))]
13
14use glib_sys as glib;
15use gobject_sys as gobject;
16
17mod manual;
18
19pub use manual::*;
20
21#[allow(unused_imports)]
22use libc::{FILE, intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t};
23#[cfg(unix)]
24#[allow(unused_imports)]
25use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
26#[allow(unused_imports)]
27use std::ffi::{
28    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
29};
30
31#[allow(unused_imports)]
32use glib::{GType, gboolean, gconstpointer, gpointer};
33
34// Enums
35pub type GBusType = c_int;
36pub const G_BUS_TYPE_STARTER: GBusType = -1;
37pub const G_BUS_TYPE_NONE: GBusType = 0;
38pub const G_BUS_TYPE_SYSTEM: GBusType = 1;
39pub const G_BUS_TYPE_SESSION: GBusType = 2;
40
41pub type GConverterResult = c_int;
42pub const G_CONVERTER_ERROR: GConverterResult = 0;
43pub const G_CONVERTER_CONVERTED: GConverterResult = 1;
44pub const G_CONVERTER_FINISHED: GConverterResult = 2;
45pub const G_CONVERTER_FLUSHED: GConverterResult = 3;
46
47pub type GCredentialsType = c_int;
48pub const G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0;
49pub const G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1;
50pub const G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2;
51pub const G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3;
52pub const G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4;
53pub const G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5;
54pub const G_CREDENTIALS_TYPE_APPLE_XUCRED: GCredentialsType = 6;
55pub const G_CREDENTIALS_TYPE_WIN32_PID: GCredentialsType = 7;
56
57pub type GDBusError = c_int;
58pub const G_DBUS_ERROR_FAILED: GDBusError = 0;
59pub const G_DBUS_ERROR_NO_MEMORY: GDBusError = 1;
60pub const G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2;
61pub const G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3;
62pub const G_DBUS_ERROR_NO_REPLY: GDBusError = 4;
63pub const G_DBUS_ERROR_IO_ERROR: GDBusError = 5;
64pub const G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6;
65pub const G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7;
66pub const G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8;
67pub const G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9;
68pub const G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10;
69pub const G_DBUS_ERROR_NO_SERVER: GDBusError = 11;
70pub const G_DBUS_ERROR_TIMEOUT: GDBusError = 12;
71pub const G_DBUS_ERROR_NO_NETWORK: GDBusError = 13;
72pub const G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14;
73pub const G_DBUS_ERROR_DISCONNECTED: GDBusError = 15;
74pub const G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16;
75pub const G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17;
76pub const G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18;
77pub const G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19;
78pub const G_DBUS_ERROR_TIMED_OUT: GDBusError = 20;
79pub const G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21;
80pub const G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22;
81pub const G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23;
82pub const G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24;
83pub const G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25;
84pub const G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26;
85pub const G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27;
86pub const G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28;
87pub const G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29;
88pub const G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30;
89pub const G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31;
90pub const G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32;
91pub const G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33;
92pub const G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34;
93pub const G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35;
94pub const G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36;
95pub const G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37;
96pub const G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38;
97pub const G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39;
98pub const G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40;
99pub const G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41;
100pub const G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42;
101pub const G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43;
102pub const G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44;
103
104pub type GDBusMessageByteOrder = c_int;
105pub const G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66;
106pub const G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder = 108;
107
108pub type GDBusMessageHeaderField = c_int;
109pub const G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0;
110pub const G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1;
111pub const G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField = 2;
112pub const G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3;
113pub const G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField = 4;
114pub const G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: GDBusMessageHeaderField = 5;
115pub const G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField = 6;
116pub const G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7;
117pub const G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField = 8;
118pub const G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: GDBusMessageHeaderField = 9;
119
120pub type GDBusMessageType = c_int;
121pub const G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0;
122pub const G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1;
123pub const G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2;
124pub const G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3;
125pub const G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4;
126
127pub type GDataStreamByteOrder = c_int;
128pub const G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0;
129pub const G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1;
130pub const G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2;
131
132pub type GDataStreamNewlineType = c_int;
133pub const G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0;
134pub const G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1;
135pub const G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2;
136pub const G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3;
137
138pub type GDriveStartStopType = c_int;
139pub const G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0;
140pub const G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1;
141pub const G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2;
142pub const G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3;
143pub const G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4;
144
145pub type GEcnCodePoint = c_int;
146pub const G_ECN_NO_ECN: GEcnCodePoint = 0;
147pub const G_ECN_ECT_1: GEcnCodePoint = 1;
148pub const G_ECN_ECT_0: GEcnCodePoint = 2;
149pub const G_ECN_ECT_CE: GEcnCodePoint = 3;
150
151pub type GEmblemOrigin = c_int;
152pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0;
153pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1;
154pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2;
155pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3;
156
157pub type GFileAttributeStatus = c_int;
158pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0;
159pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1;
160pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2;
161
162pub type GFileAttributeType = c_int;
163pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0;
164pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1;
165pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2;
166pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3;
167pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4;
168pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5;
169pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6;
170pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7;
171pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8;
172pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9;
173
174pub type GFileMonitorEvent = c_int;
175pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0;
176pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1;
177pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2;
178pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3;
179pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4;
180pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5;
181pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6;
182pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7;
183pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8;
184pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9;
185pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10;
186
187pub type GFileType = c_int;
188pub const G_FILE_TYPE_UNKNOWN: GFileType = 0;
189pub const G_FILE_TYPE_REGULAR: GFileType = 1;
190pub const G_FILE_TYPE_DIRECTORY: GFileType = 2;
191pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3;
192pub const G_FILE_TYPE_SPECIAL: GFileType = 4;
193pub const G_FILE_TYPE_SHORTCUT: GFileType = 5;
194pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6;
195
196pub type GFilesystemPreviewType = c_int;
197pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0;
198pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1;
199pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2;
200
201pub type GIOErrorEnum = c_int;
202pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0;
203pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1;
204pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2;
205pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3;
206pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4;
207pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5;
208pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6;
209pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7;
210pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8;
211pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9;
212pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10;
213pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11;
214pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12;
215pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13;
216pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14;
217pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15;
218pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16;
219pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17;
220pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18;
221pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19;
222pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20;
223pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21;
224pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22;
225pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23;
226pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24;
227pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25;
228pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26;
229pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27;
230pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28;
231pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29;
232pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30;
233pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31;
234pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32;
235pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33;
236pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34;
237pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35;
238pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36;
239pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37;
240pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38;
241pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39;
242pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40;
243pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41;
244pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42;
245pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43;
246pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44;
247pub const G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44;
248pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45;
249pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46;
250pub const G_IO_ERROR_NO_SUCH_DEVICE: GIOErrorEnum = 47;
251pub const G_IO_ERROR_DESTINATION_UNSET: GIOErrorEnum = 48;
252
253pub type GMemoryMonitorWarningLevel = c_int;
254pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50;
255pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100;
256pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255;
257
258pub type GMountOperationResult = c_int;
259pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0;
260pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1;
261pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2;
262
263pub type GNetworkConnectivity = c_int;
264pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1;
265pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2;
266pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3;
267pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4;
268
269pub type GNotificationPriority = c_int;
270pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0;
271pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1;
272pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2;
273pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3;
274
275pub type GPasswordSave = c_int;
276pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0;
277pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1;
278pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2;
279
280pub type GPollableReturn = c_int;
281pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0;
282pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1;
283pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27;
284
285pub type GResolverError = c_int;
286pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0;
287pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1;
288pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2;
289
290pub type GResolverRecordType = c_int;
291pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1;
292pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2;
293pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3;
294pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4;
295pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5;
296
297pub type GResourceError = c_int;
298pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0;
299pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1;
300
301pub type GSocketClientEvent = c_int;
302pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0;
303pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1;
304pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2;
305pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3;
306pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4;
307pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5;
308pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6;
309pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7;
310pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8;
311
312pub type GSocketListenerEvent = c_int;
313pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0;
314pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1;
315pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2;
316pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3;
317
318pub type GSocketProtocol = c_int;
319pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1;
320pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0;
321pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6;
322pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17;
323pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132;
324
325pub type GSocketType = c_int;
326pub const G_SOCKET_TYPE_INVALID: GSocketType = 0;
327pub const G_SOCKET_TYPE_STREAM: GSocketType = 1;
328pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2;
329pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3;
330
331pub type GTlsAuthenticationMode = c_int;
332pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0;
333pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1;
334pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2;
335
336pub type GTlsChannelBindingError = c_int;
337pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0;
338pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1;
339pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2;
340pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3;
341pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4;
342
343pub type GTlsChannelBindingType = c_int;
344pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0;
345pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1;
346#[cfg(feature = "v2_74")]
347#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
348pub const G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2;
349
350pub type GTlsError = c_int;
351pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0;
352pub const G_TLS_ERROR_MISC: GTlsError = 1;
353pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2;
354pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3;
355pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4;
356pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5;
357pub const G_TLS_ERROR_EOF: GTlsError = 6;
358pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7;
359pub const G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8;
360
361pub type GTlsInteractionResult = c_int;
362pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0;
363pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1;
364pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2;
365
366pub type GTlsProtocolVersion = c_int;
367pub const G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0;
368pub const G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1;
369pub const G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2;
370pub const G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3;
371pub const G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4;
372pub const G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5;
373pub const G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201;
374pub const G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202;
375
376pub type GTlsRehandshakeMode = c_int;
377pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0;
378pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1;
379pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2;
380
381pub type GUnixSocketAddressType = c_int;
382pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0;
383pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1;
384pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2;
385pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3;
386pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4;
387
388pub type GZlibCompressorFormat = c_int;
389pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0;
390pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1;
391pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2;
392
393// Constants
394pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE;
395pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE;
396pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller\0";
397pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
398pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete\0";
399pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute\0";
400pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8] = b"access::can-read\0";
401pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8] = b"access::can-rename\0";
402pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8] = b"access::can-trash\0";
403pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8] = b"access::can-write\0";
404pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8] = b"dos::is-archive\0";
405pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8] = b"dos::is-mountpoint\0";
406pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8] = b"dos::is-system\0";
407pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8] = b"dos::reparse-point-tag\0";
408pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8] = b"etag::value\0";
409pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8] = b"filesystem::free\0";
410pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8] = b"filesystem::readonly\0";
411pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8] = b"filesystem::remote\0";
412pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8] = b"filesystem::size\0";
413pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8] = b"filesystem::type\0";
414pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8] = b"filesystem::used\0";
415pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8] = b"filesystem::use-preview\0";
416pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8] = b"gvfs::backend\0";
417pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8] = b"id::file\0";
418pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8] = b"id::filesystem\0";
419pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8] = b"mountable::can-eject\0";
420pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8] = b"mountable::can-mount\0";
421pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8] = b"mountable::can-poll\0";
422pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8] = b"mountable::can-start\0";
423pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8] = b"mountable::can-start-degraded\0";
424pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8] = b"mountable::can-stop\0";
425pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8] = b"mountable::can-unmount\0";
426pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8] = b"mountable::hal-udi\0";
427pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8] =
428    b"mountable::is-media-check-automatic\0";
429pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8] = b"mountable::start-stop-type\0";
430pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8] = b"mountable::unix-device\0";
431pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8] = b"mountable::unix-device-file\0";
432pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8] = b"owner::group\0";
433pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8] = b"owner::user\0";
434pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8] = b"owner::user-real\0";
435pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8] = b"preview::icon\0";
436pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8] = b"recent::modified\0";
437pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8] = b"selinux::context\0";
438pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8] = b"standard::allocated-size\0";
439pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8] = b"standard::content-type\0";
440pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8] = b"standard::copy-name\0";
441pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8] = b"standard::description\0";
442pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8] = b"standard::display-name\0";
443pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8] = b"standard::edit-name\0";
444pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8] = b"standard::fast-content-type\0";
445pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8] = b"standard::icon\0";
446pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8] = b"standard::is-backup\0";
447pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8] = b"standard::is-hidden\0";
448pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8] = b"standard::is-symlink\0";
449pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8] = b"standard::is-virtual\0";
450pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8] = b"standard::is-volatile\0";
451pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8] = b"standard::name\0";
452pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8] = b"standard::size\0";
453pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8] = b"standard::sort-order\0";
454pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8] = b"standard::symbolic-icon\0";
455pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8] = b"standard::symlink-target\0";
456pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8] = b"standard::target-uri\0";
457pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8] = b"standard::type\0";
458pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8] = b"thumbnail::failed\0";
459pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &[u8] = b"thumbnail::failed-large\0";
460pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &[u8] = b"thumbnail::failed-normal\0";
461pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &[u8] = b"thumbnail::failed-xlarge\0";
462pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &[u8] = b"thumbnail::failed-xxlarge\0";
463pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8] = b"thumbnail::is-valid\0";
464pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &[u8] = b"thumbnail::is-valid-large\0";
465pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &[u8] = b"thumbnail::is-valid-normal\0";
466pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &[u8] = b"thumbnail::is-valid-xlarge\0";
467pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &[u8] = b"thumbnail::is-valid-xxlarge\0";
468pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8] = b"thumbnail::path\0";
469pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &[u8] = b"thumbnail::path-large\0";
470pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &[u8] = b"thumbnail::path-normal\0";
471pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &[u8] = b"thumbnail::path-xlarge\0";
472pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &[u8] = b"thumbnail::path-xxlarge\0";
473pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8] = b"time::access\0";
474pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8] = b"time::access-nsec\0";
475pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8] = b"time::access-usec\0";
476pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8] = b"time::changed\0";
477pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8] = b"time::changed-nsec\0";
478pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8] = b"time::changed-usec\0";
479pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8] = b"time::created\0";
480pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8] = b"time::created-nsec\0";
481pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8] = b"time::created-usec\0";
482pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8] = b"time::modified\0";
483pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8] = b"time::modified-nsec\0";
484pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8] = b"time::modified-usec\0";
485pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8] = b"trash::deletion-date\0";
486pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8] = b"trash::item-count\0";
487pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8] = b"trash::orig-path\0";
488pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8] = b"unix::blocks\0";
489pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8] = b"unix::block-size\0";
490pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8] = b"unix::device\0";
491pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8] = b"unix::gid\0";
492pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8] = b"unix::inode\0";
493pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8] = b"unix::is-mountpoint\0";
494pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8] = b"unix::mode\0";
495pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8] = b"unix::nlink\0";
496pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8] = b"unix::rdev\0";
497pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8] = b"unix::uid\0";
498pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-memory-monitor\0";
499pub const G_MENU_ATTRIBUTE_ACTION: &[u8] = b"action\0";
500pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8] = b"action-namespace\0";
501pub const G_MENU_ATTRIBUTE_ICON: &[u8] = b"icon\0";
502pub const G_MENU_ATTRIBUTE_LABEL: &[u8] = b"label\0";
503pub const G_MENU_ATTRIBUTE_TARGET: &[u8] = b"target\0";
504pub const G_MENU_EXPORTER_MAX_SECTION_SIZE: c_int = 1000;
505pub const G_MENU_LINK_SECTION: &[u8] = b"section\0";
506pub const G_MENU_LINK_SUBMENU: &[u8] = b"submenu\0";
507pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-native-volume-monitor\0";
508pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-network-monitor\0";
509pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-power-profile-monitor\0";
510pub const G_PROXY_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy\0";
511pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy-resolver\0";
512pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gsettings-backend\0";
513pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gio-tls-backend\0";
514pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8] = b"1.3.6.1.5.5.7.3.2\0";
515pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8] = b"1.3.6.1.5.5.7.3.1\0";
516pub const G_VFS_EXTENSION_POINT_NAME: &[u8] = b"gio-vfs\0";
517pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8] = b"class\0";
518pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: &[u8] = b"hal-udi\0";
519pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8] = b"label\0";
520pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8] = b"nfs-mount\0";
521pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
522pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8] = b"uuid\0";
523pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-volume-monitor\0";
524
525// Flags
526pub type GAppInfoCreateFlags = c_uint;
527pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0;
528pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1;
529pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2;
530pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4;
531
532pub type GApplicationFlags = c_uint;
533pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0;
534#[cfg(feature = "v2_74")]
535#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
536pub const G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0;
537pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1;
538pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2;
539pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4;
540pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8;
541pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16;
542pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32;
543pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64;
544pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128;
545pub const G_APPLICATION_REPLACE: GApplicationFlags = 256;
546
547pub type GAskPasswordFlags = c_uint;
548pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1;
549pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2;
550pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4;
551pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8;
552pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16;
553pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32;
554
555pub type GBusNameOwnerFlags = c_uint;
556pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0;
557pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1;
558pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2;
559pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4;
560
561pub type GBusNameWatcherFlags = c_uint;
562pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0;
563pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1;
564
565pub type GConverterFlags = c_uint;
566pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0;
567pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1;
568pub const G_CONVERTER_FLUSH: GConverterFlags = 2;
569
570pub type GDBusCallFlags = c_uint;
571pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0;
572pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1;
573pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2;
574
575pub type GDBusCapabilityFlags = c_uint;
576pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0;
577pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1;
578
579pub type GDBusConnectionFlags = c_uint;
580pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0;
581pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1;
582pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2;
583pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4;
584pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8;
585pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16;
586pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusConnectionFlags = 32;
587#[cfg(feature = "v2_74")]
588#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
589pub const G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64;
590
591pub type GDBusInterfaceSkeletonFlags = c_uint;
592pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0;
593pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD:
594    GDBusInterfaceSkeletonFlags = 1;
595
596pub type GDBusMessageFlags = c_uint;
597pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0;
598pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1;
599pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2;
600pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4;
601
602pub type GDBusObjectManagerClientFlags = c_uint;
603pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0;
604pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1;
605
606pub type GDBusPropertyInfoFlags = c_uint;
607pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0;
608pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1;
609pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2;
610
611pub type GDBusProxyFlags = c_uint;
612pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0;
613pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1;
614pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2;
615pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4;
616pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8;
617pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16;
618pub const G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32;
619
620pub type GDBusSendMessageFlags = c_uint;
621pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0;
622pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1;
623
624pub type GDBusServerFlags = c_uint;
625pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0;
626pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1;
627pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2;
628pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags = 4;
629
630pub type GDBusSignalFlags = c_uint;
631pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0;
632pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1;
633pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2;
634pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4;
635
636pub type GDBusSubtreeFlags = c_uint;
637pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0;
638pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1;
639
640pub type GDriveStartFlags = c_uint;
641pub const G_DRIVE_START_NONE: GDriveStartFlags = 0;
642
643pub type GFileAttributeInfoFlags = c_uint;
644pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0;
645pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1;
646pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2;
647
648pub type GFileCopyFlags = c_uint;
649pub const G_FILE_COPY_NONE: GFileCopyFlags = 0;
650pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1;
651pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2;
652pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4;
653pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8;
654pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16;
655pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32;
656pub const G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME: GFileCopyFlags = 64;
657
658pub type GFileCreateFlags = c_uint;
659pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0;
660pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1;
661pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2;
662
663pub type GFileMeasureFlags = c_uint;
664pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0;
665pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2;
666pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4;
667pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8;
668
669pub type GFileMonitorFlags = c_uint;
670pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0;
671pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1;
672pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2;
673pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4;
674pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8;
675
676pub type GFileQueryInfoFlags = c_uint;
677pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0;
678pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1;
679
680pub type GIOModuleScopeFlags = c_uint;
681pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0;
682pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1;
683
684pub type GIOStreamSpliceFlags = c_uint;
685pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0;
686pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1;
687pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2;
688pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4;
689
690pub type GMountMountFlags = c_uint;
691pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0;
692
693pub type GMountUnmountFlags = c_uint;
694pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
695pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
696
697pub type GOutputStreamSpliceFlags = c_uint;
698pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
699pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1;
700pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2;
701
702pub type GResolverNameLookupFlags = c_uint;
703pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0;
704pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1;
705pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2;
706
707pub type GResourceFlags = c_uint;
708pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
709pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
710
711pub type GResourceLookupFlags = c_uint;
712pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
713
714pub type GSettingsBindFlags = c_uint;
715pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
716pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
717pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
718pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
719pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
720pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
721
722pub type GSubprocessFlags = c_uint;
723pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
724pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
725pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
726pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
727pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
728pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
729pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
730pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
731pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
732pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
733
734pub type GTestDBusFlags = c_uint;
735pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0;
736
737pub type GTlsCertificateFlags = c_uint;
738#[cfg(feature = "v2_74")]
739#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
740pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
741pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
742pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
743pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
744pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
745pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
746pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
747pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
748pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
749
750pub type GTlsCertificateRequestFlags = c_uint;
751pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0;
752
753pub type GTlsDatabaseLookupFlags = c_uint;
754pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
755pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
756
757pub type GTlsDatabaseVerifyFlags = c_uint;
758pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
759
760pub type GTlsPasswordFlags = c_uint;
761pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0;
762pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2;
763pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4;
764pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8;
765pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16;
766pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32;
767pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64;
768
769// Callbacks
770pub type GAsyncReadyCallback =
771    Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>;
772pub type GBusAcquiredCallback =
773    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
774pub type GBusNameAcquiredCallback =
775    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
776pub type GBusNameAppearedCallback =
777    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>;
778pub type GBusNameLostCallback =
779    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
780pub type GBusNameVanishedCallback =
781    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
782pub type GCancellableSourceFunc =
783    Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>;
784pub type GDBusInterfaceGetPropertyFunc = Option<
785    unsafe extern "C" fn(
786        *mut GDBusConnection,
787        *const c_char,
788        *const c_char,
789        *const c_char,
790        *const c_char,
791        *mut *mut glib::GError,
792        gpointer,
793    ) -> *mut glib::GVariant,
794>;
795pub type GDBusInterfaceMethodCallFunc = Option<
796    unsafe extern "C" fn(
797        *mut GDBusConnection,
798        *const c_char,
799        *const c_char,
800        *const c_char,
801        *const c_char,
802        *mut glib::GVariant,
803        *mut GDBusMethodInvocation,
804        gpointer,
805    ),
806>;
807pub type GDBusInterfaceSetPropertyFunc = Option<
808    unsafe extern "C" fn(
809        *mut GDBusConnection,
810        *const c_char,
811        *const c_char,
812        *const c_char,
813        *const c_char,
814        *mut glib::GVariant,
815        *mut *mut glib::GError,
816        gpointer,
817    ) -> gboolean,
818>;
819pub type GDBusMessageFilterFunction = Option<
820    unsafe extern "C" fn(
821        *mut GDBusConnection,
822        *mut GDBusMessage,
823        gboolean,
824        gpointer,
825    ) -> *mut GDBusMessage,
826>;
827pub type GDBusProxyTypeFunc = Option<
828    unsafe extern "C" fn(
829        *mut GDBusObjectManagerClient,
830        *const c_char,
831        *const c_char,
832        gpointer,
833    ) -> GType,
834>;
835pub type GDBusSignalCallback = Option<
836    unsafe extern "C" fn(
837        *mut GDBusConnection,
838        *const c_char,
839        *const c_char,
840        *const c_char,
841        *const c_char,
842        *mut glib::GVariant,
843        gpointer,
844    ),
845>;
846pub type GDBusSubtreeDispatchFunc = Option<
847    unsafe extern "C" fn(
848        *mut GDBusConnection,
849        *const c_char,
850        *const c_char,
851        *const c_char,
852        *const c_char,
853        *mut gpointer,
854        gpointer,
855    ) -> *const GDBusInterfaceVTable,
856>;
857pub type GDBusSubtreeEnumerateFunc = Option<
858    unsafe extern "C" fn(
859        *mut GDBusConnection,
860        *const c_char,
861        *const c_char,
862        gpointer,
863    ) -> *mut *mut c_char,
864>;
865pub type GDBusSubtreeIntrospectFunc = Option<
866    unsafe extern "C" fn(
867        *mut GDBusConnection,
868        *const c_char,
869        *const c_char,
870        *const c_char,
871        gpointer,
872    ) -> *mut *mut GDBusInterfaceInfo,
873>;
874pub type GDatagramBasedSourceFunc =
875    Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>;
876pub type GFileMeasureProgressCallback =
877    Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>;
878pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>;
879pub type GFileReadMoreCallback =
880    Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>;
881pub type GIOSchedulerJobFunc =
882    Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>;
883pub type GPollableSourceFunc =
884    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>;
885pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>;
886pub type GSettingsBindGetMapping =
887    Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>;
888pub type GSettingsBindSetMapping = Option<
889    unsafe extern "C" fn(
890        *const gobject::GValue,
891        *const glib::GVariantType,
892        gpointer,
893    ) -> *mut glib::GVariant,
894>;
895pub type GSettingsGetMapping =
896    Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>;
897pub type GSimpleAsyncThreadFunc =
898    Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>;
899pub type GSocketSourceFunc =
900    Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>;
901pub type GTaskThreadFunc =
902    Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>;
903pub type GVfsFileLookupFunc =
904    Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>;
905
906// Records
907#[derive(Copy, Clone)]
908#[repr(C)]
909pub struct GActionEntry {
910    pub name: *const c_char,
911    pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
912    pub parameter_type: *const c_char,
913    pub state: *const c_char,
914    pub change_state:
915        Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
916    pub padding: [size_t; 3],
917}
918
919impl ::std::fmt::Debug for GActionEntry {
920    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
921        f.debug_struct(&format!("GActionEntry @ {self:p}"))
922            .field("name", &self.name)
923            .field("activate", &self.activate)
924            .field("parameter_type", &self.parameter_type)
925            .field("state", &self.state)
926            .field("change_state", &self.change_state)
927            .finish()
928    }
929}
930
931#[derive(Copy, Clone)]
932#[repr(C)]
933pub struct GActionGroupInterface {
934    pub g_iface: gobject::GTypeInterface,
935    pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
936    pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>,
937    pub get_action_enabled:
938        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
939    pub get_action_parameter_type:
940        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
941    pub get_action_state_type:
942        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
943    pub get_action_state_hint:
944        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
945    pub get_action_state:
946        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
947    pub change_action_state:
948        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
949    pub activate_action:
950        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
951    pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
952    pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
953    pub action_enabled_changed:
954        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>,
955    pub action_state_changed:
956        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
957    pub query_action: Option<
958        unsafe extern "C" fn(
959            *mut GActionGroup,
960            *const c_char,
961            *mut gboolean,
962            *mut *const glib::GVariantType,
963            *mut *const glib::GVariantType,
964            *mut *mut glib::GVariant,
965            *mut *mut glib::GVariant,
966        ) -> gboolean,
967    >,
968}
969
970impl ::std::fmt::Debug for GActionGroupInterface {
971    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
972        f.debug_struct(&format!("GActionGroupInterface @ {self:p}"))
973            .field("g_iface", &self.g_iface)
974            .field("has_action", &self.has_action)
975            .field("list_actions", &self.list_actions)
976            .field("get_action_enabled", &self.get_action_enabled)
977            .field("get_action_parameter_type", &self.get_action_parameter_type)
978            .field("get_action_state_type", &self.get_action_state_type)
979            .field("get_action_state_hint", &self.get_action_state_hint)
980            .field("get_action_state", &self.get_action_state)
981            .field("change_action_state", &self.change_action_state)
982            .field("activate_action", &self.activate_action)
983            .field("action_added", &self.action_added)
984            .field("action_removed", &self.action_removed)
985            .field("action_enabled_changed", &self.action_enabled_changed)
986            .field("action_state_changed", &self.action_state_changed)
987            .field("query_action", &self.query_action)
988            .finish()
989    }
990}
991
992#[derive(Copy, Clone)]
993#[repr(C)]
994pub struct GActionInterface {
995    pub g_iface: gobject::GTypeInterface,
996    pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>,
997    pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
998    pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
999    pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
1000    pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>,
1001    pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
1002    pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
1003    pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
1004}
1005
1006impl ::std::fmt::Debug for GActionInterface {
1007    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1008        f.debug_struct(&format!("GActionInterface @ {self:p}"))
1009            .field("g_iface", &self.g_iface)
1010            .field("get_name", &self.get_name)
1011            .field("get_parameter_type", &self.get_parameter_type)
1012            .field("get_state_type", &self.get_state_type)
1013            .field("get_state_hint", &self.get_state_hint)
1014            .field("get_enabled", &self.get_enabled)
1015            .field("get_state", &self.get_state)
1016            .field("change_state", &self.change_state)
1017            .field("activate", &self.activate)
1018            .finish()
1019    }
1020}
1021
1022#[derive(Copy, Clone)]
1023#[repr(C)]
1024pub struct GActionMapInterface {
1025    pub g_iface: gobject::GTypeInterface,
1026    pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>,
1027    pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>,
1028    pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>,
1029}
1030
1031impl ::std::fmt::Debug for GActionMapInterface {
1032    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1033        f.debug_struct(&format!("GActionMapInterface @ {self:p}"))
1034            .field("g_iface", &self.g_iface)
1035            .field("lookup_action", &self.lookup_action)
1036            .field("add_action", &self.add_action)
1037            .field("remove_action", &self.remove_action)
1038            .finish()
1039    }
1040}
1041
1042#[derive(Copy, Clone)]
1043#[repr(C)]
1044pub struct GAppInfoIface {
1045    pub g_iface: gobject::GTypeInterface,
1046    pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>,
1047    pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>,
1048    pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1049    pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1050    pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1051    pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1052    pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>,
1053    pub launch: Option<
1054        unsafe extern "C" fn(
1055            *mut GAppInfo,
1056            *mut glib::GList,
1057            *mut GAppLaunchContext,
1058            *mut *mut glib::GError,
1059        ) -> gboolean,
1060    >,
1061    pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1062    pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1063    pub launch_uris: Option<
1064        unsafe extern "C" fn(
1065            *mut GAppInfo,
1066            *mut glib::GList,
1067            *mut GAppLaunchContext,
1068            *mut *mut glib::GError,
1069        ) -> gboolean,
1070    >,
1071    pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1072    pub set_as_default_for_type: Option<
1073        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1074    >,
1075    pub set_as_default_for_extension: Option<
1076        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1077    >,
1078    pub add_supports_type: Option<
1079        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1080    >,
1081    pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1082    pub remove_supports_type: Option<
1083        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1084    >,
1085    pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1086    pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1087    pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1088    pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1089    pub set_as_last_used_for_type: Option<
1090        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1091    >,
1092    pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>,
1093    pub launch_uris_async: Option<
1094        unsafe extern "C" fn(
1095            *mut GAppInfo,
1096            *mut glib::GList,
1097            *mut GAppLaunchContext,
1098            *mut GCancellable,
1099            GAsyncReadyCallback,
1100            gpointer,
1101        ),
1102    >,
1103    pub launch_uris_finish: Option<
1104        unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
1105    >,
1106}
1107
1108impl ::std::fmt::Debug for GAppInfoIface {
1109    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1110        f.debug_struct(&format!("GAppInfoIface @ {self:p}"))
1111            .field("g_iface", &self.g_iface)
1112            .field("dup", &self.dup)
1113            .field("equal", &self.equal)
1114            .field("get_id", &self.get_id)
1115            .field("get_name", &self.get_name)
1116            .field("get_description", &self.get_description)
1117            .field("get_executable", &self.get_executable)
1118            .field("get_icon", &self.get_icon)
1119            .field("launch", &self.launch)
1120            .field("supports_uris", &self.supports_uris)
1121            .field("supports_files", &self.supports_files)
1122            .field("launch_uris", &self.launch_uris)
1123            .field("should_show", &self.should_show)
1124            .field("set_as_default_for_type", &self.set_as_default_for_type)
1125            .field(
1126                "set_as_default_for_extension",
1127                &self.set_as_default_for_extension,
1128            )
1129            .field("add_supports_type", &self.add_supports_type)
1130            .field("can_remove_supports_type", &self.can_remove_supports_type)
1131            .field("remove_supports_type", &self.remove_supports_type)
1132            .field("can_delete", &self.can_delete)
1133            .field("do_delete", &self.do_delete)
1134            .field("get_commandline", &self.get_commandline)
1135            .field("get_display_name", &self.get_display_name)
1136            .field("set_as_last_used_for_type", &self.set_as_last_used_for_type)
1137            .field("get_supported_types", &self.get_supported_types)
1138            .field("launch_uris_async", &self.launch_uris_async)
1139            .field("launch_uris_finish", &self.launch_uris_finish)
1140            .finish()
1141    }
1142}
1143
1144#[derive(Copy, Clone)]
1145#[repr(C)]
1146pub struct GAppLaunchContextClass {
1147    pub parent_class: gobject::GObjectClass,
1148    pub get_display: Option<
1149        unsafe extern "C" fn(
1150            *mut GAppLaunchContext,
1151            *mut GAppInfo,
1152            *mut glib::GList,
1153        ) -> *mut c_char,
1154    >,
1155    pub get_startup_notify_id: Option<
1156        unsafe extern "C" fn(
1157            *mut GAppLaunchContext,
1158            *mut GAppInfo,
1159            *mut glib::GList,
1160        ) -> *mut c_char,
1161    >,
1162    pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>,
1163    pub launched:
1164        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1165    pub launch_started:
1166        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1167    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1168    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1169    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1170}
1171
1172impl ::std::fmt::Debug for GAppLaunchContextClass {
1173    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1174        f.debug_struct(&format!("GAppLaunchContextClass @ {self:p}"))
1175            .field("parent_class", &self.parent_class)
1176            .field("get_display", &self.get_display)
1177            .field("get_startup_notify_id", &self.get_startup_notify_id)
1178            .field("launch_failed", &self.launch_failed)
1179            .field("launched", &self.launched)
1180            .field("launch_started", &self.launch_started)
1181            .field("_g_reserved1", &self._g_reserved1)
1182            .field("_g_reserved2", &self._g_reserved2)
1183            .field("_g_reserved3", &self._g_reserved3)
1184            .finish()
1185    }
1186}
1187
1188#[repr(C)]
1189#[allow(dead_code)]
1190pub struct _GAppLaunchContextPrivate {
1191    _data: [u8; 0],
1192    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1193}
1194
1195pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
1196
1197#[derive(Copy, Clone)]
1198#[repr(C)]
1199pub struct GApplicationClass {
1200    pub parent_class: gobject::GObjectClass,
1201    pub startup: Option<unsafe extern "C" fn(*mut GApplication)>,
1202    pub activate: Option<unsafe extern "C" fn(*mut GApplication)>,
1203    pub open:
1204        Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>,
1205    pub command_line:
1206        Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>,
1207    pub local_command_line: Option<
1208        unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean,
1209    >,
1210    pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1211    pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1212    pub add_platform_data:
1213        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>,
1214    pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1215    pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1216    pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>,
1217    pub dbus_register: Option<
1218        unsafe extern "C" fn(
1219            *mut GApplication,
1220            *mut GDBusConnection,
1221            *const c_char,
1222            *mut *mut glib::GError,
1223        ) -> gboolean,
1224    >,
1225    pub dbus_unregister:
1226        Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>,
1227    pub handle_local_options:
1228        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>,
1229    pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>,
1230    pub padding: [gpointer; 7],
1231}
1232
1233impl ::std::fmt::Debug for GApplicationClass {
1234    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1235        f.debug_struct(&format!("GApplicationClass @ {self:p}"))
1236            .field("startup", &self.startup)
1237            .field("activate", &self.activate)
1238            .field("open", &self.open)
1239            .field("command_line", &self.command_line)
1240            .field("local_command_line", &self.local_command_line)
1241            .field("before_emit", &self.before_emit)
1242            .field("after_emit", &self.after_emit)
1243            .field("add_platform_data", &self.add_platform_data)
1244            .field("quit_mainloop", &self.quit_mainloop)
1245            .field("run_mainloop", &self.run_mainloop)
1246            .field("shutdown", &self.shutdown)
1247            .field("dbus_register", &self.dbus_register)
1248            .field("dbus_unregister", &self.dbus_unregister)
1249            .field("handle_local_options", &self.handle_local_options)
1250            .field("name_lost", &self.name_lost)
1251            .finish()
1252    }
1253}
1254
1255#[derive(Copy, Clone)]
1256#[repr(C)]
1257pub struct GApplicationCommandLineClass {
1258    pub parent_class: gobject::GObjectClass,
1259    pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1260    pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1261    pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>,
1262    pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>,
1263    pub padding: [gpointer; 10],
1264}
1265
1266impl ::std::fmt::Debug for GApplicationCommandLineClass {
1267    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1268        f.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}"))
1269            .field("print_literal", &self.print_literal)
1270            .field("printerr_literal", &self.printerr_literal)
1271            .field("get_stdin", &self.get_stdin)
1272            .field("done", &self.done)
1273            .finish()
1274    }
1275}
1276
1277#[repr(C)]
1278#[allow(dead_code)]
1279pub struct _GApplicationCommandLinePrivate {
1280    _data: [u8; 0],
1281    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1282}
1283
1284pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
1285
1286#[repr(C)]
1287#[allow(dead_code)]
1288pub struct _GApplicationPrivate {
1289    _data: [u8; 0],
1290    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1291}
1292
1293pub type GApplicationPrivate = _GApplicationPrivate;
1294
1295#[derive(Copy, Clone)]
1296#[repr(C)]
1297pub struct GAsyncInitableIface {
1298    pub g_iface: gobject::GTypeInterface,
1299    pub init_async: Option<
1300        unsafe extern "C" fn(
1301            *mut GAsyncInitable,
1302            c_int,
1303            *mut GCancellable,
1304            GAsyncReadyCallback,
1305            gpointer,
1306        ),
1307    >,
1308    pub init_finish: Option<
1309        unsafe extern "C" fn(
1310            *mut GAsyncInitable,
1311            *mut GAsyncResult,
1312            *mut *mut glib::GError,
1313        ) -> gboolean,
1314    >,
1315}
1316
1317impl ::std::fmt::Debug for GAsyncInitableIface {
1318    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1319        f.debug_struct(&format!("GAsyncInitableIface @ {self:p}"))
1320            .field("g_iface", &self.g_iface)
1321            .field("init_async", &self.init_async)
1322            .field("init_finish", &self.init_finish)
1323            .finish()
1324    }
1325}
1326
1327#[derive(Copy, Clone)]
1328#[repr(C)]
1329pub struct GAsyncResultIface {
1330    pub g_iface: gobject::GTypeInterface,
1331    pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>,
1332    pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>,
1333    pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>,
1334}
1335
1336impl ::std::fmt::Debug for GAsyncResultIface {
1337    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1338        f.debug_struct(&format!("GAsyncResultIface @ {self:p}"))
1339            .field("g_iface", &self.g_iface)
1340            .field("get_user_data", &self.get_user_data)
1341            .field("get_source_object", &self.get_source_object)
1342            .field("is_tagged", &self.is_tagged)
1343            .finish()
1344    }
1345}
1346
1347#[derive(Copy, Clone)]
1348#[repr(C)]
1349pub struct GBufferedInputStreamClass {
1350    pub parent_class: GFilterInputStreamClass,
1351    pub fill: Option<
1352        unsafe extern "C" fn(
1353            *mut GBufferedInputStream,
1354            ssize_t,
1355            *mut GCancellable,
1356            *mut *mut glib::GError,
1357        ) -> ssize_t,
1358    >,
1359    pub fill_async: Option<
1360        unsafe extern "C" fn(
1361            *mut GBufferedInputStream,
1362            ssize_t,
1363            c_int,
1364            *mut GCancellable,
1365            GAsyncReadyCallback,
1366            gpointer,
1367        ),
1368    >,
1369    pub fill_finish: Option<
1370        unsafe extern "C" fn(
1371            *mut GBufferedInputStream,
1372            *mut GAsyncResult,
1373            *mut *mut glib::GError,
1374        ) -> ssize_t,
1375    >,
1376    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1377    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1378    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1379    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1380    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1381}
1382
1383impl ::std::fmt::Debug for GBufferedInputStreamClass {
1384    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1385        f.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}"))
1386            .field("parent_class", &self.parent_class)
1387            .field("fill", &self.fill)
1388            .field("fill_async", &self.fill_async)
1389            .field("fill_finish", &self.fill_finish)
1390            .field("_g_reserved1", &self._g_reserved1)
1391            .field("_g_reserved2", &self._g_reserved2)
1392            .field("_g_reserved3", &self._g_reserved3)
1393            .field("_g_reserved4", &self._g_reserved4)
1394            .field("_g_reserved5", &self._g_reserved5)
1395            .finish()
1396    }
1397}
1398
1399#[repr(C)]
1400#[allow(dead_code)]
1401pub struct _GBufferedInputStreamPrivate {
1402    _data: [u8; 0],
1403    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1404}
1405
1406pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
1407
1408#[derive(Copy, Clone)]
1409#[repr(C)]
1410pub struct GBufferedOutputStreamClass {
1411    pub parent_class: GFilterOutputStreamClass,
1412    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1413    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1414}
1415
1416impl ::std::fmt::Debug for GBufferedOutputStreamClass {
1417    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1418        f.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}"))
1419            .field("parent_class", &self.parent_class)
1420            .field("_g_reserved1", &self._g_reserved1)
1421            .field("_g_reserved2", &self._g_reserved2)
1422            .finish()
1423    }
1424}
1425
1426#[repr(C)]
1427#[allow(dead_code)]
1428pub struct _GBufferedOutputStreamPrivate {
1429    _data: [u8; 0],
1430    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1431}
1432
1433pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
1434
1435#[derive(Copy, Clone)]
1436#[repr(C)]
1437pub struct GCancellableClass {
1438    pub parent_class: gobject::GObjectClass,
1439    pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>,
1440    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1441    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1442    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1443    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1444    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1445}
1446
1447impl ::std::fmt::Debug for GCancellableClass {
1448    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1449        f.debug_struct(&format!("GCancellableClass @ {self:p}"))
1450            .field("parent_class", &self.parent_class)
1451            .field("cancelled", &self.cancelled)
1452            .field("_g_reserved1", &self._g_reserved1)
1453            .field("_g_reserved2", &self._g_reserved2)
1454            .field("_g_reserved3", &self._g_reserved3)
1455            .field("_g_reserved4", &self._g_reserved4)
1456            .field("_g_reserved5", &self._g_reserved5)
1457            .finish()
1458    }
1459}
1460
1461#[repr(C)]
1462#[allow(dead_code)]
1463pub struct _GCancellablePrivate {
1464    _data: [u8; 0],
1465    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1466}
1467
1468pub type GCancellablePrivate = _GCancellablePrivate;
1469
1470#[derive(Copy, Clone)]
1471#[repr(C)]
1472pub struct GCharsetConverterClass {
1473    pub parent_class: gobject::GObjectClass,
1474}
1475
1476impl ::std::fmt::Debug for GCharsetConverterClass {
1477    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1478        f.debug_struct(&format!("GCharsetConverterClass @ {self:p}"))
1479            .field("parent_class", &self.parent_class)
1480            .finish()
1481    }
1482}
1483
1484#[derive(Copy, Clone)]
1485#[repr(C)]
1486pub struct GConverterIface {
1487    pub g_iface: gobject::GTypeInterface,
1488    pub convert: Option<
1489        unsafe extern "C" fn(
1490            *mut GConverter,
1491            *mut u8,
1492            size_t,
1493            *mut u8,
1494            size_t,
1495            GConverterFlags,
1496            *mut size_t,
1497            *mut size_t,
1498            *mut *mut glib::GError,
1499        ) -> GConverterResult,
1500    >,
1501    pub reset: Option<unsafe extern "C" fn(*mut GConverter)>,
1502}
1503
1504impl ::std::fmt::Debug for GConverterIface {
1505    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1506        f.debug_struct(&format!("GConverterIface @ {self:p}"))
1507            .field("g_iface", &self.g_iface)
1508            .field("convert", &self.convert)
1509            .field("reset", &self.reset)
1510            .finish()
1511    }
1512}
1513
1514#[derive(Copy, Clone)]
1515#[repr(C)]
1516pub struct GConverterInputStreamClass {
1517    pub parent_class: GFilterInputStreamClass,
1518    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1519    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1520    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1521    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1522    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1523}
1524
1525impl ::std::fmt::Debug for GConverterInputStreamClass {
1526    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1527        f.debug_struct(&format!("GConverterInputStreamClass @ {self:p}"))
1528            .field("parent_class", &self.parent_class)
1529            .field("_g_reserved1", &self._g_reserved1)
1530            .field("_g_reserved2", &self._g_reserved2)
1531            .field("_g_reserved3", &self._g_reserved3)
1532            .field("_g_reserved4", &self._g_reserved4)
1533            .field("_g_reserved5", &self._g_reserved5)
1534            .finish()
1535    }
1536}
1537
1538#[repr(C)]
1539#[allow(dead_code)]
1540pub struct _GConverterInputStreamPrivate {
1541    _data: [u8; 0],
1542    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1543}
1544
1545pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
1546
1547#[derive(Copy, Clone)]
1548#[repr(C)]
1549pub struct GConverterOutputStreamClass {
1550    pub parent_class: GFilterOutputStreamClass,
1551    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1552    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1553    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1554    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1555    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1556}
1557
1558impl ::std::fmt::Debug for GConverterOutputStreamClass {
1559    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1560        f.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}"))
1561            .field("parent_class", &self.parent_class)
1562            .field("_g_reserved1", &self._g_reserved1)
1563            .field("_g_reserved2", &self._g_reserved2)
1564            .field("_g_reserved3", &self._g_reserved3)
1565            .field("_g_reserved4", &self._g_reserved4)
1566            .field("_g_reserved5", &self._g_reserved5)
1567            .finish()
1568    }
1569}
1570
1571#[repr(C)]
1572#[allow(dead_code)]
1573pub struct _GConverterOutputStreamPrivate {
1574    _data: [u8; 0],
1575    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1576}
1577
1578pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
1579
1580#[repr(C)]
1581#[allow(dead_code)]
1582pub struct _GCredentialsClass {
1583    _data: [u8; 0],
1584    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1585}
1586
1587pub type GCredentialsClass = _GCredentialsClass;
1588
1589#[derive(Copy, Clone)]
1590#[repr(C)]
1591pub struct GDBusActionGroupClass {
1592    pub parent_class: gobject::GObjectClass,
1593}
1594
1595impl ::std::fmt::Debug for GDBusActionGroupClass {
1596    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1597        f.debug_struct(&format!("GDBusActionGroupClass @ {self:p}"))
1598            .field("parent_class", &self.parent_class)
1599            .finish()
1600    }
1601}
1602
1603#[derive(Copy, Clone)]
1604#[repr(C)]
1605pub struct GDBusAnnotationInfo {
1606    pub ref_count: c_int,
1607    pub key: *mut c_char,
1608    pub value: *mut c_char,
1609    pub annotations: *mut *mut GDBusAnnotationInfo,
1610}
1611
1612impl ::std::fmt::Debug for GDBusAnnotationInfo {
1613    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1614        f.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}"))
1615            .field("ref_count", &self.ref_count)
1616            .field("key", &self.key)
1617            .field("value", &self.value)
1618            .field("annotations", &self.annotations)
1619            .finish()
1620    }
1621}
1622
1623#[derive(Copy, Clone)]
1624#[repr(C)]
1625pub struct GDBusArgInfo {
1626    pub ref_count: c_int,
1627    pub name: *mut c_char,
1628    pub signature: *mut c_char,
1629    pub annotations: *mut *mut GDBusAnnotationInfo,
1630}
1631
1632impl ::std::fmt::Debug for GDBusArgInfo {
1633    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1634        f.debug_struct(&format!("GDBusArgInfo @ {self:p}"))
1635            .field("ref_count", &self.ref_count)
1636            .field("name", &self.name)
1637            .field("signature", &self.signature)
1638            .field("annotations", &self.annotations)
1639            .finish()
1640    }
1641}
1642
1643#[derive(Copy, Clone)]
1644#[repr(C)]
1645pub struct GDBusErrorEntry {
1646    pub error_code: c_int,
1647    pub dbus_error_name: *const c_char,
1648}
1649
1650impl ::std::fmt::Debug for GDBusErrorEntry {
1651    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1652        f.debug_struct(&format!("GDBusErrorEntry @ {self:p}"))
1653            .field("error_code", &self.error_code)
1654            .field("dbus_error_name", &self.dbus_error_name)
1655            .finish()
1656    }
1657}
1658
1659#[derive(Copy, Clone)]
1660#[repr(C)]
1661pub struct GDBusInterfaceIface {
1662    pub parent_iface: gobject::GTypeInterface,
1663    pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
1664    pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1665    pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>,
1666    pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1667}
1668
1669impl ::std::fmt::Debug for GDBusInterfaceIface {
1670    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1671        f.debug_struct(&format!("GDBusInterfaceIface @ {self:p}"))
1672            .field("parent_iface", &self.parent_iface)
1673            .field("get_info", &self.get_info)
1674            .field("get_object", &self.get_object)
1675            .field("set_object", &self.set_object)
1676            .field("dup_object", &self.dup_object)
1677            .finish()
1678    }
1679}
1680
1681#[derive(Copy, Clone)]
1682#[repr(C)]
1683pub struct GDBusInterfaceInfo {
1684    pub ref_count: c_int,
1685    pub name: *mut c_char,
1686    pub methods: *mut *mut GDBusMethodInfo,
1687    pub signals: *mut *mut GDBusSignalInfo,
1688    pub properties: *mut *mut GDBusPropertyInfo,
1689    pub annotations: *mut *mut GDBusAnnotationInfo,
1690}
1691
1692impl ::std::fmt::Debug for GDBusInterfaceInfo {
1693    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1694        f.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}"))
1695            .field("ref_count", &self.ref_count)
1696            .field("name", &self.name)
1697            .field("methods", &self.methods)
1698            .field("signals", &self.signals)
1699            .field("properties", &self.properties)
1700            .field("annotations", &self.annotations)
1701            .finish()
1702    }
1703}
1704
1705#[derive(Copy, Clone)]
1706#[repr(C)]
1707pub struct GDBusInterfaceSkeletonClass {
1708    pub parent_class: gobject::GObjectClass,
1709    pub get_info:
1710        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>,
1711    pub get_vtable:
1712        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>,
1713    pub get_properties:
1714        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>,
1715    pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>,
1716    pub method_dispatch: Option<
1717        unsafe extern "C" fn(
1718            *mut GDBusInterfaceSkeleton,
1719            GDBusInterfaceMethodCallFunc,
1720            *mut GDBusMethodInvocation,
1721            GDBusInterfaceSkeletonFlags,
1722            *mut GDBusObject,
1723        ),
1724    >,
1725    pub vfunc_padding: [gpointer; 7],
1726    pub g_authorize_method: Option<
1727        unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean,
1728    >,
1729    pub signal_padding: [gpointer; 8],
1730}
1731
1732impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass {
1733    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1734        f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}"))
1735            .field("parent_class", &self.parent_class)
1736            .field("get_info", &self.get_info)
1737            .field("get_vtable", &self.get_vtable)
1738            .field("get_properties", &self.get_properties)
1739            .field("flush", &self.flush)
1740            .field("method_dispatch", &self.method_dispatch)
1741            .field("g_authorize_method", &self.g_authorize_method)
1742            .finish()
1743    }
1744}
1745
1746#[repr(C)]
1747#[allow(dead_code)]
1748pub struct _GDBusInterfaceSkeletonPrivate {
1749    _data: [u8; 0],
1750    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1751}
1752
1753pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
1754
1755#[derive(Copy, Clone)]
1756#[repr(C)]
1757pub struct GDBusInterfaceVTable {
1758    pub method_call: GDBusInterfaceMethodCallFunc,
1759    pub get_property: GDBusInterfaceGetPropertyFunc,
1760    pub set_property: GDBusInterfaceSetPropertyFunc,
1761    pub padding: [gpointer; 8],
1762}
1763
1764impl ::std::fmt::Debug for GDBusInterfaceVTable {
1765    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1766        f.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}"))
1767            .field("method_call", &self.method_call)
1768            .field("get_property", &self.get_property)
1769            .field("set_property", &self.set_property)
1770            .finish()
1771    }
1772}
1773
1774#[derive(Copy, Clone)]
1775#[repr(C)]
1776pub struct GDBusMethodInfo {
1777    pub ref_count: c_int,
1778    pub name: *mut c_char,
1779    pub in_args: *mut *mut GDBusArgInfo,
1780    pub out_args: *mut *mut GDBusArgInfo,
1781    pub annotations: *mut *mut GDBusAnnotationInfo,
1782}
1783
1784impl ::std::fmt::Debug for GDBusMethodInfo {
1785    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1786        f.debug_struct(&format!("GDBusMethodInfo @ {self:p}"))
1787            .field("ref_count", &self.ref_count)
1788            .field("name", &self.name)
1789            .field("in_args", &self.in_args)
1790            .field("out_args", &self.out_args)
1791            .field("annotations", &self.annotations)
1792            .finish()
1793    }
1794}
1795
1796#[derive(Copy, Clone)]
1797#[repr(C)]
1798pub struct GDBusNodeInfo {
1799    pub ref_count: c_int,
1800    pub path: *mut c_char,
1801    pub interfaces: *mut *mut GDBusInterfaceInfo,
1802    pub nodes: *mut *mut GDBusNodeInfo,
1803    pub annotations: *mut *mut GDBusAnnotationInfo,
1804}
1805
1806impl ::std::fmt::Debug for GDBusNodeInfo {
1807    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1808        f.debug_struct(&format!("GDBusNodeInfo @ {self:p}"))
1809            .field("ref_count", &self.ref_count)
1810            .field("path", &self.path)
1811            .field("interfaces", &self.interfaces)
1812            .field("nodes", &self.nodes)
1813            .field("annotations", &self.annotations)
1814            .finish()
1815    }
1816}
1817
1818#[derive(Copy, Clone)]
1819#[repr(C)]
1820pub struct GDBusObjectIface {
1821    pub parent_iface: gobject::GTypeInterface,
1822    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>,
1823    pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>,
1824    pub get_interface:
1825        Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>,
1826    pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1827    pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1828}
1829
1830impl ::std::fmt::Debug for GDBusObjectIface {
1831    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1832        f.debug_struct(&format!("GDBusObjectIface @ {self:p}"))
1833            .field("parent_iface", &self.parent_iface)
1834            .field("get_object_path", &self.get_object_path)
1835            .field("get_interfaces", &self.get_interfaces)
1836            .field("get_interface", &self.get_interface)
1837            .field("interface_added", &self.interface_added)
1838            .field("interface_removed", &self.interface_removed)
1839            .finish()
1840    }
1841}
1842
1843#[derive(Copy, Clone)]
1844#[repr(C)]
1845pub struct GDBusObjectManagerClientClass {
1846    pub parent_class: gobject::GObjectClass,
1847    pub interface_proxy_signal: Option<
1848        unsafe extern "C" fn(
1849            *mut GDBusObjectManagerClient,
1850            *mut GDBusObjectProxy,
1851            *mut GDBusProxy,
1852            *const c_char,
1853            *const c_char,
1854            *mut glib::GVariant,
1855        ),
1856    >,
1857    pub interface_proxy_properties_changed: Option<
1858        unsafe extern "C" fn(
1859            *mut GDBusObjectManagerClient,
1860            *mut GDBusObjectProxy,
1861            *mut GDBusProxy,
1862            *mut glib::GVariant,
1863            *const *const c_char,
1864        ),
1865    >,
1866    pub padding: [gpointer; 8],
1867}
1868
1869impl ::std::fmt::Debug for GDBusObjectManagerClientClass {
1870    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1871        f.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}"))
1872            .field("parent_class", &self.parent_class)
1873            .field("interface_proxy_signal", &self.interface_proxy_signal)
1874            .field(
1875                "interface_proxy_properties_changed",
1876                &self.interface_proxy_properties_changed,
1877            )
1878            .finish()
1879    }
1880}
1881
1882#[repr(C)]
1883#[allow(dead_code)]
1884pub struct _GDBusObjectManagerClientPrivate {
1885    _data: [u8; 0],
1886    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1887}
1888
1889pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
1890
1891#[derive(Copy, Clone)]
1892#[repr(C)]
1893pub struct GDBusObjectManagerIface {
1894    pub parent_iface: gobject::GTypeInterface,
1895    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>,
1896    pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>,
1897    pub get_object:
1898        Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>,
1899    pub get_interface: Option<
1900        unsafe extern "C" fn(
1901            *mut GDBusObjectManager,
1902            *const c_char,
1903            *const c_char,
1904        ) -> *mut GDBusInterface,
1905    >,
1906    pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1907    pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1908    pub interface_added: Option<
1909        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1910    >,
1911    pub interface_removed: Option<
1912        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1913    >,
1914}
1915
1916impl ::std::fmt::Debug for GDBusObjectManagerIface {
1917    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1918        f.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}"))
1919            .field("parent_iface", &self.parent_iface)
1920            .field("get_object_path", &self.get_object_path)
1921            .field("get_objects", &self.get_objects)
1922            .field("get_object", &self.get_object)
1923            .field("get_interface", &self.get_interface)
1924            .field("object_added", &self.object_added)
1925            .field("object_removed", &self.object_removed)
1926            .field("interface_added", &self.interface_added)
1927            .field("interface_removed", &self.interface_removed)
1928            .finish()
1929    }
1930}
1931
1932#[derive(Copy, Clone)]
1933#[repr(C)]
1934pub struct GDBusObjectManagerServerClass {
1935    pub parent_class: gobject::GObjectClass,
1936    pub padding: [gpointer; 8],
1937}
1938
1939impl ::std::fmt::Debug for GDBusObjectManagerServerClass {
1940    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1941        f.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}"))
1942            .field("parent_class", &self.parent_class)
1943            .finish()
1944    }
1945}
1946
1947#[repr(C)]
1948#[allow(dead_code)]
1949pub struct _GDBusObjectManagerServerPrivate {
1950    _data: [u8; 0],
1951    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1952}
1953
1954pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
1955
1956#[derive(Copy, Clone)]
1957#[repr(C)]
1958pub struct GDBusObjectProxyClass {
1959    pub parent_class: gobject::GObjectClass,
1960    pub padding: [gpointer; 8],
1961}
1962
1963impl ::std::fmt::Debug for GDBusObjectProxyClass {
1964    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1965        f.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}"))
1966            .field("parent_class", &self.parent_class)
1967            .finish()
1968    }
1969}
1970
1971#[repr(C)]
1972#[allow(dead_code)]
1973pub struct _GDBusObjectProxyPrivate {
1974    _data: [u8; 0],
1975    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1976}
1977
1978pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
1979
1980#[derive(Copy, Clone)]
1981#[repr(C)]
1982pub struct GDBusObjectSkeletonClass {
1983    pub parent_class: gobject::GObjectClass,
1984    pub authorize_method: Option<
1985        unsafe extern "C" fn(
1986            *mut GDBusObjectSkeleton,
1987            *mut GDBusInterfaceSkeleton,
1988            *mut GDBusMethodInvocation,
1989        ) -> gboolean,
1990    >,
1991    pub padding: [gpointer; 8],
1992}
1993
1994impl ::std::fmt::Debug for GDBusObjectSkeletonClass {
1995    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1996        f.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}"))
1997            .field("parent_class", &self.parent_class)
1998            .field("authorize_method", &self.authorize_method)
1999            .finish()
2000    }
2001}
2002
2003#[repr(C)]
2004#[allow(dead_code)]
2005pub struct _GDBusObjectSkeletonPrivate {
2006    _data: [u8; 0],
2007    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2008}
2009
2010pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
2011
2012#[derive(Copy, Clone)]
2013#[repr(C)]
2014pub struct GDBusPropertyInfo {
2015    pub ref_count: c_int,
2016    pub name: *mut c_char,
2017    pub signature: *mut c_char,
2018    pub flags: GDBusPropertyInfoFlags,
2019    pub annotations: *mut *mut GDBusAnnotationInfo,
2020}
2021
2022impl ::std::fmt::Debug for GDBusPropertyInfo {
2023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2024        f.debug_struct(&format!("GDBusPropertyInfo @ {self:p}"))
2025            .field("ref_count", &self.ref_count)
2026            .field("name", &self.name)
2027            .field("signature", &self.signature)
2028            .field("flags", &self.flags)
2029            .field("annotations", &self.annotations)
2030            .finish()
2031    }
2032}
2033
2034#[derive(Copy, Clone)]
2035#[repr(C)]
2036pub struct GDBusProxyClass {
2037    pub parent_class: gobject::GObjectClass,
2038    pub g_properties_changed:
2039        Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>,
2040    pub g_signal: Option<
2041        unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant),
2042    >,
2043    pub padding: [gpointer; 32],
2044}
2045
2046impl ::std::fmt::Debug for GDBusProxyClass {
2047    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2048        f.debug_struct(&format!("GDBusProxyClass @ {self:p}"))
2049            .field("g_properties_changed", &self.g_properties_changed)
2050            .field("g_signal", &self.g_signal)
2051            .finish()
2052    }
2053}
2054
2055#[repr(C)]
2056#[allow(dead_code)]
2057pub struct _GDBusProxyPrivate {
2058    _data: [u8; 0],
2059    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2060}
2061
2062pub type GDBusProxyPrivate = _GDBusProxyPrivate;
2063
2064#[derive(Copy, Clone)]
2065#[repr(C)]
2066pub struct GDBusSignalInfo {
2067    pub ref_count: c_int,
2068    pub name: *mut c_char,
2069    pub args: *mut *mut GDBusArgInfo,
2070    pub annotations: *mut *mut GDBusAnnotationInfo,
2071}
2072
2073impl ::std::fmt::Debug for GDBusSignalInfo {
2074    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2075        f.debug_struct(&format!("GDBusSignalInfo @ {self:p}"))
2076            .field("ref_count", &self.ref_count)
2077            .field("name", &self.name)
2078            .field("args", &self.args)
2079            .field("annotations", &self.annotations)
2080            .finish()
2081    }
2082}
2083
2084#[derive(Copy, Clone)]
2085#[repr(C)]
2086pub struct GDBusSubtreeVTable {
2087    pub enumerate: GDBusSubtreeEnumerateFunc,
2088    pub introspect: GDBusSubtreeIntrospectFunc,
2089    pub dispatch: GDBusSubtreeDispatchFunc,
2090    pub padding: [gpointer; 8],
2091}
2092
2093impl ::std::fmt::Debug for GDBusSubtreeVTable {
2094    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2095        f.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}"))
2096            .field("enumerate", &self.enumerate)
2097            .field("introspect", &self.introspect)
2098            .field("dispatch", &self.dispatch)
2099            .finish()
2100    }
2101}
2102
2103#[derive(Copy, Clone)]
2104#[repr(C)]
2105pub struct GDataInputStreamClass {
2106    pub parent_class: GBufferedInputStreamClass,
2107    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2108    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2109    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2110    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2111    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2112}
2113
2114impl ::std::fmt::Debug for GDataInputStreamClass {
2115    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2116        f.debug_struct(&format!("GDataInputStreamClass @ {self:p}"))
2117            .field("parent_class", &self.parent_class)
2118            .field("_g_reserved1", &self._g_reserved1)
2119            .field("_g_reserved2", &self._g_reserved2)
2120            .field("_g_reserved3", &self._g_reserved3)
2121            .field("_g_reserved4", &self._g_reserved4)
2122            .field("_g_reserved5", &self._g_reserved5)
2123            .finish()
2124    }
2125}
2126
2127#[repr(C)]
2128#[allow(dead_code)]
2129pub struct _GDataInputStreamPrivate {
2130    _data: [u8; 0],
2131    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2132}
2133
2134pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
2135
2136#[derive(Copy, Clone)]
2137#[repr(C)]
2138pub struct GDataOutputStreamClass {
2139    pub parent_class: GFilterOutputStreamClass,
2140    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2141    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2142    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2143    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2144    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2145}
2146
2147impl ::std::fmt::Debug for GDataOutputStreamClass {
2148    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2149        f.debug_struct(&format!("GDataOutputStreamClass @ {self:p}"))
2150            .field("parent_class", &self.parent_class)
2151            .field("_g_reserved1", &self._g_reserved1)
2152            .field("_g_reserved2", &self._g_reserved2)
2153            .field("_g_reserved3", &self._g_reserved3)
2154            .field("_g_reserved4", &self._g_reserved4)
2155            .field("_g_reserved5", &self._g_reserved5)
2156            .finish()
2157    }
2158}
2159
2160#[repr(C)]
2161#[allow(dead_code)]
2162pub struct _GDataOutputStreamPrivate {
2163    _data: [u8; 0],
2164    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2165}
2166
2167pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
2168
2169#[derive(Copy, Clone)]
2170#[repr(C)]
2171pub struct GDatagramBasedInterface {
2172    pub g_iface: gobject::GTypeInterface,
2173    pub receive_messages: Option<
2174        unsafe extern "C" fn(
2175            *mut GDatagramBased,
2176            *mut GInputMessage,
2177            c_uint,
2178            c_int,
2179            i64,
2180            *mut GCancellable,
2181            *mut *mut glib::GError,
2182        ) -> c_int,
2183    >,
2184    pub send_messages: Option<
2185        unsafe extern "C" fn(
2186            *mut GDatagramBased,
2187            *mut GOutputMessage,
2188            c_uint,
2189            c_int,
2190            i64,
2191            *mut GCancellable,
2192            *mut *mut glib::GError,
2193        ) -> c_int,
2194    >,
2195    pub create_source: Option<
2196        unsafe extern "C" fn(
2197            *mut GDatagramBased,
2198            glib::GIOCondition,
2199            *mut GCancellable,
2200        ) -> *mut glib::GSource,
2201    >,
2202    pub condition_check:
2203        Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>,
2204    pub condition_wait: Option<
2205        unsafe extern "C" fn(
2206            *mut GDatagramBased,
2207            glib::GIOCondition,
2208            i64,
2209            *mut GCancellable,
2210            *mut *mut glib::GError,
2211        ) -> gboolean,
2212    >,
2213}
2214
2215impl ::std::fmt::Debug for GDatagramBasedInterface {
2216    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2217        f.debug_struct(&format!("GDatagramBasedInterface @ {self:p}"))
2218            .field("g_iface", &self.g_iface)
2219            .field("receive_messages", &self.receive_messages)
2220            .field("send_messages", &self.send_messages)
2221            .field("create_source", &self.create_source)
2222            .field("condition_check", &self.condition_check)
2223            .field("condition_wait", &self.condition_wait)
2224            .finish()
2225    }
2226}
2227
2228#[derive(Copy, Clone)]
2229#[repr(C)]
2230pub struct GDebugControllerDBusClass {
2231    pub parent_class: gobject::GObjectClass,
2232    pub authorize: Option<
2233        unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean,
2234    >,
2235    pub padding: [gpointer; 12],
2236}
2237
2238impl ::std::fmt::Debug for GDebugControllerDBusClass {
2239    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2240        f.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}"))
2241            .field("parent_class", &self.parent_class)
2242            .field("authorize", &self.authorize)
2243            .field("padding", &self.padding)
2244            .finish()
2245    }
2246}
2247
2248#[derive(Copy, Clone)]
2249#[repr(C)]
2250pub struct GDebugControllerInterface {
2251    pub g_iface: gobject::GTypeInterface,
2252}
2253
2254impl ::std::fmt::Debug for GDebugControllerInterface {
2255    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2256        f.debug_struct(&format!("GDebugControllerInterface @ {self:p}"))
2257            .finish()
2258    }
2259}
2260
2261#[derive(Copy, Clone)]
2262#[repr(C)]
2263pub struct GDriveIface {
2264    pub g_iface: gobject::GTypeInterface,
2265    pub changed: Option<unsafe extern "C" fn(*mut GDrive)>,
2266    pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>,
2267    pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2268    pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2269    pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2270    pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2271    pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>,
2272    pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2273    pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2274    pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2275    pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2276    pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2277    pub eject: Option<
2278        unsafe extern "C" fn(
2279            *mut GDrive,
2280            GMountUnmountFlags,
2281            *mut GCancellable,
2282            GAsyncReadyCallback,
2283            gpointer,
2284        ),
2285    >,
2286    pub eject_finish: Option<
2287        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2288    >,
2289    pub poll_for_media:
2290        Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
2291    pub poll_for_media_finish: Option<
2292        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2293    >,
2294    pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>,
2295    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>,
2296    pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>,
2297    pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2298    pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2299    pub start: Option<
2300        unsafe extern "C" fn(
2301            *mut GDrive,
2302            GDriveStartFlags,
2303            *mut GMountOperation,
2304            *mut GCancellable,
2305            GAsyncReadyCallback,
2306            gpointer,
2307        ),
2308    >,
2309    pub start_finish: Option<
2310        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2311    >,
2312    pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2313    pub stop: Option<
2314        unsafe extern "C" fn(
2315            *mut GDrive,
2316            GMountUnmountFlags,
2317            *mut GMountOperation,
2318            *mut GCancellable,
2319            GAsyncReadyCallback,
2320            gpointer,
2321        ),
2322    >,
2323    pub stop_finish: Option<
2324        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2325    >,
2326    pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2327    pub eject_with_operation: Option<
2328        unsafe extern "C" fn(
2329            *mut GDrive,
2330            GMountUnmountFlags,
2331            *mut GMountOperation,
2332            *mut GCancellable,
2333            GAsyncReadyCallback,
2334            gpointer,
2335        ),
2336    >,
2337    pub eject_with_operation_finish: Option<
2338        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2339    >,
2340    pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2341    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2342    pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2343}
2344
2345impl ::std::fmt::Debug for GDriveIface {
2346    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2347        f.debug_struct(&format!("GDriveIface @ {self:p}"))
2348            .field("g_iface", &self.g_iface)
2349            .field("changed", &self.changed)
2350            .field("disconnected", &self.disconnected)
2351            .field("eject_button", &self.eject_button)
2352            .field("get_name", &self.get_name)
2353            .field("get_icon", &self.get_icon)
2354            .field("has_volumes", &self.has_volumes)
2355            .field("get_volumes", &self.get_volumes)
2356            .field("is_media_removable", &self.is_media_removable)
2357            .field("has_media", &self.has_media)
2358            .field("is_media_check_automatic", &self.is_media_check_automatic)
2359            .field("can_eject", &self.can_eject)
2360            .field("can_poll_for_media", &self.can_poll_for_media)
2361            .field("eject", &self.eject)
2362            .field("eject_finish", &self.eject_finish)
2363            .field("poll_for_media", &self.poll_for_media)
2364            .field("poll_for_media_finish", &self.poll_for_media_finish)
2365            .field("get_identifier", &self.get_identifier)
2366            .field("enumerate_identifiers", &self.enumerate_identifiers)
2367            .field("get_start_stop_type", &self.get_start_stop_type)
2368            .field("can_start", &self.can_start)
2369            .field("can_start_degraded", &self.can_start_degraded)
2370            .field("start", &self.start)
2371            .field("start_finish", &self.start_finish)
2372            .field("can_stop", &self.can_stop)
2373            .field("stop", &self.stop)
2374            .field("stop_finish", &self.stop_finish)
2375            .field("stop_button", &self.stop_button)
2376            .field("eject_with_operation", &self.eject_with_operation)
2377            .field(
2378                "eject_with_operation_finish",
2379                &self.eject_with_operation_finish,
2380            )
2381            .field("get_sort_key", &self.get_sort_key)
2382            .field("get_symbolic_icon", &self.get_symbolic_icon)
2383            .field("is_removable", &self.is_removable)
2384            .finish()
2385    }
2386}
2387
2388#[derive(Copy, Clone)]
2389#[repr(C)]
2390pub struct GDtlsClientConnectionInterface {
2391    pub g_iface: gobject::GTypeInterface,
2392}
2393
2394impl ::std::fmt::Debug for GDtlsClientConnectionInterface {
2395    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2396        f.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}"))
2397            .field("g_iface", &self.g_iface)
2398            .finish()
2399    }
2400}
2401
2402#[derive(Copy, Clone)]
2403#[repr(C)]
2404pub struct GDtlsConnectionInterface {
2405    pub g_iface: gobject::GTypeInterface,
2406    pub accept_certificate: Option<
2407        unsafe extern "C" fn(
2408            *mut GDtlsConnection,
2409            *mut GTlsCertificate,
2410            GTlsCertificateFlags,
2411        ) -> gboolean,
2412    >,
2413    pub handshake: Option<
2414        unsafe extern "C" fn(
2415            *mut GDtlsConnection,
2416            *mut GCancellable,
2417            *mut *mut glib::GError,
2418        ) -> gboolean,
2419    >,
2420    pub handshake_async: Option<
2421        unsafe extern "C" fn(
2422            *mut GDtlsConnection,
2423            c_int,
2424            *mut GCancellable,
2425            GAsyncReadyCallback,
2426            gpointer,
2427        ),
2428    >,
2429    pub handshake_finish: Option<
2430        unsafe extern "C" fn(
2431            *mut GDtlsConnection,
2432            *mut GAsyncResult,
2433            *mut *mut glib::GError,
2434        ) -> gboolean,
2435    >,
2436    pub shutdown: Option<
2437        unsafe extern "C" fn(
2438            *mut GDtlsConnection,
2439            gboolean,
2440            gboolean,
2441            *mut GCancellable,
2442            *mut *mut glib::GError,
2443        ) -> gboolean,
2444    >,
2445    pub shutdown_async: Option<
2446        unsafe extern "C" fn(
2447            *mut GDtlsConnection,
2448            gboolean,
2449            gboolean,
2450            c_int,
2451            *mut GCancellable,
2452            GAsyncReadyCallback,
2453            gpointer,
2454        ),
2455    >,
2456    pub shutdown_finish: Option<
2457        unsafe extern "C" fn(
2458            *mut GDtlsConnection,
2459            *mut GAsyncResult,
2460            *mut *mut glib::GError,
2461        ) -> gboolean,
2462    >,
2463    pub set_advertised_protocols:
2464        Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>,
2465    pub get_negotiated_protocol:
2466        Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>,
2467    pub get_binding_data: Option<
2468        unsafe extern "C" fn(
2469            *mut GDtlsConnection,
2470            GTlsChannelBindingType,
2471            *mut glib::GByteArray,
2472            *mut *mut glib::GError,
2473        ) -> gboolean,
2474    >,
2475}
2476
2477impl ::std::fmt::Debug for GDtlsConnectionInterface {
2478    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2479        f.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}"))
2480            .field("g_iface", &self.g_iface)
2481            .field("accept_certificate", &self.accept_certificate)
2482            .field("handshake", &self.handshake)
2483            .field("handshake_async", &self.handshake_async)
2484            .field("handshake_finish", &self.handshake_finish)
2485            .field("shutdown", &self.shutdown)
2486            .field("shutdown_async", &self.shutdown_async)
2487            .field("shutdown_finish", &self.shutdown_finish)
2488            .field("set_advertised_protocols", &self.set_advertised_protocols)
2489            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
2490            .field("get_binding_data", &self.get_binding_data)
2491            .finish()
2492    }
2493}
2494
2495#[derive(Copy, Clone)]
2496#[repr(C)]
2497pub struct GDtlsServerConnectionInterface {
2498    pub g_iface: gobject::GTypeInterface,
2499}
2500
2501impl ::std::fmt::Debug for GDtlsServerConnectionInterface {
2502    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2503        f.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}"))
2504            .field("g_iface", &self.g_iface)
2505            .finish()
2506    }
2507}
2508
2509#[derive(Copy, Clone)]
2510#[repr(C)]
2511pub struct GEmblemClass {
2512    pub parent_class: gobject::GObjectClass,
2513}
2514
2515impl ::std::fmt::Debug for GEmblemClass {
2516    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2517        f.debug_struct(&format!("GEmblemClass @ {self:p}"))
2518            .field("parent_class", &self.parent_class)
2519            .finish()
2520    }
2521}
2522
2523#[derive(Copy, Clone)]
2524#[repr(C)]
2525pub struct GEmblemedIconClass {
2526    pub parent_class: gobject::GObjectClass,
2527}
2528
2529impl ::std::fmt::Debug for GEmblemedIconClass {
2530    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2531        f.debug_struct(&format!("GEmblemedIconClass @ {self:p}"))
2532            .field("parent_class", &self.parent_class)
2533            .finish()
2534    }
2535}
2536
2537#[repr(C)]
2538#[allow(dead_code)]
2539pub struct _GEmblemedIconPrivate {
2540    _data: [u8; 0],
2541    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2542}
2543
2544pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
2545
2546#[derive(Copy, Clone)]
2547#[repr(C)]
2548pub struct GFileAttributeInfo {
2549    pub name: *mut c_char,
2550    pub type_: GFileAttributeType,
2551    pub flags: GFileAttributeInfoFlags,
2552}
2553
2554impl ::std::fmt::Debug for GFileAttributeInfo {
2555    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2556        f.debug_struct(&format!("GFileAttributeInfo @ {self:p}"))
2557            .field("name", &self.name)
2558            .field("type_", &self.type_)
2559            .field("flags", &self.flags)
2560            .finish()
2561    }
2562}
2563
2564#[derive(Copy, Clone)]
2565#[repr(C)]
2566pub struct GFileAttributeInfoList {
2567    pub infos: *mut GFileAttributeInfo,
2568    pub n_infos: c_int,
2569}
2570
2571impl ::std::fmt::Debug for GFileAttributeInfoList {
2572    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2573        f.debug_struct(&format!("GFileAttributeInfoList @ {self:p}"))
2574            .field("infos", &self.infos)
2575            .field("n_infos", &self.n_infos)
2576            .finish()
2577    }
2578}
2579
2580#[repr(C)]
2581#[allow(dead_code)]
2582pub struct GFileAttributeMatcher {
2583    _data: [u8; 0],
2584    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2585}
2586
2587impl ::std::fmt::Debug for GFileAttributeMatcher {
2588    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2589        f.debug_struct(&format!("GFileAttributeMatcher @ {self:p}"))
2590            .finish()
2591    }
2592}
2593
2594#[derive(Copy, Clone)]
2595#[repr(C)]
2596pub struct GFileEnumeratorClass {
2597    pub parent_class: gobject::GObjectClass,
2598    pub next_file: Option<
2599        unsafe extern "C" fn(
2600            *mut GFileEnumerator,
2601            *mut GCancellable,
2602            *mut *mut glib::GError,
2603        ) -> *mut GFileInfo,
2604    >,
2605    pub close_fn: Option<
2606        unsafe extern "C" fn(
2607            *mut GFileEnumerator,
2608            *mut GCancellable,
2609            *mut *mut glib::GError,
2610        ) -> gboolean,
2611    >,
2612    pub next_files_async: Option<
2613        unsafe extern "C" fn(
2614            *mut GFileEnumerator,
2615            c_int,
2616            c_int,
2617            *mut GCancellable,
2618            GAsyncReadyCallback,
2619            gpointer,
2620        ),
2621    >,
2622    pub next_files_finish: Option<
2623        unsafe extern "C" fn(
2624            *mut GFileEnumerator,
2625            *mut GAsyncResult,
2626            *mut *mut glib::GError,
2627        ) -> *mut glib::GList,
2628    >,
2629    pub close_async: Option<
2630        unsafe extern "C" fn(
2631            *mut GFileEnumerator,
2632            c_int,
2633            *mut GCancellable,
2634            GAsyncReadyCallback,
2635            gpointer,
2636        ),
2637    >,
2638    pub close_finish: Option<
2639        unsafe extern "C" fn(
2640            *mut GFileEnumerator,
2641            *mut GAsyncResult,
2642            *mut *mut glib::GError,
2643        ) -> gboolean,
2644    >,
2645    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2646    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2647    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2648    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2649    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2650    pub _g_reserved6: Option<unsafe extern "C" fn()>,
2651    pub _g_reserved7: Option<unsafe extern "C" fn()>,
2652}
2653
2654impl ::std::fmt::Debug for GFileEnumeratorClass {
2655    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2656        f.debug_struct(&format!("GFileEnumeratorClass @ {self:p}"))
2657            .field("parent_class", &self.parent_class)
2658            .field("next_file", &self.next_file)
2659            .field("close_fn", &self.close_fn)
2660            .field("next_files_async", &self.next_files_async)
2661            .field("next_files_finish", &self.next_files_finish)
2662            .field("close_async", &self.close_async)
2663            .field("close_finish", &self.close_finish)
2664            .field("_g_reserved1", &self._g_reserved1)
2665            .field("_g_reserved2", &self._g_reserved2)
2666            .field("_g_reserved3", &self._g_reserved3)
2667            .field("_g_reserved4", &self._g_reserved4)
2668            .field("_g_reserved5", &self._g_reserved5)
2669            .field("_g_reserved6", &self._g_reserved6)
2670            .field("_g_reserved7", &self._g_reserved7)
2671            .finish()
2672    }
2673}
2674
2675#[repr(C)]
2676#[allow(dead_code)]
2677pub struct _GFileEnumeratorPrivate {
2678    _data: [u8; 0],
2679    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2680}
2681
2682pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
2683
2684#[derive(Copy, Clone)]
2685#[repr(C)]
2686pub struct GFileIOStreamClass {
2687    pub parent_class: GIOStreamClass,
2688    pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>,
2689    pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2690    pub seek: Option<
2691        unsafe extern "C" fn(
2692            *mut GFileIOStream,
2693            i64,
2694            glib::GSeekType,
2695            *mut GCancellable,
2696            *mut *mut glib::GError,
2697        ) -> gboolean,
2698    >,
2699    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2700    pub truncate_fn: Option<
2701        unsafe extern "C" fn(
2702            *mut GFileIOStream,
2703            i64,
2704            *mut GCancellable,
2705            *mut *mut glib::GError,
2706        ) -> gboolean,
2707    >,
2708    pub query_info: Option<
2709        unsafe extern "C" fn(
2710            *mut GFileIOStream,
2711            *const c_char,
2712            *mut GCancellable,
2713            *mut *mut glib::GError,
2714        ) -> *mut GFileInfo,
2715    >,
2716    pub query_info_async: Option<
2717        unsafe extern "C" fn(
2718            *mut GFileIOStream,
2719            *const c_char,
2720            c_int,
2721            *mut GCancellable,
2722            GAsyncReadyCallback,
2723            gpointer,
2724        ),
2725    >,
2726    pub query_info_finish: Option<
2727        unsafe extern "C" fn(
2728            *mut GFileIOStream,
2729            *mut GAsyncResult,
2730            *mut *mut glib::GError,
2731        ) -> *mut GFileInfo,
2732    >,
2733    pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>,
2734    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2735    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2736    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2737    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2738    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2739}
2740
2741impl ::std::fmt::Debug for GFileIOStreamClass {
2742    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2743        f.debug_struct(&format!("GFileIOStreamClass @ {self:p}"))
2744            .field("parent_class", &self.parent_class)
2745            .field("tell", &self.tell)
2746            .field("can_seek", &self.can_seek)
2747            .field("seek", &self.seek)
2748            .field("can_truncate", &self.can_truncate)
2749            .field("truncate_fn", &self.truncate_fn)
2750            .field("query_info", &self.query_info)
2751            .field("query_info_async", &self.query_info_async)
2752            .field("query_info_finish", &self.query_info_finish)
2753            .field("get_etag", &self.get_etag)
2754            .field("_g_reserved1", &self._g_reserved1)
2755            .field("_g_reserved2", &self._g_reserved2)
2756            .field("_g_reserved3", &self._g_reserved3)
2757            .field("_g_reserved4", &self._g_reserved4)
2758            .field("_g_reserved5", &self._g_reserved5)
2759            .finish()
2760    }
2761}
2762
2763#[repr(C)]
2764#[allow(dead_code)]
2765pub struct _GFileIOStreamPrivate {
2766    _data: [u8; 0],
2767    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2768}
2769
2770pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
2771
2772#[repr(C)]
2773#[allow(dead_code)]
2774pub struct _GFileIconClass {
2775    _data: [u8; 0],
2776    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2777}
2778
2779pub type GFileIconClass = _GFileIconClass;
2780
2781#[derive(Copy, Clone)]
2782#[repr(C)]
2783pub struct GFileIface {
2784    pub g_iface: gobject::GTypeInterface,
2785    pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2786    pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>,
2787    pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2788    pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>,
2789    pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>,
2790    pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2791    pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2792    pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2793    pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2794    pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2795    pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2796    pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2797    pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>,
2798    pub resolve_relative_path:
2799        Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>,
2800    pub get_child_for_display_name: Option<
2801        unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile,
2802    >,
2803    pub enumerate_children: Option<
2804        unsafe extern "C" fn(
2805            *mut GFile,
2806            *const c_char,
2807            GFileQueryInfoFlags,
2808            *mut GCancellable,
2809            *mut *mut glib::GError,
2810        ) -> *mut GFileEnumerator,
2811    >,
2812    pub enumerate_children_async: Option<
2813        unsafe extern "C" fn(
2814            *mut GFile,
2815            *const c_char,
2816            GFileQueryInfoFlags,
2817            c_int,
2818            *mut GCancellable,
2819            GAsyncReadyCallback,
2820            gpointer,
2821        ),
2822    >,
2823    pub enumerate_children_finish: Option<
2824        unsafe extern "C" fn(
2825            *mut GFile,
2826            *mut GAsyncResult,
2827            *mut *mut glib::GError,
2828        ) -> *mut GFileEnumerator,
2829    >,
2830    pub query_info: Option<
2831        unsafe extern "C" fn(
2832            *mut GFile,
2833            *const c_char,
2834            GFileQueryInfoFlags,
2835            *mut GCancellable,
2836            *mut *mut glib::GError,
2837        ) -> *mut GFileInfo,
2838    >,
2839    pub query_info_async: Option<
2840        unsafe extern "C" fn(
2841            *mut GFile,
2842            *const c_char,
2843            GFileQueryInfoFlags,
2844            c_int,
2845            *mut GCancellable,
2846            GAsyncReadyCallback,
2847            gpointer,
2848        ),
2849    >,
2850    pub query_info_finish: Option<
2851        unsafe extern "C" fn(
2852            *mut GFile,
2853            *mut GAsyncResult,
2854            *mut *mut glib::GError,
2855        ) -> *mut GFileInfo,
2856    >,
2857    pub query_filesystem_info: Option<
2858        unsafe extern "C" fn(
2859            *mut GFile,
2860            *const c_char,
2861            *mut GCancellable,
2862            *mut *mut glib::GError,
2863        ) -> *mut GFileInfo,
2864    >,
2865    pub query_filesystem_info_async: Option<
2866        unsafe extern "C" fn(
2867            *mut GFile,
2868            *const c_char,
2869            c_int,
2870            *mut GCancellable,
2871            GAsyncReadyCallback,
2872            gpointer,
2873        ),
2874    >,
2875    pub query_filesystem_info_finish: Option<
2876        unsafe extern "C" fn(
2877            *mut GFile,
2878            *mut GAsyncResult,
2879            *mut *mut glib::GError,
2880        ) -> *mut GFileInfo,
2881    >,
2882    pub find_enclosing_mount: Option<
2883        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount,
2884    >,
2885    pub find_enclosing_mount_async: Option<
2886        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2887    >,
2888    pub find_enclosing_mount_finish: Option<
2889        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount,
2890    >,
2891    pub set_display_name: Option<
2892        unsafe extern "C" fn(
2893            *mut GFile,
2894            *const c_char,
2895            *mut GCancellable,
2896            *mut *mut glib::GError,
2897        ) -> *mut GFile,
2898    >,
2899    pub set_display_name_async: Option<
2900        unsafe extern "C" fn(
2901            *mut GFile,
2902            *const c_char,
2903            c_int,
2904            *mut GCancellable,
2905            GAsyncReadyCallback,
2906            gpointer,
2907        ),
2908    >,
2909    pub set_display_name_finish: Option<
2910        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
2911    >,
2912    pub query_settable_attributes: Option<
2913        unsafe extern "C" fn(
2914            *mut GFile,
2915            *mut GCancellable,
2916            *mut *mut glib::GError,
2917        ) -> *mut GFileAttributeInfoList,
2918    >,
2919    pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
2920    pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
2921    pub query_writable_namespaces: Option<
2922        unsafe extern "C" fn(
2923            *mut GFile,
2924            *mut GCancellable,
2925            *mut *mut glib::GError,
2926        ) -> *mut GFileAttributeInfoList,
2927    >,
2928    pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
2929    pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
2930    pub set_attribute: Option<
2931        unsafe extern "C" fn(
2932            *mut GFile,
2933            *const c_char,
2934            GFileAttributeType,
2935            gpointer,
2936            GFileQueryInfoFlags,
2937            *mut GCancellable,
2938            *mut *mut glib::GError,
2939        ) -> gboolean,
2940    >,
2941    pub set_attributes_from_info: Option<
2942        unsafe extern "C" fn(
2943            *mut GFile,
2944            *mut GFileInfo,
2945            GFileQueryInfoFlags,
2946            *mut GCancellable,
2947            *mut *mut glib::GError,
2948        ) -> gboolean,
2949    >,
2950    pub set_attributes_async: Option<
2951        unsafe extern "C" fn(
2952            *mut GFile,
2953            *mut GFileInfo,
2954            GFileQueryInfoFlags,
2955            c_int,
2956            *mut GCancellable,
2957            GAsyncReadyCallback,
2958            gpointer,
2959        ),
2960    >,
2961    pub set_attributes_finish: Option<
2962        unsafe extern "C" fn(
2963            *mut GFile,
2964            *mut GAsyncResult,
2965            *mut *mut GFileInfo,
2966            *mut *mut glib::GError,
2967        ) -> gboolean,
2968    >,
2969    pub read_fn: Option<
2970        unsafe extern "C" fn(
2971            *mut GFile,
2972            *mut GCancellable,
2973            *mut *mut glib::GError,
2974        ) -> *mut GFileInputStream,
2975    >,
2976    pub read_async: Option<
2977        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2978    >,
2979    pub read_finish: Option<
2980        unsafe extern "C" fn(
2981            *mut GFile,
2982            *mut GAsyncResult,
2983            *mut *mut glib::GError,
2984        ) -> *mut GFileInputStream,
2985    >,
2986    pub append_to: Option<
2987        unsafe extern "C" fn(
2988            *mut GFile,
2989            GFileCreateFlags,
2990            *mut GCancellable,
2991            *mut *mut glib::GError,
2992        ) -> *mut GFileOutputStream,
2993    >,
2994    pub append_to_async: Option<
2995        unsafe extern "C" fn(
2996            *mut GFile,
2997            GFileCreateFlags,
2998            c_int,
2999            *mut GCancellable,
3000            GAsyncReadyCallback,
3001            gpointer,
3002        ),
3003    >,
3004    pub append_to_finish: Option<
3005        unsafe extern "C" fn(
3006            *mut GFile,
3007            *mut GAsyncResult,
3008            *mut *mut glib::GError,
3009        ) -> *mut GFileOutputStream,
3010    >,
3011    pub create: Option<
3012        unsafe extern "C" fn(
3013            *mut GFile,
3014            GFileCreateFlags,
3015            *mut GCancellable,
3016            *mut *mut glib::GError,
3017        ) -> *mut GFileOutputStream,
3018    >,
3019    pub create_async: Option<
3020        unsafe extern "C" fn(
3021            *mut GFile,
3022            GFileCreateFlags,
3023            c_int,
3024            *mut GCancellable,
3025            GAsyncReadyCallback,
3026            gpointer,
3027        ),
3028    >,
3029    pub create_finish: Option<
3030        unsafe extern "C" fn(
3031            *mut GFile,
3032            *mut GAsyncResult,
3033            *mut *mut glib::GError,
3034        ) -> *mut GFileOutputStream,
3035    >,
3036    pub replace: Option<
3037        unsafe extern "C" fn(
3038            *mut GFile,
3039            *const c_char,
3040            gboolean,
3041            GFileCreateFlags,
3042            *mut GCancellable,
3043            *mut *mut glib::GError,
3044        ) -> *mut GFileOutputStream,
3045    >,
3046    pub replace_async: Option<
3047        unsafe extern "C" fn(
3048            *mut GFile,
3049            *const c_char,
3050            gboolean,
3051            GFileCreateFlags,
3052            c_int,
3053            *mut GCancellable,
3054            GAsyncReadyCallback,
3055            gpointer,
3056        ),
3057    >,
3058    pub replace_finish: Option<
3059        unsafe extern "C" fn(
3060            *mut GFile,
3061            *mut GAsyncResult,
3062            *mut *mut glib::GError,
3063        ) -> *mut GFileOutputStream,
3064    >,
3065    pub delete_file: Option<
3066        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3067    >,
3068    pub delete_file_async: Option<
3069        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3070    >,
3071    pub delete_file_finish: Option<
3072        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3073    >,
3074    pub trash: Option<
3075        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3076    >,
3077    pub trash_async: Option<
3078        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3079    >,
3080    pub trash_finish: Option<
3081        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3082    >,
3083    pub make_directory: Option<
3084        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3085    >,
3086    pub make_directory_async: Option<
3087        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3088    >,
3089    pub make_directory_finish: Option<
3090        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3091    >,
3092    pub make_symbolic_link: Option<
3093        unsafe extern "C" fn(
3094            *mut GFile,
3095            *const c_char,
3096            *mut GCancellable,
3097            *mut *mut glib::GError,
3098        ) -> gboolean,
3099    >,
3100    pub make_symbolic_link_async: Option<
3101        unsafe extern "C" fn(
3102            *mut GFile,
3103            *const c_char,
3104            c_int,
3105            *mut GCancellable,
3106            GAsyncReadyCallback,
3107            gpointer,
3108        ),
3109    >,
3110    pub make_symbolic_link_finish: Option<
3111        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3112    >,
3113    pub copy: Option<
3114        unsafe extern "C" fn(
3115            *mut GFile,
3116            *mut GFile,
3117            GFileCopyFlags,
3118            *mut GCancellable,
3119            GFileProgressCallback,
3120            gpointer,
3121            *mut *mut glib::GError,
3122        ) -> gboolean,
3123    >,
3124    pub copy_async: Option<
3125        unsafe extern "C" fn(
3126            *mut GFile,
3127            *mut GFile,
3128            GFileCopyFlags,
3129            c_int,
3130            *mut GCancellable,
3131            GFileProgressCallback,
3132            gpointer,
3133            GAsyncReadyCallback,
3134            gpointer,
3135        ),
3136    >,
3137    pub copy_finish: Option<
3138        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3139    >,
3140    pub move_: Option<
3141        unsafe extern "C" fn(
3142            *mut GFile,
3143            *mut GFile,
3144            GFileCopyFlags,
3145            *mut GCancellable,
3146            GFileProgressCallback,
3147            gpointer,
3148            *mut *mut glib::GError,
3149        ) -> gboolean,
3150    >,
3151    pub move_async: Option<
3152        unsafe extern "C" fn(
3153            *mut GFile,
3154            *mut GFile,
3155            GFileCopyFlags,
3156            c_int,
3157            *mut GCancellable,
3158            GFileProgressCallback,
3159            gpointer,
3160            GAsyncReadyCallback,
3161            gpointer,
3162        ),
3163    >,
3164    pub move_finish: Option<
3165        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3166    >,
3167    pub mount_mountable: Option<
3168        unsafe extern "C" fn(
3169            *mut GFile,
3170            GMountMountFlags,
3171            *mut GMountOperation,
3172            *mut GCancellable,
3173            GAsyncReadyCallback,
3174            gpointer,
3175        ),
3176    >,
3177    pub mount_mountable_finish: Option<
3178        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
3179    >,
3180    pub unmount_mountable: Option<
3181        unsafe extern "C" fn(
3182            *mut GFile,
3183            GMountUnmountFlags,
3184            *mut GCancellable,
3185            GAsyncReadyCallback,
3186            gpointer,
3187        ),
3188    >,
3189    pub unmount_mountable_finish: Option<
3190        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3191    >,
3192    pub eject_mountable: Option<
3193        unsafe extern "C" fn(
3194            *mut GFile,
3195            GMountUnmountFlags,
3196            *mut GCancellable,
3197            GAsyncReadyCallback,
3198            gpointer,
3199        ),
3200    >,
3201    pub eject_mountable_finish: Option<
3202        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3203    >,
3204    pub mount_enclosing_volume: Option<
3205        unsafe extern "C" fn(
3206            *mut GFile,
3207            GMountMountFlags,
3208            *mut GMountOperation,
3209            *mut GCancellable,
3210            GAsyncReadyCallback,
3211            gpointer,
3212        ),
3213    >,
3214    pub mount_enclosing_volume_finish: Option<
3215        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3216    >,
3217    pub monitor_dir: Option<
3218        unsafe extern "C" fn(
3219            *mut GFile,
3220            GFileMonitorFlags,
3221            *mut GCancellable,
3222            *mut *mut glib::GError,
3223        ) -> *mut GFileMonitor,
3224    >,
3225    pub monitor_file: Option<
3226        unsafe extern "C" fn(
3227            *mut GFile,
3228            GFileMonitorFlags,
3229            *mut GCancellable,
3230            *mut *mut glib::GError,
3231        ) -> *mut GFileMonitor,
3232    >,
3233    pub open_readwrite: Option<
3234        unsafe extern "C" fn(
3235            *mut GFile,
3236            *mut GCancellable,
3237            *mut *mut glib::GError,
3238        ) -> *mut GFileIOStream,
3239    >,
3240    pub open_readwrite_async: Option<
3241        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3242    >,
3243    pub open_readwrite_finish: Option<
3244        unsafe extern "C" fn(
3245            *mut GFile,
3246            *mut GAsyncResult,
3247            *mut *mut glib::GError,
3248        ) -> *mut GFileIOStream,
3249    >,
3250    pub create_readwrite: Option<
3251        unsafe extern "C" fn(
3252            *mut GFile,
3253            GFileCreateFlags,
3254            *mut GCancellable,
3255            *mut *mut glib::GError,
3256        ) -> *mut GFileIOStream,
3257    >,
3258    pub create_readwrite_async: Option<
3259        unsafe extern "C" fn(
3260            *mut GFile,
3261            GFileCreateFlags,
3262            c_int,
3263            *mut GCancellable,
3264            GAsyncReadyCallback,
3265            gpointer,
3266        ),
3267    >,
3268    pub create_readwrite_finish: Option<
3269        unsafe extern "C" fn(
3270            *mut GFile,
3271            *mut GAsyncResult,
3272            *mut *mut glib::GError,
3273        ) -> *mut GFileIOStream,
3274    >,
3275    pub replace_readwrite: Option<
3276        unsafe extern "C" fn(
3277            *mut GFile,
3278            *const c_char,
3279            gboolean,
3280            GFileCreateFlags,
3281            *mut GCancellable,
3282            *mut *mut glib::GError,
3283        ) -> *mut GFileIOStream,
3284    >,
3285    pub replace_readwrite_async: Option<
3286        unsafe extern "C" fn(
3287            *mut GFile,
3288            *const c_char,
3289            gboolean,
3290            GFileCreateFlags,
3291            c_int,
3292            *mut GCancellable,
3293            GAsyncReadyCallback,
3294            gpointer,
3295        ),
3296    >,
3297    pub replace_readwrite_finish: Option<
3298        unsafe extern "C" fn(
3299            *mut GFile,
3300            *mut GAsyncResult,
3301            *mut *mut glib::GError,
3302        ) -> *mut GFileIOStream,
3303    >,
3304    pub start_mountable: Option<
3305        unsafe extern "C" fn(
3306            *mut GFile,
3307            GDriveStartFlags,
3308            *mut GMountOperation,
3309            *mut GCancellable,
3310            GAsyncReadyCallback,
3311            gpointer,
3312        ),
3313    >,
3314    pub start_mountable_finish: Option<
3315        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3316    >,
3317    pub stop_mountable: Option<
3318        unsafe extern "C" fn(
3319            *mut GFile,
3320            GMountUnmountFlags,
3321            *mut GMountOperation,
3322            *mut GCancellable,
3323            GAsyncReadyCallback,
3324            gpointer,
3325        ),
3326    >,
3327    pub stop_mountable_finish: Option<
3328        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3329    >,
3330    pub supports_thread_contexts: gboolean,
3331    pub unmount_mountable_with_operation: Option<
3332        unsafe extern "C" fn(
3333            *mut GFile,
3334            GMountUnmountFlags,
3335            *mut GMountOperation,
3336            *mut GCancellable,
3337            GAsyncReadyCallback,
3338            gpointer,
3339        ),
3340    >,
3341    pub unmount_mountable_with_operation_finish: Option<
3342        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3343    >,
3344    pub eject_mountable_with_operation: Option<
3345        unsafe extern "C" fn(
3346            *mut GFile,
3347            GMountUnmountFlags,
3348            *mut GMountOperation,
3349            *mut GCancellable,
3350            GAsyncReadyCallback,
3351            gpointer,
3352        ),
3353    >,
3354    pub eject_mountable_with_operation_finish: Option<
3355        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3356    >,
3357    pub poll_mountable:
3358        Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
3359    pub poll_mountable_finish: Option<
3360        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3361    >,
3362    pub measure_disk_usage: Option<
3363        unsafe extern "C" fn(
3364            *mut GFile,
3365            GFileMeasureFlags,
3366            *mut GCancellable,
3367            GFileMeasureProgressCallback,
3368            gpointer,
3369            *mut u64,
3370            *mut u64,
3371            *mut u64,
3372            *mut *mut glib::GError,
3373        ) -> gboolean,
3374    >,
3375    pub measure_disk_usage_async: Option<
3376        unsafe extern "C" fn(
3377            *mut GFile,
3378            GFileMeasureFlags,
3379            c_int,
3380            *mut GCancellable,
3381            GFileMeasureProgressCallback,
3382            gpointer,
3383            GAsyncReadyCallback,
3384            gpointer,
3385        ),
3386    >,
3387    pub measure_disk_usage_finish: Option<
3388        unsafe extern "C" fn(
3389            *mut GFile,
3390            *mut GAsyncResult,
3391            *mut u64,
3392            *mut u64,
3393            *mut u64,
3394            *mut *mut glib::GError,
3395        ) -> gboolean,
3396    >,
3397    pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>,
3398}
3399
3400impl ::std::fmt::Debug for GFileIface {
3401    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3402        f.debug_struct(&format!("GFileIface @ {self:p}"))
3403            .field("g_iface", &self.g_iface)
3404            .field("dup", &self.dup)
3405            .field("hash", &self.hash)
3406            .field("equal", &self.equal)
3407            .field("is_native", &self.is_native)
3408            .field("has_uri_scheme", &self.has_uri_scheme)
3409            .field("get_uri_scheme", &self.get_uri_scheme)
3410            .field("get_basename", &self.get_basename)
3411            .field("get_path", &self.get_path)
3412            .field("get_uri", &self.get_uri)
3413            .field("get_parse_name", &self.get_parse_name)
3414            .field("get_parent", &self.get_parent)
3415            .field("prefix_matches", &self.prefix_matches)
3416            .field("get_relative_path", &self.get_relative_path)
3417            .field("resolve_relative_path", &self.resolve_relative_path)
3418            .field(
3419                "get_child_for_display_name",
3420                &self.get_child_for_display_name,
3421            )
3422            .field("enumerate_children", &self.enumerate_children)
3423            .field("enumerate_children_async", &self.enumerate_children_async)
3424            .field("enumerate_children_finish", &self.enumerate_children_finish)
3425            .field("query_info", &self.query_info)
3426            .field("query_info_async", &self.query_info_async)
3427            .field("query_info_finish", &self.query_info_finish)
3428            .field("query_filesystem_info", &self.query_filesystem_info)
3429            .field(
3430                "query_filesystem_info_async",
3431                &self.query_filesystem_info_async,
3432            )
3433            .field(
3434                "query_filesystem_info_finish",
3435                &self.query_filesystem_info_finish,
3436            )
3437            .field("find_enclosing_mount", &self.find_enclosing_mount)
3438            .field(
3439                "find_enclosing_mount_async",
3440                &self.find_enclosing_mount_async,
3441            )
3442            .field(
3443                "find_enclosing_mount_finish",
3444                &self.find_enclosing_mount_finish,
3445            )
3446            .field("set_display_name", &self.set_display_name)
3447            .field("set_display_name_async", &self.set_display_name_async)
3448            .field("set_display_name_finish", &self.set_display_name_finish)
3449            .field("query_settable_attributes", &self.query_settable_attributes)
3450            .field(
3451                "_query_settable_attributes_async",
3452                &self._query_settable_attributes_async,
3453            )
3454            .field(
3455                "_query_settable_attributes_finish",
3456                &self._query_settable_attributes_finish,
3457            )
3458            .field("query_writable_namespaces", &self.query_writable_namespaces)
3459            .field(
3460                "_query_writable_namespaces_async",
3461                &self._query_writable_namespaces_async,
3462            )
3463            .field(
3464                "_query_writable_namespaces_finish",
3465                &self._query_writable_namespaces_finish,
3466            )
3467            .field("set_attribute", &self.set_attribute)
3468            .field("set_attributes_from_info", &self.set_attributes_from_info)
3469            .field("set_attributes_async", &self.set_attributes_async)
3470            .field("set_attributes_finish", &self.set_attributes_finish)
3471            .field("read_fn", &self.read_fn)
3472            .field("read_async", &self.read_async)
3473            .field("read_finish", &self.read_finish)
3474            .field("append_to", &self.append_to)
3475            .field("append_to_async", &self.append_to_async)
3476            .field("append_to_finish", &self.append_to_finish)
3477            .field("create", &self.create)
3478            .field("create_async", &self.create_async)
3479            .field("create_finish", &self.create_finish)
3480            .field("replace", &self.replace)
3481            .field("replace_async", &self.replace_async)
3482            .field("replace_finish", &self.replace_finish)
3483            .field("delete_file", &self.delete_file)
3484            .field("delete_file_async", &self.delete_file_async)
3485            .field("delete_file_finish", &self.delete_file_finish)
3486            .field("trash", &self.trash)
3487            .field("trash_async", &self.trash_async)
3488            .field("trash_finish", &self.trash_finish)
3489            .field("make_directory", &self.make_directory)
3490            .field("make_directory_async", &self.make_directory_async)
3491            .field("make_directory_finish", &self.make_directory_finish)
3492            .field("make_symbolic_link", &self.make_symbolic_link)
3493            .field("make_symbolic_link_async", &self.make_symbolic_link_async)
3494            .field("make_symbolic_link_finish", &self.make_symbolic_link_finish)
3495            .field("copy", &self.copy)
3496            .field("copy_async", &self.copy_async)
3497            .field("copy_finish", &self.copy_finish)
3498            .field("move_", &self.move_)
3499            .field("move_async", &self.move_async)
3500            .field("move_finish", &self.move_finish)
3501            .field("mount_mountable", &self.mount_mountable)
3502            .field("mount_mountable_finish", &self.mount_mountable_finish)
3503            .field("unmount_mountable", &self.unmount_mountable)
3504            .field("unmount_mountable_finish", &self.unmount_mountable_finish)
3505            .field("eject_mountable", &self.eject_mountable)
3506            .field("eject_mountable_finish", &self.eject_mountable_finish)
3507            .field("mount_enclosing_volume", &self.mount_enclosing_volume)
3508            .field(
3509                "mount_enclosing_volume_finish",
3510                &self.mount_enclosing_volume_finish,
3511            )
3512            .field("monitor_dir", &self.monitor_dir)
3513            .field("monitor_file", &self.monitor_file)
3514            .field("open_readwrite", &self.open_readwrite)
3515            .field("open_readwrite_async", &self.open_readwrite_async)
3516            .field("open_readwrite_finish", &self.open_readwrite_finish)
3517            .field("create_readwrite", &self.create_readwrite)
3518            .field("create_readwrite_async", &self.create_readwrite_async)
3519            .field("create_readwrite_finish", &self.create_readwrite_finish)
3520            .field("replace_readwrite", &self.replace_readwrite)
3521            .field("replace_readwrite_async", &self.replace_readwrite_async)
3522            .field("replace_readwrite_finish", &self.replace_readwrite_finish)
3523            .field("start_mountable", &self.start_mountable)
3524            .field("start_mountable_finish", &self.start_mountable_finish)
3525            .field("stop_mountable", &self.stop_mountable)
3526            .field("stop_mountable_finish", &self.stop_mountable_finish)
3527            .field("supports_thread_contexts", &self.supports_thread_contexts)
3528            .field(
3529                "unmount_mountable_with_operation",
3530                &self.unmount_mountable_with_operation,
3531            )
3532            .field(
3533                "unmount_mountable_with_operation_finish",
3534                &self.unmount_mountable_with_operation_finish,
3535            )
3536            .field(
3537                "eject_mountable_with_operation",
3538                &self.eject_mountable_with_operation,
3539            )
3540            .field(
3541                "eject_mountable_with_operation_finish",
3542                &self.eject_mountable_with_operation_finish,
3543            )
3544            .field("poll_mountable", &self.poll_mountable)
3545            .field("poll_mountable_finish", &self.poll_mountable_finish)
3546            .field("measure_disk_usage", &self.measure_disk_usage)
3547            .field("measure_disk_usage_async", &self.measure_disk_usage_async)
3548            .field("measure_disk_usage_finish", &self.measure_disk_usage_finish)
3549            .field("query_exists", &self.query_exists)
3550            .finish()
3551    }
3552}
3553
3554#[repr(C)]
3555#[allow(dead_code)]
3556pub struct _GFileInfoClass {
3557    _data: [u8; 0],
3558    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3559}
3560
3561pub type GFileInfoClass = _GFileInfoClass;
3562
3563#[derive(Copy, Clone)]
3564#[repr(C)]
3565pub struct GFileInputStreamClass {
3566    pub parent_class: GInputStreamClass,
3567    pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>,
3568    pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>,
3569    pub seek: Option<
3570        unsafe extern "C" fn(
3571            *mut GFileInputStream,
3572            i64,
3573            glib::GSeekType,
3574            *mut GCancellable,
3575            *mut *mut glib::GError,
3576        ) -> gboolean,
3577    >,
3578    pub query_info: Option<
3579        unsafe extern "C" fn(
3580            *mut GFileInputStream,
3581            *const c_char,
3582            *mut GCancellable,
3583            *mut *mut glib::GError,
3584        ) -> *mut GFileInfo,
3585    >,
3586    pub query_info_async: Option<
3587        unsafe extern "C" fn(
3588            *mut GFileInputStream,
3589            *const c_char,
3590            c_int,
3591            *mut GCancellable,
3592            GAsyncReadyCallback,
3593            gpointer,
3594        ),
3595    >,
3596    pub query_info_finish: Option<
3597        unsafe extern "C" fn(
3598            *mut GFileInputStream,
3599            *mut GAsyncResult,
3600            *mut *mut glib::GError,
3601        ) -> *mut GFileInfo,
3602    >,
3603    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3604    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3605    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3606    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3607    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3608}
3609
3610impl ::std::fmt::Debug for GFileInputStreamClass {
3611    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3612        f.debug_struct(&format!("GFileInputStreamClass @ {self:p}"))
3613            .field("parent_class", &self.parent_class)
3614            .field("tell", &self.tell)
3615            .field("can_seek", &self.can_seek)
3616            .field("seek", &self.seek)
3617            .field("query_info", &self.query_info)
3618            .field("query_info_async", &self.query_info_async)
3619            .field("query_info_finish", &self.query_info_finish)
3620            .field("_g_reserved1", &self._g_reserved1)
3621            .field("_g_reserved2", &self._g_reserved2)
3622            .field("_g_reserved3", &self._g_reserved3)
3623            .field("_g_reserved4", &self._g_reserved4)
3624            .field("_g_reserved5", &self._g_reserved5)
3625            .finish()
3626    }
3627}
3628
3629#[repr(C)]
3630#[allow(dead_code)]
3631pub struct _GFileInputStreamPrivate {
3632    _data: [u8; 0],
3633    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3634}
3635
3636pub type GFileInputStreamPrivate = _GFileInputStreamPrivate;
3637
3638#[derive(Copy, Clone)]
3639#[repr(C)]
3640pub struct GFileMonitorClass {
3641    pub parent_class: gobject::GObjectClass,
3642    pub changed:
3643        Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>,
3644    pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>,
3645    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3646    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3647    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3648    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3649    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3650}
3651
3652impl ::std::fmt::Debug for GFileMonitorClass {
3653    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3654        f.debug_struct(&format!("GFileMonitorClass @ {self:p}"))
3655            .field("parent_class", &self.parent_class)
3656            .field("changed", &self.changed)
3657            .field("cancel", &self.cancel)
3658            .field("_g_reserved1", &self._g_reserved1)
3659            .field("_g_reserved2", &self._g_reserved2)
3660            .field("_g_reserved3", &self._g_reserved3)
3661            .field("_g_reserved4", &self._g_reserved4)
3662            .field("_g_reserved5", &self._g_reserved5)
3663            .finish()
3664    }
3665}
3666
3667#[repr(C)]
3668#[allow(dead_code)]
3669pub struct _GFileMonitorPrivate {
3670    _data: [u8; 0],
3671    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3672}
3673
3674pub type GFileMonitorPrivate = _GFileMonitorPrivate;
3675
3676#[derive(Copy, Clone)]
3677#[repr(C)]
3678pub struct GFileOutputStreamClass {
3679    pub parent_class: GOutputStreamClass,
3680    pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>,
3681    pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3682    pub seek: Option<
3683        unsafe extern "C" fn(
3684            *mut GFileOutputStream,
3685            i64,
3686            glib::GSeekType,
3687            *mut GCancellable,
3688            *mut *mut glib::GError,
3689        ) -> gboolean,
3690    >,
3691    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3692    pub truncate_fn: Option<
3693        unsafe extern "C" fn(
3694            *mut GFileOutputStream,
3695            i64,
3696            *mut GCancellable,
3697            *mut *mut glib::GError,
3698        ) -> gboolean,
3699    >,
3700    pub query_info: Option<
3701        unsafe extern "C" fn(
3702            *mut GFileOutputStream,
3703            *const c_char,
3704            *mut GCancellable,
3705            *mut *mut glib::GError,
3706        ) -> *mut GFileInfo,
3707    >,
3708    pub query_info_async: Option<
3709        unsafe extern "C" fn(
3710            *mut GFileOutputStream,
3711            *const c_char,
3712            c_int,
3713            *mut GCancellable,
3714            GAsyncReadyCallback,
3715            gpointer,
3716        ),
3717    >,
3718    pub query_info_finish: Option<
3719        unsafe extern "C" fn(
3720            *mut GFileOutputStream,
3721            *mut GAsyncResult,
3722            *mut *mut glib::GError,
3723        ) -> *mut GFileInfo,
3724    >,
3725    pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>,
3726    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3727    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3728    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3729    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3730    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3731}
3732
3733impl ::std::fmt::Debug for GFileOutputStreamClass {
3734    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3735        f.debug_struct(&format!("GFileOutputStreamClass @ {self:p}"))
3736            .field("parent_class", &self.parent_class)
3737            .field("tell", &self.tell)
3738            .field("can_seek", &self.can_seek)
3739            .field("seek", &self.seek)
3740            .field("can_truncate", &self.can_truncate)
3741            .field("truncate_fn", &self.truncate_fn)
3742            .field("query_info", &self.query_info)
3743            .field("query_info_async", &self.query_info_async)
3744            .field("query_info_finish", &self.query_info_finish)
3745            .field("get_etag", &self.get_etag)
3746            .field("_g_reserved1", &self._g_reserved1)
3747            .field("_g_reserved2", &self._g_reserved2)
3748            .field("_g_reserved3", &self._g_reserved3)
3749            .field("_g_reserved4", &self._g_reserved4)
3750            .field("_g_reserved5", &self._g_reserved5)
3751            .finish()
3752    }
3753}
3754
3755#[repr(C)]
3756#[allow(dead_code)]
3757pub struct _GFileOutputStreamPrivate {
3758    _data: [u8; 0],
3759    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3760}
3761
3762pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate;
3763
3764#[derive(Copy, Clone)]
3765#[repr(C)]
3766pub struct GFilenameCompleterClass {
3767    pub parent_class: gobject::GObjectClass,
3768    pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>,
3769    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3770    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3771    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3772}
3773
3774impl ::std::fmt::Debug for GFilenameCompleterClass {
3775    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3776        f.debug_struct(&format!("GFilenameCompleterClass @ {self:p}"))
3777            .field("parent_class", &self.parent_class)
3778            .field("got_completion_data", &self.got_completion_data)
3779            .field("_g_reserved1", &self._g_reserved1)
3780            .field("_g_reserved2", &self._g_reserved2)
3781            .field("_g_reserved3", &self._g_reserved3)
3782            .finish()
3783    }
3784}
3785
3786#[derive(Copy, Clone)]
3787#[repr(C)]
3788pub struct GFilterInputStreamClass {
3789    pub parent_class: GInputStreamClass,
3790    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3791    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3792    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3793}
3794
3795impl ::std::fmt::Debug for GFilterInputStreamClass {
3796    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3797        f.debug_struct(&format!("GFilterInputStreamClass @ {self:p}"))
3798            .field("parent_class", &self.parent_class)
3799            .field("_g_reserved1", &self._g_reserved1)
3800            .field("_g_reserved2", &self._g_reserved2)
3801            .field("_g_reserved3", &self._g_reserved3)
3802            .finish()
3803    }
3804}
3805
3806#[derive(Copy, Clone)]
3807#[repr(C)]
3808pub struct GFilterOutputStreamClass {
3809    pub parent_class: GOutputStreamClass,
3810    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3811    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3812    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3813}
3814
3815impl ::std::fmt::Debug for GFilterOutputStreamClass {
3816    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3817        f.debug_struct(&format!("GFilterOutputStreamClass @ {self:p}"))
3818            .field("parent_class", &self.parent_class)
3819            .field("_g_reserved1", &self._g_reserved1)
3820            .field("_g_reserved2", &self._g_reserved2)
3821            .field("_g_reserved3", &self._g_reserved3)
3822            .finish()
3823    }
3824}
3825
3826#[repr(C)]
3827#[allow(dead_code)]
3828pub struct _GIOExtension {
3829    _data: [u8; 0],
3830    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3831}
3832
3833pub type GIOExtension = _GIOExtension;
3834
3835#[repr(C)]
3836#[allow(dead_code)]
3837pub struct _GIOExtensionPoint {
3838    _data: [u8; 0],
3839    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3840}
3841
3842pub type GIOExtensionPoint = _GIOExtensionPoint;
3843
3844#[repr(C)]
3845#[allow(dead_code)]
3846pub struct _GIOModuleClass {
3847    _data: [u8; 0],
3848    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3849}
3850
3851pub type GIOModuleClass = _GIOModuleClass;
3852
3853#[repr(C)]
3854#[allow(dead_code)]
3855pub struct _GIOModuleScope {
3856    _data: [u8; 0],
3857    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3858}
3859
3860pub type GIOModuleScope = _GIOModuleScope;
3861
3862#[repr(C)]
3863#[allow(dead_code)]
3864pub struct _GIOSchedulerJob {
3865    _data: [u8; 0],
3866    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3867}
3868
3869pub type GIOSchedulerJob = _GIOSchedulerJob;
3870
3871#[repr(C)]
3872#[allow(dead_code)]
3873pub struct _GIOStreamAdapter {
3874    _data: [u8; 0],
3875    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3876}
3877
3878pub type GIOStreamAdapter = _GIOStreamAdapter;
3879
3880#[derive(Copy, Clone)]
3881#[repr(C)]
3882pub struct GIOStreamClass {
3883    pub parent_class: gobject::GObjectClass,
3884    pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>,
3885    pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>,
3886    pub close_fn: Option<
3887        unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3888    >,
3889    pub close_async: Option<
3890        unsafe extern "C" fn(
3891            *mut GIOStream,
3892            c_int,
3893            *mut GCancellable,
3894            GAsyncReadyCallback,
3895            gpointer,
3896        ),
3897    >,
3898    pub close_finish: Option<
3899        unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3900    >,
3901    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3902    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3903    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3904    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3905    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3906    pub _g_reserved6: Option<unsafe extern "C" fn()>,
3907    pub _g_reserved7: Option<unsafe extern "C" fn()>,
3908    pub _g_reserved8: Option<unsafe extern "C" fn()>,
3909    pub _g_reserved9: Option<unsafe extern "C" fn()>,
3910    pub _g_reserved10: Option<unsafe extern "C" fn()>,
3911}
3912
3913impl ::std::fmt::Debug for GIOStreamClass {
3914    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3915        f.debug_struct(&format!("GIOStreamClass @ {self:p}"))
3916            .field("parent_class", &self.parent_class)
3917            .field("get_input_stream", &self.get_input_stream)
3918            .field("get_output_stream", &self.get_output_stream)
3919            .field("close_fn", &self.close_fn)
3920            .field("close_async", &self.close_async)
3921            .field("close_finish", &self.close_finish)
3922            .field("_g_reserved1", &self._g_reserved1)
3923            .field("_g_reserved2", &self._g_reserved2)
3924            .field("_g_reserved3", &self._g_reserved3)
3925            .field("_g_reserved4", &self._g_reserved4)
3926            .field("_g_reserved5", &self._g_reserved5)
3927            .field("_g_reserved6", &self._g_reserved6)
3928            .field("_g_reserved7", &self._g_reserved7)
3929            .field("_g_reserved8", &self._g_reserved8)
3930            .field("_g_reserved9", &self._g_reserved9)
3931            .field("_g_reserved10", &self._g_reserved10)
3932            .finish()
3933    }
3934}
3935
3936#[repr(C)]
3937#[allow(dead_code)]
3938pub struct _GIOStreamPrivate {
3939    _data: [u8; 0],
3940    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3941}
3942
3943pub type GIOStreamPrivate = _GIOStreamPrivate;
3944
3945#[derive(Copy, Clone)]
3946#[repr(C)]
3947pub struct GIPTosMessageClass {
3948    pub parent_class: GSocketControlMessageClass,
3949}
3950
3951impl ::std::fmt::Debug for GIPTosMessageClass {
3952    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3953        f.debug_struct(&format!("GIPTosMessageClass @ {self:p}"))
3954            .field("parent_class", &self.parent_class)
3955            .finish()
3956    }
3957}
3958
3959#[derive(Copy, Clone)]
3960#[repr(C)]
3961pub struct GIPv6TclassMessageClass {
3962    pub parent_class: GSocketControlMessageClass,
3963}
3964
3965impl ::std::fmt::Debug for GIPv6TclassMessageClass {
3966    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3967        f.debug_struct(&format!("GIPv6TclassMessageClass @ {self:p}"))
3968            .field("parent_class", &self.parent_class)
3969            .finish()
3970    }
3971}
3972
3973#[derive(Copy, Clone)]
3974#[repr(C)]
3975pub struct GIconIface {
3976    pub g_iface: gobject::GTypeInterface,
3977    pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>,
3978    pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>,
3979    pub to_tokens:
3980        Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>,
3981    pub from_tokens: Option<
3982        unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon,
3983    >,
3984    pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>,
3985}
3986
3987impl ::std::fmt::Debug for GIconIface {
3988    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3989        f.debug_struct(&format!("GIconIface @ {self:p}"))
3990            .field("g_iface", &self.g_iface)
3991            .field("hash", &self.hash)
3992            .field("equal", &self.equal)
3993            .field("to_tokens", &self.to_tokens)
3994            .field("from_tokens", &self.from_tokens)
3995            .field("serialize", &self.serialize)
3996            .finish()
3997    }
3998}
3999
4000#[derive(Copy, Clone)]
4001#[repr(C)]
4002pub struct GInetAddressClass {
4003    pub parent_class: gobject::GObjectClass,
4004    pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>,
4005    pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>,
4006}
4007
4008impl ::std::fmt::Debug for GInetAddressClass {
4009    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4010        f.debug_struct(&format!("GInetAddressClass @ {self:p}"))
4011            .field("parent_class", &self.parent_class)
4012            .field("to_string", &self.to_string)
4013            .field("to_bytes", &self.to_bytes)
4014            .finish()
4015    }
4016}
4017
4018#[derive(Copy, Clone)]
4019#[repr(C)]
4020pub struct GInetAddressMaskClass {
4021    pub parent_class: gobject::GObjectClass,
4022}
4023
4024impl ::std::fmt::Debug for GInetAddressMaskClass {
4025    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4026        f.debug_struct(&format!("GInetAddressMaskClass @ {self:p}"))
4027            .field("parent_class", &self.parent_class)
4028            .finish()
4029    }
4030}
4031
4032#[repr(C)]
4033#[allow(dead_code)]
4034pub struct _GInetAddressMaskPrivate {
4035    _data: [u8; 0],
4036    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4037}
4038
4039pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate;
4040
4041#[repr(C)]
4042#[allow(dead_code)]
4043pub struct _GInetAddressPrivate {
4044    _data: [u8; 0],
4045    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4046}
4047
4048pub type GInetAddressPrivate = _GInetAddressPrivate;
4049
4050#[derive(Copy, Clone)]
4051#[repr(C)]
4052pub struct GInetSocketAddressClass {
4053    pub parent_class: GSocketAddressClass,
4054}
4055
4056impl ::std::fmt::Debug for GInetSocketAddressClass {
4057    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4058        f.debug_struct(&format!("GInetSocketAddressClass @ {self:p}"))
4059            .field("parent_class", &self.parent_class)
4060            .finish()
4061    }
4062}
4063
4064#[repr(C)]
4065#[allow(dead_code)]
4066pub struct _GInetSocketAddressPrivate {
4067    _data: [u8; 0],
4068    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4069}
4070
4071pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate;
4072
4073#[derive(Copy, Clone)]
4074#[repr(C)]
4075pub struct GInitableIface {
4076    pub g_iface: gobject::GTypeInterface,
4077    pub init: Option<
4078        unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
4079    >,
4080}
4081
4082impl ::std::fmt::Debug for GInitableIface {
4083    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4084        f.debug_struct(&format!("GInitableIface @ {self:p}"))
4085            .field("g_iface", &self.g_iface)
4086            .field("init", &self.init)
4087            .finish()
4088    }
4089}
4090
4091#[derive(Copy, Clone)]
4092#[repr(C)]
4093pub struct GInputMessage {
4094    pub address: *mut *mut GSocketAddress,
4095    pub vectors: *mut GInputVector,
4096    pub num_vectors: c_uint,
4097    pub bytes_received: size_t,
4098    pub flags: c_int,
4099    pub control_messages: *mut *mut *mut GSocketControlMessage,
4100    pub num_control_messages: *mut c_uint,
4101}
4102
4103impl ::std::fmt::Debug for GInputMessage {
4104    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4105        f.debug_struct(&format!("GInputMessage @ {self:p}"))
4106            .field("address", &self.address)
4107            .field("vectors", &self.vectors)
4108            .field("num_vectors", &self.num_vectors)
4109            .field("bytes_received", &self.bytes_received)
4110            .field("flags", &self.flags)
4111            .field("control_messages", &self.control_messages)
4112            .field("num_control_messages", &self.num_control_messages)
4113            .finish()
4114    }
4115}
4116
4117#[derive(Copy, Clone)]
4118#[repr(C)]
4119pub struct GInputStreamClass {
4120    pub parent_class: gobject::GObjectClass,
4121    pub read_fn: Option<
4122        unsafe extern "C" fn(
4123            *mut GInputStream,
4124            *mut c_void,
4125            size_t,
4126            *mut GCancellable,
4127            *mut *mut glib::GError,
4128        ) -> ssize_t,
4129    >,
4130    pub skip: Option<
4131        unsafe extern "C" fn(
4132            *mut GInputStream,
4133            size_t,
4134            *mut GCancellable,
4135            *mut *mut glib::GError,
4136        ) -> ssize_t,
4137    >,
4138    pub close_fn: Option<
4139        unsafe extern "C" fn(
4140            *mut GInputStream,
4141            *mut GCancellable,
4142            *mut *mut glib::GError,
4143        ) -> gboolean,
4144    >,
4145    pub read_async: Option<
4146        unsafe extern "C" fn(
4147            *mut GInputStream,
4148            *mut u8,
4149            size_t,
4150            c_int,
4151            *mut GCancellable,
4152            GAsyncReadyCallback,
4153            gpointer,
4154        ),
4155    >,
4156    pub read_finish: Option<
4157        unsafe extern "C" fn(
4158            *mut GInputStream,
4159            *mut GAsyncResult,
4160            *mut *mut glib::GError,
4161        ) -> ssize_t,
4162    >,
4163    pub skip_async: Option<
4164        unsafe extern "C" fn(
4165            *mut GInputStream,
4166            size_t,
4167            c_int,
4168            *mut GCancellable,
4169            GAsyncReadyCallback,
4170            gpointer,
4171        ),
4172    >,
4173    pub skip_finish: Option<
4174        unsafe extern "C" fn(
4175            *mut GInputStream,
4176            *mut GAsyncResult,
4177            *mut *mut glib::GError,
4178        ) -> ssize_t,
4179    >,
4180    pub close_async: Option<
4181        unsafe extern "C" fn(
4182            *mut GInputStream,
4183            c_int,
4184            *mut GCancellable,
4185            GAsyncReadyCallback,
4186            gpointer,
4187        ),
4188    >,
4189    pub close_finish: Option<
4190        unsafe extern "C" fn(
4191            *mut GInputStream,
4192            *mut GAsyncResult,
4193            *mut *mut glib::GError,
4194        ) -> gboolean,
4195    >,
4196    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4197    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4198    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4199    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4200    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4201}
4202
4203impl ::std::fmt::Debug for GInputStreamClass {
4204    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4205        f.debug_struct(&format!("GInputStreamClass @ {self:p}"))
4206            .field("parent_class", &self.parent_class)
4207            .field("read_fn", &self.read_fn)
4208            .field("skip", &self.skip)
4209            .field("close_fn", &self.close_fn)
4210            .field("read_async", &self.read_async)
4211            .field("read_finish", &self.read_finish)
4212            .field("skip_async", &self.skip_async)
4213            .field("skip_finish", &self.skip_finish)
4214            .field("close_async", &self.close_async)
4215            .field("close_finish", &self.close_finish)
4216            .field("_g_reserved1", &self._g_reserved1)
4217            .field("_g_reserved2", &self._g_reserved2)
4218            .field("_g_reserved3", &self._g_reserved3)
4219            .field("_g_reserved4", &self._g_reserved4)
4220            .field("_g_reserved5", &self._g_reserved5)
4221            .finish()
4222    }
4223}
4224
4225#[repr(C)]
4226#[allow(dead_code)]
4227pub struct _GInputStreamPrivate {
4228    _data: [u8; 0],
4229    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4230}
4231
4232pub type GInputStreamPrivate = _GInputStreamPrivate;
4233
4234#[derive(Copy, Clone)]
4235#[repr(C)]
4236pub struct GInputVector {
4237    pub buffer: gpointer,
4238    pub size: size_t,
4239}
4240
4241impl ::std::fmt::Debug for GInputVector {
4242    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4243        f.debug_struct(&format!("GInputVector @ {self:p}"))
4244            .field("buffer", &self.buffer)
4245            .field("size", &self.size)
4246            .finish()
4247    }
4248}
4249
4250#[derive(Copy, Clone)]
4251#[repr(C)]
4252pub struct GListModelInterface {
4253    pub g_iface: gobject::GTypeInterface,
4254    pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>,
4255    pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>,
4256    pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>,
4257}
4258
4259impl ::std::fmt::Debug for GListModelInterface {
4260    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4261        f.debug_struct(&format!("GListModelInterface @ {self:p}"))
4262            .field("g_iface", &self.g_iface)
4263            .field("get_item_type", &self.get_item_type)
4264            .field("get_n_items", &self.get_n_items)
4265            .field("get_item", &self.get_item)
4266            .finish()
4267    }
4268}
4269
4270#[derive(Copy, Clone)]
4271#[repr(C)]
4272pub struct GListStoreClass {
4273    pub parent_class: gobject::GObjectClass,
4274}
4275
4276impl ::std::fmt::Debug for GListStoreClass {
4277    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4278        f.debug_struct(&format!("GListStoreClass @ {self:p}"))
4279            .field("parent_class", &self.parent_class)
4280            .finish()
4281    }
4282}
4283
4284#[derive(Copy, Clone)]
4285#[repr(C)]
4286pub struct GLoadableIconIface {
4287    pub g_iface: gobject::GTypeInterface,
4288    pub load: Option<
4289        unsafe extern "C" fn(
4290            *mut GLoadableIcon,
4291            c_int,
4292            *mut *mut c_char,
4293            *mut GCancellable,
4294            *mut *mut glib::GError,
4295        ) -> *mut GInputStream,
4296    >,
4297    pub load_async: Option<
4298        unsafe extern "C" fn(
4299            *mut GLoadableIcon,
4300            c_int,
4301            *mut GCancellable,
4302            GAsyncReadyCallback,
4303            gpointer,
4304        ),
4305    >,
4306    pub load_finish: Option<
4307        unsafe extern "C" fn(
4308            *mut GLoadableIcon,
4309            *mut GAsyncResult,
4310            *mut *mut c_char,
4311            *mut *mut glib::GError,
4312        ) -> *mut GInputStream,
4313    >,
4314}
4315
4316impl ::std::fmt::Debug for GLoadableIconIface {
4317    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4318        f.debug_struct(&format!("GLoadableIconIface @ {self:p}"))
4319            .field("g_iface", &self.g_iface)
4320            .field("load", &self.load)
4321            .field("load_async", &self.load_async)
4322            .field("load_finish", &self.load_finish)
4323            .finish()
4324    }
4325}
4326
4327#[derive(Copy, Clone)]
4328#[repr(C)]
4329pub struct GMemoryInputStreamClass {
4330    pub parent_class: GInputStreamClass,
4331    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4332    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4333    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4334    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4335    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4336}
4337
4338impl ::std::fmt::Debug for GMemoryInputStreamClass {
4339    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4340        f.debug_struct(&format!("GMemoryInputStreamClass @ {self:p}"))
4341            .field("parent_class", &self.parent_class)
4342            .field("_g_reserved1", &self._g_reserved1)
4343            .field("_g_reserved2", &self._g_reserved2)
4344            .field("_g_reserved3", &self._g_reserved3)
4345            .field("_g_reserved4", &self._g_reserved4)
4346            .field("_g_reserved5", &self._g_reserved5)
4347            .finish()
4348    }
4349}
4350
4351#[repr(C)]
4352#[allow(dead_code)]
4353pub struct _GMemoryInputStreamPrivate {
4354    _data: [u8; 0],
4355    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4356}
4357
4358pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate;
4359
4360#[derive(Copy, Clone)]
4361#[repr(C)]
4362pub struct GMemoryMonitorInterface {
4363    pub g_iface: gobject::GTypeInterface,
4364    pub low_memory_warning:
4365        Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>,
4366}
4367
4368impl ::std::fmt::Debug for GMemoryMonitorInterface {
4369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4370        f.debug_struct(&format!("GMemoryMonitorInterface @ {self:p}"))
4371            .field("low_memory_warning", &self.low_memory_warning)
4372            .finish()
4373    }
4374}
4375
4376#[derive(Copy, Clone)]
4377#[repr(C)]
4378pub struct GMemoryOutputStreamClass {
4379    pub parent_class: GOutputStreamClass,
4380    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4381    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4382    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4383    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4384    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4385}
4386
4387impl ::std::fmt::Debug for GMemoryOutputStreamClass {
4388    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4389        f.debug_struct(&format!("GMemoryOutputStreamClass @ {self:p}"))
4390            .field("parent_class", &self.parent_class)
4391            .field("_g_reserved1", &self._g_reserved1)
4392            .field("_g_reserved2", &self._g_reserved2)
4393            .field("_g_reserved3", &self._g_reserved3)
4394            .field("_g_reserved4", &self._g_reserved4)
4395            .field("_g_reserved5", &self._g_reserved5)
4396            .finish()
4397    }
4398}
4399
4400#[repr(C)]
4401#[allow(dead_code)]
4402pub struct _GMemoryOutputStreamPrivate {
4403    _data: [u8; 0],
4404    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4405}
4406
4407pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate;
4408
4409#[derive(Copy, Clone)]
4410#[repr(C)]
4411pub struct GMenuAttributeIterClass {
4412    pub parent_class: gobject::GObjectClass,
4413    pub get_next: Option<
4414        unsafe extern "C" fn(
4415            *mut GMenuAttributeIter,
4416            *mut *const c_char,
4417            *mut *mut glib::GVariant,
4418        ) -> gboolean,
4419    >,
4420}
4421
4422impl ::std::fmt::Debug for GMenuAttributeIterClass {
4423    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4424        f.debug_struct(&format!("GMenuAttributeIterClass @ {self:p}"))
4425            .field("parent_class", &self.parent_class)
4426            .field("get_next", &self.get_next)
4427            .finish()
4428    }
4429}
4430
4431#[repr(C)]
4432#[allow(dead_code)]
4433pub struct _GMenuAttributeIterPrivate {
4434    _data: [u8; 0],
4435    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4436}
4437
4438pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate;
4439
4440#[derive(Copy, Clone)]
4441#[repr(C)]
4442pub struct GMenuLinkIterClass {
4443    pub parent_class: gobject::GObjectClass,
4444    pub get_next: Option<
4445        unsafe extern "C" fn(
4446            *mut GMenuLinkIter,
4447            *mut *const c_char,
4448            *mut *mut GMenuModel,
4449        ) -> gboolean,
4450    >,
4451}
4452
4453impl ::std::fmt::Debug for GMenuLinkIterClass {
4454    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4455        f.debug_struct(&format!("GMenuLinkIterClass @ {self:p}"))
4456            .field("parent_class", &self.parent_class)
4457            .field("get_next", &self.get_next)
4458            .finish()
4459    }
4460}
4461
4462#[repr(C)]
4463#[allow(dead_code)]
4464pub struct _GMenuLinkIterPrivate {
4465    _data: [u8; 0],
4466    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4467}
4468
4469pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate;
4470
4471#[derive(Copy, Clone)]
4472#[repr(C)]
4473pub struct GMenuModelClass {
4474    pub parent_class: gobject::GObjectClass,
4475    pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>,
4476    pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>,
4477    pub get_item_attributes:
4478        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4479    pub iterate_item_attributes:
4480        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>,
4481    pub get_item_attribute_value: Option<
4482        unsafe extern "C" fn(
4483            *mut GMenuModel,
4484            c_int,
4485            *const c_char,
4486            *const glib::GVariantType,
4487        ) -> *mut glib::GVariant,
4488    >,
4489    pub get_item_links:
4490        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4491    pub iterate_item_links:
4492        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>,
4493    pub get_item_link:
4494        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>,
4495}
4496
4497impl ::std::fmt::Debug for GMenuModelClass {
4498    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4499        f.debug_struct(&format!("GMenuModelClass @ {self:p}"))
4500            .field("parent_class", &self.parent_class)
4501            .field("is_mutable", &self.is_mutable)
4502            .field("get_n_items", &self.get_n_items)
4503            .field("get_item_attributes", &self.get_item_attributes)
4504            .field("iterate_item_attributes", &self.iterate_item_attributes)
4505            .field("get_item_attribute_value", &self.get_item_attribute_value)
4506            .field("get_item_links", &self.get_item_links)
4507            .field("iterate_item_links", &self.iterate_item_links)
4508            .field("get_item_link", &self.get_item_link)
4509            .finish()
4510    }
4511}
4512
4513#[repr(C)]
4514#[allow(dead_code)]
4515pub struct _GMenuModelPrivate {
4516    _data: [u8; 0],
4517    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4518}
4519
4520pub type GMenuModelPrivate = _GMenuModelPrivate;
4521
4522#[derive(Copy, Clone)]
4523#[repr(C)]
4524pub struct GMountIface {
4525    pub g_iface: gobject::GTypeInterface,
4526    pub changed: Option<unsafe extern "C" fn(*mut GMount)>,
4527    pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>,
4528    pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4529    pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4530    pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4531    pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4532    pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>,
4533    pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>,
4534    pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4535    pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4536    pub unmount: Option<
4537        unsafe extern "C" fn(
4538            *mut GMount,
4539            GMountUnmountFlags,
4540            *mut GCancellable,
4541            GAsyncReadyCallback,
4542            gpointer,
4543        ),
4544    >,
4545    pub unmount_finish: Option<
4546        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4547    >,
4548    pub eject: Option<
4549        unsafe extern "C" fn(
4550            *mut GMount,
4551            GMountUnmountFlags,
4552            *mut GCancellable,
4553            GAsyncReadyCallback,
4554            gpointer,
4555        ),
4556    >,
4557    pub eject_finish: Option<
4558        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4559    >,
4560    pub remount: Option<
4561        unsafe extern "C" fn(
4562            *mut GMount,
4563            GMountMountFlags,
4564            *mut GMountOperation,
4565            *mut GCancellable,
4566            GAsyncReadyCallback,
4567            gpointer,
4568        ),
4569    >,
4570    pub remount_finish: Option<
4571        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4572    >,
4573    pub guess_content_type: Option<
4574        unsafe extern "C" fn(
4575            *mut GMount,
4576            gboolean,
4577            *mut GCancellable,
4578            GAsyncReadyCallback,
4579            gpointer,
4580        ),
4581    >,
4582    pub guess_content_type_finish: Option<
4583        unsafe extern "C" fn(
4584            *mut GMount,
4585            *mut GAsyncResult,
4586            *mut *mut glib::GError,
4587        ) -> *mut *mut c_char,
4588    >,
4589    pub guess_content_type_sync: Option<
4590        unsafe extern "C" fn(
4591            *mut GMount,
4592            gboolean,
4593            *mut GCancellable,
4594            *mut *mut glib::GError,
4595        ) -> *mut *mut c_char,
4596    >,
4597    pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>,
4598    pub unmount_with_operation: Option<
4599        unsafe extern "C" fn(
4600            *mut GMount,
4601            GMountUnmountFlags,
4602            *mut GMountOperation,
4603            *mut GCancellable,
4604            GAsyncReadyCallback,
4605            gpointer,
4606        ),
4607    >,
4608    pub unmount_with_operation_finish: Option<
4609        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4610    >,
4611    pub eject_with_operation: Option<
4612        unsafe extern "C" fn(
4613            *mut GMount,
4614            GMountUnmountFlags,
4615            *mut GMountOperation,
4616            *mut GCancellable,
4617            GAsyncReadyCallback,
4618            gpointer,
4619        ),
4620    >,
4621    pub eject_with_operation_finish: Option<
4622        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4623    >,
4624    pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4625    pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4626    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4627}
4628
4629impl ::std::fmt::Debug for GMountIface {
4630    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4631        f.debug_struct(&format!("GMountIface @ {self:p}"))
4632            .field("g_iface", &self.g_iface)
4633            .field("changed", &self.changed)
4634            .field("unmounted", &self.unmounted)
4635            .field("get_root", &self.get_root)
4636            .field("get_name", &self.get_name)
4637            .field("get_icon", &self.get_icon)
4638            .field("get_uuid", &self.get_uuid)
4639            .field("get_volume", &self.get_volume)
4640            .field("get_drive", &self.get_drive)
4641            .field("can_unmount", &self.can_unmount)
4642            .field("can_eject", &self.can_eject)
4643            .field("unmount", &self.unmount)
4644            .field("unmount_finish", &self.unmount_finish)
4645            .field("eject", &self.eject)
4646            .field("eject_finish", &self.eject_finish)
4647            .field("remount", &self.remount)
4648            .field("remount_finish", &self.remount_finish)
4649            .field("guess_content_type", &self.guess_content_type)
4650            .field("guess_content_type_finish", &self.guess_content_type_finish)
4651            .field("guess_content_type_sync", &self.guess_content_type_sync)
4652            .field("pre_unmount", &self.pre_unmount)
4653            .field("unmount_with_operation", &self.unmount_with_operation)
4654            .field(
4655                "unmount_with_operation_finish",
4656                &self.unmount_with_operation_finish,
4657            )
4658            .field("eject_with_operation", &self.eject_with_operation)
4659            .field(
4660                "eject_with_operation_finish",
4661                &self.eject_with_operation_finish,
4662            )
4663            .field("get_default_location", &self.get_default_location)
4664            .field("get_sort_key", &self.get_sort_key)
4665            .field("get_symbolic_icon", &self.get_symbolic_icon)
4666            .finish()
4667    }
4668}
4669
4670#[derive(Copy, Clone)]
4671#[repr(C)]
4672pub struct GMountOperationClass {
4673    pub parent_class: gobject::GObjectClass,
4674    pub ask_password: Option<
4675        unsafe extern "C" fn(
4676            *mut GMountOperation,
4677            *const c_char,
4678            *const c_char,
4679            *const c_char,
4680            GAskPasswordFlags,
4681        ),
4682    >,
4683    pub ask_question:
4684        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>,
4685    pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>,
4686    pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>,
4687    pub show_processes: Option<
4688        unsafe extern "C" fn(
4689            *mut GMountOperation,
4690            *const c_char,
4691            *mut glib::GArray,
4692            *mut *const c_char,
4693        ),
4694    >,
4695    pub show_unmount_progress:
4696        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>,
4697    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4698    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4699    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4700    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4701    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4702    pub _g_reserved6: Option<unsafe extern "C" fn()>,
4703    pub _g_reserved7: Option<unsafe extern "C" fn()>,
4704    pub _g_reserved8: Option<unsafe extern "C" fn()>,
4705    pub _g_reserved9: Option<unsafe extern "C" fn()>,
4706}
4707
4708impl ::std::fmt::Debug for GMountOperationClass {
4709    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4710        f.debug_struct(&format!("GMountOperationClass @ {self:p}"))
4711            .field("parent_class", &self.parent_class)
4712            .field("ask_password", &self.ask_password)
4713            .field("ask_question", &self.ask_question)
4714            .field("reply", &self.reply)
4715            .field("aborted", &self.aborted)
4716            .field("show_processes", &self.show_processes)
4717            .field("show_unmount_progress", &self.show_unmount_progress)
4718            .field("_g_reserved1", &self._g_reserved1)
4719            .field("_g_reserved2", &self._g_reserved2)
4720            .field("_g_reserved3", &self._g_reserved3)
4721            .field("_g_reserved4", &self._g_reserved4)
4722            .field("_g_reserved5", &self._g_reserved5)
4723            .field("_g_reserved6", &self._g_reserved6)
4724            .field("_g_reserved7", &self._g_reserved7)
4725            .field("_g_reserved8", &self._g_reserved8)
4726            .field("_g_reserved9", &self._g_reserved9)
4727            .finish()
4728    }
4729}
4730
4731#[repr(C)]
4732#[allow(dead_code)]
4733pub struct _GMountOperationPrivate {
4734    _data: [u8; 0],
4735    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4736}
4737
4738pub type GMountOperationPrivate = _GMountOperationPrivate;
4739
4740#[derive(Copy, Clone)]
4741#[repr(C)]
4742pub struct GNativeSocketAddressClass {
4743    pub parent_class: GSocketAddressClass,
4744}
4745
4746impl ::std::fmt::Debug for GNativeSocketAddressClass {
4747    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4748        f.debug_struct(&format!("GNativeSocketAddressClass @ {self:p}"))
4749            .field("parent_class", &self.parent_class)
4750            .finish()
4751    }
4752}
4753
4754#[repr(C)]
4755#[allow(dead_code)]
4756pub struct _GNativeSocketAddressPrivate {
4757    _data: [u8; 0],
4758    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4759}
4760
4761pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate;
4762
4763#[derive(Copy, Clone)]
4764#[repr(C)]
4765pub struct GNativeVolumeMonitorClass {
4766    pub parent_class: GVolumeMonitorClass,
4767    pub get_mount_for_mount_path:
4768        Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>,
4769}
4770
4771impl ::std::fmt::Debug for GNativeVolumeMonitorClass {
4772    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4773        f.debug_struct(&format!("GNativeVolumeMonitorClass @ {self:p}"))
4774            .field("parent_class", &self.parent_class)
4775            .field("get_mount_for_mount_path", &self.get_mount_for_mount_path)
4776            .finish()
4777    }
4778}
4779
4780#[derive(Copy, Clone)]
4781#[repr(C)]
4782pub struct GNetworkAddressClass {
4783    pub parent_class: gobject::GObjectClass,
4784}
4785
4786impl ::std::fmt::Debug for GNetworkAddressClass {
4787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4788        f.debug_struct(&format!("GNetworkAddressClass @ {self:p}"))
4789            .field("parent_class", &self.parent_class)
4790            .finish()
4791    }
4792}
4793
4794#[repr(C)]
4795#[allow(dead_code)]
4796pub struct _GNetworkAddressPrivate {
4797    _data: [u8; 0],
4798    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4799}
4800
4801pub type GNetworkAddressPrivate = _GNetworkAddressPrivate;
4802
4803#[derive(Copy, Clone)]
4804#[repr(C)]
4805pub struct GNetworkMonitorInterface {
4806    pub g_iface: gobject::GTypeInterface,
4807    pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>,
4808    pub can_reach: Option<
4809        unsafe extern "C" fn(
4810            *mut GNetworkMonitor,
4811            *mut GSocketConnectable,
4812            *mut GCancellable,
4813            *mut *mut glib::GError,
4814        ) -> gboolean,
4815    >,
4816    pub can_reach_async: Option<
4817        unsafe extern "C" fn(
4818            *mut GNetworkMonitor,
4819            *mut GSocketConnectable,
4820            *mut GCancellable,
4821            GAsyncReadyCallback,
4822            gpointer,
4823        ),
4824    >,
4825    pub can_reach_finish: Option<
4826        unsafe extern "C" fn(
4827            *mut GNetworkMonitor,
4828            *mut GAsyncResult,
4829            *mut *mut glib::GError,
4830        ) -> gboolean,
4831    >,
4832}
4833
4834impl ::std::fmt::Debug for GNetworkMonitorInterface {
4835    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4836        f.debug_struct(&format!("GNetworkMonitorInterface @ {self:p}"))
4837            .field("g_iface", &self.g_iface)
4838            .field("network_changed", &self.network_changed)
4839            .field("can_reach", &self.can_reach)
4840            .field("can_reach_async", &self.can_reach_async)
4841            .field("can_reach_finish", &self.can_reach_finish)
4842            .finish()
4843    }
4844}
4845
4846#[derive(Copy, Clone)]
4847#[repr(C)]
4848pub struct GNetworkServiceClass {
4849    pub parent_class: gobject::GObjectClass,
4850}
4851
4852impl ::std::fmt::Debug for GNetworkServiceClass {
4853    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4854        f.debug_struct(&format!("GNetworkServiceClass @ {self:p}"))
4855            .field("parent_class", &self.parent_class)
4856            .finish()
4857    }
4858}
4859
4860#[repr(C)]
4861#[allow(dead_code)]
4862pub struct _GNetworkServicePrivate {
4863    _data: [u8; 0],
4864    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4865}
4866
4867pub type GNetworkServicePrivate = _GNetworkServicePrivate;
4868
4869#[derive(Copy, Clone)]
4870#[repr(C)]
4871pub struct GOutputMessage {
4872    pub address: *mut GSocketAddress,
4873    pub vectors: *mut GOutputVector,
4874    pub num_vectors: c_uint,
4875    pub bytes_sent: c_uint,
4876    pub control_messages: *mut *mut GSocketControlMessage,
4877    pub num_control_messages: c_uint,
4878}
4879
4880impl ::std::fmt::Debug for GOutputMessage {
4881    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4882        f.debug_struct(&format!("GOutputMessage @ {self:p}"))
4883            .field("address", &self.address)
4884            .field("vectors", &self.vectors)
4885            .field("num_vectors", &self.num_vectors)
4886            .field("bytes_sent", &self.bytes_sent)
4887            .field("control_messages", &self.control_messages)
4888            .field("num_control_messages", &self.num_control_messages)
4889            .finish()
4890    }
4891}
4892
4893#[derive(Copy, Clone)]
4894#[repr(C)]
4895pub struct GOutputStreamClass {
4896    pub parent_class: gobject::GObjectClass,
4897    pub write_fn: Option<
4898        unsafe extern "C" fn(
4899            *mut GOutputStream,
4900            *mut u8,
4901            size_t,
4902            *mut GCancellable,
4903            *mut *mut glib::GError,
4904        ) -> ssize_t,
4905    >,
4906    pub splice: Option<
4907        unsafe extern "C" fn(
4908            *mut GOutputStream,
4909            *mut GInputStream,
4910            GOutputStreamSpliceFlags,
4911            *mut GCancellable,
4912            *mut *mut glib::GError,
4913        ) -> ssize_t,
4914    >,
4915    pub flush: Option<
4916        unsafe extern "C" fn(
4917            *mut GOutputStream,
4918            *mut GCancellable,
4919            *mut *mut glib::GError,
4920        ) -> gboolean,
4921    >,
4922    pub close_fn: Option<
4923        unsafe extern "C" fn(
4924            *mut GOutputStream,
4925            *mut GCancellable,
4926            *mut *mut glib::GError,
4927        ) -> gboolean,
4928    >,
4929    pub write_async: Option<
4930        unsafe extern "C" fn(
4931            *mut GOutputStream,
4932            *mut u8,
4933            size_t,
4934            c_int,
4935            *mut GCancellable,
4936            GAsyncReadyCallback,
4937            gpointer,
4938        ),
4939    >,
4940    pub write_finish: Option<
4941        unsafe extern "C" fn(
4942            *mut GOutputStream,
4943            *mut GAsyncResult,
4944            *mut *mut glib::GError,
4945        ) -> ssize_t,
4946    >,
4947    pub splice_async: Option<
4948        unsafe extern "C" fn(
4949            *mut GOutputStream,
4950            *mut GInputStream,
4951            GOutputStreamSpliceFlags,
4952            c_int,
4953            *mut GCancellable,
4954            GAsyncReadyCallback,
4955            gpointer,
4956        ),
4957    >,
4958    pub splice_finish: Option<
4959        unsafe extern "C" fn(
4960            *mut GOutputStream,
4961            *mut GAsyncResult,
4962            *mut *mut glib::GError,
4963        ) -> ssize_t,
4964    >,
4965    pub flush_async: Option<
4966        unsafe extern "C" fn(
4967            *mut GOutputStream,
4968            c_int,
4969            *mut GCancellable,
4970            GAsyncReadyCallback,
4971            gpointer,
4972        ),
4973    >,
4974    pub flush_finish: Option<
4975        unsafe extern "C" fn(
4976            *mut GOutputStream,
4977            *mut GAsyncResult,
4978            *mut *mut glib::GError,
4979        ) -> gboolean,
4980    >,
4981    pub close_async: Option<
4982        unsafe extern "C" fn(
4983            *mut GOutputStream,
4984            c_int,
4985            *mut GCancellable,
4986            GAsyncReadyCallback,
4987            gpointer,
4988        ),
4989    >,
4990    pub close_finish: Option<
4991        unsafe extern "C" fn(
4992            *mut GOutputStream,
4993            *mut GAsyncResult,
4994            *mut *mut glib::GError,
4995        ) -> gboolean,
4996    >,
4997    pub writev_fn: Option<
4998        unsafe extern "C" fn(
4999            *mut GOutputStream,
5000            *const GOutputVector,
5001            size_t,
5002            *mut size_t,
5003            *mut GCancellable,
5004            *mut *mut glib::GError,
5005        ) -> gboolean,
5006    >,
5007    pub writev_async: Option<
5008        unsafe extern "C" fn(
5009            *mut GOutputStream,
5010            *const GOutputVector,
5011            size_t,
5012            c_int,
5013            *mut GCancellable,
5014            GAsyncReadyCallback,
5015            gpointer,
5016        ),
5017    >,
5018    pub writev_finish: Option<
5019        unsafe extern "C" fn(
5020            *mut GOutputStream,
5021            *mut GAsyncResult,
5022            *mut size_t,
5023            *mut *mut glib::GError,
5024        ) -> gboolean,
5025    >,
5026    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5027    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5028    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5029    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5030    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5031}
5032
5033impl ::std::fmt::Debug for GOutputStreamClass {
5034    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5035        f.debug_struct(&format!("GOutputStreamClass @ {self:p}"))
5036            .field("parent_class", &self.parent_class)
5037            .field("write_fn", &self.write_fn)
5038            .field("splice", &self.splice)
5039            .field("flush", &self.flush)
5040            .field("close_fn", &self.close_fn)
5041            .field("write_async", &self.write_async)
5042            .field("write_finish", &self.write_finish)
5043            .field("splice_async", &self.splice_async)
5044            .field("splice_finish", &self.splice_finish)
5045            .field("flush_async", &self.flush_async)
5046            .field("flush_finish", &self.flush_finish)
5047            .field("close_async", &self.close_async)
5048            .field("close_finish", &self.close_finish)
5049            .field("writev_fn", &self.writev_fn)
5050            .field("writev_async", &self.writev_async)
5051            .field("writev_finish", &self.writev_finish)
5052            .field("_g_reserved4", &self._g_reserved4)
5053            .field("_g_reserved5", &self._g_reserved5)
5054            .field("_g_reserved6", &self._g_reserved6)
5055            .field("_g_reserved7", &self._g_reserved7)
5056            .field("_g_reserved8", &self._g_reserved8)
5057            .finish()
5058    }
5059}
5060
5061#[repr(C)]
5062#[allow(dead_code)]
5063pub struct _GOutputStreamPrivate {
5064    _data: [u8; 0],
5065    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5066}
5067
5068pub type GOutputStreamPrivate = _GOutputStreamPrivate;
5069
5070#[derive(Copy, Clone)]
5071#[repr(C)]
5072pub struct GOutputVector {
5073    pub buffer: gconstpointer,
5074    pub size: size_t,
5075}
5076
5077impl ::std::fmt::Debug for GOutputVector {
5078    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5079        f.debug_struct(&format!("GOutputVector @ {self:p}"))
5080            .field("buffer", &self.buffer)
5081            .field("size", &self.size)
5082            .finish()
5083    }
5084}
5085
5086#[derive(Copy, Clone)]
5087#[repr(C)]
5088pub struct GPermissionClass {
5089    pub parent_class: gobject::GObjectClass,
5090    pub acquire: Option<
5091        unsafe extern "C" fn(
5092            *mut GPermission,
5093            *mut GCancellable,
5094            *mut *mut glib::GError,
5095        ) -> gboolean,
5096    >,
5097    pub acquire_async: Option<
5098        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5099    >,
5100    pub acquire_finish: Option<
5101        unsafe extern "C" fn(
5102            *mut GPermission,
5103            *mut GAsyncResult,
5104            *mut *mut glib::GError,
5105        ) -> gboolean,
5106    >,
5107    pub release: Option<
5108        unsafe extern "C" fn(
5109            *mut GPermission,
5110            *mut GCancellable,
5111            *mut *mut glib::GError,
5112        ) -> gboolean,
5113    >,
5114    pub release_async: Option<
5115        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5116    >,
5117    pub release_finish: Option<
5118        unsafe extern "C" fn(
5119            *mut GPermission,
5120            *mut GAsyncResult,
5121            *mut *mut glib::GError,
5122        ) -> gboolean,
5123    >,
5124    pub reserved: [gpointer; 16],
5125}
5126
5127impl ::std::fmt::Debug for GPermissionClass {
5128    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5129        f.debug_struct(&format!("GPermissionClass @ {self:p}"))
5130            .field("parent_class", &self.parent_class)
5131            .field("acquire", &self.acquire)
5132            .field("acquire_async", &self.acquire_async)
5133            .field("acquire_finish", &self.acquire_finish)
5134            .field("release", &self.release)
5135            .field("release_async", &self.release_async)
5136            .field("release_finish", &self.release_finish)
5137            .field("reserved", &self.reserved)
5138            .finish()
5139    }
5140}
5141
5142#[repr(C)]
5143#[allow(dead_code)]
5144pub struct _GPermissionPrivate {
5145    _data: [u8; 0],
5146    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5147}
5148
5149pub type GPermissionPrivate = _GPermissionPrivate;
5150
5151#[derive(Copy, Clone)]
5152#[repr(C)]
5153pub struct GPollableInputStreamInterface {
5154    pub g_iface: gobject::GTypeInterface,
5155    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5156    pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5157    pub create_source: Option<
5158        unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource,
5159    >,
5160    pub read_nonblocking: Option<
5161        unsafe extern "C" fn(
5162            *mut GPollableInputStream,
5163            *mut u8,
5164            size_t,
5165            *mut *mut glib::GError,
5166        ) -> ssize_t,
5167    >,
5168}
5169
5170impl ::std::fmt::Debug for GPollableInputStreamInterface {
5171    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5172        f.debug_struct(&format!("GPollableInputStreamInterface @ {self:p}"))
5173            .field("g_iface", &self.g_iface)
5174            .field("can_poll", &self.can_poll)
5175            .field("is_readable", &self.is_readable)
5176            .field("create_source", &self.create_source)
5177            .field("read_nonblocking", &self.read_nonblocking)
5178            .finish()
5179    }
5180}
5181
5182#[derive(Copy, Clone)]
5183#[repr(C)]
5184pub struct GPollableOutputStreamInterface {
5185    pub g_iface: gobject::GTypeInterface,
5186    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5187    pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5188    pub create_source: Option<
5189        unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource,
5190    >,
5191    pub write_nonblocking: Option<
5192        unsafe extern "C" fn(
5193            *mut GPollableOutputStream,
5194            *mut u8,
5195            size_t,
5196            *mut *mut glib::GError,
5197        ) -> ssize_t,
5198    >,
5199    pub writev_nonblocking: Option<
5200        unsafe extern "C" fn(
5201            *mut GPollableOutputStream,
5202            *const GOutputVector,
5203            size_t,
5204            *mut size_t,
5205            *mut *mut glib::GError,
5206        ) -> GPollableReturn,
5207    >,
5208}
5209
5210impl ::std::fmt::Debug for GPollableOutputStreamInterface {
5211    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5212        f.debug_struct(&format!("GPollableOutputStreamInterface @ {self:p}"))
5213            .field("g_iface", &self.g_iface)
5214            .field("can_poll", &self.can_poll)
5215            .field("is_writable", &self.is_writable)
5216            .field("create_source", &self.create_source)
5217            .field("write_nonblocking", &self.write_nonblocking)
5218            .field("writev_nonblocking", &self.writev_nonblocking)
5219            .finish()
5220    }
5221}
5222
5223#[derive(Copy, Clone)]
5224#[repr(C)]
5225pub struct GPowerProfileMonitorInterface {
5226    pub g_iface: gobject::GTypeInterface,
5227}
5228
5229impl ::std::fmt::Debug for GPowerProfileMonitorInterface {
5230    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5231        f.debug_struct(&format!("GPowerProfileMonitorInterface @ {self:p}"))
5232            .finish()
5233    }
5234}
5235
5236#[derive(Copy, Clone)]
5237#[repr(C)]
5238pub struct GProxyAddressClass {
5239    pub parent_class: GInetSocketAddressClass,
5240}
5241
5242impl ::std::fmt::Debug for GProxyAddressClass {
5243    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5244        f.debug_struct(&format!("GProxyAddressClass @ {self:p}"))
5245            .field("parent_class", &self.parent_class)
5246            .finish()
5247    }
5248}
5249
5250#[derive(Copy, Clone)]
5251#[repr(C)]
5252pub struct GProxyAddressEnumeratorClass {
5253    pub parent_class: GSocketAddressEnumeratorClass,
5254    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5255    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5256    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5257    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5258    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5259    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5260    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5261}
5262
5263impl ::std::fmt::Debug for GProxyAddressEnumeratorClass {
5264    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5265        f.debug_struct(&format!("GProxyAddressEnumeratorClass @ {self:p}"))
5266            .field("_g_reserved1", &self._g_reserved1)
5267            .field("_g_reserved2", &self._g_reserved2)
5268            .field("_g_reserved3", &self._g_reserved3)
5269            .field("_g_reserved4", &self._g_reserved4)
5270            .field("_g_reserved5", &self._g_reserved5)
5271            .field("_g_reserved6", &self._g_reserved6)
5272            .field("_g_reserved7", &self._g_reserved7)
5273            .finish()
5274    }
5275}
5276
5277#[repr(C)]
5278#[allow(dead_code)]
5279pub struct _GProxyAddressEnumeratorPrivate {
5280    _data: [u8; 0],
5281    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5282}
5283
5284pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate;
5285
5286#[repr(C)]
5287#[allow(dead_code)]
5288pub struct _GProxyAddressPrivate {
5289    _data: [u8; 0],
5290    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5291}
5292
5293pub type GProxyAddressPrivate = _GProxyAddressPrivate;
5294
5295#[derive(Copy, Clone)]
5296#[repr(C)]
5297pub struct GProxyInterface {
5298    pub g_iface: gobject::GTypeInterface,
5299    pub connect: Option<
5300        unsafe extern "C" fn(
5301            *mut GProxy,
5302            *mut GIOStream,
5303            *mut GProxyAddress,
5304            *mut GCancellable,
5305            *mut *mut glib::GError,
5306        ) -> *mut GIOStream,
5307    >,
5308    pub connect_async: Option<
5309        unsafe extern "C" fn(
5310            *mut GProxy,
5311            *mut GIOStream,
5312            *mut GProxyAddress,
5313            *mut GCancellable,
5314            GAsyncReadyCallback,
5315            gpointer,
5316        ),
5317    >,
5318    pub connect_finish: Option<
5319        unsafe extern "C" fn(
5320            *mut GProxy,
5321            *mut GAsyncResult,
5322            *mut *mut glib::GError,
5323        ) -> *mut GIOStream,
5324    >,
5325    pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>,
5326}
5327
5328impl ::std::fmt::Debug for GProxyInterface {
5329    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5330        f.debug_struct(&format!("GProxyInterface @ {self:p}"))
5331            .field("g_iface", &self.g_iface)
5332            .field("connect", &self.connect)
5333            .field("connect_async", &self.connect_async)
5334            .field("connect_finish", &self.connect_finish)
5335            .field("supports_hostname", &self.supports_hostname)
5336            .finish()
5337    }
5338}
5339
5340#[derive(Copy, Clone)]
5341#[repr(C)]
5342pub struct GProxyResolverInterface {
5343    pub g_iface: gobject::GTypeInterface,
5344    pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>,
5345    pub lookup: Option<
5346        unsafe extern "C" fn(
5347            *mut GProxyResolver,
5348            *const c_char,
5349            *mut GCancellable,
5350            *mut *mut glib::GError,
5351        ) -> *mut *mut c_char,
5352    >,
5353    pub lookup_async: Option<
5354        unsafe extern "C" fn(
5355            *mut GProxyResolver,
5356            *const c_char,
5357            *mut GCancellable,
5358            GAsyncReadyCallback,
5359            gpointer,
5360        ),
5361    >,
5362    pub lookup_finish: Option<
5363        unsafe extern "C" fn(
5364            *mut GProxyResolver,
5365            *mut GAsyncResult,
5366            *mut *mut glib::GError,
5367        ) -> *mut *mut c_char,
5368    >,
5369}
5370
5371impl ::std::fmt::Debug for GProxyResolverInterface {
5372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5373        f.debug_struct(&format!("GProxyResolverInterface @ {self:p}"))
5374            .field("g_iface", &self.g_iface)
5375            .field("is_supported", &self.is_supported)
5376            .field("lookup", &self.lookup)
5377            .field("lookup_async", &self.lookup_async)
5378            .field("lookup_finish", &self.lookup_finish)
5379            .finish()
5380    }
5381}
5382
5383#[derive(Copy, Clone)]
5384#[repr(C)]
5385pub struct GRemoteActionGroupInterface {
5386    pub g_iface: gobject::GTypeInterface,
5387    pub activate_action_full: Option<
5388        unsafe extern "C" fn(
5389            *mut GRemoteActionGroup,
5390            *const c_char,
5391            *mut glib::GVariant,
5392            *mut glib::GVariant,
5393        ),
5394    >,
5395    pub change_action_state_full: Option<
5396        unsafe extern "C" fn(
5397            *mut GRemoteActionGroup,
5398            *const c_char,
5399            *mut glib::GVariant,
5400            *mut glib::GVariant,
5401        ),
5402    >,
5403}
5404
5405impl ::std::fmt::Debug for GRemoteActionGroupInterface {
5406    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5407        f.debug_struct(&format!("GRemoteActionGroupInterface @ {self:p}"))
5408            .field("g_iface", &self.g_iface)
5409            .field("activate_action_full", &self.activate_action_full)
5410            .field("change_action_state_full", &self.change_action_state_full)
5411            .finish()
5412    }
5413}
5414
5415#[derive(Copy, Clone)]
5416#[repr(C)]
5417pub struct GResolverClass {
5418    pub parent_class: gobject::GObjectClass,
5419    pub reload: Option<unsafe extern "C" fn(*mut GResolver)>,
5420    pub lookup_by_name: Option<
5421        unsafe extern "C" fn(
5422            *mut GResolver,
5423            *const c_char,
5424            *mut GCancellable,
5425            *mut *mut glib::GError,
5426        ) -> *mut glib::GList,
5427    >,
5428    pub lookup_by_name_async: Option<
5429        unsafe extern "C" fn(
5430            *mut GResolver,
5431            *const c_char,
5432            *mut GCancellable,
5433            GAsyncReadyCallback,
5434            gpointer,
5435        ),
5436    >,
5437    pub lookup_by_name_finish: Option<
5438        unsafe extern "C" fn(
5439            *mut GResolver,
5440            *mut GAsyncResult,
5441            *mut *mut glib::GError,
5442        ) -> *mut glib::GList,
5443    >,
5444    pub lookup_by_address: Option<
5445        unsafe extern "C" fn(
5446            *mut GResolver,
5447            *mut GInetAddress,
5448            *mut GCancellable,
5449            *mut *mut glib::GError,
5450        ) -> *mut c_char,
5451    >,
5452    pub lookup_by_address_async: Option<
5453        unsafe extern "C" fn(
5454            *mut GResolver,
5455            *mut GInetAddress,
5456            *mut GCancellable,
5457            GAsyncReadyCallback,
5458            gpointer,
5459        ),
5460    >,
5461    pub lookup_by_address_finish: Option<
5462        unsafe extern "C" fn(
5463            *mut GResolver,
5464            *mut GAsyncResult,
5465            *mut *mut glib::GError,
5466        ) -> *mut c_char,
5467    >,
5468    pub lookup_service: Option<
5469        unsafe extern "C" fn(
5470            *mut GResolver,
5471            *const c_char,
5472            *mut GCancellable,
5473            *mut *mut glib::GError,
5474        ) -> *mut glib::GList,
5475    >,
5476    pub lookup_service_async: Option<
5477        unsafe extern "C" fn(
5478            *mut GResolver,
5479            *const c_char,
5480            *mut GCancellable,
5481            GAsyncReadyCallback,
5482            gpointer,
5483        ),
5484    >,
5485    pub lookup_service_finish: Option<
5486        unsafe extern "C" fn(
5487            *mut GResolver,
5488            *mut GAsyncResult,
5489            *mut *mut glib::GError,
5490        ) -> *mut glib::GList,
5491    >,
5492    pub lookup_records: Option<
5493        unsafe extern "C" fn(
5494            *mut GResolver,
5495            *const c_char,
5496            GResolverRecordType,
5497            *mut GCancellable,
5498            *mut *mut glib::GError,
5499        ) -> *mut glib::GList,
5500    >,
5501    pub lookup_records_async: Option<
5502        unsafe extern "C" fn(
5503            *mut GResolver,
5504            *const c_char,
5505            GResolverRecordType,
5506            *mut GCancellable,
5507            GAsyncReadyCallback,
5508            gpointer,
5509        ),
5510    >,
5511    pub lookup_records_finish: Option<
5512        unsafe extern "C" fn(
5513            *mut GResolver,
5514            *mut GAsyncResult,
5515            *mut *mut glib::GError,
5516        ) -> *mut glib::GList,
5517    >,
5518    pub lookup_by_name_with_flags_async: Option<
5519        unsafe extern "C" fn(
5520            *mut GResolver,
5521            *const c_char,
5522            GResolverNameLookupFlags,
5523            *mut GCancellable,
5524            GAsyncReadyCallback,
5525            gpointer,
5526        ),
5527    >,
5528    pub lookup_by_name_with_flags_finish: Option<
5529        unsafe extern "C" fn(
5530            *mut GResolver,
5531            *mut GAsyncResult,
5532            *mut *mut glib::GError,
5533        ) -> *mut glib::GList,
5534    >,
5535    pub lookup_by_name_with_flags: Option<
5536        unsafe extern "C" fn(
5537            *mut GResolver,
5538            *const c_char,
5539            GResolverNameLookupFlags,
5540            *mut GCancellable,
5541            *mut *mut glib::GError,
5542        ) -> *mut glib::GList,
5543    >,
5544}
5545
5546impl ::std::fmt::Debug for GResolverClass {
5547    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5548        f.debug_struct(&format!("GResolverClass @ {self:p}"))
5549            .field("parent_class", &self.parent_class)
5550            .field("reload", &self.reload)
5551            .field("lookup_by_name", &self.lookup_by_name)
5552            .field("lookup_by_name_async", &self.lookup_by_name_async)
5553            .field("lookup_by_name_finish", &self.lookup_by_name_finish)
5554            .field("lookup_by_address", &self.lookup_by_address)
5555            .field("lookup_by_address_async", &self.lookup_by_address_async)
5556            .field("lookup_by_address_finish", &self.lookup_by_address_finish)
5557            .field("lookup_service", &self.lookup_service)
5558            .field("lookup_service_async", &self.lookup_service_async)
5559            .field("lookup_service_finish", &self.lookup_service_finish)
5560            .field("lookup_records", &self.lookup_records)
5561            .field("lookup_records_async", &self.lookup_records_async)
5562            .field("lookup_records_finish", &self.lookup_records_finish)
5563            .field(
5564                "lookup_by_name_with_flags_async",
5565                &self.lookup_by_name_with_flags_async,
5566            )
5567            .field(
5568                "lookup_by_name_with_flags_finish",
5569                &self.lookup_by_name_with_flags_finish,
5570            )
5571            .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags)
5572            .finish()
5573    }
5574}
5575
5576#[repr(C)]
5577#[allow(dead_code)]
5578pub struct _GResolverPrivate {
5579    _data: [u8; 0],
5580    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5581}
5582
5583pub type GResolverPrivate = _GResolverPrivate;
5584
5585#[repr(C)]
5586#[allow(dead_code)]
5587pub struct GResource {
5588    _data: [u8; 0],
5589    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5590}
5591
5592impl ::std::fmt::Debug for GResource {
5593    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5594        f.debug_struct(&format!("GResource @ {self:p}")).finish()
5595    }
5596}
5597
5598#[derive(Copy, Clone)]
5599#[repr(C)]
5600pub struct GSeekableIface {
5601    pub g_iface: gobject::GTypeInterface,
5602    pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>,
5603    pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5604    pub seek: Option<
5605        unsafe extern "C" fn(
5606            *mut GSeekable,
5607            i64,
5608            glib::GSeekType,
5609            *mut GCancellable,
5610            *mut *mut glib::GError,
5611        ) -> gboolean,
5612    >,
5613    pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5614    pub truncate_fn: Option<
5615        unsafe extern "C" fn(
5616            *mut GSeekable,
5617            i64,
5618            *mut GCancellable,
5619            *mut *mut glib::GError,
5620        ) -> gboolean,
5621    >,
5622}
5623
5624impl ::std::fmt::Debug for GSeekableIface {
5625    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5626        f.debug_struct(&format!("GSeekableIface @ {self:p}"))
5627            .field("g_iface", &self.g_iface)
5628            .field("tell", &self.tell)
5629            .field("can_seek", &self.can_seek)
5630            .field("seek", &self.seek)
5631            .field("can_truncate", &self.can_truncate)
5632            .field("truncate_fn", &self.truncate_fn)
5633            .finish()
5634    }
5635}
5636
5637#[derive(Copy, Clone)]
5638#[repr(C)]
5639pub struct GSettingsBackendClass {
5640    pub parent_class: gobject::GObjectClass,
5641    pub read: Option<
5642        unsafe extern "C" fn(
5643            *mut GSettingsBackend,
5644            *const c_char,
5645            *const glib::GVariantType,
5646            gboolean,
5647        ) -> *mut glib::GVariant,
5648    >,
5649    pub get_writable:
5650        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>,
5651    pub write: Option<
5652        unsafe extern "C" fn(
5653            *mut GSettingsBackend,
5654            *const c_char,
5655            *mut glib::GVariant,
5656            gpointer,
5657        ) -> gboolean,
5658    >,
5659    pub write_tree:
5660        Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>,
5661    pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>,
5662    pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5663    pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5664    pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>,
5665    pub get_permission:
5666        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>,
5667    pub read_user_value: Option<
5668        unsafe extern "C" fn(
5669            *mut GSettingsBackend,
5670            *const c_char,
5671            *const glib::GVariantType,
5672        ) -> *mut glib::GVariant,
5673    >,
5674    pub padding: [gpointer; 23],
5675}
5676
5677impl ::std::fmt::Debug for GSettingsBackendClass {
5678    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5679        f.debug_struct(&format!("GSettingsBackendClass @ {self:p}"))
5680            .field("parent_class", &self.parent_class)
5681            .field("read", &self.read)
5682            .field("get_writable", &self.get_writable)
5683            .field("write", &self.write)
5684            .field("write_tree", &self.write_tree)
5685            .field("reset", &self.reset)
5686            .field("subscribe", &self.subscribe)
5687            .field("unsubscribe", &self.unsubscribe)
5688            .field("sync", &self.sync)
5689            .field("get_permission", &self.get_permission)
5690            .field("read_user_value", &self.read_user_value)
5691            .finish()
5692    }
5693}
5694
5695#[repr(C)]
5696#[allow(dead_code)]
5697pub struct _GSettingsBackendPrivate {
5698    _data: [u8; 0],
5699    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5700}
5701
5702pub type GSettingsBackendPrivate = _GSettingsBackendPrivate;
5703
5704#[derive(Copy, Clone)]
5705#[repr(C)]
5706pub struct GSettingsClass {
5707    pub parent_class: gobject::GObjectClass,
5708    pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5709    pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5710    pub writable_change_event:
5711        Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>,
5712    pub change_event:
5713        Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>,
5714    pub padding: [gpointer; 20],
5715}
5716
5717impl ::std::fmt::Debug for GSettingsClass {
5718    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5719        f.debug_struct(&format!("GSettingsClass @ {self:p}"))
5720            .field("parent_class", &self.parent_class)
5721            .field("writable_changed", &self.writable_changed)
5722            .field("changed", &self.changed)
5723            .field("writable_change_event", &self.writable_change_event)
5724            .field("change_event", &self.change_event)
5725            .field("padding", &self.padding)
5726            .finish()
5727    }
5728}
5729
5730#[repr(C)]
5731#[allow(dead_code)]
5732pub struct _GSettingsPrivate {
5733    _data: [u8; 0],
5734    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5735}
5736
5737pub type GSettingsPrivate = _GSettingsPrivate;
5738
5739#[repr(C)]
5740#[allow(dead_code)]
5741pub struct GSettingsSchema {
5742    _data: [u8; 0],
5743    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5744}
5745
5746impl ::std::fmt::Debug for GSettingsSchema {
5747    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5748        f.debug_struct(&format!("GSettingsSchema @ {self:p}"))
5749            .finish()
5750    }
5751}
5752
5753#[repr(C)]
5754#[allow(dead_code)]
5755pub struct GSettingsSchemaKey {
5756    _data: [u8; 0],
5757    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5758}
5759
5760impl ::std::fmt::Debug for GSettingsSchemaKey {
5761    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5762        f.debug_struct(&format!("GSettingsSchemaKey @ {self:p}"))
5763            .finish()
5764    }
5765}
5766
5767#[repr(C)]
5768#[allow(dead_code)]
5769pub struct GSettingsSchemaSource {
5770    _data: [u8; 0],
5771    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5772}
5773
5774impl ::std::fmt::Debug for GSettingsSchemaSource {
5775    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5776        f.debug_struct(&format!("GSettingsSchemaSource @ {self:p}"))
5777            .finish()
5778    }
5779}
5780
5781#[derive(Copy, Clone)]
5782#[repr(C)]
5783pub struct GSimpleActionGroupClass {
5784    pub parent_class: gobject::GObjectClass,
5785    pub padding: [gpointer; 12],
5786}
5787
5788impl ::std::fmt::Debug for GSimpleActionGroupClass {
5789    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5790        f.debug_struct(&format!("GSimpleActionGroupClass @ {self:p}"))
5791            .finish()
5792    }
5793}
5794
5795#[repr(C)]
5796#[allow(dead_code)]
5797pub struct _GSimpleActionGroupPrivate {
5798    _data: [u8; 0],
5799    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5800}
5801
5802pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate;
5803
5804#[repr(C)]
5805#[allow(dead_code)]
5806pub struct _GSimpleAsyncResultClass {
5807    _data: [u8; 0],
5808    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5809}
5810
5811pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass;
5812
5813#[derive(Copy, Clone)]
5814#[repr(C)]
5815pub struct GSimpleProxyResolverClass {
5816    pub parent_class: gobject::GObjectClass,
5817    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5818    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5819    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5820    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5821    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5822}
5823
5824impl ::std::fmt::Debug for GSimpleProxyResolverClass {
5825    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5826        f.debug_struct(&format!("GSimpleProxyResolverClass @ {self:p}"))
5827            .field("parent_class", &self.parent_class)
5828            .field("_g_reserved1", &self._g_reserved1)
5829            .field("_g_reserved2", &self._g_reserved2)
5830            .field("_g_reserved3", &self._g_reserved3)
5831            .field("_g_reserved4", &self._g_reserved4)
5832            .field("_g_reserved5", &self._g_reserved5)
5833            .finish()
5834    }
5835}
5836
5837#[repr(C)]
5838#[allow(dead_code)]
5839pub struct _GSimpleProxyResolverPrivate {
5840    _data: [u8; 0],
5841    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5842}
5843
5844pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate;
5845
5846#[derive(Copy, Clone)]
5847#[repr(C)]
5848pub struct GSocketAddressClass {
5849    pub parent_class: gobject::GObjectClass,
5850    pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>,
5851    pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>,
5852    pub to_native: Option<
5853        unsafe extern "C" fn(
5854            *mut GSocketAddress,
5855            gpointer,
5856            size_t,
5857            *mut *mut glib::GError,
5858        ) -> gboolean,
5859    >,
5860}
5861
5862impl ::std::fmt::Debug for GSocketAddressClass {
5863    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5864        f.debug_struct(&format!("GSocketAddressClass @ {self:p}"))
5865            .field("parent_class", &self.parent_class)
5866            .field("get_family", &self.get_family)
5867            .field("get_native_size", &self.get_native_size)
5868            .field("to_native", &self.to_native)
5869            .finish()
5870    }
5871}
5872
5873#[derive(Copy, Clone)]
5874#[repr(C)]
5875pub struct GSocketAddressEnumeratorClass {
5876    pub parent_class: gobject::GObjectClass,
5877    pub next: Option<
5878        unsafe extern "C" fn(
5879            *mut GSocketAddressEnumerator,
5880            *mut GCancellable,
5881            *mut *mut glib::GError,
5882        ) -> *mut GSocketAddress,
5883    >,
5884    pub next_async: Option<
5885        unsafe extern "C" fn(
5886            *mut GSocketAddressEnumerator,
5887            *mut GCancellable,
5888            GAsyncReadyCallback,
5889            gpointer,
5890        ),
5891    >,
5892    pub next_finish: Option<
5893        unsafe extern "C" fn(
5894            *mut GSocketAddressEnumerator,
5895            *mut GAsyncResult,
5896            *mut *mut glib::GError,
5897        ) -> *mut GSocketAddress,
5898    >,
5899}
5900
5901impl ::std::fmt::Debug for GSocketAddressEnumeratorClass {
5902    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5903        f.debug_struct(&format!("GSocketAddressEnumeratorClass @ {self:p}"))
5904            .field("next", &self.next)
5905            .field("next_async", &self.next_async)
5906            .field("next_finish", &self.next_finish)
5907            .finish()
5908    }
5909}
5910
5911#[derive(Copy, Clone)]
5912#[repr(C)]
5913pub struct GSocketClass {
5914    pub parent_class: gobject::GObjectClass,
5915    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5916    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5917    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5918    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5919    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5920    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5921    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5922    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5923    pub _g_reserved9: Option<unsafe extern "C" fn()>,
5924    pub _g_reserved10: Option<unsafe extern "C" fn()>,
5925}
5926
5927impl ::std::fmt::Debug for GSocketClass {
5928    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5929        f.debug_struct(&format!("GSocketClass @ {self:p}"))
5930            .field("parent_class", &self.parent_class)
5931            .field("_g_reserved1", &self._g_reserved1)
5932            .field("_g_reserved2", &self._g_reserved2)
5933            .field("_g_reserved3", &self._g_reserved3)
5934            .field("_g_reserved4", &self._g_reserved4)
5935            .field("_g_reserved5", &self._g_reserved5)
5936            .field("_g_reserved6", &self._g_reserved6)
5937            .field("_g_reserved7", &self._g_reserved7)
5938            .field("_g_reserved8", &self._g_reserved8)
5939            .field("_g_reserved9", &self._g_reserved9)
5940            .field("_g_reserved10", &self._g_reserved10)
5941            .finish()
5942    }
5943}
5944
5945#[derive(Copy, Clone)]
5946#[repr(C)]
5947pub struct GSocketClientClass {
5948    pub parent_class: gobject::GObjectClass,
5949    pub event: Option<
5950        unsafe extern "C" fn(
5951            *mut GSocketClient,
5952            GSocketClientEvent,
5953            *mut GSocketConnectable,
5954            *mut GIOStream,
5955        ),
5956    >,
5957    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5958    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5959    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5960    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5961}
5962
5963impl ::std::fmt::Debug for GSocketClientClass {
5964    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5965        f.debug_struct(&format!("GSocketClientClass @ {self:p}"))
5966            .field("parent_class", &self.parent_class)
5967            .field("event", &self.event)
5968            .field("_g_reserved1", &self._g_reserved1)
5969            .field("_g_reserved2", &self._g_reserved2)
5970            .field("_g_reserved3", &self._g_reserved3)
5971            .field("_g_reserved4", &self._g_reserved4)
5972            .finish()
5973    }
5974}
5975
5976#[repr(C)]
5977#[allow(dead_code)]
5978pub struct _GSocketClientPrivate {
5979    _data: [u8; 0],
5980    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5981}
5982
5983pub type GSocketClientPrivate = _GSocketClientPrivate;
5984
5985#[derive(Copy, Clone)]
5986#[repr(C)]
5987pub struct GSocketConnectableIface {
5988    pub g_iface: gobject::GTypeInterface,
5989    pub enumerate:
5990        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5991    pub proxy_enumerate:
5992        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5993    pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>,
5994}
5995
5996impl ::std::fmt::Debug for GSocketConnectableIface {
5997    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5998        f.debug_struct(&format!("GSocketConnectableIface @ {self:p}"))
5999            .field("g_iface", &self.g_iface)
6000            .field("enumerate", &self.enumerate)
6001            .field("proxy_enumerate", &self.proxy_enumerate)
6002            .field("to_string", &self.to_string)
6003            .finish()
6004    }
6005}
6006
6007#[derive(Copy, Clone)]
6008#[repr(C)]
6009pub struct GSocketConnectionClass {
6010    pub parent_class: GIOStreamClass,
6011    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6012    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6013    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6014    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6015    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6016    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6017}
6018
6019impl ::std::fmt::Debug for GSocketConnectionClass {
6020    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6021        f.debug_struct(&format!("GSocketConnectionClass @ {self:p}"))
6022            .field("parent_class", &self.parent_class)
6023            .field("_g_reserved1", &self._g_reserved1)
6024            .field("_g_reserved2", &self._g_reserved2)
6025            .field("_g_reserved3", &self._g_reserved3)
6026            .field("_g_reserved4", &self._g_reserved4)
6027            .field("_g_reserved5", &self._g_reserved5)
6028            .field("_g_reserved6", &self._g_reserved6)
6029            .finish()
6030    }
6031}
6032
6033#[repr(C)]
6034#[allow(dead_code)]
6035pub struct _GSocketConnectionPrivate {
6036    _data: [u8; 0],
6037    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6038}
6039
6040pub type GSocketConnectionPrivate = _GSocketConnectionPrivate;
6041
6042#[derive(Copy, Clone)]
6043#[repr(C)]
6044pub struct GSocketControlMessageClass {
6045    pub parent_class: gobject::GObjectClass,
6046    pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>,
6047    pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6048    pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6049    pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>,
6050    pub deserialize:
6051        Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>,
6052    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6053    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6054    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6055    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6056    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6057}
6058
6059impl ::std::fmt::Debug for GSocketControlMessageClass {
6060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6061        f.debug_struct(&format!("GSocketControlMessageClass @ {self:p}"))
6062            .field("parent_class", &self.parent_class)
6063            .field("get_size", &self.get_size)
6064            .field("get_level", &self.get_level)
6065            .field("get_type", &self.get_type)
6066            .field("serialize", &self.serialize)
6067            .field("deserialize", &self.deserialize)
6068            .field("_g_reserved1", &self._g_reserved1)
6069            .field("_g_reserved2", &self._g_reserved2)
6070            .field("_g_reserved3", &self._g_reserved3)
6071            .field("_g_reserved4", &self._g_reserved4)
6072            .field("_g_reserved5", &self._g_reserved5)
6073            .finish()
6074    }
6075}
6076
6077#[repr(C)]
6078#[allow(dead_code)]
6079pub struct _GSocketControlMessagePrivate {
6080    _data: [u8; 0],
6081    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6082}
6083
6084pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate;
6085
6086#[derive(Copy, Clone)]
6087#[repr(C)]
6088pub struct GSocketListenerClass {
6089    pub parent_class: gobject::GObjectClass,
6090    pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>,
6091    pub event:
6092        Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>,
6093    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6094    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6095    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6096    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6097    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6098}
6099
6100impl ::std::fmt::Debug for GSocketListenerClass {
6101    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6102        f.debug_struct(&format!("GSocketListenerClass @ {self:p}"))
6103            .field("parent_class", &self.parent_class)
6104            .field("changed", &self.changed)
6105            .field("event", &self.event)
6106            .field("_g_reserved2", &self._g_reserved2)
6107            .field("_g_reserved3", &self._g_reserved3)
6108            .field("_g_reserved4", &self._g_reserved4)
6109            .field("_g_reserved5", &self._g_reserved5)
6110            .field("_g_reserved6", &self._g_reserved6)
6111            .finish()
6112    }
6113}
6114
6115#[repr(C)]
6116#[allow(dead_code)]
6117pub struct _GSocketListenerPrivate {
6118    _data: [u8; 0],
6119    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6120}
6121
6122pub type GSocketListenerPrivate = _GSocketListenerPrivate;
6123
6124#[repr(C)]
6125#[allow(dead_code)]
6126pub struct _GSocketPrivate {
6127    _data: [u8; 0],
6128    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6129}
6130
6131pub type GSocketPrivate = _GSocketPrivate;
6132
6133#[derive(Copy, Clone)]
6134#[repr(C)]
6135pub struct GSocketServiceClass {
6136    pub parent_class: GSocketListenerClass,
6137    pub incoming: Option<
6138        unsafe extern "C" fn(
6139            *mut GSocketService,
6140            *mut GSocketConnection,
6141            *mut gobject::GObject,
6142        ) -> gboolean,
6143    >,
6144    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6145    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6146    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6147    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6148    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6149    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6150}
6151
6152impl ::std::fmt::Debug for GSocketServiceClass {
6153    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6154        f.debug_struct(&format!("GSocketServiceClass @ {self:p}"))
6155            .field("parent_class", &self.parent_class)
6156            .field("incoming", &self.incoming)
6157            .field("_g_reserved1", &self._g_reserved1)
6158            .field("_g_reserved2", &self._g_reserved2)
6159            .field("_g_reserved3", &self._g_reserved3)
6160            .field("_g_reserved4", &self._g_reserved4)
6161            .field("_g_reserved5", &self._g_reserved5)
6162            .field("_g_reserved6", &self._g_reserved6)
6163            .finish()
6164    }
6165}
6166
6167#[repr(C)]
6168#[allow(dead_code)]
6169pub struct _GSocketServicePrivate {
6170    _data: [u8; 0],
6171    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6172}
6173
6174pub type GSocketServicePrivate = _GSocketServicePrivate;
6175
6176#[repr(C)]
6177#[allow(dead_code)]
6178pub struct GSrvTarget {
6179    _data: [u8; 0],
6180    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6181}
6182
6183impl ::std::fmt::Debug for GSrvTarget {
6184    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6185        f.debug_struct(&format!("GSrvTarget @ {self:p}")).finish()
6186    }
6187}
6188
6189#[derive(Copy, Clone)]
6190#[repr(C)]
6191pub struct GStaticResource {
6192    pub data: *const u8,
6193    pub data_len: size_t,
6194    pub resource: *mut GResource,
6195    pub next: *mut GStaticResource,
6196    pub padding: gpointer,
6197}
6198
6199impl ::std::fmt::Debug for GStaticResource {
6200    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6201        f.debug_struct(&format!("GStaticResource @ {self:p}"))
6202            .finish()
6203    }
6204}
6205
6206#[repr(C)]
6207#[allow(dead_code)]
6208pub struct _GTaskClass {
6209    _data: [u8; 0],
6210    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6211}
6212
6213pub type GTaskClass = _GTaskClass;
6214
6215#[derive(Copy, Clone)]
6216#[repr(C)]
6217pub struct GTcpConnectionClass {
6218    pub parent_class: GSocketConnectionClass,
6219}
6220
6221impl ::std::fmt::Debug for GTcpConnectionClass {
6222    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6223        f.debug_struct(&format!("GTcpConnectionClass @ {self:p}"))
6224            .field("parent_class", &self.parent_class)
6225            .finish()
6226    }
6227}
6228
6229#[repr(C)]
6230#[allow(dead_code)]
6231pub struct _GTcpConnectionPrivate {
6232    _data: [u8; 0],
6233    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6234}
6235
6236pub type GTcpConnectionPrivate = _GTcpConnectionPrivate;
6237
6238#[derive(Copy, Clone)]
6239#[repr(C)]
6240pub struct GTcpWrapperConnectionClass {
6241    pub parent_class: GTcpConnectionClass,
6242}
6243
6244impl ::std::fmt::Debug for GTcpWrapperConnectionClass {
6245    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6246        f.debug_struct(&format!("GTcpWrapperConnectionClass @ {self:p}"))
6247            .field("parent_class", &self.parent_class)
6248            .finish()
6249    }
6250}
6251
6252#[repr(C)]
6253#[allow(dead_code)]
6254pub struct _GTcpWrapperConnectionPrivate {
6255    _data: [u8; 0],
6256    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6257}
6258
6259pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate;
6260
6261#[repr(C)]
6262#[allow(dead_code)]
6263pub struct _GThemedIconClass {
6264    _data: [u8; 0],
6265    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6266}
6267
6268pub type GThemedIconClass = _GThemedIconClass;
6269
6270#[derive(Copy, Clone)]
6271#[repr(C)]
6272pub struct GThreadedSocketServiceClass {
6273    pub parent_class: GSocketServiceClass,
6274    pub run: Option<
6275        unsafe extern "C" fn(
6276            *mut GThreadedSocketService,
6277            *mut GSocketConnection,
6278            *mut gobject::GObject,
6279        ) -> gboolean,
6280    >,
6281    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6282    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6283    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6284    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6285    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6286}
6287
6288impl ::std::fmt::Debug for GThreadedSocketServiceClass {
6289    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6290        f.debug_struct(&format!("GThreadedSocketServiceClass @ {self:p}"))
6291            .field("parent_class", &self.parent_class)
6292            .field("run", &self.run)
6293            .field("_g_reserved1", &self._g_reserved1)
6294            .field("_g_reserved2", &self._g_reserved2)
6295            .field("_g_reserved3", &self._g_reserved3)
6296            .field("_g_reserved4", &self._g_reserved4)
6297            .field("_g_reserved5", &self._g_reserved5)
6298            .finish()
6299    }
6300}
6301
6302#[repr(C)]
6303#[allow(dead_code)]
6304pub struct _GThreadedSocketServicePrivate {
6305    _data: [u8; 0],
6306    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6307}
6308
6309pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate;
6310
6311#[derive(Copy, Clone)]
6312#[repr(C)]
6313pub struct GTlsBackendInterface {
6314    pub g_iface: gobject::GTypeInterface,
6315    pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6316    pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>,
6317    pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6318    pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6319    pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>,
6320    pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>,
6321    pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6322    pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6323    pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6324}
6325
6326impl ::std::fmt::Debug for GTlsBackendInterface {
6327    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6328        f.debug_struct(&format!("GTlsBackendInterface @ {self:p}"))
6329            .field("g_iface", &self.g_iface)
6330            .field("supports_tls", &self.supports_tls)
6331            .field("get_certificate_type", &self.get_certificate_type)
6332            .field(
6333                "get_client_connection_type",
6334                &self.get_client_connection_type,
6335            )
6336            .field(
6337                "get_server_connection_type",
6338                &self.get_server_connection_type,
6339            )
6340            .field("get_file_database_type", &self.get_file_database_type)
6341            .field("get_default_database", &self.get_default_database)
6342            .field("supports_dtls", &self.supports_dtls)
6343            .field(
6344                "get_dtls_client_connection_type",
6345                &self.get_dtls_client_connection_type,
6346            )
6347            .field(
6348                "get_dtls_server_connection_type",
6349                &self.get_dtls_server_connection_type,
6350            )
6351            .finish()
6352    }
6353}
6354
6355#[derive(Copy, Clone)]
6356#[repr(C)]
6357pub struct GTlsCertificateClass {
6358    pub parent_class: gobject::GObjectClass,
6359    pub verify: Option<
6360        unsafe extern "C" fn(
6361            *mut GTlsCertificate,
6362            *mut GSocketConnectable,
6363            *mut GTlsCertificate,
6364        ) -> GTlsCertificateFlags,
6365    >,
6366    pub padding: [gpointer; 8],
6367}
6368
6369impl ::std::fmt::Debug for GTlsCertificateClass {
6370    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6371        f.debug_struct(&format!("GTlsCertificateClass @ {self:p}"))
6372            .field("parent_class", &self.parent_class)
6373            .field("verify", &self.verify)
6374            .finish()
6375    }
6376}
6377
6378#[repr(C)]
6379#[allow(dead_code)]
6380pub struct _GTlsCertificatePrivate {
6381    _data: [u8; 0],
6382    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6383}
6384
6385pub type GTlsCertificatePrivate = _GTlsCertificatePrivate;
6386
6387#[derive(Copy, Clone)]
6388#[repr(C)]
6389pub struct GTlsClientConnectionInterface {
6390    pub g_iface: gobject::GTypeInterface,
6391    pub copy_session_state:
6392        Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>,
6393}
6394
6395impl ::std::fmt::Debug for GTlsClientConnectionInterface {
6396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6397        f.debug_struct(&format!("GTlsClientConnectionInterface @ {self:p}"))
6398            .field("g_iface", &self.g_iface)
6399            .field("copy_session_state", &self.copy_session_state)
6400            .finish()
6401    }
6402}
6403
6404#[derive(Copy, Clone)]
6405#[repr(C)]
6406pub struct GTlsConnectionClass {
6407    pub parent_class: GIOStreamClass,
6408    pub accept_certificate: Option<
6409        unsafe extern "C" fn(
6410            *mut GTlsConnection,
6411            *mut GTlsCertificate,
6412            GTlsCertificateFlags,
6413        ) -> gboolean,
6414    >,
6415    pub handshake: Option<
6416        unsafe extern "C" fn(
6417            *mut GTlsConnection,
6418            *mut GCancellable,
6419            *mut *mut glib::GError,
6420        ) -> gboolean,
6421    >,
6422    pub handshake_async: Option<
6423        unsafe extern "C" fn(
6424            *mut GTlsConnection,
6425            c_int,
6426            *mut GCancellable,
6427            GAsyncReadyCallback,
6428            gpointer,
6429        ),
6430    >,
6431    pub handshake_finish: Option<
6432        unsafe extern "C" fn(
6433            *mut GTlsConnection,
6434            *mut GAsyncResult,
6435            *mut *mut glib::GError,
6436        ) -> gboolean,
6437    >,
6438    pub get_binding_data: Option<
6439        unsafe extern "C" fn(
6440            *mut GTlsConnection,
6441            GTlsChannelBindingType,
6442            *mut glib::GByteArray,
6443            *mut *mut glib::GError,
6444        ) -> gboolean,
6445    >,
6446    pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut GTlsConnection) -> *const c_char>,
6447    pub padding: [gpointer; 6],
6448}
6449
6450impl ::std::fmt::Debug for GTlsConnectionClass {
6451    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6452        f.debug_struct(&format!("GTlsConnectionClass @ {self:p}"))
6453            .field("parent_class", &self.parent_class)
6454            .field("accept_certificate", &self.accept_certificate)
6455            .field("handshake", &self.handshake)
6456            .field("handshake_async", &self.handshake_async)
6457            .field("handshake_finish", &self.handshake_finish)
6458            .field("get_binding_data", &self.get_binding_data)
6459            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
6460            .finish()
6461    }
6462}
6463
6464#[repr(C)]
6465#[allow(dead_code)]
6466pub struct _GTlsConnectionPrivate {
6467    _data: [u8; 0],
6468    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6469}
6470
6471pub type GTlsConnectionPrivate = _GTlsConnectionPrivate;
6472
6473#[derive(Copy, Clone)]
6474#[repr(C)]
6475pub struct GTlsDatabaseClass {
6476    pub parent_class: gobject::GObjectClass,
6477    pub verify_chain: Option<
6478        unsafe extern "C" fn(
6479            *mut GTlsDatabase,
6480            *mut GTlsCertificate,
6481            *const c_char,
6482            *mut GSocketConnectable,
6483            *mut GTlsInteraction,
6484            GTlsDatabaseVerifyFlags,
6485            *mut GCancellable,
6486            *mut *mut glib::GError,
6487        ) -> GTlsCertificateFlags,
6488    >,
6489    pub verify_chain_async: Option<
6490        unsafe extern "C" fn(
6491            *mut GTlsDatabase,
6492            *mut GTlsCertificate,
6493            *const c_char,
6494            *mut GSocketConnectable,
6495            *mut GTlsInteraction,
6496            GTlsDatabaseVerifyFlags,
6497            *mut GCancellable,
6498            GAsyncReadyCallback,
6499            gpointer,
6500        ),
6501    >,
6502    pub verify_chain_finish: Option<
6503        unsafe extern "C" fn(
6504            *mut GTlsDatabase,
6505            *mut GAsyncResult,
6506            *mut *mut glib::GError,
6507        ) -> GTlsCertificateFlags,
6508    >,
6509    pub create_certificate_handle:
6510        Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>,
6511    pub lookup_certificate_for_handle: Option<
6512        unsafe extern "C" fn(
6513            *mut GTlsDatabase,
6514            *const c_char,
6515            *mut GTlsInteraction,
6516            GTlsDatabaseLookupFlags,
6517            *mut GCancellable,
6518            *mut *mut glib::GError,
6519        ) -> *mut GTlsCertificate,
6520    >,
6521    pub lookup_certificate_for_handle_async: Option<
6522        unsafe extern "C" fn(
6523            *mut GTlsDatabase,
6524            *const c_char,
6525            *mut GTlsInteraction,
6526            GTlsDatabaseLookupFlags,
6527            *mut GCancellable,
6528            GAsyncReadyCallback,
6529            gpointer,
6530        ),
6531    >,
6532    pub lookup_certificate_for_handle_finish: Option<
6533        unsafe extern "C" fn(
6534            *mut GTlsDatabase,
6535            *mut GAsyncResult,
6536            *mut *mut glib::GError,
6537        ) -> *mut GTlsCertificate,
6538    >,
6539    pub lookup_certificate_issuer: Option<
6540        unsafe extern "C" fn(
6541            *mut GTlsDatabase,
6542            *mut GTlsCertificate,
6543            *mut GTlsInteraction,
6544            GTlsDatabaseLookupFlags,
6545            *mut GCancellable,
6546            *mut *mut glib::GError,
6547        ) -> *mut GTlsCertificate,
6548    >,
6549    pub lookup_certificate_issuer_async: Option<
6550        unsafe extern "C" fn(
6551            *mut GTlsDatabase,
6552            *mut GTlsCertificate,
6553            *mut GTlsInteraction,
6554            GTlsDatabaseLookupFlags,
6555            *mut GCancellable,
6556            GAsyncReadyCallback,
6557            gpointer,
6558        ),
6559    >,
6560    pub lookup_certificate_issuer_finish: Option<
6561        unsafe extern "C" fn(
6562            *mut GTlsDatabase,
6563            *mut GAsyncResult,
6564            *mut *mut glib::GError,
6565        ) -> *mut GTlsCertificate,
6566    >,
6567    pub lookup_certificates_issued_by: Option<
6568        unsafe extern "C" fn(
6569            *mut GTlsDatabase,
6570            *mut glib::GByteArray,
6571            *mut GTlsInteraction,
6572            GTlsDatabaseLookupFlags,
6573            *mut GCancellable,
6574            *mut *mut glib::GError,
6575        ) -> *mut glib::GList,
6576    >,
6577    pub lookup_certificates_issued_by_async: Option<
6578        unsafe extern "C" fn(
6579            *mut GTlsDatabase,
6580            *mut glib::GByteArray,
6581            *mut GTlsInteraction,
6582            GTlsDatabaseLookupFlags,
6583            *mut GCancellable,
6584            GAsyncReadyCallback,
6585            gpointer,
6586        ),
6587    >,
6588    pub lookup_certificates_issued_by_finish: Option<
6589        unsafe extern "C" fn(
6590            *mut GTlsDatabase,
6591            *mut GAsyncResult,
6592            *mut *mut glib::GError,
6593        ) -> *mut glib::GList,
6594    >,
6595    pub padding: [gpointer; 16],
6596}
6597
6598impl ::std::fmt::Debug for GTlsDatabaseClass {
6599    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6600        f.debug_struct(&format!("GTlsDatabaseClass @ {self:p}"))
6601            .field("parent_class", &self.parent_class)
6602            .field("verify_chain", &self.verify_chain)
6603            .field("verify_chain_async", &self.verify_chain_async)
6604            .field("verify_chain_finish", &self.verify_chain_finish)
6605            .field("create_certificate_handle", &self.create_certificate_handle)
6606            .field(
6607                "lookup_certificate_for_handle",
6608                &self.lookup_certificate_for_handle,
6609            )
6610            .field(
6611                "lookup_certificate_for_handle_async",
6612                &self.lookup_certificate_for_handle_async,
6613            )
6614            .field(
6615                "lookup_certificate_for_handle_finish",
6616                &self.lookup_certificate_for_handle_finish,
6617            )
6618            .field("lookup_certificate_issuer", &self.lookup_certificate_issuer)
6619            .field(
6620                "lookup_certificate_issuer_async",
6621                &self.lookup_certificate_issuer_async,
6622            )
6623            .field(
6624                "lookup_certificate_issuer_finish",
6625                &self.lookup_certificate_issuer_finish,
6626            )
6627            .field(
6628                "lookup_certificates_issued_by",
6629                &self.lookup_certificates_issued_by,
6630            )
6631            .field(
6632                "lookup_certificates_issued_by_async",
6633                &self.lookup_certificates_issued_by_async,
6634            )
6635            .field(
6636                "lookup_certificates_issued_by_finish",
6637                &self.lookup_certificates_issued_by_finish,
6638            )
6639            .finish()
6640    }
6641}
6642
6643#[repr(C)]
6644#[allow(dead_code)]
6645pub struct _GTlsDatabasePrivate {
6646    _data: [u8; 0],
6647    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6648}
6649
6650pub type GTlsDatabasePrivate = _GTlsDatabasePrivate;
6651
6652#[derive(Copy, Clone)]
6653#[repr(C)]
6654pub struct GTlsFileDatabaseInterface {
6655    pub g_iface: gobject::GTypeInterface,
6656    pub padding: [gpointer; 8],
6657}
6658
6659impl ::std::fmt::Debug for GTlsFileDatabaseInterface {
6660    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6661        f.debug_struct(&format!("GTlsFileDatabaseInterface @ {self:p}"))
6662            .field("g_iface", &self.g_iface)
6663            .finish()
6664    }
6665}
6666
6667#[derive(Copy, Clone)]
6668#[repr(C)]
6669pub struct GTlsInteractionClass {
6670    pub parent_class: gobject::GObjectClass,
6671    pub ask_password: Option<
6672        unsafe extern "C" fn(
6673            *mut GTlsInteraction,
6674            *mut GTlsPassword,
6675            *mut GCancellable,
6676            *mut *mut glib::GError,
6677        ) -> GTlsInteractionResult,
6678    >,
6679    pub ask_password_async: Option<
6680        unsafe extern "C" fn(
6681            *mut GTlsInteraction,
6682            *mut GTlsPassword,
6683            *mut GCancellable,
6684            GAsyncReadyCallback,
6685            gpointer,
6686        ),
6687    >,
6688    pub ask_password_finish: Option<
6689        unsafe extern "C" fn(
6690            *mut GTlsInteraction,
6691            *mut GAsyncResult,
6692            *mut *mut glib::GError,
6693        ) -> GTlsInteractionResult,
6694    >,
6695    pub request_certificate: Option<
6696        unsafe extern "C" fn(
6697            *mut GTlsInteraction,
6698            *mut GTlsConnection,
6699            GTlsCertificateRequestFlags,
6700            *mut GCancellable,
6701            *mut *mut glib::GError,
6702        ) -> GTlsInteractionResult,
6703    >,
6704    pub request_certificate_async: Option<
6705        unsafe extern "C" fn(
6706            *mut GTlsInteraction,
6707            *mut GTlsConnection,
6708            GTlsCertificateRequestFlags,
6709            *mut GCancellable,
6710            GAsyncReadyCallback,
6711            gpointer,
6712        ),
6713    >,
6714    pub request_certificate_finish: Option<
6715        unsafe extern "C" fn(
6716            *mut GTlsInteraction,
6717            *mut GAsyncResult,
6718            *mut *mut glib::GError,
6719        ) -> GTlsInteractionResult,
6720    >,
6721    pub padding: [gpointer; 21],
6722}
6723
6724impl ::std::fmt::Debug for GTlsInteractionClass {
6725    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6726        f.debug_struct(&format!("GTlsInteractionClass @ {self:p}"))
6727            .field("ask_password", &self.ask_password)
6728            .field("ask_password_async", &self.ask_password_async)
6729            .field("ask_password_finish", &self.ask_password_finish)
6730            .field("request_certificate", &self.request_certificate)
6731            .field("request_certificate_async", &self.request_certificate_async)
6732            .field(
6733                "request_certificate_finish",
6734                &self.request_certificate_finish,
6735            )
6736            .finish()
6737    }
6738}
6739
6740#[repr(C)]
6741#[allow(dead_code)]
6742pub struct _GTlsInteractionPrivate {
6743    _data: [u8; 0],
6744    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6745}
6746
6747pub type GTlsInteractionPrivate = _GTlsInteractionPrivate;
6748
6749#[derive(Copy, Clone)]
6750#[repr(C)]
6751pub struct GTlsPasswordClass {
6752    pub parent_class: gobject::GObjectClass,
6753    pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>,
6754    pub set_value:
6755        Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>,
6756    pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>,
6757    pub padding: [gpointer; 4],
6758}
6759
6760impl ::std::fmt::Debug for GTlsPasswordClass {
6761    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6762        f.debug_struct(&format!("GTlsPasswordClass @ {self:p}"))
6763            .field("parent_class", &self.parent_class)
6764            .field("get_value", &self.get_value)
6765            .field("set_value", &self.set_value)
6766            .field("get_default_warning", &self.get_default_warning)
6767            .finish()
6768    }
6769}
6770
6771#[repr(C)]
6772#[allow(dead_code)]
6773pub struct _GTlsPasswordPrivate {
6774    _data: [u8; 0],
6775    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6776}
6777
6778pub type GTlsPasswordPrivate = _GTlsPasswordPrivate;
6779
6780#[derive(Copy, Clone)]
6781#[repr(C)]
6782pub struct GTlsServerConnectionInterface {
6783    pub g_iface: gobject::GTypeInterface,
6784}
6785
6786impl ::std::fmt::Debug for GTlsServerConnectionInterface {
6787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6788        f.debug_struct(&format!("GTlsServerConnectionInterface @ {self:p}"))
6789            .field("g_iface", &self.g_iface)
6790            .finish()
6791    }
6792}
6793
6794#[derive(Copy, Clone)]
6795#[repr(C)]
6796pub struct GUnixConnectionClass {
6797    pub parent_class: GSocketConnectionClass,
6798}
6799
6800impl ::std::fmt::Debug for GUnixConnectionClass {
6801    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6802        f.debug_struct(&format!("GUnixConnectionClass @ {self:p}"))
6803            .field("parent_class", &self.parent_class)
6804            .finish()
6805    }
6806}
6807
6808#[repr(C)]
6809#[allow(dead_code)]
6810pub struct _GUnixConnectionPrivate {
6811    _data: [u8; 0],
6812    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6813}
6814
6815pub type GUnixConnectionPrivate = _GUnixConnectionPrivate;
6816
6817#[derive(Copy, Clone)]
6818#[repr(C)]
6819pub struct GUnixCredentialsMessageClass {
6820    pub parent_class: GSocketControlMessageClass,
6821    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6822    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6823}
6824
6825impl ::std::fmt::Debug for GUnixCredentialsMessageClass {
6826    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6827        f.debug_struct(&format!("GUnixCredentialsMessageClass @ {self:p}"))
6828            .field("parent_class", &self.parent_class)
6829            .field("_g_reserved1", &self._g_reserved1)
6830            .field("_g_reserved2", &self._g_reserved2)
6831            .finish()
6832    }
6833}
6834
6835#[repr(C)]
6836#[allow(dead_code)]
6837pub struct _GUnixCredentialsMessagePrivate {
6838    _data: [u8; 0],
6839    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6840}
6841
6842pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate;
6843
6844#[derive(Copy, Clone)]
6845#[repr(C)]
6846pub struct GUnixFDListClass {
6847    pub parent_class: gobject::GObjectClass,
6848    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6849    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6850    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6851    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6852    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6853}
6854
6855impl ::std::fmt::Debug for GUnixFDListClass {
6856    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6857        f.debug_struct(&format!("GUnixFDListClass @ {self:p}"))
6858            .field("parent_class", &self.parent_class)
6859            .field("_g_reserved1", &self._g_reserved1)
6860            .field("_g_reserved2", &self._g_reserved2)
6861            .field("_g_reserved3", &self._g_reserved3)
6862            .field("_g_reserved4", &self._g_reserved4)
6863            .field("_g_reserved5", &self._g_reserved5)
6864            .finish()
6865    }
6866}
6867
6868#[repr(C)]
6869#[allow(dead_code)]
6870pub struct _GUnixFDListPrivate {
6871    _data: [u8; 0],
6872    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6873}
6874
6875pub type GUnixFDListPrivate = _GUnixFDListPrivate;
6876
6877#[derive(Copy, Clone)]
6878#[repr(C)]
6879pub struct GUnixSocketAddressClass {
6880    pub parent_class: GSocketAddressClass,
6881}
6882
6883impl ::std::fmt::Debug for GUnixSocketAddressClass {
6884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6885        f.debug_struct(&format!("GUnixSocketAddressClass @ {self:p}"))
6886            .field("parent_class", &self.parent_class)
6887            .finish()
6888    }
6889}
6890
6891#[repr(C)]
6892#[allow(dead_code)]
6893pub struct _GUnixSocketAddressPrivate {
6894    _data: [u8; 0],
6895    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6896}
6897
6898pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate;
6899
6900#[derive(Copy, Clone)]
6901#[repr(C)]
6902pub struct GVfsClass {
6903    pub parent_class: gobject::GObjectClass,
6904    pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>,
6905    pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6906    pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6907    pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>,
6908    pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6909    pub local_file_add_info: Option<
6910        unsafe extern "C" fn(
6911            *mut GVfs,
6912            *const c_char,
6913            u64,
6914            *mut GFileAttributeMatcher,
6915            *mut GFileInfo,
6916            *mut GCancellable,
6917            *mut gpointer,
6918            *mut glib::GDestroyNotify,
6919        ),
6920    >,
6921    pub add_writable_namespaces:
6922        Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>,
6923    pub local_file_set_attributes: Option<
6924        unsafe extern "C" fn(
6925            *mut GVfs,
6926            *const c_char,
6927            *mut GFileInfo,
6928            GFileQueryInfoFlags,
6929            *mut GCancellable,
6930            *mut *mut glib::GError,
6931        ) -> gboolean,
6932    >,
6933    pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>,
6934    pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>,
6935    pub deserialize_icon:
6936        Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>,
6937    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6938    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6939    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6940    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6941    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6942    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6943}
6944
6945impl ::std::fmt::Debug for GVfsClass {
6946    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6947        f.debug_struct(&format!("GVfsClass @ {self:p}"))
6948            .field("parent_class", &self.parent_class)
6949            .field("is_active", &self.is_active)
6950            .field("get_file_for_path", &self.get_file_for_path)
6951            .field("get_file_for_uri", &self.get_file_for_uri)
6952            .field("get_supported_uri_schemes", &self.get_supported_uri_schemes)
6953            .field("parse_name", &self.parse_name)
6954            .field("local_file_add_info", &self.local_file_add_info)
6955            .field("add_writable_namespaces", &self.add_writable_namespaces)
6956            .field("local_file_set_attributes", &self.local_file_set_attributes)
6957            .field("local_file_removed", &self.local_file_removed)
6958            .field("local_file_moved", &self.local_file_moved)
6959            .field("deserialize_icon", &self.deserialize_icon)
6960            .field("_g_reserved1", &self._g_reserved1)
6961            .field("_g_reserved2", &self._g_reserved2)
6962            .field("_g_reserved3", &self._g_reserved3)
6963            .field("_g_reserved4", &self._g_reserved4)
6964            .field("_g_reserved5", &self._g_reserved5)
6965            .field("_g_reserved6", &self._g_reserved6)
6966            .finish()
6967    }
6968}
6969
6970#[derive(Copy, Clone)]
6971#[repr(C)]
6972pub struct GVolumeIface {
6973    pub g_iface: gobject::GTypeInterface,
6974    pub changed: Option<unsafe extern "C" fn(*mut GVolume)>,
6975    pub removed: Option<unsafe extern "C" fn(*mut GVolume)>,
6976    pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6977    pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
6978    pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6979    pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>,
6980    pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>,
6981    pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6982    pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6983    pub mount_fn: Option<
6984        unsafe extern "C" fn(
6985            *mut GVolume,
6986            GMountMountFlags,
6987            *mut GMountOperation,
6988            *mut GCancellable,
6989            GAsyncReadyCallback,
6990            gpointer,
6991        ),
6992    >,
6993    pub mount_finish: Option<
6994        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
6995    >,
6996    pub eject: Option<
6997        unsafe extern "C" fn(
6998            *mut GVolume,
6999            GMountUnmountFlags,
7000            *mut GCancellable,
7001            GAsyncReadyCallback,
7002            gpointer,
7003        ),
7004    >,
7005    pub eject_finish: Option<
7006        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7007    >,
7008    pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>,
7009    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>,
7010    pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
7011    pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>,
7012    pub eject_with_operation: Option<
7013        unsafe extern "C" fn(
7014            *mut GVolume,
7015            GMountUnmountFlags,
7016            *mut GMountOperation,
7017            *mut GCancellable,
7018            GAsyncReadyCallback,
7019            gpointer,
7020        ),
7021    >,
7022    pub eject_with_operation_finish: Option<
7023        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7024    >,
7025    pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
7026    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
7027}
7028
7029impl ::std::fmt::Debug for GVolumeIface {
7030    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7031        f.debug_struct(&format!("GVolumeIface @ {self:p}"))
7032            .field("g_iface", &self.g_iface)
7033            .field("changed", &self.changed)
7034            .field("removed", &self.removed)
7035            .field("get_name", &self.get_name)
7036            .field("get_icon", &self.get_icon)
7037            .field("get_uuid", &self.get_uuid)
7038            .field("get_drive", &self.get_drive)
7039            .field("get_mount", &self.get_mount)
7040            .field("can_mount", &self.can_mount)
7041            .field("can_eject", &self.can_eject)
7042            .field("mount_fn", &self.mount_fn)
7043            .field("mount_finish", &self.mount_finish)
7044            .field("eject", &self.eject)
7045            .field("eject_finish", &self.eject_finish)
7046            .field("get_identifier", &self.get_identifier)
7047            .field("enumerate_identifiers", &self.enumerate_identifiers)
7048            .field("should_automount", &self.should_automount)
7049            .field("get_activation_root", &self.get_activation_root)
7050            .field("eject_with_operation", &self.eject_with_operation)
7051            .field(
7052                "eject_with_operation_finish",
7053                &self.eject_with_operation_finish,
7054            )
7055            .field("get_sort_key", &self.get_sort_key)
7056            .field("get_symbolic_icon", &self.get_symbolic_icon)
7057            .finish()
7058    }
7059}
7060
7061#[derive(Copy, Clone)]
7062#[repr(C)]
7063pub struct GVolumeMonitorClass {
7064    pub parent_class: gobject::GObjectClass,
7065    pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7066    pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7067    pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7068    pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7069    pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7070    pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7071    pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7072    pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7073    pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7074    pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7075    pub is_supported: Option<unsafe extern "C" fn() -> gboolean>,
7076    pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7077    pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7078    pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7079    pub get_volume_for_uuid:
7080        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>,
7081    pub get_mount_for_uuid:
7082        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>,
7083    pub adopt_orphan_mount:
7084        Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>,
7085    pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7086    pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7087    pub _g_reserved1: Option<unsafe extern "C" fn()>,
7088    pub _g_reserved2: Option<unsafe extern "C" fn()>,
7089    pub _g_reserved3: Option<unsafe extern "C" fn()>,
7090    pub _g_reserved4: Option<unsafe extern "C" fn()>,
7091    pub _g_reserved5: Option<unsafe extern "C" fn()>,
7092    pub _g_reserved6: Option<unsafe extern "C" fn()>,
7093}
7094
7095impl ::std::fmt::Debug for GVolumeMonitorClass {
7096    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7097        f.debug_struct(&format!("GVolumeMonitorClass @ {self:p}"))
7098            .field("parent_class", &self.parent_class)
7099            .field("volume_added", &self.volume_added)
7100            .field("volume_removed", &self.volume_removed)
7101            .field("volume_changed", &self.volume_changed)
7102            .field("mount_added", &self.mount_added)
7103            .field("mount_removed", &self.mount_removed)
7104            .field("mount_pre_unmount", &self.mount_pre_unmount)
7105            .field("mount_changed", &self.mount_changed)
7106            .field("drive_connected", &self.drive_connected)
7107            .field("drive_disconnected", &self.drive_disconnected)
7108            .field("drive_changed", &self.drive_changed)
7109            .field("is_supported", &self.is_supported)
7110            .field("get_connected_drives", &self.get_connected_drives)
7111            .field("get_volumes", &self.get_volumes)
7112            .field("get_mounts", &self.get_mounts)
7113            .field("get_volume_for_uuid", &self.get_volume_for_uuid)
7114            .field("get_mount_for_uuid", &self.get_mount_for_uuid)
7115            .field("adopt_orphan_mount", &self.adopt_orphan_mount)
7116            .field("drive_eject_button", &self.drive_eject_button)
7117            .field("drive_stop_button", &self.drive_stop_button)
7118            .field("_g_reserved1", &self._g_reserved1)
7119            .field("_g_reserved2", &self._g_reserved2)
7120            .field("_g_reserved3", &self._g_reserved3)
7121            .field("_g_reserved4", &self._g_reserved4)
7122            .field("_g_reserved5", &self._g_reserved5)
7123            .field("_g_reserved6", &self._g_reserved6)
7124            .finish()
7125    }
7126}
7127
7128#[derive(Copy, Clone)]
7129#[repr(C)]
7130pub struct GZlibCompressorClass {
7131    pub parent_class: gobject::GObjectClass,
7132}
7133
7134impl ::std::fmt::Debug for GZlibCompressorClass {
7135    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7136        f.debug_struct(&format!("GZlibCompressorClass @ {self:p}"))
7137            .field("parent_class", &self.parent_class)
7138            .finish()
7139    }
7140}
7141
7142#[derive(Copy, Clone)]
7143#[repr(C)]
7144pub struct GZlibDecompressorClass {
7145    pub parent_class: gobject::GObjectClass,
7146}
7147
7148impl ::std::fmt::Debug for GZlibDecompressorClass {
7149    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7150        f.debug_struct(&format!("GZlibDecompressorClass @ {self:p}"))
7151            .field("parent_class", &self.parent_class)
7152            .finish()
7153    }
7154}
7155
7156// Classes
7157#[repr(C)]
7158#[allow(dead_code)]
7159pub struct GAppInfoMonitor {
7160    _data: [u8; 0],
7161    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7162}
7163
7164impl ::std::fmt::Debug for GAppInfoMonitor {
7165    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7166        f.debug_struct(&format!("GAppInfoMonitor @ {self:p}"))
7167            .finish()
7168    }
7169}
7170
7171#[derive(Copy, Clone)]
7172#[repr(C)]
7173pub struct GAppLaunchContext {
7174    pub parent_instance: gobject::GObject,
7175    pub priv_: *mut GAppLaunchContextPrivate,
7176}
7177
7178impl ::std::fmt::Debug for GAppLaunchContext {
7179    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7180        f.debug_struct(&format!("GAppLaunchContext @ {self:p}"))
7181            .field("parent_instance", &self.parent_instance)
7182            .finish()
7183    }
7184}
7185
7186#[derive(Copy, Clone)]
7187#[repr(C)]
7188pub struct GApplication {
7189    pub parent_instance: gobject::GObject,
7190    pub priv_: *mut GApplicationPrivate,
7191}
7192
7193impl ::std::fmt::Debug for GApplication {
7194    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7195        f.debug_struct(&format!("GApplication @ {self:p}")).finish()
7196    }
7197}
7198
7199#[derive(Copy, Clone)]
7200#[repr(C)]
7201pub struct GApplicationCommandLine {
7202    pub parent_instance: gobject::GObject,
7203    pub priv_: *mut GApplicationCommandLinePrivate,
7204}
7205
7206impl ::std::fmt::Debug for GApplicationCommandLine {
7207    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7208        f.debug_struct(&format!("GApplicationCommandLine @ {self:p}"))
7209            .finish()
7210    }
7211}
7212
7213#[derive(Copy, Clone)]
7214#[repr(C)]
7215pub struct GBufferedInputStream {
7216    pub parent_instance: GFilterInputStream,
7217    pub priv_: *mut GBufferedInputStreamPrivate,
7218}
7219
7220impl ::std::fmt::Debug for GBufferedInputStream {
7221    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7222        f.debug_struct(&format!("GBufferedInputStream @ {self:p}"))
7223            .field("parent_instance", &self.parent_instance)
7224            .finish()
7225    }
7226}
7227
7228#[derive(Copy, Clone)]
7229#[repr(C)]
7230pub struct GBufferedOutputStream {
7231    pub parent_instance: GFilterOutputStream,
7232    pub priv_: *mut GBufferedOutputStreamPrivate,
7233}
7234
7235impl ::std::fmt::Debug for GBufferedOutputStream {
7236    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7237        f.debug_struct(&format!("GBufferedOutputStream @ {self:p}"))
7238            .field("parent_instance", &self.parent_instance)
7239            .field("priv_", &self.priv_)
7240            .finish()
7241    }
7242}
7243
7244#[repr(C)]
7245#[allow(dead_code)]
7246pub struct GBytesIcon {
7247    _data: [u8; 0],
7248    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7249}
7250
7251impl ::std::fmt::Debug for GBytesIcon {
7252    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7253        f.debug_struct(&format!("GBytesIcon @ {self:p}")).finish()
7254    }
7255}
7256
7257#[derive(Copy, Clone)]
7258#[repr(C)]
7259pub struct GCancellable {
7260    pub parent_instance: gobject::GObject,
7261    pub priv_: *mut GCancellablePrivate,
7262}
7263
7264impl ::std::fmt::Debug for GCancellable {
7265    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7266        f.debug_struct(&format!("GCancellable @ {self:p}"))
7267            .field("parent_instance", &self.parent_instance)
7268            .finish()
7269    }
7270}
7271
7272#[repr(C)]
7273#[allow(dead_code)]
7274pub struct GCharsetConverter {
7275    _data: [u8; 0],
7276    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7277}
7278
7279impl ::std::fmt::Debug for GCharsetConverter {
7280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7281        f.debug_struct(&format!("GCharsetConverter @ {self:p}"))
7282            .finish()
7283    }
7284}
7285
7286#[derive(Copy, Clone)]
7287#[repr(C)]
7288pub struct GConverterInputStream {
7289    pub parent_instance: GFilterInputStream,
7290    pub priv_: *mut GConverterInputStreamPrivate,
7291}
7292
7293impl ::std::fmt::Debug for GConverterInputStream {
7294    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7295        f.debug_struct(&format!("GConverterInputStream @ {self:p}"))
7296            .field("parent_instance", &self.parent_instance)
7297            .finish()
7298    }
7299}
7300
7301#[derive(Copy, Clone)]
7302#[repr(C)]
7303pub struct GConverterOutputStream {
7304    pub parent_instance: GFilterOutputStream,
7305    pub priv_: *mut GConverterOutputStreamPrivate,
7306}
7307
7308impl ::std::fmt::Debug for GConverterOutputStream {
7309    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7310        f.debug_struct(&format!("GConverterOutputStream @ {self:p}"))
7311            .field("parent_instance", &self.parent_instance)
7312            .finish()
7313    }
7314}
7315
7316#[repr(C)]
7317#[allow(dead_code)]
7318pub struct GCredentials {
7319    _data: [u8; 0],
7320    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7321}
7322
7323impl ::std::fmt::Debug for GCredentials {
7324    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7325        f.debug_struct(&format!("GCredentials @ {self:p}")).finish()
7326    }
7327}
7328
7329#[repr(C)]
7330#[allow(dead_code)]
7331pub struct GDBusActionGroup {
7332    _data: [u8; 0],
7333    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7334}
7335
7336impl ::std::fmt::Debug for GDBusActionGroup {
7337    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7338        f.debug_struct(&format!("GDBusActionGroup @ {self:p}"))
7339            .finish()
7340    }
7341}
7342
7343#[repr(C)]
7344#[allow(dead_code)]
7345pub struct GDBusAuthObserver {
7346    _data: [u8; 0],
7347    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7348}
7349
7350impl ::std::fmt::Debug for GDBusAuthObserver {
7351    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7352        f.debug_struct(&format!("GDBusAuthObserver @ {self:p}"))
7353            .finish()
7354    }
7355}
7356
7357#[repr(C)]
7358#[allow(dead_code)]
7359pub struct GDBusConnection {
7360    _data: [u8; 0],
7361    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7362}
7363
7364impl ::std::fmt::Debug for GDBusConnection {
7365    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7366        f.debug_struct(&format!("GDBusConnection @ {self:p}"))
7367            .finish()
7368    }
7369}
7370
7371#[derive(Copy, Clone)]
7372#[repr(C)]
7373pub struct GDBusInterfaceSkeleton {
7374    pub parent_instance: gobject::GObject,
7375    pub priv_: *mut GDBusInterfaceSkeletonPrivate,
7376}
7377
7378impl ::std::fmt::Debug for GDBusInterfaceSkeleton {
7379    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7380        f.debug_struct(&format!("GDBusInterfaceSkeleton @ {self:p}"))
7381            .finish()
7382    }
7383}
7384
7385#[repr(C)]
7386#[allow(dead_code)]
7387pub struct GDBusMenuModel {
7388    _data: [u8; 0],
7389    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7390}
7391
7392impl ::std::fmt::Debug for GDBusMenuModel {
7393    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7394        f.debug_struct(&format!("GDBusMenuModel @ {self:p}"))
7395            .finish()
7396    }
7397}
7398
7399#[repr(C)]
7400#[allow(dead_code)]
7401pub struct GDBusMessage {
7402    _data: [u8; 0],
7403    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7404}
7405
7406impl ::std::fmt::Debug for GDBusMessage {
7407    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7408        f.debug_struct(&format!("GDBusMessage @ {self:p}")).finish()
7409    }
7410}
7411
7412#[repr(C)]
7413#[allow(dead_code)]
7414pub struct GDBusMethodInvocation {
7415    _data: [u8; 0],
7416    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7417}
7418
7419impl ::std::fmt::Debug for GDBusMethodInvocation {
7420    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7421        f.debug_struct(&format!("GDBusMethodInvocation @ {self:p}"))
7422            .finish()
7423    }
7424}
7425
7426#[derive(Copy, Clone)]
7427#[repr(C)]
7428pub struct GDBusObjectManagerClient {
7429    pub parent_instance: gobject::GObject,
7430    pub priv_: *mut GDBusObjectManagerClientPrivate,
7431}
7432
7433impl ::std::fmt::Debug for GDBusObjectManagerClient {
7434    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7435        f.debug_struct(&format!("GDBusObjectManagerClient @ {self:p}"))
7436            .finish()
7437    }
7438}
7439
7440#[derive(Copy, Clone)]
7441#[repr(C)]
7442pub struct GDBusObjectManagerServer {
7443    pub parent_instance: gobject::GObject,
7444    pub priv_: *mut GDBusObjectManagerServerPrivate,
7445}
7446
7447impl ::std::fmt::Debug for GDBusObjectManagerServer {
7448    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7449        f.debug_struct(&format!("GDBusObjectManagerServer @ {self:p}"))
7450            .finish()
7451    }
7452}
7453
7454#[derive(Copy, Clone)]
7455#[repr(C)]
7456pub struct GDBusObjectProxy {
7457    pub parent_instance: gobject::GObject,
7458    pub priv_: *mut GDBusObjectProxyPrivate,
7459}
7460
7461impl ::std::fmt::Debug for GDBusObjectProxy {
7462    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7463        f.debug_struct(&format!("GDBusObjectProxy @ {self:p}"))
7464            .finish()
7465    }
7466}
7467
7468#[derive(Copy, Clone)]
7469#[repr(C)]
7470pub struct GDBusObjectSkeleton {
7471    pub parent_instance: gobject::GObject,
7472    pub priv_: *mut GDBusObjectSkeletonPrivate,
7473}
7474
7475impl ::std::fmt::Debug for GDBusObjectSkeleton {
7476    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7477        f.debug_struct(&format!("GDBusObjectSkeleton @ {self:p}"))
7478            .finish()
7479    }
7480}
7481
7482#[derive(Copy, Clone)]
7483#[repr(C)]
7484pub struct GDBusProxy {
7485    pub parent_instance: gobject::GObject,
7486    pub priv_: *mut GDBusProxyPrivate,
7487}
7488
7489impl ::std::fmt::Debug for GDBusProxy {
7490    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7491        f.debug_struct(&format!("GDBusProxy @ {self:p}")).finish()
7492    }
7493}
7494
7495#[repr(C)]
7496#[allow(dead_code)]
7497pub struct GDBusServer {
7498    _data: [u8; 0],
7499    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7500}
7501
7502impl ::std::fmt::Debug for GDBusServer {
7503    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7504        f.debug_struct(&format!("GDBusServer @ {self:p}")).finish()
7505    }
7506}
7507
7508#[derive(Copy, Clone)]
7509#[repr(C)]
7510pub struct GDataInputStream {
7511    pub parent_instance: GBufferedInputStream,
7512    pub priv_: *mut GDataInputStreamPrivate,
7513}
7514
7515impl ::std::fmt::Debug for GDataInputStream {
7516    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7517        f.debug_struct(&format!("GDataInputStream @ {self:p}"))
7518            .field("parent_instance", &self.parent_instance)
7519            .finish()
7520    }
7521}
7522
7523#[derive(Copy, Clone)]
7524#[repr(C)]
7525pub struct GDataOutputStream {
7526    pub parent_instance: GFilterOutputStream,
7527    pub priv_: *mut GDataOutputStreamPrivate,
7528}
7529
7530impl ::std::fmt::Debug for GDataOutputStream {
7531    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7532        f.debug_struct(&format!("GDataOutputStream @ {self:p}"))
7533            .field("parent_instance", &self.parent_instance)
7534            .finish()
7535    }
7536}
7537
7538#[derive(Copy, Clone)]
7539#[repr(C)]
7540pub struct GDebugControllerDBus {
7541    pub parent_instance: gobject::GObject,
7542}
7543
7544impl ::std::fmt::Debug for GDebugControllerDBus {
7545    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7546        f.debug_struct(&format!("GDebugControllerDBus @ {self:p}"))
7547            .field("parent_instance", &self.parent_instance)
7548            .finish()
7549    }
7550}
7551
7552#[repr(C)]
7553#[allow(dead_code)]
7554pub struct GEmblem {
7555    _data: [u8; 0],
7556    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7557}
7558
7559impl ::std::fmt::Debug for GEmblem {
7560    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7561        f.debug_struct(&format!("GEmblem @ {self:p}")).finish()
7562    }
7563}
7564
7565#[derive(Copy, Clone)]
7566#[repr(C)]
7567pub struct GEmblemedIcon {
7568    pub parent_instance: gobject::GObject,
7569    pub priv_: *mut GEmblemedIconPrivate,
7570}
7571
7572impl ::std::fmt::Debug for GEmblemedIcon {
7573    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7574        f.debug_struct(&format!("GEmblemedIcon @ {self:p}"))
7575            .field("parent_instance", &self.parent_instance)
7576            .finish()
7577    }
7578}
7579
7580#[derive(Copy, Clone)]
7581#[repr(C)]
7582pub struct GFileEnumerator {
7583    pub parent_instance: gobject::GObject,
7584    pub priv_: *mut GFileEnumeratorPrivate,
7585}
7586
7587impl ::std::fmt::Debug for GFileEnumerator {
7588    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7589        f.debug_struct(&format!("GFileEnumerator @ {self:p}"))
7590            .field("parent_instance", &self.parent_instance)
7591            .finish()
7592    }
7593}
7594
7595#[derive(Copy, Clone)]
7596#[repr(C)]
7597pub struct GFileIOStream {
7598    pub parent_instance: GIOStream,
7599    pub priv_: *mut GFileIOStreamPrivate,
7600}
7601
7602impl ::std::fmt::Debug for GFileIOStream {
7603    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7604        f.debug_struct(&format!("GFileIOStream @ {self:p}"))
7605            .field("parent_instance", &self.parent_instance)
7606            .finish()
7607    }
7608}
7609
7610#[repr(C)]
7611#[allow(dead_code)]
7612pub struct GFileIcon {
7613    _data: [u8; 0],
7614    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7615}
7616
7617impl ::std::fmt::Debug for GFileIcon {
7618    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7619        f.debug_struct(&format!("GFileIcon @ {self:p}")).finish()
7620    }
7621}
7622
7623#[repr(C)]
7624#[allow(dead_code)]
7625pub struct GFileInfo {
7626    _data: [u8; 0],
7627    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7628}
7629
7630impl ::std::fmt::Debug for GFileInfo {
7631    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7632        f.debug_struct(&format!("GFileInfo @ {self:p}")).finish()
7633    }
7634}
7635
7636#[derive(Copy, Clone)]
7637#[repr(C)]
7638pub struct GFileInputStream {
7639    pub parent_instance: GInputStream,
7640    pub priv_: *mut GFileInputStreamPrivate,
7641}
7642
7643impl ::std::fmt::Debug for GFileInputStream {
7644    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7645        f.debug_struct(&format!("GFileInputStream @ {self:p}"))
7646            .field("parent_instance", &self.parent_instance)
7647            .finish()
7648    }
7649}
7650
7651#[derive(Copy, Clone)]
7652#[repr(C)]
7653pub struct GFileMonitor {
7654    pub parent_instance: gobject::GObject,
7655    pub priv_: *mut GFileMonitorPrivate,
7656}
7657
7658impl ::std::fmt::Debug for GFileMonitor {
7659    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7660        f.debug_struct(&format!("GFileMonitor @ {self:p}"))
7661            .field("parent_instance", &self.parent_instance)
7662            .finish()
7663    }
7664}
7665
7666#[derive(Copy, Clone)]
7667#[repr(C)]
7668pub struct GFileOutputStream {
7669    pub parent_instance: GOutputStream,
7670    pub priv_: *mut GFileOutputStreamPrivate,
7671}
7672
7673impl ::std::fmt::Debug for GFileOutputStream {
7674    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7675        f.debug_struct(&format!("GFileOutputStream @ {self:p}"))
7676            .field("parent_instance", &self.parent_instance)
7677            .finish()
7678    }
7679}
7680
7681#[repr(C)]
7682#[allow(dead_code)]
7683pub struct GFilenameCompleter {
7684    _data: [u8; 0],
7685    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7686}
7687
7688impl ::std::fmt::Debug for GFilenameCompleter {
7689    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7690        f.debug_struct(&format!("GFilenameCompleter @ {self:p}"))
7691            .finish()
7692    }
7693}
7694
7695#[derive(Copy, Clone)]
7696#[repr(C)]
7697pub struct GFilterInputStream {
7698    pub parent_instance: GInputStream,
7699    pub base_stream: *mut GInputStream,
7700}
7701
7702impl ::std::fmt::Debug for GFilterInputStream {
7703    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7704        f.debug_struct(&format!("GFilterInputStream @ {self:p}"))
7705            .field("parent_instance", &self.parent_instance)
7706            .field("base_stream", &self.base_stream)
7707            .finish()
7708    }
7709}
7710
7711#[derive(Copy, Clone)]
7712#[repr(C)]
7713pub struct GFilterOutputStream {
7714    pub parent_instance: GOutputStream,
7715    pub base_stream: *mut GOutputStream,
7716}
7717
7718impl ::std::fmt::Debug for GFilterOutputStream {
7719    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7720        f.debug_struct(&format!("GFilterOutputStream @ {self:p}"))
7721            .field("parent_instance", &self.parent_instance)
7722            .field("base_stream", &self.base_stream)
7723            .finish()
7724    }
7725}
7726
7727#[repr(C)]
7728#[allow(dead_code)]
7729pub struct GIOModule {
7730    _data: [u8; 0],
7731    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7732}
7733
7734impl ::std::fmt::Debug for GIOModule {
7735    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7736        f.debug_struct(&format!("GIOModule @ {self:p}")).finish()
7737    }
7738}
7739
7740#[derive(Copy, Clone)]
7741#[repr(C)]
7742pub struct GIOStream {
7743    pub parent_instance: gobject::GObject,
7744    pub priv_: *mut GIOStreamPrivate,
7745}
7746
7747impl ::std::fmt::Debug for GIOStream {
7748    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7749        f.debug_struct(&format!("GIOStream @ {self:p}"))
7750            .field("parent_instance", &self.parent_instance)
7751            .finish()
7752    }
7753}
7754
7755#[repr(C)]
7756#[allow(dead_code)]
7757pub struct GIPTosMessage {
7758    _data: [u8; 0],
7759    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7760}
7761
7762impl ::std::fmt::Debug for GIPTosMessage {
7763    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7764        f.debug_struct(&format!("GIPTosMessage @ {self:p}"))
7765            .finish()
7766    }
7767}
7768
7769#[repr(C)]
7770#[allow(dead_code)]
7771pub struct GIPv6TclassMessage {
7772    _data: [u8; 0],
7773    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7774}
7775
7776impl ::std::fmt::Debug for GIPv6TclassMessage {
7777    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7778        f.debug_struct(&format!("GIPv6TclassMessage @ {self:p}"))
7779            .finish()
7780    }
7781}
7782
7783#[derive(Copy, Clone)]
7784#[repr(C)]
7785pub struct GInetAddress {
7786    pub parent_instance: gobject::GObject,
7787    pub priv_: *mut GInetAddressPrivate,
7788}
7789
7790impl ::std::fmt::Debug for GInetAddress {
7791    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7792        f.debug_struct(&format!("GInetAddress @ {self:p}"))
7793            .field("parent_instance", &self.parent_instance)
7794            .finish()
7795    }
7796}
7797
7798#[derive(Copy, Clone)]
7799#[repr(C)]
7800pub struct GInetAddressMask {
7801    pub parent_instance: gobject::GObject,
7802    pub priv_: *mut GInetAddressMaskPrivate,
7803}
7804
7805impl ::std::fmt::Debug for GInetAddressMask {
7806    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7807        f.debug_struct(&format!("GInetAddressMask @ {self:p}"))
7808            .field("parent_instance", &self.parent_instance)
7809            .finish()
7810    }
7811}
7812
7813#[derive(Copy, Clone)]
7814#[repr(C)]
7815pub struct GInetSocketAddress {
7816    pub parent_instance: GSocketAddress,
7817    pub priv_: *mut GInetSocketAddressPrivate,
7818}
7819
7820impl ::std::fmt::Debug for GInetSocketAddress {
7821    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7822        f.debug_struct(&format!("GInetSocketAddress @ {self:p}"))
7823            .field("parent_instance", &self.parent_instance)
7824            .finish()
7825    }
7826}
7827
7828#[derive(Copy, Clone)]
7829#[repr(C)]
7830pub struct GInputStream {
7831    pub parent_instance: gobject::GObject,
7832    pub priv_: *mut GInputStreamPrivate,
7833}
7834
7835impl ::std::fmt::Debug for GInputStream {
7836    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7837        f.debug_struct(&format!("GInputStream @ {self:p}"))
7838            .field("parent_instance", &self.parent_instance)
7839            .finish()
7840    }
7841}
7842
7843#[repr(C)]
7844#[allow(dead_code)]
7845pub struct GListStore {
7846    _data: [u8; 0],
7847    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7848}
7849
7850impl ::std::fmt::Debug for GListStore {
7851    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7852        f.debug_struct(&format!("GListStore @ {self:p}")).finish()
7853    }
7854}
7855
7856#[derive(Copy, Clone)]
7857#[repr(C)]
7858pub struct GMemoryInputStream {
7859    pub parent_instance: GInputStream,
7860    pub priv_: *mut GMemoryInputStreamPrivate,
7861}
7862
7863impl ::std::fmt::Debug for GMemoryInputStream {
7864    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7865        f.debug_struct(&format!("GMemoryInputStream @ {self:p}"))
7866            .field("parent_instance", &self.parent_instance)
7867            .finish()
7868    }
7869}
7870
7871#[derive(Copy, Clone)]
7872#[repr(C)]
7873pub struct GMemoryOutputStream {
7874    pub parent_instance: GOutputStream,
7875    pub priv_: *mut GMemoryOutputStreamPrivate,
7876}
7877
7878impl ::std::fmt::Debug for GMemoryOutputStream {
7879    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7880        f.debug_struct(&format!("GMemoryOutputStream @ {self:p}"))
7881            .field("parent_instance", &self.parent_instance)
7882            .finish()
7883    }
7884}
7885
7886#[repr(C)]
7887#[allow(dead_code)]
7888pub struct GMenu {
7889    _data: [u8; 0],
7890    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7891}
7892
7893impl ::std::fmt::Debug for GMenu {
7894    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7895        f.debug_struct(&format!("GMenu @ {self:p}")).finish()
7896    }
7897}
7898
7899#[derive(Copy, Clone)]
7900#[repr(C)]
7901pub struct GMenuAttributeIter {
7902    pub parent_instance: gobject::GObject,
7903    pub priv_: *mut GMenuAttributeIterPrivate,
7904}
7905
7906impl ::std::fmt::Debug for GMenuAttributeIter {
7907    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7908        f.debug_struct(&format!("GMenuAttributeIter @ {self:p}"))
7909            .field("parent_instance", &self.parent_instance)
7910            .field("priv_", &self.priv_)
7911            .finish()
7912    }
7913}
7914
7915#[repr(C)]
7916#[allow(dead_code)]
7917pub struct GMenuItem {
7918    _data: [u8; 0],
7919    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7920}
7921
7922impl ::std::fmt::Debug for GMenuItem {
7923    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7924        f.debug_struct(&format!("GMenuItem @ {self:p}")).finish()
7925    }
7926}
7927
7928#[derive(Copy, Clone)]
7929#[repr(C)]
7930pub struct GMenuLinkIter {
7931    pub parent_instance: gobject::GObject,
7932    pub priv_: *mut GMenuLinkIterPrivate,
7933}
7934
7935impl ::std::fmt::Debug for GMenuLinkIter {
7936    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7937        f.debug_struct(&format!("GMenuLinkIter @ {self:p}"))
7938            .field("parent_instance", &self.parent_instance)
7939            .field("priv_", &self.priv_)
7940            .finish()
7941    }
7942}
7943
7944#[derive(Copy, Clone)]
7945#[repr(C)]
7946pub struct GMenuModel {
7947    pub parent_instance: gobject::GObject,
7948    pub priv_: *mut GMenuModelPrivate,
7949}
7950
7951impl ::std::fmt::Debug for GMenuModel {
7952    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7953        f.debug_struct(&format!("GMenuModel @ {self:p}"))
7954            .field("parent_instance", &self.parent_instance)
7955            .field("priv_", &self.priv_)
7956            .finish()
7957    }
7958}
7959
7960#[derive(Copy, Clone)]
7961#[repr(C)]
7962pub struct GMountOperation {
7963    pub parent_instance: gobject::GObject,
7964    pub priv_: *mut GMountOperationPrivate,
7965}
7966
7967impl ::std::fmt::Debug for GMountOperation {
7968    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7969        f.debug_struct(&format!("GMountOperation @ {self:p}"))
7970            .field("parent_instance", &self.parent_instance)
7971            .field("priv_", &self.priv_)
7972            .finish()
7973    }
7974}
7975
7976#[derive(Copy, Clone)]
7977#[repr(C)]
7978pub struct GNativeSocketAddress {
7979    pub parent_instance: GSocketAddress,
7980    pub priv_: *mut GNativeSocketAddressPrivate,
7981}
7982
7983impl ::std::fmt::Debug for GNativeSocketAddress {
7984    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7985        f.debug_struct(&format!("GNativeSocketAddress @ {self:p}"))
7986            .field("parent_instance", &self.parent_instance)
7987            .finish()
7988    }
7989}
7990
7991#[derive(Copy, Clone)]
7992#[repr(C)]
7993pub struct GNativeVolumeMonitor {
7994    pub parent_instance: GVolumeMonitor,
7995}
7996
7997impl ::std::fmt::Debug for GNativeVolumeMonitor {
7998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7999        f.debug_struct(&format!("GNativeVolumeMonitor @ {self:p}"))
8000            .field("parent_instance", &self.parent_instance)
8001            .finish()
8002    }
8003}
8004
8005#[derive(Copy, Clone)]
8006#[repr(C)]
8007pub struct GNetworkAddress {
8008    pub parent_instance: gobject::GObject,
8009    pub priv_: *mut GNetworkAddressPrivate,
8010}
8011
8012impl ::std::fmt::Debug for GNetworkAddress {
8013    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8014        f.debug_struct(&format!("GNetworkAddress @ {self:p}"))
8015            .field("parent_instance", &self.parent_instance)
8016            .finish()
8017    }
8018}
8019
8020#[derive(Copy, Clone)]
8021#[repr(C)]
8022pub struct GNetworkService {
8023    pub parent_instance: gobject::GObject,
8024    pub priv_: *mut GNetworkServicePrivate,
8025}
8026
8027impl ::std::fmt::Debug for GNetworkService {
8028    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8029        f.debug_struct(&format!("GNetworkService @ {self:p}"))
8030            .field("parent_instance", &self.parent_instance)
8031            .finish()
8032    }
8033}
8034
8035#[repr(C)]
8036#[allow(dead_code)]
8037pub struct GNotification {
8038    _data: [u8; 0],
8039    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8040}
8041
8042impl ::std::fmt::Debug for GNotification {
8043    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8044        f.debug_struct(&format!("GNotification @ {self:p}"))
8045            .finish()
8046    }
8047}
8048
8049#[derive(Copy, Clone)]
8050#[repr(C)]
8051pub struct GOutputStream {
8052    pub parent_instance: gobject::GObject,
8053    pub priv_: *mut GOutputStreamPrivate,
8054}
8055
8056impl ::std::fmt::Debug for GOutputStream {
8057    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8058        f.debug_struct(&format!("GOutputStream @ {self:p}"))
8059            .field("parent_instance", &self.parent_instance)
8060            .finish()
8061    }
8062}
8063
8064#[derive(Copy, Clone)]
8065#[repr(C)]
8066pub struct GPermission {
8067    pub parent_instance: gobject::GObject,
8068    pub priv_: *mut GPermissionPrivate,
8069}
8070
8071impl ::std::fmt::Debug for GPermission {
8072    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8073        f.debug_struct(&format!("GPermission @ {self:p}"))
8074            .field("parent_instance", &self.parent_instance)
8075            .finish()
8076    }
8077}
8078
8079#[repr(C)]
8080#[allow(dead_code)]
8081pub struct GPropertyAction {
8082    _data: [u8; 0],
8083    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8084}
8085
8086impl ::std::fmt::Debug for GPropertyAction {
8087    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8088        f.debug_struct(&format!("GPropertyAction @ {self:p}"))
8089            .finish()
8090    }
8091}
8092
8093#[derive(Copy, Clone)]
8094#[repr(C)]
8095pub struct GProxyAddress {
8096    pub parent_instance: GInetSocketAddress,
8097    pub priv_: *mut GProxyAddressPrivate,
8098}
8099
8100impl ::std::fmt::Debug for GProxyAddress {
8101    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8102        f.debug_struct(&format!("GProxyAddress @ {self:p}"))
8103            .field("parent_instance", &self.parent_instance)
8104            .finish()
8105    }
8106}
8107
8108#[derive(Copy, Clone)]
8109#[repr(C)]
8110pub struct GProxyAddressEnumerator {
8111    pub parent_instance: GSocketAddressEnumerator,
8112    pub priv_: *mut GProxyAddressEnumeratorPrivate,
8113}
8114
8115impl ::std::fmt::Debug for GProxyAddressEnumerator {
8116    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8117        f.debug_struct(&format!("GProxyAddressEnumerator @ {self:p}"))
8118            .finish()
8119    }
8120}
8121
8122#[derive(Copy, Clone)]
8123#[repr(C)]
8124pub struct GResolver {
8125    pub parent_instance: gobject::GObject,
8126    pub priv_: *mut GResolverPrivate,
8127}
8128
8129impl ::std::fmt::Debug for GResolver {
8130    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8131        f.debug_struct(&format!("GResolver @ {self:p}"))
8132            .field("parent_instance", &self.parent_instance)
8133            .field("priv_", &self.priv_)
8134            .finish()
8135    }
8136}
8137
8138#[derive(Copy, Clone)]
8139#[repr(C)]
8140pub struct GSettings {
8141    pub parent_instance: gobject::GObject,
8142    pub priv_: *mut GSettingsPrivate,
8143}
8144
8145impl ::std::fmt::Debug for GSettings {
8146    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8147        f.debug_struct(&format!("GSettings @ {self:p}"))
8148            .field("parent_instance", &self.parent_instance)
8149            .field("priv_", &self.priv_)
8150            .finish()
8151    }
8152}
8153
8154#[derive(Copy, Clone)]
8155#[repr(C)]
8156pub struct GSettingsBackend {
8157    pub parent_instance: gobject::GObject,
8158    pub priv_: *mut GSettingsBackendPrivate,
8159}
8160
8161impl ::std::fmt::Debug for GSettingsBackend {
8162    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8163        f.debug_struct(&format!("GSettingsBackend @ {self:p}"))
8164            .field("parent_instance", &self.parent_instance)
8165            .finish()
8166    }
8167}
8168
8169#[repr(C)]
8170#[allow(dead_code)]
8171pub struct GSimpleAction {
8172    _data: [u8; 0],
8173    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8174}
8175
8176impl ::std::fmt::Debug for GSimpleAction {
8177    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8178        f.debug_struct(&format!("GSimpleAction @ {self:p}"))
8179            .finish()
8180    }
8181}
8182
8183#[derive(Copy, Clone)]
8184#[repr(C)]
8185pub struct GSimpleActionGroup {
8186    pub parent_instance: gobject::GObject,
8187    pub priv_: *mut GSimpleActionGroupPrivate,
8188}
8189
8190impl ::std::fmt::Debug for GSimpleActionGroup {
8191    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8192        f.debug_struct(&format!("GSimpleActionGroup @ {self:p}"))
8193            .finish()
8194    }
8195}
8196
8197#[repr(C)]
8198#[allow(dead_code)]
8199pub struct GSimpleAsyncResult {
8200    _data: [u8; 0],
8201    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8202}
8203
8204impl ::std::fmt::Debug for GSimpleAsyncResult {
8205    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8206        f.debug_struct(&format!("GSimpleAsyncResult @ {self:p}"))
8207            .finish()
8208    }
8209}
8210
8211#[repr(C)]
8212#[allow(dead_code)]
8213pub struct GSimpleIOStream {
8214    _data: [u8; 0],
8215    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8216}
8217
8218impl ::std::fmt::Debug for GSimpleIOStream {
8219    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8220        f.debug_struct(&format!("GSimpleIOStream @ {self:p}"))
8221            .finish()
8222    }
8223}
8224
8225#[repr(C)]
8226#[allow(dead_code)]
8227pub struct GSimplePermission {
8228    _data: [u8; 0],
8229    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8230}
8231
8232impl ::std::fmt::Debug for GSimplePermission {
8233    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8234        f.debug_struct(&format!("GSimplePermission @ {self:p}"))
8235            .finish()
8236    }
8237}
8238
8239#[derive(Copy, Clone)]
8240#[repr(C)]
8241pub struct GSimpleProxyResolver {
8242    pub parent_instance: gobject::GObject,
8243    pub priv_: *mut GSimpleProxyResolverPrivate,
8244}
8245
8246impl ::std::fmt::Debug for GSimpleProxyResolver {
8247    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8248        f.debug_struct(&format!("GSimpleProxyResolver @ {self:p}"))
8249            .field("parent_instance", &self.parent_instance)
8250            .finish()
8251    }
8252}
8253
8254#[derive(Copy, Clone)]
8255#[repr(C)]
8256pub struct GSocket {
8257    pub parent_instance: gobject::GObject,
8258    pub priv_: *mut GSocketPrivate,
8259}
8260
8261impl ::std::fmt::Debug for GSocket {
8262    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8263        f.debug_struct(&format!("GSocket @ {self:p}"))
8264            .field("parent_instance", &self.parent_instance)
8265            .field("priv_", &self.priv_)
8266            .finish()
8267    }
8268}
8269
8270#[derive(Copy, Clone)]
8271#[repr(C)]
8272pub struct GSocketAddress {
8273    pub parent_instance: gobject::GObject,
8274}
8275
8276impl ::std::fmt::Debug for GSocketAddress {
8277    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8278        f.debug_struct(&format!("GSocketAddress @ {self:p}"))
8279            .field("parent_instance", &self.parent_instance)
8280            .finish()
8281    }
8282}
8283
8284#[derive(Copy, Clone)]
8285#[repr(C)]
8286pub struct GSocketAddressEnumerator {
8287    pub parent_instance: gobject::GObject,
8288}
8289
8290impl ::std::fmt::Debug for GSocketAddressEnumerator {
8291    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8292        f.debug_struct(&format!("GSocketAddressEnumerator @ {self:p}"))
8293            .finish()
8294    }
8295}
8296
8297#[derive(Copy, Clone)]
8298#[repr(C)]
8299pub struct GSocketClient {
8300    pub parent_instance: gobject::GObject,
8301    pub priv_: *mut GSocketClientPrivate,
8302}
8303
8304impl ::std::fmt::Debug for GSocketClient {
8305    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8306        f.debug_struct(&format!("GSocketClient @ {self:p}"))
8307            .field("parent_instance", &self.parent_instance)
8308            .field("priv_", &self.priv_)
8309            .finish()
8310    }
8311}
8312
8313#[derive(Copy, Clone)]
8314#[repr(C)]
8315pub struct GSocketConnection {
8316    pub parent_instance: GIOStream,
8317    pub priv_: *mut GSocketConnectionPrivate,
8318}
8319
8320impl ::std::fmt::Debug for GSocketConnection {
8321    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8322        f.debug_struct(&format!("GSocketConnection @ {self:p}"))
8323            .field("parent_instance", &self.parent_instance)
8324            .field("priv_", &self.priv_)
8325            .finish()
8326    }
8327}
8328
8329#[derive(Copy, Clone)]
8330#[repr(C)]
8331pub struct GSocketControlMessage {
8332    pub parent_instance: gobject::GObject,
8333    pub priv_: *mut GSocketControlMessagePrivate,
8334}
8335
8336impl ::std::fmt::Debug for GSocketControlMessage {
8337    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8338        f.debug_struct(&format!("GSocketControlMessage @ {self:p}"))
8339            .field("parent_instance", &self.parent_instance)
8340            .field("priv_", &self.priv_)
8341            .finish()
8342    }
8343}
8344
8345#[derive(Copy, Clone)]
8346#[repr(C)]
8347pub struct GSocketListener {
8348    pub parent_instance: gobject::GObject,
8349    pub priv_: *mut GSocketListenerPrivate,
8350}
8351
8352impl ::std::fmt::Debug for GSocketListener {
8353    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8354        f.debug_struct(&format!("GSocketListener @ {self:p}"))
8355            .field("parent_instance", &self.parent_instance)
8356            .field("priv_", &self.priv_)
8357            .finish()
8358    }
8359}
8360
8361#[derive(Copy, Clone)]
8362#[repr(C)]
8363pub struct GSocketService {
8364    pub parent_instance: GSocketListener,
8365    pub priv_: *mut GSocketServicePrivate,
8366}
8367
8368impl ::std::fmt::Debug for GSocketService {
8369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8370        f.debug_struct(&format!("GSocketService @ {self:p}"))
8371            .field("parent_instance", &self.parent_instance)
8372            .field("priv_", &self.priv_)
8373            .finish()
8374    }
8375}
8376
8377#[repr(C)]
8378#[allow(dead_code)]
8379pub struct GSubprocess {
8380    _data: [u8; 0],
8381    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8382}
8383
8384impl ::std::fmt::Debug for GSubprocess {
8385    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8386        f.debug_struct(&format!("GSubprocess @ {self:p}")).finish()
8387    }
8388}
8389
8390#[repr(C)]
8391#[allow(dead_code)]
8392pub struct GSubprocessLauncher {
8393    _data: [u8; 0],
8394    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8395}
8396
8397impl ::std::fmt::Debug for GSubprocessLauncher {
8398    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8399        f.debug_struct(&format!("GSubprocessLauncher @ {self:p}"))
8400            .finish()
8401    }
8402}
8403
8404#[repr(C)]
8405#[allow(dead_code)]
8406pub struct GTask {
8407    _data: [u8; 0],
8408    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8409}
8410
8411impl ::std::fmt::Debug for GTask {
8412    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8413        f.debug_struct(&format!("GTask @ {self:p}")).finish()
8414    }
8415}
8416
8417#[derive(Copy, Clone)]
8418#[repr(C)]
8419pub struct GTcpConnection {
8420    pub parent_instance: GSocketConnection,
8421    pub priv_: *mut GTcpConnectionPrivate,
8422}
8423
8424impl ::std::fmt::Debug for GTcpConnection {
8425    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8426        f.debug_struct(&format!("GTcpConnection @ {self:p}"))
8427            .field("parent_instance", &self.parent_instance)
8428            .field("priv_", &self.priv_)
8429            .finish()
8430    }
8431}
8432
8433#[derive(Copy, Clone)]
8434#[repr(C)]
8435pub struct GTcpWrapperConnection {
8436    pub parent_instance: GTcpConnection,
8437    pub priv_: *mut GTcpWrapperConnectionPrivate,
8438}
8439
8440impl ::std::fmt::Debug for GTcpWrapperConnection {
8441    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8442        f.debug_struct(&format!("GTcpWrapperConnection @ {self:p}"))
8443            .field("parent_instance", &self.parent_instance)
8444            .field("priv_", &self.priv_)
8445            .finish()
8446    }
8447}
8448
8449#[repr(C)]
8450#[allow(dead_code)]
8451pub struct GTestDBus {
8452    _data: [u8; 0],
8453    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8454}
8455
8456impl ::std::fmt::Debug for GTestDBus {
8457    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8458        f.debug_struct(&format!("GTestDBus @ {self:p}")).finish()
8459    }
8460}
8461
8462#[repr(C)]
8463#[allow(dead_code)]
8464pub struct GThemedIcon {
8465    _data: [u8; 0],
8466    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8467}
8468
8469impl ::std::fmt::Debug for GThemedIcon {
8470    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8471        f.debug_struct(&format!("GThemedIcon @ {self:p}")).finish()
8472    }
8473}
8474
8475#[repr(C)]
8476#[allow(dead_code)]
8477pub struct GThreadedResolver {
8478    _data: [u8; 0],
8479    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8480}
8481
8482impl ::std::fmt::Debug for GThreadedResolver {
8483    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8484        f.debug_struct(&format!("GThreadedResolver @ {self:p}"))
8485            .finish()
8486    }
8487}
8488
8489#[derive(Copy, Clone)]
8490#[repr(C)]
8491pub struct GThreadedSocketService {
8492    pub parent_instance: GSocketService,
8493    pub priv_: *mut GThreadedSocketServicePrivate,
8494}
8495
8496impl ::std::fmt::Debug for GThreadedSocketService {
8497    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8498        f.debug_struct(&format!("GThreadedSocketService @ {self:p}"))
8499            .field("parent_instance", &self.parent_instance)
8500            .field("priv_", &self.priv_)
8501            .finish()
8502    }
8503}
8504
8505#[derive(Copy, Clone)]
8506#[repr(C)]
8507pub struct GTlsCertificate {
8508    pub parent_instance: gobject::GObject,
8509    pub priv_: *mut GTlsCertificatePrivate,
8510}
8511
8512impl ::std::fmt::Debug for GTlsCertificate {
8513    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8514        f.debug_struct(&format!("GTlsCertificate @ {self:p}"))
8515            .field("parent_instance", &self.parent_instance)
8516            .field("priv_", &self.priv_)
8517            .finish()
8518    }
8519}
8520
8521#[derive(Copy, Clone)]
8522#[repr(C)]
8523pub struct GTlsConnection {
8524    pub parent_instance: GIOStream,
8525    pub priv_: *mut GTlsConnectionPrivate,
8526}
8527
8528impl ::std::fmt::Debug for GTlsConnection {
8529    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8530        f.debug_struct(&format!("GTlsConnection @ {self:p}"))
8531            .field("parent_instance", &self.parent_instance)
8532            .field("priv_", &self.priv_)
8533            .finish()
8534    }
8535}
8536
8537#[derive(Copy, Clone)]
8538#[repr(C)]
8539pub struct GTlsDatabase {
8540    pub parent_instance: gobject::GObject,
8541    pub priv_: *mut GTlsDatabasePrivate,
8542}
8543
8544impl ::std::fmt::Debug for GTlsDatabase {
8545    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8546        f.debug_struct(&format!("GTlsDatabase @ {self:p}"))
8547            .field("parent_instance", &self.parent_instance)
8548            .field("priv_", &self.priv_)
8549            .finish()
8550    }
8551}
8552
8553#[derive(Copy, Clone)]
8554#[repr(C)]
8555pub struct GTlsInteraction {
8556    pub parent_instance: gobject::GObject,
8557    pub priv_: *mut GTlsInteractionPrivate,
8558}
8559
8560impl ::std::fmt::Debug for GTlsInteraction {
8561    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8562        f.debug_struct(&format!("GTlsInteraction @ {self:p}"))
8563            .finish()
8564    }
8565}
8566
8567#[derive(Copy, Clone)]
8568#[repr(C)]
8569pub struct GTlsPassword {
8570    pub parent_instance: gobject::GObject,
8571    pub priv_: *mut GTlsPasswordPrivate,
8572}
8573
8574impl ::std::fmt::Debug for GTlsPassword {
8575    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8576        f.debug_struct(&format!("GTlsPassword @ {self:p}"))
8577            .field("parent_instance", &self.parent_instance)
8578            .field("priv_", &self.priv_)
8579            .finish()
8580    }
8581}
8582
8583#[derive(Copy, Clone)]
8584#[repr(C)]
8585pub struct GUnixConnection {
8586    pub parent_instance: GSocketConnection,
8587    pub priv_: *mut GUnixConnectionPrivate,
8588}
8589
8590impl ::std::fmt::Debug for GUnixConnection {
8591    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8592        f.debug_struct(&format!("GUnixConnection @ {self:p}"))
8593            .field("parent_instance", &self.parent_instance)
8594            .field("priv_", &self.priv_)
8595            .finish()
8596    }
8597}
8598
8599#[derive(Copy, Clone)]
8600#[repr(C)]
8601pub struct GUnixCredentialsMessage {
8602    pub parent_instance: GSocketControlMessage,
8603    pub priv_: *mut GUnixCredentialsMessagePrivate,
8604}
8605
8606impl ::std::fmt::Debug for GUnixCredentialsMessage {
8607    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8608        f.debug_struct(&format!("GUnixCredentialsMessage @ {self:p}"))
8609            .field("parent_instance", &self.parent_instance)
8610            .field("priv_", &self.priv_)
8611            .finish()
8612    }
8613}
8614
8615#[derive(Copy, Clone)]
8616#[repr(C)]
8617pub struct GUnixFDList {
8618    pub parent_instance: gobject::GObject,
8619    pub priv_: *mut GUnixFDListPrivate,
8620}
8621
8622impl ::std::fmt::Debug for GUnixFDList {
8623    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8624        f.debug_struct(&format!("GUnixFDList @ {self:p}"))
8625            .field("parent_instance", &self.parent_instance)
8626            .field("priv_", &self.priv_)
8627            .finish()
8628    }
8629}
8630
8631#[derive(Copy, Clone)]
8632#[repr(C)]
8633pub struct GUnixSocketAddress {
8634    pub parent_instance: GSocketAddress,
8635    pub priv_: *mut GUnixSocketAddressPrivate,
8636}
8637
8638impl ::std::fmt::Debug for GUnixSocketAddress {
8639    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8640        f.debug_struct(&format!("GUnixSocketAddress @ {self:p}"))
8641            .field("parent_instance", &self.parent_instance)
8642            .finish()
8643    }
8644}
8645
8646#[derive(Copy, Clone)]
8647#[repr(C)]
8648pub struct GVfs {
8649    pub parent_instance: gobject::GObject,
8650}
8651
8652impl ::std::fmt::Debug for GVfs {
8653    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8654        f.debug_struct(&format!("GVfs @ {self:p}"))
8655            .field("parent_instance", &self.parent_instance)
8656            .finish()
8657    }
8658}
8659
8660#[derive(Copy, Clone)]
8661#[repr(C)]
8662pub struct GVolumeMonitor {
8663    pub parent_instance: gobject::GObject,
8664    pub priv_: gpointer,
8665}
8666
8667impl ::std::fmt::Debug for GVolumeMonitor {
8668    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8669        f.debug_struct(&format!("GVolumeMonitor @ {self:p}"))
8670            .field("parent_instance", &self.parent_instance)
8671            .finish()
8672    }
8673}
8674
8675#[repr(C)]
8676#[allow(dead_code)]
8677pub struct GZlibCompressor {
8678    _data: [u8; 0],
8679    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8680}
8681
8682impl ::std::fmt::Debug for GZlibCompressor {
8683    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8684        f.debug_struct(&format!("GZlibCompressor @ {self:p}"))
8685            .finish()
8686    }
8687}
8688
8689#[repr(C)]
8690#[allow(dead_code)]
8691pub struct GZlibDecompressor {
8692    _data: [u8; 0],
8693    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8694}
8695
8696impl ::std::fmt::Debug for GZlibDecompressor {
8697    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8698        f.debug_struct(&format!("GZlibDecompressor @ {self:p}"))
8699            .finish()
8700    }
8701}
8702
8703// Interfaces
8704#[repr(C)]
8705#[allow(dead_code)]
8706pub struct GAction {
8707    _data: [u8; 0],
8708    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8709}
8710
8711impl ::std::fmt::Debug for GAction {
8712    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8713        write!(f, "GAction @ {self:p}")
8714    }
8715}
8716
8717#[repr(C)]
8718#[allow(dead_code)]
8719pub struct GActionGroup {
8720    _data: [u8; 0],
8721    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8722}
8723
8724impl ::std::fmt::Debug for GActionGroup {
8725    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8726        write!(f, "GActionGroup @ {self:p}")
8727    }
8728}
8729
8730#[repr(C)]
8731#[allow(dead_code)]
8732pub struct GActionMap {
8733    _data: [u8; 0],
8734    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8735}
8736
8737impl ::std::fmt::Debug for GActionMap {
8738    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8739        write!(f, "GActionMap @ {self:p}")
8740    }
8741}
8742
8743#[repr(C)]
8744#[allow(dead_code)]
8745pub struct GAppInfo {
8746    _data: [u8; 0],
8747    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8748}
8749
8750impl ::std::fmt::Debug for GAppInfo {
8751    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8752        write!(f, "GAppInfo @ {self:p}")
8753    }
8754}
8755
8756#[repr(C)]
8757#[allow(dead_code)]
8758pub struct GAsyncInitable {
8759    _data: [u8; 0],
8760    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8761}
8762
8763impl ::std::fmt::Debug for GAsyncInitable {
8764    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8765        write!(f, "GAsyncInitable @ {self:p}")
8766    }
8767}
8768
8769#[repr(C)]
8770#[allow(dead_code)]
8771pub struct GAsyncResult {
8772    _data: [u8; 0],
8773    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8774}
8775
8776impl ::std::fmt::Debug for GAsyncResult {
8777    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8778        write!(f, "GAsyncResult @ {self:p}")
8779    }
8780}
8781
8782#[repr(C)]
8783#[allow(dead_code)]
8784pub struct GConverter {
8785    _data: [u8; 0],
8786    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8787}
8788
8789impl ::std::fmt::Debug for GConverter {
8790    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8791        write!(f, "GConverter @ {self:p}")
8792    }
8793}
8794
8795#[repr(C)]
8796#[allow(dead_code)]
8797pub struct GDBusInterface {
8798    _data: [u8; 0],
8799    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8800}
8801
8802impl ::std::fmt::Debug for GDBusInterface {
8803    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8804        write!(f, "GDBusInterface @ {self:p}")
8805    }
8806}
8807
8808#[repr(C)]
8809#[allow(dead_code)]
8810pub struct GDBusObject {
8811    _data: [u8; 0],
8812    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8813}
8814
8815impl ::std::fmt::Debug for GDBusObject {
8816    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8817        write!(f, "GDBusObject @ {self:p}")
8818    }
8819}
8820
8821#[repr(C)]
8822#[allow(dead_code)]
8823pub struct GDBusObjectManager {
8824    _data: [u8; 0],
8825    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8826}
8827
8828impl ::std::fmt::Debug for GDBusObjectManager {
8829    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8830        write!(f, "GDBusObjectManager @ {self:p}")
8831    }
8832}
8833
8834#[repr(C)]
8835#[allow(dead_code)]
8836pub struct GDatagramBased {
8837    _data: [u8; 0],
8838    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8839}
8840
8841impl ::std::fmt::Debug for GDatagramBased {
8842    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8843        write!(f, "GDatagramBased @ {self:p}")
8844    }
8845}
8846
8847#[repr(C)]
8848#[allow(dead_code)]
8849pub struct GDebugController {
8850    _data: [u8; 0],
8851    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8852}
8853
8854impl ::std::fmt::Debug for GDebugController {
8855    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8856        write!(f, "GDebugController @ {self:p}")
8857    }
8858}
8859
8860#[repr(C)]
8861#[allow(dead_code)]
8862pub struct GDrive {
8863    _data: [u8; 0],
8864    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8865}
8866
8867impl ::std::fmt::Debug for GDrive {
8868    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8869        write!(f, "GDrive @ {self:p}")
8870    }
8871}
8872
8873#[repr(C)]
8874#[allow(dead_code)]
8875pub struct GDtlsClientConnection {
8876    _data: [u8; 0],
8877    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8878}
8879
8880impl ::std::fmt::Debug for GDtlsClientConnection {
8881    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8882        write!(f, "GDtlsClientConnection @ {self:p}")
8883    }
8884}
8885
8886#[repr(C)]
8887#[allow(dead_code)]
8888pub struct GDtlsConnection {
8889    _data: [u8; 0],
8890    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8891}
8892
8893impl ::std::fmt::Debug for GDtlsConnection {
8894    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8895        write!(f, "GDtlsConnection @ {self:p}")
8896    }
8897}
8898
8899#[repr(C)]
8900#[allow(dead_code)]
8901pub struct GDtlsServerConnection {
8902    _data: [u8; 0],
8903    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8904}
8905
8906impl ::std::fmt::Debug for GDtlsServerConnection {
8907    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8908        write!(f, "GDtlsServerConnection @ {self:p}")
8909    }
8910}
8911
8912#[repr(C)]
8913#[allow(dead_code)]
8914pub struct GFile {
8915    _data: [u8; 0],
8916    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8917}
8918
8919impl ::std::fmt::Debug for GFile {
8920    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8921        write!(f, "GFile @ {self:p}")
8922    }
8923}
8924
8925#[repr(C)]
8926#[allow(dead_code)]
8927pub struct GIcon {
8928    _data: [u8; 0],
8929    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8930}
8931
8932impl ::std::fmt::Debug for GIcon {
8933    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8934        write!(f, "GIcon @ {self:p}")
8935    }
8936}
8937
8938#[repr(C)]
8939#[allow(dead_code)]
8940pub struct GInitable {
8941    _data: [u8; 0],
8942    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8943}
8944
8945impl ::std::fmt::Debug for GInitable {
8946    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8947        write!(f, "GInitable @ {self:p}")
8948    }
8949}
8950
8951#[repr(C)]
8952#[allow(dead_code)]
8953pub struct GListModel {
8954    _data: [u8; 0],
8955    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8956}
8957
8958impl ::std::fmt::Debug for GListModel {
8959    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8960        write!(f, "GListModel @ {self:p}")
8961    }
8962}
8963
8964#[repr(C)]
8965#[allow(dead_code)]
8966pub struct GLoadableIcon {
8967    _data: [u8; 0],
8968    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8969}
8970
8971impl ::std::fmt::Debug for GLoadableIcon {
8972    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8973        write!(f, "GLoadableIcon @ {self:p}")
8974    }
8975}
8976
8977#[repr(C)]
8978#[allow(dead_code)]
8979pub struct GMemoryMonitor {
8980    _data: [u8; 0],
8981    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8982}
8983
8984impl ::std::fmt::Debug for GMemoryMonitor {
8985    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8986        write!(f, "GMemoryMonitor @ {self:p}")
8987    }
8988}
8989
8990#[repr(C)]
8991#[allow(dead_code)]
8992pub struct GMount {
8993    _data: [u8; 0],
8994    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8995}
8996
8997impl ::std::fmt::Debug for GMount {
8998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8999        write!(f, "GMount @ {self:p}")
9000    }
9001}
9002
9003#[repr(C)]
9004#[allow(dead_code)]
9005pub struct GNetworkMonitor {
9006    _data: [u8; 0],
9007    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9008}
9009
9010impl ::std::fmt::Debug for GNetworkMonitor {
9011    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9012        write!(f, "GNetworkMonitor @ {self:p}")
9013    }
9014}
9015
9016#[repr(C)]
9017#[allow(dead_code)]
9018pub struct GPollableInputStream {
9019    _data: [u8; 0],
9020    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9021}
9022
9023impl ::std::fmt::Debug for GPollableInputStream {
9024    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9025        write!(f, "GPollableInputStream @ {self:p}")
9026    }
9027}
9028
9029#[repr(C)]
9030#[allow(dead_code)]
9031pub struct GPollableOutputStream {
9032    _data: [u8; 0],
9033    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9034}
9035
9036impl ::std::fmt::Debug for GPollableOutputStream {
9037    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9038        write!(f, "GPollableOutputStream @ {self:p}")
9039    }
9040}
9041
9042#[repr(C)]
9043#[allow(dead_code)]
9044pub struct GPowerProfileMonitor {
9045    _data: [u8; 0],
9046    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9047}
9048
9049impl ::std::fmt::Debug for GPowerProfileMonitor {
9050    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9051        write!(f, "GPowerProfileMonitor @ {self:p}")
9052    }
9053}
9054
9055#[repr(C)]
9056#[allow(dead_code)]
9057pub struct GProxy {
9058    _data: [u8; 0],
9059    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9060}
9061
9062impl ::std::fmt::Debug for GProxy {
9063    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9064        write!(f, "GProxy @ {self:p}")
9065    }
9066}
9067
9068#[repr(C)]
9069#[allow(dead_code)]
9070pub struct GProxyResolver {
9071    _data: [u8; 0],
9072    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9073}
9074
9075impl ::std::fmt::Debug for GProxyResolver {
9076    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9077        write!(f, "GProxyResolver @ {self:p}")
9078    }
9079}
9080
9081#[repr(C)]
9082#[allow(dead_code)]
9083pub struct GRemoteActionGroup {
9084    _data: [u8; 0],
9085    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9086}
9087
9088impl ::std::fmt::Debug for GRemoteActionGroup {
9089    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9090        write!(f, "GRemoteActionGroup @ {self:p}")
9091    }
9092}
9093
9094#[repr(C)]
9095#[allow(dead_code)]
9096pub struct GSeekable {
9097    _data: [u8; 0],
9098    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9099}
9100
9101impl ::std::fmt::Debug for GSeekable {
9102    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9103        write!(f, "GSeekable @ {self:p}")
9104    }
9105}
9106
9107#[repr(C)]
9108#[allow(dead_code)]
9109pub struct GSocketConnectable {
9110    _data: [u8; 0],
9111    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9112}
9113
9114impl ::std::fmt::Debug for GSocketConnectable {
9115    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9116        write!(f, "GSocketConnectable @ {self:p}")
9117    }
9118}
9119
9120#[repr(C)]
9121#[allow(dead_code)]
9122pub struct GTlsBackend {
9123    _data: [u8; 0],
9124    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9125}
9126
9127impl ::std::fmt::Debug for GTlsBackend {
9128    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9129        write!(f, "GTlsBackend @ {self:p}")
9130    }
9131}
9132
9133#[repr(C)]
9134#[allow(dead_code)]
9135pub struct GTlsClientConnection {
9136    _data: [u8; 0],
9137    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9138}
9139
9140impl ::std::fmt::Debug for GTlsClientConnection {
9141    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9142        write!(f, "GTlsClientConnection @ {self:p}")
9143    }
9144}
9145
9146#[repr(C)]
9147#[allow(dead_code)]
9148pub struct GTlsFileDatabase {
9149    _data: [u8; 0],
9150    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9151}
9152
9153impl ::std::fmt::Debug for GTlsFileDatabase {
9154    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9155        write!(f, "GTlsFileDatabase @ {self:p}")
9156    }
9157}
9158
9159#[repr(C)]
9160#[allow(dead_code)]
9161pub struct GTlsServerConnection {
9162    _data: [u8; 0],
9163    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9164}
9165
9166impl ::std::fmt::Debug for GTlsServerConnection {
9167    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9168        write!(f, "GTlsServerConnection @ {self:p}")
9169    }
9170}
9171
9172#[repr(C)]
9173#[allow(dead_code)]
9174pub struct GVolume {
9175    _data: [u8; 0],
9176    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9177}
9178
9179impl ::std::fmt::Debug for GVolume {
9180    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9181        write!(f, "GVolume @ {self:p}")
9182    }
9183}
9184
9185unsafe extern "C" {
9186
9187    //=========================================================================
9188    // GBusType
9189    //=========================================================================
9190    pub fn g_bus_type_get_type() -> GType;
9191
9192    //=========================================================================
9193    // GConverterResult
9194    //=========================================================================
9195    pub fn g_converter_result_get_type() -> GType;
9196
9197    //=========================================================================
9198    // GCredentialsType
9199    //=========================================================================
9200    pub fn g_credentials_type_get_type() -> GType;
9201
9202    //=========================================================================
9203    // GDBusError
9204    //=========================================================================
9205    pub fn g_dbus_error_get_type() -> GType;
9206    pub fn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char;
9207    pub fn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char;
9208    pub fn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean;
9209    pub fn g_dbus_error_new_for_dbus_error(
9210        dbus_error_name: *const c_char,
9211        dbus_error_message: *const c_char,
9212    ) -> *mut glib::GError;
9213    pub fn g_dbus_error_quark() -> glib::GQuark;
9214    pub fn g_dbus_error_register_error(
9215        error_domain: glib::GQuark,
9216        error_code: c_int,
9217        dbus_error_name: *const c_char,
9218    ) -> gboolean;
9219    pub fn g_dbus_error_register_error_domain(
9220        error_domain_quark_name: *const c_char,
9221        quark_volatile: *mut size_t,
9222        entries: *const GDBusErrorEntry,
9223        num_entries: c_uint,
9224    );
9225    pub fn g_dbus_error_set_dbus_error(
9226        error: *mut *mut glib::GError,
9227        dbus_error_name: *const c_char,
9228        dbus_error_message: *const c_char,
9229        format: *const c_char,
9230        ...
9231    );
9232    //pub fn g_dbus_error_set_dbus_error_valist(error: *mut *mut glib::GError, dbus_error_name: *const c_char, dbus_error_message: *const c_char, format: *const c_char, var_args: /*Unimplemented*/va_list);
9233    pub fn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean;
9234    pub fn g_dbus_error_unregister_error(
9235        error_domain: glib::GQuark,
9236        error_code: c_int,
9237        dbus_error_name: *const c_char,
9238    ) -> gboolean;
9239
9240    //=========================================================================
9241    // GDBusMessageByteOrder
9242    //=========================================================================
9243    pub fn g_dbus_message_byte_order_get_type() -> GType;
9244
9245    //=========================================================================
9246    // GDBusMessageHeaderField
9247    //=========================================================================
9248    pub fn g_dbus_message_header_field_get_type() -> GType;
9249
9250    //=========================================================================
9251    // GDBusMessageType
9252    //=========================================================================
9253    pub fn g_dbus_message_type_get_type() -> GType;
9254
9255    //=========================================================================
9256    // GDataStreamByteOrder
9257    //=========================================================================
9258    pub fn g_data_stream_byte_order_get_type() -> GType;
9259
9260    //=========================================================================
9261    // GDataStreamNewlineType
9262    //=========================================================================
9263    pub fn g_data_stream_newline_type_get_type() -> GType;
9264
9265    //=========================================================================
9266    // GDriveStartStopType
9267    //=========================================================================
9268    pub fn g_drive_start_stop_type_get_type() -> GType;
9269
9270    //=========================================================================
9271    // GEcnCodePoint
9272    //=========================================================================
9273    #[cfg(feature = "v2_88")]
9274    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
9275    pub fn g_ecn_code_point_get_type() -> GType;
9276
9277    //=========================================================================
9278    // GEmblemOrigin
9279    //=========================================================================
9280    pub fn g_emblem_origin_get_type() -> GType;
9281
9282    //=========================================================================
9283    // GFileAttributeStatus
9284    //=========================================================================
9285    pub fn g_file_attribute_status_get_type() -> GType;
9286
9287    //=========================================================================
9288    // GFileAttributeType
9289    //=========================================================================
9290    pub fn g_file_attribute_type_get_type() -> GType;
9291
9292    //=========================================================================
9293    // GFileMonitorEvent
9294    //=========================================================================
9295    pub fn g_file_monitor_event_get_type() -> GType;
9296
9297    //=========================================================================
9298    // GFileType
9299    //=========================================================================
9300    pub fn g_file_type_get_type() -> GType;
9301
9302    //=========================================================================
9303    // GFilesystemPreviewType
9304    //=========================================================================
9305    pub fn g_filesystem_preview_type_get_type() -> GType;
9306
9307    //=========================================================================
9308    // GIOErrorEnum
9309    //=========================================================================
9310    pub fn g_io_error_enum_get_type() -> GType;
9311
9312    //=========================================================================
9313    // GMemoryMonitorWarningLevel
9314    //=========================================================================
9315    #[cfg(feature = "v2_64")]
9316    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
9317    pub fn g_memory_monitor_warning_level_get_type() -> GType;
9318
9319    //=========================================================================
9320    // GMountOperationResult
9321    //=========================================================================
9322    pub fn g_mount_operation_result_get_type() -> GType;
9323
9324    //=========================================================================
9325    // GNetworkConnectivity
9326    //=========================================================================
9327    pub fn g_network_connectivity_get_type() -> GType;
9328
9329    //=========================================================================
9330    // GNotificationPriority
9331    //=========================================================================
9332    pub fn g_notification_priority_get_type() -> GType;
9333
9334    //=========================================================================
9335    // GPasswordSave
9336    //=========================================================================
9337    pub fn g_password_save_get_type() -> GType;
9338
9339    //=========================================================================
9340    // GPollableReturn
9341    //=========================================================================
9342    #[cfg(feature = "v2_60")]
9343    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9344    pub fn g_pollable_return_get_type() -> GType;
9345
9346    //=========================================================================
9347    // GResolverError
9348    //=========================================================================
9349    pub fn g_resolver_error_get_type() -> GType;
9350    pub fn g_resolver_error_quark() -> glib::GQuark;
9351
9352    //=========================================================================
9353    // GResolverRecordType
9354    //=========================================================================
9355    pub fn g_resolver_record_type_get_type() -> GType;
9356
9357    //=========================================================================
9358    // GResourceError
9359    //=========================================================================
9360    pub fn g_resource_error_get_type() -> GType;
9361    pub fn g_resource_error_quark() -> glib::GQuark;
9362
9363    //=========================================================================
9364    // GSocketClientEvent
9365    //=========================================================================
9366    pub fn g_socket_client_event_get_type() -> GType;
9367
9368    //=========================================================================
9369    // GSocketFamily
9370    //=========================================================================
9371    pub fn g_socket_family_get_type() -> GType;
9372
9373    //=========================================================================
9374    // GSocketListenerEvent
9375    //=========================================================================
9376    pub fn g_socket_listener_event_get_type() -> GType;
9377
9378    //=========================================================================
9379    // GSocketProtocol
9380    //=========================================================================
9381    pub fn g_socket_protocol_get_type() -> GType;
9382
9383    //=========================================================================
9384    // GSocketType
9385    //=========================================================================
9386    pub fn g_socket_type_get_type() -> GType;
9387
9388    //=========================================================================
9389    // GTlsAuthenticationMode
9390    //=========================================================================
9391    pub fn g_tls_authentication_mode_get_type() -> GType;
9392
9393    //=========================================================================
9394    // GTlsChannelBindingError
9395    //=========================================================================
9396    #[cfg(feature = "v2_66")]
9397    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9398    pub fn g_tls_channel_binding_error_get_type() -> GType;
9399    #[cfg(feature = "v2_66")]
9400    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9401    pub fn g_tls_channel_binding_error_quark() -> glib::GQuark;
9402
9403    //=========================================================================
9404    // GTlsChannelBindingType
9405    //=========================================================================
9406    #[cfg(feature = "v2_66")]
9407    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9408    pub fn g_tls_channel_binding_type_get_type() -> GType;
9409
9410    //=========================================================================
9411    // GTlsError
9412    //=========================================================================
9413    pub fn g_tls_error_get_type() -> GType;
9414    pub fn g_tls_error_quark() -> glib::GQuark;
9415
9416    //=========================================================================
9417    // GTlsInteractionResult
9418    //=========================================================================
9419    pub fn g_tls_interaction_result_get_type() -> GType;
9420
9421    //=========================================================================
9422    // GTlsProtocolVersion
9423    //=========================================================================
9424    #[cfg(feature = "v2_70")]
9425    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
9426    pub fn g_tls_protocol_version_get_type() -> GType;
9427
9428    //=========================================================================
9429    // GTlsRehandshakeMode
9430    //=========================================================================
9431    pub fn g_tls_rehandshake_mode_get_type() -> GType;
9432
9433    //=========================================================================
9434    // GUnixSocketAddressType
9435    //=========================================================================
9436    pub fn g_unix_socket_address_type_get_type() -> GType;
9437
9438    //=========================================================================
9439    // GZlibCompressorFormat
9440    //=========================================================================
9441    pub fn g_zlib_compressor_format_get_type() -> GType;
9442
9443    //=========================================================================
9444    // GAppInfoCreateFlags
9445    //=========================================================================
9446    pub fn g_app_info_create_flags_get_type() -> GType;
9447
9448    //=========================================================================
9449    // GApplicationFlags
9450    //=========================================================================
9451    pub fn g_application_flags_get_type() -> GType;
9452
9453    //=========================================================================
9454    // GAskPasswordFlags
9455    //=========================================================================
9456    pub fn g_ask_password_flags_get_type() -> GType;
9457
9458    //=========================================================================
9459    // GBusNameOwnerFlags
9460    //=========================================================================
9461    pub fn g_bus_name_owner_flags_get_type() -> GType;
9462
9463    //=========================================================================
9464    // GBusNameWatcherFlags
9465    //=========================================================================
9466    pub fn g_bus_name_watcher_flags_get_type() -> GType;
9467
9468    //=========================================================================
9469    // GConverterFlags
9470    //=========================================================================
9471    pub fn g_converter_flags_get_type() -> GType;
9472
9473    //=========================================================================
9474    // GDBusCallFlags
9475    //=========================================================================
9476    pub fn g_dbus_call_flags_get_type() -> GType;
9477
9478    //=========================================================================
9479    // GDBusCapabilityFlags
9480    //=========================================================================
9481    pub fn g_dbus_capability_flags_get_type() -> GType;
9482
9483    //=========================================================================
9484    // GDBusConnectionFlags
9485    //=========================================================================
9486    pub fn g_dbus_connection_flags_get_type() -> GType;
9487
9488    //=========================================================================
9489    // GDBusInterfaceSkeletonFlags
9490    //=========================================================================
9491    pub fn g_dbus_interface_skeleton_flags_get_type() -> GType;
9492
9493    //=========================================================================
9494    // GDBusMessageFlags
9495    //=========================================================================
9496    pub fn g_dbus_message_flags_get_type() -> GType;
9497
9498    //=========================================================================
9499    // GDBusObjectManagerClientFlags
9500    //=========================================================================
9501    pub fn g_dbus_object_manager_client_flags_get_type() -> GType;
9502
9503    //=========================================================================
9504    // GDBusPropertyInfoFlags
9505    //=========================================================================
9506    pub fn g_dbus_property_info_flags_get_type() -> GType;
9507
9508    //=========================================================================
9509    // GDBusProxyFlags
9510    //=========================================================================
9511    pub fn g_dbus_proxy_flags_get_type() -> GType;
9512
9513    //=========================================================================
9514    // GDBusSendMessageFlags
9515    //=========================================================================
9516    pub fn g_dbus_send_message_flags_get_type() -> GType;
9517
9518    //=========================================================================
9519    // GDBusServerFlags
9520    //=========================================================================
9521    pub fn g_dbus_server_flags_get_type() -> GType;
9522
9523    //=========================================================================
9524    // GDBusSignalFlags
9525    //=========================================================================
9526    pub fn g_dbus_signal_flags_get_type() -> GType;
9527
9528    //=========================================================================
9529    // GDBusSubtreeFlags
9530    //=========================================================================
9531    pub fn g_dbus_subtree_flags_get_type() -> GType;
9532
9533    //=========================================================================
9534    // GDriveStartFlags
9535    //=========================================================================
9536    pub fn g_drive_start_flags_get_type() -> GType;
9537
9538    //=========================================================================
9539    // GFileAttributeInfoFlags
9540    //=========================================================================
9541    pub fn g_file_attribute_info_flags_get_type() -> GType;
9542
9543    //=========================================================================
9544    // GFileCopyFlags
9545    //=========================================================================
9546    pub fn g_file_copy_flags_get_type() -> GType;
9547
9548    //=========================================================================
9549    // GFileCreateFlags
9550    //=========================================================================
9551    pub fn g_file_create_flags_get_type() -> GType;
9552
9553    //=========================================================================
9554    // GFileMeasureFlags
9555    //=========================================================================
9556    pub fn g_file_measure_flags_get_type() -> GType;
9557
9558    //=========================================================================
9559    // GFileMonitorFlags
9560    //=========================================================================
9561    pub fn g_file_monitor_flags_get_type() -> GType;
9562
9563    //=========================================================================
9564    // GFileQueryInfoFlags
9565    //=========================================================================
9566    pub fn g_file_query_info_flags_get_type() -> GType;
9567
9568    //=========================================================================
9569    // GIOModuleScopeFlags
9570    //=========================================================================
9571    pub fn g_io_module_scope_flags_get_type() -> GType;
9572
9573    //=========================================================================
9574    // GIOStreamSpliceFlags
9575    //=========================================================================
9576    pub fn g_io_stream_splice_flags_get_type() -> GType;
9577
9578    //=========================================================================
9579    // GMountMountFlags
9580    //=========================================================================
9581    pub fn g_mount_mount_flags_get_type() -> GType;
9582
9583    //=========================================================================
9584    // GMountUnmountFlags
9585    //=========================================================================
9586    pub fn g_mount_unmount_flags_get_type() -> GType;
9587
9588    //=========================================================================
9589    // GOutputStreamSpliceFlags
9590    //=========================================================================
9591    pub fn g_output_stream_splice_flags_get_type() -> GType;
9592
9593    //=========================================================================
9594    // GResolverNameLookupFlags
9595    //=========================================================================
9596    #[cfg(feature = "v2_60")]
9597    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9598    pub fn g_resolver_name_lookup_flags_get_type() -> GType;
9599
9600    //=========================================================================
9601    // GResourceFlags
9602    //=========================================================================
9603    pub fn g_resource_flags_get_type() -> GType;
9604
9605    //=========================================================================
9606    // GResourceLookupFlags
9607    //=========================================================================
9608    pub fn g_resource_lookup_flags_get_type() -> GType;
9609
9610    //=========================================================================
9611    // GSettingsBindFlags
9612    //=========================================================================
9613    pub fn g_settings_bind_flags_get_type() -> GType;
9614
9615    //=========================================================================
9616    // GSocketMsgFlags
9617    //=========================================================================
9618    pub fn g_socket_msg_flags_get_type() -> GType;
9619
9620    //=========================================================================
9621    // GSubprocessFlags
9622    //=========================================================================
9623    pub fn g_subprocess_flags_get_type() -> GType;
9624
9625    //=========================================================================
9626    // GTestDBusFlags
9627    //=========================================================================
9628    pub fn g_test_dbus_flags_get_type() -> GType;
9629
9630    //=========================================================================
9631    // GTlsCertificateFlags
9632    //=========================================================================
9633    pub fn g_tls_certificate_flags_get_type() -> GType;
9634
9635    //=========================================================================
9636    // GTlsCertificateRequestFlags
9637    //=========================================================================
9638    pub fn g_tls_certificate_request_flags_get_type() -> GType;
9639
9640    //=========================================================================
9641    // GTlsDatabaseLookupFlags
9642    //=========================================================================
9643    pub fn g_tls_database_lookup_flags_get_type() -> GType;
9644
9645    //=========================================================================
9646    // GTlsDatabaseVerifyFlags
9647    //=========================================================================
9648    pub fn g_tls_database_verify_flags_get_type() -> GType;
9649
9650    //=========================================================================
9651    // GTlsPasswordFlags
9652    //=========================================================================
9653    pub fn g_tls_password_flags_get_type() -> GType;
9654
9655    //=========================================================================
9656    // GDBusAnnotationInfo
9657    //=========================================================================
9658    pub fn g_dbus_annotation_info_get_type() -> GType;
9659    pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo;
9660    pub fn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo);
9661    pub fn g_dbus_annotation_info_lookup(
9662        annotations: *mut *mut GDBusAnnotationInfo,
9663        name: *const c_char,
9664    ) -> *const c_char;
9665
9666    //=========================================================================
9667    // GDBusArgInfo
9668    //=========================================================================
9669    pub fn g_dbus_arg_info_get_type() -> GType;
9670    pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo;
9671    pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo);
9672
9673    //=========================================================================
9674    // GDBusInterfaceInfo
9675    //=========================================================================
9676    pub fn g_dbus_interface_info_get_type() -> GType;
9677    pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo);
9678    pub fn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo);
9679    pub fn g_dbus_interface_info_generate_xml(
9680        info: *mut GDBusInterfaceInfo,
9681        indent: c_uint,
9682        string_builder: *mut glib::GString,
9683    );
9684    pub fn g_dbus_interface_info_lookup_method(
9685        info: *mut GDBusInterfaceInfo,
9686        name: *const c_char,
9687    ) -> *mut GDBusMethodInfo;
9688    pub fn g_dbus_interface_info_lookup_property(
9689        info: *mut GDBusInterfaceInfo,
9690        name: *const c_char,
9691    ) -> *mut GDBusPropertyInfo;
9692    pub fn g_dbus_interface_info_lookup_signal(
9693        info: *mut GDBusInterfaceInfo,
9694        name: *const c_char,
9695    ) -> *mut GDBusSignalInfo;
9696    pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo;
9697    pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo);
9698
9699    //=========================================================================
9700    // GDBusMethodInfo
9701    //=========================================================================
9702    pub fn g_dbus_method_info_get_type() -> GType;
9703    pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo;
9704    pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo);
9705
9706    //=========================================================================
9707    // GDBusNodeInfo
9708    //=========================================================================
9709    pub fn g_dbus_node_info_get_type() -> GType;
9710    pub fn g_dbus_node_info_new_for_xml(
9711        xml_data: *const c_char,
9712        error: *mut *mut glib::GError,
9713    ) -> *mut GDBusNodeInfo;
9714    pub fn g_dbus_node_info_generate_xml(
9715        info: *mut GDBusNodeInfo,
9716        indent: c_uint,
9717        string_builder: *mut glib::GString,
9718    );
9719    pub fn g_dbus_node_info_lookup_interface(
9720        info: *mut GDBusNodeInfo,
9721        name: *const c_char,
9722    ) -> *mut GDBusInterfaceInfo;
9723    pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo;
9724    pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo);
9725
9726    //=========================================================================
9727    // GDBusPropertyInfo
9728    //=========================================================================
9729    pub fn g_dbus_property_info_get_type() -> GType;
9730    pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo;
9731    pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo);
9732
9733    //=========================================================================
9734    // GDBusSignalInfo
9735    //=========================================================================
9736    pub fn g_dbus_signal_info_get_type() -> GType;
9737    pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo;
9738    pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo);
9739
9740    //=========================================================================
9741    // GFileAttributeInfoList
9742    //=========================================================================
9743    pub fn g_file_attribute_info_list_get_type() -> GType;
9744    pub fn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList;
9745    pub fn g_file_attribute_info_list_add(
9746        list: *mut GFileAttributeInfoList,
9747        name: *const c_char,
9748        type_: GFileAttributeType,
9749        flags: GFileAttributeInfoFlags,
9750    );
9751    pub fn g_file_attribute_info_list_dup(
9752        list: *mut GFileAttributeInfoList,
9753    ) -> *mut GFileAttributeInfoList;
9754    pub fn g_file_attribute_info_list_lookup(
9755        list: *mut GFileAttributeInfoList,
9756        name: *const c_char,
9757    ) -> *const GFileAttributeInfo;
9758    pub fn g_file_attribute_info_list_ref(
9759        list: *mut GFileAttributeInfoList,
9760    ) -> *mut GFileAttributeInfoList;
9761    pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList);
9762
9763    //=========================================================================
9764    // GFileAttributeMatcher
9765    //=========================================================================
9766    pub fn g_file_attribute_matcher_get_type() -> GType;
9767    pub fn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher;
9768    pub fn g_file_attribute_matcher_enumerate_namespace(
9769        matcher: *mut GFileAttributeMatcher,
9770        ns: *const c_char,
9771    ) -> gboolean;
9772    pub fn g_file_attribute_matcher_enumerate_next(
9773        matcher: *mut GFileAttributeMatcher,
9774    ) -> *const c_char;
9775    pub fn g_file_attribute_matcher_matches(
9776        matcher: *mut GFileAttributeMatcher,
9777        attribute: *const c_char,
9778    ) -> gboolean;
9779    pub fn g_file_attribute_matcher_matches_only(
9780        matcher: *mut GFileAttributeMatcher,
9781        attribute: *const c_char,
9782    ) -> gboolean;
9783    pub fn g_file_attribute_matcher_ref(
9784        matcher: *mut GFileAttributeMatcher,
9785    ) -> *mut GFileAttributeMatcher;
9786    pub fn g_file_attribute_matcher_subtract(
9787        matcher: *mut GFileAttributeMatcher,
9788        subtract: *mut GFileAttributeMatcher,
9789    ) -> *mut GFileAttributeMatcher;
9790    pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char;
9791    pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher);
9792
9793    //=========================================================================
9794    // GIOExtension
9795    //=========================================================================
9796    pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char;
9797    pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int;
9798    pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType;
9799    pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass;
9800
9801    //=========================================================================
9802    // GIOExtensionPoint
9803    //=========================================================================
9804    pub fn g_io_extension_point_get_extension_by_name(
9805        extension_point: *mut GIOExtensionPoint,
9806        name: *const c_char,
9807    ) -> *mut GIOExtension;
9808    pub fn g_io_extension_point_get_extensions(
9809        extension_point: *mut GIOExtensionPoint,
9810    ) -> *mut glib::GList;
9811    pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint)
9812    -> GType;
9813    pub fn g_io_extension_point_set_required_type(
9814        extension_point: *mut GIOExtensionPoint,
9815        type_: GType,
9816    );
9817    pub fn g_io_extension_point_implement(
9818        extension_point_name: *const c_char,
9819        type_: GType,
9820        extension_name: *const c_char,
9821        priority: c_int,
9822    ) -> *mut GIOExtension;
9823    pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint;
9824    pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint;
9825
9826    //=========================================================================
9827    // GIOModuleScope
9828    //=========================================================================
9829    pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char);
9830    pub fn g_io_module_scope_free(scope: *mut GIOModuleScope);
9831    pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope;
9832
9833    //=========================================================================
9834    // GIOSchedulerJob
9835    //=========================================================================
9836    pub fn g_io_scheduler_job_send_to_mainloop(
9837        job: *mut GIOSchedulerJob,
9838        func: glib::GSourceFunc,
9839        user_data: gpointer,
9840        notify: glib::GDestroyNotify,
9841    ) -> gboolean;
9842    pub fn g_io_scheduler_job_send_to_mainloop_async(
9843        job: *mut GIOSchedulerJob,
9844        func: glib::GSourceFunc,
9845        user_data: gpointer,
9846        notify: glib::GDestroyNotify,
9847    );
9848
9849    //=========================================================================
9850    // GResource
9851    //=========================================================================
9852    pub fn g_resource_get_type() -> GType;
9853    pub fn g_resource_new_from_data(
9854        data: *mut glib::GBytes,
9855        error: *mut *mut glib::GError,
9856    ) -> *mut GResource;
9857    pub fn g_resource_enumerate_children(
9858        resource: *mut GResource,
9859        path: *const c_char,
9860        lookup_flags: GResourceLookupFlags,
9861        error: *mut *mut glib::GError,
9862    ) -> *mut *mut c_char;
9863    pub fn g_resource_get_info(
9864        resource: *mut GResource,
9865        path: *const c_char,
9866        lookup_flags: GResourceLookupFlags,
9867        size: *mut size_t,
9868        flags: *mut u32,
9869        error: *mut *mut glib::GError,
9870    ) -> gboolean;
9871    #[cfg(feature = "v2_84")]
9872    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
9873    pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean;
9874    pub fn g_resource_lookup_data(
9875        resource: *mut GResource,
9876        path: *const c_char,
9877        lookup_flags: GResourceLookupFlags,
9878        error: *mut *mut glib::GError,
9879    ) -> *mut glib::GBytes;
9880    pub fn g_resource_open_stream(
9881        resource: *mut GResource,
9882        path: *const c_char,
9883        lookup_flags: GResourceLookupFlags,
9884        error: *mut *mut glib::GError,
9885    ) -> *mut GInputStream;
9886    pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource;
9887    pub fn g_resource_unref(resource: *mut GResource);
9888    pub fn g_resource_load(
9889        filename: *const c_char,
9890        error: *mut *mut glib::GError,
9891    ) -> *mut GResource;
9892
9893    //=========================================================================
9894    // GSettingsSchema
9895    //=========================================================================
9896    pub fn g_settings_schema_get_type() -> GType;
9897    pub fn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char;
9898    pub fn g_settings_schema_get_key(
9899        schema: *mut GSettingsSchema,
9900        name: *const c_char,
9901    ) -> *mut GSettingsSchemaKey;
9902    pub fn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char;
9903    pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char)
9904    -> gboolean;
9905    pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9906    pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9907    pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema;
9908    pub fn g_settings_schema_unref(schema: *mut GSettingsSchema);
9909
9910    //=========================================================================
9911    // GSettingsSchemaKey
9912    //=========================================================================
9913    pub fn g_settings_schema_key_get_type() -> GType;
9914    pub fn g_settings_schema_key_get_default_value(
9915        key: *mut GSettingsSchemaKey,
9916    ) -> *mut glib::GVariant;
9917    pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char;
9918    pub fn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char;
9919    pub fn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant;
9920    pub fn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char;
9921    pub fn g_settings_schema_key_get_value_type(
9922        key: *mut GSettingsSchemaKey,
9923    ) -> *const glib::GVariantType;
9924    pub fn g_settings_schema_key_range_check(
9925        key: *mut GSettingsSchemaKey,
9926        value: *mut glib::GVariant,
9927    ) -> gboolean;
9928    pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey;
9929    pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey);
9930
9931    //=========================================================================
9932    // GSettingsSchemaSource
9933    //=========================================================================
9934    pub fn g_settings_schema_source_get_type() -> GType;
9935    pub fn g_settings_schema_source_new_from_directory(
9936        directory: *const c_char,
9937        parent: *mut GSettingsSchemaSource,
9938        trusted: gboolean,
9939        error: *mut *mut glib::GError,
9940    ) -> *mut GSettingsSchemaSource;
9941    pub fn g_settings_schema_source_list_schemas(
9942        source: *mut GSettingsSchemaSource,
9943        recursive: gboolean,
9944        non_relocatable: *mut *mut *mut c_char,
9945        relocatable: *mut *mut *mut c_char,
9946    );
9947    pub fn g_settings_schema_source_lookup(
9948        source: *mut GSettingsSchemaSource,
9949        schema_id: *const c_char,
9950        recursive: gboolean,
9951    ) -> *mut GSettingsSchema;
9952    pub fn g_settings_schema_source_ref(
9953        source: *mut GSettingsSchemaSource,
9954    ) -> *mut GSettingsSchemaSource;
9955    pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource);
9956    pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource;
9957
9958    //=========================================================================
9959    // GSrvTarget
9960    //=========================================================================
9961    pub fn g_srv_target_get_type() -> GType;
9962    pub fn g_srv_target_new(
9963        hostname: *const c_char,
9964        port: u16,
9965        priority: u16,
9966        weight: u16,
9967    ) -> *mut GSrvTarget;
9968    pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget;
9969    pub fn g_srv_target_free(target: *mut GSrvTarget);
9970    pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char;
9971    pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16;
9972    pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16;
9973    pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16;
9974    pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList;
9975
9976    //=========================================================================
9977    // GStaticResource
9978    //=========================================================================
9979    pub fn g_static_resource_fini(static_resource: *mut GStaticResource);
9980    pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource;
9981    pub fn g_static_resource_init(static_resource: *mut GStaticResource);
9982
9983    //=========================================================================
9984    // GAppInfoMonitor
9985    //=========================================================================
9986    pub fn g_app_info_monitor_get_type() -> GType;
9987    pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor;
9988
9989    //=========================================================================
9990    // GAppLaunchContext
9991    //=========================================================================
9992    pub fn g_app_launch_context_get_type() -> GType;
9993    pub fn g_app_launch_context_new() -> *mut GAppLaunchContext;
9994    pub fn g_app_launch_context_get_display(
9995        context: *mut GAppLaunchContext,
9996        info: *mut GAppInfo,
9997        files: *mut glib::GList,
9998    ) -> *mut c_char;
9999    pub fn g_app_launch_context_get_environment(
10000        context: *mut GAppLaunchContext,
10001    ) -> *mut *mut c_char;
10002    pub fn g_app_launch_context_get_startup_notify_id(
10003        context: *mut GAppLaunchContext,
10004        info: *mut GAppInfo,
10005        files: *mut glib::GList,
10006    ) -> *mut c_char;
10007    pub fn g_app_launch_context_launch_failed(
10008        context: *mut GAppLaunchContext,
10009        startup_notify_id: *const c_char,
10010    );
10011    pub fn g_app_launch_context_setenv(
10012        context: *mut GAppLaunchContext,
10013        variable: *const c_char,
10014        value: *const c_char,
10015    );
10016    pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char);
10017
10018    //=========================================================================
10019    // GApplication
10020    //=========================================================================
10021    pub fn g_application_get_type() -> GType;
10022    pub fn g_application_new(
10023        application_id: *const c_char,
10024        flags: GApplicationFlags,
10025    ) -> *mut GApplication;
10026    pub fn g_application_get_default() -> *mut GApplication;
10027    pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean;
10028    pub fn g_application_activate(application: *mut GApplication);
10029    pub fn g_application_add_main_option(
10030        application: *mut GApplication,
10031        long_name: *const c_char,
10032        short_name: c_char,
10033        flags: glib::GOptionFlags,
10034        arg: glib::GOptionArg,
10035        description: *const c_char,
10036        arg_description: *const c_char,
10037    );
10038    pub fn g_application_add_main_option_entries(
10039        application: *mut GApplication,
10040        entries: *const glib::GOptionEntry,
10041    );
10042    pub fn g_application_add_option_group(
10043        application: *mut GApplication,
10044        group: *mut glib::GOptionGroup,
10045    );
10046    pub fn g_application_bind_busy_property(
10047        application: *mut GApplication,
10048        object: *mut gobject::GObject,
10049        property: *const c_char,
10050    );
10051    pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char;
10052    pub fn g_application_get_dbus_connection(
10053        application: *mut GApplication,
10054    ) -> *mut GDBusConnection;
10055    pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char;
10056    pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags;
10057    pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint;
10058    pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean;
10059    pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean;
10060    pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean;
10061    pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char;
10062    #[cfg(feature = "v2_80")]
10063    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10064    pub fn g_application_get_version(application: *mut GApplication) -> *const c_char;
10065    pub fn g_application_hold(application: *mut GApplication);
10066    pub fn g_application_mark_busy(application: *mut GApplication);
10067    pub fn g_application_open(
10068        application: *mut GApplication,
10069        files: *mut *mut GFile,
10070        n_files: c_int,
10071        hint: *const c_char,
10072    );
10073    pub fn g_application_quit(application: *mut GApplication);
10074    pub fn g_application_register(
10075        application: *mut GApplication,
10076        cancellable: *mut GCancellable,
10077        error: *mut *mut glib::GError,
10078    ) -> gboolean;
10079    pub fn g_application_release(application: *mut GApplication);
10080    pub fn g_application_run(
10081        application: *mut GApplication,
10082        argc: c_int,
10083        argv: *mut *mut c_char,
10084    ) -> c_int;
10085    pub fn g_application_send_notification(
10086        application: *mut GApplication,
10087        id: *const c_char,
10088        notification: *mut GNotification,
10089    );
10090    pub fn g_application_set_action_group(
10091        application: *mut GApplication,
10092        action_group: *mut GActionGroup,
10093    );
10094    pub fn g_application_set_application_id(
10095        application: *mut GApplication,
10096        application_id: *const c_char,
10097    );
10098    pub fn g_application_set_default(application: *mut GApplication);
10099    pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags);
10100    pub fn g_application_set_inactivity_timeout(
10101        application: *mut GApplication,
10102        inactivity_timeout: c_uint,
10103    );
10104    pub fn g_application_set_option_context_description(
10105        application: *mut GApplication,
10106        description: *const c_char,
10107    );
10108    pub fn g_application_set_option_context_parameter_string(
10109        application: *mut GApplication,
10110        parameter_string: *const c_char,
10111    );
10112    pub fn g_application_set_option_context_summary(
10113        application: *mut GApplication,
10114        summary: *const c_char,
10115    );
10116    pub fn g_application_set_resource_base_path(
10117        application: *mut GApplication,
10118        resource_path: *const c_char,
10119    );
10120    #[cfg(feature = "v2_80")]
10121    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10122    pub fn g_application_set_version(application: *mut GApplication, version: *const c_char);
10123    pub fn g_application_unbind_busy_property(
10124        application: *mut GApplication,
10125        object: *mut gobject::GObject,
10126        property: *const c_char,
10127    );
10128    pub fn g_application_unmark_busy(application: *mut GApplication);
10129    pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char);
10130
10131    //=========================================================================
10132    // GApplicationCommandLine
10133    //=========================================================================
10134    pub fn g_application_command_line_get_type() -> GType;
10135    pub fn g_application_command_line_create_file_for_arg(
10136        cmdline: *mut GApplicationCommandLine,
10137        arg: *const c_char,
10138    ) -> *mut GFile;
10139    #[cfg(feature = "v2_80")]
10140    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10141    pub fn g_application_command_line_done(cmdline: *mut GApplicationCommandLine);
10142    pub fn g_application_command_line_get_arguments(
10143        cmdline: *mut GApplicationCommandLine,
10144        argc: *mut c_int,
10145    ) -> *mut *mut c_char;
10146    pub fn g_application_command_line_get_cwd(
10147        cmdline: *mut GApplicationCommandLine,
10148    ) -> *const c_char;
10149    pub fn g_application_command_line_get_environ(
10150        cmdline: *mut GApplicationCommandLine,
10151    ) -> *const *const c_char;
10152    pub fn g_application_command_line_get_exit_status(
10153        cmdline: *mut GApplicationCommandLine,
10154    ) -> c_int;
10155    pub fn g_application_command_line_get_is_remote(
10156        cmdline: *mut GApplicationCommandLine,
10157    ) -> gboolean;
10158    pub fn g_application_command_line_get_options_dict(
10159        cmdline: *mut GApplicationCommandLine,
10160    ) -> *mut glib::GVariantDict;
10161    pub fn g_application_command_line_get_platform_data(
10162        cmdline: *mut GApplicationCommandLine,
10163    ) -> *mut glib::GVariant;
10164    pub fn g_application_command_line_get_stdin(
10165        cmdline: *mut GApplicationCommandLine,
10166    ) -> *mut GInputStream;
10167    pub fn g_application_command_line_getenv(
10168        cmdline: *mut GApplicationCommandLine,
10169        name: *const c_char,
10170    ) -> *const c_char;
10171    pub fn g_application_command_line_print(
10172        cmdline: *mut GApplicationCommandLine,
10173        format: *const c_char,
10174        ...
10175    );
10176    #[cfg(feature = "v2_80")]
10177    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10178    pub fn g_application_command_line_print_literal(
10179        cmdline: *mut GApplicationCommandLine,
10180        message: *const c_char,
10181    );
10182    pub fn g_application_command_line_printerr(
10183        cmdline: *mut GApplicationCommandLine,
10184        format: *const c_char,
10185        ...
10186    );
10187    #[cfg(feature = "v2_80")]
10188    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10189    pub fn g_application_command_line_printerr_literal(
10190        cmdline: *mut GApplicationCommandLine,
10191        message: *const c_char,
10192    );
10193    pub fn g_application_command_line_set_exit_status(
10194        cmdline: *mut GApplicationCommandLine,
10195        exit_status: c_int,
10196    );
10197
10198    //=========================================================================
10199    // GBufferedInputStream
10200    //=========================================================================
10201    pub fn g_buffered_input_stream_get_type() -> GType;
10202    pub fn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream;
10203    pub fn g_buffered_input_stream_new_sized(
10204        base_stream: *mut GInputStream,
10205        size: size_t,
10206    ) -> *mut GInputStream;
10207    pub fn g_buffered_input_stream_fill(
10208        stream: *mut GBufferedInputStream,
10209        count: ssize_t,
10210        cancellable: *mut GCancellable,
10211        error: *mut *mut glib::GError,
10212    ) -> ssize_t;
10213    pub fn g_buffered_input_stream_fill_async(
10214        stream: *mut GBufferedInputStream,
10215        count: ssize_t,
10216        io_priority: c_int,
10217        cancellable: *mut GCancellable,
10218        callback: GAsyncReadyCallback,
10219        user_data: gpointer,
10220    );
10221    pub fn g_buffered_input_stream_fill_finish(
10222        stream: *mut GBufferedInputStream,
10223        result: *mut GAsyncResult,
10224        error: *mut *mut glib::GError,
10225    ) -> ssize_t;
10226    pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t;
10227    pub fn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t;
10228    pub fn g_buffered_input_stream_peek(
10229        stream: *mut GBufferedInputStream,
10230        buffer: *mut u8,
10231        offset: size_t,
10232        count: size_t,
10233    ) -> size_t;
10234    pub fn g_buffered_input_stream_peek_buffer(
10235        stream: *mut GBufferedInputStream,
10236        count: *mut size_t,
10237    ) -> *mut u8;
10238    pub fn g_buffered_input_stream_read_byte(
10239        stream: *mut GBufferedInputStream,
10240        cancellable: *mut GCancellable,
10241        error: *mut *mut glib::GError,
10242    ) -> c_int;
10243    pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t);
10244
10245    //=========================================================================
10246    // GBufferedOutputStream
10247    //=========================================================================
10248    pub fn g_buffered_output_stream_get_type() -> GType;
10249    pub fn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream;
10250    pub fn g_buffered_output_stream_new_sized(
10251        base_stream: *mut GOutputStream,
10252        size: size_t,
10253    ) -> *mut GOutputStream;
10254    pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean;
10255    pub fn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t;
10256    pub fn g_buffered_output_stream_set_auto_grow(
10257        stream: *mut GBufferedOutputStream,
10258        auto_grow: gboolean,
10259    );
10260    pub fn g_buffered_output_stream_set_buffer_size(
10261        stream: *mut GBufferedOutputStream,
10262        size: size_t,
10263    );
10264
10265    //=========================================================================
10266    // GBytesIcon
10267    //=========================================================================
10268    pub fn g_bytes_icon_get_type() -> GType;
10269    pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon;
10270    pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes;
10271
10272    //=========================================================================
10273    // GCancellable
10274    //=========================================================================
10275    pub fn g_cancellable_get_type() -> GType;
10276    pub fn g_cancellable_new() -> *mut GCancellable;
10277    pub fn g_cancellable_get_current() -> *mut GCancellable;
10278    pub fn g_cancellable_cancel(cancellable: *mut GCancellable);
10279    pub fn g_cancellable_connect(
10280        cancellable: *mut GCancellable,
10281        callback: gobject::GCallback,
10282        data: gpointer,
10283        data_destroy_func: glib::GDestroyNotify,
10284    ) -> c_ulong;
10285    pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong);
10286    pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int;
10287    pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean;
10288    pub fn g_cancellable_make_pollfd(
10289        cancellable: *mut GCancellable,
10290        pollfd: *mut glib::GPollFD,
10291    ) -> gboolean;
10292    pub fn g_cancellable_pop_current(cancellable: *mut GCancellable);
10293    pub fn g_cancellable_push_current(cancellable: *mut GCancellable);
10294    pub fn g_cancellable_release_fd(cancellable: *mut GCancellable);
10295    pub fn g_cancellable_reset(cancellable: *mut GCancellable);
10296    pub fn g_cancellable_set_error_if_cancelled(
10297        cancellable: *mut GCancellable,
10298        error: *mut *mut glib::GError,
10299    ) -> gboolean;
10300    pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource;
10301
10302    //=========================================================================
10303    // GCharsetConverter
10304    //=========================================================================
10305    pub fn g_charset_converter_get_type() -> GType;
10306    pub fn g_charset_converter_new(
10307        to_charset: *const c_char,
10308        from_charset: *const c_char,
10309        error: *mut *mut glib::GError,
10310    ) -> *mut GCharsetConverter;
10311    pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint;
10312    pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean;
10313    pub fn g_charset_converter_set_use_fallback(
10314        converter: *mut GCharsetConverter,
10315        use_fallback: gboolean,
10316    );
10317
10318    //=========================================================================
10319    // GConverterInputStream
10320    //=========================================================================
10321    pub fn g_converter_input_stream_get_type() -> GType;
10322    pub fn g_converter_input_stream_new(
10323        base_stream: *mut GInputStream,
10324        converter: *mut GConverter,
10325    ) -> *mut GInputStream;
10326    pub fn g_converter_input_stream_get_converter(
10327        converter_stream: *mut GConverterInputStream,
10328    ) -> *mut GConverter;
10329
10330    //=========================================================================
10331    // GConverterOutputStream
10332    //=========================================================================
10333    pub fn g_converter_output_stream_get_type() -> GType;
10334    pub fn g_converter_output_stream_new(
10335        base_stream: *mut GOutputStream,
10336        converter: *mut GConverter,
10337    ) -> *mut GOutputStream;
10338    pub fn g_converter_output_stream_get_converter(
10339        converter_stream: *mut GConverterOutputStream,
10340    ) -> *mut GConverter;
10341
10342    //=========================================================================
10343    // GCredentials
10344    //=========================================================================
10345    pub fn g_credentials_get_type() -> GType;
10346    pub fn g_credentials_new() -> *mut GCredentials;
10347    pub fn g_credentials_get_native(
10348        credentials: *mut GCredentials,
10349        native_type: GCredentialsType,
10350    ) -> gpointer;
10351    #[cfg(unix)]
10352    #[cfg_attr(docsrs, doc(cfg(unix)))]
10353    pub fn g_credentials_get_unix_pid(
10354        credentials: *mut GCredentials,
10355        error: *mut *mut glib::GError,
10356    ) -> pid_t;
10357    #[cfg(unix)]
10358    #[cfg_attr(docsrs, doc(cfg(unix)))]
10359    pub fn g_credentials_get_unix_user(
10360        credentials: *mut GCredentials,
10361        error: *mut *mut glib::GError,
10362    ) -> uid_t;
10363    pub fn g_credentials_is_same_user(
10364        credentials: *mut GCredentials,
10365        other_credentials: *mut GCredentials,
10366        error: *mut *mut glib::GError,
10367    ) -> gboolean;
10368    pub fn g_credentials_set_native(
10369        credentials: *mut GCredentials,
10370        native_type: GCredentialsType,
10371        native: gpointer,
10372    );
10373    #[cfg(unix)]
10374    #[cfg_attr(docsrs, doc(cfg(unix)))]
10375    pub fn g_credentials_set_unix_user(
10376        credentials: *mut GCredentials,
10377        uid: uid_t,
10378        error: *mut *mut glib::GError,
10379    ) -> gboolean;
10380    pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char;
10381
10382    //=========================================================================
10383    // GDBusActionGroup
10384    //=========================================================================
10385    pub fn g_dbus_action_group_get_type() -> GType;
10386    pub fn g_dbus_action_group_get(
10387        connection: *mut GDBusConnection,
10388        bus_name: *const c_char,
10389        object_path: *const c_char,
10390    ) -> *mut GDBusActionGroup;
10391
10392    //=========================================================================
10393    // GDBusAuthObserver
10394    //=========================================================================
10395    pub fn g_dbus_auth_observer_get_type() -> GType;
10396    pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver;
10397    pub fn g_dbus_auth_observer_allow_mechanism(
10398        observer: *mut GDBusAuthObserver,
10399        mechanism: *const c_char,
10400    ) -> gboolean;
10401    pub fn g_dbus_auth_observer_authorize_authenticated_peer(
10402        observer: *mut GDBusAuthObserver,
10403        stream: *mut GIOStream,
10404        credentials: *mut GCredentials,
10405    ) -> gboolean;
10406
10407    //=========================================================================
10408    // GDBusConnection
10409    //=========================================================================
10410    pub fn g_dbus_connection_get_type() -> GType;
10411    pub fn g_dbus_connection_new_finish(
10412        res: *mut GAsyncResult,
10413        error: *mut *mut glib::GError,
10414    ) -> *mut GDBusConnection;
10415    pub fn g_dbus_connection_new_for_address_finish(
10416        res: *mut GAsyncResult,
10417        error: *mut *mut glib::GError,
10418    ) -> *mut GDBusConnection;
10419    pub fn g_dbus_connection_new_for_address_sync(
10420        address: *const c_char,
10421        flags: GDBusConnectionFlags,
10422        observer: *mut GDBusAuthObserver,
10423        cancellable: *mut GCancellable,
10424        error: *mut *mut glib::GError,
10425    ) -> *mut GDBusConnection;
10426    pub fn g_dbus_connection_new_sync(
10427        stream: *mut GIOStream,
10428        guid: *const c_char,
10429        flags: GDBusConnectionFlags,
10430        observer: *mut GDBusAuthObserver,
10431        cancellable: *mut GCancellable,
10432        error: *mut *mut glib::GError,
10433    ) -> *mut GDBusConnection;
10434    pub fn g_dbus_connection_new(
10435        stream: *mut GIOStream,
10436        guid: *const c_char,
10437        flags: GDBusConnectionFlags,
10438        observer: *mut GDBusAuthObserver,
10439        cancellable: *mut GCancellable,
10440        callback: GAsyncReadyCallback,
10441        user_data: gpointer,
10442    );
10443    pub fn g_dbus_connection_new_for_address(
10444        address: *const c_char,
10445        flags: GDBusConnectionFlags,
10446        observer: *mut GDBusAuthObserver,
10447        cancellable: *mut GCancellable,
10448        callback: GAsyncReadyCallback,
10449        user_data: gpointer,
10450    );
10451    pub fn g_dbus_connection_add_filter(
10452        connection: *mut GDBusConnection,
10453        filter_function: GDBusMessageFilterFunction,
10454        user_data: gpointer,
10455        user_data_free_func: glib::GDestroyNotify,
10456    ) -> c_uint;
10457    pub fn g_dbus_connection_call(
10458        connection: *mut GDBusConnection,
10459        bus_name: *const c_char,
10460        object_path: *const c_char,
10461        interface_name: *const c_char,
10462        method_name: *const c_char,
10463        parameters: *mut glib::GVariant,
10464        reply_type: *const glib::GVariantType,
10465        flags: GDBusCallFlags,
10466        timeout_msec: c_int,
10467        cancellable: *mut GCancellable,
10468        callback: GAsyncReadyCallback,
10469        user_data: gpointer,
10470    );
10471    pub fn g_dbus_connection_call_finish(
10472        connection: *mut GDBusConnection,
10473        res: *mut GAsyncResult,
10474        error: *mut *mut glib::GError,
10475    ) -> *mut glib::GVariant;
10476    pub fn g_dbus_connection_call_sync(
10477        connection: *mut GDBusConnection,
10478        bus_name: *const c_char,
10479        object_path: *const c_char,
10480        interface_name: *const c_char,
10481        method_name: *const c_char,
10482        parameters: *mut glib::GVariant,
10483        reply_type: *const glib::GVariantType,
10484        flags: GDBusCallFlags,
10485        timeout_msec: c_int,
10486        cancellable: *mut GCancellable,
10487        error: *mut *mut glib::GError,
10488    ) -> *mut glib::GVariant;
10489    pub fn g_dbus_connection_call_with_unix_fd_list(
10490        connection: *mut GDBusConnection,
10491        bus_name: *const c_char,
10492        object_path: *const c_char,
10493        interface_name: *const c_char,
10494        method_name: *const c_char,
10495        parameters: *mut glib::GVariant,
10496        reply_type: *const glib::GVariantType,
10497        flags: GDBusCallFlags,
10498        timeout_msec: c_int,
10499        fd_list: *mut GUnixFDList,
10500        cancellable: *mut GCancellable,
10501        callback: GAsyncReadyCallback,
10502        user_data: gpointer,
10503    );
10504    pub fn g_dbus_connection_call_with_unix_fd_list_finish(
10505        connection: *mut GDBusConnection,
10506        out_fd_list: *mut *mut GUnixFDList,
10507        res: *mut GAsyncResult,
10508        error: *mut *mut glib::GError,
10509    ) -> *mut glib::GVariant;
10510    pub fn g_dbus_connection_call_with_unix_fd_list_sync(
10511        connection: *mut GDBusConnection,
10512        bus_name: *const c_char,
10513        object_path: *const c_char,
10514        interface_name: *const c_char,
10515        method_name: *const c_char,
10516        parameters: *mut glib::GVariant,
10517        reply_type: *const glib::GVariantType,
10518        flags: GDBusCallFlags,
10519        timeout_msec: c_int,
10520        fd_list: *mut GUnixFDList,
10521        out_fd_list: *mut *mut GUnixFDList,
10522        cancellable: *mut GCancellable,
10523        error: *mut *mut glib::GError,
10524    ) -> *mut glib::GVariant;
10525    pub fn g_dbus_connection_close(
10526        connection: *mut GDBusConnection,
10527        cancellable: *mut GCancellable,
10528        callback: GAsyncReadyCallback,
10529        user_data: gpointer,
10530    );
10531    pub fn g_dbus_connection_close_finish(
10532        connection: *mut GDBusConnection,
10533        res: *mut GAsyncResult,
10534        error: *mut *mut glib::GError,
10535    ) -> gboolean;
10536    pub fn g_dbus_connection_close_sync(
10537        connection: *mut GDBusConnection,
10538        cancellable: *mut GCancellable,
10539        error: *mut *mut glib::GError,
10540    ) -> gboolean;
10541    pub fn g_dbus_connection_emit_signal(
10542        connection: *mut GDBusConnection,
10543        destination_bus_name: *const c_char,
10544        object_path: *const c_char,
10545        interface_name: *const c_char,
10546        signal_name: *const c_char,
10547        parameters: *mut glib::GVariant,
10548        error: *mut *mut glib::GError,
10549    ) -> gboolean;
10550    pub fn g_dbus_connection_export_action_group(
10551        connection: *mut GDBusConnection,
10552        object_path: *const c_char,
10553        action_group: *mut GActionGroup,
10554        error: *mut *mut glib::GError,
10555    ) -> c_uint;
10556    pub fn g_dbus_connection_export_menu_model(
10557        connection: *mut GDBusConnection,
10558        object_path: *const c_char,
10559        menu: *mut GMenuModel,
10560        error: *mut *mut glib::GError,
10561    ) -> c_uint;
10562    pub fn g_dbus_connection_flush(
10563        connection: *mut GDBusConnection,
10564        cancellable: *mut GCancellable,
10565        callback: GAsyncReadyCallback,
10566        user_data: gpointer,
10567    );
10568    pub fn g_dbus_connection_flush_finish(
10569        connection: *mut GDBusConnection,
10570        res: *mut GAsyncResult,
10571        error: *mut *mut glib::GError,
10572    ) -> gboolean;
10573    pub fn g_dbus_connection_flush_sync(
10574        connection: *mut GDBusConnection,
10575        cancellable: *mut GCancellable,
10576        error: *mut *mut glib::GError,
10577    ) -> gboolean;
10578    pub fn g_dbus_connection_get_capabilities(
10579        connection: *mut GDBusConnection,
10580    ) -> GDBusCapabilityFlags;
10581    pub fn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean;
10582    #[cfg(feature = "v2_60")]
10583    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
10584    pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags;
10585    pub fn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char;
10586    pub fn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32;
10587    pub fn g_dbus_connection_get_peer_credentials(
10588        connection: *mut GDBusConnection,
10589    ) -> *mut GCredentials;
10590    pub fn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream;
10591    pub fn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char;
10592    pub fn g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean;
10593    pub fn g_dbus_connection_register_object(
10594        connection: *mut GDBusConnection,
10595        object_path: *const c_char,
10596        interface_info: *mut GDBusInterfaceInfo,
10597        vtable: *const GDBusInterfaceVTable,
10598        user_data: gpointer,
10599        user_data_free_func: glib::GDestroyNotify,
10600        error: *mut *mut glib::GError,
10601    ) -> c_uint;
10602    pub fn g_dbus_connection_register_object_with_closures(
10603        connection: *mut GDBusConnection,
10604        object_path: *const c_char,
10605        interface_info: *mut GDBusInterfaceInfo,
10606        method_call_closure: *mut gobject::GClosure,
10607        get_property_closure: *mut gobject::GClosure,
10608        set_property_closure: *mut gobject::GClosure,
10609        error: *mut *mut glib::GError,
10610    ) -> c_uint;
10611    #[cfg(feature = "v2_84")]
10612    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10613    pub fn g_dbus_connection_register_object_with_closures2(
10614        connection: *mut GDBusConnection,
10615        object_path: *const c_char,
10616        interface_info: *mut GDBusInterfaceInfo,
10617        method_call_closure: *mut gobject::GClosure,
10618        get_property_closure: *mut gobject::GClosure,
10619        set_property_closure: *mut gobject::GClosure,
10620        error: *mut *mut glib::GError,
10621    ) -> c_uint;
10622    pub fn g_dbus_connection_register_subtree(
10623        connection: *mut GDBusConnection,
10624        object_path: *const c_char,
10625        vtable: *const GDBusSubtreeVTable,
10626        flags: GDBusSubtreeFlags,
10627        user_data: gpointer,
10628        user_data_free_func: glib::GDestroyNotify,
10629        error: *mut *mut glib::GError,
10630    ) -> c_uint;
10631    pub fn g_dbus_connection_remove_filter(connection: *mut GDBusConnection, filter_id: c_uint);
10632    pub fn g_dbus_connection_send_message(
10633        connection: *mut GDBusConnection,
10634        message: *mut GDBusMessage,
10635        flags: GDBusSendMessageFlags,
10636        out_serial: *mut u32,
10637        error: *mut *mut glib::GError,
10638    ) -> gboolean;
10639    pub fn g_dbus_connection_send_message_with_reply(
10640        connection: *mut GDBusConnection,
10641        message: *mut GDBusMessage,
10642        flags: GDBusSendMessageFlags,
10643        timeout_msec: c_int,
10644        out_serial: *mut u32,
10645        cancellable: *mut GCancellable,
10646        callback: GAsyncReadyCallback,
10647        user_data: gpointer,
10648    );
10649    pub fn g_dbus_connection_send_message_with_reply_finish(
10650        connection: *mut GDBusConnection,
10651        res: *mut GAsyncResult,
10652        error: *mut *mut glib::GError,
10653    ) -> *mut GDBusMessage;
10654    pub fn g_dbus_connection_send_message_with_reply_sync(
10655        connection: *mut GDBusConnection,
10656        message: *mut GDBusMessage,
10657        flags: GDBusSendMessageFlags,
10658        timeout_msec: c_int,
10659        out_serial: *mut u32,
10660        cancellable: *mut GCancellable,
10661        error: *mut *mut glib::GError,
10662    ) -> *mut GDBusMessage;
10663    pub fn g_dbus_connection_set_exit_on_close(
10664        connection: *mut GDBusConnection,
10665        exit_on_close: gboolean,
10666    );
10667    pub fn g_dbus_connection_signal_subscribe(
10668        connection: *mut GDBusConnection,
10669        sender: *const c_char,
10670        interface_name: *const c_char,
10671        member: *const c_char,
10672        object_path: *const c_char,
10673        arg0: *const c_char,
10674        flags: GDBusSignalFlags,
10675        callback: GDBusSignalCallback,
10676        user_data: gpointer,
10677        user_data_free_func: glib::GDestroyNotify,
10678    ) -> c_uint;
10679    pub fn g_dbus_connection_signal_unsubscribe(
10680        connection: *mut GDBusConnection,
10681        subscription_id: c_uint,
10682    );
10683    pub fn g_dbus_connection_start_message_processing(connection: *mut GDBusConnection);
10684    pub fn g_dbus_connection_unexport_action_group(
10685        connection: *mut GDBusConnection,
10686        export_id: c_uint,
10687    );
10688    pub fn g_dbus_connection_unexport_menu_model(
10689        connection: *mut GDBusConnection,
10690        export_id: c_uint,
10691    );
10692    pub fn g_dbus_connection_unregister_object(
10693        connection: *mut GDBusConnection,
10694        registration_id: c_uint,
10695    ) -> gboolean;
10696    pub fn g_dbus_connection_unregister_subtree(
10697        connection: *mut GDBusConnection,
10698        registration_id: c_uint,
10699    ) -> gboolean;
10700
10701    //=========================================================================
10702    // GDBusInterfaceSkeleton
10703    //=========================================================================
10704    pub fn g_dbus_interface_skeleton_get_type() -> GType;
10705    pub fn g_dbus_interface_skeleton_export(
10706        interface_: *mut GDBusInterfaceSkeleton,
10707        connection: *mut GDBusConnection,
10708        object_path: *const c_char,
10709        error: *mut *mut glib::GError,
10710    ) -> gboolean;
10711    pub fn g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton);
10712    pub fn g_dbus_interface_skeleton_get_connection(
10713        interface_: *mut GDBusInterfaceSkeleton,
10714    ) -> *mut GDBusConnection;
10715    pub fn g_dbus_interface_skeleton_get_connections(
10716        interface_: *mut GDBusInterfaceSkeleton,
10717    ) -> *mut glib::GList;
10718    pub fn g_dbus_interface_skeleton_get_flags(
10719        interface_: *mut GDBusInterfaceSkeleton,
10720    ) -> GDBusInterfaceSkeletonFlags;
10721    pub fn g_dbus_interface_skeleton_get_info(
10722        interface_: *mut GDBusInterfaceSkeleton,
10723    ) -> *mut GDBusInterfaceInfo;
10724    pub fn g_dbus_interface_skeleton_get_object_path(
10725        interface_: *mut GDBusInterfaceSkeleton,
10726    ) -> *const c_char;
10727    pub fn g_dbus_interface_skeleton_get_properties(
10728        interface_: *mut GDBusInterfaceSkeleton,
10729    ) -> *mut glib::GVariant;
10730    pub fn g_dbus_interface_skeleton_get_vtable(
10731        interface_: *mut GDBusInterfaceSkeleton,
10732    ) -> *mut GDBusInterfaceVTable;
10733    pub fn g_dbus_interface_skeleton_has_connection(
10734        interface_: *mut GDBusInterfaceSkeleton,
10735        connection: *mut GDBusConnection,
10736    ) -> gboolean;
10737    pub fn g_dbus_interface_skeleton_set_flags(
10738        interface_: *mut GDBusInterfaceSkeleton,
10739        flags: GDBusInterfaceSkeletonFlags,
10740    );
10741    pub fn g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton);
10742    pub fn g_dbus_interface_skeleton_unexport_from_connection(
10743        interface_: *mut GDBusInterfaceSkeleton,
10744        connection: *mut GDBusConnection,
10745    );
10746
10747    //=========================================================================
10748    // GDBusMenuModel
10749    //=========================================================================
10750    pub fn g_dbus_menu_model_get_type() -> GType;
10751    pub fn g_dbus_menu_model_get(
10752        connection: *mut GDBusConnection,
10753        bus_name: *const c_char,
10754        object_path: *const c_char,
10755    ) -> *mut GDBusMenuModel;
10756
10757    //=========================================================================
10758    // GDBusMessage
10759    //=========================================================================
10760    pub fn g_dbus_message_get_type() -> GType;
10761    pub fn g_dbus_message_new() -> *mut GDBusMessage;
10762    pub fn g_dbus_message_new_from_blob(
10763        blob: *mut u8,
10764        blob_len: size_t,
10765        capabilities: GDBusCapabilityFlags,
10766        error: *mut *mut glib::GError,
10767    ) -> *mut GDBusMessage;
10768    pub fn g_dbus_message_new_method_call(
10769        name: *const c_char,
10770        path: *const c_char,
10771        interface_: *const c_char,
10772        method: *const c_char,
10773    ) -> *mut GDBusMessage;
10774    pub fn g_dbus_message_new_method_error(
10775        method_call_message: *mut GDBusMessage,
10776        error_name: *const c_char,
10777        error_message_format: *const c_char,
10778        ...
10779    ) -> *mut GDBusMessage;
10780    pub fn g_dbus_message_new_signal(
10781        path: *const c_char,
10782        interface_: *const c_char,
10783        signal: *const c_char,
10784    ) -> *mut GDBusMessage;
10785    pub fn g_dbus_message_bytes_needed(
10786        blob: *mut u8,
10787        blob_len: size_t,
10788        error: *mut *mut glib::GError,
10789    ) -> ssize_t;
10790    pub fn g_dbus_message_copy(
10791        message: *mut GDBusMessage,
10792        error: *mut *mut glib::GError,
10793    ) -> *mut GDBusMessage;
10794    pub fn g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const c_char;
10795    #[cfg(feature = "v2_80")]
10796    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10797    pub fn g_dbus_message_get_arg0_path(message: *mut GDBusMessage) -> *const c_char;
10798    pub fn g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut glib::GVariant;
10799    pub fn g_dbus_message_get_byte_order(message: *mut GDBusMessage) -> GDBusMessageByteOrder;
10800    pub fn g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const c_char;
10801    pub fn g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const c_char;
10802    pub fn g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags;
10803    pub fn g_dbus_message_get_header(
10804        message: *mut GDBusMessage,
10805        header_field: GDBusMessageHeaderField,
10806    ) -> *mut glib::GVariant;
10807    pub fn g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut u8;
10808    pub fn g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const c_char;
10809    pub fn g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean;
10810    pub fn g_dbus_message_get_member(message: *mut GDBusMessage) -> *const c_char;
10811    pub fn g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType;
10812    pub fn g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> u32;
10813    pub fn g_dbus_message_get_path(message: *mut GDBusMessage) -> *const c_char;
10814    pub fn g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> u32;
10815    pub fn g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const c_char;
10816    pub fn g_dbus_message_get_serial(message: *mut GDBusMessage) -> u32;
10817    pub fn g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const c_char;
10818    pub fn g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList;
10819    pub fn g_dbus_message_lock(message: *mut GDBusMessage);
10820    pub fn g_dbus_message_new_method_error_literal(
10821        method_call_message: *mut GDBusMessage,
10822        error_name: *const c_char,
10823        error_message: *const c_char,
10824    ) -> *mut GDBusMessage;
10825    //pub fn g_dbus_message_new_method_error_valist(method_call_message: *mut GDBusMessage, error_name: *const c_char, error_message_format: *const c_char, var_args: /*Unimplemented*/va_list) -> *mut GDBusMessage;
10826    pub fn g_dbus_message_new_method_reply(
10827        method_call_message: *mut GDBusMessage,
10828    ) -> *mut GDBusMessage;
10829    pub fn g_dbus_message_print(message: *mut GDBusMessage, indent: c_uint) -> *mut c_char;
10830    pub fn g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut glib::GVariant);
10831    pub fn g_dbus_message_set_byte_order(
10832        message: *mut GDBusMessage,
10833        byte_order: GDBusMessageByteOrder,
10834    );
10835    pub fn g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const c_char);
10836    pub fn g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const c_char);
10837    pub fn g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags);
10838    pub fn g_dbus_message_set_header(
10839        message: *mut GDBusMessage,
10840        header_field: GDBusMessageHeaderField,
10841        value: *mut glib::GVariant,
10842    );
10843    pub fn g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const c_char);
10844    pub fn g_dbus_message_set_member(message: *mut GDBusMessage, value: *const c_char);
10845    pub fn g_dbus_message_set_message_type(message: *mut GDBusMessage, type_: GDBusMessageType);
10846    pub fn g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: u32);
10847    pub fn g_dbus_message_set_path(message: *mut GDBusMessage, value: *const c_char);
10848    pub fn g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: u32);
10849    pub fn g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const c_char);
10850    pub fn g_dbus_message_set_serial(message: *mut GDBusMessage, serial: u32);
10851    pub fn g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const c_char);
10852    pub fn g_dbus_message_set_unix_fd_list(message: *mut GDBusMessage, fd_list: *mut GUnixFDList);
10853    pub fn g_dbus_message_to_blob(
10854        message: *mut GDBusMessage,
10855        out_size: *mut size_t,
10856        capabilities: GDBusCapabilityFlags,
10857        error: *mut *mut glib::GError,
10858    ) -> *mut u8;
10859    pub fn g_dbus_message_to_gerror(
10860        message: *mut GDBusMessage,
10861        error: *mut *mut glib::GError,
10862    ) -> gboolean;
10863
10864    //=========================================================================
10865    // GDBusMethodInvocation
10866    //=========================================================================
10867    pub fn g_dbus_method_invocation_get_type() -> GType;
10868    pub fn g_dbus_method_invocation_get_connection(
10869        invocation: *mut GDBusMethodInvocation,
10870    ) -> *mut GDBusConnection;
10871    pub fn g_dbus_method_invocation_get_interface_name(
10872        invocation: *mut GDBusMethodInvocation,
10873    ) -> *const c_char;
10874    pub fn g_dbus_method_invocation_get_message(
10875        invocation: *mut GDBusMethodInvocation,
10876    ) -> *mut GDBusMessage;
10877    pub fn g_dbus_method_invocation_get_method_info(
10878        invocation: *mut GDBusMethodInvocation,
10879    ) -> *const GDBusMethodInfo;
10880    pub fn g_dbus_method_invocation_get_method_name(
10881        invocation: *mut GDBusMethodInvocation,
10882    ) -> *const c_char;
10883    pub fn g_dbus_method_invocation_get_object_path(
10884        invocation: *mut GDBusMethodInvocation,
10885    ) -> *const c_char;
10886    pub fn g_dbus_method_invocation_get_parameters(
10887        invocation: *mut GDBusMethodInvocation,
10888    ) -> *mut glib::GVariant;
10889    pub fn g_dbus_method_invocation_get_property_info(
10890        invocation: *mut GDBusMethodInvocation,
10891    ) -> *const GDBusPropertyInfo;
10892    pub fn g_dbus_method_invocation_get_sender(
10893        invocation: *mut GDBusMethodInvocation,
10894    ) -> *const c_char;
10895    pub fn g_dbus_method_invocation_get_user_data(
10896        invocation: *mut GDBusMethodInvocation,
10897    ) -> gpointer;
10898    pub fn g_dbus_method_invocation_return_dbus_error(
10899        invocation: *mut GDBusMethodInvocation,
10900        error_name: *const c_char,
10901        error_message: *const c_char,
10902    );
10903    pub fn g_dbus_method_invocation_return_error(
10904        invocation: *mut GDBusMethodInvocation,
10905        domain: glib::GQuark,
10906        code: c_int,
10907        format: *const c_char,
10908        ...
10909    );
10910    pub fn g_dbus_method_invocation_return_error_literal(
10911        invocation: *mut GDBusMethodInvocation,
10912        domain: glib::GQuark,
10913        code: c_int,
10914        message: *const c_char,
10915    );
10916    //pub fn g_dbus_method_invocation_return_error_valist(invocation: *mut GDBusMethodInvocation, domain: glib::GQuark, code: c_int, format: *const c_char, var_args: /*Unimplemented*/va_list);
10917    pub fn g_dbus_method_invocation_return_gerror(
10918        invocation: *mut GDBusMethodInvocation,
10919        error: *const glib::GError,
10920    );
10921    pub fn g_dbus_method_invocation_return_value(
10922        invocation: *mut GDBusMethodInvocation,
10923        parameters: *mut glib::GVariant,
10924    );
10925    pub fn g_dbus_method_invocation_return_value_with_unix_fd_list(
10926        invocation: *mut GDBusMethodInvocation,
10927        parameters: *mut glib::GVariant,
10928        fd_list: *mut GUnixFDList,
10929    );
10930    pub fn g_dbus_method_invocation_take_error(
10931        invocation: *mut GDBusMethodInvocation,
10932        error: *mut glib::GError,
10933    );
10934
10935    //=========================================================================
10936    // GDBusObjectManagerClient
10937    //=========================================================================
10938    pub fn g_dbus_object_manager_client_get_type() -> GType;
10939    pub fn g_dbus_object_manager_client_new_finish(
10940        res: *mut GAsyncResult,
10941        error: *mut *mut glib::GError,
10942    ) -> *mut GDBusObjectManagerClient;
10943    pub fn g_dbus_object_manager_client_new_for_bus_finish(
10944        res: *mut GAsyncResult,
10945        error: *mut *mut glib::GError,
10946    ) -> *mut GDBusObjectManagerClient;
10947    pub fn g_dbus_object_manager_client_new_for_bus_sync(
10948        bus_type: GBusType,
10949        flags: GDBusObjectManagerClientFlags,
10950        name: *const c_char,
10951        object_path: *const c_char,
10952        get_proxy_type_func: GDBusProxyTypeFunc,
10953        get_proxy_type_user_data: gpointer,
10954        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10955        cancellable: *mut GCancellable,
10956        error: *mut *mut glib::GError,
10957    ) -> *mut GDBusObjectManagerClient;
10958    pub fn g_dbus_object_manager_client_new_sync(
10959        connection: *mut GDBusConnection,
10960        flags: GDBusObjectManagerClientFlags,
10961        name: *const c_char,
10962        object_path: *const c_char,
10963        get_proxy_type_func: GDBusProxyTypeFunc,
10964        get_proxy_type_user_data: gpointer,
10965        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10966        cancellable: *mut GCancellable,
10967        error: *mut *mut glib::GError,
10968    ) -> *mut GDBusObjectManagerClient;
10969    pub fn g_dbus_object_manager_client_new(
10970        connection: *mut GDBusConnection,
10971        flags: GDBusObjectManagerClientFlags,
10972        name: *const c_char,
10973        object_path: *const c_char,
10974        get_proxy_type_func: GDBusProxyTypeFunc,
10975        get_proxy_type_user_data: gpointer,
10976        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10977        cancellable: *mut GCancellable,
10978        callback: GAsyncReadyCallback,
10979        user_data: gpointer,
10980    );
10981    pub fn g_dbus_object_manager_client_new_for_bus(
10982        bus_type: GBusType,
10983        flags: GDBusObjectManagerClientFlags,
10984        name: *const c_char,
10985        object_path: *const c_char,
10986        get_proxy_type_func: GDBusProxyTypeFunc,
10987        get_proxy_type_user_data: gpointer,
10988        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10989        cancellable: *mut GCancellable,
10990        callback: GAsyncReadyCallback,
10991        user_data: gpointer,
10992    );
10993    pub fn g_dbus_object_manager_client_get_connection(
10994        manager: *mut GDBusObjectManagerClient,
10995    ) -> *mut GDBusConnection;
10996    pub fn g_dbus_object_manager_client_get_flags(
10997        manager: *mut GDBusObjectManagerClient,
10998    ) -> GDBusObjectManagerClientFlags;
10999    pub fn g_dbus_object_manager_client_get_name(
11000        manager: *mut GDBusObjectManagerClient,
11001    ) -> *const c_char;
11002    pub fn g_dbus_object_manager_client_get_name_owner(
11003        manager: *mut GDBusObjectManagerClient,
11004    ) -> *mut c_char;
11005
11006    //=========================================================================
11007    // GDBusObjectManagerServer
11008    //=========================================================================
11009    pub fn g_dbus_object_manager_server_get_type() -> GType;
11010    pub fn g_dbus_object_manager_server_new(
11011        object_path: *const c_char,
11012    ) -> *mut GDBusObjectManagerServer;
11013    pub fn g_dbus_object_manager_server_export(
11014        manager: *mut GDBusObjectManagerServer,
11015        object: *mut GDBusObjectSkeleton,
11016    );
11017    pub fn g_dbus_object_manager_server_export_uniquely(
11018        manager: *mut GDBusObjectManagerServer,
11019        object: *mut GDBusObjectSkeleton,
11020    );
11021    pub fn g_dbus_object_manager_server_get_connection(
11022        manager: *mut GDBusObjectManagerServer,
11023    ) -> *mut GDBusConnection;
11024    pub fn g_dbus_object_manager_server_is_exported(
11025        manager: *mut GDBusObjectManagerServer,
11026        object: *mut GDBusObjectSkeleton,
11027    ) -> gboolean;
11028    pub fn g_dbus_object_manager_server_set_connection(
11029        manager: *mut GDBusObjectManagerServer,
11030        connection: *mut GDBusConnection,
11031    );
11032    pub fn g_dbus_object_manager_server_unexport(
11033        manager: *mut GDBusObjectManagerServer,
11034        object_path: *const c_char,
11035    ) -> gboolean;
11036
11037    //=========================================================================
11038    // GDBusObjectProxy
11039    //=========================================================================
11040    pub fn g_dbus_object_proxy_get_type() -> GType;
11041    pub fn g_dbus_object_proxy_new(
11042        connection: *mut GDBusConnection,
11043        object_path: *const c_char,
11044    ) -> *mut GDBusObjectProxy;
11045    pub fn g_dbus_object_proxy_get_connection(proxy: *mut GDBusObjectProxy)
11046    -> *mut GDBusConnection;
11047
11048    //=========================================================================
11049    // GDBusObjectSkeleton
11050    //=========================================================================
11051    pub fn g_dbus_object_skeleton_get_type() -> GType;
11052    pub fn g_dbus_object_skeleton_new(object_path: *const c_char) -> *mut GDBusObjectSkeleton;
11053    pub fn g_dbus_object_skeleton_add_interface(
11054        object: *mut GDBusObjectSkeleton,
11055        interface_: *mut GDBusInterfaceSkeleton,
11056    );
11057    pub fn g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton);
11058    pub fn g_dbus_object_skeleton_remove_interface(
11059        object: *mut GDBusObjectSkeleton,
11060        interface_: *mut GDBusInterfaceSkeleton,
11061    );
11062    pub fn g_dbus_object_skeleton_remove_interface_by_name(
11063        object: *mut GDBusObjectSkeleton,
11064        interface_name: *const c_char,
11065    );
11066    pub fn g_dbus_object_skeleton_set_object_path(
11067        object: *mut GDBusObjectSkeleton,
11068        object_path: *const c_char,
11069    );
11070
11071    //=========================================================================
11072    // GDBusProxy
11073    //=========================================================================
11074    pub fn g_dbus_proxy_get_type() -> GType;
11075    pub fn g_dbus_proxy_new_finish(
11076        res: *mut GAsyncResult,
11077        error: *mut *mut glib::GError,
11078    ) -> *mut GDBusProxy;
11079    pub fn g_dbus_proxy_new_for_bus_finish(
11080        res: *mut GAsyncResult,
11081        error: *mut *mut glib::GError,
11082    ) -> *mut GDBusProxy;
11083    pub fn g_dbus_proxy_new_for_bus_sync(
11084        bus_type: GBusType,
11085        flags: GDBusProxyFlags,
11086        info: *mut GDBusInterfaceInfo,
11087        name: *const c_char,
11088        object_path: *const c_char,
11089        interface_name: *const c_char,
11090        cancellable: *mut GCancellable,
11091        error: *mut *mut glib::GError,
11092    ) -> *mut GDBusProxy;
11093    pub fn g_dbus_proxy_new_sync(
11094        connection: *mut GDBusConnection,
11095        flags: GDBusProxyFlags,
11096        info: *mut GDBusInterfaceInfo,
11097        name: *const c_char,
11098        object_path: *const c_char,
11099        interface_name: *const c_char,
11100        cancellable: *mut GCancellable,
11101        error: *mut *mut glib::GError,
11102    ) -> *mut GDBusProxy;
11103    pub fn g_dbus_proxy_new(
11104        connection: *mut GDBusConnection,
11105        flags: GDBusProxyFlags,
11106        info: *mut GDBusInterfaceInfo,
11107        name: *const c_char,
11108        object_path: *const c_char,
11109        interface_name: *const c_char,
11110        cancellable: *mut GCancellable,
11111        callback: GAsyncReadyCallback,
11112        user_data: gpointer,
11113    );
11114    pub fn g_dbus_proxy_new_for_bus(
11115        bus_type: GBusType,
11116        flags: GDBusProxyFlags,
11117        info: *mut GDBusInterfaceInfo,
11118        name: *const c_char,
11119        object_path: *const c_char,
11120        interface_name: *const c_char,
11121        cancellable: *mut GCancellable,
11122        callback: GAsyncReadyCallback,
11123        user_data: gpointer,
11124    );
11125    pub fn g_dbus_proxy_call(
11126        proxy: *mut GDBusProxy,
11127        method_name: *const c_char,
11128        parameters: *mut glib::GVariant,
11129        flags: GDBusCallFlags,
11130        timeout_msec: c_int,
11131        cancellable: *mut GCancellable,
11132        callback: GAsyncReadyCallback,
11133        user_data: gpointer,
11134    );
11135    pub fn g_dbus_proxy_call_finish(
11136        proxy: *mut GDBusProxy,
11137        res: *mut GAsyncResult,
11138        error: *mut *mut glib::GError,
11139    ) -> *mut glib::GVariant;
11140    pub fn g_dbus_proxy_call_sync(
11141        proxy: *mut GDBusProxy,
11142        method_name: *const c_char,
11143        parameters: *mut glib::GVariant,
11144        flags: GDBusCallFlags,
11145        timeout_msec: c_int,
11146        cancellable: *mut GCancellable,
11147        error: *mut *mut glib::GError,
11148    ) -> *mut glib::GVariant;
11149    pub fn g_dbus_proxy_call_with_unix_fd_list(
11150        proxy: *mut GDBusProxy,
11151        method_name: *const c_char,
11152        parameters: *mut glib::GVariant,
11153        flags: GDBusCallFlags,
11154        timeout_msec: c_int,
11155        fd_list: *mut GUnixFDList,
11156        cancellable: *mut GCancellable,
11157        callback: GAsyncReadyCallback,
11158        user_data: gpointer,
11159    );
11160    pub fn g_dbus_proxy_call_with_unix_fd_list_finish(
11161        proxy: *mut GDBusProxy,
11162        out_fd_list: *mut *mut GUnixFDList,
11163        res: *mut GAsyncResult,
11164        error: *mut *mut glib::GError,
11165    ) -> *mut glib::GVariant;
11166    pub fn g_dbus_proxy_call_with_unix_fd_list_sync(
11167        proxy: *mut GDBusProxy,
11168        method_name: *const c_char,
11169        parameters: *mut glib::GVariant,
11170        flags: GDBusCallFlags,
11171        timeout_msec: c_int,
11172        fd_list: *mut GUnixFDList,
11173        out_fd_list: *mut *mut GUnixFDList,
11174        cancellable: *mut GCancellable,
11175        error: *mut *mut glib::GError,
11176    ) -> *mut glib::GVariant;
11177    pub fn g_dbus_proxy_get_cached_property(
11178        proxy: *mut GDBusProxy,
11179        property_name: *const c_char,
11180    ) -> *mut glib::GVariant;
11181    pub fn g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy) -> *mut *mut c_char;
11182    pub fn g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection;
11183    pub fn g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> c_int;
11184    pub fn g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags;
11185    pub fn g_dbus_proxy_get_interface_info(proxy: *mut GDBusProxy) -> *mut GDBusInterfaceInfo;
11186    pub fn g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const c_char;
11187    pub fn g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const c_char;
11188    pub fn g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut c_char;
11189    pub fn g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const c_char;
11190    pub fn g_dbus_proxy_set_cached_property(
11191        proxy: *mut GDBusProxy,
11192        property_name: *const c_char,
11193        value: *mut glib::GVariant,
11194    );
11195    pub fn g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: c_int);
11196    pub fn g_dbus_proxy_set_interface_info(proxy: *mut GDBusProxy, info: *mut GDBusInterfaceInfo);
11197
11198    //=========================================================================
11199    // GDBusServer
11200    //=========================================================================
11201    pub fn g_dbus_server_get_type() -> GType;
11202    pub fn g_dbus_server_new_sync(
11203        address: *const c_char,
11204        flags: GDBusServerFlags,
11205        guid: *const c_char,
11206        observer: *mut GDBusAuthObserver,
11207        cancellable: *mut GCancellable,
11208        error: *mut *mut glib::GError,
11209    ) -> *mut GDBusServer;
11210    pub fn g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const c_char;
11211    pub fn g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags;
11212    pub fn g_dbus_server_get_guid(server: *mut GDBusServer) -> *const c_char;
11213    pub fn g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean;
11214    pub fn g_dbus_server_start(server: *mut GDBusServer);
11215    pub fn g_dbus_server_stop(server: *mut GDBusServer);
11216
11217    //=========================================================================
11218    // GDataInputStream
11219    //=========================================================================
11220    pub fn g_data_input_stream_get_type() -> GType;
11221    pub fn g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream;
11222    pub fn g_data_input_stream_get_byte_order(
11223        stream: *mut GDataInputStream,
11224    ) -> GDataStreamByteOrder;
11225    pub fn g_data_input_stream_get_newline_type(
11226        stream: *mut GDataInputStream,
11227    ) -> GDataStreamNewlineType;
11228    pub fn g_data_input_stream_read_byte(
11229        stream: *mut GDataInputStream,
11230        cancellable: *mut GCancellable,
11231        error: *mut *mut glib::GError,
11232    ) -> c_uchar;
11233    pub fn g_data_input_stream_read_int16(
11234        stream: *mut GDataInputStream,
11235        cancellable: *mut GCancellable,
11236        error: *mut *mut glib::GError,
11237    ) -> i16;
11238    pub fn g_data_input_stream_read_int32(
11239        stream: *mut GDataInputStream,
11240        cancellable: *mut GCancellable,
11241        error: *mut *mut glib::GError,
11242    ) -> i32;
11243    pub fn g_data_input_stream_read_int64(
11244        stream: *mut GDataInputStream,
11245        cancellable: *mut GCancellable,
11246        error: *mut *mut glib::GError,
11247    ) -> i64;
11248    pub fn g_data_input_stream_read_line(
11249        stream: *mut GDataInputStream,
11250        length: *mut size_t,
11251        cancellable: *mut GCancellable,
11252        error: *mut *mut glib::GError,
11253    ) -> *mut u8;
11254    pub fn g_data_input_stream_read_line_async(
11255        stream: *mut GDataInputStream,
11256        io_priority: c_int,
11257        cancellable: *mut GCancellable,
11258        callback: GAsyncReadyCallback,
11259        user_data: gpointer,
11260    );
11261    pub fn g_data_input_stream_read_line_finish(
11262        stream: *mut GDataInputStream,
11263        result: *mut GAsyncResult,
11264        length: *mut size_t,
11265        error: *mut *mut glib::GError,
11266    ) -> *mut u8;
11267    pub fn g_data_input_stream_read_line_finish_utf8(
11268        stream: *mut GDataInputStream,
11269        result: *mut GAsyncResult,
11270        length: *mut size_t,
11271        error: *mut *mut glib::GError,
11272    ) -> *mut c_char;
11273    pub fn g_data_input_stream_read_line_utf8(
11274        stream: *mut GDataInputStream,
11275        length: *mut size_t,
11276        cancellable: *mut GCancellable,
11277        error: *mut *mut glib::GError,
11278    ) -> *mut c_char;
11279    pub fn g_data_input_stream_read_uint16(
11280        stream: *mut GDataInputStream,
11281        cancellable: *mut GCancellable,
11282        error: *mut *mut glib::GError,
11283    ) -> u16;
11284    pub fn g_data_input_stream_read_uint32(
11285        stream: *mut GDataInputStream,
11286        cancellable: *mut GCancellable,
11287        error: *mut *mut glib::GError,
11288    ) -> u32;
11289    pub fn g_data_input_stream_read_uint64(
11290        stream: *mut GDataInputStream,
11291        cancellable: *mut GCancellable,
11292        error: *mut *mut glib::GError,
11293    ) -> u64;
11294    pub fn g_data_input_stream_read_until(
11295        stream: *mut GDataInputStream,
11296        stop_chars: *const c_char,
11297        length: *mut size_t,
11298        cancellable: *mut GCancellable,
11299        error: *mut *mut glib::GError,
11300    ) -> *mut c_char;
11301    pub fn g_data_input_stream_read_until_async(
11302        stream: *mut GDataInputStream,
11303        stop_chars: *const c_char,
11304        io_priority: c_int,
11305        cancellable: *mut GCancellable,
11306        callback: GAsyncReadyCallback,
11307        user_data: gpointer,
11308    );
11309    pub fn g_data_input_stream_read_until_finish(
11310        stream: *mut GDataInputStream,
11311        result: *mut GAsyncResult,
11312        length: *mut size_t,
11313        error: *mut *mut glib::GError,
11314    ) -> *mut c_char;
11315    pub fn g_data_input_stream_read_upto(
11316        stream: *mut GDataInputStream,
11317        stop_chars: *const c_char,
11318        stop_chars_len: ssize_t,
11319        length: *mut size_t,
11320        cancellable: *mut GCancellable,
11321        error: *mut *mut glib::GError,
11322    ) -> *mut c_char;
11323    pub fn g_data_input_stream_read_upto_async(
11324        stream: *mut GDataInputStream,
11325        stop_chars: *const c_char,
11326        stop_chars_len: ssize_t,
11327        io_priority: c_int,
11328        cancellable: *mut GCancellable,
11329        callback: GAsyncReadyCallback,
11330        user_data: gpointer,
11331    );
11332    pub fn g_data_input_stream_read_upto_finish(
11333        stream: *mut GDataInputStream,
11334        result: *mut GAsyncResult,
11335        length: *mut size_t,
11336        error: *mut *mut glib::GError,
11337    ) -> *mut c_char;
11338    pub fn g_data_input_stream_set_byte_order(
11339        stream: *mut GDataInputStream,
11340        order: GDataStreamByteOrder,
11341    );
11342    pub fn g_data_input_stream_set_newline_type(
11343        stream: *mut GDataInputStream,
11344        type_: GDataStreamNewlineType,
11345    );
11346
11347    //=========================================================================
11348    // GDataOutputStream
11349    //=========================================================================
11350    pub fn g_data_output_stream_get_type() -> GType;
11351    pub fn g_data_output_stream_new(base_stream: *mut GOutputStream) -> *mut GDataOutputStream;
11352    pub fn g_data_output_stream_get_byte_order(
11353        stream: *mut GDataOutputStream,
11354    ) -> GDataStreamByteOrder;
11355    pub fn g_data_output_stream_put_byte(
11356        stream: *mut GDataOutputStream,
11357        data: c_uchar,
11358        cancellable: *mut GCancellable,
11359        error: *mut *mut glib::GError,
11360    ) -> gboolean;
11361    pub fn g_data_output_stream_put_int16(
11362        stream: *mut GDataOutputStream,
11363        data: i16,
11364        cancellable: *mut GCancellable,
11365        error: *mut *mut glib::GError,
11366    ) -> gboolean;
11367    pub fn g_data_output_stream_put_int32(
11368        stream: *mut GDataOutputStream,
11369        data: i32,
11370        cancellable: *mut GCancellable,
11371        error: *mut *mut glib::GError,
11372    ) -> gboolean;
11373    pub fn g_data_output_stream_put_int64(
11374        stream: *mut GDataOutputStream,
11375        data: i64,
11376        cancellable: *mut GCancellable,
11377        error: *mut *mut glib::GError,
11378    ) -> gboolean;
11379    pub fn g_data_output_stream_put_string(
11380        stream: *mut GDataOutputStream,
11381        str: *const c_char,
11382        cancellable: *mut GCancellable,
11383        error: *mut *mut glib::GError,
11384    ) -> gboolean;
11385    pub fn g_data_output_stream_put_uint16(
11386        stream: *mut GDataOutputStream,
11387        data: u16,
11388        cancellable: *mut GCancellable,
11389        error: *mut *mut glib::GError,
11390    ) -> gboolean;
11391    pub fn g_data_output_stream_put_uint32(
11392        stream: *mut GDataOutputStream,
11393        data: u32,
11394        cancellable: *mut GCancellable,
11395        error: *mut *mut glib::GError,
11396    ) -> gboolean;
11397    pub fn g_data_output_stream_put_uint64(
11398        stream: *mut GDataOutputStream,
11399        data: u64,
11400        cancellable: *mut GCancellable,
11401        error: *mut *mut glib::GError,
11402    ) -> gboolean;
11403    pub fn g_data_output_stream_set_byte_order(
11404        stream: *mut GDataOutputStream,
11405        order: GDataStreamByteOrder,
11406    );
11407
11408    //=========================================================================
11409    // GDebugControllerDBus
11410    //=========================================================================
11411    #[cfg(feature = "v2_72")]
11412    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11413    pub fn g_debug_controller_dbus_get_type() -> GType;
11414    #[cfg(feature = "v2_72")]
11415    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11416    pub fn g_debug_controller_dbus_new(
11417        connection: *mut GDBusConnection,
11418        cancellable: *mut GCancellable,
11419        error: *mut *mut glib::GError,
11420    ) -> *mut GDebugControllerDBus;
11421    #[cfg(feature = "v2_72")]
11422    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11423    pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus);
11424
11425    //=========================================================================
11426    // GEmblem
11427    //=========================================================================
11428    pub fn g_emblem_get_type() -> GType;
11429    pub fn g_emblem_new(icon: *mut GIcon) -> *mut GEmblem;
11430    pub fn g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin) -> *mut GEmblem;
11431    pub fn g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon;
11432    pub fn g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin;
11433
11434    //=========================================================================
11435    // GEmblemedIcon
11436    //=========================================================================
11437    pub fn g_emblemed_icon_get_type() -> GType;
11438    pub fn g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GEmblemedIcon;
11439    pub fn g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem);
11440    pub fn g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon);
11441    pub fn g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut glib::GList;
11442    pub fn g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon;
11443
11444    //=========================================================================
11445    // GFileEnumerator
11446    //=========================================================================
11447    pub fn g_file_enumerator_get_type() -> GType;
11448    pub fn g_file_enumerator_close(
11449        enumerator: *mut GFileEnumerator,
11450        cancellable: *mut GCancellable,
11451        error: *mut *mut glib::GError,
11452    ) -> gboolean;
11453    pub fn g_file_enumerator_close_async(
11454        enumerator: *mut GFileEnumerator,
11455        io_priority: c_int,
11456        cancellable: *mut GCancellable,
11457        callback: GAsyncReadyCallback,
11458        user_data: gpointer,
11459    );
11460    pub fn g_file_enumerator_close_finish(
11461        enumerator: *mut GFileEnumerator,
11462        result: *mut GAsyncResult,
11463        error: *mut *mut glib::GError,
11464    ) -> gboolean;
11465    pub fn g_file_enumerator_get_child(
11466        enumerator: *mut GFileEnumerator,
11467        info: *mut GFileInfo,
11468    ) -> *mut GFile;
11469    pub fn g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile;
11470    pub fn g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean;
11471    pub fn g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean;
11472    pub fn g_file_enumerator_iterate(
11473        direnum: *mut GFileEnumerator,
11474        out_info: *mut *mut GFileInfo,
11475        out_child: *mut *mut GFile,
11476        cancellable: *mut GCancellable,
11477        error: *mut *mut glib::GError,
11478    ) -> gboolean;
11479    pub fn g_file_enumerator_next_file(
11480        enumerator: *mut GFileEnumerator,
11481        cancellable: *mut GCancellable,
11482        error: *mut *mut glib::GError,
11483    ) -> *mut GFileInfo;
11484    pub fn g_file_enumerator_next_files_async(
11485        enumerator: *mut GFileEnumerator,
11486        num_files: c_int,
11487        io_priority: c_int,
11488        cancellable: *mut GCancellable,
11489        callback: GAsyncReadyCallback,
11490        user_data: gpointer,
11491    );
11492    pub fn g_file_enumerator_next_files_finish(
11493        enumerator: *mut GFileEnumerator,
11494        result: *mut GAsyncResult,
11495        error: *mut *mut glib::GError,
11496    ) -> *mut glib::GList;
11497    pub fn g_file_enumerator_set_pending(enumerator: *mut GFileEnumerator, pending: gboolean);
11498
11499    //=========================================================================
11500    // GFileIOStream
11501    //=========================================================================
11502    pub fn g_file_io_stream_get_type() -> GType;
11503    pub fn g_file_io_stream_get_etag(stream: *mut GFileIOStream) -> *mut c_char;
11504    pub fn g_file_io_stream_query_info(
11505        stream: *mut GFileIOStream,
11506        attributes: *const c_char,
11507        cancellable: *mut GCancellable,
11508        error: *mut *mut glib::GError,
11509    ) -> *mut GFileInfo;
11510    pub fn g_file_io_stream_query_info_async(
11511        stream: *mut GFileIOStream,
11512        attributes: *const c_char,
11513        io_priority: c_int,
11514        cancellable: *mut GCancellable,
11515        callback: GAsyncReadyCallback,
11516        user_data: gpointer,
11517    );
11518    pub fn g_file_io_stream_query_info_finish(
11519        stream: *mut GFileIOStream,
11520        result: *mut GAsyncResult,
11521        error: *mut *mut glib::GError,
11522    ) -> *mut GFileInfo;
11523
11524    //=========================================================================
11525    // GFileIcon
11526    //=========================================================================
11527    pub fn g_file_icon_get_type() -> GType;
11528    pub fn g_file_icon_new(file: *mut GFile) -> *mut GFileIcon;
11529    pub fn g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile;
11530
11531    //=========================================================================
11532    // GFileInfo
11533    //=========================================================================
11534    pub fn g_file_info_get_type() -> GType;
11535    pub fn g_file_info_new() -> *mut GFileInfo;
11536    pub fn g_file_info_clear_status(info: *mut GFileInfo);
11537    pub fn g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo);
11538    pub fn g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo;
11539    #[cfg(feature = "v2_70")]
11540    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11541    pub fn g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11542    pub fn g_file_info_get_attribute_as_string(
11543        info: *mut GFileInfo,
11544        attribute: *const c_char,
11545    ) -> *mut c_char;
11546    pub fn g_file_info_get_attribute_boolean(
11547        info: *mut GFileInfo,
11548        attribute: *const c_char,
11549    ) -> gboolean;
11550    pub fn g_file_info_get_attribute_byte_string(
11551        info: *mut GFileInfo,
11552        attribute: *const c_char,
11553    ) -> *const c_char;
11554    pub fn g_file_info_get_attribute_data(
11555        info: *mut GFileInfo,
11556        attribute: *const c_char,
11557        type_: *mut GFileAttributeType,
11558        value_pp: *mut gpointer,
11559        status: *mut GFileAttributeStatus,
11560    ) -> gboolean;
11561    #[cfg(feature = "v2_78")]
11562    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11563    pub fn g_file_info_get_attribute_file_path(
11564        info: *mut GFileInfo,
11565        attribute: *const c_char,
11566    ) -> *const c_char;
11567    pub fn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32;
11568    pub fn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64;
11569    pub fn g_file_info_get_attribute_object(
11570        info: *mut GFileInfo,
11571        attribute: *const c_char,
11572    ) -> *mut gobject::GObject;
11573    pub fn g_file_info_get_attribute_status(
11574        info: *mut GFileInfo,
11575        attribute: *const c_char,
11576    ) -> GFileAttributeStatus;
11577    pub fn g_file_info_get_attribute_string(
11578        info: *mut GFileInfo,
11579        attribute: *const c_char,
11580    ) -> *const c_char;
11581    pub fn g_file_info_get_attribute_stringv(
11582        info: *mut GFileInfo,
11583        attribute: *const c_char,
11584    ) -> *mut *mut c_char;
11585    pub fn g_file_info_get_attribute_type(
11586        info: *mut GFileInfo,
11587        attribute: *const c_char,
11588    ) -> GFileAttributeType;
11589    pub fn g_file_info_get_attribute_uint32(info: *mut GFileInfo, attribute: *const c_char) -> u32;
11590    pub fn g_file_info_get_attribute_uint64(info: *mut GFileInfo, attribute: *const c_char) -> u64;
11591    pub fn g_file_info_get_content_type(info: *mut GFileInfo) -> *const c_char;
11592    #[cfg(feature = "v2_70")]
11593    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11594    pub fn g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11595    pub fn g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut glib::GDateTime;
11596    pub fn g_file_info_get_display_name(info: *mut GFileInfo) -> *const c_char;
11597    pub fn g_file_info_get_edit_name(info: *mut GFileInfo) -> *const c_char;
11598    pub fn g_file_info_get_etag(info: *mut GFileInfo) -> *const c_char;
11599    pub fn g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType;
11600    pub fn g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon;
11601    pub fn g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean;
11602    pub fn g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean;
11603    pub fn g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean;
11604    #[cfg(feature = "v2_62")]
11605    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11606    pub fn g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11607    pub fn g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut glib::GTimeVal);
11608    pub fn g_file_info_get_name(info: *mut GFileInfo) -> *const c_char;
11609    pub fn g_file_info_get_size(info: *mut GFileInfo) -> i64;
11610    pub fn g_file_info_get_sort_order(info: *mut GFileInfo) -> i32;
11611    pub fn g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon;
11612    pub fn g_file_info_get_symlink_target(info: *mut GFileInfo) -> *const c_char;
11613    pub fn g_file_info_has_attribute(info: *mut GFileInfo, attribute: *const c_char) -> gboolean;
11614    pub fn g_file_info_has_namespace(info: *mut GFileInfo, name_space: *const c_char) -> gboolean;
11615    pub fn g_file_info_list_attributes(
11616        info: *mut GFileInfo,
11617        name_space: *const c_char,
11618    ) -> *mut *mut c_char;
11619    pub fn g_file_info_remove_attribute(info: *mut GFileInfo, attribute: *const c_char);
11620    #[cfg(feature = "v2_70")]
11621    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11622    pub fn g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut glib::GDateTime);
11623    pub fn g_file_info_set_attribute(
11624        info: *mut GFileInfo,
11625        attribute: *const c_char,
11626        type_: GFileAttributeType,
11627        value_p: gpointer,
11628    );
11629    pub fn g_file_info_set_attribute_boolean(
11630        info: *mut GFileInfo,
11631        attribute: *const c_char,
11632        attr_value: gboolean,
11633    );
11634    pub fn g_file_info_set_attribute_byte_string(
11635        info: *mut GFileInfo,
11636        attribute: *const c_char,
11637        attr_value: *const c_char,
11638    );
11639    #[cfg(feature = "v2_78")]
11640    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11641    pub fn g_file_info_set_attribute_file_path(
11642        info: *mut GFileInfo,
11643        attribute: *const c_char,
11644        attr_value: *const c_char,
11645    );
11646    pub fn g_file_info_set_attribute_int32(
11647        info: *mut GFileInfo,
11648        attribute: *const c_char,
11649        attr_value: i32,
11650    );
11651    pub fn g_file_info_set_attribute_int64(
11652        info: *mut GFileInfo,
11653        attribute: *const c_char,
11654        attr_value: i64,
11655    );
11656    pub fn g_file_info_set_attribute_mask(info: *mut GFileInfo, mask: *mut GFileAttributeMatcher);
11657    pub fn g_file_info_set_attribute_object(
11658        info: *mut GFileInfo,
11659        attribute: *const c_char,
11660        attr_value: *mut gobject::GObject,
11661    );
11662    pub fn g_file_info_set_attribute_status(
11663        info: *mut GFileInfo,
11664        attribute: *const c_char,
11665        status: GFileAttributeStatus,
11666    ) -> gboolean;
11667    pub fn g_file_info_set_attribute_string(
11668        info: *mut GFileInfo,
11669        attribute: *const c_char,
11670        attr_value: *const c_char,
11671    );
11672    pub fn g_file_info_set_attribute_stringv(
11673        info: *mut GFileInfo,
11674        attribute: *const c_char,
11675        attr_value: *mut *mut c_char,
11676    );
11677    pub fn g_file_info_set_attribute_uint32(
11678        info: *mut GFileInfo,
11679        attribute: *const c_char,
11680        attr_value: u32,
11681    );
11682    pub fn g_file_info_set_attribute_uint64(
11683        info: *mut GFileInfo,
11684        attribute: *const c_char,
11685        attr_value: u64,
11686    );
11687    pub fn g_file_info_set_content_type(info: *mut GFileInfo, content_type: *const c_char);
11688    #[cfg(feature = "v2_70")]
11689    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11690    pub fn g_file_info_set_creation_date_time(
11691        info: *mut GFileInfo,
11692        creation_time: *mut glib::GDateTime,
11693    );
11694    pub fn g_file_info_set_display_name(info: *mut GFileInfo, display_name: *const c_char);
11695    pub fn g_file_info_set_edit_name(info: *mut GFileInfo, edit_name: *const c_char);
11696    pub fn g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType);
11697    pub fn g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon);
11698    pub fn g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean);
11699    pub fn g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean);
11700    #[cfg(feature = "v2_62")]
11701    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11702    pub fn g_file_info_set_modification_date_time(
11703        info: *mut GFileInfo,
11704        mtime: *mut glib::GDateTime,
11705    );
11706    pub fn g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut glib::GTimeVal);
11707    pub fn g_file_info_set_name(info: *mut GFileInfo, name: *const c_char);
11708    pub fn g_file_info_set_size(info: *mut GFileInfo, size: i64);
11709    pub fn g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: i32);
11710    pub fn g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon);
11711    pub fn g_file_info_set_symlink_target(info: *mut GFileInfo, symlink_target: *const c_char);
11712    pub fn g_file_info_unset_attribute_mask(info: *mut GFileInfo);
11713
11714    //=========================================================================
11715    // GFileInputStream
11716    //=========================================================================
11717    pub fn g_file_input_stream_get_type() -> GType;
11718    pub fn g_file_input_stream_query_info(
11719        stream: *mut GFileInputStream,
11720        attributes: *const c_char,
11721        cancellable: *mut GCancellable,
11722        error: *mut *mut glib::GError,
11723    ) -> *mut GFileInfo;
11724    pub fn g_file_input_stream_query_info_async(
11725        stream: *mut GFileInputStream,
11726        attributes: *const c_char,
11727        io_priority: c_int,
11728        cancellable: *mut GCancellable,
11729        callback: GAsyncReadyCallback,
11730        user_data: gpointer,
11731    );
11732    pub fn g_file_input_stream_query_info_finish(
11733        stream: *mut GFileInputStream,
11734        result: *mut GAsyncResult,
11735        error: *mut *mut glib::GError,
11736    ) -> *mut GFileInfo;
11737
11738    //=========================================================================
11739    // GFileMonitor
11740    //=========================================================================
11741    pub fn g_file_monitor_get_type() -> GType;
11742    pub fn g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean;
11743    pub fn g_file_monitor_emit_event(
11744        monitor: *mut GFileMonitor,
11745        child: *mut GFile,
11746        other_file: *mut GFile,
11747        event_type: GFileMonitorEvent,
11748    );
11749    pub fn g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean;
11750    pub fn g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: c_int);
11751
11752    //=========================================================================
11753    // GFileOutputStream
11754    //=========================================================================
11755    pub fn g_file_output_stream_get_type() -> GType;
11756    pub fn g_file_output_stream_get_etag(stream: *mut GFileOutputStream) -> *mut c_char;
11757    pub fn g_file_output_stream_query_info(
11758        stream: *mut GFileOutputStream,
11759        attributes: *const c_char,
11760        cancellable: *mut GCancellable,
11761        error: *mut *mut glib::GError,
11762    ) -> *mut GFileInfo;
11763    pub fn g_file_output_stream_query_info_async(
11764        stream: *mut GFileOutputStream,
11765        attributes: *const c_char,
11766        io_priority: c_int,
11767        cancellable: *mut GCancellable,
11768        callback: GAsyncReadyCallback,
11769        user_data: gpointer,
11770    );
11771    pub fn g_file_output_stream_query_info_finish(
11772        stream: *mut GFileOutputStream,
11773        result: *mut GAsyncResult,
11774        error: *mut *mut glib::GError,
11775    ) -> *mut GFileInfo;
11776
11777    //=========================================================================
11778    // GFilenameCompleter
11779    //=========================================================================
11780    pub fn g_filename_completer_get_type() -> GType;
11781    pub fn g_filename_completer_new() -> *mut GFilenameCompleter;
11782    pub fn g_filename_completer_get_completion_suffix(
11783        completer: *mut GFilenameCompleter,
11784        initial_text: *const c_char,
11785    ) -> *mut c_char;
11786    pub fn g_filename_completer_get_completions(
11787        completer: *mut GFilenameCompleter,
11788        initial_text: *const c_char,
11789    ) -> *mut *mut c_char;
11790    pub fn g_filename_completer_set_dirs_only(
11791        completer: *mut GFilenameCompleter,
11792        dirs_only: gboolean,
11793    );
11794
11795    //=========================================================================
11796    // GFilterInputStream
11797    //=========================================================================
11798    pub fn g_filter_input_stream_get_type() -> GType;
11799    pub fn g_filter_input_stream_get_base_stream(
11800        stream: *mut GFilterInputStream,
11801    ) -> *mut GInputStream;
11802    pub fn g_filter_input_stream_get_close_base_stream(stream: *mut GFilterInputStream)
11803    -> gboolean;
11804    pub fn g_filter_input_stream_set_close_base_stream(
11805        stream: *mut GFilterInputStream,
11806        close_base: gboolean,
11807    );
11808
11809    //=========================================================================
11810    // GFilterOutputStream
11811    //=========================================================================
11812    pub fn g_filter_output_stream_get_type() -> GType;
11813    pub fn g_filter_output_stream_get_base_stream(
11814        stream: *mut GFilterOutputStream,
11815    ) -> *mut GOutputStream;
11816    pub fn g_filter_output_stream_get_close_base_stream(
11817        stream: *mut GFilterOutputStream,
11818    ) -> gboolean;
11819    pub fn g_filter_output_stream_set_close_base_stream(
11820        stream: *mut GFilterOutputStream,
11821        close_base: gboolean,
11822    );
11823
11824    //=========================================================================
11825    // GIOModule
11826    //=========================================================================
11827    pub fn g_io_module_get_type() -> GType;
11828    pub fn g_io_module_new(filename: *const c_char) -> *mut GIOModule;
11829    pub fn g_io_module_query() -> *mut *mut c_char;
11830    pub fn g_io_module_load(module: *mut GIOModule);
11831    pub fn g_io_module_unload(module: *mut GIOModule);
11832
11833    //=========================================================================
11834    // GIOStream
11835    //=========================================================================
11836    pub fn g_io_stream_get_type() -> GType;
11837    pub fn g_io_stream_splice_finish(
11838        result: *mut GAsyncResult,
11839        error: *mut *mut glib::GError,
11840    ) -> gboolean;
11841    pub fn g_io_stream_clear_pending(stream: *mut GIOStream);
11842    pub fn g_io_stream_close(
11843        stream: *mut GIOStream,
11844        cancellable: *mut GCancellable,
11845        error: *mut *mut glib::GError,
11846    ) -> gboolean;
11847    pub fn g_io_stream_close_async(
11848        stream: *mut GIOStream,
11849        io_priority: c_int,
11850        cancellable: *mut GCancellable,
11851        callback: GAsyncReadyCallback,
11852        user_data: gpointer,
11853    );
11854    pub fn g_io_stream_close_finish(
11855        stream: *mut GIOStream,
11856        result: *mut GAsyncResult,
11857        error: *mut *mut glib::GError,
11858    ) -> gboolean;
11859    pub fn g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream;
11860    pub fn g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream;
11861    pub fn g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean;
11862    pub fn g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean;
11863    pub fn g_io_stream_set_pending(
11864        stream: *mut GIOStream,
11865        error: *mut *mut glib::GError,
11866    ) -> gboolean;
11867    pub fn g_io_stream_splice_async(
11868        stream1: *mut GIOStream,
11869        stream2: *mut GIOStream,
11870        flags: GIOStreamSpliceFlags,
11871        io_priority: c_int,
11872        cancellable: *mut GCancellable,
11873        callback: GAsyncReadyCallback,
11874        user_data: gpointer,
11875    );
11876
11877    //=========================================================================
11878    // GIPTosMessage
11879    //=========================================================================
11880    #[cfg(feature = "v2_88")]
11881    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11882    pub fn g_ip_tos_message_get_type() -> GType;
11883    #[cfg(feature = "v2_88")]
11884    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11885    pub fn g_ip_tos_message_new(dscp: u8, ecn: GEcnCodePoint) -> *mut GSocketControlMessage;
11886    #[cfg(feature = "v2_88")]
11887    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11888    pub fn g_ip_tos_message_get_dscp(message: *mut GIPTosMessage) -> u8;
11889    #[cfg(feature = "v2_88")]
11890    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11891    pub fn g_ip_tos_message_get_ecn(message: *mut GIPTosMessage) -> GEcnCodePoint;
11892
11893    //=========================================================================
11894    // GIPv6TclassMessage
11895    //=========================================================================
11896    #[cfg(feature = "v2_88")]
11897    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11898    pub fn g_ipv6_tclass_message_get_type() -> GType;
11899    #[cfg(feature = "v2_88")]
11900    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11901    pub fn g_ipv6_tclass_message_new(dscp: u8, ecn: GEcnCodePoint) -> *mut GSocketControlMessage;
11902    #[cfg(feature = "v2_88")]
11903    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11904    pub fn g_ipv6_tclass_message_get_dscp(message: *mut GIPv6TclassMessage) -> u8;
11905    #[cfg(feature = "v2_88")]
11906    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11907    pub fn g_ipv6_tclass_message_get_ecn(message: *mut GIPv6TclassMessage) -> GEcnCodePoint;
11908
11909    //=========================================================================
11910    // GInetAddress
11911    //=========================================================================
11912    pub fn g_inet_address_get_type() -> GType;
11913    pub fn g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress;
11914    pub fn g_inet_address_new_from_bytes(
11915        bytes: *const u8,
11916        family: GSocketFamily,
11917    ) -> *mut GInetAddress;
11918    #[cfg(feature = "v2_86")]
11919    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11920    pub fn g_inet_address_new_from_bytes_with_ipv6_info(
11921        bytes: *const u8,
11922        family: GSocketFamily,
11923        flowinfo: u32,
11924        scope_id: u32,
11925    ) -> *mut GInetAddress;
11926    pub fn g_inet_address_new_from_string(string: *const c_char) -> *mut GInetAddress;
11927    pub fn g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress;
11928    pub fn g_inet_address_equal(
11929        address: *mut GInetAddress,
11930        other_address: *mut GInetAddress,
11931    ) -> gboolean;
11932    pub fn g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily;
11933    #[cfg(feature = "v2_86")]
11934    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11935    pub fn g_inet_address_get_flowinfo(address: *mut GInetAddress) -> u32;
11936    pub fn g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean;
11937    pub fn g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean;
11938    pub fn g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean;
11939    pub fn g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean;
11940    pub fn g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean;
11941    pub fn g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean;
11942    pub fn g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean;
11943    pub fn g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean;
11944    pub fn g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean;
11945    pub fn g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean;
11946    pub fn g_inet_address_get_native_size(address: *mut GInetAddress) -> size_t;
11947    #[cfg(feature = "v2_86")]
11948    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11949    pub fn g_inet_address_get_scope_id(address: *mut GInetAddress) -> u32;
11950    pub fn g_inet_address_to_bytes(address: *mut GInetAddress) -> *const u8;
11951    pub fn g_inet_address_to_string(address: *mut GInetAddress) -> *mut c_char;
11952
11953    //=========================================================================
11954    // GInetAddressMask
11955    //=========================================================================
11956    pub fn g_inet_address_mask_get_type() -> GType;
11957    pub fn g_inet_address_mask_new(
11958        addr: *mut GInetAddress,
11959        length: c_uint,
11960        error: *mut *mut glib::GError,
11961    ) -> *mut GInetAddressMask;
11962    pub fn g_inet_address_mask_new_from_string(
11963        mask_string: *const c_char,
11964        error: *mut *mut glib::GError,
11965    ) -> *mut GInetAddressMask;
11966    pub fn g_inet_address_mask_equal(
11967        mask: *mut GInetAddressMask,
11968        mask2: *mut GInetAddressMask,
11969    ) -> gboolean;
11970    pub fn g_inet_address_mask_get_address(mask: *mut GInetAddressMask) -> *mut GInetAddress;
11971    pub fn g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily;
11972    pub fn g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> c_uint;
11973    pub fn g_inet_address_mask_matches(
11974        mask: *mut GInetAddressMask,
11975        address: *mut GInetAddress,
11976    ) -> gboolean;
11977    pub fn g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut c_char;
11978
11979    //=========================================================================
11980    // GInetSocketAddress
11981    //=========================================================================
11982    pub fn g_inet_socket_address_get_type() -> GType;
11983    pub fn g_inet_socket_address_new(address: *mut GInetAddress, port: u16) -> *mut GSocketAddress;
11984    pub fn g_inet_socket_address_new_from_string(
11985        address: *const c_char,
11986        port: c_uint,
11987    ) -> *mut GSocketAddress;
11988    pub fn g_inet_socket_address_get_address(address: *mut GInetSocketAddress)
11989    -> *mut GInetAddress;
11990    pub fn g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> u32;
11991    pub fn g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> u16;
11992    pub fn g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> u32;
11993
11994    //=========================================================================
11995    // GInputStream
11996    //=========================================================================
11997    pub fn g_input_stream_get_type() -> GType;
11998    pub fn g_input_stream_clear_pending(stream: *mut GInputStream);
11999    pub fn g_input_stream_close(
12000        stream: *mut GInputStream,
12001        cancellable: *mut GCancellable,
12002        error: *mut *mut glib::GError,
12003    ) -> gboolean;
12004    pub fn g_input_stream_close_async(
12005        stream: *mut GInputStream,
12006        io_priority: c_int,
12007        cancellable: *mut GCancellable,
12008        callback: GAsyncReadyCallback,
12009        user_data: gpointer,
12010    );
12011    pub fn g_input_stream_close_finish(
12012        stream: *mut GInputStream,
12013        result: *mut GAsyncResult,
12014        error: *mut *mut glib::GError,
12015    ) -> gboolean;
12016    pub fn g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean;
12017    pub fn g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean;
12018    pub fn g_input_stream_read(
12019        stream: *mut GInputStream,
12020        buffer: *mut u8,
12021        count: size_t,
12022        cancellable: *mut GCancellable,
12023        error: *mut *mut glib::GError,
12024    ) -> ssize_t;
12025    pub fn g_input_stream_read_all(
12026        stream: *mut GInputStream,
12027        buffer: *mut u8,
12028        count: size_t,
12029        bytes_read: *mut size_t,
12030        cancellable: *mut GCancellable,
12031        error: *mut *mut glib::GError,
12032    ) -> gboolean;
12033    pub fn g_input_stream_read_all_async(
12034        stream: *mut GInputStream,
12035        buffer: *mut u8,
12036        count: size_t,
12037        io_priority: c_int,
12038        cancellable: *mut GCancellable,
12039        callback: GAsyncReadyCallback,
12040        user_data: gpointer,
12041    );
12042    pub fn g_input_stream_read_all_finish(
12043        stream: *mut GInputStream,
12044        result: *mut GAsyncResult,
12045        bytes_read: *mut size_t,
12046        error: *mut *mut glib::GError,
12047    ) -> gboolean;
12048    pub fn g_input_stream_read_async(
12049        stream: *mut GInputStream,
12050        buffer: *mut u8,
12051        count: size_t,
12052        io_priority: c_int,
12053        cancellable: *mut GCancellable,
12054        callback: GAsyncReadyCallback,
12055        user_data: gpointer,
12056    );
12057    pub fn g_input_stream_read_bytes(
12058        stream: *mut GInputStream,
12059        count: size_t,
12060        cancellable: *mut GCancellable,
12061        error: *mut *mut glib::GError,
12062    ) -> *mut glib::GBytes;
12063    pub fn g_input_stream_read_bytes_async(
12064        stream: *mut GInputStream,
12065        count: size_t,
12066        io_priority: c_int,
12067        cancellable: *mut GCancellable,
12068        callback: GAsyncReadyCallback,
12069        user_data: gpointer,
12070    );
12071    pub fn g_input_stream_read_bytes_finish(
12072        stream: *mut GInputStream,
12073        result: *mut GAsyncResult,
12074        error: *mut *mut glib::GError,
12075    ) -> *mut glib::GBytes;
12076    pub fn g_input_stream_read_finish(
12077        stream: *mut GInputStream,
12078        result: *mut GAsyncResult,
12079        error: *mut *mut glib::GError,
12080    ) -> ssize_t;
12081    pub fn g_input_stream_set_pending(
12082        stream: *mut GInputStream,
12083        error: *mut *mut glib::GError,
12084    ) -> gboolean;
12085    pub fn g_input_stream_skip(
12086        stream: *mut GInputStream,
12087        count: size_t,
12088        cancellable: *mut GCancellable,
12089        error: *mut *mut glib::GError,
12090    ) -> ssize_t;
12091    pub fn g_input_stream_skip_async(
12092        stream: *mut GInputStream,
12093        count: size_t,
12094        io_priority: c_int,
12095        cancellable: *mut GCancellable,
12096        callback: GAsyncReadyCallback,
12097        user_data: gpointer,
12098    );
12099    pub fn g_input_stream_skip_finish(
12100        stream: *mut GInputStream,
12101        result: *mut GAsyncResult,
12102        error: *mut *mut glib::GError,
12103    ) -> ssize_t;
12104
12105    //=========================================================================
12106    // GListStore
12107    //=========================================================================
12108    pub fn g_list_store_get_type() -> GType;
12109    pub fn g_list_store_new(item_type: GType) -> *mut GListStore;
12110    pub fn g_list_store_append(store: *mut GListStore, item: *mut gobject::GObject);
12111    #[cfg(feature = "v2_64")]
12112    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12113    pub fn g_list_store_find(
12114        store: *mut GListStore,
12115        item: *mut gobject::GObject,
12116        position: *mut c_uint,
12117    ) -> gboolean;
12118    #[cfg(feature = "v2_64")]
12119    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12120    pub fn g_list_store_find_with_equal_func(
12121        store: *mut GListStore,
12122        item: *mut gobject::GObject,
12123        equal_func: glib::GEqualFunc,
12124        position: *mut c_uint,
12125    ) -> gboolean;
12126    #[cfg(feature = "v2_74")]
12127    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
12128    pub fn g_list_store_find_with_equal_func_full(
12129        store: *mut GListStore,
12130        item: *mut gobject::GObject,
12131        equal_func: glib::GEqualFuncFull,
12132        user_data: gpointer,
12133        position: *mut c_uint,
12134    ) -> gboolean;
12135    pub fn g_list_store_insert(
12136        store: *mut GListStore,
12137        position: c_uint,
12138        item: *mut gobject::GObject,
12139    );
12140    pub fn g_list_store_insert_sorted(
12141        store: *mut GListStore,
12142        item: *mut gobject::GObject,
12143        compare_func: glib::GCompareDataFunc,
12144        user_data: gpointer,
12145    ) -> c_uint;
12146    pub fn g_list_store_remove(store: *mut GListStore, position: c_uint);
12147    pub fn g_list_store_remove_all(store: *mut GListStore);
12148    pub fn g_list_store_sort(
12149        store: *mut GListStore,
12150        compare_func: glib::GCompareDataFunc,
12151        user_data: gpointer,
12152    );
12153    pub fn g_list_store_splice(
12154        store: *mut GListStore,
12155        position: c_uint,
12156        n_removals: c_uint,
12157        additions: *mut *mut gobject::GObject,
12158        n_additions: c_uint,
12159    );
12160
12161    //=========================================================================
12162    // GMemoryInputStream
12163    //=========================================================================
12164    pub fn g_memory_input_stream_get_type() -> GType;
12165    pub fn g_memory_input_stream_new() -> *mut GInputStream;
12166    pub fn g_memory_input_stream_new_from_bytes(bytes: *mut glib::GBytes) -> *mut GInputStream;
12167    pub fn g_memory_input_stream_new_from_data(
12168        data: *mut u8,
12169        len: ssize_t,
12170        destroy: glib::GDestroyNotify,
12171    ) -> *mut GInputStream;
12172    pub fn g_memory_input_stream_add_bytes(
12173        stream: *mut GMemoryInputStream,
12174        bytes: *mut glib::GBytes,
12175    );
12176    pub fn g_memory_input_stream_add_data(
12177        stream: *mut GMemoryInputStream,
12178        data: *mut u8,
12179        len: ssize_t,
12180        destroy: glib::GDestroyNotify,
12181    );
12182
12183    //=========================================================================
12184    // GMemoryOutputStream
12185    //=========================================================================
12186    pub fn g_memory_output_stream_get_type() -> GType;
12187    pub fn g_memory_output_stream_new(
12188        data: gpointer,
12189        size: size_t,
12190        realloc_function: GReallocFunc,
12191        destroy_function: glib::GDestroyNotify,
12192    ) -> *mut GOutputStream;
12193    pub fn g_memory_output_stream_new_resizable() -> *mut GOutputStream;
12194    pub fn g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12195    pub fn g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> size_t;
12196    pub fn g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> size_t;
12197    pub fn g_memory_output_stream_steal_as_bytes(
12198        ostream: *mut GMemoryOutputStream,
12199    ) -> *mut glib::GBytes;
12200    pub fn g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12201
12202    //=========================================================================
12203    // GMenu
12204    //=========================================================================
12205    pub fn g_menu_get_type() -> GType;
12206    pub fn g_menu_new() -> *mut GMenu;
12207    pub fn g_menu_append(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12208    pub fn g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem);
12209    pub fn g_menu_append_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12210    pub fn g_menu_append_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12211    pub fn g_menu_freeze(menu: *mut GMenu);
12212    pub fn g_menu_insert(
12213        menu: *mut GMenu,
12214        position: c_int,
12215        label: *const c_char,
12216        detailed_action: *const c_char,
12217    );
12218    pub fn g_menu_insert_item(menu: *mut GMenu, position: c_int, item: *mut GMenuItem);
12219    pub fn g_menu_insert_section(
12220        menu: *mut GMenu,
12221        position: c_int,
12222        label: *const c_char,
12223        section: *mut GMenuModel,
12224    );
12225    pub fn g_menu_insert_submenu(
12226        menu: *mut GMenu,
12227        position: c_int,
12228        label: *const c_char,
12229        submenu: *mut GMenuModel,
12230    );
12231    pub fn g_menu_prepend(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12232    pub fn g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem);
12233    pub fn g_menu_prepend_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12234    pub fn g_menu_prepend_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12235    pub fn g_menu_remove(menu: *mut GMenu, position: c_int);
12236    pub fn g_menu_remove_all(menu: *mut GMenu);
12237
12238    //=========================================================================
12239    // GMenuAttributeIter
12240    //=========================================================================
12241    pub fn g_menu_attribute_iter_get_type() -> GType;
12242    pub fn g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const c_char;
12243    pub fn g_menu_attribute_iter_get_next(
12244        iter: *mut GMenuAttributeIter,
12245        out_name: *mut *const c_char,
12246        value: *mut *mut glib::GVariant,
12247    ) -> gboolean;
12248    pub fn g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut glib::GVariant;
12249    pub fn g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean;
12250
12251    //=========================================================================
12252    // GMenuItem
12253    //=========================================================================
12254    pub fn g_menu_item_get_type() -> GType;
12255    pub fn g_menu_item_new(label: *const c_char, detailed_action: *const c_char) -> *mut GMenuItem;
12256    pub fn g_menu_item_new_from_model(model: *mut GMenuModel, item_index: c_int) -> *mut GMenuItem;
12257    pub fn g_menu_item_new_section(
12258        label: *const c_char,
12259        section: *mut GMenuModel,
12260    ) -> *mut GMenuItem;
12261    pub fn g_menu_item_new_submenu(
12262        label: *const c_char,
12263        submenu: *mut GMenuModel,
12264    ) -> *mut GMenuItem;
12265    pub fn g_menu_item_get_attribute(
12266        menu_item: *mut GMenuItem,
12267        attribute: *const c_char,
12268        format_string: *const c_char,
12269        ...
12270    ) -> gboolean;
12271    pub fn g_menu_item_get_attribute_value(
12272        menu_item: *mut GMenuItem,
12273        attribute: *const c_char,
12274        expected_type: *const glib::GVariantType,
12275    ) -> *mut glib::GVariant;
12276    pub fn g_menu_item_get_link(menu_item: *mut GMenuItem, link: *const c_char) -> *mut GMenuModel;
12277    pub fn g_menu_item_set_action_and_target(
12278        menu_item: *mut GMenuItem,
12279        action: *const c_char,
12280        format_string: *const c_char,
12281        ...
12282    );
12283    pub fn g_menu_item_set_action_and_target_value(
12284        menu_item: *mut GMenuItem,
12285        action: *const c_char,
12286        target_value: *mut glib::GVariant,
12287    );
12288    pub fn g_menu_item_set_attribute(
12289        menu_item: *mut GMenuItem,
12290        attribute: *const c_char,
12291        format_string: *const c_char,
12292        ...
12293    );
12294    pub fn g_menu_item_set_attribute_value(
12295        menu_item: *mut GMenuItem,
12296        attribute: *const c_char,
12297        value: *mut glib::GVariant,
12298    );
12299    pub fn g_menu_item_set_detailed_action(
12300        menu_item: *mut GMenuItem,
12301        detailed_action: *const c_char,
12302    );
12303    pub fn g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon);
12304    pub fn g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const c_char);
12305    pub fn g_menu_item_set_link(
12306        menu_item: *mut GMenuItem,
12307        link: *const c_char,
12308        model: *mut GMenuModel,
12309    );
12310    pub fn g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel);
12311    pub fn g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel);
12312
12313    //=========================================================================
12314    // GMenuLinkIter
12315    //=========================================================================
12316    pub fn g_menu_link_iter_get_type() -> GType;
12317    pub fn g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const c_char;
12318    pub fn g_menu_link_iter_get_next(
12319        iter: *mut GMenuLinkIter,
12320        out_link: *mut *const c_char,
12321        value: *mut *mut GMenuModel,
12322    ) -> gboolean;
12323    pub fn g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel;
12324    pub fn g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean;
12325
12326    //=========================================================================
12327    // GMenuModel
12328    //=========================================================================
12329    pub fn g_menu_model_get_type() -> GType;
12330    pub fn g_menu_model_get_item_attribute(
12331        model: *mut GMenuModel,
12332        item_index: c_int,
12333        attribute: *const c_char,
12334        format_string: *const c_char,
12335        ...
12336    ) -> gboolean;
12337    pub fn g_menu_model_get_item_attribute_value(
12338        model: *mut GMenuModel,
12339        item_index: c_int,
12340        attribute: *const c_char,
12341        expected_type: *const glib::GVariantType,
12342    ) -> *mut glib::GVariant;
12343    pub fn g_menu_model_get_item_link(
12344        model: *mut GMenuModel,
12345        item_index: c_int,
12346        link: *const c_char,
12347    ) -> *mut GMenuModel;
12348    pub fn g_menu_model_get_n_items(model: *mut GMenuModel) -> c_int;
12349    pub fn g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean;
12350    pub fn g_menu_model_items_changed(
12351        model: *mut GMenuModel,
12352        position: c_int,
12353        removed: c_int,
12354        added: c_int,
12355    );
12356    pub fn g_menu_model_iterate_item_attributes(
12357        model: *mut GMenuModel,
12358        item_index: c_int,
12359    ) -> *mut GMenuAttributeIter;
12360    pub fn g_menu_model_iterate_item_links(
12361        model: *mut GMenuModel,
12362        item_index: c_int,
12363    ) -> *mut GMenuLinkIter;
12364
12365    //=========================================================================
12366    // GMountOperation
12367    //=========================================================================
12368    pub fn g_mount_operation_get_type() -> GType;
12369    pub fn g_mount_operation_new() -> *mut GMountOperation;
12370    pub fn g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean;
12371    pub fn g_mount_operation_get_choice(op: *mut GMountOperation) -> c_int;
12372    pub fn g_mount_operation_get_domain(op: *mut GMountOperation) -> *const c_char;
12373    #[cfg(feature = "v2_58")]
12374    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12375    pub fn g_mount_operation_get_is_tcrypt_hidden_volume(op: *mut GMountOperation) -> gboolean;
12376    #[cfg(feature = "v2_58")]
12377    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12378    pub fn g_mount_operation_get_is_tcrypt_system_volume(op: *mut GMountOperation) -> gboolean;
12379    pub fn g_mount_operation_get_password(op: *mut GMountOperation) -> *const c_char;
12380    pub fn g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave;
12381    #[cfg(feature = "v2_58")]
12382    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12383    pub fn g_mount_operation_get_pim(op: *mut GMountOperation) -> c_uint;
12384    pub fn g_mount_operation_get_username(op: *mut GMountOperation) -> *const c_char;
12385    pub fn g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult);
12386    pub fn g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean);
12387    pub fn g_mount_operation_set_choice(op: *mut GMountOperation, choice: c_int);
12388    pub fn g_mount_operation_set_domain(op: *mut GMountOperation, domain: *const c_char);
12389    #[cfg(feature = "v2_58")]
12390    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12391    pub fn g_mount_operation_set_is_tcrypt_hidden_volume(
12392        op: *mut GMountOperation,
12393        hidden_volume: gboolean,
12394    );
12395    #[cfg(feature = "v2_58")]
12396    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12397    pub fn g_mount_operation_set_is_tcrypt_system_volume(
12398        op: *mut GMountOperation,
12399        system_volume: gboolean,
12400    );
12401    pub fn g_mount_operation_set_password(op: *mut GMountOperation, password: *const c_char);
12402    pub fn g_mount_operation_set_password_save(op: *mut GMountOperation, save: GPasswordSave);
12403    #[cfg(feature = "v2_58")]
12404    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12405    pub fn g_mount_operation_set_pim(op: *mut GMountOperation, pim: c_uint);
12406    pub fn g_mount_operation_set_username(op: *mut GMountOperation, username: *const c_char);
12407
12408    //=========================================================================
12409    // GNativeSocketAddress
12410    //=========================================================================
12411    pub fn g_native_socket_address_get_type() -> GType;
12412    pub fn g_native_socket_address_new(native: gpointer, len: size_t) -> *mut GSocketAddress;
12413
12414    //=========================================================================
12415    // GNativeVolumeMonitor
12416    //=========================================================================
12417    pub fn g_native_volume_monitor_get_type() -> GType;
12418
12419    //=========================================================================
12420    // GNetworkAddress
12421    //=========================================================================
12422    pub fn g_network_address_get_type() -> GType;
12423    pub fn g_network_address_new(hostname: *const c_char, port: u16) -> *mut GNetworkAddress;
12424    pub fn g_network_address_new_loopback(port: u16) -> *mut GNetworkAddress;
12425    pub fn g_network_address_parse(
12426        host_and_port: *const c_char,
12427        default_port: u16,
12428        error: *mut *mut glib::GError,
12429    ) -> *mut GNetworkAddress;
12430    pub fn g_network_address_parse_uri(
12431        uri: *const c_char,
12432        default_port: u16,
12433        error: *mut *mut glib::GError,
12434    ) -> *mut GNetworkAddress;
12435    pub fn g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const c_char;
12436    pub fn g_network_address_get_port(addr: *mut GNetworkAddress) -> u16;
12437    pub fn g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const c_char;
12438
12439    //=========================================================================
12440    // GNetworkService
12441    //=========================================================================
12442    pub fn g_network_service_get_type() -> GType;
12443    pub fn g_network_service_new(
12444        service: *const c_char,
12445        protocol: *const c_char,
12446        domain: *const c_char,
12447    ) -> *mut GNetworkService;
12448    pub fn g_network_service_get_domain(srv: *mut GNetworkService) -> *const c_char;
12449    pub fn g_network_service_get_protocol(srv: *mut GNetworkService) -> *const c_char;
12450    pub fn g_network_service_get_scheme(srv: *mut GNetworkService) -> *const c_char;
12451    pub fn g_network_service_get_service(srv: *mut GNetworkService) -> *const c_char;
12452    pub fn g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const c_char);
12453
12454    //=========================================================================
12455    // GNotification
12456    //=========================================================================
12457    pub fn g_notification_get_type() -> GType;
12458    pub fn g_notification_new(title: *const c_char) -> *mut GNotification;
12459    pub fn g_notification_add_button(
12460        notification: *mut GNotification,
12461        label: *const c_char,
12462        detailed_action: *const c_char,
12463    );
12464    pub fn g_notification_add_button_with_target(
12465        notification: *mut GNotification,
12466        label: *const c_char,
12467        action: *const c_char,
12468        target_format: *const c_char,
12469        ...
12470    );
12471    pub fn g_notification_add_button_with_target_value(
12472        notification: *mut GNotification,
12473        label: *const c_char,
12474        action: *const c_char,
12475        target: *mut glib::GVariant,
12476    );
12477    pub fn g_notification_set_body(notification: *mut GNotification, body: *const c_char);
12478    #[cfg(feature = "v2_70")]
12479    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
12480    pub fn g_notification_set_category(notification: *mut GNotification, category: *const c_char);
12481    pub fn g_notification_set_default_action(
12482        notification: *mut GNotification,
12483        detailed_action: *const c_char,
12484    );
12485    pub fn g_notification_set_default_action_and_target(
12486        notification: *mut GNotification,
12487        action: *const c_char,
12488        target_format: *const c_char,
12489        ...
12490    );
12491    pub fn g_notification_set_default_action_and_target_value(
12492        notification: *mut GNotification,
12493        action: *const c_char,
12494        target: *mut glib::GVariant,
12495    );
12496    pub fn g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon);
12497    pub fn g_notification_set_priority(
12498        notification: *mut GNotification,
12499        priority: GNotificationPriority,
12500    );
12501    pub fn g_notification_set_title(notification: *mut GNotification, title: *const c_char);
12502    pub fn g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean);
12503
12504    //=========================================================================
12505    // GOutputStream
12506    //=========================================================================
12507    pub fn g_output_stream_get_type() -> GType;
12508    pub fn g_output_stream_clear_pending(stream: *mut GOutputStream);
12509    pub fn g_output_stream_close(
12510        stream: *mut GOutputStream,
12511        cancellable: *mut GCancellable,
12512        error: *mut *mut glib::GError,
12513    ) -> gboolean;
12514    pub fn g_output_stream_close_async(
12515        stream: *mut GOutputStream,
12516        io_priority: c_int,
12517        cancellable: *mut GCancellable,
12518        callback: GAsyncReadyCallback,
12519        user_data: gpointer,
12520    );
12521    pub fn g_output_stream_close_finish(
12522        stream: *mut GOutputStream,
12523        result: *mut GAsyncResult,
12524        error: *mut *mut glib::GError,
12525    ) -> gboolean;
12526    pub fn g_output_stream_flush(
12527        stream: *mut GOutputStream,
12528        cancellable: *mut GCancellable,
12529        error: *mut *mut glib::GError,
12530    ) -> gboolean;
12531    pub fn g_output_stream_flush_async(
12532        stream: *mut GOutputStream,
12533        io_priority: c_int,
12534        cancellable: *mut GCancellable,
12535        callback: GAsyncReadyCallback,
12536        user_data: gpointer,
12537    );
12538    pub fn g_output_stream_flush_finish(
12539        stream: *mut GOutputStream,
12540        result: *mut GAsyncResult,
12541        error: *mut *mut glib::GError,
12542    ) -> gboolean;
12543    pub fn g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean;
12544    pub fn g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean;
12545    pub fn g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean;
12546    pub fn g_output_stream_printf(
12547        stream: *mut GOutputStream,
12548        bytes_written: *mut size_t,
12549        cancellable: *mut GCancellable,
12550        error: *mut *mut glib::GError,
12551        format: *const c_char,
12552        ...
12553    ) -> gboolean;
12554    pub fn g_output_stream_set_pending(
12555        stream: *mut GOutputStream,
12556        error: *mut *mut glib::GError,
12557    ) -> gboolean;
12558    pub fn g_output_stream_splice(
12559        stream: *mut GOutputStream,
12560        source: *mut GInputStream,
12561        flags: GOutputStreamSpliceFlags,
12562        cancellable: *mut GCancellable,
12563        error: *mut *mut glib::GError,
12564    ) -> ssize_t;
12565    pub fn g_output_stream_splice_async(
12566        stream: *mut GOutputStream,
12567        source: *mut GInputStream,
12568        flags: GOutputStreamSpliceFlags,
12569        io_priority: c_int,
12570        cancellable: *mut GCancellable,
12571        callback: GAsyncReadyCallback,
12572        user_data: gpointer,
12573    );
12574    pub fn g_output_stream_splice_finish(
12575        stream: *mut GOutputStream,
12576        result: *mut GAsyncResult,
12577        error: *mut *mut glib::GError,
12578    ) -> ssize_t;
12579    //pub fn g_output_stream_vprintf(stream: *mut GOutputStream, bytes_written: *mut size_t, cancellable: *mut GCancellable, error: *mut *mut glib::GError, format: *const c_char, args: /*Unimplemented*/va_list) -> gboolean;
12580    pub fn g_output_stream_write(
12581        stream: *mut GOutputStream,
12582        buffer: *mut u8,
12583        count: size_t,
12584        cancellable: *mut GCancellable,
12585        error: *mut *mut glib::GError,
12586    ) -> ssize_t;
12587    pub fn g_output_stream_write_all(
12588        stream: *mut GOutputStream,
12589        buffer: *mut u8,
12590        count: size_t,
12591        bytes_written: *mut size_t,
12592        cancellable: *mut GCancellable,
12593        error: *mut *mut glib::GError,
12594    ) -> gboolean;
12595    pub fn g_output_stream_write_all_async(
12596        stream: *mut GOutputStream,
12597        buffer: *mut u8,
12598        count: size_t,
12599        io_priority: c_int,
12600        cancellable: *mut GCancellable,
12601        callback: GAsyncReadyCallback,
12602        user_data: gpointer,
12603    );
12604    pub fn g_output_stream_write_all_finish(
12605        stream: *mut GOutputStream,
12606        result: *mut GAsyncResult,
12607        bytes_written: *mut size_t,
12608        error: *mut *mut glib::GError,
12609    ) -> gboolean;
12610    pub fn g_output_stream_write_async(
12611        stream: *mut GOutputStream,
12612        buffer: *mut u8,
12613        count: size_t,
12614        io_priority: c_int,
12615        cancellable: *mut GCancellable,
12616        callback: GAsyncReadyCallback,
12617        user_data: gpointer,
12618    );
12619    pub fn g_output_stream_write_bytes(
12620        stream: *mut GOutputStream,
12621        bytes: *mut glib::GBytes,
12622        cancellable: *mut GCancellable,
12623        error: *mut *mut glib::GError,
12624    ) -> ssize_t;
12625    pub fn g_output_stream_write_bytes_async(
12626        stream: *mut GOutputStream,
12627        bytes: *mut glib::GBytes,
12628        io_priority: c_int,
12629        cancellable: *mut GCancellable,
12630        callback: GAsyncReadyCallback,
12631        user_data: gpointer,
12632    );
12633    pub fn g_output_stream_write_bytes_finish(
12634        stream: *mut GOutputStream,
12635        result: *mut GAsyncResult,
12636        error: *mut *mut glib::GError,
12637    ) -> ssize_t;
12638    pub fn g_output_stream_write_finish(
12639        stream: *mut GOutputStream,
12640        result: *mut GAsyncResult,
12641        error: *mut *mut glib::GError,
12642    ) -> ssize_t;
12643    #[cfg(feature = "v2_60")]
12644    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12645    pub fn g_output_stream_writev(
12646        stream: *mut GOutputStream,
12647        vectors: *const GOutputVector,
12648        n_vectors: size_t,
12649        bytes_written: *mut size_t,
12650        cancellable: *mut GCancellable,
12651        error: *mut *mut glib::GError,
12652    ) -> gboolean;
12653    #[cfg(feature = "v2_60")]
12654    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12655    pub fn g_output_stream_writev_all(
12656        stream: *mut GOutputStream,
12657        vectors: *mut GOutputVector,
12658        n_vectors: size_t,
12659        bytes_written: *mut size_t,
12660        cancellable: *mut GCancellable,
12661        error: *mut *mut glib::GError,
12662    ) -> gboolean;
12663    #[cfg(feature = "v2_60")]
12664    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12665    pub fn g_output_stream_writev_all_async(
12666        stream: *mut GOutputStream,
12667        vectors: *mut GOutputVector,
12668        n_vectors: size_t,
12669        io_priority: c_int,
12670        cancellable: *mut GCancellable,
12671        callback: GAsyncReadyCallback,
12672        user_data: gpointer,
12673    );
12674    #[cfg(feature = "v2_60")]
12675    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12676    pub fn g_output_stream_writev_all_finish(
12677        stream: *mut GOutputStream,
12678        result: *mut GAsyncResult,
12679        bytes_written: *mut size_t,
12680        error: *mut *mut glib::GError,
12681    ) -> gboolean;
12682    #[cfg(feature = "v2_60")]
12683    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12684    pub fn g_output_stream_writev_async(
12685        stream: *mut GOutputStream,
12686        vectors: *const GOutputVector,
12687        n_vectors: size_t,
12688        io_priority: c_int,
12689        cancellable: *mut GCancellable,
12690        callback: GAsyncReadyCallback,
12691        user_data: gpointer,
12692    );
12693    #[cfg(feature = "v2_60")]
12694    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12695    pub fn g_output_stream_writev_finish(
12696        stream: *mut GOutputStream,
12697        result: *mut GAsyncResult,
12698        bytes_written: *mut size_t,
12699        error: *mut *mut glib::GError,
12700    ) -> gboolean;
12701
12702    //=========================================================================
12703    // GPermission
12704    //=========================================================================
12705    pub fn g_permission_get_type() -> GType;
12706    pub fn g_permission_acquire(
12707        permission: *mut GPermission,
12708        cancellable: *mut GCancellable,
12709        error: *mut *mut glib::GError,
12710    ) -> gboolean;
12711    pub fn g_permission_acquire_async(
12712        permission: *mut GPermission,
12713        cancellable: *mut GCancellable,
12714        callback: GAsyncReadyCallback,
12715        user_data: gpointer,
12716    );
12717    pub fn g_permission_acquire_finish(
12718        permission: *mut GPermission,
12719        result: *mut GAsyncResult,
12720        error: *mut *mut glib::GError,
12721    ) -> gboolean;
12722    pub fn g_permission_get_allowed(permission: *mut GPermission) -> gboolean;
12723    pub fn g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean;
12724    pub fn g_permission_get_can_release(permission: *mut GPermission) -> gboolean;
12725    pub fn g_permission_impl_update(
12726        permission: *mut GPermission,
12727        allowed: gboolean,
12728        can_acquire: gboolean,
12729        can_release: gboolean,
12730    );
12731    pub fn g_permission_release(
12732        permission: *mut GPermission,
12733        cancellable: *mut GCancellable,
12734        error: *mut *mut glib::GError,
12735    ) -> gboolean;
12736    pub fn g_permission_release_async(
12737        permission: *mut GPermission,
12738        cancellable: *mut GCancellable,
12739        callback: GAsyncReadyCallback,
12740        user_data: gpointer,
12741    );
12742    pub fn g_permission_release_finish(
12743        permission: *mut GPermission,
12744        result: *mut GAsyncResult,
12745        error: *mut *mut glib::GError,
12746    ) -> gboolean;
12747
12748    //=========================================================================
12749    // GPropertyAction
12750    //=========================================================================
12751    pub fn g_property_action_get_type() -> GType;
12752    pub fn g_property_action_new(
12753        name: *const c_char,
12754        object: *mut gobject::GObject,
12755        property_name: *const c_char,
12756    ) -> *mut GPropertyAction;
12757
12758    //=========================================================================
12759    // GProxyAddress
12760    //=========================================================================
12761    pub fn g_proxy_address_get_type() -> GType;
12762    pub fn g_proxy_address_new(
12763        inetaddr: *mut GInetAddress,
12764        port: u16,
12765        protocol: *const c_char,
12766        dest_hostname: *const c_char,
12767        dest_port: u16,
12768        username: *const c_char,
12769        password: *const c_char,
12770    ) -> *mut GSocketAddress;
12771    pub fn g_proxy_address_get_destination_hostname(proxy: *mut GProxyAddress) -> *const c_char;
12772    pub fn g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> u16;
12773    pub fn g_proxy_address_get_destination_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12774    pub fn g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const c_char;
12775    pub fn g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12776    pub fn g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const c_char;
12777    pub fn g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const c_char;
12778
12779    //=========================================================================
12780    // GProxyAddressEnumerator
12781    //=========================================================================
12782    pub fn g_proxy_address_enumerator_get_type() -> GType;
12783
12784    //=========================================================================
12785    // GResolver
12786    //=========================================================================
12787    pub fn g_resolver_get_type() -> GType;
12788    pub fn g_resolver_free_addresses(addresses: *mut glib::GList);
12789    pub fn g_resolver_free_targets(targets: *mut glib::GList);
12790    pub fn g_resolver_get_default() -> *mut GResolver;
12791    #[cfg(feature = "v2_78")]
12792    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12793    pub fn g_resolver_get_timeout(resolver: *mut GResolver) -> c_uint;
12794    pub fn g_resolver_lookup_by_address(
12795        resolver: *mut GResolver,
12796        address: *mut GInetAddress,
12797        cancellable: *mut GCancellable,
12798        error: *mut *mut glib::GError,
12799    ) -> *mut c_char;
12800    pub fn g_resolver_lookup_by_address_async(
12801        resolver: *mut GResolver,
12802        address: *mut GInetAddress,
12803        cancellable: *mut GCancellable,
12804        callback: GAsyncReadyCallback,
12805        user_data: gpointer,
12806    );
12807    pub fn g_resolver_lookup_by_address_finish(
12808        resolver: *mut GResolver,
12809        result: *mut GAsyncResult,
12810        error: *mut *mut glib::GError,
12811    ) -> *mut c_char;
12812    pub fn g_resolver_lookup_by_name(
12813        resolver: *mut GResolver,
12814        hostname: *const c_char,
12815        cancellable: *mut GCancellable,
12816        error: *mut *mut glib::GError,
12817    ) -> *mut glib::GList;
12818    pub fn g_resolver_lookup_by_name_async(
12819        resolver: *mut GResolver,
12820        hostname: *const c_char,
12821        cancellable: *mut GCancellable,
12822        callback: GAsyncReadyCallback,
12823        user_data: gpointer,
12824    );
12825    pub fn g_resolver_lookup_by_name_finish(
12826        resolver: *mut GResolver,
12827        result: *mut GAsyncResult,
12828        error: *mut *mut glib::GError,
12829    ) -> *mut glib::GList;
12830    #[cfg(feature = "v2_60")]
12831    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12832    pub fn g_resolver_lookup_by_name_with_flags(
12833        resolver: *mut GResolver,
12834        hostname: *const c_char,
12835        flags: GResolverNameLookupFlags,
12836        cancellable: *mut GCancellable,
12837        error: *mut *mut glib::GError,
12838    ) -> *mut glib::GList;
12839    #[cfg(feature = "v2_60")]
12840    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12841    pub fn g_resolver_lookup_by_name_with_flags_async(
12842        resolver: *mut GResolver,
12843        hostname: *const c_char,
12844        flags: GResolverNameLookupFlags,
12845        cancellable: *mut GCancellable,
12846        callback: GAsyncReadyCallback,
12847        user_data: gpointer,
12848    );
12849    #[cfg(feature = "v2_60")]
12850    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12851    pub fn g_resolver_lookup_by_name_with_flags_finish(
12852        resolver: *mut GResolver,
12853        result: *mut GAsyncResult,
12854        error: *mut *mut glib::GError,
12855    ) -> *mut glib::GList;
12856    pub fn g_resolver_lookup_records(
12857        resolver: *mut GResolver,
12858        rrname: *const c_char,
12859        record_type: GResolverRecordType,
12860        cancellable: *mut GCancellable,
12861        error: *mut *mut glib::GError,
12862    ) -> *mut glib::GList;
12863    pub fn g_resolver_lookup_records_async(
12864        resolver: *mut GResolver,
12865        rrname: *const c_char,
12866        record_type: GResolverRecordType,
12867        cancellable: *mut GCancellable,
12868        callback: GAsyncReadyCallback,
12869        user_data: gpointer,
12870    );
12871    pub fn g_resolver_lookup_records_finish(
12872        resolver: *mut GResolver,
12873        result: *mut GAsyncResult,
12874        error: *mut *mut glib::GError,
12875    ) -> *mut glib::GList;
12876    pub fn g_resolver_lookup_service(
12877        resolver: *mut GResolver,
12878        service: *const c_char,
12879        protocol: *const c_char,
12880        domain: *const c_char,
12881        cancellable: *mut GCancellable,
12882        error: *mut *mut glib::GError,
12883    ) -> *mut glib::GList;
12884    pub fn g_resolver_lookup_service_async(
12885        resolver: *mut GResolver,
12886        service: *const c_char,
12887        protocol: *const c_char,
12888        domain: *const c_char,
12889        cancellable: *mut GCancellable,
12890        callback: GAsyncReadyCallback,
12891        user_data: gpointer,
12892    );
12893    pub fn g_resolver_lookup_service_finish(
12894        resolver: *mut GResolver,
12895        result: *mut GAsyncResult,
12896        error: *mut *mut glib::GError,
12897    ) -> *mut glib::GList;
12898    pub fn g_resolver_set_default(resolver: *mut GResolver);
12899    #[cfg(feature = "v2_78")]
12900    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12901    pub fn g_resolver_set_timeout(resolver: *mut GResolver, timeout_ms: c_uint);
12902
12903    //=========================================================================
12904    // GSettings
12905    //=========================================================================
12906    pub fn g_settings_get_type() -> GType;
12907    pub fn g_settings_new(schema_id: *const c_char) -> *mut GSettings;
12908    pub fn g_settings_new_full(
12909        schema: *mut GSettingsSchema,
12910        backend: *mut GSettingsBackend,
12911        path: *const c_char,
12912    ) -> *mut GSettings;
12913    pub fn g_settings_new_with_backend(
12914        schema_id: *const c_char,
12915        backend: *mut GSettingsBackend,
12916    ) -> *mut GSettings;
12917    pub fn g_settings_new_with_backend_and_path(
12918        schema_id: *const c_char,
12919        backend: *mut GSettingsBackend,
12920        path: *const c_char,
12921    ) -> *mut GSettings;
12922    pub fn g_settings_new_with_path(
12923        schema_id: *const c_char,
12924        path: *const c_char,
12925    ) -> *mut GSettings;
12926    pub fn g_settings_list_relocatable_schemas() -> *const *const c_char;
12927    pub fn g_settings_list_schemas() -> *const *const c_char;
12928    pub fn g_settings_sync();
12929    pub fn g_settings_unbind(object: *mut gobject::GObject, property: *const c_char);
12930    pub fn g_settings_apply(settings: *mut GSettings);
12931    pub fn g_settings_bind(
12932        settings: *mut GSettings,
12933        key: *const c_char,
12934        object: *mut gobject::GObject,
12935        property: *const c_char,
12936        flags: GSettingsBindFlags,
12937    );
12938    pub fn g_settings_bind_with_mapping(
12939        settings: *mut GSettings,
12940        key: *const c_char,
12941        object: *mut gobject::GObject,
12942        property: *const c_char,
12943        flags: GSettingsBindFlags,
12944        get_mapping: GSettingsBindGetMapping,
12945        set_mapping: GSettingsBindSetMapping,
12946        user_data: gpointer,
12947        destroy: glib::GDestroyNotify,
12948    );
12949    #[cfg(feature = "v2_82")]
12950    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
12951    pub fn g_settings_bind_with_mapping_closures(
12952        settings: *mut GSettings,
12953        key: *const c_char,
12954        object: *mut gobject::GObject,
12955        property: *const c_char,
12956        flags: GSettingsBindFlags,
12957        get_mapping: *mut gobject::GClosure,
12958        set_mapping: *mut gobject::GClosure,
12959    );
12960    pub fn g_settings_bind_writable(
12961        settings: *mut GSettings,
12962        key: *const c_char,
12963        object: *mut gobject::GObject,
12964        property: *const c_char,
12965        inverted: gboolean,
12966    );
12967    pub fn g_settings_create_action(settings: *mut GSettings, key: *const c_char) -> *mut GAction;
12968    pub fn g_settings_delay(settings: *mut GSettings);
12969    pub fn g_settings_get(settings: *mut GSettings, key: *const c_char, format: *const c_char, ...);
12970    pub fn g_settings_get_boolean(settings: *mut GSettings, key: *const c_char) -> gboolean;
12971    pub fn g_settings_get_child(settings: *mut GSettings, name: *const c_char) -> *mut GSettings;
12972    pub fn g_settings_get_default_value(
12973        settings: *mut GSettings,
12974        key: *const c_char,
12975    ) -> *mut glib::GVariant;
12976    pub fn g_settings_get_double(settings: *mut GSettings, key: *const c_char) -> c_double;
12977    pub fn g_settings_get_enum(settings: *mut GSettings, key: *const c_char) -> c_int;
12978    pub fn g_settings_get_flags(settings: *mut GSettings, key: *const c_char) -> c_uint;
12979    pub fn g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean;
12980    pub fn g_settings_get_int(settings: *mut GSettings, key: *const c_char) -> c_int;
12981    pub fn g_settings_get_int64(settings: *mut GSettings, key: *const c_char) -> i64;
12982    pub fn g_settings_get_mapped(
12983        settings: *mut GSettings,
12984        key: *const c_char,
12985        mapping: GSettingsGetMapping,
12986        user_data: gpointer,
12987    ) -> gpointer;
12988    pub fn g_settings_get_range(
12989        settings: *mut GSettings,
12990        key: *const c_char,
12991    ) -> *mut glib::GVariant;
12992    pub fn g_settings_get_string(settings: *mut GSettings, key: *const c_char) -> *mut c_char;
12993    pub fn g_settings_get_strv(settings: *mut GSettings, key: *const c_char) -> *mut *mut c_char;
12994    pub fn g_settings_get_uint(settings: *mut GSettings, key: *const c_char) -> c_uint;
12995    pub fn g_settings_get_uint64(settings: *mut GSettings, key: *const c_char) -> u64;
12996    pub fn g_settings_get_user_value(
12997        settings: *mut GSettings,
12998        key: *const c_char,
12999    ) -> *mut glib::GVariant;
13000    pub fn g_settings_get_value(
13001        settings: *mut GSettings,
13002        key: *const c_char,
13003    ) -> *mut glib::GVariant;
13004    pub fn g_settings_is_writable(settings: *mut GSettings, name: *const c_char) -> gboolean;
13005    pub fn g_settings_list_children(settings: *mut GSettings) -> *mut *mut c_char;
13006    pub fn g_settings_list_keys(settings: *mut GSettings) -> *mut *mut c_char;
13007    pub fn g_settings_range_check(
13008        settings: *mut GSettings,
13009        key: *const c_char,
13010        value: *mut glib::GVariant,
13011    ) -> gboolean;
13012    pub fn g_settings_reset(settings: *mut GSettings, key: *const c_char);
13013    pub fn g_settings_revert(settings: *mut GSettings);
13014    pub fn g_settings_set(
13015        settings: *mut GSettings,
13016        key: *const c_char,
13017        format: *const c_char,
13018        ...
13019    ) -> gboolean;
13020    pub fn g_settings_set_boolean(
13021        settings: *mut GSettings,
13022        key: *const c_char,
13023        value: gboolean,
13024    ) -> gboolean;
13025    pub fn g_settings_set_double(
13026        settings: *mut GSettings,
13027        key: *const c_char,
13028        value: c_double,
13029    ) -> gboolean;
13030    pub fn g_settings_set_enum(
13031        settings: *mut GSettings,
13032        key: *const c_char,
13033        value: c_int,
13034    ) -> gboolean;
13035    pub fn g_settings_set_flags(
13036        settings: *mut GSettings,
13037        key: *const c_char,
13038        value: c_uint,
13039    ) -> gboolean;
13040    pub fn g_settings_set_int(
13041        settings: *mut GSettings,
13042        key: *const c_char,
13043        value: c_int,
13044    ) -> gboolean;
13045    pub fn g_settings_set_int64(
13046        settings: *mut GSettings,
13047        key: *const c_char,
13048        value: i64,
13049    ) -> gboolean;
13050    pub fn g_settings_set_string(
13051        settings: *mut GSettings,
13052        key: *const c_char,
13053        value: *const c_char,
13054    ) -> gboolean;
13055    pub fn g_settings_set_strv(
13056        settings: *mut GSettings,
13057        key: *const c_char,
13058        value: *const *const c_char,
13059    ) -> gboolean;
13060    pub fn g_settings_set_uint(
13061        settings: *mut GSettings,
13062        key: *const c_char,
13063        value: c_uint,
13064    ) -> gboolean;
13065    pub fn g_settings_set_uint64(
13066        settings: *mut GSettings,
13067        key: *const c_char,
13068        value: u64,
13069    ) -> gboolean;
13070    pub fn g_settings_set_value(
13071        settings: *mut GSettings,
13072        key: *const c_char,
13073        value: *mut glib::GVariant,
13074    ) -> gboolean;
13075
13076    //=========================================================================
13077    // GSettingsBackend
13078    //=========================================================================
13079    pub fn g_settings_backend_get_type() -> GType;
13080    pub fn g_settings_backend_flatten_tree(
13081        tree: *mut glib::GTree,
13082        path: *mut *mut c_char,
13083        keys: *mut *mut *const c_char,
13084        values: *mut *mut *mut glib::GVariant,
13085    );
13086    pub fn g_settings_backend_get_default() -> *mut GSettingsBackend;
13087    pub fn g_settings_backend_changed(
13088        backend: *mut GSettingsBackend,
13089        key: *const c_char,
13090        origin_tag: gpointer,
13091    );
13092    pub fn g_settings_backend_changed_tree(
13093        backend: *mut GSettingsBackend,
13094        tree: *mut glib::GTree,
13095        origin_tag: gpointer,
13096    );
13097    pub fn g_settings_backend_keys_changed(
13098        backend: *mut GSettingsBackend,
13099        path: *const c_char,
13100        items: *const *const c_char,
13101        origin_tag: gpointer,
13102    );
13103    pub fn g_settings_backend_path_changed(
13104        backend: *mut GSettingsBackend,
13105        path: *const c_char,
13106        origin_tag: gpointer,
13107    );
13108    pub fn g_settings_backend_path_writable_changed(
13109        backend: *mut GSettingsBackend,
13110        path: *const c_char,
13111    );
13112    pub fn g_settings_backend_writable_changed(backend: *mut GSettingsBackend, key: *const c_char);
13113
13114    //=========================================================================
13115    // GSimpleAction
13116    //=========================================================================
13117    pub fn g_simple_action_get_type() -> GType;
13118    pub fn g_simple_action_new(
13119        name: *const c_char,
13120        parameter_type: *const glib::GVariantType,
13121    ) -> *mut GSimpleAction;
13122    pub fn g_simple_action_new_stateful(
13123        name: *const c_char,
13124        parameter_type: *const glib::GVariantType,
13125        state: *mut glib::GVariant,
13126    ) -> *mut GSimpleAction;
13127    pub fn g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean);
13128    pub fn g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut glib::GVariant);
13129    pub fn g_simple_action_set_state_hint(
13130        simple: *mut GSimpleAction,
13131        state_hint: *mut glib::GVariant,
13132    );
13133
13134    //=========================================================================
13135    // GSimpleActionGroup
13136    //=========================================================================
13137    pub fn g_simple_action_group_get_type() -> GType;
13138    pub fn g_simple_action_group_new() -> *mut GSimpleActionGroup;
13139    pub fn g_simple_action_group_add_entries(
13140        simple: *mut GSimpleActionGroup,
13141        entries: *const GActionEntry,
13142        n_entries: c_int,
13143        user_data: gpointer,
13144    );
13145    pub fn g_simple_action_group_insert(simple: *mut GSimpleActionGroup, action: *mut GAction);
13146    pub fn g_simple_action_group_lookup(
13147        simple: *mut GSimpleActionGroup,
13148        action_name: *const c_char,
13149    ) -> *mut GAction;
13150    pub fn g_simple_action_group_remove(
13151        simple: *mut GSimpleActionGroup,
13152        action_name: *const c_char,
13153    );
13154
13155    //=========================================================================
13156    // GSimpleAsyncResult
13157    //=========================================================================
13158    pub fn g_simple_async_result_get_type() -> GType;
13159    pub fn g_simple_async_result_new(
13160        source_object: *mut gobject::GObject,
13161        callback: GAsyncReadyCallback,
13162        user_data: gpointer,
13163        source_tag: gpointer,
13164    ) -> *mut GSimpleAsyncResult;
13165    pub fn g_simple_async_result_new_error(
13166        source_object: *mut gobject::GObject,
13167        callback: GAsyncReadyCallback,
13168        user_data: gpointer,
13169        domain: glib::GQuark,
13170        code: c_int,
13171        format: *const c_char,
13172        ...
13173    ) -> *mut GSimpleAsyncResult;
13174    pub fn g_simple_async_result_new_from_error(
13175        source_object: *mut gobject::GObject,
13176        callback: GAsyncReadyCallback,
13177        user_data: gpointer,
13178        error: *const glib::GError,
13179    ) -> *mut GSimpleAsyncResult;
13180    pub fn g_simple_async_result_new_take_error(
13181        source_object: *mut gobject::GObject,
13182        callback: GAsyncReadyCallback,
13183        user_data: gpointer,
13184        error: *mut glib::GError,
13185    ) -> *mut GSimpleAsyncResult;
13186    pub fn g_simple_async_result_is_valid(
13187        result: *mut GAsyncResult,
13188        source: *mut gobject::GObject,
13189        source_tag: gpointer,
13190    ) -> gboolean;
13191    pub fn g_simple_async_result_complete(simple: *mut GSimpleAsyncResult);
13192    pub fn g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult);
13193    pub fn g_simple_async_result_get_op_res_gboolean(simple: *mut GSimpleAsyncResult) -> gboolean;
13194    pub fn g_simple_async_result_get_op_res_gpointer(simple: *mut GSimpleAsyncResult) -> gpointer;
13195    pub fn g_simple_async_result_get_op_res_gssize(simple: *mut GSimpleAsyncResult) -> ssize_t;
13196    pub fn g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult) -> gpointer;
13197    pub fn g_simple_async_result_propagate_error(
13198        simple: *mut GSimpleAsyncResult,
13199        error: *mut *mut glib::GError,
13200    ) -> gboolean;
13201    pub fn g_simple_async_result_run_in_thread(
13202        simple: *mut GSimpleAsyncResult,
13203        func: GSimpleAsyncThreadFunc,
13204        io_priority: c_int,
13205        cancellable: *mut GCancellable,
13206    );
13207    pub fn g_simple_async_result_set_check_cancellable(
13208        simple: *mut GSimpleAsyncResult,
13209        check_cancellable: *mut GCancellable,
13210    );
13211    pub fn g_simple_async_result_set_error(
13212        simple: *mut GSimpleAsyncResult,
13213        domain: glib::GQuark,
13214        code: c_int,
13215        format: *const c_char,
13216        ...
13217    );
13218    //pub fn g_simple_async_result_set_error_va(simple: *mut GSimpleAsyncResult, domain: glib::GQuark, code: c_int, format: *const c_char, args: /*Unimplemented*/va_list);
13219    pub fn g_simple_async_result_set_from_error(
13220        simple: *mut GSimpleAsyncResult,
13221        error: *const glib::GError,
13222    );
13223    pub fn g_simple_async_result_set_handle_cancellation(
13224        simple: *mut GSimpleAsyncResult,
13225        handle_cancellation: gboolean,
13226    );
13227    pub fn g_simple_async_result_set_op_res_gboolean(
13228        simple: *mut GSimpleAsyncResult,
13229        op_res: gboolean,
13230    );
13231    pub fn g_simple_async_result_set_op_res_gpointer(
13232        simple: *mut GSimpleAsyncResult,
13233        op_res: gpointer,
13234        destroy_op_res: glib::GDestroyNotify,
13235    );
13236    pub fn g_simple_async_result_set_op_res_gssize(
13237        simple: *mut GSimpleAsyncResult,
13238        op_res: ssize_t,
13239    );
13240    pub fn g_simple_async_result_take_error(
13241        simple: *mut GSimpleAsyncResult,
13242        error: *mut glib::GError,
13243    );
13244
13245    //=========================================================================
13246    // GSimpleIOStream
13247    //=========================================================================
13248    pub fn g_simple_io_stream_get_type() -> GType;
13249    pub fn g_simple_io_stream_new(
13250        input_stream: *mut GInputStream,
13251        output_stream: *mut GOutputStream,
13252    ) -> *mut GIOStream;
13253
13254    //=========================================================================
13255    // GSimplePermission
13256    //=========================================================================
13257    pub fn g_simple_permission_get_type() -> GType;
13258    pub fn g_simple_permission_new(allowed: gboolean) -> *mut GPermission;
13259
13260    //=========================================================================
13261    // GSimpleProxyResolver
13262    //=========================================================================
13263    pub fn g_simple_proxy_resolver_get_type() -> GType;
13264    pub fn g_simple_proxy_resolver_new(
13265        default_proxy: *const c_char,
13266        ignore_hosts: *mut *mut c_char,
13267    ) -> *mut GProxyResolver;
13268    pub fn g_simple_proxy_resolver_set_default_proxy(
13269        resolver: *mut GSimpleProxyResolver,
13270        default_proxy: *const c_char,
13271    );
13272    pub fn g_simple_proxy_resolver_set_ignore_hosts(
13273        resolver: *mut GSimpleProxyResolver,
13274        ignore_hosts: *mut *mut c_char,
13275    );
13276    pub fn g_simple_proxy_resolver_set_uri_proxy(
13277        resolver: *mut GSimpleProxyResolver,
13278        uri_scheme: *const c_char,
13279        proxy: *const c_char,
13280    );
13281
13282    //=========================================================================
13283    // GSocket
13284    //=========================================================================
13285    pub fn g_socket_get_type() -> GType;
13286    pub fn g_socket_new(
13287        family: GSocketFamily,
13288        type_: GSocketType,
13289        protocol: GSocketProtocol,
13290        error: *mut *mut glib::GError,
13291    ) -> *mut GSocket;
13292    pub fn g_socket_new_from_fd(fd: c_int, error: *mut *mut glib::GError) -> *mut GSocket;
13293    pub fn g_socket_accept(
13294        socket: *mut GSocket,
13295        cancellable: *mut GCancellable,
13296        error: *mut *mut glib::GError,
13297    ) -> *mut GSocket;
13298    pub fn g_socket_bind(
13299        socket: *mut GSocket,
13300        address: *mut GSocketAddress,
13301        allow_reuse: gboolean,
13302        error: *mut *mut glib::GError,
13303    ) -> gboolean;
13304    pub fn g_socket_check_connect_result(
13305        socket: *mut GSocket,
13306        error: *mut *mut glib::GError,
13307    ) -> gboolean;
13308    pub fn g_socket_close(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13309    pub fn g_socket_condition_check(
13310        socket: *mut GSocket,
13311        condition: glib::GIOCondition,
13312    ) -> glib::GIOCondition;
13313    pub fn g_socket_condition_timed_wait(
13314        socket: *mut GSocket,
13315        condition: glib::GIOCondition,
13316        timeout_us: i64,
13317        cancellable: *mut GCancellable,
13318        error: *mut *mut glib::GError,
13319    ) -> gboolean;
13320    pub fn g_socket_condition_wait(
13321        socket: *mut GSocket,
13322        condition: glib::GIOCondition,
13323        cancellable: *mut GCancellable,
13324        error: *mut *mut glib::GError,
13325    ) -> gboolean;
13326    pub fn g_socket_connect(
13327        socket: *mut GSocket,
13328        address: *mut GSocketAddress,
13329        cancellable: *mut GCancellable,
13330        error: *mut *mut glib::GError,
13331    ) -> gboolean;
13332    pub fn g_socket_connection_factory_create_connection(
13333        socket: *mut GSocket,
13334    ) -> *mut GSocketConnection;
13335    pub fn g_socket_create_source(
13336        socket: *mut GSocket,
13337        condition: glib::GIOCondition,
13338        cancellable: *mut GCancellable,
13339    ) -> *mut glib::GSource;
13340    pub fn g_socket_get_available_bytes(socket: *mut GSocket) -> ssize_t;
13341    pub fn g_socket_get_blocking(socket: *mut GSocket) -> gboolean;
13342    pub fn g_socket_get_broadcast(socket: *mut GSocket) -> gboolean;
13343    pub fn g_socket_get_credentials(
13344        socket: *mut GSocket,
13345        error: *mut *mut glib::GError,
13346    ) -> *mut GCredentials;
13347    pub fn g_socket_get_family(socket: *mut GSocket) -> GSocketFamily;
13348    pub fn g_socket_get_fd(socket: *mut GSocket) -> c_int;
13349    pub fn g_socket_get_keepalive(socket: *mut GSocket) -> gboolean;
13350    pub fn g_socket_get_listen_backlog(socket: *mut GSocket) -> c_int;
13351    pub fn g_socket_get_local_address(
13352        socket: *mut GSocket,
13353        error: *mut *mut glib::GError,
13354    ) -> *mut GSocketAddress;
13355    pub fn g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean;
13356    pub fn g_socket_get_multicast_ttl(socket: *mut GSocket) -> c_uint;
13357    pub fn g_socket_get_option(
13358        socket: *mut GSocket,
13359        level: c_int,
13360        optname: c_int,
13361        value: *mut c_int,
13362        error: *mut *mut glib::GError,
13363    ) -> gboolean;
13364    pub fn g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol;
13365    pub fn g_socket_get_remote_address(
13366        socket: *mut GSocket,
13367        error: *mut *mut glib::GError,
13368    ) -> *mut GSocketAddress;
13369    pub fn g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType;
13370    pub fn g_socket_get_timeout(socket: *mut GSocket) -> c_uint;
13371    pub fn g_socket_get_ttl(socket: *mut GSocket) -> c_uint;
13372    pub fn g_socket_is_closed(socket: *mut GSocket) -> gboolean;
13373    pub fn g_socket_is_connected(socket: *mut GSocket) -> gboolean;
13374    pub fn g_socket_join_multicast_group(
13375        socket: *mut GSocket,
13376        group: *mut GInetAddress,
13377        source_specific: gboolean,
13378        iface: *const c_char,
13379        error: *mut *mut glib::GError,
13380    ) -> gboolean;
13381    pub fn g_socket_join_multicast_group_ssm(
13382        socket: *mut GSocket,
13383        group: *mut GInetAddress,
13384        source_specific: *mut GInetAddress,
13385        iface: *const c_char,
13386        error: *mut *mut glib::GError,
13387    ) -> gboolean;
13388    pub fn g_socket_leave_multicast_group(
13389        socket: *mut GSocket,
13390        group: *mut GInetAddress,
13391        source_specific: gboolean,
13392        iface: *const c_char,
13393        error: *mut *mut glib::GError,
13394    ) -> gboolean;
13395    pub fn g_socket_leave_multicast_group_ssm(
13396        socket: *mut GSocket,
13397        group: *mut GInetAddress,
13398        source_specific: *mut GInetAddress,
13399        iface: *const c_char,
13400        error: *mut *mut glib::GError,
13401    ) -> gboolean;
13402    pub fn g_socket_listen(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13403    pub fn g_socket_receive(
13404        socket: *mut GSocket,
13405        buffer: *mut u8,
13406        size: size_t,
13407        cancellable: *mut GCancellable,
13408        error: *mut *mut glib::GError,
13409    ) -> ssize_t;
13410    #[cfg(feature = "v2_80")]
13411    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13412    pub fn g_socket_receive_bytes(
13413        socket: *mut GSocket,
13414        size: size_t,
13415        timeout_us: i64,
13416        cancellable: *mut GCancellable,
13417        error: *mut *mut glib::GError,
13418    ) -> *mut glib::GBytes;
13419    #[cfg(feature = "v2_80")]
13420    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13421    pub fn g_socket_receive_bytes_from(
13422        socket: *mut GSocket,
13423        address: *mut *mut GSocketAddress,
13424        size: size_t,
13425        timeout_us: i64,
13426        cancellable: *mut GCancellable,
13427        error: *mut *mut glib::GError,
13428    ) -> *mut glib::GBytes;
13429    pub fn g_socket_receive_from(
13430        socket: *mut GSocket,
13431        address: *mut *mut GSocketAddress,
13432        buffer: *mut u8,
13433        size: size_t,
13434        cancellable: *mut GCancellable,
13435        error: *mut *mut glib::GError,
13436    ) -> ssize_t;
13437    pub fn g_socket_receive_message(
13438        socket: *mut GSocket,
13439        address: *mut *mut GSocketAddress,
13440        vectors: *mut GInputVector,
13441        num_vectors: c_int,
13442        messages: *mut *mut *mut GSocketControlMessage,
13443        num_messages: *mut c_int,
13444        flags: *mut c_int,
13445        cancellable: *mut GCancellable,
13446        error: *mut *mut glib::GError,
13447    ) -> ssize_t;
13448    pub fn g_socket_receive_messages(
13449        socket: *mut GSocket,
13450        messages: *mut GInputMessage,
13451        num_messages: c_uint,
13452        flags: c_int,
13453        cancellable: *mut GCancellable,
13454        error: *mut *mut glib::GError,
13455    ) -> c_int;
13456    pub fn g_socket_receive_with_blocking(
13457        socket: *mut GSocket,
13458        buffer: *mut u8,
13459        size: size_t,
13460        blocking: gboolean,
13461        cancellable: *mut GCancellable,
13462        error: *mut *mut glib::GError,
13463    ) -> ssize_t;
13464    pub fn g_socket_send(
13465        socket: *mut GSocket,
13466        buffer: *const u8,
13467        size: size_t,
13468        cancellable: *mut GCancellable,
13469        error: *mut *mut glib::GError,
13470    ) -> ssize_t;
13471    pub fn g_socket_send_message(
13472        socket: *mut GSocket,
13473        address: *mut GSocketAddress,
13474        vectors: *mut GOutputVector,
13475        num_vectors: c_int,
13476        messages: *mut *mut GSocketControlMessage,
13477        num_messages: c_int,
13478        flags: c_int,
13479        cancellable: *mut GCancellable,
13480        error: *mut *mut glib::GError,
13481    ) -> ssize_t;
13482    #[cfg(feature = "v2_60")]
13483    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13484    pub fn g_socket_send_message_with_timeout(
13485        socket: *mut GSocket,
13486        address: *mut GSocketAddress,
13487        vectors: *const GOutputVector,
13488        num_vectors: c_int,
13489        messages: *mut *mut GSocketControlMessage,
13490        num_messages: c_int,
13491        flags: c_int,
13492        timeout_us: i64,
13493        bytes_written: *mut size_t,
13494        cancellable: *mut GCancellable,
13495        error: *mut *mut glib::GError,
13496    ) -> GPollableReturn;
13497    pub fn g_socket_send_messages(
13498        socket: *mut GSocket,
13499        messages: *mut GOutputMessage,
13500        num_messages: c_uint,
13501        flags: c_int,
13502        cancellable: *mut GCancellable,
13503        error: *mut *mut glib::GError,
13504    ) -> c_int;
13505    pub fn g_socket_send_to(
13506        socket: *mut GSocket,
13507        address: *mut GSocketAddress,
13508        buffer: *const u8,
13509        size: size_t,
13510        cancellable: *mut GCancellable,
13511        error: *mut *mut glib::GError,
13512    ) -> ssize_t;
13513    pub fn g_socket_send_with_blocking(
13514        socket: *mut GSocket,
13515        buffer: *const u8,
13516        size: size_t,
13517        blocking: gboolean,
13518        cancellable: *mut GCancellable,
13519        error: *mut *mut glib::GError,
13520    ) -> ssize_t;
13521    pub fn g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean);
13522    pub fn g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean);
13523    pub fn g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean);
13524    pub fn g_socket_set_listen_backlog(socket: *mut GSocket, backlog: c_int);
13525    pub fn g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean);
13526    pub fn g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: c_uint);
13527    pub fn g_socket_set_option(
13528        socket: *mut GSocket,
13529        level: c_int,
13530        optname: c_int,
13531        value: c_int,
13532        error: *mut *mut glib::GError,
13533    ) -> gboolean;
13534    pub fn g_socket_set_timeout(socket: *mut GSocket, timeout: c_uint);
13535    pub fn g_socket_set_ttl(socket: *mut GSocket, ttl: c_uint);
13536    pub fn g_socket_shutdown(
13537        socket: *mut GSocket,
13538        shutdown_read: gboolean,
13539        shutdown_write: gboolean,
13540        error: *mut *mut glib::GError,
13541    ) -> gboolean;
13542    pub fn g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean;
13543
13544    //=========================================================================
13545    // GSocketAddress
13546    //=========================================================================
13547    pub fn g_socket_address_get_type() -> GType;
13548    pub fn g_socket_address_new_from_native(native: gpointer, len: size_t) -> *mut GSocketAddress;
13549    pub fn g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily;
13550    pub fn g_socket_address_get_native_size(address: *mut GSocketAddress) -> ssize_t;
13551    pub fn g_socket_address_to_native(
13552        address: *mut GSocketAddress,
13553        dest: gpointer,
13554        destlen: size_t,
13555        error: *mut *mut glib::GError,
13556    ) -> gboolean;
13557
13558    //=========================================================================
13559    // GSocketAddressEnumerator
13560    //=========================================================================
13561    pub fn g_socket_address_enumerator_get_type() -> GType;
13562    pub fn g_socket_address_enumerator_next(
13563        enumerator: *mut GSocketAddressEnumerator,
13564        cancellable: *mut GCancellable,
13565        error: *mut *mut glib::GError,
13566    ) -> *mut GSocketAddress;
13567    pub fn g_socket_address_enumerator_next_async(
13568        enumerator: *mut GSocketAddressEnumerator,
13569        cancellable: *mut GCancellable,
13570        callback: GAsyncReadyCallback,
13571        user_data: gpointer,
13572    );
13573    pub fn g_socket_address_enumerator_next_finish(
13574        enumerator: *mut GSocketAddressEnumerator,
13575        result: *mut GAsyncResult,
13576        error: *mut *mut glib::GError,
13577    ) -> *mut GSocketAddress;
13578
13579    //=========================================================================
13580    // GSocketClient
13581    //=========================================================================
13582    pub fn g_socket_client_get_type() -> GType;
13583    pub fn g_socket_client_new() -> *mut GSocketClient;
13584    pub fn g_socket_client_add_application_proxy(
13585        client: *mut GSocketClient,
13586        protocol: *const c_char,
13587    );
13588    pub fn g_socket_client_connect(
13589        client: *mut GSocketClient,
13590        connectable: *mut GSocketConnectable,
13591        cancellable: *mut GCancellable,
13592        error: *mut *mut glib::GError,
13593    ) -> *mut GSocketConnection;
13594    pub fn g_socket_client_connect_async(
13595        client: *mut GSocketClient,
13596        connectable: *mut GSocketConnectable,
13597        cancellable: *mut GCancellable,
13598        callback: GAsyncReadyCallback,
13599        user_data: gpointer,
13600    );
13601    pub fn g_socket_client_connect_finish(
13602        client: *mut GSocketClient,
13603        result: *mut GAsyncResult,
13604        error: *mut *mut glib::GError,
13605    ) -> *mut GSocketConnection;
13606    pub fn g_socket_client_connect_to_host(
13607        client: *mut GSocketClient,
13608        host_and_port: *const c_char,
13609        default_port: u16,
13610        cancellable: *mut GCancellable,
13611        error: *mut *mut glib::GError,
13612    ) -> *mut GSocketConnection;
13613    pub fn g_socket_client_connect_to_host_async(
13614        client: *mut GSocketClient,
13615        host_and_port: *const c_char,
13616        default_port: u16,
13617        cancellable: *mut GCancellable,
13618        callback: GAsyncReadyCallback,
13619        user_data: gpointer,
13620    );
13621    pub fn g_socket_client_connect_to_host_finish(
13622        client: *mut GSocketClient,
13623        result: *mut GAsyncResult,
13624        error: *mut *mut glib::GError,
13625    ) -> *mut GSocketConnection;
13626    pub fn g_socket_client_connect_to_service(
13627        client: *mut GSocketClient,
13628        domain: *const c_char,
13629        service: *const c_char,
13630        cancellable: *mut GCancellable,
13631        error: *mut *mut glib::GError,
13632    ) -> *mut GSocketConnection;
13633    pub fn g_socket_client_connect_to_service_async(
13634        client: *mut GSocketClient,
13635        domain: *const c_char,
13636        service: *const c_char,
13637        cancellable: *mut GCancellable,
13638        callback: GAsyncReadyCallback,
13639        user_data: gpointer,
13640    );
13641    pub fn g_socket_client_connect_to_service_finish(
13642        client: *mut GSocketClient,
13643        result: *mut GAsyncResult,
13644        error: *mut *mut glib::GError,
13645    ) -> *mut GSocketConnection;
13646    pub fn g_socket_client_connect_to_uri(
13647        client: *mut GSocketClient,
13648        uri: *const c_char,
13649        default_port: u16,
13650        cancellable: *mut GCancellable,
13651        error: *mut *mut glib::GError,
13652    ) -> *mut GSocketConnection;
13653    pub fn g_socket_client_connect_to_uri_async(
13654        client: *mut GSocketClient,
13655        uri: *const c_char,
13656        default_port: u16,
13657        cancellable: *mut GCancellable,
13658        callback: GAsyncReadyCallback,
13659        user_data: gpointer,
13660    );
13661    pub fn g_socket_client_connect_to_uri_finish(
13662        client: *mut GSocketClient,
13663        result: *mut GAsyncResult,
13664        error: *mut *mut glib::GError,
13665    ) -> *mut GSocketConnection;
13666    pub fn g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean;
13667    pub fn g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily;
13668    pub fn g_socket_client_get_local_address(client: *mut GSocketClient) -> *mut GSocketAddress;
13669    pub fn g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol;
13670    pub fn g_socket_client_get_proxy_resolver(client: *mut GSocketClient) -> *mut GProxyResolver;
13671    pub fn g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType;
13672    pub fn g_socket_client_get_timeout(client: *mut GSocketClient) -> c_uint;
13673    pub fn g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean;
13674    pub fn g_socket_client_get_tls_validation_flags(
13675        client: *mut GSocketClient,
13676    ) -> GTlsCertificateFlags;
13677    pub fn g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean);
13678    pub fn g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily);
13679    pub fn g_socket_client_set_local_address(
13680        client: *mut GSocketClient,
13681        address: *mut GSocketAddress,
13682    );
13683    pub fn g_socket_client_set_protocol(client: *mut GSocketClient, protocol: GSocketProtocol);
13684    pub fn g_socket_client_set_proxy_resolver(
13685        client: *mut GSocketClient,
13686        proxy_resolver: *mut GProxyResolver,
13687    );
13688    pub fn g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType);
13689    pub fn g_socket_client_set_timeout(client: *mut GSocketClient, timeout: c_uint);
13690    pub fn g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean);
13691    pub fn g_socket_client_set_tls_validation_flags(
13692        client: *mut GSocketClient,
13693        flags: GTlsCertificateFlags,
13694    );
13695
13696    //=========================================================================
13697    // GSocketConnection
13698    //=========================================================================
13699    pub fn g_socket_connection_get_type() -> GType;
13700    pub fn g_socket_connection_factory_lookup_type(
13701        family: GSocketFamily,
13702        type_: GSocketType,
13703        protocol_id: c_int,
13704    ) -> GType;
13705    pub fn g_socket_connection_factory_register_type(
13706        g_type: GType,
13707        family: GSocketFamily,
13708        type_: GSocketType,
13709        protocol: c_int,
13710    );
13711    pub fn g_socket_connection_connect(
13712        connection: *mut GSocketConnection,
13713        address: *mut GSocketAddress,
13714        cancellable: *mut GCancellable,
13715        error: *mut *mut glib::GError,
13716    ) -> gboolean;
13717    pub fn g_socket_connection_connect_async(
13718        connection: *mut GSocketConnection,
13719        address: *mut GSocketAddress,
13720        cancellable: *mut GCancellable,
13721        callback: GAsyncReadyCallback,
13722        user_data: gpointer,
13723    );
13724    pub fn g_socket_connection_connect_finish(
13725        connection: *mut GSocketConnection,
13726        result: *mut GAsyncResult,
13727        error: *mut *mut glib::GError,
13728    ) -> gboolean;
13729    pub fn g_socket_connection_get_local_address(
13730        connection: *mut GSocketConnection,
13731        error: *mut *mut glib::GError,
13732    ) -> *mut GSocketAddress;
13733    pub fn g_socket_connection_get_remote_address(
13734        connection: *mut GSocketConnection,
13735        error: *mut *mut glib::GError,
13736    ) -> *mut GSocketAddress;
13737    pub fn g_socket_connection_get_socket(connection: *mut GSocketConnection) -> *mut GSocket;
13738    pub fn g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean;
13739
13740    //=========================================================================
13741    // GSocketControlMessage
13742    //=========================================================================
13743    pub fn g_socket_control_message_get_type() -> GType;
13744    pub fn g_socket_control_message_deserialize(
13745        level: c_int,
13746        type_: c_int,
13747        size: size_t,
13748        data: gpointer,
13749    ) -> *mut GSocketControlMessage;
13750    pub fn g_socket_control_message_get_level(message: *mut GSocketControlMessage) -> c_int;
13751    pub fn g_socket_control_message_get_msg_type(message: *mut GSocketControlMessage) -> c_int;
13752    pub fn g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> size_t;
13753    pub fn g_socket_control_message_serialize(message: *mut GSocketControlMessage, data: gpointer);
13754
13755    //=========================================================================
13756    // GSocketListener
13757    //=========================================================================
13758    pub fn g_socket_listener_get_type() -> GType;
13759    pub fn g_socket_listener_new() -> *mut GSocketListener;
13760    pub fn g_socket_listener_accept(
13761        listener: *mut GSocketListener,
13762        source_object: *mut *mut gobject::GObject,
13763        cancellable: *mut GCancellable,
13764        error: *mut *mut glib::GError,
13765    ) -> *mut GSocketConnection;
13766    pub fn g_socket_listener_accept_async(
13767        listener: *mut GSocketListener,
13768        cancellable: *mut GCancellable,
13769        callback: GAsyncReadyCallback,
13770        user_data: gpointer,
13771    );
13772    pub fn g_socket_listener_accept_finish(
13773        listener: *mut GSocketListener,
13774        result: *mut GAsyncResult,
13775        source_object: *mut *mut gobject::GObject,
13776        error: *mut *mut glib::GError,
13777    ) -> *mut GSocketConnection;
13778    pub fn g_socket_listener_accept_socket(
13779        listener: *mut GSocketListener,
13780        source_object: *mut *mut gobject::GObject,
13781        cancellable: *mut GCancellable,
13782        error: *mut *mut glib::GError,
13783    ) -> *mut GSocket;
13784    pub fn g_socket_listener_accept_socket_async(
13785        listener: *mut GSocketListener,
13786        cancellable: *mut GCancellable,
13787        callback: GAsyncReadyCallback,
13788        user_data: gpointer,
13789    );
13790    pub fn g_socket_listener_accept_socket_finish(
13791        listener: *mut GSocketListener,
13792        result: *mut GAsyncResult,
13793        source_object: *mut *mut gobject::GObject,
13794        error: *mut *mut glib::GError,
13795    ) -> *mut GSocket;
13796    pub fn g_socket_listener_add_address(
13797        listener: *mut GSocketListener,
13798        address: *mut GSocketAddress,
13799        type_: GSocketType,
13800        protocol: GSocketProtocol,
13801        source_object: *mut gobject::GObject,
13802        effective_address: *mut *mut GSocketAddress,
13803        error: *mut *mut glib::GError,
13804    ) -> gboolean;
13805    pub fn g_socket_listener_add_any_inet_port(
13806        listener: *mut GSocketListener,
13807        source_object: *mut gobject::GObject,
13808        error: *mut *mut glib::GError,
13809    ) -> u16;
13810    pub fn g_socket_listener_add_inet_port(
13811        listener: *mut GSocketListener,
13812        port: u16,
13813        source_object: *mut gobject::GObject,
13814        error: *mut *mut glib::GError,
13815    ) -> gboolean;
13816    pub fn g_socket_listener_add_socket(
13817        listener: *mut GSocketListener,
13818        socket: *mut GSocket,
13819        source_object: *mut gobject::GObject,
13820        error: *mut *mut glib::GError,
13821    ) -> gboolean;
13822    pub fn g_socket_listener_close(listener: *mut GSocketListener);
13823    pub fn g_socket_listener_set_backlog(listener: *mut GSocketListener, listen_backlog: c_int);
13824
13825    //=========================================================================
13826    // GSocketService
13827    //=========================================================================
13828    pub fn g_socket_service_get_type() -> GType;
13829    pub fn g_socket_service_new() -> *mut GSocketService;
13830    pub fn g_socket_service_is_active(service: *mut GSocketService) -> gboolean;
13831    pub fn g_socket_service_start(service: *mut GSocketService);
13832    pub fn g_socket_service_stop(service: *mut GSocketService);
13833
13834    //=========================================================================
13835    // GSubprocess
13836    //=========================================================================
13837    pub fn g_subprocess_get_type() -> GType;
13838    pub fn g_subprocess_new(
13839        flags: GSubprocessFlags,
13840        error: *mut *mut glib::GError,
13841        argv0: *const c_char,
13842        ...
13843    ) -> *mut GSubprocess;
13844    pub fn g_subprocess_newv(
13845        argv: *const *const c_char,
13846        flags: GSubprocessFlags,
13847        error: *mut *mut glib::GError,
13848    ) -> *mut GSubprocess;
13849    pub fn g_subprocess_communicate(
13850        subprocess: *mut GSubprocess,
13851        stdin_buf: *mut glib::GBytes,
13852        cancellable: *mut GCancellable,
13853        stdout_buf: *mut *mut glib::GBytes,
13854        stderr_buf: *mut *mut glib::GBytes,
13855        error: *mut *mut glib::GError,
13856    ) -> gboolean;
13857    pub fn g_subprocess_communicate_async(
13858        subprocess: *mut GSubprocess,
13859        stdin_buf: *mut glib::GBytes,
13860        cancellable: *mut GCancellable,
13861        callback: GAsyncReadyCallback,
13862        user_data: gpointer,
13863    );
13864    pub fn g_subprocess_communicate_finish(
13865        subprocess: *mut GSubprocess,
13866        result: *mut GAsyncResult,
13867        stdout_buf: *mut *mut glib::GBytes,
13868        stderr_buf: *mut *mut glib::GBytes,
13869        error: *mut *mut glib::GError,
13870    ) -> gboolean;
13871    pub fn g_subprocess_communicate_utf8(
13872        subprocess: *mut GSubprocess,
13873        stdin_buf: *const c_char,
13874        cancellable: *mut GCancellable,
13875        stdout_buf: *mut *mut c_char,
13876        stderr_buf: *mut *mut c_char,
13877        error: *mut *mut glib::GError,
13878    ) -> gboolean;
13879    pub fn g_subprocess_communicate_utf8_async(
13880        subprocess: *mut GSubprocess,
13881        stdin_buf: *const c_char,
13882        cancellable: *mut GCancellable,
13883        callback: GAsyncReadyCallback,
13884        user_data: gpointer,
13885    );
13886    pub fn g_subprocess_communicate_utf8_finish(
13887        subprocess: *mut GSubprocess,
13888        result: *mut GAsyncResult,
13889        stdout_buf: *mut *mut c_char,
13890        stderr_buf: *mut *mut c_char,
13891        error: *mut *mut glib::GError,
13892    ) -> gboolean;
13893    pub fn g_subprocess_force_exit(subprocess: *mut GSubprocess);
13894    pub fn g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> c_int;
13895    pub fn g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const c_char;
13896    pub fn g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean;
13897    pub fn g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean;
13898    pub fn g_subprocess_get_status(subprocess: *mut GSubprocess) -> c_int;
13899    pub fn g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13900    pub fn g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream;
13901    pub fn g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13902    pub fn g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean;
13903    pub fn g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> c_int;
13904    pub fn g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: c_int);
13905    pub fn g_subprocess_wait(
13906        subprocess: *mut GSubprocess,
13907        cancellable: *mut GCancellable,
13908        error: *mut *mut glib::GError,
13909    ) -> gboolean;
13910    pub fn g_subprocess_wait_async(
13911        subprocess: *mut GSubprocess,
13912        cancellable: *mut GCancellable,
13913        callback: GAsyncReadyCallback,
13914        user_data: gpointer,
13915    );
13916    pub fn g_subprocess_wait_check(
13917        subprocess: *mut GSubprocess,
13918        cancellable: *mut GCancellable,
13919        error: *mut *mut glib::GError,
13920    ) -> gboolean;
13921    pub fn g_subprocess_wait_check_async(
13922        subprocess: *mut GSubprocess,
13923        cancellable: *mut GCancellable,
13924        callback: GAsyncReadyCallback,
13925        user_data: gpointer,
13926    );
13927    pub fn g_subprocess_wait_check_finish(
13928        subprocess: *mut GSubprocess,
13929        result: *mut GAsyncResult,
13930        error: *mut *mut glib::GError,
13931    ) -> gboolean;
13932    pub fn g_subprocess_wait_finish(
13933        subprocess: *mut GSubprocess,
13934        result: *mut GAsyncResult,
13935        error: *mut *mut glib::GError,
13936    ) -> gboolean;
13937
13938    //=========================================================================
13939    // GSubprocessLauncher
13940    //=========================================================================
13941    pub fn g_subprocess_launcher_get_type() -> GType;
13942    pub fn g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher;
13943    #[cfg(feature = "v2_68")]
13944    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
13945    #[cfg(unix)]
13946    #[cfg_attr(docsrs, doc(cfg(unix)))]
13947    pub fn g_subprocess_launcher_close(self_: *mut GSubprocessLauncher);
13948    pub fn g_subprocess_launcher_getenv(
13949        self_: *mut GSubprocessLauncher,
13950        variable: *const c_char,
13951    ) -> *const c_char;
13952    #[cfg(unix)]
13953    #[cfg_attr(docsrs, doc(cfg(unix)))]
13954    pub fn g_subprocess_launcher_set_child_setup(
13955        self_: *mut GSubprocessLauncher,
13956        child_setup: glib::GSpawnChildSetupFunc,
13957        user_data: gpointer,
13958        destroy_notify: glib::GDestroyNotify,
13959    );
13960    pub fn g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const c_char);
13961    pub fn g_subprocess_launcher_set_environ(
13962        self_: *mut GSubprocessLauncher,
13963        env: *mut *mut c_char,
13964    );
13965    pub fn g_subprocess_launcher_set_flags(
13966        self_: *mut GSubprocessLauncher,
13967        flags: GSubprocessFlags,
13968    );
13969    #[cfg(unix)]
13970    #[cfg_attr(docsrs, doc(cfg(unix)))]
13971    pub fn g_subprocess_launcher_set_stderr_file_path(
13972        self_: *mut GSubprocessLauncher,
13973        path: *const c_char,
13974    );
13975    #[cfg(unix)]
13976    #[cfg_attr(docsrs, doc(cfg(unix)))]
13977    pub fn g_subprocess_launcher_set_stdin_file_path(
13978        self_: *mut GSubprocessLauncher,
13979        path: *const c_char,
13980    );
13981    #[cfg(unix)]
13982    #[cfg_attr(docsrs, doc(cfg(unix)))]
13983    pub fn g_subprocess_launcher_set_stdout_file_path(
13984        self_: *mut GSubprocessLauncher,
13985        path: *const c_char,
13986    );
13987    pub fn g_subprocess_launcher_setenv(
13988        self_: *mut GSubprocessLauncher,
13989        variable: *const c_char,
13990        value: *const c_char,
13991        overwrite: gboolean,
13992    );
13993    pub fn g_subprocess_launcher_spawn(
13994        self_: *mut GSubprocessLauncher,
13995        error: *mut *mut glib::GError,
13996        argv0: *const c_char,
13997        ...
13998    ) -> *mut GSubprocess;
13999    pub fn g_subprocess_launcher_spawnv(
14000        self_: *mut GSubprocessLauncher,
14001        argv: *const *const c_char,
14002        error: *mut *mut glib::GError,
14003    ) -> *mut GSubprocess;
14004    #[cfg(unix)]
14005    #[cfg_attr(docsrs, doc(cfg(unix)))]
14006    pub fn g_subprocess_launcher_take_fd(
14007        self_: *mut GSubprocessLauncher,
14008        source_fd: c_int,
14009        target_fd: c_int,
14010    );
14011    #[cfg(unix)]
14012    #[cfg_attr(docsrs, doc(cfg(unix)))]
14013    pub fn g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14014    #[cfg(unix)]
14015    #[cfg_attr(docsrs, doc(cfg(unix)))]
14016    pub fn g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14017    #[cfg(unix)]
14018    #[cfg_attr(docsrs, doc(cfg(unix)))]
14019    pub fn g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14020    pub fn g_subprocess_launcher_unsetenv(self_: *mut GSubprocessLauncher, variable: *const c_char);
14021
14022    //=========================================================================
14023    // GTask
14024    //=========================================================================
14025    pub fn g_task_get_type() -> GType;
14026    pub fn g_task_new(
14027        source_object: *mut gobject::GObject,
14028        cancellable: *mut GCancellable,
14029        callback: GAsyncReadyCallback,
14030        callback_data: gpointer,
14031    ) -> *mut GTask;
14032    pub fn g_task_is_valid(
14033        result: *mut GAsyncResult,
14034        source_object: *mut gobject::GObject,
14035    ) -> gboolean;
14036    pub fn g_task_report_error(
14037        source_object: *mut gobject::GObject,
14038        callback: GAsyncReadyCallback,
14039        callback_data: gpointer,
14040        source_tag: gpointer,
14041        error: *mut glib::GError,
14042    );
14043    pub fn g_task_report_new_error(
14044        source_object: *mut gobject::GObject,
14045        callback: GAsyncReadyCallback,
14046        callback_data: gpointer,
14047        source_tag: gpointer,
14048        domain: glib::GQuark,
14049        code: c_int,
14050        format: *const c_char,
14051        ...
14052    );
14053    pub fn g_task_attach_source(
14054        task: *mut GTask,
14055        source: *mut glib::GSource,
14056        callback: glib::GSourceFunc,
14057    );
14058    pub fn g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable;
14059    pub fn g_task_get_check_cancellable(task: *mut GTask) -> gboolean;
14060    pub fn g_task_get_completed(task: *mut GTask) -> gboolean;
14061    pub fn g_task_get_context(task: *mut GTask) -> *mut glib::GMainContext;
14062    #[cfg(feature = "v2_60")]
14063    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14064    pub fn g_task_get_name(task: *mut GTask) -> *const c_char;
14065    pub fn g_task_get_priority(task: *mut GTask) -> c_int;
14066    pub fn g_task_get_return_on_cancel(task: *mut GTask) -> gboolean;
14067    pub fn g_task_get_source_object(task: *mut GTask) -> *mut gobject::GObject;
14068    pub fn g_task_get_source_tag(task: *mut GTask) -> gpointer;
14069    pub fn g_task_get_task_data(task: *mut GTask) -> gpointer;
14070    pub fn g_task_had_error(task: *mut GTask) -> gboolean;
14071    pub fn g_task_propagate_boolean(task: *mut GTask, error: *mut *mut glib::GError) -> gboolean;
14072    pub fn g_task_propagate_int(task: *mut GTask, error: *mut *mut glib::GError) -> ssize_t;
14073    pub fn g_task_propagate_pointer(task: *mut GTask, error: *mut *mut glib::GError) -> gpointer;
14074    #[cfg(feature = "v2_64")]
14075    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14076    pub fn g_task_propagate_value(
14077        task: *mut GTask,
14078        value: *mut gobject::GValue,
14079        error: *mut *mut glib::GError,
14080    ) -> gboolean;
14081    pub fn g_task_return_boolean(task: *mut GTask, result: gboolean);
14082    pub fn g_task_return_error(task: *mut GTask, error: *mut glib::GError);
14083    pub fn g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean;
14084    pub fn g_task_return_int(task: *mut GTask, result: ssize_t);
14085    pub fn g_task_return_new_error(
14086        task: *mut GTask,
14087        domain: glib::GQuark,
14088        code: c_int,
14089        format: *const c_char,
14090        ...
14091    );
14092    #[cfg(feature = "v2_80")]
14093    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14094    pub fn g_task_return_new_error_literal(
14095        task: *mut GTask,
14096        domain: glib::GQuark,
14097        code: c_int,
14098        message: *const c_char,
14099    );
14100    pub fn g_task_return_pointer(
14101        task: *mut GTask,
14102        result: gpointer,
14103        result_destroy: glib::GDestroyNotify,
14104    );
14105    #[cfg(feature = "v2_80")]
14106    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14107    pub fn g_task_return_prefixed_error(
14108        task: *mut GTask,
14109        error: *mut glib::GError,
14110        format: *const c_char,
14111        ...
14112    );
14113    #[cfg(feature = "v2_64")]
14114    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14115    pub fn g_task_return_value(task: *mut GTask, result: *mut gobject::GValue);
14116    pub fn g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc);
14117    pub fn g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc);
14118    pub fn g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean);
14119    #[cfg(feature = "v2_60")]
14120    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14121    pub fn g_task_set_name(task: *mut GTask, name: *const c_char);
14122    pub fn g_task_set_priority(task: *mut GTask, priority: c_int);
14123    pub fn g_task_set_return_on_cancel(task: *mut GTask, return_on_cancel: gboolean) -> gboolean;
14124    pub fn g_task_set_source_tag(task: *mut GTask, source_tag: gpointer);
14125    #[cfg(feature = "v2_76")]
14126    #[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
14127    pub fn g_task_set_static_name(task: *mut GTask, name: *const c_char);
14128    pub fn g_task_set_task_data(
14129        task: *mut GTask,
14130        task_data: gpointer,
14131        task_data_destroy: glib::GDestroyNotify,
14132    );
14133
14134    //=========================================================================
14135    // GTcpConnection
14136    //=========================================================================
14137    pub fn g_tcp_connection_get_type() -> GType;
14138    pub fn g_tcp_connection_get_graceful_disconnect(connection: *mut GTcpConnection) -> gboolean;
14139    pub fn g_tcp_connection_set_graceful_disconnect(
14140        connection: *mut GTcpConnection,
14141        graceful_disconnect: gboolean,
14142    );
14143
14144    //=========================================================================
14145    // GTcpWrapperConnection
14146    //=========================================================================
14147    pub fn g_tcp_wrapper_connection_get_type() -> GType;
14148    pub fn g_tcp_wrapper_connection_new(
14149        base_io_stream: *mut GIOStream,
14150        socket: *mut GSocket,
14151    ) -> *mut GSocketConnection;
14152    pub fn g_tcp_wrapper_connection_get_base_io_stream(
14153        conn: *mut GTcpWrapperConnection,
14154    ) -> *mut GIOStream;
14155
14156    //=========================================================================
14157    // GTestDBus
14158    //=========================================================================
14159    pub fn g_test_dbus_get_type() -> GType;
14160    pub fn g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus;
14161    pub fn g_test_dbus_unset();
14162    pub fn g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const c_char);
14163    pub fn g_test_dbus_down(self_: *mut GTestDBus);
14164    pub fn g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const c_char;
14165    pub fn g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags;
14166    pub fn g_test_dbus_stop(self_: *mut GTestDBus);
14167    pub fn g_test_dbus_up(self_: *mut GTestDBus);
14168
14169    //=========================================================================
14170    // GThemedIcon
14171    //=========================================================================
14172    pub fn g_themed_icon_get_type() -> GType;
14173    pub fn g_themed_icon_new(iconname: *const c_char) -> *mut GThemedIcon;
14174    pub fn g_themed_icon_new_from_names(
14175        iconnames: *mut *mut c_char,
14176        len: c_int,
14177    ) -> *mut GThemedIcon;
14178    pub fn g_themed_icon_new_with_default_fallbacks(iconname: *const c_char) -> *mut GThemedIcon;
14179    pub fn g_themed_icon_append_name(icon: *mut GThemedIcon, iconname: *const c_char);
14180    pub fn g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const c_char;
14181    pub fn g_themed_icon_prepend_name(icon: *mut GThemedIcon, iconname: *const c_char);
14182
14183    //=========================================================================
14184    // GThreadedResolver
14185    //=========================================================================
14186    pub fn g_threaded_resolver_get_type() -> GType;
14187
14188    //=========================================================================
14189    // GThreadedSocketService
14190    //=========================================================================
14191    pub fn g_threaded_socket_service_get_type() -> GType;
14192    pub fn g_threaded_socket_service_new(max_threads: c_int) -> *mut GSocketService;
14193
14194    //=========================================================================
14195    // GTlsCertificate
14196    //=========================================================================
14197    pub fn g_tls_certificate_get_type() -> GType;
14198    pub fn g_tls_certificate_new_from_file(
14199        file: *const c_char,
14200        error: *mut *mut glib::GError,
14201    ) -> *mut GTlsCertificate;
14202    #[cfg(feature = "v2_72")]
14203    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14204    pub fn g_tls_certificate_new_from_file_with_password(
14205        file: *const c_char,
14206        password: *const c_char,
14207        error: *mut *mut glib::GError,
14208    ) -> *mut GTlsCertificate;
14209    pub fn g_tls_certificate_new_from_files(
14210        cert_file: *const c_char,
14211        key_file: *const c_char,
14212        error: *mut *mut glib::GError,
14213    ) -> *mut GTlsCertificate;
14214    pub fn g_tls_certificate_new_from_pem(
14215        data: *const c_char,
14216        length: ssize_t,
14217        error: *mut *mut glib::GError,
14218    ) -> *mut GTlsCertificate;
14219    #[cfg(feature = "v2_68")]
14220    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
14221    pub fn g_tls_certificate_new_from_pkcs11_uris(
14222        pkcs11_uri: *const c_char,
14223        private_key_pkcs11_uri: *const c_char,
14224        error: *mut *mut glib::GError,
14225    ) -> *mut GTlsCertificate;
14226    #[cfg(feature = "v2_72")]
14227    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14228    pub fn g_tls_certificate_new_from_pkcs12(
14229        data: *const u8,
14230        length: size_t,
14231        password: *const c_char,
14232        error: *mut *mut glib::GError,
14233    ) -> *mut GTlsCertificate;
14234    pub fn g_tls_certificate_list_new_from_file(
14235        file: *const c_char,
14236        error: *mut *mut glib::GError,
14237    ) -> *mut glib::GList;
14238    #[cfg(feature = "v2_70")]
14239    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14240    pub fn g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14241    #[cfg(feature = "v2_70")]
14242    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14243    pub fn g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14244    pub fn g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate;
14245    #[cfg(feature = "v2_70")]
14246    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14247    pub fn g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut c_char;
14248    #[cfg(feature = "v2_70")]
14249    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14250    pub fn g_tls_certificate_get_not_valid_after(
14251        cert: *mut GTlsCertificate,
14252    ) -> *mut glib::GDateTime;
14253    #[cfg(feature = "v2_70")]
14254    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14255    pub fn g_tls_certificate_get_not_valid_before(
14256        cert: *mut GTlsCertificate,
14257    ) -> *mut glib::GDateTime;
14258    #[cfg(feature = "v2_70")]
14259    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14260    pub fn g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut c_char;
14261    pub fn g_tls_certificate_is_same(
14262        cert_one: *mut GTlsCertificate,
14263        cert_two: *mut GTlsCertificate,
14264    ) -> gboolean;
14265    pub fn g_tls_certificate_verify(
14266        cert: *mut GTlsCertificate,
14267        identity: *mut GSocketConnectable,
14268        trusted_ca: *mut GTlsCertificate,
14269    ) -> GTlsCertificateFlags;
14270
14271    //=========================================================================
14272    // GTlsConnection
14273    //=========================================================================
14274    pub fn g_tls_connection_get_type() -> GType;
14275    pub fn g_tls_connection_emit_accept_certificate(
14276        conn: *mut GTlsConnection,
14277        peer_cert: *mut GTlsCertificate,
14278        errors: GTlsCertificateFlags,
14279    ) -> gboolean;
14280    pub fn g_tls_connection_get_certificate(conn: *mut GTlsConnection) -> *mut GTlsCertificate;
14281    #[cfg(feature = "v2_66")]
14282    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
14283    pub fn g_tls_connection_get_channel_binding_data(
14284        conn: *mut GTlsConnection,
14285        type_: GTlsChannelBindingType,
14286        data: *mut glib::GByteArray,
14287        error: *mut *mut glib::GError,
14288    ) -> gboolean;
14289    #[cfg(feature = "v2_70")]
14290    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14291    pub fn g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut c_char;
14292    pub fn g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase;
14293    pub fn g_tls_connection_get_interaction(conn: *mut GTlsConnection) -> *mut GTlsInteraction;
14294    #[cfg(feature = "v2_60")]
14295    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14296    pub fn g_tls_connection_get_negotiated_protocol(conn: *mut GTlsConnection) -> *const c_char;
14297    pub fn g_tls_connection_get_peer_certificate(conn: *mut GTlsConnection)
14298    -> *mut GTlsCertificate;
14299    pub fn g_tls_connection_get_peer_certificate_errors(
14300        conn: *mut GTlsConnection,
14301    ) -> GTlsCertificateFlags;
14302    #[cfg(feature = "v2_70")]
14303    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14304    pub fn g_tls_connection_get_protocol_version(conn: *mut GTlsConnection) -> GTlsProtocolVersion;
14305    pub fn g_tls_connection_get_rehandshake_mode(conn: *mut GTlsConnection) -> GTlsRehandshakeMode;
14306    pub fn g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean;
14307    pub fn g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean;
14308    pub fn g_tls_connection_handshake(
14309        conn: *mut GTlsConnection,
14310        cancellable: *mut GCancellable,
14311        error: *mut *mut glib::GError,
14312    ) -> gboolean;
14313    pub fn g_tls_connection_handshake_async(
14314        conn: *mut GTlsConnection,
14315        io_priority: c_int,
14316        cancellable: *mut GCancellable,
14317        callback: GAsyncReadyCallback,
14318        user_data: gpointer,
14319    );
14320    pub fn g_tls_connection_handshake_finish(
14321        conn: *mut GTlsConnection,
14322        result: *mut GAsyncResult,
14323        error: *mut *mut glib::GError,
14324    ) -> gboolean;
14325    #[cfg(feature = "v2_60")]
14326    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14327    pub fn g_tls_connection_set_advertised_protocols(
14328        conn: *mut GTlsConnection,
14329        protocols: *const *const c_char,
14330    );
14331    pub fn g_tls_connection_set_certificate(
14332        conn: *mut GTlsConnection,
14333        certificate: *mut GTlsCertificate,
14334    );
14335    pub fn g_tls_connection_set_database(conn: *mut GTlsConnection, database: *mut GTlsDatabase);
14336    pub fn g_tls_connection_set_interaction(
14337        conn: *mut GTlsConnection,
14338        interaction: *mut GTlsInteraction,
14339    );
14340    pub fn g_tls_connection_set_rehandshake_mode(
14341        conn: *mut GTlsConnection,
14342        mode: GTlsRehandshakeMode,
14343    );
14344    pub fn g_tls_connection_set_require_close_notify(
14345        conn: *mut GTlsConnection,
14346        require_close_notify: gboolean,
14347    );
14348    pub fn g_tls_connection_set_use_system_certdb(
14349        conn: *mut GTlsConnection,
14350        use_system_certdb: gboolean,
14351    );
14352
14353    //=========================================================================
14354    // GTlsDatabase
14355    //=========================================================================
14356    pub fn g_tls_database_get_type() -> GType;
14357    pub fn g_tls_database_create_certificate_handle(
14358        self_: *mut GTlsDatabase,
14359        certificate: *mut GTlsCertificate,
14360    ) -> *mut c_char;
14361    pub fn g_tls_database_lookup_certificate_for_handle(
14362        self_: *mut GTlsDatabase,
14363        handle: *const c_char,
14364        interaction: *mut GTlsInteraction,
14365        flags: GTlsDatabaseLookupFlags,
14366        cancellable: *mut GCancellable,
14367        error: *mut *mut glib::GError,
14368    ) -> *mut GTlsCertificate;
14369    pub fn g_tls_database_lookup_certificate_for_handle_async(
14370        self_: *mut GTlsDatabase,
14371        handle: *const c_char,
14372        interaction: *mut GTlsInteraction,
14373        flags: GTlsDatabaseLookupFlags,
14374        cancellable: *mut GCancellable,
14375        callback: GAsyncReadyCallback,
14376        user_data: gpointer,
14377    );
14378    pub fn g_tls_database_lookup_certificate_for_handle_finish(
14379        self_: *mut GTlsDatabase,
14380        result: *mut GAsyncResult,
14381        error: *mut *mut glib::GError,
14382    ) -> *mut GTlsCertificate;
14383    pub fn g_tls_database_lookup_certificate_issuer(
14384        self_: *mut GTlsDatabase,
14385        certificate: *mut GTlsCertificate,
14386        interaction: *mut GTlsInteraction,
14387        flags: GTlsDatabaseLookupFlags,
14388        cancellable: *mut GCancellable,
14389        error: *mut *mut glib::GError,
14390    ) -> *mut GTlsCertificate;
14391    pub fn g_tls_database_lookup_certificate_issuer_async(
14392        self_: *mut GTlsDatabase,
14393        certificate: *mut GTlsCertificate,
14394        interaction: *mut GTlsInteraction,
14395        flags: GTlsDatabaseLookupFlags,
14396        cancellable: *mut GCancellable,
14397        callback: GAsyncReadyCallback,
14398        user_data: gpointer,
14399    );
14400    pub fn g_tls_database_lookup_certificate_issuer_finish(
14401        self_: *mut GTlsDatabase,
14402        result: *mut GAsyncResult,
14403        error: *mut *mut glib::GError,
14404    ) -> *mut GTlsCertificate;
14405    pub fn g_tls_database_lookup_certificates_issued_by(
14406        self_: *mut GTlsDatabase,
14407        issuer_raw_dn: *mut glib::GByteArray,
14408        interaction: *mut GTlsInteraction,
14409        flags: GTlsDatabaseLookupFlags,
14410        cancellable: *mut GCancellable,
14411        error: *mut *mut glib::GError,
14412    ) -> *mut glib::GList;
14413    pub fn g_tls_database_lookup_certificates_issued_by_async(
14414        self_: *mut GTlsDatabase,
14415        issuer_raw_dn: *mut glib::GByteArray,
14416        interaction: *mut GTlsInteraction,
14417        flags: GTlsDatabaseLookupFlags,
14418        cancellable: *mut GCancellable,
14419        callback: GAsyncReadyCallback,
14420        user_data: gpointer,
14421    );
14422    pub fn g_tls_database_lookup_certificates_issued_by_finish(
14423        self_: *mut GTlsDatabase,
14424        result: *mut GAsyncResult,
14425        error: *mut *mut glib::GError,
14426    ) -> *mut glib::GList;
14427    pub fn g_tls_database_verify_chain(
14428        self_: *mut GTlsDatabase,
14429        chain: *mut GTlsCertificate,
14430        purpose: *const c_char,
14431        identity: *mut GSocketConnectable,
14432        interaction: *mut GTlsInteraction,
14433        flags: GTlsDatabaseVerifyFlags,
14434        cancellable: *mut GCancellable,
14435        error: *mut *mut glib::GError,
14436    ) -> GTlsCertificateFlags;
14437    pub fn g_tls_database_verify_chain_async(
14438        self_: *mut GTlsDatabase,
14439        chain: *mut GTlsCertificate,
14440        purpose: *const c_char,
14441        identity: *mut GSocketConnectable,
14442        interaction: *mut GTlsInteraction,
14443        flags: GTlsDatabaseVerifyFlags,
14444        cancellable: *mut GCancellable,
14445        callback: GAsyncReadyCallback,
14446        user_data: gpointer,
14447    );
14448    pub fn g_tls_database_verify_chain_finish(
14449        self_: *mut GTlsDatabase,
14450        result: *mut GAsyncResult,
14451        error: *mut *mut glib::GError,
14452    ) -> GTlsCertificateFlags;
14453
14454    //=========================================================================
14455    // GTlsInteraction
14456    //=========================================================================
14457    pub fn g_tls_interaction_get_type() -> GType;
14458    pub fn g_tls_interaction_ask_password(
14459        interaction: *mut GTlsInteraction,
14460        password: *mut GTlsPassword,
14461        cancellable: *mut GCancellable,
14462        error: *mut *mut glib::GError,
14463    ) -> GTlsInteractionResult;
14464    pub fn g_tls_interaction_ask_password_async(
14465        interaction: *mut GTlsInteraction,
14466        password: *mut GTlsPassword,
14467        cancellable: *mut GCancellable,
14468        callback: GAsyncReadyCallback,
14469        user_data: gpointer,
14470    );
14471    pub fn g_tls_interaction_ask_password_finish(
14472        interaction: *mut GTlsInteraction,
14473        result: *mut GAsyncResult,
14474        error: *mut *mut glib::GError,
14475    ) -> GTlsInteractionResult;
14476    pub fn g_tls_interaction_invoke_ask_password(
14477        interaction: *mut GTlsInteraction,
14478        password: *mut GTlsPassword,
14479        cancellable: *mut GCancellable,
14480        error: *mut *mut glib::GError,
14481    ) -> GTlsInteractionResult;
14482    pub fn g_tls_interaction_invoke_request_certificate(
14483        interaction: *mut GTlsInteraction,
14484        connection: *mut GTlsConnection,
14485        flags: GTlsCertificateRequestFlags,
14486        cancellable: *mut GCancellable,
14487        error: *mut *mut glib::GError,
14488    ) -> GTlsInteractionResult;
14489    pub fn g_tls_interaction_request_certificate(
14490        interaction: *mut GTlsInteraction,
14491        connection: *mut GTlsConnection,
14492        flags: GTlsCertificateRequestFlags,
14493        cancellable: *mut GCancellable,
14494        error: *mut *mut glib::GError,
14495    ) -> GTlsInteractionResult;
14496    pub fn g_tls_interaction_request_certificate_async(
14497        interaction: *mut GTlsInteraction,
14498        connection: *mut GTlsConnection,
14499        flags: GTlsCertificateRequestFlags,
14500        cancellable: *mut GCancellable,
14501        callback: GAsyncReadyCallback,
14502        user_data: gpointer,
14503    );
14504    pub fn g_tls_interaction_request_certificate_finish(
14505        interaction: *mut GTlsInteraction,
14506        result: *mut GAsyncResult,
14507        error: *mut *mut glib::GError,
14508    ) -> GTlsInteractionResult;
14509
14510    //=========================================================================
14511    // GTlsPassword
14512    //=========================================================================
14513    pub fn g_tls_password_get_type() -> GType;
14514    pub fn g_tls_password_new(
14515        flags: GTlsPasswordFlags,
14516        description: *const c_char,
14517    ) -> *mut GTlsPassword;
14518    pub fn g_tls_password_get_description(password: *mut GTlsPassword) -> *const c_char;
14519    pub fn g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags;
14520    pub fn g_tls_password_get_value(password: *mut GTlsPassword, length: *mut size_t) -> *const u8;
14521    pub fn g_tls_password_get_warning(password: *mut GTlsPassword) -> *const c_char;
14522    pub fn g_tls_password_set_description(password: *mut GTlsPassword, description: *const c_char);
14523    pub fn g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags);
14524    pub fn g_tls_password_set_value(password: *mut GTlsPassword, value: *const u8, length: ssize_t);
14525    pub fn g_tls_password_set_value_full(
14526        password: *mut GTlsPassword,
14527        value: *mut u8,
14528        length: ssize_t,
14529        destroy: glib::GDestroyNotify,
14530    );
14531    pub fn g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const c_char);
14532
14533    //=========================================================================
14534    // GUnixConnection
14535    //=========================================================================
14536    pub fn g_unix_connection_get_type() -> GType;
14537    pub fn g_unix_connection_receive_credentials(
14538        connection: *mut GUnixConnection,
14539        cancellable: *mut GCancellable,
14540        error: *mut *mut glib::GError,
14541    ) -> *mut GCredentials;
14542    pub fn g_unix_connection_receive_credentials_async(
14543        connection: *mut GUnixConnection,
14544        cancellable: *mut GCancellable,
14545        callback: GAsyncReadyCallback,
14546        user_data: gpointer,
14547    );
14548    pub fn g_unix_connection_receive_credentials_finish(
14549        connection: *mut GUnixConnection,
14550        result: *mut GAsyncResult,
14551        error: *mut *mut glib::GError,
14552    ) -> *mut GCredentials;
14553    pub fn g_unix_connection_receive_fd(
14554        connection: *mut GUnixConnection,
14555        cancellable: *mut GCancellable,
14556        error: *mut *mut glib::GError,
14557    ) -> c_int;
14558    pub fn g_unix_connection_send_credentials(
14559        connection: *mut GUnixConnection,
14560        cancellable: *mut GCancellable,
14561        error: *mut *mut glib::GError,
14562    ) -> gboolean;
14563    pub fn g_unix_connection_send_credentials_async(
14564        connection: *mut GUnixConnection,
14565        cancellable: *mut GCancellable,
14566        callback: GAsyncReadyCallback,
14567        user_data: gpointer,
14568    );
14569    pub fn g_unix_connection_send_credentials_finish(
14570        connection: *mut GUnixConnection,
14571        result: *mut GAsyncResult,
14572        error: *mut *mut glib::GError,
14573    ) -> gboolean;
14574    pub fn g_unix_connection_send_fd(
14575        connection: *mut GUnixConnection,
14576        fd: c_int,
14577        cancellable: *mut GCancellable,
14578        error: *mut *mut glib::GError,
14579    ) -> gboolean;
14580
14581    //=========================================================================
14582    // GUnixCredentialsMessage
14583    //=========================================================================
14584    pub fn g_unix_credentials_message_get_type() -> GType;
14585    pub fn g_unix_credentials_message_new() -> *mut GSocketControlMessage;
14586    pub fn g_unix_credentials_message_new_with_credentials(
14587        credentials: *mut GCredentials,
14588    ) -> *mut GSocketControlMessage;
14589    pub fn g_unix_credentials_message_is_supported() -> gboolean;
14590    pub fn g_unix_credentials_message_get_credentials(
14591        message: *mut GUnixCredentialsMessage,
14592    ) -> *mut GCredentials;
14593
14594    //=========================================================================
14595    // GUnixFDList
14596    //=========================================================================
14597    pub fn g_unix_fd_list_get_type() -> GType;
14598    pub fn g_unix_fd_list_new() -> *mut GUnixFDList;
14599    pub fn g_unix_fd_list_new_from_array(fds: *const c_int, n_fds: c_int) -> *mut GUnixFDList;
14600    pub fn g_unix_fd_list_append(
14601        list: *mut GUnixFDList,
14602        fd: c_int,
14603        error: *mut *mut glib::GError,
14604    ) -> c_int;
14605    #[cfg(feature = "v2_90")]
14606    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14607    pub fn g_unix_fd_list_append_take(list: *mut GUnixFDList, fd: c_int) -> size_t;
14608    pub fn g_unix_fd_list_get(
14609        list: *mut GUnixFDList,
14610        index_: c_int,
14611        error: *mut *mut glib::GError,
14612    ) -> c_int;
14613    pub fn g_unix_fd_list_get_length(list: *mut GUnixFDList) -> c_int;
14614    #[cfg(feature = "v2_90")]
14615    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14616    pub fn g_unix_fd_list_lookup(list: *mut GUnixFDList, index_: size_t) -> c_int;
14617    #[cfg(feature = "v2_90")]
14618    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14619    pub fn g_unix_fd_list_peek(list: *mut GUnixFDList, index_: size_t) -> c_int;
14620    pub fn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int;
14621    pub fn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int;
14622
14623    //=========================================================================
14624    // GUnixSocketAddress
14625    //=========================================================================
14626    pub fn g_unix_socket_address_get_type() -> GType;
14627    pub fn g_unix_socket_address_new(path: *const c_char) -> *mut GSocketAddress;
14628    pub fn g_unix_socket_address_new_abstract(
14629        path: *const c_char,
14630        path_len: c_int,
14631    ) -> *mut GSocketAddress;
14632    pub fn g_unix_socket_address_new_with_type(
14633        path: *const c_char,
14634        path_len: c_int,
14635        type_: GUnixSocketAddressType,
14636    ) -> *mut GSocketAddress;
14637    pub fn g_unix_socket_address_abstract_names_supported() -> gboolean;
14638    pub fn g_unix_socket_address_get_address_type(
14639        address: *mut GUnixSocketAddress,
14640    ) -> GUnixSocketAddressType;
14641    pub fn g_unix_socket_address_get_is_abstract(address: *mut GUnixSocketAddress) -> gboolean;
14642    pub fn g_unix_socket_address_get_path(address: *mut GUnixSocketAddress) -> *const c_char;
14643    pub fn g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> size_t;
14644
14645    //=========================================================================
14646    // GVfs
14647    //=========================================================================
14648    pub fn g_vfs_get_type() -> GType;
14649    pub fn g_vfs_get_default() -> *mut GVfs;
14650    pub fn g_vfs_get_local() -> *mut GVfs;
14651    pub fn g_vfs_get_file_for_path(vfs: *mut GVfs, path: *const c_char) -> *mut GFile;
14652    pub fn g_vfs_get_file_for_uri(vfs: *mut GVfs, uri: *const c_char) -> *mut GFile;
14653    pub fn g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const c_char;
14654    pub fn g_vfs_is_active(vfs: *mut GVfs) -> gboolean;
14655    pub fn g_vfs_parse_name(vfs: *mut GVfs, parse_name: *const c_char) -> *mut GFile;
14656    pub fn g_vfs_register_uri_scheme(
14657        vfs: *mut GVfs,
14658        scheme: *const c_char,
14659        uri_func: GVfsFileLookupFunc,
14660        uri_data: gpointer,
14661        uri_destroy: glib::GDestroyNotify,
14662        parse_name_func: GVfsFileLookupFunc,
14663        parse_name_data: gpointer,
14664        parse_name_destroy: glib::GDestroyNotify,
14665    ) -> gboolean;
14666    pub fn g_vfs_unregister_uri_scheme(vfs: *mut GVfs, scheme: *const c_char) -> gboolean;
14667
14668    //=========================================================================
14669    // GVolumeMonitor
14670    //=========================================================================
14671    pub fn g_volume_monitor_get_type() -> GType;
14672    pub fn g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume;
14673    pub fn g_volume_monitor_get() -> *mut GVolumeMonitor;
14674    pub fn g_volume_monitor_get_connected_drives(
14675        volume_monitor: *mut GVolumeMonitor,
14676    ) -> *mut glib::GList;
14677    pub fn g_volume_monitor_get_mount_for_uuid(
14678        volume_monitor: *mut GVolumeMonitor,
14679        uuid: *const c_char,
14680    ) -> *mut GMount;
14681    pub fn g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14682    pub fn g_volume_monitor_get_volume_for_uuid(
14683        volume_monitor: *mut GVolumeMonitor,
14684        uuid: *const c_char,
14685    ) -> *mut GVolume;
14686    pub fn g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14687
14688    //=========================================================================
14689    // GZlibCompressor
14690    //=========================================================================
14691    pub fn g_zlib_compressor_get_type() -> GType;
14692    pub fn g_zlib_compressor_new(
14693        format: GZlibCompressorFormat,
14694        level: c_int,
14695    ) -> *mut GZlibCompressor;
14696    pub fn g_zlib_compressor_get_file_info(compressor: *mut GZlibCompressor) -> *mut GFileInfo;
14697    #[cfg(feature = "v2_86")]
14698    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14699    pub fn g_zlib_compressor_get_os(compressor: *mut GZlibCompressor) -> c_int;
14700    pub fn g_zlib_compressor_set_file_info(
14701        compressor: *mut GZlibCompressor,
14702        file_info: *mut GFileInfo,
14703    );
14704    #[cfg(feature = "v2_86")]
14705    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14706    pub fn g_zlib_compressor_set_os(compressor: *mut GZlibCompressor, os: c_int);
14707
14708    //=========================================================================
14709    // GZlibDecompressor
14710    //=========================================================================
14711    pub fn g_zlib_decompressor_get_type() -> GType;
14712    pub fn g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor;
14713    pub fn g_zlib_decompressor_get_file_info(
14714        decompressor: *mut GZlibDecompressor,
14715    ) -> *mut GFileInfo;
14716
14717    //=========================================================================
14718    // GAction
14719    //=========================================================================
14720    pub fn g_action_get_type() -> GType;
14721    pub fn g_action_name_is_valid(action_name: *const c_char) -> gboolean;
14722    pub fn g_action_parse_detailed_name(
14723        detailed_name: *const c_char,
14724        action_name: *mut *mut c_char,
14725        target_value: *mut *mut glib::GVariant,
14726        error: *mut *mut glib::GError,
14727    ) -> gboolean;
14728    pub fn g_action_print_detailed_name(
14729        action_name: *const c_char,
14730        target_value: *mut glib::GVariant,
14731    ) -> *mut c_char;
14732    pub fn g_action_activate(action: *mut GAction, parameter: *mut glib::GVariant);
14733    pub fn g_action_change_state(action: *mut GAction, value: *mut glib::GVariant);
14734    pub fn g_action_get_enabled(action: *mut GAction) -> gboolean;
14735    pub fn g_action_get_name(action: *mut GAction) -> *const c_char;
14736    pub fn g_action_get_parameter_type(action: *mut GAction) -> *const glib::GVariantType;
14737    pub fn g_action_get_state(action: *mut GAction) -> *mut glib::GVariant;
14738    pub fn g_action_get_state_hint(action: *mut GAction) -> *mut glib::GVariant;
14739    pub fn g_action_get_state_type(action: *mut GAction) -> *const glib::GVariantType;
14740
14741    //=========================================================================
14742    // GActionGroup
14743    //=========================================================================
14744    pub fn g_action_group_get_type() -> GType;
14745    pub fn g_action_group_action_added(action_group: *mut GActionGroup, action_name: *const c_char);
14746    pub fn g_action_group_action_enabled_changed(
14747        action_group: *mut GActionGroup,
14748        action_name: *const c_char,
14749        enabled: gboolean,
14750    );
14751    pub fn g_action_group_action_removed(
14752        action_group: *mut GActionGroup,
14753        action_name: *const c_char,
14754    );
14755    pub fn g_action_group_action_state_changed(
14756        action_group: *mut GActionGroup,
14757        action_name: *const c_char,
14758        state: *mut glib::GVariant,
14759    );
14760    pub fn g_action_group_activate_action(
14761        action_group: *mut GActionGroup,
14762        action_name: *const c_char,
14763        parameter: *mut glib::GVariant,
14764    );
14765    pub fn g_action_group_change_action_state(
14766        action_group: *mut GActionGroup,
14767        action_name: *const c_char,
14768        value: *mut glib::GVariant,
14769    );
14770    pub fn g_action_group_get_action_enabled(
14771        action_group: *mut GActionGroup,
14772        action_name: *const c_char,
14773    ) -> gboolean;
14774    pub fn g_action_group_get_action_parameter_type(
14775        action_group: *mut GActionGroup,
14776        action_name: *const c_char,
14777    ) -> *const glib::GVariantType;
14778    pub fn g_action_group_get_action_state(
14779        action_group: *mut GActionGroup,
14780        action_name: *const c_char,
14781    ) -> *mut glib::GVariant;
14782    pub fn g_action_group_get_action_state_hint(
14783        action_group: *mut GActionGroup,
14784        action_name: *const c_char,
14785    ) -> *mut glib::GVariant;
14786    pub fn g_action_group_get_action_state_type(
14787        action_group: *mut GActionGroup,
14788        action_name: *const c_char,
14789    ) -> *const glib::GVariantType;
14790    pub fn g_action_group_has_action(
14791        action_group: *mut GActionGroup,
14792        action_name: *const c_char,
14793    ) -> gboolean;
14794    pub fn g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut c_char;
14795    pub fn g_action_group_query_action(
14796        action_group: *mut GActionGroup,
14797        action_name: *const c_char,
14798        enabled: *mut gboolean,
14799        parameter_type: *mut *const glib::GVariantType,
14800        state_type: *mut *const glib::GVariantType,
14801        state_hint: *mut *mut glib::GVariant,
14802        state: *mut *mut glib::GVariant,
14803    ) -> gboolean;
14804
14805    //=========================================================================
14806    // GActionMap
14807    //=========================================================================
14808    pub fn g_action_map_get_type() -> GType;
14809    pub fn g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction);
14810    pub fn g_action_map_add_action_entries(
14811        action_map: *mut GActionMap,
14812        entries: *const GActionEntry,
14813        n_entries: c_int,
14814        user_data: gpointer,
14815    );
14816    pub fn g_action_map_lookup_action(
14817        action_map: *mut GActionMap,
14818        action_name: *const c_char,
14819    ) -> *mut GAction;
14820    pub fn g_action_map_remove_action(action_map: *mut GActionMap, action_name: *const c_char);
14821    #[cfg(feature = "v2_78")]
14822    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
14823    pub fn g_action_map_remove_action_entries(
14824        action_map: *mut GActionMap,
14825        entries: *const GActionEntry,
14826        n_entries: c_int,
14827    );
14828
14829    //=========================================================================
14830    // GAppInfo
14831    //=========================================================================
14832    pub fn g_app_info_get_type() -> GType;
14833    pub fn g_app_info_create_from_commandline(
14834        commandline: *const c_char,
14835        application_name: *const c_char,
14836        flags: GAppInfoCreateFlags,
14837        error: *mut *mut glib::GError,
14838    ) -> *mut GAppInfo;
14839    pub fn g_app_info_get_all() -> *mut glib::GList;
14840    pub fn g_app_info_get_all_for_type(content_type: *const c_char) -> *mut glib::GList;
14841    pub fn g_app_info_get_default_for_type(
14842        content_type: *const c_char,
14843        must_support_uris: gboolean,
14844    ) -> *mut GAppInfo;
14845    #[cfg(feature = "v2_74")]
14846    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14847    pub fn g_app_info_get_default_for_type_async(
14848        content_type: *const c_char,
14849        must_support_uris: gboolean,
14850        cancellable: *mut GCancellable,
14851        callback: GAsyncReadyCallback,
14852        user_data: gpointer,
14853    );
14854    #[cfg(feature = "v2_74")]
14855    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14856    pub fn g_app_info_get_default_for_type_finish(
14857        result: *mut GAsyncResult,
14858        error: *mut *mut glib::GError,
14859    ) -> *mut GAppInfo;
14860    pub fn g_app_info_get_default_for_uri_scheme(uri_scheme: *const c_char) -> *mut GAppInfo;
14861    #[cfg(feature = "v2_74")]
14862    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14863    pub fn g_app_info_get_default_for_uri_scheme_async(
14864        uri_scheme: *const c_char,
14865        cancellable: *mut GCancellable,
14866        callback: GAsyncReadyCallback,
14867        user_data: gpointer,
14868    );
14869    #[cfg(feature = "v2_74")]
14870    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14871    pub fn g_app_info_get_default_for_uri_scheme_finish(
14872        result: *mut GAsyncResult,
14873        error: *mut *mut glib::GError,
14874    ) -> *mut GAppInfo;
14875    pub fn g_app_info_get_fallback_for_type(content_type: *const c_char) -> *mut glib::GList;
14876    pub fn g_app_info_get_recommended_for_type(content_type: *const c_char) -> *mut glib::GList;
14877    pub fn g_app_info_launch_default_for_uri(
14878        uri: *const c_char,
14879        context: *mut GAppLaunchContext,
14880        error: *mut *mut glib::GError,
14881    ) -> gboolean;
14882    pub fn g_app_info_launch_default_for_uri_async(
14883        uri: *const c_char,
14884        context: *mut GAppLaunchContext,
14885        cancellable: *mut GCancellable,
14886        callback: GAsyncReadyCallback,
14887        user_data: gpointer,
14888    );
14889    pub fn g_app_info_launch_default_for_uri_finish(
14890        result: *mut GAsyncResult,
14891        error: *mut *mut glib::GError,
14892    ) -> gboolean;
14893    pub fn g_app_info_reset_type_associations(content_type: *const c_char);
14894    pub fn g_app_info_add_supports_type(
14895        appinfo: *mut GAppInfo,
14896        content_type: *const c_char,
14897        error: *mut *mut glib::GError,
14898    ) -> gboolean;
14899    pub fn g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean;
14900    pub fn g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean;
14901    pub fn g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean;
14902    pub fn g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo;
14903    pub fn g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean;
14904    pub fn g_app_info_get_commandline(appinfo: *mut GAppInfo) -> *const c_char;
14905    pub fn g_app_info_get_description(appinfo: *mut GAppInfo) -> *const c_char;
14906    pub fn g_app_info_get_display_name(appinfo: *mut GAppInfo) -> *const c_char;
14907    pub fn g_app_info_get_executable(appinfo: *mut GAppInfo) -> *const c_char;
14908    pub fn g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon;
14909    pub fn g_app_info_get_id(appinfo: *mut GAppInfo) -> *const c_char;
14910    pub fn g_app_info_get_name(appinfo: *mut GAppInfo) -> *const c_char;
14911    pub fn g_app_info_get_supported_types(appinfo: *mut GAppInfo) -> *mut *const c_char;
14912    pub fn g_app_info_launch(
14913        appinfo: *mut GAppInfo,
14914        files: *mut glib::GList,
14915        context: *mut GAppLaunchContext,
14916        error: *mut *mut glib::GError,
14917    ) -> gboolean;
14918    pub fn g_app_info_launch_uris(
14919        appinfo: *mut GAppInfo,
14920        uris: *mut glib::GList,
14921        context: *mut GAppLaunchContext,
14922        error: *mut *mut glib::GError,
14923    ) -> gboolean;
14924    #[cfg(feature = "v2_60")]
14925    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14926    pub fn g_app_info_launch_uris_async(
14927        appinfo: *mut GAppInfo,
14928        uris: *mut glib::GList,
14929        context: *mut GAppLaunchContext,
14930        cancellable: *mut GCancellable,
14931        callback: GAsyncReadyCallback,
14932        user_data: gpointer,
14933    );
14934    #[cfg(feature = "v2_60")]
14935    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14936    pub fn g_app_info_launch_uris_finish(
14937        appinfo: *mut GAppInfo,
14938        result: *mut GAsyncResult,
14939        error: *mut *mut glib::GError,
14940    ) -> gboolean;
14941    pub fn g_app_info_remove_supports_type(
14942        appinfo: *mut GAppInfo,
14943        content_type: *const c_char,
14944        error: *mut *mut glib::GError,
14945    ) -> gboolean;
14946    pub fn g_app_info_set_as_default_for_extension(
14947        appinfo: *mut GAppInfo,
14948        extension: *const c_char,
14949        error: *mut *mut glib::GError,
14950    ) -> gboolean;
14951    pub fn g_app_info_set_as_default_for_type(
14952        appinfo: *mut GAppInfo,
14953        content_type: *const c_char,
14954        error: *mut *mut glib::GError,
14955    ) -> gboolean;
14956    pub fn g_app_info_set_as_last_used_for_type(
14957        appinfo: *mut GAppInfo,
14958        content_type: *const c_char,
14959        error: *mut *mut glib::GError,
14960    ) -> gboolean;
14961    pub fn g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean;
14962    pub fn g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean;
14963    pub fn g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean;
14964
14965    //=========================================================================
14966    // GAsyncInitable
14967    //=========================================================================
14968    pub fn g_async_initable_get_type() -> GType;
14969    pub fn g_async_initable_new_async(
14970        object_type: GType,
14971        io_priority: c_int,
14972        cancellable: *mut GCancellable,
14973        callback: GAsyncReadyCallback,
14974        user_data: gpointer,
14975        first_property_name: *const c_char,
14976        ...
14977    );
14978    //pub fn g_async_initable_new_valist_async(object_type: GType, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list, io_priority: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer);
14979    pub fn g_async_initable_newv_async(
14980        object_type: GType,
14981        n_parameters: c_uint,
14982        parameters: *mut gobject::GParameter,
14983        io_priority: c_int,
14984        cancellable: *mut GCancellable,
14985        callback: GAsyncReadyCallback,
14986        user_data: gpointer,
14987    );
14988    pub fn g_async_initable_init_async(
14989        initable: *mut GAsyncInitable,
14990        io_priority: c_int,
14991        cancellable: *mut GCancellable,
14992        callback: GAsyncReadyCallback,
14993        user_data: gpointer,
14994    );
14995    pub fn g_async_initable_init_finish(
14996        initable: *mut GAsyncInitable,
14997        res: *mut GAsyncResult,
14998        error: *mut *mut glib::GError,
14999    ) -> gboolean;
15000    pub fn g_async_initable_new_finish(
15001        initable: *mut GAsyncInitable,
15002        res: *mut GAsyncResult,
15003        error: *mut *mut glib::GError,
15004    ) -> *mut gobject::GObject;
15005
15006    //=========================================================================
15007    // GAsyncResult
15008    //=========================================================================
15009    pub fn g_async_result_get_type() -> GType;
15010    pub fn g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut gobject::GObject;
15011    pub fn g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer;
15012    pub fn g_async_result_is_tagged(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean;
15013    pub fn g_async_result_legacy_propagate_error(
15014        res: *mut GAsyncResult,
15015        error: *mut *mut glib::GError,
15016    ) -> gboolean;
15017
15018    //=========================================================================
15019    // GConverter
15020    //=========================================================================
15021    pub fn g_converter_get_type() -> GType;
15022    pub fn g_converter_convert(
15023        converter: *mut GConverter,
15024        inbuf: *mut u8,
15025        inbuf_size: size_t,
15026        outbuf: *mut u8,
15027        outbuf_size: size_t,
15028        flags: GConverterFlags,
15029        bytes_read: *mut size_t,
15030        bytes_written: *mut size_t,
15031        error: *mut *mut glib::GError,
15032    ) -> GConverterResult;
15033    #[cfg(feature = "v2_82")]
15034    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15035    pub fn g_converter_convert_bytes(
15036        converter: *mut GConverter,
15037        bytes: *mut glib::GBytes,
15038        error: *mut *mut glib::GError,
15039    ) -> *mut glib::GBytes;
15040    pub fn g_converter_reset(converter: *mut GConverter);
15041
15042    //=========================================================================
15043    // GDBusInterface
15044    //=========================================================================
15045    pub fn g_dbus_interface_get_type() -> GType;
15046    pub fn g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15047    pub fn g_dbus_interface_get_info(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo;
15048    pub fn g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15049    pub fn g_dbus_interface_set_object(interface_: *mut GDBusInterface, object: *mut GDBusObject);
15050
15051    //=========================================================================
15052    // GDBusObject
15053    //=========================================================================
15054    pub fn g_dbus_object_get_type() -> GType;
15055    pub fn g_dbus_object_get_interface(
15056        object: *mut GDBusObject,
15057        interface_name: *const c_char,
15058    ) -> *mut GDBusInterface;
15059    pub fn g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut glib::GList;
15060    pub fn g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const c_char;
15061
15062    //=========================================================================
15063    // GDBusObjectManager
15064    //=========================================================================
15065    pub fn g_dbus_object_manager_get_type() -> GType;
15066    pub fn g_dbus_object_manager_get_interface(
15067        manager: *mut GDBusObjectManager,
15068        object_path: *const c_char,
15069        interface_name: *const c_char,
15070    ) -> *mut GDBusInterface;
15071    pub fn g_dbus_object_manager_get_object(
15072        manager: *mut GDBusObjectManager,
15073        object_path: *const c_char,
15074    ) -> *mut GDBusObject;
15075    pub fn g_dbus_object_manager_get_object_path(manager: *mut GDBusObjectManager)
15076    -> *const c_char;
15077    pub fn g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager) -> *mut glib::GList;
15078
15079    //=========================================================================
15080    // GDatagramBased
15081    //=========================================================================
15082    pub fn g_datagram_based_get_type() -> GType;
15083    pub fn g_datagram_based_condition_check(
15084        datagram_based: *mut GDatagramBased,
15085        condition: glib::GIOCondition,
15086    ) -> glib::GIOCondition;
15087    pub fn g_datagram_based_condition_wait(
15088        datagram_based: *mut GDatagramBased,
15089        condition: glib::GIOCondition,
15090        timeout: i64,
15091        cancellable: *mut GCancellable,
15092        error: *mut *mut glib::GError,
15093    ) -> gboolean;
15094    pub fn g_datagram_based_create_source(
15095        datagram_based: *mut GDatagramBased,
15096        condition: glib::GIOCondition,
15097        cancellable: *mut GCancellable,
15098    ) -> *mut glib::GSource;
15099    pub fn g_datagram_based_receive_messages(
15100        datagram_based: *mut GDatagramBased,
15101        messages: *mut GInputMessage,
15102        num_messages: c_uint,
15103        flags: c_int,
15104        timeout: i64,
15105        cancellable: *mut GCancellable,
15106        error: *mut *mut glib::GError,
15107    ) -> c_int;
15108    pub fn g_datagram_based_send_messages(
15109        datagram_based: *mut GDatagramBased,
15110        messages: *mut GOutputMessage,
15111        num_messages: c_uint,
15112        flags: c_int,
15113        timeout: i64,
15114        cancellable: *mut GCancellable,
15115        error: *mut *mut glib::GError,
15116    ) -> c_int;
15117
15118    //=========================================================================
15119    // GDebugController
15120    //=========================================================================
15121    #[cfg(feature = "v2_72")]
15122    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15123    pub fn g_debug_controller_get_type() -> GType;
15124    #[cfg(feature = "v2_72")]
15125    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15126    pub fn g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean;
15127    #[cfg(feature = "v2_72")]
15128    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15129    pub fn g_debug_controller_set_debug_enabled(
15130        self_: *mut GDebugController,
15131        debug_enabled: gboolean,
15132    );
15133
15134    //=========================================================================
15135    // GDrive
15136    //=========================================================================
15137    pub fn g_drive_get_type() -> GType;
15138    pub fn g_drive_can_eject(drive: *mut GDrive) -> gboolean;
15139    pub fn g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean;
15140    pub fn g_drive_can_start(drive: *mut GDrive) -> gboolean;
15141    pub fn g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean;
15142    pub fn g_drive_can_stop(drive: *mut GDrive) -> gboolean;
15143    pub fn g_drive_eject(
15144        drive: *mut GDrive,
15145        flags: GMountUnmountFlags,
15146        cancellable: *mut GCancellable,
15147        callback: GAsyncReadyCallback,
15148        user_data: gpointer,
15149    );
15150    pub fn g_drive_eject_finish(
15151        drive: *mut GDrive,
15152        result: *mut GAsyncResult,
15153        error: *mut *mut glib::GError,
15154    ) -> gboolean;
15155    pub fn g_drive_eject_with_operation(
15156        drive: *mut GDrive,
15157        flags: GMountUnmountFlags,
15158        mount_operation: *mut GMountOperation,
15159        cancellable: *mut GCancellable,
15160        callback: GAsyncReadyCallback,
15161        user_data: gpointer,
15162    );
15163    pub fn g_drive_eject_with_operation_finish(
15164        drive: *mut GDrive,
15165        result: *mut GAsyncResult,
15166        error: *mut *mut glib::GError,
15167    ) -> gboolean;
15168    pub fn g_drive_enumerate_identifiers(drive: *mut GDrive) -> *mut *mut c_char;
15169    pub fn g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon;
15170    pub fn g_drive_get_identifier(drive: *mut GDrive, kind: *const c_char) -> *mut c_char;
15171    pub fn g_drive_get_name(drive: *mut GDrive) -> *mut c_char;
15172    pub fn g_drive_get_sort_key(drive: *mut GDrive) -> *const c_char;
15173    pub fn g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType;
15174    pub fn g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon;
15175    pub fn g_drive_get_volumes(drive: *mut GDrive) -> *mut glib::GList;
15176    pub fn g_drive_has_media(drive: *mut GDrive) -> gboolean;
15177    pub fn g_drive_has_volumes(drive: *mut GDrive) -> gboolean;
15178    pub fn g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean;
15179    pub fn g_drive_is_media_removable(drive: *mut GDrive) -> gboolean;
15180    pub fn g_drive_is_removable(drive: *mut GDrive) -> gboolean;
15181    pub fn g_drive_poll_for_media(
15182        drive: *mut GDrive,
15183        cancellable: *mut GCancellable,
15184        callback: GAsyncReadyCallback,
15185        user_data: gpointer,
15186    );
15187    pub fn g_drive_poll_for_media_finish(
15188        drive: *mut GDrive,
15189        result: *mut GAsyncResult,
15190        error: *mut *mut glib::GError,
15191    ) -> gboolean;
15192    pub fn g_drive_start(
15193        drive: *mut GDrive,
15194        flags: GDriveStartFlags,
15195        mount_operation: *mut GMountOperation,
15196        cancellable: *mut GCancellable,
15197        callback: GAsyncReadyCallback,
15198        user_data: gpointer,
15199    );
15200    pub fn g_drive_start_finish(
15201        drive: *mut GDrive,
15202        result: *mut GAsyncResult,
15203        error: *mut *mut glib::GError,
15204    ) -> gboolean;
15205    pub fn g_drive_stop(
15206        drive: *mut GDrive,
15207        flags: GMountUnmountFlags,
15208        mount_operation: *mut GMountOperation,
15209        cancellable: *mut GCancellable,
15210        callback: GAsyncReadyCallback,
15211        user_data: gpointer,
15212    );
15213    pub fn g_drive_stop_finish(
15214        drive: *mut GDrive,
15215        result: *mut GAsyncResult,
15216        error: *mut *mut glib::GError,
15217    ) -> gboolean;
15218
15219    //=========================================================================
15220    // GDtlsClientConnection
15221    //=========================================================================
15222    pub fn g_dtls_client_connection_get_type() -> GType;
15223    pub fn g_dtls_client_connection_new(
15224        base_socket: *mut GDatagramBased,
15225        server_identity: *mut GSocketConnectable,
15226        error: *mut *mut glib::GError,
15227    ) -> *mut GDtlsClientConnection;
15228    pub fn g_dtls_client_connection_get_accepted_cas(
15229        conn: *mut GDtlsClientConnection,
15230    ) -> *mut glib::GList;
15231    pub fn g_dtls_client_connection_get_server_identity(
15232        conn: *mut GDtlsClientConnection,
15233    ) -> *mut GSocketConnectable;
15234    pub fn g_dtls_client_connection_get_validation_flags(
15235        conn: *mut GDtlsClientConnection,
15236    ) -> GTlsCertificateFlags;
15237    pub fn g_dtls_client_connection_set_server_identity(
15238        conn: *mut GDtlsClientConnection,
15239        identity: *mut GSocketConnectable,
15240    );
15241    pub fn g_dtls_client_connection_set_validation_flags(
15242        conn: *mut GDtlsClientConnection,
15243        flags: GTlsCertificateFlags,
15244    );
15245
15246    //=========================================================================
15247    // GDtlsConnection
15248    //=========================================================================
15249    pub fn g_dtls_connection_get_type() -> GType;
15250    pub fn g_dtls_connection_close(
15251        conn: *mut GDtlsConnection,
15252        cancellable: *mut GCancellable,
15253        error: *mut *mut glib::GError,
15254    ) -> gboolean;
15255    pub fn g_dtls_connection_close_async(
15256        conn: *mut GDtlsConnection,
15257        io_priority: c_int,
15258        cancellable: *mut GCancellable,
15259        callback: GAsyncReadyCallback,
15260        user_data: gpointer,
15261    );
15262    pub fn g_dtls_connection_close_finish(
15263        conn: *mut GDtlsConnection,
15264        result: *mut GAsyncResult,
15265        error: *mut *mut glib::GError,
15266    ) -> gboolean;
15267    pub fn g_dtls_connection_emit_accept_certificate(
15268        conn: *mut GDtlsConnection,
15269        peer_cert: *mut GTlsCertificate,
15270        errors: GTlsCertificateFlags,
15271    ) -> gboolean;
15272    pub fn g_dtls_connection_get_certificate(conn: *mut GDtlsConnection) -> *mut GTlsCertificate;
15273    #[cfg(feature = "v2_66")]
15274    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
15275    pub fn g_dtls_connection_get_channel_binding_data(
15276        conn: *mut GDtlsConnection,
15277        type_: GTlsChannelBindingType,
15278        data: *mut glib::GByteArray,
15279        error: *mut *mut glib::GError,
15280    ) -> gboolean;
15281    #[cfg(feature = "v2_70")]
15282    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15283    pub fn g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut c_char;
15284    pub fn g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase;
15285    pub fn g_dtls_connection_get_interaction(conn: *mut GDtlsConnection) -> *mut GTlsInteraction;
15286    #[cfg(feature = "v2_60")]
15287    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15288    pub fn g_dtls_connection_get_negotiated_protocol(conn: *mut GDtlsConnection) -> *const c_char;
15289    pub fn g_dtls_connection_get_peer_certificate(
15290        conn: *mut GDtlsConnection,
15291    ) -> *mut GTlsCertificate;
15292    pub fn g_dtls_connection_get_peer_certificate_errors(
15293        conn: *mut GDtlsConnection,
15294    ) -> GTlsCertificateFlags;
15295    #[cfg(feature = "v2_70")]
15296    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15297    pub fn g_dtls_connection_get_protocol_version(
15298        conn: *mut GDtlsConnection,
15299    ) -> GTlsProtocolVersion;
15300    pub fn g_dtls_connection_get_rehandshake_mode(
15301        conn: *mut GDtlsConnection,
15302    ) -> GTlsRehandshakeMode;
15303    pub fn g_dtls_connection_get_require_close_notify(conn: *mut GDtlsConnection) -> gboolean;
15304    pub fn g_dtls_connection_handshake(
15305        conn: *mut GDtlsConnection,
15306        cancellable: *mut GCancellable,
15307        error: *mut *mut glib::GError,
15308    ) -> gboolean;
15309    pub fn g_dtls_connection_handshake_async(
15310        conn: *mut GDtlsConnection,
15311        io_priority: c_int,
15312        cancellable: *mut GCancellable,
15313        callback: GAsyncReadyCallback,
15314        user_data: gpointer,
15315    );
15316    pub fn g_dtls_connection_handshake_finish(
15317        conn: *mut GDtlsConnection,
15318        result: *mut GAsyncResult,
15319        error: *mut *mut glib::GError,
15320    ) -> gboolean;
15321    #[cfg(feature = "v2_60")]
15322    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15323    pub fn g_dtls_connection_set_advertised_protocols(
15324        conn: *mut GDtlsConnection,
15325        protocols: *const *const c_char,
15326    );
15327    pub fn g_dtls_connection_set_certificate(
15328        conn: *mut GDtlsConnection,
15329        certificate: *mut GTlsCertificate,
15330    );
15331    pub fn g_dtls_connection_set_database(conn: *mut GDtlsConnection, database: *mut GTlsDatabase);
15332    pub fn g_dtls_connection_set_interaction(
15333        conn: *mut GDtlsConnection,
15334        interaction: *mut GTlsInteraction,
15335    );
15336    pub fn g_dtls_connection_set_rehandshake_mode(
15337        conn: *mut GDtlsConnection,
15338        mode: GTlsRehandshakeMode,
15339    );
15340    pub fn g_dtls_connection_set_require_close_notify(
15341        conn: *mut GDtlsConnection,
15342        require_close_notify: gboolean,
15343    );
15344    pub fn g_dtls_connection_shutdown(
15345        conn: *mut GDtlsConnection,
15346        shutdown_read: gboolean,
15347        shutdown_write: gboolean,
15348        cancellable: *mut GCancellable,
15349        error: *mut *mut glib::GError,
15350    ) -> gboolean;
15351    pub fn g_dtls_connection_shutdown_async(
15352        conn: *mut GDtlsConnection,
15353        shutdown_read: gboolean,
15354        shutdown_write: gboolean,
15355        io_priority: c_int,
15356        cancellable: *mut GCancellable,
15357        callback: GAsyncReadyCallback,
15358        user_data: gpointer,
15359    );
15360    pub fn g_dtls_connection_shutdown_finish(
15361        conn: *mut GDtlsConnection,
15362        result: *mut GAsyncResult,
15363        error: *mut *mut glib::GError,
15364    ) -> gboolean;
15365
15366    //=========================================================================
15367    // GDtlsServerConnection
15368    //=========================================================================
15369    pub fn g_dtls_server_connection_get_type() -> GType;
15370    pub fn g_dtls_server_connection_new(
15371        base_socket: *mut GDatagramBased,
15372        certificate: *mut GTlsCertificate,
15373        error: *mut *mut glib::GError,
15374    ) -> *mut GDtlsServerConnection;
15375
15376    //=========================================================================
15377    // GFile
15378    //=========================================================================
15379    pub fn g_file_get_type() -> GType;
15380    pub fn g_file_new_build_filename(first_element: *const c_char, ...) -> *mut GFile;
15381    #[cfg(feature = "v2_78")]
15382    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
15383    pub fn g_file_new_build_filenamev(args: *const *const c_char) -> *mut GFile;
15384    pub fn g_file_new_for_commandline_arg(arg: *const c_char) -> *mut GFile;
15385    pub fn g_file_new_for_commandline_arg_and_cwd(
15386        arg: *const c_char,
15387        cwd: *const c_char,
15388    ) -> *mut GFile;
15389    pub fn g_file_new_for_path(path: *const c_char) -> *mut GFile;
15390    pub fn g_file_new_for_uri(uri: *const c_char) -> *mut GFile;
15391    pub fn g_file_new_tmp(
15392        tmpl: *const c_char,
15393        iostream: *mut *mut GFileIOStream,
15394        error: *mut *mut glib::GError,
15395    ) -> *mut GFile;
15396    #[cfg(feature = "v2_74")]
15397    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15398    pub fn g_file_new_tmp_async(
15399        tmpl: *const c_char,
15400        io_priority: c_int,
15401        cancellable: *mut GCancellable,
15402        callback: GAsyncReadyCallback,
15403        user_data: gpointer,
15404    );
15405    #[cfg(feature = "v2_74")]
15406    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15407    pub fn g_file_new_tmp_dir_async(
15408        tmpl: *const c_char,
15409        io_priority: c_int,
15410        cancellable: *mut GCancellable,
15411        callback: GAsyncReadyCallback,
15412        user_data: gpointer,
15413    );
15414    #[cfg(feature = "v2_74")]
15415    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15416    pub fn g_file_new_tmp_dir_finish(
15417        result: *mut GAsyncResult,
15418        error: *mut *mut glib::GError,
15419    ) -> *mut GFile;
15420    #[cfg(feature = "v2_74")]
15421    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15422    pub fn g_file_new_tmp_finish(
15423        result: *mut GAsyncResult,
15424        iostream: *mut *mut GFileIOStream,
15425        error: *mut *mut glib::GError,
15426    ) -> *mut GFile;
15427    pub fn g_file_parse_name(parse_name: *const c_char) -> *mut GFile;
15428    pub fn g_file_append_to(
15429        file: *mut GFile,
15430        flags: GFileCreateFlags,
15431        cancellable: *mut GCancellable,
15432        error: *mut *mut glib::GError,
15433    ) -> *mut GFileOutputStream;
15434    pub fn g_file_append_to_async(
15435        file: *mut GFile,
15436        flags: GFileCreateFlags,
15437        io_priority: c_int,
15438        cancellable: *mut GCancellable,
15439        callback: GAsyncReadyCallback,
15440        user_data: gpointer,
15441    );
15442    pub fn g_file_append_to_finish(
15443        file: *mut GFile,
15444        res: *mut GAsyncResult,
15445        error: *mut *mut glib::GError,
15446    ) -> *mut GFileOutputStream;
15447    #[cfg(feature = "v2_68")]
15448    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
15449    pub fn g_file_build_attribute_list_for_copy(
15450        file: *mut GFile,
15451        flags: GFileCopyFlags,
15452        cancellable: *mut GCancellable,
15453        error: *mut *mut glib::GError,
15454    ) -> *mut c_char;
15455    pub fn g_file_copy(
15456        source: *mut GFile,
15457        destination: *mut GFile,
15458        flags: GFileCopyFlags,
15459        cancellable: *mut GCancellable,
15460        progress_callback: GFileProgressCallback,
15461        progress_callback_data: gpointer,
15462        error: *mut *mut glib::GError,
15463    ) -> gboolean;
15464    pub fn g_file_copy_async(
15465        source: *mut GFile,
15466        destination: *mut GFile,
15467        flags: GFileCopyFlags,
15468        io_priority: c_int,
15469        cancellable: *mut GCancellable,
15470        progress_callback: GFileProgressCallback,
15471        progress_callback_data: gpointer,
15472        callback: GAsyncReadyCallback,
15473        user_data: gpointer,
15474    );
15475    #[cfg(feature = "v2_82")]
15476    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15477    pub fn g_file_copy_async_with_closures(
15478        source: *mut GFile,
15479        destination: *mut GFile,
15480        flags: GFileCopyFlags,
15481        io_priority: c_int,
15482        cancellable: *mut GCancellable,
15483        progress_callback_closure: *mut gobject::GClosure,
15484        ready_callback_closure: *mut gobject::GClosure,
15485    );
15486    pub fn g_file_copy_attributes(
15487        source: *mut GFile,
15488        destination: *mut GFile,
15489        flags: GFileCopyFlags,
15490        cancellable: *mut GCancellable,
15491        error: *mut *mut glib::GError,
15492    ) -> gboolean;
15493    pub fn g_file_copy_finish(
15494        file: *mut GFile,
15495        res: *mut GAsyncResult,
15496        error: *mut *mut glib::GError,
15497    ) -> gboolean;
15498    pub fn g_file_create(
15499        file: *mut GFile,
15500        flags: GFileCreateFlags,
15501        cancellable: *mut GCancellable,
15502        error: *mut *mut glib::GError,
15503    ) -> *mut GFileOutputStream;
15504    pub fn g_file_create_async(
15505        file: *mut GFile,
15506        flags: GFileCreateFlags,
15507        io_priority: c_int,
15508        cancellable: *mut GCancellable,
15509        callback: GAsyncReadyCallback,
15510        user_data: gpointer,
15511    );
15512    pub fn g_file_create_finish(
15513        file: *mut GFile,
15514        res: *mut GAsyncResult,
15515        error: *mut *mut glib::GError,
15516    ) -> *mut GFileOutputStream;
15517    pub fn g_file_create_readwrite(
15518        file: *mut GFile,
15519        flags: GFileCreateFlags,
15520        cancellable: *mut GCancellable,
15521        error: *mut *mut glib::GError,
15522    ) -> *mut GFileIOStream;
15523    pub fn g_file_create_readwrite_async(
15524        file: *mut GFile,
15525        flags: GFileCreateFlags,
15526        io_priority: c_int,
15527        cancellable: *mut GCancellable,
15528        callback: GAsyncReadyCallback,
15529        user_data: gpointer,
15530    );
15531    pub fn g_file_create_readwrite_finish(
15532        file: *mut GFile,
15533        res: *mut GAsyncResult,
15534        error: *mut *mut glib::GError,
15535    ) -> *mut GFileIOStream;
15536    pub fn g_file_delete(
15537        file: *mut GFile,
15538        cancellable: *mut GCancellable,
15539        error: *mut *mut glib::GError,
15540    ) -> gboolean;
15541    pub fn g_file_delete_async(
15542        file: *mut GFile,
15543        io_priority: c_int,
15544        cancellable: *mut GCancellable,
15545        callback: GAsyncReadyCallback,
15546        user_data: gpointer,
15547    );
15548    pub fn g_file_delete_finish(
15549        file: *mut GFile,
15550        result: *mut GAsyncResult,
15551        error: *mut *mut glib::GError,
15552    ) -> gboolean;
15553    pub fn g_file_dup(file: *mut GFile) -> *mut GFile;
15554    pub fn g_file_eject_mountable(
15555        file: *mut GFile,
15556        flags: GMountUnmountFlags,
15557        cancellable: *mut GCancellable,
15558        callback: GAsyncReadyCallback,
15559        user_data: gpointer,
15560    );
15561    pub fn g_file_eject_mountable_finish(
15562        file: *mut GFile,
15563        result: *mut GAsyncResult,
15564        error: *mut *mut glib::GError,
15565    ) -> gboolean;
15566    pub fn g_file_eject_mountable_with_operation(
15567        file: *mut GFile,
15568        flags: GMountUnmountFlags,
15569        mount_operation: *mut GMountOperation,
15570        cancellable: *mut GCancellable,
15571        callback: GAsyncReadyCallback,
15572        user_data: gpointer,
15573    );
15574    pub fn g_file_eject_mountable_with_operation_finish(
15575        file: *mut GFile,
15576        result: *mut GAsyncResult,
15577        error: *mut *mut glib::GError,
15578    ) -> gboolean;
15579    pub fn g_file_enumerate_children(
15580        file: *mut GFile,
15581        attributes: *const c_char,
15582        flags: GFileQueryInfoFlags,
15583        cancellable: *mut GCancellable,
15584        error: *mut *mut glib::GError,
15585    ) -> *mut GFileEnumerator;
15586    pub fn g_file_enumerate_children_async(
15587        file: *mut GFile,
15588        attributes: *const c_char,
15589        flags: GFileQueryInfoFlags,
15590        io_priority: c_int,
15591        cancellable: *mut GCancellable,
15592        callback: GAsyncReadyCallback,
15593        user_data: gpointer,
15594    );
15595    pub fn g_file_enumerate_children_finish(
15596        file: *mut GFile,
15597        res: *mut GAsyncResult,
15598        error: *mut *mut glib::GError,
15599    ) -> *mut GFileEnumerator;
15600    pub fn g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean;
15601    pub fn g_file_find_enclosing_mount(
15602        file: *mut GFile,
15603        cancellable: *mut GCancellable,
15604        error: *mut *mut glib::GError,
15605    ) -> *mut GMount;
15606    pub fn g_file_find_enclosing_mount_async(
15607        file: *mut GFile,
15608        io_priority: c_int,
15609        cancellable: *mut GCancellable,
15610        callback: GAsyncReadyCallback,
15611        user_data: gpointer,
15612    );
15613    pub fn g_file_find_enclosing_mount_finish(
15614        file: *mut GFile,
15615        res: *mut GAsyncResult,
15616        error: *mut *mut glib::GError,
15617    ) -> *mut GMount;
15618    pub fn g_file_get_basename(file: *mut GFile) -> *mut c_char;
15619    pub fn g_file_get_child(file: *mut GFile, name: *const c_char) -> *mut GFile;
15620    pub fn g_file_get_child_for_display_name(
15621        file: *mut GFile,
15622        display_name: *const c_char,
15623        error: *mut *mut glib::GError,
15624    ) -> *mut GFile;
15625    pub fn g_file_get_parent(file: *mut GFile) -> *mut GFile;
15626    pub fn g_file_get_parse_name(file: *mut GFile) -> *mut c_char;
15627    pub fn g_file_get_path(file: *mut GFile) -> *mut c_char;
15628    pub fn g_file_get_relative_path(parent: *mut GFile, descendant: *mut GFile) -> *mut c_char;
15629    pub fn g_file_get_uri(file: *mut GFile) -> *mut c_char;
15630    pub fn g_file_get_uri_scheme(file: *mut GFile) -> *mut c_char;
15631    pub fn g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean;
15632    pub fn g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean;
15633    pub fn g_file_has_uri_scheme(file: *mut GFile, uri_scheme: *const c_char) -> gboolean;
15634    pub fn g_file_hash(file: gconstpointer) -> c_uint;
15635    pub fn g_file_is_native(file: *mut GFile) -> gboolean;
15636    pub fn g_file_load_bytes(
15637        file: *mut GFile,
15638        cancellable: *mut GCancellable,
15639        etag_out: *mut *mut c_char,
15640        error: *mut *mut glib::GError,
15641    ) -> *mut glib::GBytes;
15642    pub fn g_file_load_bytes_async(
15643        file: *mut GFile,
15644        cancellable: *mut GCancellable,
15645        callback: GAsyncReadyCallback,
15646        user_data: gpointer,
15647    );
15648    pub fn g_file_load_bytes_finish(
15649        file: *mut GFile,
15650        result: *mut GAsyncResult,
15651        etag_out: *mut *mut c_char,
15652        error: *mut *mut glib::GError,
15653    ) -> *mut glib::GBytes;
15654    pub fn g_file_load_contents(
15655        file: *mut GFile,
15656        cancellable: *mut GCancellable,
15657        contents: *mut *mut u8,
15658        length: *mut size_t,
15659        etag_out: *mut *mut c_char,
15660        error: *mut *mut glib::GError,
15661    ) -> gboolean;
15662    pub fn g_file_load_contents_async(
15663        file: *mut GFile,
15664        cancellable: *mut GCancellable,
15665        callback: GAsyncReadyCallback,
15666        user_data: gpointer,
15667    );
15668    pub fn g_file_load_contents_finish(
15669        file: *mut GFile,
15670        res: *mut GAsyncResult,
15671        contents: *mut *mut u8,
15672        length: *mut size_t,
15673        etag_out: *mut *mut c_char,
15674        error: *mut *mut glib::GError,
15675    ) -> gboolean;
15676    pub fn g_file_load_partial_contents_async(
15677        file: *mut GFile,
15678        cancellable: *mut GCancellable,
15679        read_more_callback: GFileReadMoreCallback,
15680        callback: GAsyncReadyCallback,
15681        user_data: gpointer,
15682    );
15683    pub fn g_file_load_partial_contents_finish(
15684        file: *mut GFile,
15685        res: *mut GAsyncResult,
15686        contents: *mut *mut u8,
15687        length: *mut size_t,
15688        etag_out: *mut *mut c_char,
15689        error: *mut *mut glib::GError,
15690    ) -> gboolean;
15691    pub fn g_file_make_directory(
15692        file: *mut GFile,
15693        cancellable: *mut GCancellable,
15694        error: *mut *mut glib::GError,
15695    ) -> gboolean;
15696    pub fn g_file_make_directory_async(
15697        file: *mut GFile,
15698        io_priority: c_int,
15699        cancellable: *mut GCancellable,
15700        callback: GAsyncReadyCallback,
15701        user_data: gpointer,
15702    );
15703    pub fn g_file_make_directory_finish(
15704        file: *mut GFile,
15705        result: *mut GAsyncResult,
15706        error: *mut *mut glib::GError,
15707    ) -> gboolean;
15708    pub fn g_file_make_directory_with_parents(
15709        file: *mut GFile,
15710        cancellable: *mut GCancellable,
15711        error: *mut *mut glib::GError,
15712    ) -> gboolean;
15713    pub fn g_file_make_symbolic_link(
15714        file: *mut GFile,
15715        symlink_value: *const c_char,
15716        cancellable: *mut GCancellable,
15717        error: *mut *mut glib::GError,
15718    ) -> gboolean;
15719    #[cfg(feature = "v2_74")]
15720    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15721    pub fn g_file_make_symbolic_link_async(
15722        file: *mut GFile,
15723        symlink_value: *const c_char,
15724        io_priority: c_int,
15725        cancellable: *mut GCancellable,
15726        callback: GAsyncReadyCallback,
15727        user_data: gpointer,
15728    );
15729    #[cfg(feature = "v2_74")]
15730    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15731    pub fn g_file_make_symbolic_link_finish(
15732        file: *mut GFile,
15733        result: *mut GAsyncResult,
15734        error: *mut *mut glib::GError,
15735    ) -> gboolean;
15736    pub fn g_file_measure_disk_usage(
15737        file: *mut GFile,
15738        flags: GFileMeasureFlags,
15739        cancellable: *mut GCancellable,
15740        progress_callback: GFileMeasureProgressCallback,
15741        progress_data: gpointer,
15742        disk_usage: *mut u64,
15743        num_dirs: *mut u64,
15744        num_files: *mut u64,
15745        error: *mut *mut glib::GError,
15746    ) -> gboolean;
15747    pub fn g_file_measure_disk_usage_async(
15748        file: *mut GFile,
15749        flags: GFileMeasureFlags,
15750        io_priority: c_int,
15751        cancellable: *mut GCancellable,
15752        progress_callback: GFileMeasureProgressCallback,
15753        progress_data: gpointer,
15754        callback: GAsyncReadyCallback,
15755        user_data: gpointer,
15756    );
15757    pub fn g_file_measure_disk_usage_finish(
15758        file: *mut GFile,
15759        result: *mut GAsyncResult,
15760        disk_usage: *mut u64,
15761        num_dirs: *mut u64,
15762        num_files: *mut u64,
15763        error: *mut *mut glib::GError,
15764    ) -> gboolean;
15765    pub fn g_file_monitor(
15766        file: *mut GFile,
15767        flags: GFileMonitorFlags,
15768        cancellable: *mut GCancellable,
15769        error: *mut *mut glib::GError,
15770    ) -> *mut GFileMonitor;
15771    pub fn g_file_monitor_directory(
15772        file: *mut GFile,
15773        flags: GFileMonitorFlags,
15774        cancellable: *mut GCancellable,
15775        error: *mut *mut glib::GError,
15776    ) -> *mut GFileMonitor;
15777    pub fn g_file_monitor_file(
15778        file: *mut GFile,
15779        flags: GFileMonitorFlags,
15780        cancellable: *mut GCancellable,
15781        error: *mut *mut glib::GError,
15782    ) -> *mut GFileMonitor;
15783    pub fn g_file_mount_enclosing_volume(
15784        location: *mut GFile,
15785        flags: GMountMountFlags,
15786        mount_operation: *mut GMountOperation,
15787        cancellable: *mut GCancellable,
15788        callback: GAsyncReadyCallback,
15789        user_data: gpointer,
15790    );
15791    pub fn g_file_mount_enclosing_volume_finish(
15792        location: *mut GFile,
15793        result: *mut GAsyncResult,
15794        error: *mut *mut glib::GError,
15795    ) -> gboolean;
15796    pub fn g_file_mount_mountable(
15797        file: *mut GFile,
15798        flags: GMountMountFlags,
15799        mount_operation: *mut GMountOperation,
15800        cancellable: *mut GCancellable,
15801        callback: GAsyncReadyCallback,
15802        user_data: gpointer,
15803    );
15804    pub fn g_file_mount_mountable_finish(
15805        file: *mut GFile,
15806        result: *mut GAsyncResult,
15807        error: *mut *mut glib::GError,
15808    ) -> *mut GFile;
15809    pub fn g_file_move(
15810        source: *mut GFile,
15811        destination: *mut GFile,
15812        flags: GFileCopyFlags,
15813        cancellable: *mut GCancellable,
15814        progress_callback: GFileProgressCallback,
15815        progress_callback_data: gpointer,
15816        error: *mut *mut glib::GError,
15817    ) -> gboolean;
15818    #[cfg(feature = "v2_72")]
15819    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15820    pub fn g_file_move_async(
15821        source: *mut GFile,
15822        destination: *mut GFile,
15823        flags: GFileCopyFlags,
15824        io_priority: c_int,
15825        cancellable: *mut GCancellable,
15826        progress_callback: GFileProgressCallback,
15827        progress_callback_data: gpointer,
15828        callback: GAsyncReadyCallback,
15829        user_data: gpointer,
15830    );
15831    #[cfg(feature = "v2_82")]
15832    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15833    pub fn g_file_move_async_with_closures(
15834        source: *mut GFile,
15835        destination: *mut GFile,
15836        flags: GFileCopyFlags,
15837        io_priority: c_int,
15838        cancellable: *mut GCancellable,
15839        progress_callback_closure: *mut gobject::GClosure,
15840        ready_callback_closure: *mut gobject::GClosure,
15841    );
15842    #[cfg(feature = "v2_72")]
15843    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15844    pub fn g_file_move_finish(
15845        file: *mut GFile,
15846        result: *mut GAsyncResult,
15847        error: *mut *mut glib::GError,
15848    ) -> gboolean;
15849    pub fn g_file_open_readwrite(
15850        file: *mut GFile,
15851        cancellable: *mut GCancellable,
15852        error: *mut *mut glib::GError,
15853    ) -> *mut GFileIOStream;
15854    pub fn g_file_open_readwrite_async(
15855        file: *mut GFile,
15856        io_priority: c_int,
15857        cancellable: *mut GCancellable,
15858        callback: GAsyncReadyCallback,
15859        user_data: gpointer,
15860    );
15861    pub fn g_file_open_readwrite_finish(
15862        file: *mut GFile,
15863        res: *mut GAsyncResult,
15864        error: *mut *mut glib::GError,
15865    ) -> *mut GFileIOStream;
15866    pub fn g_file_peek_path(file: *mut GFile) -> *const c_char;
15867    pub fn g_file_poll_mountable(
15868        file: *mut GFile,
15869        cancellable: *mut GCancellable,
15870        callback: GAsyncReadyCallback,
15871        user_data: gpointer,
15872    );
15873    pub fn g_file_poll_mountable_finish(
15874        file: *mut GFile,
15875        result: *mut GAsyncResult,
15876        error: *mut *mut glib::GError,
15877    ) -> gboolean;
15878    pub fn g_file_query_default_handler(
15879        file: *mut GFile,
15880        cancellable: *mut GCancellable,
15881        error: *mut *mut glib::GError,
15882    ) -> *mut GAppInfo;
15883    #[cfg(feature = "v2_60")]
15884    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15885    pub fn g_file_query_default_handler_async(
15886        file: *mut GFile,
15887        io_priority: c_int,
15888        cancellable: *mut GCancellable,
15889        callback: GAsyncReadyCallback,
15890        user_data: gpointer,
15891    );
15892    #[cfg(feature = "v2_60")]
15893    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15894    pub fn g_file_query_default_handler_finish(
15895        file: *mut GFile,
15896        result: *mut GAsyncResult,
15897        error: *mut *mut glib::GError,
15898    ) -> *mut GAppInfo;
15899    pub fn g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable) -> gboolean;
15900    pub fn g_file_query_file_type(
15901        file: *mut GFile,
15902        flags: GFileQueryInfoFlags,
15903        cancellable: *mut GCancellable,
15904    ) -> GFileType;
15905    pub fn g_file_query_filesystem_info(
15906        file: *mut GFile,
15907        attributes: *const c_char,
15908        cancellable: *mut GCancellable,
15909        error: *mut *mut glib::GError,
15910    ) -> *mut GFileInfo;
15911    pub fn g_file_query_filesystem_info_async(
15912        file: *mut GFile,
15913        attributes: *const c_char,
15914        io_priority: c_int,
15915        cancellable: *mut GCancellable,
15916        callback: GAsyncReadyCallback,
15917        user_data: gpointer,
15918    );
15919    pub fn g_file_query_filesystem_info_finish(
15920        file: *mut GFile,
15921        res: *mut GAsyncResult,
15922        error: *mut *mut glib::GError,
15923    ) -> *mut GFileInfo;
15924    pub fn g_file_query_info(
15925        file: *mut GFile,
15926        attributes: *const c_char,
15927        flags: GFileQueryInfoFlags,
15928        cancellable: *mut GCancellable,
15929        error: *mut *mut glib::GError,
15930    ) -> *mut GFileInfo;
15931    pub fn g_file_query_info_async(
15932        file: *mut GFile,
15933        attributes: *const c_char,
15934        flags: GFileQueryInfoFlags,
15935        io_priority: c_int,
15936        cancellable: *mut GCancellable,
15937        callback: GAsyncReadyCallback,
15938        user_data: gpointer,
15939    );
15940    pub fn g_file_query_info_finish(
15941        file: *mut GFile,
15942        res: *mut GAsyncResult,
15943        error: *mut *mut glib::GError,
15944    ) -> *mut GFileInfo;
15945    pub fn g_file_query_settable_attributes(
15946        file: *mut GFile,
15947        cancellable: *mut GCancellable,
15948        error: *mut *mut glib::GError,
15949    ) -> *mut GFileAttributeInfoList;
15950    pub fn g_file_query_writable_namespaces(
15951        file: *mut GFile,
15952        cancellable: *mut GCancellable,
15953        error: *mut *mut glib::GError,
15954    ) -> *mut GFileAttributeInfoList;
15955    pub fn g_file_read(
15956        file: *mut GFile,
15957        cancellable: *mut GCancellable,
15958        error: *mut *mut glib::GError,
15959    ) -> *mut GFileInputStream;
15960    pub fn g_file_read_async(
15961        file: *mut GFile,
15962        io_priority: c_int,
15963        cancellable: *mut GCancellable,
15964        callback: GAsyncReadyCallback,
15965        user_data: gpointer,
15966    );
15967    pub fn g_file_read_finish(
15968        file: *mut GFile,
15969        res: *mut GAsyncResult,
15970        error: *mut *mut glib::GError,
15971    ) -> *mut GFileInputStream;
15972    pub fn g_file_replace(
15973        file: *mut GFile,
15974        etag: *const c_char,
15975        make_backup: gboolean,
15976        flags: GFileCreateFlags,
15977        cancellable: *mut GCancellable,
15978        error: *mut *mut glib::GError,
15979    ) -> *mut GFileOutputStream;
15980    pub fn g_file_replace_async(
15981        file: *mut GFile,
15982        etag: *const c_char,
15983        make_backup: gboolean,
15984        flags: GFileCreateFlags,
15985        io_priority: c_int,
15986        cancellable: *mut GCancellable,
15987        callback: GAsyncReadyCallback,
15988        user_data: gpointer,
15989    );
15990    pub fn g_file_replace_contents(
15991        file: *mut GFile,
15992        contents: *const u8,
15993        length: size_t,
15994        etag: *const c_char,
15995        make_backup: gboolean,
15996        flags: GFileCreateFlags,
15997        new_etag: *mut *mut c_char,
15998        cancellable: *mut GCancellable,
15999        error: *mut *mut glib::GError,
16000    ) -> gboolean;
16001    pub fn g_file_replace_contents_async(
16002        file: *mut GFile,
16003        contents: *const u8,
16004        length: size_t,
16005        etag: *const c_char,
16006        make_backup: gboolean,
16007        flags: GFileCreateFlags,
16008        cancellable: *mut GCancellable,
16009        callback: GAsyncReadyCallback,
16010        user_data: gpointer,
16011    );
16012    pub fn g_file_replace_contents_bytes_async(
16013        file: *mut GFile,
16014        contents: *mut glib::GBytes,
16015        etag: *const c_char,
16016        make_backup: gboolean,
16017        flags: GFileCreateFlags,
16018        cancellable: *mut GCancellable,
16019        callback: GAsyncReadyCallback,
16020        user_data: gpointer,
16021    );
16022    pub fn g_file_replace_contents_finish(
16023        file: *mut GFile,
16024        res: *mut GAsyncResult,
16025        new_etag: *mut *mut c_char,
16026        error: *mut *mut glib::GError,
16027    ) -> gboolean;
16028    pub fn g_file_replace_finish(
16029        file: *mut GFile,
16030        res: *mut GAsyncResult,
16031        error: *mut *mut glib::GError,
16032    ) -> *mut GFileOutputStream;
16033    pub fn g_file_replace_readwrite(
16034        file: *mut GFile,
16035        etag: *const c_char,
16036        make_backup: gboolean,
16037        flags: GFileCreateFlags,
16038        cancellable: *mut GCancellable,
16039        error: *mut *mut glib::GError,
16040    ) -> *mut GFileIOStream;
16041    pub fn g_file_replace_readwrite_async(
16042        file: *mut GFile,
16043        etag: *const c_char,
16044        make_backup: gboolean,
16045        flags: GFileCreateFlags,
16046        io_priority: c_int,
16047        cancellable: *mut GCancellable,
16048        callback: GAsyncReadyCallback,
16049        user_data: gpointer,
16050    );
16051    pub fn g_file_replace_readwrite_finish(
16052        file: *mut GFile,
16053        res: *mut GAsyncResult,
16054        error: *mut *mut glib::GError,
16055    ) -> *mut GFileIOStream;
16056    pub fn g_file_resolve_relative_path(
16057        file: *mut GFile,
16058        relative_path: *const c_char,
16059    ) -> *mut GFile;
16060    pub fn g_file_set_attribute(
16061        file: *mut GFile,
16062        attribute: *const c_char,
16063        type_: GFileAttributeType,
16064        value_p: gpointer,
16065        flags: GFileQueryInfoFlags,
16066        cancellable: *mut GCancellable,
16067        error: *mut *mut glib::GError,
16068    ) -> gboolean;
16069    pub fn g_file_set_attribute_byte_string(
16070        file: *mut GFile,
16071        attribute: *const c_char,
16072        value: *const c_char,
16073        flags: GFileQueryInfoFlags,
16074        cancellable: *mut GCancellable,
16075        error: *mut *mut glib::GError,
16076    ) -> gboolean;
16077    pub fn g_file_set_attribute_int32(
16078        file: *mut GFile,
16079        attribute: *const c_char,
16080        value: i32,
16081        flags: GFileQueryInfoFlags,
16082        cancellable: *mut GCancellable,
16083        error: *mut *mut glib::GError,
16084    ) -> gboolean;
16085    pub fn g_file_set_attribute_int64(
16086        file: *mut GFile,
16087        attribute: *const c_char,
16088        value: i64,
16089        flags: GFileQueryInfoFlags,
16090        cancellable: *mut GCancellable,
16091        error: *mut *mut glib::GError,
16092    ) -> gboolean;
16093    pub fn g_file_set_attribute_string(
16094        file: *mut GFile,
16095        attribute: *const c_char,
16096        value: *const c_char,
16097        flags: GFileQueryInfoFlags,
16098        cancellable: *mut GCancellable,
16099        error: *mut *mut glib::GError,
16100    ) -> gboolean;
16101    pub fn g_file_set_attribute_uint32(
16102        file: *mut GFile,
16103        attribute: *const c_char,
16104        value: u32,
16105        flags: GFileQueryInfoFlags,
16106        cancellable: *mut GCancellable,
16107        error: *mut *mut glib::GError,
16108    ) -> gboolean;
16109    pub fn g_file_set_attribute_uint64(
16110        file: *mut GFile,
16111        attribute: *const c_char,
16112        value: u64,
16113        flags: GFileQueryInfoFlags,
16114        cancellable: *mut GCancellable,
16115        error: *mut *mut glib::GError,
16116    ) -> gboolean;
16117    pub fn g_file_set_attributes_async(
16118        file: *mut GFile,
16119        info: *mut GFileInfo,
16120        flags: GFileQueryInfoFlags,
16121        io_priority: c_int,
16122        cancellable: *mut GCancellable,
16123        callback: GAsyncReadyCallback,
16124        user_data: gpointer,
16125    );
16126    pub fn g_file_set_attributes_finish(
16127        file: *mut GFile,
16128        result: *mut GAsyncResult,
16129        info: *mut *mut GFileInfo,
16130        error: *mut *mut glib::GError,
16131    ) -> gboolean;
16132    pub fn g_file_set_attributes_from_info(
16133        file: *mut GFile,
16134        info: *mut GFileInfo,
16135        flags: GFileQueryInfoFlags,
16136        cancellable: *mut GCancellable,
16137        error: *mut *mut glib::GError,
16138    ) -> gboolean;
16139    pub fn g_file_set_display_name(
16140        file: *mut GFile,
16141        display_name: *const c_char,
16142        cancellable: *mut GCancellable,
16143        error: *mut *mut glib::GError,
16144    ) -> *mut GFile;
16145    pub fn g_file_set_display_name_async(
16146        file: *mut GFile,
16147        display_name: *const c_char,
16148        io_priority: c_int,
16149        cancellable: *mut GCancellable,
16150        callback: GAsyncReadyCallback,
16151        user_data: gpointer,
16152    );
16153    pub fn g_file_set_display_name_finish(
16154        file: *mut GFile,
16155        res: *mut GAsyncResult,
16156        error: *mut *mut glib::GError,
16157    ) -> *mut GFile;
16158    pub fn g_file_start_mountable(
16159        file: *mut GFile,
16160        flags: GDriveStartFlags,
16161        start_operation: *mut GMountOperation,
16162        cancellable: *mut GCancellable,
16163        callback: GAsyncReadyCallback,
16164        user_data: gpointer,
16165    );
16166    pub fn g_file_start_mountable_finish(
16167        file: *mut GFile,
16168        result: *mut GAsyncResult,
16169        error: *mut *mut glib::GError,
16170    ) -> gboolean;
16171    pub fn g_file_stop_mountable(
16172        file: *mut GFile,
16173        flags: GMountUnmountFlags,
16174        mount_operation: *mut GMountOperation,
16175        cancellable: *mut GCancellable,
16176        callback: GAsyncReadyCallback,
16177        user_data: gpointer,
16178    );
16179    pub fn g_file_stop_mountable_finish(
16180        file: *mut GFile,
16181        result: *mut GAsyncResult,
16182        error: *mut *mut glib::GError,
16183    ) -> gboolean;
16184    pub fn g_file_supports_thread_contexts(file: *mut GFile) -> gboolean;
16185    pub fn g_file_trash(
16186        file: *mut GFile,
16187        cancellable: *mut GCancellable,
16188        error: *mut *mut glib::GError,
16189    ) -> gboolean;
16190    pub fn g_file_trash_async(
16191        file: *mut GFile,
16192        io_priority: c_int,
16193        cancellable: *mut GCancellable,
16194        callback: GAsyncReadyCallback,
16195        user_data: gpointer,
16196    );
16197    pub fn g_file_trash_finish(
16198        file: *mut GFile,
16199        result: *mut GAsyncResult,
16200        error: *mut *mut glib::GError,
16201    ) -> gboolean;
16202    pub fn g_file_unmount_mountable(
16203        file: *mut GFile,
16204        flags: GMountUnmountFlags,
16205        cancellable: *mut GCancellable,
16206        callback: GAsyncReadyCallback,
16207        user_data: gpointer,
16208    );
16209    pub fn g_file_unmount_mountable_finish(
16210        file: *mut GFile,
16211        result: *mut GAsyncResult,
16212        error: *mut *mut glib::GError,
16213    ) -> gboolean;
16214    pub fn g_file_unmount_mountable_with_operation(
16215        file: *mut GFile,
16216        flags: GMountUnmountFlags,
16217        mount_operation: *mut GMountOperation,
16218        cancellable: *mut GCancellable,
16219        callback: GAsyncReadyCallback,
16220        user_data: gpointer,
16221    );
16222    pub fn g_file_unmount_mountable_with_operation_finish(
16223        file: *mut GFile,
16224        result: *mut GAsyncResult,
16225        error: *mut *mut glib::GError,
16226    ) -> gboolean;
16227
16228    //=========================================================================
16229    // GIcon
16230    //=========================================================================
16231    pub fn g_icon_get_type() -> GType;
16232    pub fn g_icon_deserialize(value: *mut glib::GVariant) -> *mut GIcon;
16233    pub fn g_icon_new_for_string(str: *const c_char, error: *mut *mut glib::GError) -> *mut GIcon;
16234    pub fn g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean;
16235    pub fn g_icon_hash(icon: gconstpointer) -> c_uint;
16236    pub fn g_icon_serialize(icon: *mut GIcon) -> *mut glib::GVariant;
16237    pub fn g_icon_to_string(icon: *mut GIcon) -> *mut c_char;
16238
16239    //=========================================================================
16240    // GInitable
16241    //=========================================================================
16242    pub fn g_initable_get_type() -> GType;
16243    pub fn g_initable_new(
16244        object_type: GType,
16245        cancellable: *mut GCancellable,
16246        error: *mut *mut glib::GError,
16247        first_property_name: *const c_char,
16248        ...
16249    ) -> *mut gobject::GObject;
16250    //pub fn g_initable_new_valist(object_type: GType, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list, cancellable: *mut GCancellable, error: *mut *mut glib::GError) -> *mut gobject::GObject;
16251    pub fn g_initable_newv(
16252        object_type: GType,
16253        n_parameters: c_uint,
16254        parameters: *mut gobject::GParameter,
16255        cancellable: *mut GCancellable,
16256        error: *mut *mut glib::GError,
16257    ) -> *mut gobject::GObject;
16258    pub fn g_initable_init(
16259        initable: *mut GInitable,
16260        cancellable: *mut GCancellable,
16261        error: *mut *mut glib::GError,
16262    ) -> gboolean;
16263
16264    //=========================================================================
16265    // GListModel
16266    //=========================================================================
16267    pub fn g_list_model_get_type() -> GType;
16268    pub fn g_list_model_get_item(list: *mut GListModel, position: c_uint) -> gpointer;
16269    pub fn g_list_model_get_item_type(list: *mut GListModel) -> GType;
16270    pub fn g_list_model_get_n_items(list: *mut GListModel) -> c_uint;
16271    pub fn g_list_model_get_object(
16272        list: *mut GListModel,
16273        position: c_uint,
16274    ) -> *mut gobject::GObject;
16275    pub fn g_list_model_items_changed(
16276        list: *mut GListModel,
16277        position: c_uint,
16278        removed: c_uint,
16279        added: c_uint,
16280    );
16281
16282    //=========================================================================
16283    // GLoadableIcon
16284    //=========================================================================
16285    pub fn g_loadable_icon_get_type() -> GType;
16286    pub fn g_loadable_icon_load(
16287        icon: *mut GLoadableIcon,
16288        size: c_int,
16289        type_: *mut *mut c_char,
16290        cancellable: *mut GCancellable,
16291        error: *mut *mut glib::GError,
16292    ) -> *mut GInputStream;
16293    pub fn g_loadable_icon_load_async(
16294        icon: *mut GLoadableIcon,
16295        size: c_int,
16296        cancellable: *mut GCancellable,
16297        callback: GAsyncReadyCallback,
16298        user_data: gpointer,
16299    );
16300    pub fn g_loadable_icon_load_finish(
16301        icon: *mut GLoadableIcon,
16302        res: *mut GAsyncResult,
16303        type_: *mut *mut c_char,
16304        error: *mut *mut glib::GError,
16305    ) -> *mut GInputStream;
16306
16307    //=========================================================================
16308    // GMemoryMonitor
16309    //=========================================================================
16310    #[cfg(feature = "v2_64")]
16311    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16312    pub fn g_memory_monitor_get_type() -> GType;
16313    #[cfg(feature = "v2_64")]
16314    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16315    pub fn g_memory_monitor_dup_default() -> *mut GMemoryMonitor;
16316
16317    //=========================================================================
16318    // GMount
16319    //=========================================================================
16320    pub fn g_mount_get_type() -> GType;
16321    pub fn g_mount_can_eject(mount: *mut GMount) -> gboolean;
16322    pub fn g_mount_can_unmount(mount: *mut GMount) -> gboolean;
16323    pub fn g_mount_eject(
16324        mount: *mut GMount,
16325        flags: GMountUnmountFlags,
16326        cancellable: *mut GCancellable,
16327        callback: GAsyncReadyCallback,
16328        user_data: gpointer,
16329    );
16330    pub fn g_mount_eject_finish(
16331        mount: *mut GMount,
16332        result: *mut GAsyncResult,
16333        error: *mut *mut glib::GError,
16334    ) -> gboolean;
16335    pub fn g_mount_eject_with_operation(
16336        mount: *mut GMount,
16337        flags: GMountUnmountFlags,
16338        mount_operation: *mut GMountOperation,
16339        cancellable: *mut GCancellable,
16340        callback: GAsyncReadyCallback,
16341        user_data: gpointer,
16342    );
16343    pub fn g_mount_eject_with_operation_finish(
16344        mount: *mut GMount,
16345        result: *mut GAsyncResult,
16346        error: *mut *mut glib::GError,
16347    ) -> gboolean;
16348    pub fn g_mount_get_default_location(mount: *mut GMount) -> *mut GFile;
16349    pub fn g_mount_get_drive(mount: *mut GMount) -> *mut GDrive;
16350    pub fn g_mount_get_icon(mount: *mut GMount) -> *mut GIcon;
16351    pub fn g_mount_get_name(mount: *mut GMount) -> *mut c_char;
16352    pub fn g_mount_get_root(mount: *mut GMount) -> *mut GFile;
16353    pub fn g_mount_get_sort_key(mount: *mut GMount) -> *const c_char;
16354    pub fn g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon;
16355    pub fn g_mount_get_uuid(mount: *mut GMount) -> *mut c_char;
16356    pub fn g_mount_get_volume(mount: *mut GMount) -> *mut GVolume;
16357    pub fn g_mount_guess_content_type(
16358        mount: *mut GMount,
16359        force_rescan: gboolean,
16360        cancellable: *mut GCancellable,
16361        callback: GAsyncReadyCallback,
16362        user_data: gpointer,
16363    );
16364    pub fn g_mount_guess_content_type_finish(
16365        mount: *mut GMount,
16366        result: *mut GAsyncResult,
16367        error: *mut *mut glib::GError,
16368    ) -> *mut *mut c_char;
16369    pub fn g_mount_guess_content_type_sync(
16370        mount: *mut GMount,
16371        force_rescan: gboolean,
16372        cancellable: *mut GCancellable,
16373        error: *mut *mut glib::GError,
16374    ) -> *mut *mut c_char;
16375    pub fn g_mount_is_shadowed(mount: *mut GMount) -> gboolean;
16376    pub fn g_mount_remount(
16377        mount: *mut GMount,
16378        flags: GMountMountFlags,
16379        mount_operation: *mut GMountOperation,
16380        cancellable: *mut GCancellable,
16381        callback: GAsyncReadyCallback,
16382        user_data: gpointer,
16383    );
16384    pub fn g_mount_remount_finish(
16385        mount: *mut GMount,
16386        result: *mut GAsyncResult,
16387        error: *mut *mut glib::GError,
16388    ) -> gboolean;
16389    pub fn g_mount_shadow(mount: *mut GMount);
16390    pub fn g_mount_unmount(
16391        mount: *mut GMount,
16392        flags: GMountUnmountFlags,
16393        cancellable: *mut GCancellable,
16394        callback: GAsyncReadyCallback,
16395        user_data: gpointer,
16396    );
16397    pub fn g_mount_unmount_finish(
16398        mount: *mut GMount,
16399        result: *mut GAsyncResult,
16400        error: *mut *mut glib::GError,
16401    ) -> gboolean;
16402    pub fn g_mount_unmount_with_operation(
16403        mount: *mut GMount,
16404        flags: GMountUnmountFlags,
16405        mount_operation: *mut GMountOperation,
16406        cancellable: *mut GCancellable,
16407        callback: GAsyncReadyCallback,
16408        user_data: gpointer,
16409    );
16410    pub fn g_mount_unmount_with_operation_finish(
16411        mount: *mut GMount,
16412        result: *mut GAsyncResult,
16413        error: *mut *mut glib::GError,
16414    ) -> gboolean;
16415    pub fn g_mount_unshadow(mount: *mut GMount);
16416
16417    //=========================================================================
16418    // GNetworkMonitor
16419    //=========================================================================
16420    pub fn g_network_monitor_get_type() -> GType;
16421    pub fn g_network_monitor_get_default() -> *mut GNetworkMonitor;
16422    pub fn g_network_monitor_can_reach(
16423        monitor: *mut GNetworkMonitor,
16424        connectable: *mut GSocketConnectable,
16425        cancellable: *mut GCancellable,
16426        error: *mut *mut glib::GError,
16427    ) -> gboolean;
16428    pub fn g_network_monitor_can_reach_async(
16429        monitor: *mut GNetworkMonitor,
16430        connectable: *mut GSocketConnectable,
16431        cancellable: *mut GCancellable,
16432        callback: GAsyncReadyCallback,
16433        user_data: gpointer,
16434    );
16435    pub fn g_network_monitor_can_reach_finish(
16436        monitor: *mut GNetworkMonitor,
16437        result: *mut GAsyncResult,
16438        error: *mut *mut glib::GError,
16439    ) -> gboolean;
16440    pub fn g_network_monitor_get_connectivity(
16441        monitor: *mut GNetworkMonitor,
16442    ) -> GNetworkConnectivity;
16443    pub fn g_network_monitor_get_network_available(monitor: *mut GNetworkMonitor) -> gboolean;
16444    pub fn g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean;
16445
16446    //=========================================================================
16447    // GPollableInputStream
16448    //=========================================================================
16449    pub fn g_pollable_input_stream_get_type() -> GType;
16450    pub fn g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean;
16451    pub fn g_pollable_input_stream_create_source(
16452        stream: *mut GPollableInputStream,
16453        cancellable: *mut GCancellable,
16454    ) -> *mut glib::GSource;
16455    pub fn g_pollable_input_stream_is_readable(stream: *mut GPollableInputStream) -> gboolean;
16456    pub fn g_pollable_input_stream_read_nonblocking(
16457        stream: *mut GPollableInputStream,
16458        buffer: *mut u8,
16459        count: size_t,
16460        cancellable: *mut GCancellable,
16461        error: *mut *mut glib::GError,
16462    ) -> ssize_t;
16463
16464    //=========================================================================
16465    // GPollableOutputStream
16466    //=========================================================================
16467    pub fn g_pollable_output_stream_get_type() -> GType;
16468    pub fn g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream) -> gboolean;
16469    pub fn g_pollable_output_stream_create_source(
16470        stream: *mut GPollableOutputStream,
16471        cancellable: *mut GCancellable,
16472    ) -> *mut glib::GSource;
16473    pub fn g_pollable_output_stream_is_writable(stream: *mut GPollableOutputStream) -> gboolean;
16474    pub fn g_pollable_output_stream_write_nonblocking(
16475        stream: *mut GPollableOutputStream,
16476        buffer: *mut u8,
16477        count: size_t,
16478        cancellable: *mut GCancellable,
16479        error: *mut *mut glib::GError,
16480    ) -> ssize_t;
16481    #[cfg(feature = "v2_60")]
16482    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16483    pub fn g_pollable_output_stream_writev_nonblocking(
16484        stream: *mut GPollableOutputStream,
16485        vectors: *const GOutputVector,
16486        n_vectors: size_t,
16487        bytes_written: *mut size_t,
16488        cancellable: *mut GCancellable,
16489        error: *mut *mut glib::GError,
16490    ) -> GPollableReturn;
16491
16492    //=========================================================================
16493    // GPowerProfileMonitor
16494    //=========================================================================
16495    #[cfg(feature = "v2_70")]
16496    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16497    pub fn g_power_profile_monitor_get_type() -> GType;
16498    #[cfg(feature = "v2_70")]
16499    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16500    pub fn g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor;
16501    #[cfg(feature = "v2_70")]
16502    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16503    pub fn g_power_profile_monitor_get_power_saver_enabled(
16504        monitor: *mut GPowerProfileMonitor,
16505    ) -> gboolean;
16506
16507    //=========================================================================
16508    // GProxy
16509    //=========================================================================
16510    pub fn g_proxy_get_type() -> GType;
16511    pub fn g_proxy_get_default_for_protocol(protocol: *const c_char) -> *mut GProxy;
16512    pub fn g_proxy_connect(
16513        proxy: *mut GProxy,
16514        connection: *mut GIOStream,
16515        proxy_address: *mut GProxyAddress,
16516        cancellable: *mut GCancellable,
16517        error: *mut *mut glib::GError,
16518    ) -> *mut GIOStream;
16519    pub fn g_proxy_connect_async(
16520        proxy: *mut GProxy,
16521        connection: *mut GIOStream,
16522        proxy_address: *mut GProxyAddress,
16523        cancellable: *mut GCancellable,
16524        callback: GAsyncReadyCallback,
16525        user_data: gpointer,
16526    );
16527    pub fn g_proxy_connect_finish(
16528        proxy: *mut GProxy,
16529        result: *mut GAsyncResult,
16530        error: *mut *mut glib::GError,
16531    ) -> *mut GIOStream;
16532    pub fn g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean;
16533
16534    //=========================================================================
16535    // GProxyResolver
16536    //=========================================================================
16537    pub fn g_proxy_resolver_get_type() -> GType;
16538    pub fn g_proxy_resolver_get_default() -> *mut GProxyResolver;
16539    pub fn g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean;
16540    pub fn g_proxy_resolver_lookup(
16541        resolver: *mut GProxyResolver,
16542        uri: *const c_char,
16543        cancellable: *mut GCancellable,
16544        error: *mut *mut glib::GError,
16545    ) -> *mut *mut c_char;
16546    pub fn g_proxy_resolver_lookup_async(
16547        resolver: *mut GProxyResolver,
16548        uri: *const c_char,
16549        cancellable: *mut GCancellable,
16550        callback: GAsyncReadyCallback,
16551        user_data: gpointer,
16552    );
16553    pub fn g_proxy_resolver_lookup_finish(
16554        resolver: *mut GProxyResolver,
16555        result: *mut GAsyncResult,
16556        error: *mut *mut glib::GError,
16557    ) -> *mut *mut c_char;
16558
16559    //=========================================================================
16560    // GRemoteActionGroup
16561    //=========================================================================
16562    pub fn g_remote_action_group_get_type() -> GType;
16563    pub fn g_remote_action_group_activate_action_full(
16564        remote: *mut GRemoteActionGroup,
16565        action_name: *const c_char,
16566        parameter: *mut glib::GVariant,
16567        platform_data: *mut glib::GVariant,
16568    );
16569    pub fn g_remote_action_group_change_action_state_full(
16570        remote: *mut GRemoteActionGroup,
16571        action_name: *const c_char,
16572        value: *mut glib::GVariant,
16573        platform_data: *mut glib::GVariant,
16574    );
16575
16576    //=========================================================================
16577    // GSeekable
16578    //=========================================================================
16579    pub fn g_seekable_get_type() -> GType;
16580    pub fn g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean;
16581    pub fn g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean;
16582    pub fn g_seekable_seek(
16583        seekable: *mut GSeekable,
16584        offset: i64,
16585        type_: glib::GSeekType,
16586        cancellable: *mut GCancellable,
16587        error: *mut *mut glib::GError,
16588    ) -> gboolean;
16589    pub fn g_seekable_tell(seekable: *mut GSeekable) -> i64;
16590    pub fn g_seekable_truncate(
16591        seekable: *mut GSeekable,
16592        offset: i64,
16593        cancellable: *mut GCancellable,
16594        error: *mut *mut glib::GError,
16595    ) -> gboolean;
16596
16597    //=========================================================================
16598    // GSocketConnectable
16599    //=========================================================================
16600    pub fn g_socket_connectable_get_type() -> GType;
16601    pub fn g_socket_connectable_enumerate(
16602        connectable: *mut GSocketConnectable,
16603    ) -> *mut GSocketAddressEnumerator;
16604    pub fn g_socket_connectable_proxy_enumerate(
16605        connectable: *mut GSocketConnectable,
16606    ) -> *mut GSocketAddressEnumerator;
16607    pub fn g_socket_connectable_to_string(connectable: *mut GSocketConnectable) -> *mut c_char;
16608
16609    //=========================================================================
16610    // GTlsBackend
16611    //=========================================================================
16612    pub fn g_tls_backend_get_type() -> GType;
16613    pub fn g_tls_backend_get_default() -> *mut GTlsBackend;
16614    pub fn g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType;
16615    pub fn g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType;
16616    pub fn g_tls_backend_get_default_database(backend: *mut GTlsBackend) -> *mut GTlsDatabase;
16617    pub fn g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend) -> GType;
16618    pub fn g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend) -> GType;
16619    pub fn g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType;
16620    pub fn g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType;
16621    #[cfg(feature = "v2_60")]
16622    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16623    pub fn g_tls_backend_set_default_database(
16624        backend: *mut GTlsBackend,
16625        database: *mut GTlsDatabase,
16626    );
16627    pub fn g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean;
16628    pub fn g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean;
16629
16630    //=========================================================================
16631    // GTlsClientConnection
16632    //=========================================================================
16633    pub fn g_tls_client_connection_get_type() -> GType;
16634    pub fn g_tls_client_connection_new(
16635        base_io_stream: *mut GIOStream,
16636        server_identity: *mut GSocketConnectable,
16637        error: *mut *mut glib::GError,
16638    ) -> *mut GTlsClientConnection;
16639    pub fn g_tls_client_connection_copy_session_state(
16640        conn: *mut GTlsClientConnection,
16641        source: *mut GTlsClientConnection,
16642    );
16643    pub fn g_tls_client_connection_get_accepted_cas(
16644        conn: *mut GTlsClientConnection,
16645    ) -> *mut glib::GList;
16646    pub fn g_tls_client_connection_get_server_identity(
16647        conn: *mut GTlsClientConnection,
16648    ) -> *mut GSocketConnectable;
16649    pub fn g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection) -> gboolean;
16650    pub fn g_tls_client_connection_get_validation_flags(
16651        conn: *mut GTlsClientConnection,
16652    ) -> GTlsCertificateFlags;
16653    pub fn g_tls_client_connection_set_server_identity(
16654        conn: *mut GTlsClientConnection,
16655        identity: *mut GSocketConnectable,
16656    );
16657    pub fn g_tls_client_connection_set_use_ssl3(
16658        conn: *mut GTlsClientConnection,
16659        use_ssl3: gboolean,
16660    );
16661    pub fn g_tls_client_connection_set_validation_flags(
16662        conn: *mut GTlsClientConnection,
16663        flags: GTlsCertificateFlags,
16664    );
16665
16666    //=========================================================================
16667    // GTlsFileDatabase
16668    //=========================================================================
16669    pub fn g_tls_file_database_get_type() -> GType;
16670    pub fn g_tls_file_database_new(
16671        anchors: *const c_char,
16672        error: *mut *mut glib::GError,
16673    ) -> *mut GTlsFileDatabase;
16674
16675    //=========================================================================
16676    // GTlsServerConnection
16677    //=========================================================================
16678    pub fn g_tls_server_connection_get_type() -> GType;
16679    pub fn g_tls_server_connection_new(
16680        base_io_stream: *mut GIOStream,
16681        certificate: *mut GTlsCertificate,
16682        error: *mut *mut glib::GError,
16683    ) -> *mut GTlsServerConnection;
16684
16685    //=========================================================================
16686    // GVolume
16687    //=========================================================================
16688    pub fn g_volume_get_type() -> GType;
16689    pub fn g_volume_can_eject(volume: *mut GVolume) -> gboolean;
16690    pub fn g_volume_can_mount(volume: *mut GVolume) -> gboolean;
16691    pub fn g_volume_eject(
16692        volume: *mut GVolume,
16693        flags: GMountUnmountFlags,
16694        cancellable: *mut GCancellable,
16695        callback: GAsyncReadyCallback,
16696        user_data: gpointer,
16697    );
16698    pub fn g_volume_eject_finish(
16699        volume: *mut GVolume,
16700        result: *mut GAsyncResult,
16701        error: *mut *mut glib::GError,
16702    ) -> gboolean;
16703    pub fn g_volume_eject_with_operation(
16704        volume: *mut GVolume,
16705        flags: GMountUnmountFlags,
16706        mount_operation: *mut GMountOperation,
16707        cancellable: *mut GCancellable,
16708        callback: GAsyncReadyCallback,
16709        user_data: gpointer,
16710    );
16711    pub fn g_volume_eject_with_operation_finish(
16712        volume: *mut GVolume,
16713        result: *mut GAsyncResult,
16714        error: *mut *mut glib::GError,
16715    ) -> gboolean;
16716    pub fn g_volume_enumerate_identifiers(volume: *mut GVolume) -> *mut *mut c_char;
16717    pub fn g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile;
16718    pub fn g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive;
16719    pub fn g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon;
16720    pub fn g_volume_get_identifier(volume: *mut GVolume, kind: *const c_char) -> *mut c_char;
16721    pub fn g_volume_get_mount(volume: *mut GVolume) -> *mut GMount;
16722    pub fn g_volume_get_name(volume: *mut GVolume) -> *mut c_char;
16723    pub fn g_volume_get_sort_key(volume: *mut GVolume) -> *const c_char;
16724    pub fn g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon;
16725    pub fn g_volume_get_uuid(volume: *mut GVolume) -> *mut c_char;
16726    pub fn g_volume_mount(
16727        volume: *mut GVolume,
16728        flags: GMountMountFlags,
16729        mount_operation: *mut GMountOperation,
16730        cancellable: *mut GCancellable,
16731        callback: GAsyncReadyCallback,
16732        user_data: gpointer,
16733    );
16734    pub fn g_volume_mount_finish(
16735        volume: *mut GVolume,
16736        result: *mut GAsyncResult,
16737        error: *mut *mut glib::GError,
16738    ) -> gboolean;
16739    pub fn g_volume_should_automount(volume: *mut GVolume) -> gboolean;
16740
16741    //=========================================================================
16742    // Other functions
16743    //=========================================================================
16744    pub fn g_bus_get(
16745        bus_type: GBusType,
16746        cancellable: *mut GCancellable,
16747        callback: GAsyncReadyCallback,
16748        user_data: gpointer,
16749    );
16750    pub fn g_bus_get_finish(
16751        res: *mut GAsyncResult,
16752        error: *mut *mut glib::GError,
16753    ) -> *mut GDBusConnection;
16754    pub fn g_bus_get_sync(
16755        bus_type: GBusType,
16756        cancellable: *mut GCancellable,
16757        error: *mut *mut glib::GError,
16758    ) -> *mut GDBusConnection;
16759    pub fn g_bus_own_name(
16760        bus_type: GBusType,
16761        name: *const c_char,
16762        flags: GBusNameOwnerFlags,
16763        bus_acquired_handler: GBusAcquiredCallback,
16764        name_acquired_handler: GBusNameAcquiredCallback,
16765        name_lost_handler: GBusNameLostCallback,
16766        user_data: gpointer,
16767        user_data_free_func: glib::GDestroyNotify,
16768    ) -> c_uint;
16769    pub fn g_bus_own_name_on_connection(
16770        connection: *mut GDBusConnection,
16771        name: *const c_char,
16772        flags: GBusNameOwnerFlags,
16773        name_acquired_handler: GBusNameAcquiredCallback,
16774        name_lost_handler: GBusNameLostCallback,
16775        user_data: gpointer,
16776        user_data_free_func: glib::GDestroyNotify,
16777    ) -> c_uint;
16778    pub fn g_bus_own_name_on_connection_with_closures(
16779        connection: *mut GDBusConnection,
16780        name: *const c_char,
16781        flags: GBusNameOwnerFlags,
16782        name_acquired_closure: *mut gobject::GClosure,
16783        name_lost_closure: *mut gobject::GClosure,
16784    ) -> c_uint;
16785    pub fn g_bus_own_name_with_closures(
16786        bus_type: GBusType,
16787        name: *const c_char,
16788        flags: GBusNameOwnerFlags,
16789        bus_acquired_closure: *mut gobject::GClosure,
16790        name_acquired_closure: *mut gobject::GClosure,
16791        name_lost_closure: *mut gobject::GClosure,
16792    ) -> c_uint;
16793    pub fn g_bus_unown_name(owner_id: c_uint);
16794    pub fn g_bus_unwatch_name(watcher_id: c_uint);
16795    pub fn g_bus_watch_name(
16796        bus_type: GBusType,
16797        name: *const c_char,
16798        flags: GBusNameWatcherFlags,
16799        name_appeared_handler: GBusNameAppearedCallback,
16800        name_vanished_handler: GBusNameVanishedCallback,
16801        user_data: gpointer,
16802        user_data_free_func: glib::GDestroyNotify,
16803    ) -> c_uint;
16804    pub fn g_bus_watch_name_on_connection(
16805        connection: *mut GDBusConnection,
16806        name: *const c_char,
16807        flags: GBusNameWatcherFlags,
16808        name_appeared_handler: GBusNameAppearedCallback,
16809        name_vanished_handler: GBusNameVanishedCallback,
16810        user_data: gpointer,
16811        user_data_free_func: glib::GDestroyNotify,
16812    ) -> c_uint;
16813    pub fn g_bus_watch_name_on_connection_with_closures(
16814        connection: *mut GDBusConnection,
16815        name: *const c_char,
16816        flags: GBusNameWatcherFlags,
16817        name_appeared_closure: *mut gobject::GClosure,
16818        name_vanished_closure: *mut gobject::GClosure,
16819    ) -> c_uint;
16820    pub fn g_bus_watch_name_with_closures(
16821        bus_type: GBusType,
16822        name: *const c_char,
16823        flags: GBusNameWatcherFlags,
16824        name_appeared_closure: *mut gobject::GClosure,
16825        name_vanished_closure: *mut gobject::GClosure,
16826    ) -> c_uint;
16827    pub fn g_content_type_can_be_executable(type_: *const c_char) -> gboolean;
16828    pub fn g_content_type_equals(type1: *const c_char, type2: *const c_char) -> gboolean;
16829    pub fn g_content_type_from_mime_type(mime_type: *const c_char) -> *mut c_char;
16830    pub fn g_content_type_get_description(type_: *const c_char) -> *mut c_char;
16831    pub fn g_content_type_get_generic_icon_name(type_: *const c_char) -> *mut c_char;
16832    pub fn g_content_type_get_icon(type_: *const c_char) -> *mut GIcon;
16833    #[cfg(feature = "v2_60")]
16834    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16835    pub fn g_content_type_get_mime_dirs() -> *const *const c_char;
16836    pub fn g_content_type_get_mime_type(type_: *const c_char) -> *mut c_char;
16837    pub fn g_content_type_get_symbolic_icon(type_: *const c_char) -> *mut GIcon;
16838    pub fn g_content_type_guess(
16839        filename: *const c_char,
16840        data: *const u8,
16841        data_size: size_t,
16842        result_uncertain: *mut gboolean,
16843    ) -> *mut c_char;
16844    pub fn g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut c_char;
16845    pub fn g_content_type_is_a(type_: *const c_char, supertype: *const c_char) -> gboolean;
16846    pub fn g_content_type_is_mime_type(type_: *const c_char, mime_type: *const c_char) -> gboolean;
16847    pub fn g_content_type_is_unknown(type_: *const c_char) -> gboolean;
16848    #[cfg(feature = "v2_60")]
16849    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16850    pub fn g_content_type_set_mime_dirs(dirs: *const *const c_char);
16851    pub fn g_content_types_get_registered() -> *mut glib::GList;
16852    pub fn g_dbus_address_escape_value(string: *const c_char) -> *mut c_char;
16853    pub fn g_dbus_address_get_for_bus_sync(
16854        bus_type: GBusType,
16855        cancellable: *mut GCancellable,
16856        error: *mut *mut glib::GError,
16857    ) -> *mut c_char;
16858    pub fn g_dbus_address_get_stream(
16859        address: *const c_char,
16860        cancellable: *mut GCancellable,
16861        callback: GAsyncReadyCallback,
16862        user_data: gpointer,
16863    );
16864    pub fn g_dbus_address_get_stream_finish(
16865        res: *mut GAsyncResult,
16866        out_guid: *mut *mut c_char,
16867        error: *mut *mut glib::GError,
16868    ) -> *mut GIOStream;
16869    pub fn g_dbus_address_get_stream_sync(
16870        address: *const c_char,
16871        out_guid: *mut *mut c_char,
16872        cancellable: *mut GCancellable,
16873        error: *mut *mut glib::GError,
16874    ) -> *mut GIOStream;
16875    #[cfg(feature = "v2_68")]
16876    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16877    pub fn g_dbus_escape_object_path(s: *const c_char) -> *mut c_char;
16878    #[cfg(feature = "v2_68")]
16879    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16880    pub fn g_dbus_escape_object_path_bytestring(bytes: *const u8) -> *mut c_char;
16881    pub fn g_dbus_generate_guid() -> *mut c_char;
16882    pub fn g_dbus_gvalue_to_gvariant(
16883        gvalue: *const gobject::GValue,
16884        type_: *const glib::GVariantType,
16885    ) -> *mut glib::GVariant;
16886    pub fn g_dbus_gvariant_to_gvalue(value: *mut glib::GVariant, out_gvalue: *mut gobject::GValue);
16887    pub fn g_dbus_is_address(string: *const c_char) -> gboolean;
16888    #[cfg(feature = "v2_70")]
16889    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16890    pub fn g_dbus_is_error_name(string: *const c_char) -> gboolean;
16891    pub fn g_dbus_is_guid(string: *const c_char) -> gboolean;
16892    pub fn g_dbus_is_interface_name(string: *const c_char) -> gboolean;
16893    pub fn g_dbus_is_member_name(string: *const c_char) -> gboolean;
16894    pub fn g_dbus_is_name(string: *const c_char) -> gboolean;
16895    pub fn g_dbus_is_supported_address(
16896        string: *const c_char,
16897        error: *mut *mut glib::GError,
16898    ) -> gboolean;
16899    pub fn g_dbus_is_unique_name(string: *const c_char) -> gboolean;
16900    #[cfg(feature = "v2_68")]
16901    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16902    pub fn g_dbus_unescape_object_path(s: *const c_char) -> *mut u8;
16903    pub fn g_io_error_from_errno(err_no: c_int) -> GIOErrorEnum;
16904    #[cfg(feature = "v2_74")]
16905    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
16906    pub fn g_io_error_from_file_error(file_error: glib::GFileError) -> GIOErrorEnum;
16907    pub fn g_io_error_quark() -> glib::GQuark;
16908    pub fn g_io_modules_load_all_in_directory(dirname: *const c_char) -> *mut glib::GList;
16909    pub fn g_io_modules_load_all_in_directory_with_scope(
16910        dirname: *const c_char,
16911        scope: *mut GIOModuleScope,
16912    ) -> *mut glib::GList;
16913    pub fn g_io_modules_scan_all_in_directory(dirname: *const c_char);
16914    pub fn g_io_modules_scan_all_in_directory_with_scope(
16915        dirname: *const c_char,
16916        scope: *mut GIOModuleScope,
16917    );
16918    pub fn g_io_scheduler_cancel_all_jobs();
16919    pub fn g_io_scheduler_push_job(
16920        job_func: GIOSchedulerJobFunc,
16921        user_data: gpointer,
16922        notify: glib::GDestroyNotify,
16923        io_priority: c_int,
16924        cancellable: *mut GCancellable,
16925    );
16926    pub fn g_keyfile_settings_backend_new(
16927        filename: *const c_char,
16928        root_path: *const c_char,
16929        root_group: *const c_char,
16930    ) -> *mut GSettingsBackend;
16931    pub fn g_memory_settings_backend_new() -> *mut GSettingsBackend;
16932    pub fn g_networking_init();
16933    pub fn g_null_settings_backend_new() -> *mut GSettingsBackend;
16934    pub fn g_pollable_source_new(pollable_stream: *mut gobject::GObject) -> *mut glib::GSource;
16935    pub fn g_pollable_source_new_full(
16936        pollable_stream: *mut gobject::GObject,
16937        child_source: *mut glib::GSource,
16938        cancellable: *mut GCancellable,
16939    ) -> *mut glib::GSource;
16940    pub fn g_pollable_stream_read(
16941        stream: *mut GInputStream,
16942        buffer: *mut u8,
16943        count: size_t,
16944        blocking: gboolean,
16945        cancellable: *mut GCancellable,
16946        error: *mut *mut glib::GError,
16947    ) -> ssize_t;
16948    pub fn g_pollable_stream_write(
16949        stream: *mut GOutputStream,
16950        buffer: *mut u8,
16951        count: size_t,
16952        blocking: gboolean,
16953        cancellable: *mut GCancellable,
16954        error: *mut *mut glib::GError,
16955    ) -> ssize_t;
16956    pub fn g_pollable_stream_write_all(
16957        stream: *mut GOutputStream,
16958        buffer: *mut u8,
16959        count: size_t,
16960        blocking: gboolean,
16961        bytes_written: *mut size_t,
16962        cancellable: *mut GCancellable,
16963        error: *mut *mut glib::GError,
16964    ) -> gboolean;
16965    pub fn g_resources_enumerate_children(
16966        path: *const c_char,
16967        lookup_flags: GResourceLookupFlags,
16968        error: *mut *mut glib::GError,
16969    ) -> *mut *mut c_char;
16970    pub fn g_resources_get_info(
16971        path: *const c_char,
16972        lookup_flags: GResourceLookupFlags,
16973        size: *mut size_t,
16974        flags: *mut u32,
16975        error: *mut *mut glib::GError,
16976    ) -> gboolean;
16977    #[cfg(feature = "v2_84")]
16978    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
16979    pub fn g_resources_has_children(path: *const c_char) -> gboolean;
16980    pub fn g_resources_lookup_data(
16981        path: *const c_char,
16982        lookup_flags: GResourceLookupFlags,
16983        error: *mut *mut glib::GError,
16984    ) -> *mut glib::GBytes;
16985    pub fn g_resources_open_stream(
16986        path: *const c_char,
16987        lookup_flags: GResourceLookupFlags,
16988        error: *mut *mut glib::GError,
16989    ) -> *mut GInputStream;
16990    pub fn g_resources_register(resource: *mut GResource);
16991    pub fn g_resources_unregister(resource: *mut GResource);
16992    pub fn g_simple_async_report_error_in_idle(
16993        object: *mut gobject::GObject,
16994        callback: GAsyncReadyCallback,
16995        user_data: gpointer,
16996        domain: glib::GQuark,
16997        code: c_int,
16998        format: *const c_char,
16999        ...
17000    );
17001    pub fn g_simple_async_report_gerror_in_idle(
17002        object: *mut gobject::GObject,
17003        callback: GAsyncReadyCallback,
17004        user_data: gpointer,
17005        error: *const glib::GError,
17006    );
17007    pub fn g_simple_async_report_take_gerror_in_idle(
17008        object: *mut gobject::GObject,
17009        callback: GAsyncReadyCallback,
17010        user_data: gpointer,
17011        error: *mut glib::GError,
17012    );
17013
17014}