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#[cfg(feature = "v2_92")]
693#[cfg_attr(docsrs, doc(cfg(feature = "v2_92")))]
694pub const G_MOUNT_MOUNT_READ_ONLY: GMountMountFlags = 1;
695
696pub type GMountUnmountFlags = c_uint;
697pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
698pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
699
700pub type GOutputStreamSpliceFlags = c_uint;
701pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
702pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1;
703pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2;
704
705pub type GResolverNameLookupFlags = c_uint;
706pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0;
707pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1;
708pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2;
709
710pub type GResourceFlags = c_uint;
711pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
712pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
713
714pub type GResourceLookupFlags = c_uint;
715pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
716
717pub type GSettingsBindFlags = c_uint;
718pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
719pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
720pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
721pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
722pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
723pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
724
725pub type GSubprocessFlags = c_uint;
726pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
727pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
728pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
729pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
730pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
731pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
732pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
733pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
734pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
735pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
736
737pub type GTestDBusFlags = c_uint;
738pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0;
739
740pub type GTlsCertificateFlags = c_uint;
741#[cfg(feature = "v2_74")]
742#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
743pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
744pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
745pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
746pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
747pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
748pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
749pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
750pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
751pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
752
753pub type GTlsCertificateRequestFlags = c_uint;
754pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0;
755
756pub type GTlsDatabaseLookupFlags = c_uint;
757pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
758pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
759
760pub type GTlsDatabaseVerifyFlags = c_uint;
761pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
762
763pub type GTlsPasswordFlags = c_uint;
764pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0;
765pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2;
766pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4;
767pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8;
768pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16;
769pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32;
770pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64;
771
772// Callbacks
773pub type GAsyncReadyCallback =
774    Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>;
775pub type GBusAcquiredCallback =
776    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
777pub type GBusNameAcquiredCallback =
778    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
779pub type GBusNameAppearedCallback =
780    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>;
781pub type GBusNameLostCallback =
782    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
783pub type GBusNameVanishedCallback =
784    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
785pub type GCancellableSourceFunc =
786    Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>;
787pub type GDBusInterfaceGetPropertyFunc = Option<
788    unsafe extern "C" fn(
789        *mut GDBusConnection,
790        *const c_char,
791        *const c_char,
792        *const c_char,
793        *const c_char,
794        *mut *mut glib::GError,
795        gpointer,
796    ) -> *mut glib::GVariant,
797>;
798pub type GDBusInterfaceMethodCallFunc = Option<
799    unsafe extern "C" fn(
800        *mut GDBusConnection,
801        *const c_char,
802        *const c_char,
803        *const c_char,
804        *const c_char,
805        *mut glib::GVariant,
806        *mut GDBusMethodInvocation,
807        gpointer,
808    ),
809>;
810pub type GDBusInterfaceSetPropertyFunc = Option<
811    unsafe extern "C" fn(
812        *mut GDBusConnection,
813        *const c_char,
814        *const c_char,
815        *const c_char,
816        *const c_char,
817        *mut glib::GVariant,
818        *mut *mut glib::GError,
819        gpointer,
820    ) -> gboolean,
821>;
822pub type GDBusMessageFilterFunction = Option<
823    unsafe extern "C" fn(
824        *mut GDBusConnection,
825        *mut GDBusMessage,
826        gboolean,
827        gpointer,
828    ) -> *mut GDBusMessage,
829>;
830pub type GDBusProxyTypeFunc = Option<
831    unsafe extern "C" fn(
832        *mut GDBusObjectManagerClient,
833        *const c_char,
834        *const c_char,
835        gpointer,
836    ) -> GType,
837>;
838pub type GDBusSignalCallback = Option<
839    unsafe extern "C" fn(
840        *mut GDBusConnection,
841        *const c_char,
842        *const c_char,
843        *const c_char,
844        *const c_char,
845        *mut glib::GVariant,
846        gpointer,
847    ),
848>;
849pub type GDBusSubtreeDispatchFunc = Option<
850    unsafe extern "C" fn(
851        *mut GDBusConnection,
852        *const c_char,
853        *const c_char,
854        *const c_char,
855        *const c_char,
856        *mut gpointer,
857        gpointer,
858    ) -> *const GDBusInterfaceVTable,
859>;
860pub type GDBusSubtreeEnumerateFunc = Option<
861    unsafe extern "C" fn(
862        *mut GDBusConnection,
863        *const c_char,
864        *const c_char,
865        gpointer,
866    ) -> *mut *mut c_char,
867>;
868pub type GDBusSubtreeIntrospectFunc = Option<
869    unsafe extern "C" fn(
870        *mut GDBusConnection,
871        *const c_char,
872        *const c_char,
873        *const c_char,
874        gpointer,
875    ) -> *mut *mut GDBusInterfaceInfo,
876>;
877pub type GDatagramBasedSourceFunc =
878    Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>;
879pub type GFileMeasureProgressCallback =
880    Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>;
881pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>;
882pub type GFileReadMoreCallback =
883    Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>;
884pub type GIOSchedulerJobFunc =
885    Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>;
886pub type GPollableSourceFunc =
887    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>;
888pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>;
889pub type GSettingsBindGetMapping =
890    Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>;
891pub type GSettingsBindSetMapping = Option<
892    unsafe extern "C" fn(
893        *const gobject::GValue,
894        *const glib::GVariantType,
895        gpointer,
896    ) -> *mut glib::GVariant,
897>;
898pub type GSettingsGetMapping =
899    Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>;
900pub type GSimpleAsyncThreadFunc =
901    Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>;
902pub type GSocketSourceFunc =
903    Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>;
904pub type GTaskThreadFunc =
905    Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>;
906pub type GVfsFileLookupFunc =
907    Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>;
908
909// Records
910#[derive(Copy, Clone)]
911#[repr(C)]
912pub struct GActionEntry {
913    pub name: *const c_char,
914    pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
915    pub parameter_type: *const c_char,
916    pub state: *const c_char,
917    pub change_state:
918        Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
919    pub padding: [size_t; 3],
920}
921
922impl ::std::fmt::Debug for GActionEntry {
923    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
924        f.debug_struct(&format!("GActionEntry @ {self:p}"))
925            .field("name", &self.name)
926            .field("activate", &self.activate)
927            .field("parameter_type", &self.parameter_type)
928            .field("state", &self.state)
929            .field("change_state", &self.change_state)
930            .finish()
931    }
932}
933
934#[derive(Copy, Clone)]
935#[repr(C)]
936pub struct GActionGroupInterface {
937    pub g_iface: gobject::GTypeInterface,
938    pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
939    pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>,
940    pub get_action_enabled:
941        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
942    pub get_action_parameter_type:
943        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
944    pub get_action_state_type:
945        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
946    pub get_action_state_hint:
947        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
948    pub get_action_state:
949        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
950    pub change_action_state:
951        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
952    pub activate_action:
953        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
954    pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
955    pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
956    pub action_enabled_changed:
957        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>,
958    pub action_state_changed:
959        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
960    pub query_action: Option<
961        unsafe extern "C" fn(
962            *mut GActionGroup,
963            *const c_char,
964            *mut gboolean,
965            *mut *const glib::GVariantType,
966            *mut *const glib::GVariantType,
967            *mut *mut glib::GVariant,
968            *mut *mut glib::GVariant,
969        ) -> gboolean,
970    >,
971}
972
973impl ::std::fmt::Debug for GActionGroupInterface {
974    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
975        f.debug_struct(&format!("GActionGroupInterface @ {self:p}"))
976            .field("g_iface", &self.g_iface)
977            .field("has_action", &self.has_action)
978            .field("list_actions", &self.list_actions)
979            .field("get_action_enabled", &self.get_action_enabled)
980            .field("get_action_parameter_type", &self.get_action_parameter_type)
981            .field("get_action_state_type", &self.get_action_state_type)
982            .field("get_action_state_hint", &self.get_action_state_hint)
983            .field("get_action_state", &self.get_action_state)
984            .field("change_action_state", &self.change_action_state)
985            .field("activate_action", &self.activate_action)
986            .field("action_added", &self.action_added)
987            .field("action_removed", &self.action_removed)
988            .field("action_enabled_changed", &self.action_enabled_changed)
989            .field("action_state_changed", &self.action_state_changed)
990            .field("query_action", &self.query_action)
991            .finish()
992    }
993}
994
995#[derive(Copy, Clone)]
996#[repr(C)]
997pub struct GActionInterface {
998    pub g_iface: gobject::GTypeInterface,
999    pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>,
1000    pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
1001    pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
1002    pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
1003    pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>,
1004    pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
1005    pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
1006    pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
1007}
1008
1009impl ::std::fmt::Debug for GActionInterface {
1010    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1011        f.debug_struct(&format!("GActionInterface @ {self:p}"))
1012            .field("g_iface", &self.g_iface)
1013            .field("get_name", &self.get_name)
1014            .field("get_parameter_type", &self.get_parameter_type)
1015            .field("get_state_type", &self.get_state_type)
1016            .field("get_state_hint", &self.get_state_hint)
1017            .field("get_enabled", &self.get_enabled)
1018            .field("get_state", &self.get_state)
1019            .field("change_state", &self.change_state)
1020            .field("activate", &self.activate)
1021            .finish()
1022    }
1023}
1024
1025#[derive(Copy, Clone)]
1026#[repr(C)]
1027pub struct GActionMapInterface {
1028    pub g_iface: gobject::GTypeInterface,
1029    pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>,
1030    pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>,
1031    pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>,
1032}
1033
1034impl ::std::fmt::Debug for GActionMapInterface {
1035    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1036        f.debug_struct(&format!("GActionMapInterface @ {self:p}"))
1037            .field("g_iface", &self.g_iface)
1038            .field("lookup_action", &self.lookup_action)
1039            .field("add_action", &self.add_action)
1040            .field("remove_action", &self.remove_action)
1041            .finish()
1042    }
1043}
1044
1045#[derive(Copy, Clone)]
1046#[repr(C)]
1047pub struct GAppInfoIface {
1048    pub g_iface: gobject::GTypeInterface,
1049    pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>,
1050    pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>,
1051    pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1052    pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1053    pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1054    pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1055    pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>,
1056    pub launch: Option<
1057        unsafe extern "C" fn(
1058            *mut GAppInfo,
1059            *mut glib::GList,
1060            *mut GAppLaunchContext,
1061            *mut *mut glib::GError,
1062        ) -> gboolean,
1063    >,
1064    pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1065    pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1066    pub launch_uris: Option<
1067        unsafe extern "C" fn(
1068            *mut GAppInfo,
1069            *mut glib::GList,
1070            *mut GAppLaunchContext,
1071            *mut *mut glib::GError,
1072        ) -> gboolean,
1073    >,
1074    pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1075    pub set_as_default_for_type: Option<
1076        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1077    >,
1078    pub set_as_default_for_extension: Option<
1079        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1080    >,
1081    pub add_supports_type: Option<
1082        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1083    >,
1084    pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1085    pub remove_supports_type: Option<
1086        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1087    >,
1088    pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1089    pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1090    pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1091    pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1092    pub set_as_last_used_for_type: Option<
1093        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1094    >,
1095    pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>,
1096    pub launch_uris_async: Option<
1097        unsafe extern "C" fn(
1098            *mut GAppInfo,
1099            *mut glib::GList,
1100            *mut GAppLaunchContext,
1101            *mut GCancellable,
1102            GAsyncReadyCallback,
1103            gpointer,
1104        ),
1105    >,
1106    pub launch_uris_finish: Option<
1107        unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
1108    >,
1109}
1110
1111impl ::std::fmt::Debug for GAppInfoIface {
1112    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1113        f.debug_struct(&format!("GAppInfoIface @ {self:p}"))
1114            .field("g_iface", &self.g_iface)
1115            .field("dup", &self.dup)
1116            .field("equal", &self.equal)
1117            .field("get_id", &self.get_id)
1118            .field("get_name", &self.get_name)
1119            .field("get_description", &self.get_description)
1120            .field("get_executable", &self.get_executable)
1121            .field("get_icon", &self.get_icon)
1122            .field("launch", &self.launch)
1123            .field("supports_uris", &self.supports_uris)
1124            .field("supports_files", &self.supports_files)
1125            .field("launch_uris", &self.launch_uris)
1126            .field("should_show", &self.should_show)
1127            .field("set_as_default_for_type", &self.set_as_default_for_type)
1128            .field(
1129                "set_as_default_for_extension",
1130                &self.set_as_default_for_extension,
1131            )
1132            .field("add_supports_type", &self.add_supports_type)
1133            .field("can_remove_supports_type", &self.can_remove_supports_type)
1134            .field("remove_supports_type", &self.remove_supports_type)
1135            .field("can_delete", &self.can_delete)
1136            .field("do_delete", &self.do_delete)
1137            .field("get_commandline", &self.get_commandline)
1138            .field("get_display_name", &self.get_display_name)
1139            .field("set_as_last_used_for_type", &self.set_as_last_used_for_type)
1140            .field("get_supported_types", &self.get_supported_types)
1141            .field("launch_uris_async", &self.launch_uris_async)
1142            .field("launch_uris_finish", &self.launch_uris_finish)
1143            .finish()
1144    }
1145}
1146
1147#[derive(Copy, Clone)]
1148#[repr(C)]
1149pub struct GAppLaunchContextClass {
1150    pub parent_class: gobject::GObjectClass,
1151    pub get_display: Option<
1152        unsafe extern "C" fn(
1153            *mut GAppLaunchContext,
1154            *mut GAppInfo,
1155            *mut glib::GList,
1156        ) -> *mut c_char,
1157    >,
1158    pub get_startup_notify_id: Option<
1159        unsafe extern "C" fn(
1160            *mut GAppLaunchContext,
1161            *mut GAppInfo,
1162            *mut glib::GList,
1163        ) -> *mut c_char,
1164    >,
1165    pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>,
1166    pub launched:
1167        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1168    pub launch_started:
1169        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1170    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1171    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1172    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1173}
1174
1175impl ::std::fmt::Debug for GAppLaunchContextClass {
1176    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1177        f.debug_struct(&format!("GAppLaunchContextClass @ {self:p}"))
1178            .field("parent_class", &self.parent_class)
1179            .field("get_display", &self.get_display)
1180            .field("get_startup_notify_id", &self.get_startup_notify_id)
1181            .field("launch_failed", &self.launch_failed)
1182            .field("launched", &self.launched)
1183            .field("launch_started", &self.launch_started)
1184            .field("_g_reserved1", &self._g_reserved1)
1185            .field("_g_reserved2", &self._g_reserved2)
1186            .field("_g_reserved3", &self._g_reserved3)
1187            .finish()
1188    }
1189}
1190
1191#[repr(C)]
1192#[allow(dead_code)]
1193pub struct _GAppLaunchContextPrivate {
1194    _data: [u8; 0],
1195    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1196}
1197
1198pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
1199
1200#[derive(Copy, Clone)]
1201#[repr(C)]
1202pub struct GApplicationClass {
1203    pub parent_class: gobject::GObjectClass,
1204    pub startup: Option<unsafe extern "C" fn(*mut GApplication)>,
1205    pub activate: Option<unsafe extern "C" fn(*mut GApplication)>,
1206    pub open:
1207        Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>,
1208    pub command_line:
1209        Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>,
1210    pub local_command_line: Option<
1211        unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean,
1212    >,
1213    pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1214    pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1215    pub add_platform_data:
1216        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>,
1217    pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1218    pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1219    pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>,
1220    pub dbus_register: Option<
1221        unsafe extern "C" fn(
1222            *mut GApplication,
1223            *mut GDBusConnection,
1224            *const c_char,
1225            *mut *mut glib::GError,
1226        ) -> gboolean,
1227    >,
1228    pub dbus_unregister:
1229        Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>,
1230    pub handle_local_options:
1231        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>,
1232    pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>,
1233    pub padding: [gpointer; 7],
1234}
1235
1236impl ::std::fmt::Debug for GApplicationClass {
1237    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1238        f.debug_struct(&format!("GApplicationClass @ {self:p}"))
1239            .field("startup", &self.startup)
1240            .field("activate", &self.activate)
1241            .field("open", &self.open)
1242            .field("command_line", &self.command_line)
1243            .field("local_command_line", &self.local_command_line)
1244            .field("before_emit", &self.before_emit)
1245            .field("after_emit", &self.after_emit)
1246            .field("add_platform_data", &self.add_platform_data)
1247            .field("quit_mainloop", &self.quit_mainloop)
1248            .field("run_mainloop", &self.run_mainloop)
1249            .field("shutdown", &self.shutdown)
1250            .field("dbus_register", &self.dbus_register)
1251            .field("dbus_unregister", &self.dbus_unregister)
1252            .field("handle_local_options", &self.handle_local_options)
1253            .field("name_lost", &self.name_lost)
1254            .finish()
1255    }
1256}
1257
1258#[derive(Copy, Clone)]
1259#[repr(C)]
1260pub struct GApplicationCommandLineClass {
1261    pub parent_class: gobject::GObjectClass,
1262    pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1263    pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1264    pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>,
1265    pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>,
1266    pub padding: [gpointer; 10],
1267}
1268
1269impl ::std::fmt::Debug for GApplicationCommandLineClass {
1270    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1271        f.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}"))
1272            .field("print_literal", &self.print_literal)
1273            .field("printerr_literal", &self.printerr_literal)
1274            .field("get_stdin", &self.get_stdin)
1275            .field("done", &self.done)
1276            .finish()
1277    }
1278}
1279
1280#[repr(C)]
1281#[allow(dead_code)]
1282pub struct _GApplicationCommandLinePrivate {
1283    _data: [u8; 0],
1284    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1285}
1286
1287pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
1288
1289#[repr(C)]
1290#[allow(dead_code)]
1291pub struct _GApplicationPrivate {
1292    _data: [u8; 0],
1293    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1294}
1295
1296pub type GApplicationPrivate = _GApplicationPrivate;
1297
1298#[derive(Copy, Clone)]
1299#[repr(C)]
1300pub struct GAsyncInitableIface {
1301    pub g_iface: gobject::GTypeInterface,
1302    pub init_async: Option<
1303        unsafe extern "C" fn(
1304            *mut GAsyncInitable,
1305            c_int,
1306            *mut GCancellable,
1307            GAsyncReadyCallback,
1308            gpointer,
1309        ),
1310    >,
1311    pub init_finish: Option<
1312        unsafe extern "C" fn(
1313            *mut GAsyncInitable,
1314            *mut GAsyncResult,
1315            *mut *mut glib::GError,
1316        ) -> gboolean,
1317    >,
1318}
1319
1320impl ::std::fmt::Debug for GAsyncInitableIface {
1321    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1322        f.debug_struct(&format!("GAsyncInitableIface @ {self:p}"))
1323            .field("g_iface", &self.g_iface)
1324            .field("init_async", &self.init_async)
1325            .field("init_finish", &self.init_finish)
1326            .finish()
1327    }
1328}
1329
1330#[derive(Copy, Clone)]
1331#[repr(C)]
1332pub struct GAsyncResultIface {
1333    pub g_iface: gobject::GTypeInterface,
1334    pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>,
1335    pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>,
1336    pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>,
1337}
1338
1339impl ::std::fmt::Debug for GAsyncResultIface {
1340    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1341        f.debug_struct(&format!("GAsyncResultIface @ {self:p}"))
1342            .field("g_iface", &self.g_iface)
1343            .field("get_user_data", &self.get_user_data)
1344            .field("get_source_object", &self.get_source_object)
1345            .field("is_tagged", &self.is_tagged)
1346            .finish()
1347    }
1348}
1349
1350#[derive(Copy, Clone)]
1351#[repr(C)]
1352pub struct GBufferedInputStreamClass {
1353    pub parent_class: GFilterInputStreamClass,
1354    pub fill: Option<
1355        unsafe extern "C" fn(
1356            *mut GBufferedInputStream,
1357            ssize_t,
1358            *mut GCancellable,
1359            *mut *mut glib::GError,
1360        ) -> ssize_t,
1361    >,
1362    pub fill_async: Option<
1363        unsafe extern "C" fn(
1364            *mut GBufferedInputStream,
1365            ssize_t,
1366            c_int,
1367            *mut GCancellable,
1368            GAsyncReadyCallback,
1369            gpointer,
1370        ),
1371    >,
1372    pub fill_finish: Option<
1373        unsafe extern "C" fn(
1374            *mut GBufferedInputStream,
1375            *mut GAsyncResult,
1376            *mut *mut glib::GError,
1377        ) -> ssize_t,
1378    >,
1379    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1380    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1381    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1382    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1383    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1384}
1385
1386impl ::std::fmt::Debug for GBufferedInputStreamClass {
1387    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1388        f.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}"))
1389            .field("parent_class", &self.parent_class)
1390            .field("fill", &self.fill)
1391            .field("fill_async", &self.fill_async)
1392            .field("fill_finish", &self.fill_finish)
1393            .field("_g_reserved1", &self._g_reserved1)
1394            .field("_g_reserved2", &self._g_reserved2)
1395            .field("_g_reserved3", &self._g_reserved3)
1396            .field("_g_reserved4", &self._g_reserved4)
1397            .field("_g_reserved5", &self._g_reserved5)
1398            .finish()
1399    }
1400}
1401
1402#[repr(C)]
1403#[allow(dead_code)]
1404pub struct _GBufferedInputStreamPrivate {
1405    _data: [u8; 0],
1406    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1407}
1408
1409pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
1410
1411#[derive(Copy, Clone)]
1412#[repr(C)]
1413pub struct GBufferedOutputStreamClass {
1414    pub parent_class: GFilterOutputStreamClass,
1415    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1416    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1417}
1418
1419impl ::std::fmt::Debug for GBufferedOutputStreamClass {
1420    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1421        f.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}"))
1422            .field("parent_class", &self.parent_class)
1423            .field("_g_reserved1", &self._g_reserved1)
1424            .field("_g_reserved2", &self._g_reserved2)
1425            .finish()
1426    }
1427}
1428
1429#[repr(C)]
1430#[allow(dead_code)]
1431pub struct _GBufferedOutputStreamPrivate {
1432    _data: [u8; 0],
1433    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1434}
1435
1436pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
1437
1438#[derive(Copy, Clone)]
1439#[repr(C)]
1440pub struct GCancellableClass {
1441    pub parent_class: gobject::GObjectClass,
1442    pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>,
1443    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1444    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1445    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1446    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1447    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1448}
1449
1450impl ::std::fmt::Debug for GCancellableClass {
1451    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1452        f.debug_struct(&format!("GCancellableClass @ {self:p}"))
1453            .field("parent_class", &self.parent_class)
1454            .field("cancelled", &self.cancelled)
1455            .field("_g_reserved1", &self._g_reserved1)
1456            .field("_g_reserved2", &self._g_reserved2)
1457            .field("_g_reserved3", &self._g_reserved3)
1458            .field("_g_reserved4", &self._g_reserved4)
1459            .field("_g_reserved5", &self._g_reserved5)
1460            .finish()
1461    }
1462}
1463
1464#[repr(C)]
1465#[allow(dead_code)]
1466pub struct _GCancellablePrivate {
1467    _data: [u8; 0],
1468    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1469}
1470
1471pub type GCancellablePrivate = _GCancellablePrivate;
1472
1473#[derive(Copy, Clone)]
1474#[repr(C)]
1475pub struct GCharsetConverterClass {
1476    pub parent_class: gobject::GObjectClass,
1477}
1478
1479impl ::std::fmt::Debug for GCharsetConverterClass {
1480    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1481        f.debug_struct(&format!("GCharsetConverterClass @ {self:p}"))
1482            .field("parent_class", &self.parent_class)
1483            .finish()
1484    }
1485}
1486
1487#[derive(Copy, Clone)]
1488#[repr(C)]
1489pub struct GConverterIface {
1490    pub g_iface: gobject::GTypeInterface,
1491    pub convert: Option<
1492        unsafe extern "C" fn(
1493            *mut GConverter,
1494            *mut u8,
1495            size_t,
1496            *mut u8,
1497            size_t,
1498            GConverterFlags,
1499            *mut size_t,
1500            *mut size_t,
1501            *mut *mut glib::GError,
1502        ) -> GConverterResult,
1503    >,
1504    pub reset: Option<unsafe extern "C" fn(*mut GConverter)>,
1505}
1506
1507impl ::std::fmt::Debug for GConverterIface {
1508    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1509        f.debug_struct(&format!("GConverterIface @ {self:p}"))
1510            .field("g_iface", &self.g_iface)
1511            .field("convert", &self.convert)
1512            .field("reset", &self.reset)
1513            .finish()
1514    }
1515}
1516
1517#[derive(Copy, Clone)]
1518#[repr(C)]
1519pub struct GConverterInputStreamClass {
1520    pub parent_class: GFilterInputStreamClass,
1521    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1522    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1523    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1524    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1525    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1526}
1527
1528impl ::std::fmt::Debug for GConverterInputStreamClass {
1529    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1530        f.debug_struct(&format!("GConverterInputStreamClass @ {self:p}"))
1531            .field("parent_class", &self.parent_class)
1532            .field("_g_reserved1", &self._g_reserved1)
1533            .field("_g_reserved2", &self._g_reserved2)
1534            .field("_g_reserved3", &self._g_reserved3)
1535            .field("_g_reserved4", &self._g_reserved4)
1536            .field("_g_reserved5", &self._g_reserved5)
1537            .finish()
1538    }
1539}
1540
1541#[repr(C)]
1542#[allow(dead_code)]
1543pub struct _GConverterInputStreamPrivate {
1544    _data: [u8; 0],
1545    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1546}
1547
1548pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
1549
1550#[derive(Copy, Clone)]
1551#[repr(C)]
1552pub struct GConverterOutputStreamClass {
1553    pub parent_class: GFilterOutputStreamClass,
1554    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1555    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1556    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1557    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1558    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1559}
1560
1561impl ::std::fmt::Debug for GConverterOutputStreamClass {
1562    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1563        f.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}"))
1564            .field("parent_class", &self.parent_class)
1565            .field("_g_reserved1", &self._g_reserved1)
1566            .field("_g_reserved2", &self._g_reserved2)
1567            .field("_g_reserved3", &self._g_reserved3)
1568            .field("_g_reserved4", &self._g_reserved4)
1569            .field("_g_reserved5", &self._g_reserved5)
1570            .finish()
1571    }
1572}
1573
1574#[repr(C)]
1575#[allow(dead_code)]
1576pub struct _GConverterOutputStreamPrivate {
1577    _data: [u8; 0],
1578    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1579}
1580
1581pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
1582
1583#[repr(C)]
1584#[allow(dead_code)]
1585pub struct _GCredentialsClass {
1586    _data: [u8; 0],
1587    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1588}
1589
1590pub type GCredentialsClass = _GCredentialsClass;
1591
1592#[derive(Copy, Clone)]
1593#[repr(C)]
1594pub struct GDBusActionGroupClass {
1595    pub parent_class: gobject::GObjectClass,
1596}
1597
1598impl ::std::fmt::Debug for GDBusActionGroupClass {
1599    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1600        f.debug_struct(&format!("GDBusActionGroupClass @ {self:p}"))
1601            .field("parent_class", &self.parent_class)
1602            .finish()
1603    }
1604}
1605
1606#[derive(Copy, Clone)]
1607#[repr(C)]
1608pub struct GDBusAnnotationInfo {
1609    pub ref_count: c_int,
1610    pub key: *mut c_char,
1611    pub value: *mut c_char,
1612    pub annotations: *mut *mut GDBusAnnotationInfo,
1613}
1614
1615impl ::std::fmt::Debug for GDBusAnnotationInfo {
1616    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1617        f.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}"))
1618            .field("ref_count", &self.ref_count)
1619            .field("key", &self.key)
1620            .field("value", &self.value)
1621            .field("annotations", &self.annotations)
1622            .finish()
1623    }
1624}
1625
1626#[derive(Copy, Clone)]
1627#[repr(C)]
1628pub struct GDBusArgInfo {
1629    pub ref_count: c_int,
1630    pub name: *mut c_char,
1631    pub signature: *mut c_char,
1632    pub annotations: *mut *mut GDBusAnnotationInfo,
1633}
1634
1635impl ::std::fmt::Debug for GDBusArgInfo {
1636    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1637        f.debug_struct(&format!("GDBusArgInfo @ {self:p}"))
1638            .field("ref_count", &self.ref_count)
1639            .field("name", &self.name)
1640            .field("signature", &self.signature)
1641            .field("annotations", &self.annotations)
1642            .finish()
1643    }
1644}
1645
1646#[derive(Copy, Clone)]
1647#[repr(C)]
1648pub struct GDBusErrorEntry {
1649    pub error_code: c_int,
1650    pub dbus_error_name: *const c_char,
1651}
1652
1653impl ::std::fmt::Debug for GDBusErrorEntry {
1654    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1655        f.debug_struct(&format!("GDBusErrorEntry @ {self:p}"))
1656            .field("error_code", &self.error_code)
1657            .field("dbus_error_name", &self.dbus_error_name)
1658            .finish()
1659    }
1660}
1661
1662#[derive(Copy, Clone)]
1663#[repr(C)]
1664pub struct GDBusInterfaceIface {
1665    pub parent_iface: gobject::GTypeInterface,
1666    pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
1667    pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1668    pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>,
1669    pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1670}
1671
1672impl ::std::fmt::Debug for GDBusInterfaceIface {
1673    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1674        f.debug_struct(&format!("GDBusInterfaceIface @ {self:p}"))
1675            .field("parent_iface", &self.parent_iface)
1676            .field("get_info", &self.get_info)
1677            .field("get_object", &self.get_object)
1678            .field("set_object", &self.set_object)
1679            .field("dup_object", &self.dup_object)
1680            .finish()
1681    }
1682}
1683
1684#[derive(Copy, Clone)]
1685#[repr(C)]
1686pub struct GDBusInterfaceInfo {
1687    pub ref_count: c_int,
1688    pub name: *mut c_char,
1689    pub methods: *mut *mut GDBusMethodInfo,
1690    pub signals: *mut *mut GDBusSignalInfo,
1691    pub properties: *mut *mut GDBusPropertyInfo,
1692    pub annotations: *mut *mut GDBusAnnotationInfo,
1693}
1694
1695impl ::std::fmt::Debug for GDBusInterfaceInfo {
1696    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1697        f.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}"))
1698            .field("ref_count", &self.ref_count)
1699            .field("name", &self.name)
1700            .field("methods", &self.methods)
1701            .field("signals", &self.signals)
1702            .field("properties", &self.properties)
1703            .field("annotations", &self.annotations)
1704            .finish()
1705    }
1706}
1707
1708#[derive(Copy, Clone)]
1709#[repr(C)]
1710pub struct GDBusInterfaceSkeletonClass {
1711    pub parent_class: gobject::GObjectClass,
1712    pub get_info:
1713        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>,
1714    pub get_vtable:
1715        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>,
1716    pub get_properties:
1717        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>,
1718    pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>,
1719    pub method_dispatch: Option<
1720        unsafe extern "C" fn(
1721            *mut GDBusInterfaceSkeleton,
1722            GDBusInterfaceMethodCallFunc,
1723            *mut GDBusMethodInvocation,
1724            GDBusInterfaceSkeletonFlags,
1725            *mut GDBusObject,
1726        ),
1727    >,
1728    pub vfunc_padding: [gpointer; 7],
1729    pub g_authorize_method: Option<
1730        unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean,
1731    >,
1732    pub signal_padding: [gpointer; 8],
1733}
1734
1735impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass {
1736    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1737        f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}"))
1738            .field("parent_class", &self.parent_class)
1739            .field("get_info", &self.get_info)
1740            .field("get_vtable", &self.get_vtable)
1741            .field("get_properties", &self.get_properties)
1742            .field("flush", &self.flush)
1743            .field("method_dispatch", &self.method_dispatch)
1744            .field("g_authorize_method", &self.g_authorize_method)
1745            .finish()
1746    }
1747}
1748
1749#[repr(C)]
1750#[allow(dead_code)]
1751pub struct _GDBusInterfaceSkeletonPrivate {
1752    _data: [u8; 0],
1753    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1754}
1755
1756pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
1757
1758#[derive(Copy, Clone)]
1759#[repr(C)]
1760pub struct GDBusInterfaceVTable {
1761    pub method_call: GDBusInterfaceMethodCallFunc,
1762    pub get_property: GDBusInterfaceGetPropertyFunc,
1763    pub set_property: GDBusInterfaceSetPropertyFunc,
1764    pub padding: [gpointer; 8],
1765}
1766
1767impl ::std::fmt::Debug for GDBusInterfaceVTable {
1768    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1769        f.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}"))
1770            .field("method_call", &self.method_call)
1771            .field("get_property", &self.get_property)
1772            .field("set_property", &self.set_property)
1773            .finish()
1774    }
1775}
1776
1777#[derive(Copy, Clone)]
1778#[repr(C)]
1779pub struct GDBusMethodInfo {
1780    pub ref_count: c_int,
1781    pub name: *mut c_char,
1782    pub in_args: *mut *mut GDBusArgInfo,
1783    pub out_args: *mut *mut GDBusArgInfo,
1784    pub annotations: *mut *mut GDBusAnnotationInfo,
1785}
1786
1787impl ::std::fmt::Debug for GDBusMethodInfo {
1788    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1789        f.debug_struct(&format!("GDBusMethodInfo @ {self:p}"))
1790            .field("ref_count", &self.ref_count)
1791            .field("name", &self.name)
1792            .field("in_args", &self.in_args)
1793            .field("out_args", &self.out_args)
1794            .field("annotations", &self.annotations)
1795            .finish()
1796    }
1797}
1798
1799#[derive(Copy, Clone)]
1800#[repr(C)]
1801pub struct GDBusNodeInfo {
1802    pub ref_count: c_int,
1803    pub path: *mut c_char,
1804    pub interfaces: *mut *mut GDBusInterfaceInfo,
1805    pub nodes: *mut *mut GDBusNodeInfo,
1806    pub annotations: *mut *mut GDBusAnnotationInfo,
1807}
1808
1809impl ::std::fmt::Debug for GDBusNodeInfo {
1810    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1811        f.debug_struct(&format!("GDBusNodeInfo @ {self:p}"))
1812            .field("ref_count", &self.ref_count)
1813            .field("path", &self.path)
1814            .field("interfaces", &self.interfaces)
1815            .field("nodes", &self.nodes)
1816            .field("annotations", &self.annotations)
1817            .finish()
1818    }
1819}
1820
1821#[derive(Copy, Clone)]
1822#[repr(C)]
1823pub struct GDBusObjectIface {
1824    pub parent_iface: gobject::GTypeInterface,
1825    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>,
1826    pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>,
1827    pub get_interface:
1828        Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>,
1829    pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1830    pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1831}
1832
1833impl ::std::fmt::Debug for GDBusObjectIface {
1834    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1835        f.debug_struct(&format!("GDBusObjectIface @ {self:p}"))
1836            .field("parent_iface", &self.parent_iface)
1837            .field("get_object_path", &self.get_object_path)
1838            .field("get_interfaces", &self.get_interfaces)
1839            .field("get_interface", &self.get_interface)
1840            .field("interface_added", &self.interface_added)
1841            .field("interface_removed", &self.interface_removed)
1842            .finish()
1843    }
1844}
1845
1846#[derive(Copy, Clone)]
1847#[repr(C)]
1848pub struct GDBusObjectManagerClientClass {
1849    pub parent_class: gobject::GObjectClass,
1850    pub interface_proxy_signal: Option<
1851        unsafe extern "C" fn(
1852            *mut GDBusObjectManagerClient,
1853            *mut GDBusObjectProxy,
1854            *mut GDBusProxy,
1855            *const c_char,
1856            *const c_char,
1857            *mut glib::GVariant,
1858        ),
1859    >,
1860    pub interface_proxy_properties_changed: Option<
1861        unsafe extern "C" fn(
1862            *mut GDBusObjectManagerClient,
1863            *mut GDBusObjectProxy,
1864            *mut GDBusProxy,
1865            *mut glib::GVariant,
1866            *const *const c_char,
1867        ),
1868    >,
1869    pub padding: [gpointer; 8],
1870}
1871
1872impl ::std::fmt::Debug for GDBusObjectManagerClientClass {
1873    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1874        f.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}"))
1875            .field("parent_class", &self.parent_class)
1876            .field("interface_proxy_signal", &self.interface_proxy_signal)
1877            .field(
1878                "interface_proxy_properties_changed",
1879                &self.interface_proxy_properties_changed,
1880            )
1881            .finish()
1882    }
1883}
1884
1885#[repr(C)]
1886#[allow(dead_code)]
1887pub struct _GDBusObjectManagerClientPrivate {
1888    _data: [u8; 0],
1889    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1890}
1891
1892pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
1893
1894#[derive(Copy, Clone)]
1895#[repr(C)]
1896pub struct GDBusObjectManagerIface {
1897    pub parent_iface: gobject::GTypeInterface,
1898    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>,
1899    pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>,
1900    pub get_object:
1901        Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>,
1902    pub get_interface: Option<
1903        unsafe extern "C" fn(
1904            *mut GDBusObjectManager,
1905            *const c_char,
1906            *const c_char,
1907        ) -> *mut GDBusInterface,
1908    >,
1909    pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1910    pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1911    pub interface_added: Option<
1912        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1913    >,
1914    pub interface_removed: Option<
1915        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1916    >,
1917}
1918
1919impl ::std::fmt::Debug for GDBusObjectManagerIface {
1920    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1921        f.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}"))
1922            .field("parent_iface", &self.parent_iface)
1923            .field("get_object_path", &self.get_object_path)
1924            .field("get_objects", &self.get_objects)
1925            .field("get_object", &self.get_object)
1926            .field("get_interface", &self.get_interface)
1927            .field("object_added", &self.object_added)
1928            .field("object_removed", &self.object_removed)
1929            .field("interface_added", &self.interface_added)
1930            .field("interface_removed", &self.interface_removed)
1931            .finish()
1932    }
1933}
1934
1935#[derive(Copy, Clone)]
1936#[repr(C)]
1937pub struct GDBusObjectManagerServerClass {
1938    pub parent_class: gobject::GObjectClass,
1939    pub padding: [gpointer; 8],
1940}
1941
1942impl ::std::fmt::Debug for GDBusObjectManagerServerClass {
1943    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1944        f.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}"))
1945            .field("parent_class", &self.parent_class)
1946            .finish()
1947    }
1948}
1949
1950#[repr(C)]
1951#[allow(dead_code)]
1952pub struct _GDBusObjectManagerServerPrivate {
1953    _data: [u8; 0],
1954    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1955}
1956
1957pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
1958
1959#[derive(Copy, Clone)]
1960#[repr(C)]
1961pub struct GDBusObjectProxyClass {
1962    pub parent_class: gobject::GObjectClass,
1963    pub padding: [gpointer; 8],
1964}
1965
1966impl ::std::fmt::Debug for GDBusObjectProxyClass {
1967    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1968        f.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}"))
1969            .field("parent_class", &self.parent_class)
1970            .finish()
1971    }
1972}
1973
1974#[repr(C)]
1975#[allow(dead_code)]
1976pub struct _GDBusObjectProxyPrivate {
1977    _data: [u8; 0],
1978    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1979}
1980
1981pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
1982
1983#[derive(Copy, Clone)]
1984#[repr(C)]
1985pub struct GDBusObjectSkeletonClass {
1986    pub parent_class: gobject::GObjectClass,
1987    pub authorize_method: Option<
1988        unsafe extern "C" fn(
1989            *mut GDBusObjectSkeleton,
1990            *mut GDBusInterfaceSkeleton,
1991            *mut GDBusMethodInvocation,
1992        ) -> gboolean,
1993    >,
1994    pub padding: [gpointer; 8],
1995}
1996
1997impl ::std::fmt::Debug for GDBusObjectSkeletonClass {
1998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1999        f.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}"))
2000            .field("parent_class", &self.parent_class)
2001            .field("authorize_method", &self.authorize_method)
2002            .finish()
2003    }
2004}
2005
2006#[repr(C)]
2007#[allow(dead_code)]
2008pub struct _GDBusObjectSkeletonPrivate {
2009    _data: [u8; 0],
2010    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2011}
2012
2013pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
2014
2015#[derive(Copy, Clone)]
2016#[repr(C)]
2017pub struct GDBusPropertyInfo {
2018    pub ref_count: c_int,
2019    pub name: *mut c_char,
2020    pub signature: *mut c_char,
2021    pub flags: GDBusPropertyInfoFlags,
2022    pub annotations: *mut *mut GDBusAnnotationInfo,
2023}
2024
2025impl ::std::fmt::Debug for GDBusPropertyInfo {
2026    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2027        f.debug_struct(&format!("GDBusPropertyInfo @ {self:p}"))
2028            .field("ref_count", &self.ref_count)
2029            .field("name", &self.name)
2030            .field("signature", &self.signature)
2031            .field("flags", &self.flags)
2032            .field("annotations", &self.annotations)
2033            .finish()
2034    }
2035}
2036
2037#[derive(Copy, Clone)]
2038#[repr(C)]
2039pub struct GDBusProxyClass {
2040    pub parent_class: gobject::GObjectClass,
2041    pub g_properties_changed:
2042        Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>,
2043    pub g_signal: Option<
2044        unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant),
2045    >,
2046    pub padding: [gpointer; 32],
2047}
2048
2049impl ::std::fmt::Debug for GDBusProxyClass {
2050    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2051        f.debug_struct(&format!("GDBusProxyClass @ {self:p}"))
2052            .field("g_properties_changed", &self.g_properties_changed)
2053            .field("g_signal", &self.g_signal)
2054            .finish()
2055    }
2056}
2057
2058#[repr(C)]
2059#[allow(dead_code)]
2060pub struct _GDBusProxyPrivate {
2061    _data: [u8; 0],
2062    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2063}
2064
2065pub type GDBusProxyPrivate = _GDBusProxyPrivate;
2066
2067#[derive(Copy, Clone)]
2068#[repr(C)]
2069pub struct GDBusSignalInfo {
2070    pub ref_count: c_int,
2071    pub name: *mut c_char,
2072    pub args: *mut *mut GDBusArgInfo,
2073    pub annotations: *mut *mut GDBusAnnotationInfo,
2074}
2075
2076impl ::std::fmt::Debug for GDBusSignalInfo {
2077    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2078        f.debug_struct(&format!("GDBusSignalInfo @ {self:p}"))
2079            .field("ref_count", &self.ref_count)
2080            .field("name", &self.name)
2081            .field("args", &self.args)
2082            .field("annotations", &self.annotations)
2083            .finish()
2084    }
2085}
2086
2087#[derive(Copy, Clone)]
2088#[repr(C)]
2089pub struct GDBusSubtreeVTable {
2090    pub enumerate: GDBusSubtreeEnumerateFunc,
2091    pub introspect: GDBusSubtreeIntrospectFunc,
2092    pub dispatch: GDBusSubtreeDispatchFunc,
2093    pub padding: [gpointer; 8],
2094}
2095
2096impl ::std::fmt::Debug for GDBusSubtreeVTable {
2097    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2098        f.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}"))
2099            .field("enumerate", &self.enumerate)
2100            .field("introspect", &self.introspect)
2101            .field("dispatch", &self.dispatch)
2102            .finish()
2103    }
2104}
2105
2106#[derive(Copy, Clone)]
2107#[repr(C)]
2108pub struct GDataInputStreamClass {
2109    pub parent_class: GBufferedInputStreamClass,
2110    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2111    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2112    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2113    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2114    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2115}
2116
2117impl ::std::fmt::Debug for GDataInputStreamClass {
2118    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2119        f.debug_struct(&format!("GDataInputStreamClass @ {self:p}"))
2120            .field("parent_class", &self.parent_class)
2121            .field("_g_reserved1", &self._g_reserved1)
2122            .field("_g_reserved2", &self._g_reserved2)
2123            .field("_g_reserved3", &self._g_reserved3)
2124            .field("_g_reserved4", &self._g_reserved4)
2125            .field("_g_reserved5", &self._g_reserved5)
2126            .finish()
2127    }
2128}
2129
2130#[repr(C)]
2131#[allow(dead_code)]
2132pub struct _GDataInputStreamPrivate {
2133    _data: [u8; 0],
2134    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2135}
2136
2137pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
2138
2139#[derive(Copy, Clone)]
2140#[repr(C)]
2141pub struct GDataOutputStreamClass {
2142    pub parent_class: GFilterOutputStreamClass,
2143    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2144    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2145    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2146    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2147    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2148}
2149
2150impl ::std::fmt::Debug for GDataOutputStreamClass {
2151    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2152        f.debug_struct(&format!("GDataOutputStreamClass @ {self:p}"))
2153            .field("parent_class", &self.parent_class)
2154            .field("_g_reserved1", &self._g_reserved1)
2155            .field("_g_reserved2", &self._g_reserved2)
2156            .field("_g_reserved3", &self._g_reserved3)
2157            .field("_g_reserved4", &self._g_reserved4)
2158            .field("_g_reserved5", &self._g_reserved5)
2159            .finish()
2160    }
2161}
2162
2163#[repr(C)]
2164#[allow(dead_code)]
2165pub struct _GDataOutputStreamPrivate {
2166    _data: [u8; 0],
2167    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2168}
2169
2170pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
2171
2172#[derive(Copy, Clone)]
2173#[repr(C)]
2174pub struct GDatagramBasedInterface {
2175    pub g_iface: gobject::GTypeInterface,
2176    pub receive_messages: Option<
2177        unsafe extern "C" fn(
2178            *mut GDatagramBased,
2179            *mut GInputMessage,
2180            c_uint,
2181            c_int,
2182            i64,
2183            *mut GCancellable,
2184            *mut *mut glib::GError,
2185        ) -> c_int,
2186    >,
2187    pub send_messages: Option<
2188        unsafe extern "C" fn(
2189            *mut GDatagramBased,
2190            *mut GOutputMessage,
2191            c_uint,
2192            c_int,
2193            i64,
2194            *mut GCancellable,
2195            *mut *mut glib::GError,
2196        ) -> c_int,
2197    >,
2198    pub create_source: Option<
2199        unsafe extern "C" fn(
2200            *mut GDatagramBased,
2201            glib::GIOCondition,
2202            *mut GCancellable,
2203        ) -> *mut glib::GSource,
2204    >,
2205    pub condition_check:
2206        Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>,
2207    pub condition_wait: Option<
2208        unsafe extern "C" fn(
2209            *mut GDatagramBased,
2210            glib::GIOCondition,
2211            i64,
2212            *mut GCancellable,
2213            *mut *mut glib::GError,
2214        ) -> gboolean,
2215    >,
2216}
2217
2218impl ::std::fmt::Debug for GDatagramBasedInterface {
2219    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2220        f.debug_struct(&format!("GDatagramBasedInterface @ {self:p}"))
2221            .field("g_iface", &self.g_iface)
2222            .field("receive_messages", &self.receive_messages)
2223            .field("send_messages", &self.send_messages)
2224            .field("create_source", &self.create_source)
2225            .field("condition_check", &self.condition_check)
2226            .field("condition_wait", &self.condition_wait)
2227            .finish()
2228    }
2229}
2230
2231#[derive(Copy, Clone)]
2232#[repr(C)]
2233pub struct GDebugControllerDBusClass {
2234    pub parent_class: gobject::GObjectClass,
2235    pub authorize: Option<
2236        unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean,
2237    >,
2238    pub padding: [gpointer; 12],
2239}
2240
2241impl ::std::fmt::Debug for GDebugControllerDBusClass {
2242    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2243        f.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}"))
2244            .field("parent_class", &self.parent_class)
2245            .field("authorize", &self.authorize)
2246            .field("padding", &self.padding)
2247            .finish()
2248    }
2249}
2250
2251#[derive(Copy, Clone)]
2252#[repr(C)]
2253pub struct GDebugControllerInterface {
2254    pub g_iface: gobject::GTypeInterface,
2255}
2256
2257impl ::std::fmt::Debug for GDebugControllerInterface {
2258    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2259        f.debug_struct(&format!("GDebugControllerInterface @ {self:p}"))
2260            .finish()
2261    }
2262}
2263
2264#[derive(Copy, Clone)]
2265#[repr(C)]
2266pub struct GDriveIface {
2267    pub g_iface: gobject::GTypeInterface,
2268    pub changed: Option<unsafe extern "C" fn(*mut GDrive)>,
2269    pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>,
2270    pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2271    pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2272    pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2273    pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2274    pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>,
2275    pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2276    pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2277    pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2278    pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2279    pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2280    pub eject: Option<
2281        unsafe extern "C" fn(
2282            *mut GDrive,
2283            GMountUnmountFlags,
2284            *mut GCancellable,
2285            GAsyncReadyCallback,
2286            gpointer,
2287        ),
2288    >,
2289    pub eject_finish: Option<
2290        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2291    >,
2292    pub poll_for_media:
2293        Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
2294    pub poll_for_media_finish: Option<
2295        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2296    >,
2297    pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>,
2298    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>,
2299    pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>,
2300    pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2301    pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2302    pub start: Option<
2303        unsafe extern "C" fn(
2304            *mut GDrive,
2305            GDriveStartFlags,
2306            *mut GMountOperation,
2307            *mut GCancellable,
2308            GAsyncReadyCallback,
2309            gpointer,
2310        ),
2311    >,
2312    pub start_finish: Option<
2313        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2314    >,
2315    pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2316    pub stop: Option<
2317        unsafe extern "C" fn(
2318            *mut GDrive,
2319            GMountUnmountFlags,
2320            *mut GMountOperation,
2321            *mut GCancellable,
2322            GAsyncReadyCallback,
2323            gpointer,
2324        ),
2325    >,
2326    pub stop_finish: Option<
2327        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2328    >,
2329    pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2330    pub eject_with_operation: Option<
2331        unsafe extern "C" fn(
2332            *mut GDrive,
2333            GMountUnmountFlags,
2334            *mut GMountOperation,
2335            *mut GCancellable,
2336            GAsyncReadyCallback,
2337            gpointer,
2338        ),
2339    >,
2340    pub eject_with_operation_finish: Option<
2341        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2342    >,
2343    pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2344    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2345    pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2346}
2347
2348impl ::std::fmt::Debug for GDriveIface {
2349    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2350        f.debug_struct(&format!("GDriveIface @ {self:p}"))
2351            .field("g_iface", &self.g_iface)
2352            .field("changed", &self.changed)
2353            .field("disconnected", &self.disconnected)
2354            .field("eject_button", &self.eject_button)
2355            .field("get_name", &self.get_name)
2356            .field("get_icon", &self.get_icon)
2357            .field("has_volumes", &self.has_volumes)
2358            .field("get_volumes", &self.get_volumes)
2359            .field("is_media_removable", &self.is_media_removable)
2360            .field("has_media", &self.has_media)
2361            .field("is_media_check_automatic", &self.is_media_check_automatic)
2362            .field("can_eject", &self.can_eject)
2363            .field("can_poll_for_media", &self.can_poll_for_media)
2364            .field("eject", &self.eject)
2365            .field("eject_finish", &self.eject_finish)
2366            .field("poll_for_media", &self.poll_for_media)
2367            .field("poll_for_media_finish", &self.poll_for_media_finish)
2368            .field("get_identifier", &self.get_identifier)
2369            .field("enumerate_identifiers", &self.enumerate_identifiers)
2370            .field("get_start_stop_type", &self.get_start_stop_type)
2371            .field("can_start", &self.can_start)
2372            .field("can_start_degraded", &self.can_start_degraded)
2373            .field("start", &self.start)
2374            .field("start_finish", &self.start_finish)
2375            .field("can_stop", &self.can_stop)
2376            .field("stop", &self.stop)
2377            .field("stop_finish", &self.stop_finish)
2378            .field("stop_button", &self.stop_button)
2379            .field("eject_with_operation", &self.eject_with_operation)
2380            .field(
2381                "eject_with_operation_finish",
2382                &self.eject_with_operation_finish,
2383            )
2384            .field("get_sort_key", &self.get_sort_key)
2385            .field("get_symbolic_icon", &self.get_symbolic_icon)
2386            .field("is_removable", &self.is_removable)
2387            .finish()
2388    }
2389}
2390
2391#[derive(Copy, Clone)]
2392#[repr(C)]
2393pub struct GDtlsClientConnectionInterface {
2394    pub g_iface: gobject::GTypeInterface,
2395}
2396
2397impl ::std::fmt::Debug for GDtlsClientConnectionInterface {
2398    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2399        f.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}"))
2400            .field("g_iface", &self.g_iface)
2401            .finish()
2402    }
2403}
2404
2405#[derive(Copy, Clone)]
2406#[repr(C)]
2407pub struct GDtlsConnectionInterface {
2408    pub g_iface: gobject::GTypeInterface,
2409    pub accept_certificate: Option<
2410        unsafe extern "C" fn(
2411            *mut GDtlsConnection,
2412            *mut GTlsCertificate,
2413            GTlsCertificateFlags,
2414        ) -> gboolean,
2415    >,
2416    pub handshake: Option<
2417        unsafe extern "C" fn(
2418            *mut GDtlsConnection,
2419            *mut GCancellable,
2420            *mut *mut glib::GError,
2421        ) -> gboolean,
2422    >,
2423    pub handshake_async: Option<
2424        unsafe extern "C" fn(
2425            *mut GDtlsConnection,
2426            c_int,
2427            *mut GCancellable,
2428            GAsyncReadyCallback,
2429            gpointer,
2430        ),
2431    >,
2432    pub handshake_finish: Option<
2433        unsafe extern "C" fn(
2434            *mut GDtlsConnection,
2435            *mut GAsyncResult,
2436            *mut *mut glib::GError,
2437        ) -> gboolean,
2438    >,
2439    pub shutdown: Option<
2440        unsafe extern "C" fn(
2441            *mut GDtlsConnection,
2442            gboolean,
2443            gboolean,
2444            *mut GCancellable,
2445            *mut *mut glib::GError,
2446        ) -> gboolean,
2447    >,
2448    pub shutdown_async: Option<
2449        unsafe extern "C" fn(
2450            *mut GDtlsConnection,
2451            gboolean,
2452            gboolean,
2453            c_int,
2454            *mut GCancellable,
2455            GAsyncReadyCallback,
2456            gpointer,
2457        ),
2458    >,
2459    pub shutdown_finish: Option<
2460        unsafe extern "C" fn(
2461            *mut GDtlsConnection,
2462            *mut GAsyncResult,
2463            *mut *mut glib::GError,
2464        ) -> gboolean,
2465    >,
2466    pub set_advertised_protocols:
2467        Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>,
2468    pub get_negotiated_protocol:
2469        Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>,
2470    pub get_binding_data: Option<
2471        unsafe extern "C" fn(
2472            *mut GDtlsConnection,
2473            GTlsChannelBindingType,
2474            *mut glib::GByteArray,
2475            *mut *mut glib::GError,
2476        ) -> gboolean,
2477    >,
2478}
2479
2480impl ::std::fmt::Debug for GDtlsConnectionInterface {
2481    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2482        f.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}"))
2483            .field("g_iface", &self.g_iface)
2484            .field("accept_certificate", &self.accept_certificate)
2485            .field("handshake", &self.handshake)
2486            .field("handshake_async", &self.handshake_async)
2487            .field("handshake_finish", &self.handshake_finish)
2488            .field("shutdown", &self.shutdown)
2489            .field("shutdown_async", &self.shutdown_async)
2490            .field("shutdown_finish", &self.shutdown_finish)
2491            .field("set_advertised_protocols", &self.set_advertised_protocols)
2492            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
2493            .field("get_binding_data", &self.get_binding_data)
2494            .finish()
2495    }
2496}
2497
2498#[derive(Copy, Clone)]
2499#[repr(C)]
2500pub struct GDtlsServerConnectionInterface {
2501    pub g_iface: gobject::GTypeInterface,
2502}
2503
2504impl ::std::fmt::Debug for GDtlsServerConnectionInterface {
2505    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2506        f.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}"))
2507            .field("g_iface", &self.g_iface)
2508            .finish()
2509    }
2510}
2511
2512#[derive(Copy, Clone)]
2513#[repr(C)]
2514pub struct GEmblemClass {
2515    pub parent_class: gobject::GObjectClass,
2516}
2517
2518impl ::std::fmt::Debug for GEmblemClass {
2519    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2520        f.debug_struct(&format!("GEmblemClass @ {self:p}"))
2521            .field("parent_class", &self.parent_class)
2522            .finish()
2523    }
2524}
2525
2526#[derive(Copy, Clone)]
2527#[repr(C)]
2528pub struct GEmblemedIconClass {
2529    pub parent_class: gobject::GObjectClass,
2530}
2531
2532impl ::std::fmt::Debug for GEmblemedIconClass {
2533    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2534        f.debug_struct(&format!("GEmblemedIconClass @ {self:p}"))
2535            .field("parent_class", &self.parent_class)
2536            .finish()
2537    }
2538}
2539
2540#[repr(C)]
2541#[allow(dead_code)]
2542pub struct _GEmblemedIconPrivate {
2543    _data: [u8; 0],
2544    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2545}
2546
2547pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
2548
2549#[derive(Copy, Clone)]
2550#[repr(C)]
2551pub struct GFileAttributeInfo {
2552    pub name: *mut c_char,
2553    pub type_: GFileAttributeType,
2554    pub flags: GFileAttributeInfoFlags,
2555}
2556
2557impl ::std::fmt::Debug for GFileAttributeInfo {
2558    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2559        f.debug_struct(&format!("GFileAttributeInfo @ {self:p}"))
2560            .field("name", &self.name)
2561            .field("type_", &self.type_)
2562            .field("flags", &self.flags)
2563            .finish()
2564    }
2565}
2566
2567#[derive(Copy, Clone)]
2568#[repr(C)]
2569pub struct GFileAttributeInfoList {
2570    pub infos: *mut GFileAttributeInfo,
2571    pub n_infos: c_int,
2572}
2573
2574impl ::std::fmt::Debug for GFileAttributeInfoList {
2575    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2576        f.debug_struct(&format!("GFileAttributeInfoList @ {self:p}"))
2577            .field("infos", &self.infos)
2578            .field("n_infos", &self.n_infos)
2579            .finish()
2580    }
2581}
2582
2583#[repr(C)]
2584#[allow(dead_code)]
2585pub struct GFileAttributeMatcher {
2586    _data: [u8; 0],
2587    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2588}
2589
2590impl ::std::fmt::Debug for GFileAttributeMatcher {
2591    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2592        f.debug_struct(&format!("GFileAttributeMatcher @ {self:p}"))
2593            .finish()
2594    }
2595}
2596
2597#[derive(Copy, Clone)]
2598#[repr(C)]
2599pub struct GFileEnumeratorClass {
2600    pub parent_class: gobject::GObjectClass,
2601    pub next_file: Option<
2602        unsafe extern "C" fn(
2603            *mut GFileEnumerator,
2604            *mut GCancellable,
2605            *mut *mut glib::GError,
2606        ) -> *mut GFileInfo,
2607    >,
2608    pub close_fn: Option<
2609        unsafe extern "C" fn(
2610            *mut GFileEnumerator,
2611            *mut GCancellable,
2612            *mut *mut glib::GError,
2613        ) -> gboolean,
2614    >,
2615    pub next_files_async: Option<
2616        unsafe extern "C" fn(
2617            *mut GFileEnumerator,
2618            c_int,
2619            c_int,
2620            *mut GCancellable,
2621            GAsyncReadyCallback,
2622            gpointer,
2623        ),
2624    >,
2625    pub next_files_finish: Option<
2626        unsafe extern "C" fn(
2627            *mut GFileEnumerator,
2628            *mut GAsyncResult,
2629            *mut *mut glib::GError,
2630        ) -> *mut glib::GList,
2631    >,
2632    pub close_async: Option<
2633        unsafe extern "C" fn(
2634            *mut GFileEnumerator,
2635            c_int,
2636            *mut GCancellable,
2637            GAsyncReadyCallback,
2638            gpointer,
2639        ),
2640    >,
2641    pub close_finish: Option<
2642        unsafe extern "C" fn(
2643            *mut GFileEnumerator,
2644            *mut GAsyncResult,
2645            *mut *mut glib::GError,
2646        ) -> gboolean,
2647    >,
2648    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2649    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2650    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2651    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2652    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2653    pub _g_reserved6: Option<unsafe extern "C" fn()>,
2654    pub _g_reserved7: Option<unsafe extern "C" fn()>,
2655}
2656
2657impl ::std::fmt::Debug for GFileEnumeratorClass {
2658    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2659        f.debug_struct(&format!("GFileEnumeratorClass @ {self:p}"))
2660            .field("parent_class", &self.parent_class)
2661            .field("next_file", &self.next_file)
2662            .field("close_fn", &self.close_fn)
2663            .field("next_files_async", &self.next_files_async)
2664            .field("next_files_finish", &self.next_files_finish)
2665            .field("close_async", &self.close_async)
2666            .field("close_finish", &self.close_finish)
2667            .field("_g_reserved1", &self._g_reserved1)
2668            .field("_g_reserved2", &self._g_reserved2)
2669            .field("_g_reserved3", &self._g_reserved3)
2670            .field("_g_reserved4", &self._g_reserved4)
2671            .field("_g_reserved5", &self._g_reserved5)
2672            .field("_g_reserved6", &self._g_reserved6)
2673            .field("_g_reserved7", &self._g_reserved7)
2674            .finish()
2675    }
2676}
2677
2678#[repr(C)]
2679#[allow(dead_code)]
2680pub struct _GFileEnumeratorPrivate {
2681    _data: [u8; 0],
2682    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2683}
2684
2685pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
2686
2687#[derive(Copy, Clone)]
2688#[repr(C)]
2689pub struct GFileIOStreamClass {
2690    pub parent_class: GIOStreamClass,
2691    pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>,
2692    pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2693    pub seek: Option<
2694        unsafe extern "C" fn(
2695            *mut GFileIOStream,
2696            i64,
2697            glib::GSeekType,
2698            *mut GCancellable,
2699            *mut *mut glib::GError,
2700        ) -> gboolean,
2701    >,
2702    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2703    pub truncate_fn: Option<
2704        unsafe extern "C" fn(
2705            *mut GFileIOStream,
2706            i64,
2707            *mut GCancellable,
2708            *mut *mut glib::GError,
2709        ) -> gboolean,
2710    >,
2711    pub query_info: Option<
2712        unsafe extern "C" fn(
2713            *mut GFileIOStream,
2714            *const c_char,
2715            *mut GCancellable,
2716            *mut *mut glib::GError,
2717        ) -> *mut GFileInfo,
2718    >,
2719    pub query_info_async: Option<
2720        unsafe extern "C" fn(
2721            *mut GFileIOStream,
2722            *const c_char,
2723            c_int,
2724            *mut GCancellable,
2725            GAsyncReadyCallback,
2726            gpointer,
2727        ),
2728    >,
2729    pub query_info_finish: Option<
2730        unsafe extern "C" fn(
2731            *mut GFileIOStream,
2732            *mut GAsyncResult,
2733            *mut *mut glib::GError,
2734        ) -> *mut GFileInfo,
2735    >,
2736    pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>,
2737    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2738    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2739    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2740    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2741    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2742}
2743
2744impl ::std::fmt::Debug for GFileIOStreamClass {
2745    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2746        f.debug_struct(&format!("GFileIOStreamClass @ {self:p}"))
2747            .field("parent_class", &self.parent_class)
2748            .field("tell", &self.tell)
2749            .field("can_seek", &self.can_seek)
2750            .field("seek", &self.seek)
2751            .field("can_truncate", &self.can_truncate)
2752            .field("truncate_fn", &self.truncate_fn)
2753            .field("query_info", &self.query_info)
2754            .field("query_info_async", &self.query_info_async)
2755            .field("query_info_finish", &self.query_info_finish)
2756            .field("get_etag", &self.get_etag)
2757            .field("_g_reserved1", &self._g_reserved1)
2758            .field("_g_reserved2", &self._g_reserved2)
2759            .field("_g_reserved3", &self._g_reserved3)
2760            .field("_g_reserved4", &self._g_reserved4)
2761            .field("_g_reserved5", &self._g_reserved5)
2762            .finish()
2763    }
2764}
2765
2766#[repr(C)]
2767#[allow(dead_code)]
2768pub struct _GFileIOStreamPrivate {
2769    _data: [u8; 0],
2770    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2771}
2772
2773pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
2774
2775#[repr(C)]
2776#[allow(dead_code)]
2777pub struct _GFileIconClass {
2778    _data: [u8; 0],
2779    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2780}
2781
2782pub type GFileIconClass = _GFileIconClass;
2783
2784#[derive(Copy, Clone)]
2785#[repr(C)]
2786pub struct GFileIface {
2787    pub g_iface: gobject::GTypeInterface,
2788    pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2789    pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>,
2790    pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2791    pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>,
2792    pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>,
2793    pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2794    pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2795    pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2796    pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2797    pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2798    pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2799    pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2800    pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>,
2801    pub resolve_relative_path:
2802        Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>,
2803    pub get_child_for_display_name: Option<
2804        unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile,
2805    >,
2806    pub enumerate_children: Option<
2807        unsafe extern "C" fn(
2808            *mut GFile,
2809            *const c_char,
2810            GFileQueryInfoFlags,
2811            *mut GCancellable,
2812            *mut *mut glib::GError,
2813        ) -> *mut GFileEnumerator,
2814    >,
2815    pub enumerate_children_async: Option<
2816        unsafe extern "C" fn(
2817            *mut GFile,
2818            *const c_char,
2819            GFileQueryInfoFlags,
2820            c_int,
2821            *mut GCancellable,
2822            GAsyncReadyCallback,
2823            gpointer,
2824        ),
2825    >,
2826    pub enumerate_children_finish: Option<
2827        unsafe extern "C" fn(
2828            *mut GFile,
2829            *mut GAsyncResult,
2830            *mut *mut glib::GError,
2831        ) -> *mut GFileEnumerator,
2832    >,
2833    pub query_info: Option<
2834        unsafe extern "C" fn(
2835            *mut GFile,
2836            *const c_char,
2837            GFileQueryInfoFlags,
2838            *mut GCancellable,
2839            *mut *mut glib::GError,
2840        ) -> *mut GFileInfo,
2841    >,
2842    pub query_info_async: Option<
2843        unsafe extern "C" fn(
2844            *mut GFile,
2845            *const c_char,
2846            GFileQueryInfoFlags,
2847            c_int,
2848            *mut GCancellable,
2849            GAsyncReadyCallback,
2850            gpointer,
2851        ),
2852    >,
2853    pub query_info_finish: Option<
2854        unsafe extern "C" fn(
2855            *mut GFile,
2856            *mut GAsyncResult,
2857            *mut *mut glib::GError,
2858        ) -> *mut GFileInfo,
2859    >,
2860    pub query_filesystem_info: Option<
2861        unsafe extern "C" fn(
2862            *mut GFile,
2863            *const c_char,
2864            *mut GCancellable,
2865            *mut *mut glib::GError,
2866        ) -> *mut GFileInfo,
2867    >,
2868    pub query_filesystem_info_async: Option<
2869        unsafe extern "C" fn(
2870            *mut GFile,
2871            *const c_char,
2872            c_int,
2873            *mut GCancellable,
2874            GAsyncReadyCallback,
2875            gpointer,
2876        ),
2877    >,
2878    pub query_filesystem_info_finish: Option<
2879        unsafe extern "C" fn(
2880            *mut GFile,
2881            *mut GAsyncResult,
2882            *mut *mut glib::GError,
2883        ) -> *mut GFileInfo,
2884    >,
2885    pub find_enclosing_mount: Option<
2886        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount,
2887    >,
2888    pub find_enclosing_mount_async: Option<
2889        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2890    >,
2891    pub find_enclosing_mount_finish: Option<
2892        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount,
2893    >,
2894    pub set_display_name: Option<
2895        unsafe extern "C" fn(
2896            *mut GFile,
2897            *const c_char,
2898            *mut GCancellable,
2899            *mut *mut glib::GError,
2900        ) -> *mut GFile,
2901    >,
2902    pub set_display_name_async: Option<
2903        unsafe extern "C" fn(
2904            *mut GFile,
2905            *const c_char,
2906            c_int,
2907            *mut GCancellable,
2908            GAsyncReadyCallback,
2909            gpointer,
2910        ),
2911    >,
2912    pub set_display_name_finish: Option<
2913        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
2914    >,
2915    pub query_settable_attributes: Option<
2916        unsafe extern "C" fn(
2917            *mut GFile,
2918            *mut GCancellable,
2919            *mut *mut glib::GError,
2920        ) -> *mut GFileAttributeInfoList,
2921    >,
2922    pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
2923    pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
2924    pub query_writable_namespaces: Option<
2925        unsafe extern "C" fn(
2926            *mut GFile,
2927            *mut GCancellable,
2928            *mut *mut glib::GError,
2929        ) -> *mut GFileAttributeInfoList,
2930    >,
2931    pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
2932    pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
2933    pub set_attribute: Option<
2934        unsafe extern "C" fn(
2935            *mut GFile,
2936            *const c_char,
2937            GFileAttributeType,
2938            gpointer,
2939            GFileQueryInfoFlags,
2940            *mut GCancellable,
2941            *mut *mut glib::GError,
2942        ) -> gboolean,
2943    >,
2944    pub set_attributes_from_info: Option<
2945        unsafe extern "C" fn(
2946            *mut GFile,
2947            *mut GFileInfo,
2948            GFileQueryInfoFlags,
2949            *mut GCancellable,
2950            *mut *mut glib::GError,
2951        ) -> gboolean,
2952    >,
2953    pub set_attributes_async: Option<
2954        unsafe extern "C" fn(
2955            *mut GFile,
2956            *mut GFileInfo,
2957            GFileQueryInfoFlags,
2958            c_int,
2959            *mut GCancellable,
2960            GAsyncReadyCallback,
2961            gpointer,
2962        ),
2963    >,
2964    pub set_attributes_finish: Option<
2965        unsafe extern "C" fn(
2966            *mut GFile,
2967            *mut GAsyncResult,
2968            *mut *mut GFileInfo,
2969            *mut *mut glib::GError,
2970        ) -> gboolean,
2971    >,
2972    pub read_fn: Option<
2973        unsafe extern "C" fn(
2974            *mut GFile,
2975            *mut GCancellable,
2976            *mut *mut glib::GError,
2977        ) -> *mut GFileInputStream,
2978    >,
2979    pub read_async: Option<
2980        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2981    >,
2982    pub read_finish: Option<
2983        unsafe extern "C" fn(
2984            *mut GFile,
2985            *mut GAsyncResult,
2986            *mut *mut glib::GError,
2987        ) -> *mut GFileInputStream,
2988    >,
2989    pub append_to: Option<
2990        unsafe extern "C" fn(
2991            *mut GFile,
2992            GFileCreateFlags,
2993            *mut GCancellable,
2994            *mut *mut glib::GError,
2995        ) -> *mut GFileOutputStream,
2996    >,
2997    pub append_to_async: Option<
2998        unsafe extern "C" fn(
2999            *mut GFile,
3000            GFileCreateFlags,
3001            c_int,
3002            *mut GCancellable,
3003            GAsyncReadyCallback,
3004            gpointer,
3005        ),
3006    >,
3007    pub append_to_finish: Option<
3008        unsafe extern "C" fn(
3009            *mut GFile,
3010            *mut GAsyncResult,
3011            *mut *mut glib::GError,
3012        ) -> *mut GFileOutputStream,
3013    >,
3014    pub create: Option<
3015        unsafe extern "C" fn(
3016            *mut GFile,
3017            GFileCreateFlags,
3018            *mut GCancellable,
3019            *mut *mut glib::GError,
3020        ) -> *mut GFileOutputStream,
3021    >,
3022    pub create_async: Option<
3023        unsafe extern "C" fn(
3024            *mut GFile,
3025            GFileCreateFlags,
3026            c_int,
3027            *mut GCancellable,
3028            GAsyncReadyCallback,
3029            gpointer,
3030        ),
3031    >,
3032    pub create_finish: Option<
3033        unsafe extern "C" fn(
3034            *mut GFile,
3035            *mut GAsyncResult,
3036            *mut *mut glib::GError,
3037        ) -> *mut GFileOutputStream,
3038    >,
3039    pub replace: Option<
3040        unsafe extern "C" fn(
3041            *mut GFile,
3042            *const c_char,
3043            gboolean,
3044            GFileCreateFlags,
3045            *mut GCancellable,
3046            *mut *mut glib::GError,
3047        ) -> *mut GFileOutputStream,
3048    >,
3049    pub replace_async: Option<
3050        unsafe extern "C" fn(
3051            *mut GFile,
3052            *const c_char,
3053            gboolean,
3054            GFileCreateFlags,
3055            c_int,
3056            *mut GCancellable,
3057            GAsyncReadyCallback,
3058            gpointer,
3059        ),
3060    >,
3061    pub replace_finish: Option<
3062        unsafe extern "C" fn(
3063            *mut GFile,
3064            *mut GAsyncResult,
3065            *mut *mut glib::GError,
3066        ) -> *mut GFileOutputStream,
3067    >,
3068    pub delete_file: Option<
3069        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3070    >,
3071    pub delete_file_async: Option<
3072        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3073    >,
3074    pub delete_file_finish: Option<
3075        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3076    >,
3077    pub trash: Option<
3078        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3079    >,
3080    pub trash_async: Option<
3081        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3082    >,
3083    pub trash_finish: Option<
3084        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3085    >,
3086    pub make_directory: Option<
3087        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3088    >,
3089    pub make_directory_async: Option<
3090        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3091    >,
3092    pub make_directory_finish: Option<
3093        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3094    >,
3095    pub make_symbolic_link: Option<
3096        unsafe extern "C" fn(
3097            *mut GFile,
3098            *const c_char,
3099            *mut GCancellable,
3100            *mut *mut glib::GError,
3101        ) -> gboolean,
3102    >,
3103    pub make_symbolic_link_async: Option<
3104        unsafe extern "C" fn(
3105            *mut GFile,
3106            *const c_char,
3107            c_int,
3108            *mut GCancellable,
3109            GAsyncReadyCallback,
3110            gpointer,
3111        ),
3112    >,
3113    pub make_symbolic_link_finish: Option<
3114        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3115    >,
3116    pub copy: Option<
3117        unsafe extern "C" fn(
3118            *mut GFile,
3119            *mut GFile,
3120            GFileCopyFlags,
3121            *mut GCancellable,
3122            GFileProgressCallback,
3123            gpointer,
3124            *mut *mut glib::GError,
3125        ) -> gboolean,
3126    >,
3127    pub copy_async: Option<
3128        unsafe extern "C" fn(
3129            *mut GFile,
3130            *mut GFile,
3131            GFileCopyFlags,
3132            c_int,
3133            *mut GCancellable,
3134            GFileProgressCallback,
3135            gpointer,
3136            GAsyncReadyCallback,
3137            gpointer,
3138        ),
3139    >,
3140    pub copy_finish: Option<
3141        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3142    >,
3143    pub move_: Option<
3144        unsafe extern "C" fn(
3145            *mut GFile,
3146            *mut GFile,
3147            GFileCopyFlags,
3148            *mut GCancellable,
3149            GFileProgressCallback,
3150            gpointer,
3151            *mut *mut glib::GError,
3152        ) -> gboolean,
3153    >,
3154    pub move_async: Option<
3155        unsafe extern "C" fn(
3156            *mut GFile,
3157            *mut GFile,
3158            GFileCopyFlags,
3159            c_int,
3160            *mut GCancellable,
3161            GFileProgressCallback,
3162            gpointer,
3163            GAsyncReadyCallback,
3164            gpointer,
3165        ),
3166    >,
3167    pub move_finish: Option<
3168        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3169    >,
3170    pub mount_mountable: Option<
3171        unsafe extern "C" fn(
3172            *mut GFile,
3173            GMountMountFlags,
3174            *mut GMountOperation,
3175            *mut GCancellable,
3176            GAsyncReadyCallback,
3177            gpointer,
3178        ),
3179    >,
3180    pub mount_mountable_finish: Option<
3181        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
3182    >,
3183    pub unmount_mountable: Option<
3184        unsafe extern "C" fn(
3185            *mut GFile,
3186            GMountUnmountFlags,
3187            *mut GCancellable,
3188            GAsyncReadyCallback,
3189            gpointer,
3190        ),
3191    >,
3192    pub unmount_mountable_finish: Option<
3193        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3194    >,
3195    pub eject_mountable: Option<
3196        unsafe extern "C" fn(
3197            *mut GFile,
3198            GMountUnmountFlags,
3199            *mut GCancellable,
3200            GAsyncReadyCallback,
3201            gpointer,
3202        ),
3203    >,
3204    pub eject_mountable_finish: Option<
3205        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3206    >,
3207    pub mount_enclosing_volume: Option<
3208        unsafe extern "C" fn(
3209            *mut GFile,
3210            GMountMountFlags,
3211            *mut GMountOperation,
3212            *mut GCancellable,
3213            GAsyncReadyCallback,
3214            gpointer,
3215        ),
3216    >,
3217    pub mount_enclosing_volume_finish: Option<
3218        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3219    >,
3220    pub monitor_dir: Option<
3221        unsafe extern "C" fn(
3222            *mut GFile,
3223            GFileMonitorFlags,
3224            *mut GCancellable,
3225            *mut *mut glib::GError,
3226        ) -> *mut GFileMonitor,
3227    >,
3228    pub monitor_file: Option<
3229        unsafe extern "C" fn(
3230            *mut GFile,
3231            GFileMonitorFlags,
3232            *mut GCancellable,
3233            *mut *mut glib::GError,
3234        ) -> *mut GFileMonitor,
3235    >,
3236    pub open_readwrite: Option<
3237        unsafe extern "C" fn(
3238            *mut GFile,
3239            *mut GCancellable,
3240            *mut *mut glib::GError,
3241        ) -> *mut GFileIOStream,
3242    >,
3243    pub open_readwrite_async: Option<
3244        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3245    >,
3246    pub open_readwrite_finish: Option<
3247        unsafe extern "C" fn(
3248            *mut GFile,
3249            *mut GAsyncResult,
3250            *mut *mut glib::GError,
3251        ) -> *mut GFileIOStream,
3252    >,
3253    pub create_readwrite: Option<
3254        unsafe extern "C" fn(
3255            *mut GFile,
3256            GFileCreateFlags,
3257            *mut GCancellable,
3258            *mut *mut glib::GError,
3259        ) -> *mut GFileIOStream,
3260    >,
3261    pub create_readwrite_async: Option<
3262        unsafe extern "C" fn(
3263            *mut GFile,
3264            GFileCreateFlags,
3265            c_int,
3266            *mut GCancellable,
3267            GAsyncReadyCallback,
3268            gpointer,
3269        ),
3270    >,
3271    pub create_readwrite_finish: Option<
3272        unsafe extern "C" fn(
3273            *mut GFile,
3274            *mut GAsyncResult,
3275            *mut *mut glib::GError,
3276        ) -> *mut GFileIOStream,
3277    >,
3278    pub replace_readwrite: Option<
3279        unsafe extern "C" fn(
3280            *mut GFile,
3281            *const c_char,
3282            gboolean,
3283            GFileCreateFlags,
3284            *mut GCancellable,
3285            *mut *mut glib::GError,
3286        ) -> *mut GFileIOStream,
3287    >,
3288    pub replace_readwrite_async: Option<
3289        unsafe extern "C" fn(
3290            *mut GFile,
3291            *const c_char,
3292            gboolean,
3293            GFileCreateFlags,
3294            c_int,
3295            *mut GCancellable,
3296            GAsyncReadyCallback,
3297            gpointer,
3298        ),
3299    >,
3300    pub replace_readwrite_finish: Option<
3301        unsafe extern "C" fn(
3302            *mut GFile,
3303            *mut GAsyncResult,
3304            *mut *mut glib::GError,
3305        ) -> *mut GFileIOStream,
3306    >,
3307    pub start_mountable: Option<
3308        unsafe extern "C" fn(
3309            *mut GFile,
3310            GDriveStartFlags,
3311            *mut GMountOperation,
3312            *mut GCancellable,
3313            GAsyncReadyCallback,
3314            gpointer,
3315        ),
3316    >,
3317    pub start_mountable_finish: Option<
3318        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3319    >,
3320    pub stop_mountable: Option<
3321        unsafe extern "C" fn(
3322            *mut GFile,
3323            GMountUnmountFlags,
3324            *mut GMountOperation,
3325            *mut GCancellable,
3326            GAsyncReadyCallback,
3327            gpointer,
3328        ),
3329    >,
3330    pub stop_mountable_finish: Option<
3331        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3332    >,
3333    pub supports_thread_contexts: gboolean,
3334    pub unmount_mountable_with_operation: Option<
3335        unsafe extern "C" fn(
3336            *mut GFile,
3337            GMountUnmountFlags,
3338            *mut GMountOperation,
3339            *mut GCancellable,
3340            GAsyncReadyCallback,
3341            gpointer,
3342        ),
3343    >,
3344    pub unmount_mountable_with_operation_finish: Option<
3345        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3346    >,
3347    pub eject_mountable_with_operation: Option<
3348        unsafe extern "C" fn(
3349            *mut GFile,
3350            GMountUnmountFlags,
3351            *mut GMountOperation,
3352            *mut GCancellable,
3353            GAsyncReadyCallback,
3354            gpointer,
3355        ),
3356    >,
3357    pub eject_mountable_with_operation_finish: Option<
3358        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3359    >,
3360    pub poll_mountable:
3361        Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
3362    pub poll_mountable_finish: Option<
3363        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3364    >,
3365    pub measure_disk_usage: Option<
3366        unsafe extern "C" fn(
3367            *mut GFile,
3368            GFileMeasureFlags,
3369            *mut GCancellable,
3370            GFileMeasureProgressCallback,
3371            gpointer,
3372            *mut u64,
3373            *mut u64,
3374            *mut u64,
3375            *mut *mut glib::GError,
3376        ) -> gboolean,
3377    >,
3378    pub measure_disk_usage_async: Option<
3379        unsafe extern "C" fn(
3380            *mut GFile,
3381            GFileMeasureFlags,
3382            c_int,
3383            *mut GCancellable,
3384            GFileMeasureProgressCallback,
3385            gpointer,
3386            GAsyncReadyCallback,
3387            gpointer,
3388        ),
3389    >,
3390    pub measure_disk_usage_finish: Option<
3391        unsafe extern "C" fn(
3392            *mut GFile,
3393            *mut GAsyncResult,
3394            *mut u64,
3395            *mut u64,
3396            *mut u64,
3397            *mut *mut glib::GError,
3398        ) -> gboolean,
3399    >,
3400    pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>,
3401}
3402
3403impl ::std::fmt::Debug for GFileIface {
3404    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3405        f.debug_struct(&format!("GFileIface @ {self:p}"))
3406            .field("g_iface", &self.g_iface)
3407            .field("dup", &self.dup)
3408            .field("hash", &self.hash)
3409            .field("equal", &self.equal)
3410            .field("is_native", &self.is_native)
3411            .field("has_uri_scheme", &self.has_uri_scheme)
3412            .field("get_uri_scheme", &self.get_uri_scheme)
3413            .field("get_basename", &self.get_basename)
3414            .field("get_path", &self.get_path)
3415            .field("get_uri", &self.get_uri)
3416            .field("get_parse_name", &self.get_parse_name)
3417            .field("get_parent", &self.get_parent)
3418            .field("prefix_matches", &self.prefix_matches)
3419            .field("get_relative_path", &self.get_relative_path)
3420            .field("resolve_relative_path", &self.resolve_relative_path)
3421            .field(
3422                "get_child_for_display_name",
3423                &self.get_child_for_display_name,
3424            )
3425            .field("enumerate_children", &self.enumerate_children)
3426            .field("enumerate_children_async", &self.enumerate_children_async)
3427            .field("enumerate_children_finish", &self.enumerate_children_finish)
3428            .field("query_info", &self.query_info)
3429            .field("query_info_async", &self.query_info_async)
3430            .field("query_info_finish", &self.query_info_finish)
3431            .field("query_filesystem_info", &self.query_filesystem_info)
3432            .field(
3433                "query_filesystem_info_async",
3434                &self.query_filesystem_info_async,
3435            )
3436            .field(
3437                "query_filesystem_info_finish",
3438                &self.query_filesystem_info_finish,
3439            )
3440            .field("find_enclosing_mount", &self.find_enclosing_mount)
3441            .field(
3442                "find_enclosing_mount_async",
3443                &self.find_enclosing_mount_async,
3444            )
3445            .field(
3446                "find_enclosing_mount_finish",
3447                &self.find_enclosing_mount_finish,
3448            )
3449            .field("set_display_name", &self.set_display_name)
3450            .field("set_display_name_async", &self.set_display_name_async)
3451            .field("set_display_name_finish", &self.set_display_name_finish)
3452            .field("query_settable_attributes", &self.query_settable_attributes)
3453            .field(
3454                "_query_settable_attributes_async",
3455                &self._query_settable_attributes_async,
3456            )
3457            .field(
3458                "_query_settable_attributes_finish",
3459                &self._query_settable_attributes_finish,
3460            )
3461            .field("query_writable_namespaces", &self.query_writable_namespaces)
3462            .field(
3463                "_query_writable_namespaces_async",
3464                &self._query_writable_namespaces_async,
3465            )
3466            .field(
3467                "_query_writable_namespaces_finish",
3468                &self._query_writable_namespaces_finish,
3469            )
3470            .field("set_attribute", &self.set_attribute)
3471            .field("set_attributes_from_info", &self.set_attributes_from_info)
3472            .field("set_attributes_async", &self.set_attributes_async)
3473            .field("set_attributes_finish", &self.set_attributes_finish)
3474            .field("read_fn", &self.read_fn)
3475            .field("read_async", &self.read_async)
3476            .field("read_finish", &self.read_finish)
3477            .field("append_to", &self.append_to)
3478            .field("append_to_async", &self.append_to_async)
3479            .field("append_to_finish", &self.append_to_finish)
3480            .field("create", &self.create)
3481            .field("create_async", &self.create_async)
3482            .field("create_finish", &self.create_finish)
3483            .field("replace", &self.replace)
3484            .field("replace_async", &self.replace_async)
3485            .field("replace_finish", &self.replace_finish)
3486            .field("delete_file", &self.delete_file)
3487            .field("delete_file_async", &self.delete_file_async)
3488            .field("delete_file_finish", &self.delete_file_finish)
3489            .field("trash", &self.trash)
3490            .field("trash_async", &self.trash_async)
3491            .field("trash_finish", &self.trash_finish)
3492            .field("make_directory", &self.make_directory)
3493            .field("make_directory_async", &self.make_directory_async)
3494            .field("make_directory_finish", &self.make_directory_finish)
3495            .field("make_symbolic_link", &self.make_symbolic_link)
3496            .field("make_symbolic_link_async", &self.make_symbolic_link_async)
3497            .field("make_symbolic_link_finish", &self.make_symbolic_link_finish)
3498            .field("copy", &self.copy)
3499            .field("copy_async", &self.copy_async)
3500            .field("copy_finish", &self.copy_finish)
3501            .field("move_", &self.move_)
3502            .field("move_async", &self.move_async)
3503            .field("move_finish", &self.move_finish)
3504            .field("mount_mountable", &self.mount_mountable)
3505            .field("mount_mountable_finish", &self.mount_mountable_finish)
3506            .field("unmount_mountable", &self.unmount_mountable)
3507            .field("unmount_mountable_finish", &self.unmount_mountable_finish)
3508            .field("eject_mountable", &self.eject_mountable)
3509            .field("eject_mountable_finish", &self.eject_mountable_finish)
3510            .field("mount_enclosing_volume", &self.mount_enclosing_volume)
3511            .field(
3512                "mount_enclosing_volume_finish",
3513                &self.mount_enclosing_volume_finish,
3514            )
3515            .field("monitor_dir", &self.monitor_dir)
3516            .field("monitor_file", &self.monitor_file)
3517            .field("open_readwrite", &self.open_readwrite)
3518            .field("open_readwrite_async", &self.open_readwrite_async)
3519            .field("open_readwrite_finish", &self.open_readwrite_finish)
3520            .field("create_readwrite", &self.create_readwrite)
3521            .field("create_readwrite_async", &self.create_readwrite_async)
3522            .field("create_readwrite_finish", &self.create_readwrite_finish)
3523            .field("replace_readwrite", &self.replace_readwrite)
3524            .field("replace_readwrite_async", &self.replace_readwrite_async)
3525            .field("replace_readwrite_finish", &self.replace_readwrite_finish)
3526            .field("start_mountable", &self.start_mountable)
3527            .field("start_mountable_finish", &self.start_mountable_finish)
3528            .field("stop_mountable", &self.stop_mountable)
3529            .field("stop_mountable_finish", &self.stop_mountable_finish)
3530            .field("supports_thread_contexts", &self.supports_thread_contexts)
3531            .field(
3532                "unmount_mountable_with_operation",
3533                &self.unmount_mountable_with_operation,
3534            )
3535            .field(
3536                "unmount_mountable_with_operation_finish",
3537                &self.unmount_mountable_with_operation_finish,
3538            )
3539            .field(
3540                "eject_mountable_with_operation",
3541                &self.eject_mountable_with_operation,
3542            )
3543            .field(
3544                "eject_mountable_with_operation_finish",
3545                &self.eject_mountable_with_operation_finish,
3546            )
3547            .field("poll_mountable", &self.poll_mountable)
3548            .field("poll_mountable_finish", &self.poll_mountable_finish)
3549            .field("measure_disk_usage", &self.measure_disk_usage)
3550            .field("measure_disk_usage_async", &self.measure_disk_usage_async)
3551            .field("measure_disk_usage_finish", &self.measure_disk_usage_finish)
3552            .field("query_exists", &self.query_exists)
3553            .finish()
3554    }
3555}
3556
3557#[repr(C)]
3558#[allow(dead_code)]
3559pub struct _GFileInfoClass {
3560    _data: [u8; 0],
3561    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3562}
3563
3564pub type GFileInfoClass = _GFileInfoClass;
3565
3566#[derive(Copy, Clone)]
3567#[repr(C)]
3568pub struct GFileInputStreamClass {
3569    pub parent_class: GInputStreamClass,
3570    pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>,
3571    pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>,
3572    pub seek: Option<
3573        unsafe extern "C" fn(
3574            *mut GFileInputStream,
3575            i64,
3576            glib::GSeekType,
3577            *mut GCancellable,
3578            *mut *mut glib::GError,
3579        ) -> gboolean,
3580    >,
3581    pub query_info: Option<
3582        unsafe extern "C" fn(
3583            *mut GFileInputStream,
3584            *const c_char,
3585            *mut GCancellable,
3586            *mut *mut glib::GError,
3587        ) -> *mut GFileInfo,
3588    >,
3589    pub query_info_async: Option<
3590        unsafe extern "C" fn(
3591            *mut GFileInputStream,
3592            *const c_char,
3593            c_int,
3594            *mut GCancellable,
3595            GAsyncReadyCallback,
3596            gpointer,
3597        ),
3598    >,
3599    pub query_info_finish: Option<
3600        unsafe extern "C" fn(
3601            *mut GFileInputStream,
3602            *mut GAsyncResult,
3603            *mut *mut glib::GError,
3604        ) -> *mut GFileInfo,
3605    >,
3606    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3607    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3608    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3609    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3610    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3611}
3612
3613impl ::std::fmt::Debug for GFileInputStreamClass {
3614    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3615        f.debug_struct(&format!("GFileInputStreamClass @ {self:p}"))
3616            .field("parent_class", &self.parent_class)
3617            .field("tell", &self.tell)
3618            .field("can_seek", &self.can_seek)
3619            .field("seek", &self.seek)
3620            .field("query_info", &self.query_info)
3621            .field("query_info_async", &self.query_info_async)
3622            .field("query_info_finish", &self.query_info_finish)
3623            .field("_g_reserved1", &self._g_reserved1)
3624            .field("_g_reserved2", &self._g_reserved2)
3625            .field("_g_reserved3", &self._g_reserved3)
3626            .field("_g_reserved4", &self._g_reserved4)
3627            .field("_g_reserved5", &self._g_reserved5)
3628            .finish()
3629    }
3630}
3631
3632#[repr(C)]
3633#[allow(dead_code)]
3634pub struct _GFileInputStreamPrivate {
3635    _data: [u8; 0],
3636    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3637}
3638
3639pub type GFileInputStreamPrivate = _GFileInputStreamPrivate;
3640
3641#[derive(Copy, Clone)]
3642#[repr(C)]
3643pub struct GFileMonitorClass {
3644    pub parent_class: gobject::GObjectClass,
3645    pub changed:
3646        Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>,
3647    pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>,
3648    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3649    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3650    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3651    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3652    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3653}
3654
3655impl ::std::fmt::Debug for GFileMonitorClass {
3656    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3657        f.debug_struct(&format!("GFileMonitorClass @ {self:p}"))
3658            .field("parent_class", &self.parent_class)
3659            .field("changed", &self.changed)
3660            .field("cancel", &self.cancel)
3661            .field("_g_reserved1", &self._g_reserved1)
3662            .field("_g_reserved2", &self._g_reserved2)
3663            .field("_g_reserved3", &self._g_reserved3)
3664            .field("_g_reserved4", &self._g_reserved4)
3665            .field("_g_reserved5", &self._g_reserved5)
3666            .finish()
3667    }
3668}
3669
3670#[repr(C)]
3671#[allow(dead_code)]
3672pub struct _GFileMonitorPrivate {
3673    _data: [u8; 0],
3674    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3675}
3676
3677pub type GFileMonitorPrivate = _GFileMonitorPrivate;
3678
3679#[derive(Copy, Clone)]
3680#[repr(C)]
3681pub struct GFileOutputStreamClass {
3682    pub parent_class: GOutputStreamClass,
3683    pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>,
3684    pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3685    pub seek: Option<
3686        unsafe extern "C" fn(
3687            *mut GFileOutputStream,
3688            i64,
3689            glib::GSeekType,
3690            *mut GCancellable,
3691            *mut *mut glib::GError,
3692        ) -> gboolean,
3693    >,
3694    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3695    pub truncate_fn: Option<
3696        unsafe extern "C" fn(
3697            *mut GFileOutputStream,
3698            i64,
3699            *mut GCancellable,
3700            *mut *mut glib::GError,
3701        ) -> gboolean,
3702    >,
3703    pub query_info: Option<
3704        unsafe extern "C" fn(
3705            *mut GFileOutputStream,
3706            *const c_char,
3707            *mut GCancellable,
3708            *mut *mut glib::GError,
3709        ) -> *mut GFileInfo,
3710    >,
3711    pub query_info_async: Option<
3712        unsafe extern "C" fn(
3713            *mut GFileOutputStream,
3714            *const c_char,
3715            c_int,
3716            *mut GCancellable,
3717            GAsyncReadyCallback,
3718            gpointer,
3719        ),
3720    >,
3721    pub query_info_finish: Option<
3722        unsafe extern "C" fn(
3723            *mut GFileOutputStream,
3724            *mut GAsyncResult,
3725            *mut *mut glib::GError,
3726        ) -> *mut GFileInfo,
3727    >,
3728    pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>,
3729    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3730    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3731    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3732    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3733    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3734}
3735
3736impl ::std::fmt::Debug for GFileOutputStreamClass {
3737    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3738        f.debug_struct(&format!("GFileOutputStreamClass @ {self:p}"))
3739            .field("parent_class", &self.parent_class)
3740            .field("tell", &self.tell)
3741            .field("can_seek", &self.can_seek)
3742            .field("seek", &self.seek)
3743            .field("can_truncate", &self.can_truncate)
3744            .field("truncate_fn", &self.truncate_fn)
3745            .field("query_info", &self.query_info)
3746            .field("query_info_async", &self.query_info_async)
3747            .field("query_info_finish", &self.query_info_finish)
3748            .field("get_etag", &self.get_etag)
3749            .field("_g_reserved1", &self._g_reserved1)
3750            .field("_g_reserved2", &self._g_reserved2)
3751            .field("_g_reserved3", &self._g_reserved3)
3752            .field("_g_reserved4", &self._g_reserved4)
3753            .field("_g_reserved5", &self._g_reserved5)
3754            .finish()
3755    }
3756}
3757
3758#[repr(C)]
3759#[allow(dead_code)]
3760pub struct _GFileOutputStreamPrivate {
3761    _data: [u8; 0],
3762    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3763}
3764
3765pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate;
3766
3767#[derive(Copy, Clone)]
3768#[repr(C)]
3769pub struct GFilenameCompleterClass {
3770    pub parent_class: gobject::GObjectClass,
3771    pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>,
3772    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3773    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3774    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3775}
3776
3777impl ::std::fmt::Debug for GFilenameCompleterClass {
3778    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3779        f.debug_struct(&format!("GFilenameCompleterClass @ {self:p}"))
3780            .field("parent_class", &self.parent_class)
3781            .field("got_completion_data", &self.got_completion_data)
3782            .field("_g_reserved1", &self._g_reserved1)
3783            .field("_g_reserved2", &self._g_reserved2)
3784            .field("_g_reserved3", &self._g_reserved3)
3785            .finish()
3786    }
3787}
3788
3789#[derive(Copy, Clone)]
3790#[repr(C)]
3791pub struct GFilterInputStreamClass {
3792    pub parent_class: GInputStreamClass,
3793    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3794    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3795    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3796}
3797
3798impl ::std::fmt::Debug for GFilterInputStreamClass {
3799    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3800        f.debug_struct(&format!("GFilterInputStreamClass @ {self:p}"))
3801            .field("parent_class", &self.parent_class)
3802            .field("_g_reserved1", &self._g_reserved1)
3803            .field("_g_reserved2", &self._g_reserved2)
3804            .field("_g_reserved3", &self._g_reserved3)
3805            .finish()
3806    }
3807}
3808
3809#[derive(Copy, Clone)]
3810#[repr(C)]
3811pub struct GFilterOutputStreamClass {
3812    pub parent_class: GOutputStreamClass,
3813    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3814    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3815    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3816}
3817
3818impl ::std::fmt::Debug for GFilterOutputStreamClass {
3819    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3820        f.debug_struct(&format!("GFilterOutputStreamClass @ {self:p}"))
3821            .field("parent_class", &self.parent_class)
3822            .field("_g_reserved1", &self._g_reserved1)
3823            .field("_g_reserved2", &self._g_reserved2)
3824            .field("_g_reserved3", &self._g_reserved3)
3825            .finish()
3826    }
3827}
3828
3829#[repr(C)]
3830#[allow(dead_code)]
3831pub struct _GIOExtension {
3832    _data: [u8; 0],
3833    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3834}
3835
3836pub type GIOExtension = _GIOExtension;
3837
3838#[repr(C)]
3839#[allow(dead_code)]
3840pub struct _GIOExtensionPoint {
3841    _data: [u8; 0],
3842    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3843}
3844
3845pub type GIOExtensionPoint = _GIOExtensionPoint;
3846
3847#[repr(C)]
3848#[allow(dead_code)]
3849pub struct _GIOModuleClass {
3850    _data: [u8; 0],
3851    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3852}
3853
3854pub type GIOModuleClass = _GIOModuleClass;
3855
3856#[repr(C)]
3857#[allow(dead_code)]
3858pub struct _GIOModuleScope {
3859    _data: [u8; 0],
3860    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3861}
3862
3863pub type GIOModuleScope = _GIOModuleScope;
3864
3865#[repr(C)]
3866#[allow(dead_code)]
3867pub struct _GIOSchedulerJob {
3868    _data: [u8; 0],
3869    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3870}
3871
3872pub type GIOSchedulerJob = _GIOSchedulerJob;
3873
3874#[repr(C)]
3875#[allow(dead_code)]
3876pub struct _GIOStreamAdapter {
3877    _data: [u8; 0],
3878    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3879}
3880
3881pub type GIOStreamAdapter = _GIOStreamAdapter;
3882
3883#[derive(Copy, Clone)]
3884#[repr(C)]
3885pub struct GIOStreamClass {
3886    pub parent_class: gobject::GObjectClass,
3887    pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>,
3888    pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>,
3889    pub close_fn: Option<
3890        unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3891    >,
3892    pub close_async: Option<
3893        unsafe extern "C" fn(
3894            *mut GIOStream,
3895            c_int,
3896            *mut GCancellable,
3897            GAsyncReadyCallback,
3898            gpointer,
3899        ),
3900    >,
3901    pub close_finish: Option<
3902        unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3903    >,
3904    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3905    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3906    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3907    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3908    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3909    pub _g_reserved6: Option<unsafe extern "C" fn()>,
3910    pub _g_reserved7: Option<unsafe extern "C" fn()>,
3911    pub _g_reserved8: Option<unsafe extern "C" fn()>,
3912    pub _g_reserved9: Option<unsafe extern "C" fn()>,
3913    pub _g_reserved10: Option<unsafe extern "C" fn()>,
3914}
3915
3916impl ::std::fmt::Debug for GIOStreamClass {
3917    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3918        f.debug_struct(&format!("GIOStreamClass @ {self:p}"))
3919            .field("parent_class", &self.parent_class)
3920            .field("get_input_stream", &self.get_input_stream)
3921            .field("get_output_stream", &self.get_output_stream)
3922            .field("close_fn", &self.close_fn)
3923            .field("close_async", &self.close_async)
3924            .field("close_finish", &self.close_finish)
3925            .field("_g_reserved1", &self._g_reserved1)
3926            .field("_g_reserved2", &self._g_reserved2)
3927            .field("_g_reserved3", &self._g_reserved3)
3928            .field("_g_reserved4", &self._g_reserved4)
3929            .field("_g_reserved5", &self._g_reserved5)
3930            .field("_g_reserved6", &self._g_reserved6)
3931            .field("_g_reserved7", &self._g_reserved7)
3932            .field("_g_reserved8", &self._g_reserved8)
3933            .field("_g_reserved9", &self._g_reserved9)
3934            .field("_g_reserved10", &self._g_reserved10)
3935            .finish()
3936    }
3937}
3938
3939#[repr(C)]
3940#[allow(dead_code)]
3941pub struct _GIOStreamPrivate {
3942    _data: [u8; 0],
3943    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3944}
3945
3946pub type GIOStreamPrivate = _GIOStreamPrivate;
3947
3948#[derive(Copy, Clone)]
3949#[repr(C)]
3950pub struct GIPTosMessageClass {
3951    pub parent_class: GSocketControlMessageClass,
3952}
3953
3954impl ::std::fmt::Debug for GIPTosMessageClass {
3955    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3956        f.debug_struct(&format!("GIPTosMessageClass @ {self:p}"))
3957            .field("parent_class", &self.parent_class)
3958            .finish()
3959    }
3960}
3961
3962#[derive(Copy, Clone)]
3963#[repr(C)]
3964pub struct GIPv6TclassMessageClass {
3965    pub parent_class: GSocketControlMessageClass,
3966}
3967
3968impl ::std::fmt::Debug for GIPv6TclassMessageClass {
3969    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3970        f.debug_struct(&format!("GIPv6TclassMessageClass @ {self:p}"))
3971            .field("parent_class", &self.parent_class)
3972            .finish()
3973    }
3974}
3975
3976#[derive(Copy, Clone)]
3977#[repr(C)]
3978pub struct GIconIface {
3979    pub g_iface: gobject::GTypeInterface,
3980    pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>,
3981    pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>,
3982    pub to_tokens:
3983        Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>,
3984    pub from_tokens: Option<
3985        unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon,
3986    >,
3987    pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>,
3988}
3989
3990impl ::std::fmt::Debug for GIconIface {
3991    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3992        f.debug_struct(&format!("GIconIface @ {self:p}"))
3993            .field("g_iface", &self.g_iface)
3994            .field("hash", &self.hash)
3995            .field("equal", &self.equal)
3996            .field("to_tokens", &self.to_tokens)
3997            .field("from_tokens", &self.from_tokens)
3998            .field("serialize", &self.serialize)
3999            .finish()
4000    }
4001}
4002
4003#[derive(Copy, Clone)]
4004#[repr(C)]
4005pub struct GInetAddressClass {
4006    pub parent_class: gobject::GObjectClass,
4007    pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>,
4008    pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>,
4009}
4010
4011impl ::std::fmt::Debug for GInetAddressClass {
4012    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4013        f.debug_struct(&format!("GInetAddressClass @ {self:p}"))
4014            .field("parent_class", &self.parent_class)
4015            .field("to_string", &self.to_string)
4016            .field("to_bytes", &self.to_bytes)
4017            .finish()
4018    }
4019}
4020
4021#[derive(Copy, Clone)]
4022#[repr(C)]
4023pub struct GInetAddressMaskClass {
4024    pub parent_class: gobject::GObjectClass,
4025}
4026
4027impl ::std::fmt::Debug for GInetAddressMaskClass {
4028    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4029        f.debug_struct(&format!("GInetAddressMaskClass @ {self:p}"))
4030            .field("parent_class", &self.parent_class)
4031            .finish()
4032    }
4033}
4034
4035#[repr(C)]
4036#[allow(dead_code)]
4037pub struct _GInetAddressMaskPrivate {
4038    _data: [u8; 0],
4039    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4040}
4041
4042pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate;
4043
4044#[repr(C)]
4045#[allow(dead_code)]
4046pub struct _GInetAddressPrivate {
4047    _data: [u8; 0],
4048    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4049}
4050
4051pub type GInetAddressPrivate = _GInetAddressPrivate;
4052
4053#[derive(Copy, Clone)]
4054#[repr(C)]
4055pub struct GInetSocketAddressClass {
4056    pub parent_class: GSocketAddressClass,
4057}
4058
4059impl ::std::fmt::Debug for GInetSocketAddressClass {
4060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4061        f.debug_struct(&format!("GInetSocketAddressClass @ {self:p}"))
4062            .field("parent_class", &self.parent_class)
4063            .finish()
4064    }
4065}
4066
4067#[repr(C)]
4068#[allow(dead_code)]
4069pub struct _GInetSocketAddressPrivate {
4070    _data: [u8; 0],
4071    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4072}
4073
4074pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate;
4075
4076#[derive(Copy, Clone)]
4077#[repr(C)]
4078pub struct GInitableIface {
4079    pub g_iface: gobject::GTypeInterface,
4080    pub init: Option<
4081        unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
4082    >,
4083}
4084
4085impl ::std::fmt::Debug for GInitableIface {
4086    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4087        f.debug_struct(&format!("GInitableIface @ {self:p}"))
4088            .field("g_iface", &self.g_iface)
4089            .field("init", &self.init)
4090            .finish()
4091    }
4092}
4093
4094#[derive(Copy, Clone)]
4095#[repr(C)]
4096pub struct GInputMessage {
4097    pub address: *mut *mut GSocketAddress,
4098    pub vectors: *mut GInputVector,
4099    pub num_vectors: c_uint,
4100    pub bytes_received: size_t,
4101    pub flags: c_int,
4102    pub control_messages: *mut *mut *mut GSocketControlMessage,
4103    pub num_control_messages: *mut c_uint,
4104}
4105
4106impl ::std::fmt::Debug for GInputMessage {
4107    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4108        f.debug_struct(&format!("GInputMessage @ {self:p}"))
4109            .field("address", &self.address)
4110            .field("vectors", &self.vectors)
4111            .field("num_vectors", &self.num_vectors)
4112            .field("bytes_received", &self.bytes_received)
4113            .field("flags", &self.flags)
4114            .field("control_messages", &self.control_messages)
4115            .field("num_control_messages", &self.num_control_messages)
4116            .finish()
4117    }
4118}
4119
4120#[derive(Copy, Clone)]
4121#[repr(C)]
4122pub struct GInputStreamClass {
4123    pub parent_class: gobject::GObjectClass,
4124    pub read_fn: Option<
4125        unsafe extern "C" fn(
4126            *mut GInputStream,
4127            *mut c_void,
4128            size_t,
4129            *mut GCancellable,
4130            *mut *mut glib::GError,
4131        ) -> ssize_t,
4132    >,
4133    pub skip: Option<
4134        unsafe extern "C" fn(
4135            *mut GInputStream,
4136            size_t,
4137            *mut GCancellable,
4138            *mut *mut glib::GError,
4139        ) -> ssize_t,
4140    >,
4141    pub close_fn: Option<
4142        unsafe extern "C" fn(
4143            *mut GInputStream,
4144            *mut GCancellable,
4145            *mut *mut glib::GError,
4146        ) -> gboolean,
4147    >,
4148    pub read_async: Option<
4149        unsafe extern "C" fn(
4150            *mut GInputStream,
4151            *mut u8,
4152            size_t,
4153            c_int,
4154            *mut GCancellable,
4155            GAsyncReadyCallback,
4156            gpointer,
4157        ),
4158    >,
4159    pub read_finish: Option<
4160        unsafe extern "C" fn(
4161            *mut GInputStream,
4162            *mut GAsyncResult,
4163            *mut *mut glib::GError,
4164        ) -> ssize_t,
4165    >,
4166    pub skip_async: Option<
4167        unsafe extern "C" fn(
4168            *mut GInputStream,
4169            size_t,
4170            c_int,
4171            *mut GCancellable,
4172            GAsyncReadyCallback,
4173            gpointer,
4174        ),
4175    >,
4176    pub skip_finish: Option<
4177        unsafe extern "C" fn(
4178            *mut GInputStream,
4179            *mut GAsyncResult,
4180            *mut *mut glib::GError,
4181        ) -> ssize_t,
4182    >,
4183    pub close_async: Option<
4184        unsafe extern "C" fn(
4185            *mut GInputStream,
4186            c_int,
4187            *mut GCancellable,
4188            GAsyncReadyCallback,
4189            gpointer,
4190        ),
4191    >,
4192    pub close_finish: Option<
4193        unsafe extern "C" fn(
4194            *mut GInputStream,
4195            *mut GAsyncResult,
4196            *mut *mut glib::GError,
4197        ) -> gboolean,
4198    >,
4199    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4200    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4201    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4202    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4203    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4204}
4205
4206impl ::std::fmt::Debug for GInputStreamClass {
4207    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4208        f.debug_struct(&format!("GInputStreamClass @ {self:p}"))
4209            .field("parent_class", &self.parent_class)
4210            .field("read_fn", &self.read_fn)
4211            .field("skip", &self.skip)
4212            .field("close_fn", &self.close_fn)
4213            .field("read_async", &self.read_async)
4214            .field("read_finish", &self.read_finish)
4215            .field("skip_async", &self.skip_async)
4216            .field("skip_finish", &self.skip_finish)
4217            .field("close_async", &self.close_async)
4218            .field("close_finish", &self.close_finish)
4219            .field("_g_reserved1", &self._g_reserved1)
4220            .field("_g_reserved2", &self._g_reserved2)
4221            .field("_g_reserved3", &self._g_reserved3)
4222            .field("_g_reserved4", &self._g_reserved4)
4223            .field("_g_reserved5", &self._g_reserved5)
4224            .finish()
4225    }
4226}
4227
4228#[repr(C)]
4229#[allow(dead_code)]
4230pub struct _GInputStreamPrivate {
4231    _data: [u8; 0],
4232    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4233}
4234
4235pub type GInputStreamPrivate = _GInputStreamPrivate;
4236
4237#[derive(Copy, Clone)]
4238#[repr(C)]
4239pub struct GInputVector {
4240    pub buffer: gpointer,
4241    pub size: size_t,
4242}
4243
4244impl ::std::fmt::Debug for GInputVector {
4245    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4246        f.debug_struct(&format!("GInputVector @ {self:p}"))
4247            .field("buffer", &self.buffer)
4248            .field("size", &self.size)
4249            .finish()
4250    }
4251}
4252
4253#[derive(Copy, Clone)]
4254#[repr(C)]
4255pub struct GListModelInterface {
4256    pub g_iface: gobject::GTypeInterface,
4257    pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>,
4258    pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>,
4259    pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>,
4260}
4261
4262impl ::std::fmt::Debug for GListModelInterface {
4263    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4264        f.debug_struct(&format!("GListModelInterface @ {self:p}"))
4265            .field("g_iface", &self.g_iface)
4266            .field("get_item_type", &self.get_item_type)
4267            .field("get_n_items", &self.get_n_items)
4268            .field("get_item", &self.get_item)
4269            .finish()
4270    }
4271}
4272
4273#[derive(Copy, Clone)]
4274#[repr(C)]
4275pub struct GListStoreClass {
4276    pub parent_class: gobject::GObjectClass,
4277}
4278
4279impl ::std::fmt::Debug for GListStoreClass {
4280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4281        f.debug_struct(&format!("GListStoreClass @ {self:p}"))
4282            .field("parent_class", &self.parent_class)
4283            .finish()
4284    }
4285}
4286
4287#[derive(Copy, Clone)]
4288#[repr(C)]
4289pub struct GLoadableIconIface {
4290    pub g_iface: gobject::GTypeInterface,
4291    pub load: Option<
4292        unsafe extern "C" fn(
4293            *mut GLoadableIcon,
4294            c_int,
4295            *mut *mut c_char,
4296            *mut GCancellable,
4297            *mut *mut glib::GError,
4298        ) -> *mut GInputStream,
4299    >,
4300    pub load_async: Option<
4301        unsafe extern "C" fn(
4302            *mut GLoadableIcon,
4303            c_int,
4304            *mut GCancellable,
4305            GAsyncReadyCallback,
4306            gpointer,
4307        ),
4308    >,
4309    pub load_finish: Option<
4310        unsafe extern "C" fn(
4311            *mut GLoadableIcon,
4312            *mut GAsyncResult,
4313            *mut *mut c_char,
4314            *mut *mut glib::GError,
4315        ) -> *mut GInputStream,
4316    >,
4317}
4318
4319impl ::std::fmt::Debug for GLoadableIconIface {
4320    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4321        f.debug_struct(&format!("GLoadableIconIface @ {self:p}"))
4322            .field("g_iface", &self.g_iface)
4323            .field("load", &self.load)
4324            .field("load_async", &self.load_async)
4325            .field("load_finish", &self.load_finish)
4326            .finish()
4327    }
4328}
4329
4330#[derive(Copy, Clone)]
4331#[repr(C)]
4332pub struct GMemoryInputStreamClass {
4333    pub parent_class: GInputStreamClass,
4334    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4335    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4336    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4337    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4338    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4339}
4340
4341impl ::std::fmt::Debug for GMemoryInputStreamClass {
4342    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4343        f.debug_struct(&format!("GMemoryInputStreamClass @ {self:p}"))
4344            .field("parent_class", &self.parent_class)
4345            .field("_g_reserved1", &self._g_reserved1)
4346            .field("_g_reserved2", &self._g_reserved2)
4347            .field("_g_reserved3", &self._g_reserved3)
4348            .field("_g_reserved4", &self._g_reserved4)
4349            .field("_g_reserved5", &self._g_reserved5)
4350            .finish()
4351    }
4352}
4353
4354#[repr(C)]
4355#[allow(dead_code)]
4356pub struct _GMemoryInputStreamPrivate {
4357    _data: [u8; 0],
4358    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4359}
4360
4361pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate;
4362
4363#[derive(Copy, Clone)]
4364#[repr(C)]
4365pub struct GMemoryMonitorInterface {
4366    pub g_iface: gobject::GTypeInterface,
4367    pub low_memory_warning:
4368        Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>,
4369}
4370
4371impl ::std::fmt::Debug for GMemoryMonitorInterface {
4372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4373        f.debug_struct(&format!("GMemoryMonitorInterface @ {self:p}"))
4374            .field("low_memory_warning", &self.low_memory_warning)
4375            .finish()
4376    }
4377}
4378
4379#[derive(Copy, Clone)]
4380#[repr(C)]
4381pub struct GMemoryOutputStreamClass {
4382    pub parent_class: GOutputStreamClass,
4383    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4384    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4385    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4386    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4387    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4388}
4389
4390impl ::std::fmt::Debug for GMemoryOutputStreamClass {
4391    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4392        f.debug_struct(&format!("GMemoryOutputStreamClass @ {self:p}"))
4393            .field("parent_class", &self.parent_class)
4394            .field("_g_reserved1", &self._g_reserved1)
4395            .field("_g_reserved2", &self._g_reserved2)
4396            .field("_g_reserved3", &self._g_reserved3)
4397            .field("_g_reserved4", &self._g_reserved4)
4398            .field("_g_reserved5", &self._g_reserved5)
4399            .finish()
4400    }
4401}
4402
4403#[repr(C)]
4404#[allow(dead_code)]
4405pub struct _GMemoryOutputStreamPrivate {
4406    _data: [u8; 0],
4407    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4408}
4409
4410pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate;
4411
4412#[derive(Copy, Clone)]
4413#[repr(C)]
4414pub struct GMenuAttributeIterClass {
4415    pub parent_class: gobject::GObjectClass,
4416    pub get_next: Option<
4417        unsafe extern "C" fn(
4418            *mut GMenuAttributeIter,
4419            *mut *const c_char,
4420            *mut *mut glib::GVariant,
4421        ) -> gboolean,
4422    >,
4423}
4424
4425impl ::std::fmt::Debug for GMenuAttributeIterClass {
4426    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4427        f.debug_struct(&format!("GMenuAttributeIterClass @ {self:p}"))
4428            .field("parent_class", &self.parent_class)
4429            .field("get_next", &self.get_next)
4430            .finish()
4431    }
4432}
4433
4434#[repr(C)]
4435#[allow(dead_code)]
4436pub struct _GMenuAttributeIterPrivate {
4437    _data: [u8; 0],
4438    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4439}
4440
4441pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate;
4442
4443#[derive(Copy, Clone)]
4444#[repr(C)]
4445pub struct GMenuLinkIterClass {
4446    pub parent_class: gobject::GObjectClass,
4447    pub get_next: Option<
4448        unsafe extern "C" fn(
4449            *mut GMenuLinkIter,
4450            *mut *const c_char,
4451            *mut *mut GMenuModel,
4452        ) -> gboolean,
4453    >,
4454}
4455
4456impl ::std::fmt::Debug for GMenuLinkIterClass {
4457    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4458        f.debug_struct(&format!("GMenuLinkIterClass @ {self:p}"))
4459            .field("parent_class", &self.parent_class)
4460            .field("get_next", &self.get_next)
4461            .finish()
4462    }
4463}
4464
4465#[repr(C)]
4466#[allow(dead_code)]
4467pub struct _GMenuLinkIterPrivate {
4468    _data: [u8; 0],
4469    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4470}
4471
4472pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate;
4473
4474#[derive(Copy, Clone)]
4475#[repr(C)]
4476pub struct GMenuModelClass {
4477    pub parent_class: gobject::GObjectClass,
4478    pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>,
4479    pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>,
4480    pub get_item_attributes:
4481        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4482    pub iterate_item_attributes:
4483        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>,
4484    pub get_item_attribute_value: Option<
4485        unsafe extern "C" fn(
4486            *mut GMenuModel,
4487            c_int,
4488            *const c_char,
4489            *const glib::GVariantType,
4490        ) -> *mut glib::GVariant,
4491    >,
4492    pub get_item_links:
4493        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4494    pub iterate_item_links:
4495        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>,
4496    pub get_item_link:
4497        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>,
4498}
4499
4500impl ::std::fmt::Debug for GMenuModelClass {
4501    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4502        f.debug_struct(&format!("GMenuModelClass @ {self:p}"))
4503            .field("parent_class", &self.parent_class)
4504            .field("is_mutable", &self.is_mutable)
4505            .field("get_n_items", &self.get_n_items)
4506            .field("get_item_attributes", &self.get_item_attributes)
4507            .field("iterate_item_attributes", &self.iterate_item_attributes)
4508            .field("get_item_attribute_value", &self.get_item_attribute_value)
4509            .field("get_item_links", &self.get_item_links)
4510            .field("iterate_item_links", &self.iterate_item_links)
4511            .field("get_item_link", &self.get_item_link)
4512            .finish()
4513    }
4514}
4515
4516#[repr(C)]
4517#[allow(dead_code)]
4518pub struct _GMenuModelPrivate {
4519    _data: [u8; 0],
4520    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4521}
4522
4523pub type GMenuModelPrivate = _GMenuModelPrivate;
4524
4525#[derive(Copy, Clone)]
4526#[repr(C)]
4527pub struct GMountIface {
4528    pub g_iface: gobject::GTypeInterface,
4529    pub changed: Option<unsafe extern "C" fn(*mut GMount)>,
4530    pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>,
4531    pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4532    pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4533    pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4534    pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4535    pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>,
4536    pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>,
4537    pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4538    pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4539    pub unmount: Option<
4540        unsafe extern "C" fn(
4541            *mut GMount,
4542            GMountUnmountFlags,
4543            *mut GCancellable,
4544            GAsyncReadyCallback,
4545            gpointer,
4546        ),
4547    >,
4548    pub unmount_finish: Option<
4549        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4550    >,
4551    pub eject: Option<
4552        unsafe extern "C" fn(
4553            *mut GMount,
4554            GMountUnmountFlags,
4555            *mut GCancellable,
4556            GAsyncReadyCallback,
4557            gpointer,
4558        ),
4559    >,
4560    pub eject_finish: Option<
4561        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4562    >,
4563    pub remount: Option<
4564        unsafe extern "C" fn(
4565            *mut GMount,
4566            GMountMountFlags,
4567            *mut GMountOperation,
4568            *mut GCancellable,
4569            GAsyncReadyCallback,
4570            gpointer,
4571        ),
4572    >,
4573    pub remount_finish: Option<
4574        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4575    >,
4576    pub guess_content_type: Option<
4577        unsafe extern "C" fn(
4578            *mut GMount,
4579            gboolean,
4580            *mut GCancellable,
4581            GAsyncReadyCallback,
4582            gpointer,
4583        ),
4584    >,
4585    pub guess_content_type_finish: Option<
4586        unsafe extern "C" fn(
4587            *mut GMount,
4588            *mut GAsyncResult,
4589            *mut *mut glib::GError,
4590        ) -> *mut *mut c_char,
4591    >,
4592    pub guess_content_type_sync: Option<
4593        unsafe extern "C" fn(
4594            *mut GMount,
4595            gboolean,
4596            *mut GCancellable,
4597            *mut *mut glib::GError,
4598        ) -> *mut *mut c_char,
4599    >,
4600    pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>,
4601    pub unmount_with_operation: Option<
4602        unsafe extern "C" fn(
4603            *mut GMount,
4604            GMountUnmountFlags,
4605            *mut GMountOperation,
4606            *mut GCancellable,
4607            GAsyncReadyCallback,
4608            gpointer,
4609        ),
4610    >,
4611    pub unmount_with_operation_finish: Option<
4612        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4613    >,
4614    pub eject_with_operation: Option<
4615        unsafe extern "C" fn(
4616            *mut GMount,
4617            GMountUnmountFlags,
4618            *mut GMountOperation,
4619            *mut GCancellable,
4620            GAsyncReadyCallback,
4621            gpointer,
4622        ),
4623    >,
4624    pub eject_with_operation_finish: Option<
4625        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4626    >,
4627    pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4628    pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4629    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4630}
4631
4632impl ::std::fmt::Debug for GMountIface {
4633    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4634        f.debug_struct(&format!("GMountIface @ {self:p}"))
4635            .field("g_iface", &self.g_iface)
4636            .field("changed", &self.changed)
4637            .field("unmounted", &self.unmounted)
4638            .field("get_root", &self.get_root)
4639            .field("get_name", &self.get_name)
4640            .field("get_icon", &self.get_icon)
4641            .field("get_uuid", &self.get_uuid)
4642            .field("get_volume", &self.get_volume)
4643            .field("get_drive", &self.get_drive)
4644            .field("can_unmount", &self.can_unmount)
4645            .field("can_eject", &self.can_eject)
4646            .field("unmount", &self.unmount)
4647            .field("unmount_finish", &self.unmount_finish)
4648            .field("eject", &self.eject)
4649            .field("eject_finish", &self.eject_finish)
4650            .field("remount", &self.remount)
4651            .field("remount_finish", &self.remount_finish)
4652            .field("guess_content_type", &self.guess_content_type)
4653            .field("guess_content_type_finish", &self.guess_content_type_finish)
4654            .field("guess_content_type_sync", &self.guess_content_type_sync)
4655            .field("pre_unmount", &self.pre_unmount)
4656            .field("unmount_with_operation", &self.unmount_with_operation)
4657            .field(
4658                "unmount_with_operation_finish",
4659                &self.unmount_with_operation_finish,
4660            )
4661            .field("eject_with_operation", &self.eject_with_operation)
4662            .field(
4663                "eject_with_operation_finish",
4664                &self.eject_with_operation_finish,
4665            )
4666            .field("get_default_location", &self.get_default_location)
4667            .field("get_sort_key", &self.get_sort_key)
4668            .field("get_symbolic_icon", &self.get_symbolic_icon)
4669            .finish()
4670    }
4671}
4672
4673#[derive(Copy, Clone)]
4674#[repr(C)]
4675pub struct GMountOperationClass {
4676    pub parent_class: gobject::GObjectClass,
4677    pub ask_password: Option<
4678        unsafe extern "C" fn(
4679            *mut GMountOperation,
4680            *const c_char,
4681            *const c_char,
4682            *const c_char,
4683            GAskPasswordFlags,
4684        ),
4685    >,
4686    pub ask_question:
4687        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>,
4688    pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>,
4689    pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>,
4690    pub show_processes: Option<
4691        unsafe extern "C" fn(
4692            *mut GMountOperation,
4693            *const c_char,
4694            *mut glib::GArray,
4695            *mut *const c_char,
4696        ),
4697    >,
4698    pub show_unmount_progress:
4699        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>,
4700    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4701    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4702    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4703    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4704    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4705    pub _g_reserved6: Option<unsafe extern "C" fn()>,
4706    pub _g_reserved7: Option<unsafe extern "C" fn()>,
4707    pub _g_reserved8: Option<unsafe extern "C" fn()>,
4708    pub _g_reserved9: Option<unsafe extern "C" fn()>,
4709}
4710
4711impl ::std::fmt::Debug for GMountOperationClass {
4712    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4713        f.debug_struct(&format!("GMountOperationClass @ {self:p}"))
4714            .field("parent_class", &self.parent_class)
4715            .field("ask_password", &self.ask_password)
4716            .field("ask_question", &self.ask_question)
4717            .field("reply", &self.reply)
4718            .field("aborted", &self.aborted)
4719            .field("show_processes", &self.show_processes)
4720            .field("show_unmount_progress", &self.show_unmount_progress)
4721            .field("_g_reserved1", &self._g_reserved1)
4722            .field("_g_reserved2", &self._g_reserved2)
4723            .field("_g_reserved3", &self._g_reserved3)
4724            .field("_g_reserved4", &self._g_reserved4)
4725            .field("_g_reserved5", &self._g_reserved5)
4726            .field("_g_reserved6", &self._g_reserved6)
4727            .field("_g_reserved7", &self._g_reserved7)
4728            .field("_g_reserved8", &self._g_reserved8)
4729            .field("_g_reserved9", &self._g_reserved9)
4730            .finish()
4731    }
4732}
4733
4734#[repr(C)]
4735#[allow(dead_code)]
4736pub struct _GMountOperationPrivate {
4737    _data: [u8; 0],
4738    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4739}
4740
4741pub type GMountOperationPrivate = _GMountOperationPrivate;
4742
4743#[derive(Copy, Clone)]
4744#[repr(C)]
4745pub struct GNativeSocketAddressClass {
4746    pub parent_class: GSocketAddressClass,
4747}
4748
4749impl ::std::fmt::Debug for GNativeSocketAddressClass {
4750    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4751        f.debug_struct(&format!("GNativeSocketAddressClass @ {self:p}"))
4752            .field("parent_class", &self.parent_class)
4753            .finish()
4754    }
4755}
4756
4757#[repr(C)]
4758#[allow(dead_code)]
4759pub struct _GNativeSocketAddressPrivate {
4760    _data: [u8; 0],
4761    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4762}
4763
4764pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate;
4765
4766#[derive(Copy, Clone)]
4767#[repr(C)]
4768pub struct GNativeVolumeMonitorClass {
4769    pub parent_class: GVolumeMonitorClass,
4770    pub get_mount_for_mount_path:
4771        Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>,
4772}
4773
4774impl ::std::fmt::Debug for GNativeVolumeMonitorClass {
4775    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4776        f.debug_struct(&format!("GNativeVolumeMonitorClass @ {self:p}"))
4777            .field("parent_class", &self.parent_class)
4778            .field("get_mount_for_mount_path", &self.get_mount_for_mount_path)
4779            .finish()
4780    }
4781}
4782
4783#[derive(Copy, Clone)]
4784#[repr(C)]
4785pub struct GNetworkAddressClass {
4786    pub parent_class: gobject::GObjectClass,
4787}
4788
4789impl ::std::fmt::Debug for GNetworkAddressClass {
4790    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4791        f.debug_struct(&format!("GNetworkAddressClass @ {self:p}"))
4792            .field("parent_class", &self.parent_class)
4793            .finish()
4794    }
4795}
4796
4797#[repr(C)]
4798#[allow(dead_code)]
4799pub struct _GNetworkAddressPrivate {
4800    _data: [u8; 0],
4801    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4802}
4803
4804pub type GNetworkAddressPrivate = _GNetworkAddressPrivate;
4805
4806#[derive(Copy, Clone)]
4807#[repr(C)]
4808pub struct GNetworkMonitorInterface {
4809    pub g_iface: gobject::GTypeInterface,
4810    pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>,
4811    pub can_reach: Option<
4812        unsafe extern "C" fn(
4813            *mut GNetworkMonitor,
4814            *mut GSocketConnectable,
4815            *mut GCancellable,
4816            *mut *mut glib::GError,
4817        ) -> gboolean,
4818    >,
4819    pub can_reach_async: Option<
4820        unsafe extern "C" fn(
4821            *mut GNetworkMonitor,
4822            *mut GSocketConnectable,
4823            *mut GCancellable,
4824            GAsyncReadyCallback,
4825            gpointer,
4826        ),
4827    >,
4828    pub can_reach_finish: Option<
4829        unsafe extern "C" fn(
4830            *mut GNetworkMonitor,
4831            *mut GAsyncResult,
4832            *mut *mut glib::GError,
4833        ) -> gboolean,
4834    >,
4835}
4836
4837impl ::std::fmt::Debug for GNetworkMonitorInterface {
4838    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4839        f.debug_struct(&format!("GNetworkMonitorInterface @ {self:p}"))
4840            .field("g_iface", &self.g_iface)
4841            .field("network_changed", &self.network_changed)
4842            .field("can_reach", &self.can_reach)
4843            .field("can_reach_async", &self.can_reach_async)
4844            .field("can_reach_finish", &self.can_reach_finish)
4845            .finish()
4846    }
4847}
4848
4849#[derive(Copy, Clone)]
4850#[repr(C)]
4851pub struct GNetworkServiceClass {
4852    pub parent_class: gobject::GObjectClass,
4853}
4854
4855impl ::std::fmt::Debug for GNetworkServiceClass {
4856    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4857        f.debug_struct(&format!("GNetworkServiceClass @ {self:p}"))
4858            .field("parent_class", &self.parent_class)
4859            .finish()
4860    }
4861}
4862
4863#[repr(C)]
4864#[allow(dead_code)]
4865pub struct _GNetworkServicePrivate {
4866    _data: [u8; 0],
4867    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4868}
4869
4870pub type GNetworkServicePrivate = _GNetworkServicePrivate;
4871
4872#[derive(Copy, Clone)]
4873#[repr(C)]
4874pub struct GOutputMessage {
4875    pub address: *mut GSocketAddress,
4876    pub vectors: *mut GOutputVector,
4877    pub num_vectors: c_uint,
4878    pub bytes_sent: c_uint,
4879    pub control_messages: *mut *mut GSocketControlMessage,
4880    pub num_control_messages: c_uint,
4881}
4882
4883impl ::std::fmt::Debug for GOutputMessage {
4884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4885        f.debug_struct(&format!("GOutputMessage @ {self:p}"))
4886            .field("address", &self.address)
4887            .field("vectors", &self.vectors)
4888            .field("num_vectors", &self.num_vectors)
4889            .field("bytes_sent", &self.bytes_sent)
4890            .field("control_messages", &self.control_messages)
4891            .field("num_control_messages", &self.num_control_messages)
4892            .finish()
4893    }
4894}
4895
4896#[derive(Copy, Clone)]
4897#[repr(C)]
4898pub struct GOutputStreamClass {
4899    pub parent_class: gobject::GObjectClass,
4900    pub write_fn: Option<
4901        unsafe extern "C" fn(
4902            *mut GOutputStream,
4903            *mut u8,
4904            size_t,
4905            *mut GCancellable,
4906            *mut *mut glib::GError,
4907        ) -> ssize_t,
4908    >,
4909    pub splice: Option<
4910        unsafe extern "C" fn(
4911            *mut GOutputStream,
4912            *mut GInputStream,
4913            GOutputStreamSpliceFlags,
4914            *mut GCancellable,
4915            *mut *mut glib::GError,
4916        ) -> ssize_t,
4917    >,
4918    pub flush: Option<
4919        unsafe extern "C" fn(
4920            *mut GOutputStream,
4921            *mut GCancellable,
4922            *mut *mut glib::GError,
4923        ) -> gboolean,
4924    >,
4925    pub close_fn: Option<
4926        unsafe extern "C" fn(
4927            *mut GOutputStream,
4928            *mut GCancellable,
4929            *mut *mut glib::GError,
4930        ) -> gboolean,
4931    >,
4932    pub write_async: Option<
4933        unsafe extern "C" fn(
4934            *mut GOutputStream,
4935            *mut u8,
4936            size_t,
4937            c_int,
4938            *mut GCancellable,
4939            GAsyncReadyCallback,
4940            gpointer,
4941        ),
4942    >,
4943    pub write_finish: Option<
4944        unsafe extern "C" fn(
4945            *mut GOutputStream,
4946            *mut GAsyncResult,
4947            *mut *mut glib::GError,
4948        ) -> ssize_t,
4949    >,
4950    pub splice_async: Option<
4951        unsafe extern "C" fn(
4952            *mut GOutputStream,
4953            *mut GInputStream,
4954            GOutputStreamSpliceFlags,
4955            c_int,
4956            *mut GCancellable,
4957            GAsyncReadyCallback,
4958            gpointer,
4959        ),
4960    >,
4961    pub splice_finish: Option<
4962        unsafe extern "C" fn(
4963            *mut GOutputStream,
4964            *mut GAsyncResult,
4965            *mut *mut glib::GError,
4966        ) -> ssize_t,
4967    >,
4968    pub flush_async: Option<
4969        unsafe extern "C" fn(
4970            *mut GOutputStream,
4971            c_int,
4972            *mut GCancellable,
4973            GAsyncReadyCallback,
4974            gpointer,
4975        ),
4976    >,
4977    pub flush_finish: Option<
4978        unsafe extern "C" fn(
4979            *mut GOutputStream,
4980            *mut GAsyncResult,
4981            *mut *mut glib::GError,
4982        ) -> gboolean,
4983    >,
4984    pub close_async: Option<
4985        unsafe extern "C" fn(
4986            *mut GOutputStream,
4987            c_int,
4988            *mut GCancellable,
4989            GAsyncReadyCallback,
4990            gpointer,
4991        ),
4992    >,
4993    pub close_finish: Option<
4994        unsafe extern "C" fn(
4995            *mut GOutputStream,
4996            *mut GAsyncResult,
4997            *mut *mut glib::GError,
4998        ) -> gboolean,
4999    >,
5000    pub writev_fn: Option<
5001        unsafe extern "C" fn(
5002            *mut GOutputStream,
5003            *const GOutputVector,
5004            size_t,
5005            *mut size_t,
5006            *mut GCancellable,
5007            *mut *mut glib::GError,
5008        ) -> gboolean,
5009    >,
5010    pub writev_async: Option<
5011        unsafe extern "C" fn(
5012            *mut GOutputStream,
5013            *const GOutputVector,
5014            size_t,
5015            c_int,
5016            *mut GCancellable,
5017            GAsyncReadyCallback,
5018            gpointer,
5019        ),
5020    >,
5021    pub writev_finish: Option<
5022        unsafe extern "C" fn(
5023            *mut GOutputStream,
5024            *mut GAsyncResult,
5025            *mut size_t,
5026            *mut *mut glib::GError,
5027        ) -> gboolean,
5028    >,
5029    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5030    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5031    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5032    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5033    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5034}
5035
5036impl ::std::fmt::Debug for GOutputStreamClass {
5037    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5038        f.debug_struct(&format!("GOutputStreamClass @ {self:p}"))
5039            .field("parent_class", &self.parent_class)
5040            .field("write_fn", &self.write_fn)
5041            .field("splice", &self.splice)
5042            .field("flush", &self.flush)
5043            .field("close_fn", &self.close_fn)
5044            .field("write_async", &self.write_async)
5045            .field("write_finish", &self.write_finish)
5046            .field("splice_async", &self.splice_async)
5047            .field("splice_finish", &self.splice_finish)
5048            .field("flush_async", &self.flush_async)
5049            .field("flush_finish", &self.flush_finish)
5050            .field("close_async", &self.close_async)
5051            .field("close_finish", &self.close_finish)
5052            .field("writev_fn", &self.writev_fn)
5053            .field("writev_async", &self.writev_async)
5054            .field("writev_finish", &self.writev_finish)
5055            .field("_g_reserved4", &self._g_reserved4)
5056            .field("_g_reserved5", &self._g_reserved5)
5057            .field("_g_reserved6", &self._g_reserved6)
5058            .field("_g_reserved7", &self._g_reserved7)
5059            .field("_g_reserved8", &self._g_reserved8)
5060            .finish()
5061    }
5062}
5063
5064#[repr(C)]
5065#[allow(dead_code)]
5066pub struct _GOutputStreamPrivate {
5067    _data: [u8; 0],
5068    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5069}
5070
5071pub type GOutputStreamPrivate = _GOutputStreamPrivate;
5072
5073#[derive(Copy, Clone)]
5074#[repr(C)]
5075pub struct GOutputVector {
5076    pub buffer: gconstpointer,
5077    pub size: size_t,
5078}
5079
5080impl ::std::fmt::Debug for GOutputVector {
5081    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5082        f.debug_struct(&format!("GOutputVector @ {self:p}"))
5083            .field("buffer", &self.buffer)
5084            .field("size", &self.size)
5085            .finish()
5086    }
5087}
5088
5089#[derive(Copy, Clone)]
5090#[repr(C)]
5091pub struct GPermissionClass {
5092    pub parent_class: gobject::GObjectClass,
5093    pub acquire: Option<
5094        unsafe extern "C" fn(
5095            *mut GPermission,
5096            *mut GCancellable,
5097            *mut *mut glib::GError,
5098        ) -> gboolean,
5099    >,
5100    pub acquire_async: Option<
5101        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5102    >,
5103    pub acquire_finish: Option<
5104        unsafe extern "C" fn(
5105            *mut GPermission,
5106            *mut GAsyncResult,
5107            *mut *mut glib::GError,
5108        ) -> gboolean,
5109    >,
5110    pub release: Option<
5111        unsafe extern "C" fn(
5112            *mut GPermission,
5113            *mut GCancellable,
5114            *mut *mut glib::GError,
5115        ) -> gboolean,
5116    >,
5117    pub release_async: Option<
5118        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5119    >,
5120    pub release_finish: Option<
5121        unsafe extern "C" fn(
5122            *mut GPermission,
5123            *mut GAsyncResult,
5124            *mut *mut glib::GError,
5125        ) -> gboolean,
5126    >,
5127    pub reserved: [gpointer; 16],
5128}
5129
5130impl ::std::fmt::Debug for GPermissionClass {
5131    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5132        f.debug_struct(&format!("GPermissionClass @ {self:p}"))
5133            .field("parent_class", &self.parent_class)
5134            .field("acquire", &self.acquire)
5135            .field("acquire_async", &self.acquire_async)
5136            .field("acquire_finish", &self.acquire_finish)
5137            .field("release", &self.release)
5138            .field("release_async", &self.release_async)
5139            .field("release_finish", &self.release_finish)
5140            .field("reserved", &self.reserved)
5141            .finish()
5142    }
5143}
5144
5145#[repr(C)]
5146#[allow(dead_code)]
5147pub struct _GPermissionPrivate {
5148    _data: [u8; 0],
5149    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5150}
5151
5152pub type GPermissionPrivate = _GPermissionPrivate;
5153
5154#[derive(Copy, Clone)]
5155#[repr(C)]
5156pub struct GPollableInputStreamInterface {
5157    pub g_iface: gobject::GTypeInterface,
5158    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5159    pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5160    pub create_source: Option<
5161        unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource,
5162    >,
5163    pub read_nonblocking: Option<
5164        unsafe extern "C" fn(
5165            *mut GPollableInputStream,
5166            *mut u8,
5167            size_t,
5168            *mut *mut glib::GError,
5169        ) -> ssize_t,
5170    >,
5171}
5172
5173impl ::std::fmt::Debug for GPollableInputStreamInterface {
5174    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5175        f.debug_struct(&format!("GPollableInputStreamInterface @ {self:p}"))
5176            .field("g_iface", &self.g_iface)
5177            .field("can_poll", &self.can_poll)
5178            .field("is_readable", &self.is_readable)
5179            .field("create_source", &self.create_source)
5180            .field("read_nonblocking", &self.read_nonblocking)
5181            .finish()
5182    }
5183}
5184
5185#[derive(Copy, Clone)]
5186#[repr(C)]
5187pub struct GPollableOutputStreamInterface {
5188    pub g_iface: gobject::GTypeInterface,
5189    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5190    pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5191    pub create_source: Option<
5192        unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource,
5193    >,
5194    pub write_nonblocking: Option<
5195        unsafe extern "C" fn(
5196            *mut GPollableOutputStream,
5197            *mut u8,
5198            size_t,
5199            *mut *mut glib::GError,
5200        ) -> ssize_t,
5201    >,
5202    pub writev_nonblocking: Option<
5203        unsafe extern "C" fn(
5204            *mut GPollableOutputStream,
5205            *const GOutputVector,
5206            size_t,
5207            *mut size_t,
5208            *mut *mut glib::GError,
5209        ) -> GPollableReturn,
5210    >,
5211}
5212
5213impl ::std::fmt::Debug for GPollableOutputStreamInterface {
5214    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5215        f.debug_struct(&format!("GPollableOutputStreamInterface @ {self:p}"))
5216            .field("g_iface", &self.g_iface)
5217            .field("can_poll", &self.can_poll)
5218            .field("is_writable", &self.is_writable)
5219            .field("create_source", &self.create_source)
5220            .field("write_nonblocking", &self.write_nonblocking)
5221            .field("writev_nonblocking", &self.writev_nonblocking)
5222            .finish()
5223    }
5224}
5225
5226#[derive(Copy, Clone)]
5227#[repr(C)]
5228pub struct GPowerProfileMonitorInterface {
5229    pub g_iface: gobject::GTypeInterface,
5230}
5231
5232impl ::std::fmt::Debug for GPowerProfileMonitorInterface {
5233    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5234        f.debug_struct(&format!("GPowerProfileMonitorInterface @ {self:p}"))
5235            .finish()
5236    }
5237}
5238
5239#[derive(Copy, Clone)]
5240#[repr(C)]
5241pub struct GProxyAddressClass {
5242    pub parent_class: GInetSocketAddressClass,
5243}
5244
5245impl ::std::fmt::Debug for GProxyAddressClass {
5246    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5247        f.debug_struct(&format!("GProxyAddressClass @ {self:p}"))
5248            .field("parent_class", &self.parent_class)
5249            .finish()
5250    }
5251}
5252
5253#[derive(Copy, Clone)]
5254#[repr(C)]
5255pub struct GProxyAddressEnumeratorClass {
5256    pub parent_class: GSocketAddressEnumeratorClass,
5257    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5258    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5259    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5260    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5261    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5262    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5263    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5264}
5265
5266impl ::std::fmt::Debug for GProxyAddressEnumeratorClass {
5267    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5268        f.debug_struct(&format!("GProxyAddressEnumeratorClass @ {self:p}"))
5269            .field("_g_reserved1", &self._g_reserved1)
5270            .field("_g_reserved2", &self._g_reserved2)
5271            .field("_g_reserved3", &self._g_reserved3)
5272            .field("_g_reserved4", &self._g_reserved4)
5273            .field("_g_reserved5", &self._g_reserved5)
5274            .field("_g_reserved6", &self._g_reserved6)
5275            .field("_g_reserved7", &self._g_reserved7)
5276            .finish()
5277    }
5278}
5279
5280#[repr(C)]
5281#[allow(dead_code)]
5282pub struct _GProxyAddressEnumeratorPrivate {
5283    _data: [u8; 0],
5284    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5285}
5286
5287pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate;
5288
5289#[repr(C)]
5290#[allow(dead_code)]
5291pub struct _GProxyAddressPrivate {
5292    _data: [u8; 0],
5293    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5294}
5295
5296pub type GProxyAddressPrivate = _GProxyAddressPrivate;
5297
5298#[derive(Copy, Clone)]
5299#[repr(C)]
5300pub struct GProxyInterface {
5301    pub g_iface: gobject::GTypeInterface,
5302    pub connect: Option<
5303        unsafe extern "C" fn(
5304            *mut GProxy,
5305            *mut GIOStream,
5306            *mut GProxyAddress,
5307            *mut GCancellable,
5308            *mut *mut glib::GError,
5309        ) -> *mut GIOStream,
5310    >,
5311    pub connect_async: Option<
5312        unsafe extern "C" fn(
5313            *mut GProxy,
5314            *mut GIOStream,
5315            *mut GProxyAddress,
5316            *mut GCancellable,
5317            GAsyncReadyCallback,
5318            gpointer,
5319        ),
5320    >,
5321    pub connect_finish: Option<
5322        unsafe extern "C" fn(
5323            *mut GProxy,
5324            *mut GAsyncResult,
5325            *mut *mut glib::GError,
5326        ) -> *mut GIOStream,
5327    >,
5328    pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>,
5329}
5330
5331impl ::std::fmt::Debug for GProxyInterface {
5332    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5333        f.debug_struct(&format!("GProxyInterface @ {self:p}"))
5334            .field("g_iface", &self.g_iface)
5335            .field("connect", &self.connect)
5336            .field("connect_async", &self.connect_async)
5337            .field("connect_finish", &self.connect_finish)
5338            .field("supports_hostname", &self.supports_hostname)
5339            .finish()
5340    }
5341}
5342
5343#[derive(Copy, Clone)]
5344#[repr(C)]
5345pub struct GProxyResolverInterface {
5346    pub g_iface: gobject::GTypeInterface,
5347    pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>,
5348    pub lookup: Option<
5349        unsafe extern "C" fn(
5350            *mut GProxyResolver,
5351            *const c_char,
5352            *mut GCancellable,
5353            *mut *mut glib::GError,
5354        ) -> *mut *mut c_char,
5355    >,
5356    pub lookup_async: Option<
5357        unsafe extern "C" fn(
5358            *mut GProxyResolver,
5359            *const c_char,
5360            *mut GCancellable,
5361            GAsyncReadyCallback,
5362            gpointer,
5363        ),
5364    >,
5365    pub lookup_finish: Option<
5366        unsafe extern "C" fn(
5367            *mut GProxyResolver,
5368            *mut GAsyncResult,
5369            *mut *mut glib::GError,
5370        ) -> *mut *mut c_char,
5371    >,
5372}
5373
5374impl ::std::fmt::Debug for GProxyResolverInterface {
5375    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5376        f.debug_struct(&format!("GProxyResolverInterface @ {self:p}"))
5377            .field("g_iface", &self.g_iface)
5378            .field("is_supported", &self.is_supported)
5379            .field("lookup", &self.lookup)
5380            .field("lookup_async", &self.lookup_async)
5381            .field("lookup_finish", &self.lookup_finish)
5382            .finish()
5383    }
5384}
5385
5386#[derive(Copy, Clone)]
5387#[repr(C)]
5388pub struct GRemoteActionGroupInterface {
5389    pub g_iface: gobject::GTypeInterface,
5390    pub activate_action_full: Option<
5391        unsafe extern "C" fn(
5392            *mut GRemoteActionGroup,
5393            *const c_char,
5394            *mut glib::GVariant,
5395            *mut glib::GVariant,
5396        ),
5397    >,
5398    pub change_action_state_full: Option<
5399        unsafe extern "C" fn(
5400            *mut GRemoteActionGroup,
5401            *const c_char,
5402            *mut glib::GVariant,
5403            *mut glib::GVariant,
5404        ),
5405    >,
5406}
5407
5408impl ::std::fmt::Debug for GRemoteActionGroupInterface {
5409    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5410        f.debug_struct(&format!("GRemoteActionGroupInterface @ {self:p}"))
5411            .field("g_iface", &self.g_iface)
5412            .field("activate_action_full", &self.activate_action_full)
5413            .field("change_action_state_full", &self.change_action_state_full)
5414            .finish()
5415    }
5416}
5417
5418#[derive(Copy, Clone)]
5419#[repr(C)]
5420pub struct GResolverClass {
5421    pub parent_class: gobject::GObjectClass,
5422    pub reload: Option<unsafe extern "C" fn(*mut GResolver)>,
5423    pub lookup_by_name: Option<
5424        unsafe extern "C" fn(
5425            *mut GResolver,
5426            *const c_char,
5427            *mut GCancellable,
5428            *mut *mut glib::GError,
5429        ) -> *mut glib::GList,
5430    >,
5431    pub lookup_by_name_async: Option<
5432        unsafe extern "C" fn(
5433            *mut GResolver,
5434            *const c_char,
5435            *mut GCancellable,
5436            GAsyncReadyCallback,
5437            gpointer,
5438        ),
5439    >,
5440    pub lookup_by_name_finish: Option<
5441        unsafe extern "C" fn(
5442            *mut GResolver,
5443            *mut GAsyncResult,
5444            *mut *mut glib::GError,
5445        ) -> *mut glib::GList,
5446    >,
5447    pub lookup_by_address: Option<
5448        unsafe extern "C" fn(
5449            *mut GResolver,
5450            *mut GInetAddress,
5451            *mut GCancellable,
5452            *mut *mut glib::GError,
5453        ) -> *mut c_char,
5454    >,
5455    pub lookup_by_address_async: Option<
5456        unsafe extern "C" fn(
5457            *mut GResolver,
5458            *mut GInetAddress,
5459            *mut GCancellable,
5460            GAsyncReadyCallback,
5461            gpointer,
5462        ),
5463    >,
5464    pub lookup_by_address_finish: Option<
5465        unsafe extern "C" fn(
5466            *mut GResolver,
5467            *mut GAsyncResult,
5468            *mut *mut glib::GError,
5469        ) -> *mut c_char,
5470    >,
5471    pub lookup_service: Option<
5472        unsafe extern "C" fn(
5473            *mut GResolver,
5474            *const c_char,
5475            *mut GCancellable,
5476            *mut *mut glib::GError,
5477        ) -> *mut glib::GList,
5478    >,
5479    pub lookup_service_async: Option<
5480        unsafe extern "C" fn(
5481            *mut GResolver,
5482            *const c_char,
5483            *mut GCancellable,
5484            GAsyncReadyCallback,
5485            gpointer,
5486        ),
5487    >,
5488    pub lookup_service_finish: Option<
5489        unsafe extern "C" fn(
5490            *mut GResolver,
5491            *mut GAsyncResult,
5492            *mut *mut glib::GError,
5493        ) -> *mut glib::GList,
5494    >,
5495    pub lookup_records: Option<
5496        unsafe extern "C" fn(
5497            *mut GResolver,
5498            *const c_char,
5499            GResolverRecordType,
5500            *mut GCancellable,
5501            *mut *mut glib::GError,
5502        ) -> *mut glib::GList,
5503    >,
5504    pub lookup_records_async: Option<
5505        unsafe extern "C" fn(
5506            *mut GResolver,
5507            *const c_char,
5508            GResolverRecordType,
5509            *mut GCancellable,
5510            GAsyncReadyCallback,
5511            gpointer,
5512        ),
5513    >,
5514    pub lookup_records_finish: Option<
5515        unsafe extern "C" fn(
5516            *mut GResolver,
5517            *mut GAsyncResult,
5518            *mut *mut glib::GError,
5519        ) -> *mut glib::GList,
5520    >,
5521    pub lookup_by_name_with_flags_async: Option<
5522        unsafe extern "C" fn(
5523            *mut GResolver,
5524            *const c_char,
5525            GResolverNameLookupFlags,
5526            *mut GCancellable,
5527            GAsyncReadyCallback,
5528            gpointer,
5529        ),
5530    >,
5531    pub lookup_by_name_with_flags_finish: Option<
5532        unsafe extern "C" fn(
5533            *mut GResolver,
5534            *mut GAsyncResult,
5535            *mut *mut glib::GError,
5536        ) -> *mut glib::GList,
5537    >,
5538    pub lookup_by_name_with_flags: Option<
5539        unsafe extern "C" fn(
5540            *mut GResolver,
5541            *const c_char,
5542            GResolverNameLookupFlags,
5543            *mut GCancellable,
5544            *mut *mut glib::GError,
5545        ) -> *mut glib::GList,
5546    >,
5547}
5548
5549impl ::std::fmt::Debug for GResolverClass {
5550    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5551        f.debug_struct(&format!("GResolverClass @ {self:p}"))
5552            .field("parent_class", &self.parent_class)
5553            .field("reload", &self.reload)
5554            .field("lookup_by_name", &self.lookup_by_name)
5555            .field("lookup_by_name_async", &self.lookup_by_name_async)
5556            .field("lookup_by_name_finish", &self.lookup_by_name_finish)
5557            .field("lookup_by_address", &self.lookup_by_address)
5558            .field("lookup_by_address_async", &self.lookup_by_address_async)
5559            .field("lookup_by_address_finish", &self.lookup_by_address_finish)
5560            .field("lookup_service", &self.lookup_service)
5561            .field("lookup_service_async", &self.lookup_service_async)
5562            .field("lookup_service_finish", &self.lookup_service_finish)
5563            .field("lookup_records", &self.lookup_records)
5564            .field("lookup_records_async", &self.lookup_records_async)
5565            .field("lookup_records_finish", &self.lookup_records_finish)
5566            .field(
5567                "lookup_by_name_with_flags_async",
5568                &self.lookup_by_name_with_flags_async,
5569            )
5570            .field(
5571                "lookup_by_name_with_flags_finish",
5572                &self.lookup_by_name_with_flags_finish,
5573            )
5574            .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags)
5575            .finish()
5576    }
5577}
5578
5579#[repr(C)]
5580#[allow(dead_code)]
5581pub struct _GResolverPrivate {
5582    _data: [u8; 0],
5583    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5584}
5585
5586pub type GResolverPrivate = _GResolverPrivate;
5587
5588#[repr(C)]
5589#[allow(dead_code)]
5590pub struct GResource {
5591    _data: [u8; 0],
5592    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5593}
5594
5595impl ::std::fmt::Debug for GResource {
5596    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5597        f.debug_struct(&format!("GResource @ {self:p}")).finish()
5598    }
5599}
5600
5601#[derive(Copy, Clone)]
5602#[repr(C)]
5603pub struct GSeekableIface {
5604    pub g_iface: gobject::GTypeInterface,
5605    pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>,
5606    pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5607    pub seek: Option<
5608        unsafe extern "C" fn(
5609            *mut GSeekable,
5610            i64,
5611            glib::GSeekType,
5612            *mut GCancellable,
5613            *mut *mut glib::GError,
5614        ) -> gboolean,
5615    >,
5616    pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5617    pub truncate_fn: Option<
5618        unsafe extern "C" fn(
5619            *mut GSeekable,
5620            i64,
5621            *mut GCancellable,
5622            *mut *mut glib::GError,
5623        ) -> gboolean,
5624    >,
5625}
5626
5627impl ::std::fmt::Debug for GSeekableIface {
5628    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5629        f.debug_struct(&format!("GSeekableIface @ {self:p}"))
5630            .field("g_iface", &self.g_iface)
5631            .field("tell", &self.tell)
5632            .field("can_seek", &self.can_seek)
5633            .field("seek", &self.seek)
5634            .field("can_truncate", &self.can_truncate)
5635            .field("truncate_fn", &self.truncate_fn)
5636            .finish()
5637    }
5638}
5639
5640#[derive(Copy, Clone)]
5641#[repr(C)]
5642pub struct GSettingsBackendClass {
5643    pub parent_class: gobject::GObjectClass,
5644    pub read: Option<
5645        unsafe extern "C" fn(
5646            *mut GSettingsBackend,
5647            *const c_char,
5648            *const glib::GVariantType,
5649            gboolean,
5650        ) -> *mut glib::GVariant,
5651    >,
5652    pub get_writable:
5653        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>,
5654    pub write: Option<
5655        unsafe extern "C" fn(
5656            *mut GSettingsBackend,
5657            *const c_char,
5658            *mut glib::GVariant,
5659            gpointer,
5660        ) -> gboolean,
5661    >,
5662    pub write_tree:
5663        Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>,
5664    pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>,
5665    pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5666    pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5667    pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>,
5668    pub get_permission:
5669        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>,
5670    pub read_user_value: Option<
5671        unsafe extern "C" fn(
5672            *mut GSettingsBackend,
5673            *const c_char,
5674            *const glib::GVariantType,
5675        ) -> *mut glib::GVariant,
5676    >,
5677    pub padding: [gpointer; 23],
5678}
5679
5680impl ::std::fmt::Debug for GSettingsBackendClass {
5681    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5682        f.debug_struct(&format!("GSettingsBackendClass @ {self:p}"))
5683            .field("parent_class", &self.parent_class)
5684            .field("read", &self.read)
5685            .field("get_writable", &self.get_writable)
5686            .field("write", &self.write)
5687            .field("write_tree", &self.write_tree)
5688            .field("reset", &self.reset)
5689            .field("subscribe", &self.subscribe)
5690            .field("unsubscribe", &self.unsubscribe)
5691            .field("sync", &self.sync)
5692            .field("get_permission", &self.get_permission)
5693            .field("read_user_value", &self.read_user_value)
5694            .finish()
5695    }
5696}
5697
5698#[repr(C)]
5699#[allow(dead_code)]
5700pub struct _GSettingsBackendPrivate {
5701    _data: [u8; 0],
5702    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5703}
5704
5705pub type GSettingsBackendPrivate = _GSettingsBackendPrivate;
5706
5707#[derive(Copy, Clone)]
5708#[repr(C)]
5709pub struct GSettingsClass {
5710    pub parent_class: gobject::GObjectClass,
5711    pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5712    pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5713    pub writable_change_event:
5714        Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>,
5715    pub change_event:
5716        Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>,
5717    pub padding: [gpointer; 20],
5718}
5719
5720impl ::std::fmt::Debug for GSettingsClass {
5721    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5722        f.debug_struct(&format!("GSettingsClass @ {self:p}"))
5723            .field("parent_class", &self.parent_class)
5724            .field("writable_changed", &self.writable_changed)
5725            .field("changed", &self.changed)
5726            .field("writable_change_event", &self.writable_change_event)
5727            .field("change_event", &self.change_event)
5728            .field("padding", &self.padding)
5729            .finish()
5730    }
5731}
5732
5733#[repr(C)]
5734#[allow(dead_code)]
5735pub struct _GSettingsPrivate {
5736    _data: [u8; 0],
5737    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5738}
5739
5740pub type GSettingsPrivate = _GSettingsPrivate;
5741
5742#[repr(C)]
5743#[allow(dead_code)]
5744pub struct GSettingsSchema {
5745    _data: [u8; 0],
5746    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5747}
5748
5749impl ::std::fmt::Debug for GSettingsSchema {
5750    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5751        f.debug_struct(&format!("GSettingsSchema @ {self:p}"))
5752            .finish()
5753    }
5754}
5755
5756#[repr(C)]
5757#[allow(dead_code)]
5758pub struct GSettingsSchemaKey {
5759    _data: [u8; 0],
5760    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5761}
5762
5763impl ::std::fmt::Debug for GSettingsSchemaKey {
5764    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5765        f.debug_struct(&format!("GSettingsSchemaKey @ {self:p}"))
5766            .finish()
5767    }
5768}
5769
5770#[repr(C)]
5771#[allow(dead_code)]
5772pub struct GSettingsSchemaSource {
5773    _data: [u8; 0],
5774    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5775}
5776
5777impl ::std::fmt::Debug for GSettingsSchemaSource {
5778    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5779        f.debug_struct(&format!("GSettingsSchemaSource @ {self:p}"))
5780            .finish()
5781    }
5782}
5783
5784#[derive(Copy, Clone)]
5785#[repr(C)]
5786pub struct GSimpleActionGroupClass {
5787    pub parent_class: gobject::GObjectClass,
5788    pub padding: [gpointer; 12],
5789}
5790
5791impl ::std::fmt::Debug for GSimpleActionGroupClass {
5792    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5793        f.debug_struct(&format!("GSimpleActionGroupClass @ {self:p}"))
5794            .finish()
5795    }
5796}
5797
5798#[repr(C)]
5799#[allow(dead_code)]
5800pub struct _GSimpleActionGroupPrivate {
5801    _data: [u8; 0],
5802    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5803}
5804
5805pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate;
5806
5807#[repr(C)]
5808#[allow(dead_code)]
5809pub struct _GSimpleAsyncResultClass {
5810    _data: [u8; 0],
5811    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5812}
5813
5814pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass;
5815
5816#[derive(Copy, Clone)]
5817#[repr(C)]
5818pub struct GSimpleProxyResolverClass {
5819    pub parent_class: gobject::GObjectClass,
5820    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5821    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5822    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5823    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5824    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5825}
5826
5827impl ::std::fmt::Debug for GSimpleProxyResolverClass {
5828    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5829        f.debug_struct(&format!("GSimpleProxyResolverClass @ {self:p}"))
5830            .field("parent_class", &self.parent_class)
5831            .field("_g_reserved1", &self._g_reserved1)
5832            .field("_g_reserved2", &self._g_reserved2)
5833            .field("_g_reserved3", &self._g_reserved3)
5834            .field("_g_reserved4", &self._g_reserved4)
5835            .field("_g_reserved5", &self._g_reserved5)
5836            .finish()
5837    }
5838}
5839
5840#[repr(C)]
5841#[allow(dead_code)]
5842pub struct _GSimpleProxyResolverPrivate {
5843    _data: [u8; 0],
5844    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5845}
5846
5847pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate;
5848
5849#[derive(Copy, Clone)]
5850#[repr(C)]
5851pub struct GSocketAddressClass {
5852    pub parent_class: gobject::GObjectClass,
5853    pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>,
5854    pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>,
5855    pub to_native: Option<
5856        unsafe extern "C" fn(
5857            *mut GSocketAddress,
5858            gpointer,
5859            size_t,
5860            *mut *mut glib::GError,
5861        ) -> gboolean,
5862    >,
5863}
5864
5865impl ::std::fmt::Debug for GSocketAddressClass {
5866    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5867        f.debug_struct(&format!("GSocketAddressClass @ {self:p}"))
5868            .field("parent_class", &self.parent_class)
5869            .field("get_family", &self.get_family)
5870            .field("get_native_size", &self.get_native_size)
5871            .field("to_native", &self.to_native)
5872            .finish()
5873    }
5874}
5875
5876#[derive(Copy, Clone)]
5877#[repr(C)]
5878pub struct GSocketAddressEnumeratorClass {
5879    pub parent_class: gobject::GObjectClass,
5880    pub next: Option<
5881        unsafe extern "C" fn(
5882            *mut GSocketAddressEnumerator,
5883            *mut GCancellable,
5884            *mut *mut glib::GError,
5885        ) -> *mut GSocketAddress,
5886    >,
5887    pub next_async: Option<
5888        unsafe extern "C" fn(
5889            *mut GSocketAddressEnumerator,
5890            *mut GCancellable,
5891            GAsyncReadyCallback,
5892            gpointer,
5893        ),
5894    >,
5895    pub next_finish: Option<
5896        unsafe extern "C" fn(
5897            *mut GSocketAddressEnumerator,
5898            *mut GAsyncResult,
5899            *mut *mut glib::GError,
5900        ) -> *mut GSocketAddress,
5901    >,
5902}
5903
5904impl ::std::fmt::Debug for GSocketAddressEnumeratorClass {
5905    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5906        f.debug_struct(&format!("GSocketAddressEnumeratorClass @ {self:p}"))
5907            .field("next", &self.next)
5908            .field("next_async", &self.next_async)
5909            .field("next_finish", &self.next_finish)
5910            .finish()
5911    }
5912}
5913
5914#[derive(Copy, Clone)]
5915#[repr(C)]
5916pub struct GSocketClass {
5917    pub parent_class: gobject::GObjectClass,
5918    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5919    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5920    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5921    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5922    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5923    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5924    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5925    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5926    pub _g_reserved9: Option<unsafe extern "C" fn()>,
5927    pub _g_reserved10: Option<unsafe extern "C" fn()>,
5928}
5929
5930impl ::std::fmt::Debug for GSocketClass {
5931    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5932        f.debug_struct(&format!("GSocketClass @ {self:p}"))
5933            .field("parent_class", &self.parent_class)
5934            .field("_g_reserved1", &self._g_reserved1)
5935            .field("_g_reserved2", &self._g_reserved2)
5936            .field("_g_reserved3", &self._g_reserved3)
5937            .field("_g_reserved4", &self._g_reserved4)
5938            .field("_g_reserved5", &self._g_reserved5)
5939            .field("_g_reserved6", &self._g_reserved6)
5940            .field("_g_reserved7", &self._g_reserved7)
5941            .field("_g_reserved8", &self._g_reserved8)
5942            .field("_g_reserved9", &self._g_reserved9)
5943            .field("_g_reserved10", &self._g_reserved10)
5944            .finish()
5945    }
5946}
5947
5948#[derive(Copy, Clone)]
5949#[repr(C)]
5950pub struct GSocketClientClass {
5951    pub parent_class: gobject::GObjectClass,
5952    pub event: Option<
5953        unsafe extern "C" fn(
5954            *mut GSocketClient,
5955            GSocketClientEvent,
5956            *mut GSocketConnectable,
5957            *mut GIOStream,
5958        ),
5959    >,
5960    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5961    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5962    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5963    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5964}
5965
5966impl ::std::fmt::Debug for GSocketClientClass {
5967    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5968        f.debug_struct(&format!("GSocketClientClass @ {self:p}"))
5969            .field("parent_class", &self.parent_class)
5970            .field("event", &self.event)
5971            .field("_g_reserved1", &self._g_reserved1)
5972            .field("_g_reserved2", &self._g_reserved2)
5973            .field("_g_reserved3", &self._g_reserved3)
5974            .field("_g_reserved4", &self._g_reserved4)
5975            .finish()
5976    }
5977}
5978
5979#[repr(C)]
5980#[allow(dead_code)]
5981pub struct _GSocketClientPrivate {
5982    _data: [u8; 0],
5983    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5984}
5985
5986pub type GSocketClientPrivate = _GSocketClientPrivate;
5987
5988#[derive(Copy, Clone)]
5989#[repr(C)]
5990pub struct GSocketConnectableIface {
5991    pub g_iface: gobject::GTypeInterface,
5992    pub enumerate:
5993        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5994    pub proxy_enumerate:
5995        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5996    pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>,
5997}
5998
5999impl ::std::fmt::Debug for GSocketConnectableIface {
6000    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6001        f.debug_struct(&format!("GSocketConnectableIface @ {self:p}"))
6002            .field("g_iface", &self.g_iface)
6003            .field("enumerate", &self.enumerate)
6004            .field("proxy_enumerate", &self.proxy_enumerate)
6005            .field("to_string", &self.to_string)
6006            .finish()
6007    }
6008}
6009
6010#[derive(Copy, Clone)]
6011#[repr(C)]
6012pub struct GSocketConnectionClass {
6013    pub parent_class: GIOStreamClass,
6014    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6015    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6016    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6017    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6018    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6019    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6020}
6021
6022impl ::std::fmt::Debug for GSocketConnectionClass {
6023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6024        f.debug_struct(&format!("GSocketConnectionClass @ {self:p}"))
6025            .field("parent_class", &self.parent_class)
6026            .field("_g_reserved1", &self._g_reserved1)
6027            .field("_g_reserved2", &self._g_reserved2)
6028            .field("_g_reserved3", &self._g_reserved3)
6029            .field("_g_reserved4", &self._g_reserved4)
6030            .field("_g_reserved5", &self._g_reserved5)
6031            .field("_g_reserved6", &self._g_reserved6)
6032            .finish()
6033    }
6034}
6035
6036#[repr(C)]
6037#[allow(dead_code)]
6038pub struct _GSocketConnectionPrivate {
6039    _data: [u8; 0],
6040    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6041}
6042
6043pub type GSocketConnectionPrivate = _GSocketConnectionPrivate;
6044
6045#[derive(Copy, Clone)]
6046#[repr(C)]
6047pub struct GSocketControlMessageClass {
6048    pub parent_class: gobject::GObjectClass,
6049    pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>,
6050    pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6051    pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6052    pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>,
6053    pub deserialize:
6054        Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>,
6055    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6056    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6057    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6058    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6059    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6060}
6061
6062impl ::std::fmt::Debug for GSocketControlMessageClass {
6063    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6064        f.debug_struct(&format!("GSocketControlMessageClass @ {self:p}"))
6065            .field("parent_class", &self.parent_class)
6066            .field("get_size", &self.get_size)
6067            .field("get_level", &self.get_level)
6068            .field("get_type", &self.get_type)
6069            .field("serialize", &self.serialize)
6070            .field("deserialize", &self.deserialize)
6071            .field("_g_reserved1", &self._g_reserved1)
6072            .field("_g_reserved2", &self._g_reserved2)
6073            .field("_g_reserved3", &self._g_reserved3)
6074            .field("_g_reserved4", &self._g_reserved4)
6075            .field("_g_reserved5", &self._g_reserved5)
6076            .finish()
6077    }
6078}
6079
6080#[repr(C)]
6081#[allow(dead_code)]
6082pub struct _GSocketControlMessagePrivate {
6083    _data: [u8; 0],
6084    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6085}
6086
6087pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate;
6088
6089#[derive(Copy, Clone)]
6090#[repr(C)]
6091pub struct GSocketListenerClass {
6092    pub parent_class: gobject::GObjectClass,
6093    pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>,
6094    pub event:
6095        Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>,
6096    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6097    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6098    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6099    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6100    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6101}
6102
6103impl ::std::fmt::Debug for GSocketListenerClass {
6104    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6105        f.debug_struct(&format!("GSocketListenerClass @ {self:p}"))
6106            .field("parent_class", &self.parent_class)
6107            .field("changed", &self.changed)
6108            .field("event", &self.event)
6109            .field("_g_reserved2", &self._g_reserved2)
6110            .field("_g_reserved3", &self._g_reserved3)
6111            .field("_g_reserved4", &self._g_reserved4)
6112            .field("_g_reserved5", &self._g_reserved5)
6113            .field("_g_reserved6", &self._g_reserved6)
6114            .finish()
6115    }
6116}
6117
6118#[repr(C)]
6119#[allow(dead_code)]
6120pub struct _GSocketListenerPrivate {
6121    _data: [u8; 0],
6122    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6123}
6124
6125pub type GSocketListenerPrivate = _GSocketListenerPrivate;
6126
6127#[repr(C)]
6128#[allow(dead_code)]
6129pub struct _GSocketPrivate {
6130    _data: [u8; 0],
6131    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6132}
6133
6134pub type GSocketPrivate = _GSocketPrivate;
6135
6136#[derive(Copy, Clone)]
6137#[repr(C)]
6138pub struct GSocketServiceClass {
6139    pub parent_class: GSocketListenerClass,
6140    pub incoming: Option<
6141        unsafe extern "C" fn(
6142            *mut GSocketService,
6143            *mut GSocketConnection,
6144            *mut gobject::GObject,
6145        ) -> gboolean,
6146    >,
6147    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6148    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6149    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6150    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6151    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6152    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6153}
6154
6155impl ::std::fmt::Debug for GSocketServiceClass {
6156    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6157        f.debug_struct(&format!("GSocketServiceClass @ {self:p}"))
6158            .field("parent_class", &self.parent_class)
6159            .field("incoming", &self.incoming)
6160            .field("_g_reserved1", &self._g_reserved1)
6161            .field("_g_reserved2", &self._g_reserved2)
6162            .field("_g_reserved3", &self._g_reserved3)
6163            .field("_g_reserved4", &self._g_reserved4)
6164            .field("_g_reserved5", &self._g_reserved5)
6165            .field("_g_reserved6", &self._g_reserved6)
6166            .finish()
6167    }
6168}
6169
6170#[repr(C)]
6171#[allow(dead_code)]
6172pub struct _GSocketServicePrivate {
6173    _data: [u8; 0],
6174    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6175}
6176
6177pub type GSocketServicePrivate = _GSocketServicePrivate;
6178
6179#[repr(C)]
6180#[allow(dead_code)]
6181pub struct GSrvTarget {
6182    _data: [u8; 0],
6183    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6184}
6185
6186impl ::std::fmt::Debug for GSrvTarget {
6187    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6188        f.debug_struct(&format!("GSrvTarget @ {self:p}")).finish()
6189    }
6190}
6191
6192#[derive(Copy, Clone)]
6193#[repr(C)]
6194pub struct GStaticResource {
6195    pub data: *const u8,
6196    pub data_len: size_t,
6197    pub resource: *mut GResource,
6198    pub next: *mut GStaticResource,
6199    pub padding: gpointer,
6200}
6201
6202impl ::std::fmt::Debug for GStaticResource {
6203    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6204        f.debug_struct(&format!("GStaticResource @ {self:p}"))
6205            .finish()
6206    }
6207}
6208
6209#[repr(C)]
6210#[allow(dead_code)]
6211pub struct _GTaskClass {
6212    _data: [u8; 0],
6213    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6214}
6215
6216pub type GTaskClass = _GTaskClass;
6217
6218#[derive(Copy, Clone)]
6219#[repr(C)]
6220pub struct GTcpConnectionClass {
6221    pub parent_class: GSocketConnectionClass,
6222}
6223
6224impl ::std::fmt::Debug for GTcpConnectionClass {
6225    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6226        f.debug_struct(&format!("GTcpConnectionClass @ {self:p}"))
6227            .field("parent_class", &self.parent_class)
6228            .finish()
6229    }
6230}
6231
6232#[repr(C)]
6233#[allow(dead_code)]
6234pub struct _GTcpConnectionPrivate {
6235    _data: [u8; 0],
6236    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6237}
6238
6239pub type GTcpConnectionPrivate = _GTcpConnectionPrivate;
6240
6241#[derive(Copy, Clone)]
6242#[repr(C)]
6243pub struct GTcpWrapperConnectionClass {
6244    pub parent_class: GTcpConnectionClass,
6245}
6246
6247impl ::std::fmt::Debug for GTcpWrapperConnectionClass {
6248    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6249        f.debug_struct(&format!("GTcpWrapperConnectionClass @ {self:p}"))
6250            .field("parent_class", &self.parent_class)
6251            .finish()
6252    }
6253}
6254
6255#[repr(C)]
6256#[allow(dead_code)]
6257pub struct _GTcpWrapperConnectionPrivate {
6258    _data: [u8; 0],
6259    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6260}
6261
6262pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate;
6263
6264#[repr(C)]
6265#[allow(dead_code)]
6266pub struct _GThemedIconClass {
6267    _data: [u8; 0],
6268    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6269}
6270
6271pub type GThemedIconClass = _GThemedIconClass;
6272
6273#[derive(Copy, Clone)]
6274#[repr(C)]
6275pub struct GThreadedSocketServiceClass {
6276    pub parent_class: GSocketServiceClass,
6277    pub run: Option<
6278        unsafe extern "C" fn(
6279            *mut GThreadedSocketService,
6280            *mut GSocketConnection,
6281            *mut gobject::GObject,
6282        ) -> gboolean,
6283    >,
6284    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6285    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6286    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6287    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6288    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6289}
6290
6291impl ::std::fmt::Debug for GThreadedSocketServiceClass {
6292    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6293        f.debug_struct(&format!("GThreadedSocketServiceClass @ {self:p}"))
6294            .field("parent_class", &self.parent_class)
6295            .field("run", &self.run)
6296            .field("_g_reserved1", &self._g_reserved1)
6297            .field("_g_reserved2", &self._g_reserved2)
6298            .field("_g_reserved3", &self._g_reserved3)
6299            .field("_g_reserved4", &self._g_reserved4)
6300            .field("_g_reserved5", &self._g_reserved5)
6301            .finish()
6302    }
6303}
6304
6305#[repr(C)]
6306#[allow(dead_code)]
6307pub struct _GThreadedSocketServicePrivate {
6308    _data: [u8; 0],
6309    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6310}
6311
6312pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate;
6313
6314#[derive(Copy, Clone)]
6315#[repr(C)]
6316pub struct GTlsBackendInterface {
6317    pub g_iface: gobject::GTypeInterface,
6318    pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6319    pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>,
6320    pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6321    pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6322    pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>,
6323    pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>,
6324    pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6325    pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6326    pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6327}
6328
6329impl ::std::fmt::Debug for GTlsBackendInterface {
6330    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6331        f.debug_struct(&format!("GTlsBackendInterface @ {self:p}"))
6332            .field("g_iface", &self.g_iface)
6333            .field("supports_tls", &self.supports_tls)
6334            .field("get_certificate_type", &self.get_certificate_type)
6335            .field(
6336                "get_client_connection_type",
6337                &self.get_client_connection_type,
6338            )
6339            .field(
6340                "get_server_connection_type",
6341                &self.get_server_connection_type,
6342            )
6343            .field("get_file_database_type", &self.get_file_database_type)
6344            .field("get_default_database", &self.get_default_database)
6345            .field("supports_dtls", &self.supports_dtls)
6346            .field(
6347                "get_dtls_client_connection_type",
6348                &self.get_dtls_client_connection_type,
6349            )
6350            .field(
6351                "get_dtls_server_connection_type",
6352                &self.get_dtls_server_connection_type,
6353            )
6354            .finish()
6355    }
6356}
6357
6358#[derive(Copy, Clone)]
6359#[repr(C)]
6360pub struct GTlsCertificateClass {
6361    pub parent_class: gobject::GObjectClass,
6362    pub verify: Option<
6363        unsafe extern "C" fn(
6364            *mut GTlsCertificate,
6365            *mut GSocketConnectable,
6366            *mut GTlsCertificate,
6367        ) -> GTlsCertificateFlags,
6368    >,
6369    pub padding: [gpointer; 8],
6370}
6371
6372impl ::std::fmt::Debug for GTlsCertificateClass {
6373    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6374        f.debug_struct(&format!("GTlsCertificateClass @ {self:p}"))
6375            .field("parent_class", &self.parent_class)
6376            .field("verify", &self.verify)
6377            .finish()
6378    }
6379}
6380
6381#[repr(C)]
6382#[allow(dead_code)]
6383pub struct _GTlsCertificatePrivate {
6384    _data: [u8; 0],
6385    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6386}
6387
6388pub type GTlsCertificatePrivate = _GTlsCertificatePrivate;
6389
6390#[derive(Copy, Clone)]
6391#[repr(C)]
6392pub struct GTlsClientConnectionInterface {
6393    pub g_iface: gobject::GTypeInterface,
6394    pub copy_session_state:
6395        Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>,
6396}
6397
6398impl ::std::fmt::Debug for GTlsClientConnectionInterface {
6399    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6400        f.debug_struct(&format!("GTlsClientConnectionInterface @ {self:p}"))
6401            .field("g_iface", &self.g_iface)
6402            .field("copy_session_state", &self.copy_session_state)
6403            .finish()
6404    }
6405}
6406
6407#[derive(Copy, Clone)]
6408#[repr(C)]
6409pub struct GTlsConnectionClass {
6410    pub parent_class: GIOStreamClass,
6411    pub accept_certificate: Option<
6412        unsafe extern "C" fn(
6413            *mut GTlsConnection,
6414            *mut GTlsCertificate,
6415            GTlsCertificateFlags,
6416        ) -> gboolean,
6417    >,
6418    pub handshake: Option<
6419        unsafe extern "C" fn(
6420            *mut GTlsConnection,
6421            *mut GCancellable,
6422            *mut *mut glib::GError,
6423        ) -> gboolean,
6424    >,
6425    pub handshake_async: Option<
6426        unsafe extern "C" fn(
6427            *mut GTlsConnection,
6428            c_int,
6429            *mut GCancellable,
6430            GAsyncReadyCallback,
6431            gpointer,
6432        ),
6433    >,
6434    pub handshake_finish: Option<
6435        unsafe extern "C" fn(
6436            *mut GTlsConnection,
6437            *mut GAsyncResult,
6438            *mut *mut glib::GError,
6439        ) -> gboolean,
6440    >,
6441    pub get_binding_data: Option<
6442        unsafe extern "C" fn(
6443            *mut GTlsConnection,
6444            GTlsChannelBindingType,
6445            *mut glib::GByteArray,
6446            *mut *mut glib::GError,
6447        ) -> gboolean,
6448    >,
6449    pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut GTlsConnection) -> *const c_char>,
6450    pub padding: [gpointer; 6],
6451}
6452
6453impl ::std::fmt::Debug for GTlsConnectionClass {
6454    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6455        f.debug_struct(&format!("GTlsConnectionClass @ {self:p}"))
6456            .field("parent_class", &self.parent_class)
6457            .field("accept_certificate", &self.accept_certificate)
6458            .field("handshake", &self.handshake)
6459            .field("handshake_async", &self.handshake_async)
6460            .field("handshake_finish", &self.handshake_finish)
6461            .field("get_binding_data", &self.get_binding_data)
6462            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
6463            .finish()
6464    }
6465}
6466
6467#[repr(C)]
6468#[allow(dead_code)]
6469pub struct _GTlsConnectionPrivate {
6470    _data: [u8; 0],
6471    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6472}
6473
6474pub type GTlsConnectionPrivate = _GTlsConnectionPrivate;
6475
6476#[derive(Copy, Clone)]
6477#[repr(C)]
6478pub struct GTlsDatabaseClass {
6479    pub parent_class: gobject::GObjectClass,
6480    pub verify_chain: Option<
6481        unsafe extern "C" fn(
6482            *mut GTlsDatabase,
6483            *mut GTlsCertificate,
6484            *const c_char,
6485            *mut GSocketConnectable,
6486            *mut GTlsInteraction,
6487            GTlsDatabaseVerifyFlags,
6488            *mut GCancellable,
6489            *mut *mut glib::GError,
6490        ) -> GTlsCertificateFlags,
6491    >,
6492    pub verify_chain_async: Option<
6493        unsafe extern "C" fn(
6494            *mut GTlsDatabase,
6495            *mut GTlsCertificate,
6496            *const c_char,
6497            *mut GSocketConnectable,
6498            *mut GTlsInteraction,
6499            GTlsDatabaseVerifyFlags,
6500            *mut GCancellable,
6501            GAsyncReadyCallback,
6502            gpointer,
6503        ),
6504    >,
6505    pub verify_chain_finish: Option<
6506        unsafe extern "C" fn(
6507            *mut GTlsDatabase,
6508            *mut GAsyncResult,
6509            *mut *mut glib::GError,
6510        ) -> GTlsCertificateFlags,
6511    >,
6512    pub create_certificate_handle:
6513        Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>,
6514    pub lookup_certificate_for_handle: Option<
6515        unsafe extern "C" fn(
6516            *mut GTlsDatabase,
6517            *const c_char,
6518            *mut GTlsInteraction,
6519            GTlsDatabaseLookupFlags,
6520            *mut GCancellable,
6521            *mut *mut glib::GError,
6522        ) -> *mut GTlsCertificate,
6523    >,
6524    pub lookup_certificate_for_handle_async: Option<
6525        unsafe extern "C" fn(
6526            *mut GTlsDatabase,
6527            *const c_char,
6528            *mut GTlsInteraction,
6529            GTlsDatabaseLookupFlags,
6530            *mut GCancellable,
6531            GAsyncReadyCallback,
6532            gpointer,
6533        ),
6534    >,
6535    pub lookup_certificate_for_handle_finish: Option<
6536        unsafe extern "C" fn(
6537            *mut GTlsDatabase,
6538            *mut GAsyncResult,
6539            *mut *mut glib::GError,
6540        ) -> *mut GTlsCertificate,
6541    >,
6542    pub lookup_certificate_issuer: Option<
6543        unsafe extern "C" fn(
6544            *mut GTlsDatabase,
6545            *mut GTlsCertificate,
6546            *mut GTlsInteraction,
6547            GTlsDatabaseLookupFlags,
6548            *mut GCancellable,
6549            *mut *mut glib::GError,
6550        ) -> *mut GTlsCertificate,
6551    >,
6552    pub lookup_certificate_issuer_async: Option<
6553        unsafe extern "C" fn(
6554            *mut GTlsDatabase,
6555            *mut GTlsCertificate,
6556            *mut GTlsInteraction,
6557            GTlsDatabaseLookupFlags,
6558            *mut GCancellable,
6559            GAsyncReadyCallback,
6560            gpointer,
6561        ),
6562    >,
6563    pub lookup_certificate_issuer_finish: Option<
6564        unsafe extern "C" fn(
6565            *mut GTlsDatabase,
6566            *mut GAsyncResult,
6567            *mut *mut glib::GError,
6568        ) -> *mut GTlsCertificate,
6569    >,
6570    pub lookup_certificates_issued_by: Option<
6571        unsafe extern "C" fn(
6572            *mut GTlsDatabase,
6573            *mut glib::GByteArray,
6574            *mut GTlsInteraction,
6575            GTlsDatabaseLookupFlags,
6576            *mut GCancellable,
6577            *mut *mut glib::GError,
6578        ) -> *mut glib::GList,
6579    >,
6580    pub lookup_certificates_issued_by_async: Option<
6581        unsafe extern "C" fn(
6582            *mut GTlsDatabase,
6583            *mut glib::GByteArray,
6584            *mut GTlsInteraction,
6585            GTlsDatabaseLookupFlags,
6586            *mut GCancellable,
6587            GAsyncReadyCallback,
6588            gpointer,
6589        ),
6590    >,
6591    pub lookup_certificates_issued_by_finish: Option<
6592        unsafe extern "C" fn(
6593            *mut GTlsDatabase,
6594            *mut GAsyncResult,
6595            *mut *mut glib::GError,
6596        ) -> *mut glib::GList,
6597    >,
6598    pub padding: [gpointer; 16],
6599}
6600
6601impl ::std::fmt::Debug for GTlsDatabaseClass {
6602    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6603        f.debug_struct(&format!("GTlsDatabaseClass @ {self:p}"))
6604            .field("parent_class", &self.parent_class)
6605            .field("verify_chain", &self.verify_chain)
6606            .field("verify_chain_async", &self.verify_chain_async)
6607            .field("verify_chain_finish", &self.verify_chain_finish)
6608            .field("create_certificate_handle", &self.create_certificate_handle)
6609            .field(
6610                "lookup_certificate_for_handle",
6611                &self.lookup_certificate_for_handle,
6612            )
6613            .field(
6614                "lookup_certificate_for_handle_async",
6615                &self.lookup_certificate_for_handle_async,
6616            )
6617            .field(
6618                "lookup_certificate_for_handle_finish",
6619                &self.lookup_certificate_for_handle_finish,
6620            )
6621            .field("lookup_certificate_issuer", &self.lookup_certificate_issuer)
6622            .field(
6623                "lookup_certificate_issuer_async",
6624                &self.lookup_certificate_issuer_async,
6625            )
6626            .field(
6627                "lookup_certificate_issuer_finish",
6628                &self.lookup_certificate_issuer_finish,
6629            )
6630            .field(
6631                "lookup_certificates_issued_by",
6632                &self.lookup_certificates_issued_by,
6633            )
6634            .field(
6635                "lookup_certificates_issued_by_async",
6636                &self.lookup_certificates_issued_by_async,
6637            )
6638            .field(
6639                "lookup_certificates_issued_by_finish",
6640                &self.lookup_certificates_issued_by_finish,
6641            )
6642            .finish()
6643    }
6644}
6645
6646#[repr(C)]
6647#[allow(dead_code)]
6648pub struct _GTlsDatabasePrivate {
6649    _data: [u8; 0],
6650    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6651}
6652
6653pub type GTlsDatabasePrivate = _GTlsDatabasePrivate;
6654
6655#[derive(Copy, Clone)]
6656#[repr(C)]
6657pub struct GTlsFileDatabaseInterface {
6658    pub g_iface: gobject::GTypeInterface,
6659    pub padding: [gpointer; 8],
6660}
6661
6662impl ::std::fmt::Debug for GTlsFileDatabaseInterface {
6663    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6664        f.debug_struct(&format!("GTlsFileDatabaseInterface @ {self:p}"))
6665            .field("g_iface", &self.g_iface)
6666            .finish()
6667    }
6668}
6669
6670#[derive(Copy, Clone)]
6671#[repr(C)]
6672pub struct GTlsInteractionClass {
6673    pub parent_class: gobject::GObjectClass,
6674    pub ask_password: Option<
6675        unsafe extern "C" fn(
6676            *mut GTlsInteraction,
6677            *mut GTlsPassword,
6678            *mut GCancellable,
6679            *mut *mut glib::GError,
6680        ) -> GTlsInteractionResult,
6681    >,
6682    pub ask_password_async: Option<
6683        unsafe extern "C" fn(
6684            *mut GTlsInteraction,
6685            *mut GTlsPassword,
6686            *mut GCancellable,
6687            GAsyncReadyCallback,
6688            gpointer,
6689        ),
6690    >,
6691    pub ask_password_finish: Option<
6692        unsafe extern "C" fn(
6693            *mut GTlsInteraction,
6694            *mut GAsyncResult,
6695            *mut *mut glib::GError,
6696        ) -> GTlsInteractionResult,
6697    >,
6698    pub request_certificate: Option<
6699        unsafe extern "C" fn(
6700            *mut GTlsInteraction,
6701            *mut GTlsConnection,
6702            GTlsCertificateRequestFlags,
6703            *mut GCancellable,
6704            *mut *mut glib::GError,
6705        ) -> GTlsInteractionResult,
6706    >,
6707    pub request_certificate_async: Option<
6708        unsafe extern "C" fn(
6709            *mut GTlsInteraction,
6710            *mut GTlsConnection,
6711            GTlsCertificateRequestFlags,
6712            *mut GCancellable,
6713            GAsyncReadyCallback,
6714            gpointer,
6715        ),
6716    >,
6717    pub request_certificate_finish: Option<
6718        unsafe extern "C" fn(
6719            *mut GTlsInteraction,
6720            *mut GAsyncResult,
6721            *mut *mut glib::GError,
6722        ) -> GTlsInteractionResult,
6723    >,
6724    pub padding: [gpointer; 21],
6725}
6726
6727impl ::std::fmt::Debug for GTlsInteractionClass {
6728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6729        f.debug_struct(&format!("GTlsInteractionClass @ {self:p}"))
6730            .field("ask_password", &self.ask_password)
6731            .field("ask_password_async", &self.ask_password_async)
6732            .field("ask_password_finish", &self.ask_password_finish)
6733            .field("request_certificate", &self.request_certificate)
6734            .field("request_certificate_async", &self.request_certificate_async)
6735            .field(
6736                "request_certificate_finish",
6737                &self.request_certificate_finish,
6738            )
6739            .finish()
6740    }
6741}
6742
6743#[repr(C)]
6744#[allow(dead_code)]
6745pub struct _GTlsInteractionPrivate {
6746    _data: [u8; 0],
6747    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6748}
6749
6750pub type GTlsInteractionPrivate = _GTlsInteractionPrivate;
6751
6752#[derive(Copy, Clone)]
6753#[repr(C)]
6754pub struct GTlsPasswordClass {
6755    pub parent_class: gobject::GObjectClass,
6756    pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>,
6757    pub set_value:
6758        Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>,
6759    pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>,
6760    pub padding: [gpointer; 4],
6761}
6762
6763impl ::std::fmt::Debug for GTlsPasswordClass {
6764    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6765        f.debug_struct(&format!("GTlsPasswordClass @ {self:p}"))
6766            .field("parent_class", &self.parent_class)
6767            .field("get_value", &self.get_value)
6768            .field("set_value", &self.set_value)
6769            .field("get_default_warning", &self.get_default_warning)
6770            .finish()
6771    }
6772}
6773
6774#[repr(C)]
6775#[allow(dead_code)]
6776pub struct _GTlsPasswordPrivate {
6777    _data: [u8; 0],
6778    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6779}
6780
6781pub type GTlsPasswordPrivate = _GTlsPasswordPrivate;
6782
6783#[derive(Copy, Clone)]
6784#[repr(C)]
6785pub struct GTlsServerConnectionInterface {
6786    pub g_iface: gobject::GTypeInterface,
6787}
6788
6789impl ::std::fmt::Debug for GTlsServerConnectionInterface {
6790    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6791        f.debug_struct(&format!("GTlsServerConnectionInterface @ {self:p}"))
6792            .field("g_iface", &self.g_iface)
6793            .finish()
6794    }
6795}
6796
6797#[derive(Copy, Clone)]
6798#[repr(C)]
6799pub struct GUnixConnectionClass {
6800    pub parent_class: GSocketConnectionClass,
6801}
6802
6803impl ::std::fmt::Debug for GUnixConnectionClass {
6804    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6805        f.debug_struct(&format!("GUnixConnectionClass @ {self:p}"))
6806            .field("parent_class", &self.parent_class)
6807            .finish()
6808    }
6809}
6810
6811#[repr(C)]
6812#[allow(dead_code)]
6813pub struct _GUnixConnectionPrivate {
6814    _data: [u8; 0],
6815    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6816}
6817
6818pub type GUnixConnectionPrivate = _GUnixConnectionPrivate;
6819
6820#[derive(Copy, Clone)]
6821#[repr(C)]
6822pub struct GUnixCredentialsMessageClass {
6823    pub parent_class: GSocketControlMessageClass,
6824    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6825    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6826}
6827
6828impl ::std::fmt::Debug for GUnixCredentialsMessageClass {
6829    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6830        f.debug_struct(&format!("GUnixCredentialsMessageClass @ {self:p}"))
6831            .field("parent_class", &self.parent_class)
6832            .field("_g_reserved1", &self._g_reserved1)
6833            .field("_g_reserved2", &self._g_reserved2)
6834            .finish()
6835    }
6836}
6837
6838#[repr(C)]
6839#[allow(dead_code)]
6840pub struct _GUnixCredentialsMessagePrivate {
6841    _data: [u8; 0],
6842    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6843}
6844
6845pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate;
6846
6847#[derive(Copy, Clone)]
6848#[repr(C)]
6849pub struct GUnixFDListClass {
6850    pub parent_class: gobject::GObjectClass,
6851    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6852    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6853    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6854    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6855    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6856}
6857
6858impl ::std::fmt::Debug for GUnixFDListClass {
6859    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6860        f.debug_struct(&format!("GUnixFDListClass @ {self:p}"))
6861            .field("parent_class", &self.parent_class)
6862            .field("_g_reserved1", &self._g_reserved1)
6863            .field("_g_reserved2", &self._g_reserved2)
6864            .field("_g_reserved3", &self._g_reserved3)
6865            .field("_g_reserved4", &self._g_reserved4)
6866            .field("_g_reserved5", &self._g_reserved5)
6867            .finish()
6868    }
6869}
6870
6871#[repr(C)]
6872#[allow(dead_code)]
6873pub struct _GUnixFDListPrivate {
6874    _data: [u8; 0],
6875    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6876}
6877
6878pub type GUnixFDListPrivate = _GUnixFDListPrivate;
6879
6880#[derive(Copy, Clone)]
6881#[repr(C)]
6882pub struct GUnixSocketAddressClass {
6883    pub parent_class: GSocketAddressClass,
6884}
6885
6886impl ::std::fmt::Debug for GUnixSocketAddressClass {
6887    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6888        f.debug_struct(&format!("GUnixSocketAddressClass @ {self:p}"))
6889            .field("parent_class", &self.parent_class)
6890            .finish()
6891    }
6892}
6893
6894#[repr(C)]
6895#[allow(dead_code)]
6896pub struct _GUnixSocketAddressPrivate {
6897    _data: [u8; 0],
6898    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6899}
6900
6901pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate;
6902
6903#[derive(Copy, Clone)]
6904#[repr(C)]
6905pub struct GVfsClass {
6906    pub parent_class: gobject::GObjectClass,
6907    pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>,
6908    pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6909    pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6910    pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>,
6911    pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6912    pub local_file_add_info: Option<
6913        unsafe extern "C" fn(
6914            *mut GVfs,
6915            *const c_char,
6916            u64,
6917            *mut GFileAttributeMatcher,
6918            *mut GFileInfo,
6919            *mut GCancellable,
6920            *mut gpointer,
6921            *mut glib::GDestroyNotify,
6922        ),
6923    >,
6924    pub add_writable_namespaces:
6925        Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>,
6926    pub local_file_set_attributes: Option<
6927        unsafe extern "C" fn(
6928            *mut GVfs,
6929            *const c_char,
6930            *mut GFileInfo,
6931            GFileQueryInfoFlags,
6932            *mut GCancellable,
6933            *mut *mut glib::GError,
6934        ) -> gboolean,
6935    >,
6936    pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>,
6937    pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>,
6938    pub deserialize_icon:
6939        Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>,
6940    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6941    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6942    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6943    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6944    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6945    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6946}
6947
6948impl ::std::fmt::Debug for GVfsClass {
6949    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6950        f.debug_struct(&format!("GVfsClass @ {self:p}"))
6951            .field("parent_class", &self.parent_class)
6952            .field("is_active", &self.is_active)
6953            .field("get_file_for_path", &self.get_file_for_path)
6954            .field("get_file_for_uri", &self.get_file_for_uri)
6955            .field("get_supported_uri_schemes", &self.get_supported_uri_schemes)
6956            .field("parse_name", &self.parse_name)
6957            .field("local_file_add_info", &self.local_file_add_info)
6958            .field("add_writable_namespaces", &self.add_writable_namespaces)
6959            .field("local_file_set_attributes", &self.local_file_set_attributes)
6960            .field("local_file_removed", &self.local_file_removed)
6961            .field("local_file_moved", &self.local_file_moved)
6962            .field("deserialize_icon", &self.deserialize_icon)
6963            .field("_g_reserved1", &self._g_reserved1)
6964            .field("_g_reserved2", &self._g_reserved2)
6965            .field("_g_reserved3", &self._g_reserved3)
6966            .field("_g_reserved4", &self._g_reserved4)
6967            .field("_g_reserved5", &self._g_reserved5)
6968            .field("_g_reserved6", &self._g_reserved6)
6969            .finish()
6970    }
6971}
6972
6973#[derive(Copy, Clone)]
6974#[repr(C)]
6975pub struct GVolumeIface {
6976    pub g_iface: gobject::GTypeInterface,
6977    pub changed: Option<unsafe extern "C" fn(*mut GVolume)>,
6978    pub removed: Option<unsafe extern "C" fn(*mut GVolume)>,
6979    pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6980    pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
6981    pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6982    pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>,
6983    pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>,
6984    pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6985    pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6986    pub mount_fn: Option<
6987        unsafe extern "C" fn(
6988            *mut GVolume,
6989            GMountMountFlags,
6990            *mut GMountOperation,
6991            *mut GCancellable,
6992            GAsyncReadyCallback,
6993            gpointer,
6994        ),
6995    >,
6996    pub mount_finish: Option<
6997        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
6998    >,
6999    pub eject: Option<
7000        unsafe extern "C" fn(
7001            *mut GVolume,
7002            GMountUnmountFlags,
7003            *mut GCancellable,
7004            GAsyncReadyCallback,
7005            gpointer,
7006        ),
7007    >,
7008    pub eject_finish: Option<
7009        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7010    >,
7011    pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>,
7012    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>,
7013    pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
7014    pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>,
7015    pub eject_with_operation: Option<
7016        unsafe extern "C" fn(
7017            *mut GVolume,
7018            GMountUnmountFlags,
7019            *mut GMountOperation,
7020            *mut GCancellable,
7021            GAsyncReadyCallback,
7022            gpointer,
7023        ),
7024    >,
7025    pub eject_with_operation_finish: Option<
7026        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7027    >,
7028    pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
7029    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
7030}
7031
7032impl ::std::fmt::Debug for GVolumeIface {
7033    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7034        f.debug_struct(&format!("GVolumeIface @ {self:p}"))
7035            .field("g_iface", &self.g_iface)
7036            .field("changed", &self.changed)
7037            .field("removed", &self.removed)
7038            .field("get_name", &self.get_name)
7039            .field("get_icon", &self.get_icon)
7040            .field("get_uuid", &self.get_uuid)
7041            .field("get_drive", &self.get_drive)
7042            .field("get_mount", &self.get_mount)
7043            .field("can_mount", &self.can_mount)
7044            .field("can_eject", &self.can_eject)
7045            .field("mount_fn", &self.mount_fn)
7046            .field("mount_finish", &self.mount_finish)
7047            .field("eject", &self.eject)
7048            .field("eject_finish", &self.eject_finish)
7049            .field("get_identifier", &self.get_identifier)
7050            .field("enumerate_identifiers", &self.enumerate_identifiers)
7051            .field("should_automount", &self.should_automount)
7052            .field("get_activation_root", &self.get_activation_root)
7053            .field("eject_with_operation", &self.eject_with_operation)
7054            .field(
7055                "eject_with_operation_finish",
7056                &self.eject_with_operation_finish,
7057            )
7058            .field("get_sort_key", &self.get_sort_key)
7059            .field("get_symbolic_icon", &self.get_symbolic_icon)
7060            .finish()
7061    }
7062}
7063
7064#[derive(Copy, Clone)]
7065#[repr(C)]
7066pub struct GVolumeMonitorClass {
7067    pub parent_class: gobject::GObjectClass,
7068    pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7069    pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7070    pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7071    pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7072    pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7073    pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7074    pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7075    pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7076    pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7077    pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7078    pub is_supported: Option<unsafe extern "C" fn() -> gboolean>,
7079    pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7080    pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7081    pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7082    pub get_volume_for_uuid:
7083        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>,
7084    pub get_mount_for_uuid:
7085        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>,
7086    pub adopt_orphan_mount:
7087        Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>,
7088    pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7089    pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7090    pub _g_reserved1: Option<unsafe extern "C" fn()>,
7091    pub _g_reserved2: Option<unsafe extern "C" fn()>,
7092    pub _g_reserved3: Option<unsafe extern "C" fn()>,
7093    pub _g_reserved4: Option<unsafe extern "C" fn()>,
7094    pub _g_reserved5: Option<unsafe extern "C" fn()>,
7095    pub _g_reserved6: Option<unsafe extern "C" fn()>,
7096}
7097
7098impl ::std::fmt::Debug for GVolumeMonitorClass {
7099    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7100        f.debug_struct(&format!("GVolumeMonitorClass @ {self:p}"))
7101            .field("parent_class", &self.parent_class)
7102            .field("volume_added", &self.volume_added)
7103            .field("volume_removed", &self.volume_removed)
7104            .field("volume_changed", &self.volume_changed)
7105            .field("mount_added", &self.mount_added)
7106            .field("mount_removed", &self.mount_removed)
7107            .field("mount_pre_unmount", &self.mount_pre_unmount)
7108            .field("mount_changed", &self.mount_changed)
7109            .field("drive_connected", &self.drive_connected)
7110            .field("drive_disconnected", &self.drive_disconnected)
7111            .field("drive_changed", &self.drive_changed)
7112            .field("is_supported", &self.is_supported)
7113            .field("get_connected_drives", &self.get_connected_drives)
7114            .field("get_volumes", &self.get_volumes)
7115            .field("get_mounts", &self.get_mounts)
7116            .field("get_volume_for_uuid", &self.get_volume_for_uuid)
7117            .field("get_mount_for_uuid", &self.get_mount_for_uuid)
7118            .field("adopt_orphan_mount", &self.adopt_orphan_mount)
7119            .field("drive_eject_button", &self.drive_eject_button)
7120            .field("drive_stop_button", &self.drive_stop_button)
7121            .field("_g_reserved1", &self._g_reserved1)
7122            .field("_g_reserved2", &self._g_reserved2)
7123            .field("_g_reserved3", &self._g_reserved3)
7124            .field("_g_reserved4", &self._g_reserved4)
7125            .field("_g_reserved5", &self._g_reserved5)
7126            .field("_g_reserved6", &self._g_reserved6)
7127            .finish()
7128    }
7129}
7130
7131#[derive(Copy, Clone)]
7132#[repr(C)]
7133pub struct GZlibCompressorClass {
7134    pub parent_class: gobject::GObjectClass,
7135}
7136
7137impl ::std::fmt::Debug for GZlibCompressorClass {
7138    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7139        f.debug_struct(&format!("GZlibCompressorClass @ {self:p}"))
7140            .field("parent_class", &self.parent_class)
7141            .finish()
7142    }
7143}
7144
7145#[derive(Copy, Clone)]
7146#[repr(C)]
7147pub struct GZlibDecompressorClass {
7148    pub parent_class: gobject::GObjectClass,
7149}
7150
7151impl ::std::fmt::Debug for GZlibDecompressorClass {
7152    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7153        f.debug_struct(&format!("GZlibDecompressorClass @ {self:p}"))
7154            .field("parent_class", &self.parent_class)
7155            .finish()
7156    }
7157}
7158
7159// Classes
7160#[repr(C)]
7161#[allow(dead_code)]
7162pub struct GAppInfoMonitor {
7163    _data: [u8; 0],
7164    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7165}
7166
7167impl ::std::fmt::Debug for GAppInfoMonitor {
7168    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7169        f.debug_struct(&format!("GAppInfoMonitor @ {self:p}"))
7170            .finish()
7171    }
7172}
7173
7174#[derive(Copy, Clone)]
7175#[repr(C)]
7176pub struct GAppLaunchContext {
7177    pub parent_instance: gobject::GObject,
7178    pub priv_: *mut GAppLaunchContextPrivate,
7179}
7180
7181impl ::std::fmt::Debug for GAppLaunchContext {
7182    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7183        f.debug_struct(&format!("GAppLaunchContext @ {self:p}"))
7184            .field("parent_instance", &self.parent_instance)
7185            .finish()
7186    }
7187}
7188
7189#[derive(Copy, Clone)]
7190#[repr(C)]
7191pub struct GApplication {
7192    pub parent_instance: gobject::GObject,
7193    pub priv_: *mut GApplicationPrivate,
7194}
7195
7196impl ::std::fmt::Debug for GApplication {
7197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7198        f.debug_struct(&format!("GApplication @ {self:p}")).finish()
7199    }
7200}
7201
7202#[derive(Copy, Clone)]
7203#[repr(C)]
7204pub struct GApplicationCommandLine {
7205    pub parent_instance: gobject::GObject,
7206    pub priv_: *mut GApplicationCommandLinePrivate,
7207}
7208
7209impl ::std::fmt::Debug for GApplicationCommandLine {
7210    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7211        f.debug_struct(&format!("GApplicationCommandLine @ {self:p}"))
7212            .finish()
7213    }
7214}
7215
7216#[derive(Copy, Clone)]
7217#[repr(C)]
7218pub struct GBufferedInputStream {
7219    pub parent_instance: GFilterInputStream,
7220    pub priv_: *mut GBufferedInputStreamPrivate,
7221}
7222
7223impl ::std::fmt::Debug for GBufferedInputStream {
7224    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7225        f.debug_struct(&format!("GBufferedInputStream @ {self:p}"))
7226            .field("parent_instance", &self.parent_instance)
7227            .finish()
7228    }
7229}
7230
7231#[derive(Copy, Clone)]
7232#[repr(C)]
7233pub struct GBufferedOutputStream {
7234    pub parent_instance: GFilterOutputStream,
7235    pub priv_: *mut GBufferedOutputStreamPrivate,
7236}
7237
7238impl ::std::fmt::Debug for GBufferedOutputStream {
7239    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7240        f.debug_struct(&format!("GBufferedOutputStream @ {self:p}"))
7241            .field("parent_instance", &self.parent_instance)
7242            .field("priv_", &self.priv_)
7243            .finish()
7244    }
7245}
7246
7247#[repr(C)]
7248#[allow(dead_code)]
7249pub struct GBytesIcon {
7250    _data: [u8; 0],
7251    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7252}
7253
7254impl ::std::fmt::Debug for GBytesIcon {
7255    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7256        f.debug_struct(&format!("GBytesIcon @ {self:p}")).finish()
7257    }
7258}
7259
7260#[derive(Copy, Clone)]
7261#[repr(C)]
7262pub struct GCancellable {
7263    pub parent_instance: gobject::GObject,
7264    pub priv_: *mut GCancellablePrivate,
7265}
7266
7267impl ::std::fmt::Debug for GCancellable {
7268    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7269        f.debug_struct(&format!("GCancellable @ {self:p}"))
7270            .field("parent_instance", &self.parent_instance)
7271            .finish()
7272    }
7273}
7274
7275#[repr(C)]
7276#[allow(dead_code)]
7277pub struct GCharsetConverter {
7278    _data: [u8; 0],
7279    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7280}
7281
7282impl ::std::fmt::Debug for GCharsetConverter {
7283    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7284        f.debug_struct(&format!("GCharsetConverter @ {self:p}"))
7285            .finish()
7286    }
7287}
7288
7289#[derive(Copy, Clone)]
7290#[repr(C)]
7291pub struct GConverterInputStream {
7292    pub parent_instance: GFilterInputStream,
7293    pub priv_: *mut GConverterInputStreamPrivate,
7294}
7295
7296impl ::std::fmt::Debug for GConverterInputStream {
7297    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7298        f.debug_struct(&format!("GConverterInputStream @ {self:p}"))
7299            .field("parent_instance", &self.parent_instance)
7300            .finish()
7301    }
7302}
7303
7304#[derive(Copy, Clone)]
7305#[repr(C)]
7306pub struct GConverterOutputStream {
7307    pub parent_instance: GFilterOutputStream,
7308    pub priv_: *mut GConverterOutputStreamPrivate,
7309}
7310
7311impl ::std::fmt::Debug for GConverterOutputStream {
7312    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7313        f.debug_struct(&format!("GConverterOutputStream @ {self:p}"))
7314            .field("parent_instance", &self.parent_instance)
7315            .finish()
7316    }
7317}
7318
7319#[repr(C)]
7320#[allow(dead_code)]
7321pub struct GCredentials {
7322    _data: [u8; 0],
7323    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7324}
7325
7326impl ::std::fmt::Debug for GCredentials {
7327    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7328        f.debug_struct(&format!("GCredentials @ {self:p}")).finish()
7329    }
7330}
7331
7332#[repr(C)]
7333#[allow(dead_code)]
7334pub struct GDBusActionGroup {
7335    _data: [u8; 0],
7336    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7337}
7338
7339impl ::std::fmt::Debug for GDBusActionGroup {
7340    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7341        f.debug_struct(&format!("GDBusActionGroup @ {self:p}"))
7342            .finish()
7343    }
7344}
7345
7346#[repr(C)]
7347#[allow(dead_code)]
7348pub struct GDBusAuthObserver {
7349    _data: [u8; 0],
7350    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7351}
7352
7353impl ::std::fmt::Debug for GDBusAuthObserver {
7354    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7355        f.debug_struct(&format!("GDBusAuthObserver @ {self:p}"))
7356            .finish()
7357    }
7358}
7359
7360#[repr(C)]
7361#[allow(dead_code)]
7362pub struct GDBusConnection {
7363    _data: [u8; 0],
7364    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7365}
7366
7367impl ::std::fmt::Debug for GDBusConnection {
7368    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7369        f.debug_struct(&format!("GDBusConnection @ {self:p}"))
7370            .finish()
7371    }
7372}
7373
7374#[derive(Copy, Clone)]
7375#[repr(C)]
7376pub struct GDBusInterfaceSkeleton {
7377    pub parent_instance: gobject::GObject,
7378    pub priv_: *mut GDBusInterfaceSkeletonPrivate,
7379}
7380
7381impl ::std::fmt::Debug for GDBusInterfaceSkeleton {
7382    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7383        f.debug_struct(&format!("GDBusInterfaceSkeleton @ {self:p}"))
7384            .finish()
7385    }
7386}
7387
7388#[repr(C)]
7389#[allow(dead_code)]
7390pub struct GDBusMenuModel {
7391    _data: [u8; 0],
7392    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7393}
7394
7395impl ::std::fmt::Debug for GDBusMenuModel {
7396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7397        f.debug_struct(&format!("GDBusMenuModel @ {self:p}"))
7398            .finish()
7399    }
7400}
7401
7402#[repr(C)]
7403#[allow(dead_code)]
7404pub struct GDBusMessage {
7405    _data: [u8; 0],
7406    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7407}
7408
7409impl ::std::fmt::Debug for GDBusMessage {
7410    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7411        f.debug_struct(&format!("GDBusMessage @ {self:p}")).finish()
7412    }
7413}
7414
7415#[repr(C)]
7416#[allow(dead_code)]
7417pub struct GDBusMethodInvocation {
7418    _data: [u8; 0],
7419    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7420}
7421
7422impl ::std::fmt::Debug for GDBusMethodInvocation {
7423    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7424        f.debug_struct(&format!("GDBusMethodInvocation @ {self:p}"))
7425            .finish()
7426    }
7427}
7428
7429#[derive(Copy, Clone)]
7430#[repr(C)]
7431pub struct GDBusObjectManagerClient {
7432    pub parent_instance: gobject::GObject,
7433    pub priv_: *mut GDBusObjectManagerClientPrivate,
7434}
7435
7436impl ::std::fmt::Debug for GDBusObjectManagerClient {
7437    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7438        f.debug_struct(&format!("GDBusObjectManagerClient @ {self:p}"))
7439            .finish()
7440    }
7441}
7442
7443#[derive(Copy, Clone)]
7444#[repr(C)]
7445pub struct GDBusObjectManagerServer {
7446    pub parent_instance: gobject::GObject,
7447    pub priv_: *mut GDBusObjectManagerServerPrivate,
7448}
7449
7450impl ::std::fmt::Debug for GDBusObjectManagerServer {
7451    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7452        f.debug_struct(&format!("GDBusObjectManagerServer @ {self:p}"))
7453            .finish()
7454    }
7455}
7456
7457#[derive(Copy, Clone)]
7458#[repr(C)]
7459pub struct GDBusObjectProxy {
7460    pub parent_instance: gobject::GObject,
7461    pub priv_: *mut GDBusObjectProxyPrivate,
7462}
7463
7464impl ::std::fmt::Debug for GDBusObjectProxy {
7465    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7466        f.debug_struct(&format!("GDBusObjectProxy @ {self:p}"))
7467            .finish()
7468    }
7469}
7470
7471#[derive(Copy, Clone)]
7472#[repr(C)]
7473pub struct GDBusObjectSkeleton {
7474    pub parent_instance: gobject::GObject,
7475    pub priv_: *mut GDBusObjectSkeletonPrivate,
7476}
7477
7478impl ::std::fmt::Debug for GDBusObjectSkeleton {
7479    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7480        f.debug_struct(&format!("GDBusObjectSkeleton @ {self:p}"))
7481            .finish()
7482    }
7483}
7484
7485#[derive(Copy, Clone)]
7486#[repr(C)]
7487pub struct GDBusProxy {
7488    pub parent_instance: gobject::GObject,
7489    pub priv_: *mut GDBusProxyPrivate,
7490}
7491
7492impl ::std::fmt::Debug for GDBusProxy {
7493    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7494        f.debug_struct(&format!("GDBusProxy @ {self:p}")).finish()
7495    }
7496}
7497
7498#[repr(C)]
7499#[allow(dead_code)]
7500pub struct GDBusServer {
7501    _data: [u8; 0],
7502    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7503}
7504
7505impl ::std::fmt::Debug for GDBusServer {
7506    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7507        f.debug_struct(&format!("GDBusServer @ {self:p}")).finish()
7508    }
7509}
7510
7511#[derive(Copy, Clone)]
7512#[repr(C)]
7513pub struct GDataInputStream {
7514    pub parent_instance: GBufferedInputStream,
7515    pub priv_: *mut GDataInputStreamPrivate,
7516}
7517
7518impl ::std::fmt::Debug for GDataInputStream {
7519    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7520        f.debug_struct(&format!("GDataInputStream @ {self:p}"))
7521            .field("parent_instance", &self.parent_instance)
7522            .finish()
7523    }
7524}
7525
7526#[derive(Copy, Clone)]
7527#[repr(C)]
7528pub struct GDataOutputStream {
7529    pub parent_instance: GFilterOutputStream,
7530    pub priv_: *mut GDataOutputStreamPrivate,
7531}
7532
7533impl ::std::fmt::Debug for GDataOutputStream {
7534    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7535        f.debug_struct(&format!("GDataOutputStream @ {self:p}"))
7536            .field("parent_instance", &self.parent_instance)
7537            .finish()
7538    }
7539}
7540
7541#[derive(Copy, Clone)]
7542#[repr(C)]
7543pub struct GDebugControllerDBus {
7544    pub parent_instance: gobject::GObject,
7545}
7546
7547impl ::std::fmt::Debug for GDebugControllerDBus {
7548    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7549        f.debug_struct(&format!("GDebugControllerDBus @ {self:p}"))
7550            .field("parent_instance", &self.parent_instance)
7551            .finish()
7552    }
7553}
7554
7555#[repr(C)]
7556#[allow(dead_code)]
7557pub struct GEmblem {
7558    _data: [u8; 0],
7559    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7560}
7561
7562impl ::std::fmt::Debug for GEmblem {
7563    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7564        f.debug_struct(&format!("GEmblem @ {self:p}")).finish()
7565    }
7566}
7567
7568#[derive(Copy, Clone)]
7569#[repr(C)]
7570pub struct GEmblemedIcon {
7571    pub parent_instance: gobject::GObject,
7572    pub priv_: *mut GEmblemedIconPrivate,
7573}
7574
7575impl ::std::fmt::Debug for GEmblemedIcon {
7576    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7577        f.debug_struct(&format!("GEmblemedIcon @ {self:p}"))
7578            .field("parent_instance", &self.parent_instance)
7579            .finish()
7580    }
7581}
7582
7583#[derive(Copy, Clone)]
7584#[repr(C)]
7585pub struct GFileEnumerator {
7586    pub parent_instance: gobject::GObject,
7587    pub priv_: *mut GFileEnumeratorPrivate,
7588}
7589
7590impl ::std::fmt::Debug for GFileEnumerator {
7591    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7592        f.debug_struct(&format!("GFileEnumerator @ {self:p}"))
7593            .field("parent_instance", &self.parent_instance)
7594            .finish()
7595    }
7596}
7597
7598#[derive(Copy, Clone)]
7599#[repr(C)]
7600pub struct GFileIOStream {
7601    pub parent_instance: GIOStream,
7602    pub priv_: *mut GFileIOStreamPrivate,
7603}
7604
7605impl ::std::fmt::Debug for GFileIOStream {
7606    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7607        f.debug_struct(&format!("GFileIOStream @ {self:p}"))
7608            .field("parent_instance", &self.parent_instance)
7609            .finish()
7610    }
7611}
7612
7613#[repr(C)]
7614#[allow(dead_code)]
7615pub struct GFileIcon {
7616    _data: [u8; 0],
7617    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7618}
7619
7620impl ::std::fmt::Debug for GFileIcon {
7621    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7622        f.debug_struct(&format!("GFileIcon @ {self:p}")).finish()
7623    }
7624}
7625
7626#[repr(C)]
7627#[allow(dead_code)]
7628pub struct GFileInfo {
7629    _data: [u8; 0],
7630    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7631}
7632
7633impl ::std::fmt::Debug for GFileInfo {
7634    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7635        f.debug_struct(&format!("GFileInfo @ {self:p}")).finish()
7636    }
7637}
7638
7639#[derive(Copy, Clone)]
7640#[repr(C)]
7641pub struct GFileInputStream {
7642    pub parent_instance: GInputStream,
7643    pub priv_: *mut GFileInputStreamPrivate,
7644}
7645
7646impl ::std::fmt::Debug for GFileInputStream {
7647    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7648        f.debug_struct(&format!("GFileInputStream @ {self:p}"))
7649            .field("parent_instance", &self.parent_instance)
7650            .finish()
7651    }
7652}
7653
7654#[derive(Copy, Clone)]
7655#[repr(C)]
7656pub struct GFileMonitor {
7657    pub parent_instance: gobject::GObject,
7658    pub priv_: *mut GFileMonitorPrivate,
7659}
7660
7661impl ::std::fmt::Debug for GFileMonitor {
7662    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7663        f.debug_struct(&format!("GFileMonitor @ {self:p}"))
7664            .field("parent_instance", &self.parent_instance)
7665            .finish()
7666    }
7667}
7668
7669#[derive(Copy, Clone)]
7670#[repr(C)]
7671pub struct GFileOutputStream {
7672    pub parent_instance: GOutputStream,
7673    pub priv_: *mut GFileOutputStreamPrivate,
7674}
7675
7676impl ::std::fmt::Debug for GFileOutputStream {
7677    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7678        f.debug_struct(&format!("GFileOutputStream @ {self:p}"))
7679            .field("parent_instance", &self.parent_instance)
7680            .finish()
7681    }
7682}
7683
7684#[repr(C)]
7685#[allow(dead_code)]
7686pub struct GFilenameCompleter {
7687    _data: [u8; 0],
7688    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7689}
7690
7691impl ::std::fmt::Debug for GFilenameCompleter {
7692    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7693        f.debug_struct(&format!("GFilenameCompleter @ {self:p}"))
7694            .finish()
7695    }
7696}
7697
7698#[derive(Copy, Clone)]
7699#[repr(C)]
7700pub struct GFilterInputStream {
7701    pub parent_instance: GInputStream,
7702    pub base_stream: *mut GInputStream,
7703}
7704
7705impl ::std::fmt::Debug for GFilterInputStream {
7706    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7707        f.debug_struct(&format!("GFilterInputStream @ {self:p}"))
7708            .field("parent_instance", &self.parent_instance)
7709            .field("base_stream", &self.base_stream)
7710            .finish()
7711    }
7712}
7713
7714#[derive(Copy, Clone)]
7715#[repr(C)]
7716pub struct GFilterOutputStream {
7717    pub parent_instance: GOutputStream,
7718    pub base_stream: *mut GOutputStream,
7719}
7720
7721impl ::std::fmt::Debug for GFilterOutputStream {
7722    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7723        f.debug_struct(&format!("GFilterOutputStream @ {self:p}"))
7724            .field("parent_instance", &self.parent_instance)
7725            .field("base_stream", &self.base_stream)
7726            .finish()
7727    }
7728}
7729
7730#[repr(C)]
7731#[allow(dead_code)]
7732pub struct GIOModule {
7733    _data: [u8; 0],
7734    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7735}
7736
7737impl ::std::fmt::Debug for GIOModule {
7738    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7739        f.debug_struct(&format!("GIOModule @ {self:p}")).finish()
7740    }
7741}
7742
7743#[derive(Copy, Clone)]
7744#[repr(C)]
7745pub struct GIOStream {
7746    pub parent_instance: gobject::GObject,
7747    pub priv_: *mut GIOStreamPrivate,
7748}
7749
7750impl ::std::fmt::Debug for GIOStream {
7751    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7752        f.debug_struct(&format!("GIOStream @ {self:p}"))
7753            .field("parent_instance", &self.parent_instance)
7754            .finish()
7755    }
7756}
7757
7758#[repr(C)]
7759#[allow(dead_code)]
7760pub struct GIPTosMessage {
7761    _data: [u8; 0],
7762    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7763}
7764
7765impl ::std::fmt::Debug for GIPTosMessage {
7766    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7767        f.debug_struct(&format!("GIPTosMessage @ {self:p}"))
7768            .finish()
7769    }
7770}
7771
7772#[repr(C)]
7773#[allow(dead_code)]
7774pub struct GIPv6TclassMessage {
7775    _data: [u8; 0],
7776    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7777}
7778
7779impl ::std::fmt::Debug for GIPv6TclassMessage {
7780    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7781        f.debug_struct(&format!("GIPv6TclassMessage @ {self:p}"))
7782            .finish()
7783    }
7784}
7785
7786#[derive(Copy, Clone)]
7787#[repr(C)]
7788pub struct GInetAddress {
7789    pub parent_instance: gobject::GObject,
7790    pub priv_: *mut GInetAddressPrivate,
7791}
7792
7793impl ::std::fmt::Debug for GInetAddress {
7794    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7795        f.debug_struct(&format!("GInetAddress @ {self:p}"))
7796            .field("parent_instance", &self.parent_instance)
7797            .finish()
7798    }
7799}
7800
7801#[derive(Copy, Clone)]
7802#[repr(C)]
7803pub struct GInetAddressMask {
7804    pub parent_instance: gobject::GObject,
7805    pub priv_: *mut GInetAddressMaskPrivate,
7806}
7807
7808impl ::std::fmt::Debug for GInetAddressMask {
7809    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7810        f.debug_struct(&format!("GInetAddressMask @ {self:p}"))
7811            .field("parent_instance", &self.parent_instance)
7812            .finish()
7813    }
7814}
7815
7816#[derive(Copy, Clone)]
7817#[repr(C)]
7818pub struct GInetSocketAddress {
7819    pub parent_instance: GSocketAddress,
7820    pub priv_: *mut GInetSocketAddressPrivate,
7821}
7822
7823impl ::std::fmt::Debug for GInetSocketAddress {
7824    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7825        f.debug_struct(&format!("GInetSocketAddress @ {self:p}"))
7826            .field("parent_instance", &self.parent_instance)
7827            .finish()
7828    }
7829}
7830
7831#[derive(Copy, Clone)]
7832#[repr(C)]
7833pub struct GInputStream {
7834    pub parent_instance: gobject::GObject,
7835    pub priv_: *mut GInputStreamPrivate,
7836}
7837
7838impl ::std::fmt::Debug for GInputStream {
7839    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7840        f.debug_struct(&format!("GInputStream @ {self:p}"))
7841            .field("parent_instance", &self.parent_instance)
7842            .finish()
7843    }
7844}
7845
7846#[repr(C)]
7847#[allow(dead_code)]
7848pub struct GListStore {
7849    _data: [u8; 0],
7850    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7851}
7852
7853impl ::std::fmt::Debug for GListStore {
7854    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7855        f.debug_struct(&format!("GListStore @ {self:p}")).finish()
7856    }
7857}
7858
7859#[derive(Copy, Clone)]
7860#[repr(C)]
7861pub struct GMemoryInputStream {
7862    pub parent_instance: GInputStream,
7863    pub priv_: *mut GMemoryInputStreamPrivate,
7864}
7865
7866impl ::std::fmt::Debug for GMemoryInputStream {
7867    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7868        f.debug_struct(&format!("GMemoryInputStream @ {self:p}"))
7869            .field("parent_instance", &self.parent_instance)
7870            .finish()
7871    }
7872}
7873
7874#[derive(Copy, Clone)]
7875#[repr(C)]
7876pub struct GMemoryOutputStream {
7877    pub parent_instance: GOutputStream,
7878    pub priv_: *mut GMemoryOutputStreamPrivate,
7879}
7880
7881impl ::std::fmt::Debug for GMemoryOutputStream {
7882    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7883        f.debug_struct(&format!("GMemoryOutputStream @ {self:p}"))
7884            .field("parent_instance", &self.parent_instance)
7885            .finish()
7886    }
7887}
7888
7889#[repr(C)]
7890#[allow(dead_code)]
7891pub struct GMenu {
7892    _data: [u8; 0],
7893    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7894}
7895
7896impl ::std::fmt::Debug for GMenu {
7897    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7898        f.debug_struct(&format!("GMenu @ {self:p}")).finish()
7899    }
7900}
7901
7902#[derive(Copy, Clone)]
7903#[repr(C)]
7904pub struct GMenuAttributeIter {
7905    pub parent_instance: gobject::GObject,
7906    pub priv_: *mut GMenuAttributeIterPrivate,
7907}
7908
7909impl ::std::fmt::Debug for GMenuAttributeIter {
7910    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7911        f.debug_struct(&format!("GMenuAttributeIter @ {self:p}"))
7912            .field("parent_instance", &self.parent_instance)
7913            .field("priv_", &self.priv_)
7914            .finish()
7915    }
7916}
7917
7918#[repr(C)]
7919#[allow(dead_code)]
7920pub struct GMenuItem {
7921    _data: [u8; 0],
7922    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7923}
7924
7925impl ::std::fmt::Debug for GMenuItem {
7926    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7927        f.debug_struct(&format!("GMenuItem @ {self:p}")).finish()
7928    }
7929}
7930
7931#[derive(Copy, Clone)]
7932#[repr(C)]
7933pub struct GMenuLinkIter {
7934    pub parent_instance: gobject::GObject,
7935    pub priv_: *mut GMenuLinkIterPrivate,
7936}
7937
7938impl ::std::fmt::Debug for GMenuLinkIter {
7939    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7940        f.debug_struct(&format!("GMenuLinkIter @ {self:p}"))
7941            .field("parent_instance", &self.parent_instance)
7942            .field("priv_", &self.priv_)
7943            .finish()
7944    }
7945}
7946
7947#[derive(Copy, Clone)]
7948#[repr(C)]
7949pub struct GMenuModel {
7950    pub parent_instance: gobject::GObject,
7951    pub priv_: *mut GMenuModelPrivate,
7952}
7953
7954impl ::std::fmt::Debug for GMenuModel {
7955    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7956        f.debug_struct(&format!("GMenuModel @ {self:p}"))
7957            .field("parent_instance", &self.parent_instance)
7958            .field("priv_", &self.priv_)
7959            .finish()
7960    }
7961}
7962
7963#[derive(Copy, Clone)]
7964#[repr(C)]
7965pub struct GMountOperation {
7966    pub parent_instance: gobject::GObject,
7967    pub priv_: *mut GMountOperationPrivate,
7968}
7969
7970impl ::std::fmt::Debug for GMountOperation {
7971    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7972        f.debug_struct(&format!("GMountOperation @ {self:p}"))
7973            .field("parent_instance", &self.parent_instance)
7974            .field("priv_", &self.priv_)
7975            .finish()
7976    }
7977}
7978
7979#[derive(Copy, Clone)]
7980#[repr(C)]
7981pub struct GNativeSocketAddress {
7982    pub parent_instance: GSocketAddress,
7983    pub priv_: *mut GNativeSocketAddressPrivate,
7984}
7985
7986impl ::std::fmt::Debug for GNativeSocketAddress {
7987    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7988        f.debug_struct(&format!("GNativeSocketAddress @ {self:p}"))
7989            .field("parent_instance", &self.parent_instance)
7990            .finish()
7991    }
7992}
7993
7994#[derive(Copy, Clone)]
7995#[repr(C)]
7996pub struct GNativeVolumeMonitor {
7997    pub parent_instance: GVolumeMonitor,
7998}
7999
8000impl ::std::fmt::Debug for GNativeVolumeMonitor {
8001    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8002        f.debug_struct(&format!("GNativeVolumeMonitor @ {self:p}"))
8003            .field("parent_instance", &self.parent_instance)
8004            .finish()
8005    }
8006}
8007
8008#[derive(Copy, Clone)]
8009#[repr(C)]
8010pub struct GNetworkAddress {
8011    pub parent_instance: gobject::GObject,
8012    pub priv_: *mut GNetworkAddressPrivate,
8013}
8014
8015impl ::std::fmt::Debug for GNetworkAddress {
8016    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8017        f.debug_struct(&format!("GNetworkAddress @ {self:p}"))
8018            .field("parent_instance", &self.parent_instance)
8019            .finish()
8020    }
8021}
8022
8023#[derive(Copy, Clone)]
8024#[repr(C)]
8025pub struct GNetworkService {
8026    pub parent_instance: gobject::GObject,
8027    pub priv_: *mut GNetworkServicePrivate,
8028}
8029
8030impl ::std::fmt::Debug for GNetworkService {
8031    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8032        f.debug_struct(&format!("GNetworkService @ {self:p}"))
8033            .field("parent_instance", &self.parent_instance)
8034            .finish()
8035    }
8036}
8037
8038#[repr(C)]
8039#[allow(dead_code)]
8040pub struct GNotification {
8041    _data: [u8; 0],
8042    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8043}
8044
8045impl ::std::fmt::Debug for GNotification {
8046    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8047        f.debug_struct(&format!("GNotification @ {self:p}"))
8048            .finish()
8049    }
8050}
8051
8052#[derive(Copy, Clone)]
8053#[repr(C)]
8054pub struct GOutputStream {
8055    pub parent_instance: gobject::GObject,
8056    pub priv_: *mut GOutputStreamPrivate,
8057}
8058
8059impl ::std::fmt::Debug for GOutputStream {
8060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8061        f.debug_struct(&format!("GOutputStream @ {self:p}"))
8062            .field("parent_instance", &self.parent_instance)
8063            .finish()
8064    }
8065}
8066
8067#[derive(Copy, Clone)]
8068#[repr(C)]
8069pub struct GPermission {
8070    pub parent_instance: gobject::GObject,
8071    pub priv_: *mut GPermissionPrivate,
8072}
8073
8074impl ::std::fmt::Debug for GPermission {
8075    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8076        f.debug_struct(&format!("GPermission @ {self:p}"))
8077            .field("parent_instance", &self.parent_instance)
8078            .finish()
8079    }
8080}
8081
8082#[repr(C)]
8083#[allow(dead_code)]
8084pub struct GPropertyAction {
8085    _data: [u8; 0],
8086    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8087}
8088
8089impl ::std::fmt::Debug for GPropertyAction {
8090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8091        f.debug_struct(&format!("GPropertyAction @ {self:p}"))
8092            .finish()
8093    }
8094}
8095
8096#[derive(Copy, Clone)]
8097#[repr(C)]
8098pub struct GProxyAddress {
8099    pub parent_instance: GInetSocketAddress,
8100    pub priv_: *mut GProxyAddressPrivate,
8101}
8102
8103impl ::std::fmt::Debug for GProxyAddress {
8104    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8105        f.debug_struct(&format!("GProxyAddress @ {self:p}"))
8106            .field("parent_instance", &self.parent_instance)
8107            .finish()
8108    }
8109}
8110
8111#[derive(Copy, Clone)]
8112#[repr(C)]
8113pub struct GProxyAddressEnumerator {
8114    pub parent_instance: GSocketAddressEnumerator,
8115    pub priv_: *mut GProxyAddressEnumeratorPrivate,
8116}
8117
8118impl ::std::fmt::Debug for GProxyAddressEnumerator {
8119    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8120        f.debug_struct(&format!("GProxyAddressEnumerator @ {self:p}"))
8121            .finish()
8122    }
8123}
8124
8125#[derive(Copy, Clone)]
8126#[repr(C)]
8127pub struct GResolver {
8128    pub parent_instance: gobject::GObject,
8129    pub priv_: *mut GResolverPrivate,
8130}
8131
8132impl ::std::fmt::Debug for GResolver {
8133    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8134        f.debug_struct(&format!("GResolver @ {self:p}"))
8135            .field("parent_instance", &self.parent_instance)
8136            .field("priv_", &self.priv_)
8137            .finish()
8138    }
8139}
8140
8141#[derive(Copy, Clone)]
8142#[repr(C)]
8143pub struct GSettings {
8144    pub parent_instance: gobject::GObject,
8145    pub priv_: *mut GSettingsPrivate,
8146}
8147
8148impl ::std::fmt::Debug for GSettings {
8149    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8150        f.debug_struct(&format!("GSettings @ {self:p}"))
8151            .field("parent_instance", &self.parent_instance)
8152            .field("priv_", &self.priv_)
8153            .finish()
8154    }
8155}
8156
8157#[derive(Copy, Clone)]
8158#[repr(C)]
8159pub struct GSettingsBackend {
8160    pub parent_instance: gobject::GObject,
8161    pub priv_: *mut GSettingsBackendPrivate,
8162}
8163
8164impl ::std::fmt::Debug for GSettingsBackend {
8165    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8166        f.debug_struct(&format!("GSettingsBackend @ {self:p}"))
8167            .field("parent_instance", &self.parent_instance)
8168            .finish()
8169    }
8170}
8171
8172#[repr(C)]
8173#[allow(dead_code)]
8174pub struct GSimpleAction {
8175    _data: [u8; 0],
8176    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8177}
8178
8179impl ::std::fmt::Debug for GSimpleAction {
8180    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8181        f.debug_struct(&format!("GSimpleAction @ {self:p}"))
8182            .finish()
8183    }
8184}
8185
8186#[derive(Copy, Clone)]
8187#[repr(C)]
8188pub struct GSimpleActionGroup {
8189    pub parent_instance: gobject::GObject,
8190    pub priv_: *mut GSimpleActionGroupPrivate,
8191}
8192
8193impl ::std::fmt::Debug for GSimpleActionGroup {
8194    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8195        f.debug_struct(&format!("GSimpleActionGroup @ {self:p}"))
8196            .finish()
8197    }
8198}
8199
8200#[repr(C)]
8201#[allow(dead_code)]
8202pub struct GSimpleAsyncResult {
8203    _data: [u8; 0],
8204    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8205}
8206
8207impl ::std::fmt::Debug for GSimpleAsyncResult {
8208    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8209        f.debug_struct(&format!("GSimpleAsyncResult @ {self:p}"))
8210            .finish()
8211    }
8212}
8213
8214#[repr(C)]
8215#[allow(dead_code)]
8216pub struct GSimpleIOStream {
8217    _data: [u8; 0],
8218    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8219}
8220
8221impl ::std::fmt::Debug for GSimpleIOStream {
8222    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8223        f.debug_struct(&format!("GSimpleIOStream @ {self:p}"))
8224            .finish()
8225    }
8226}
8227
8228#[repr(C)]
8229#[allow(dead_code)]
8230pub struct GSimplePermission {
8231    _data: [u8; 0],
8232    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8233}
8234
8235impl ::std::fmt::Debug for GSimplePermission {
8236    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8237        f.debug_struct(&format!("GSimplePermission @ {self:p}"))
8238            .finish()
8239    }
8240}
8241
8242#[derive(Copy, Clone)]
8243#[repr(C)]
8244pub struct GSimpleProxyResolver {
8245    pub parent_instance: gobject::GObject,
8246    pub priv_: *mut GSimpleProxyResolverPrivate,
8247}
8248
8249impl ::std::fmt::Debug for GSimpleProxyResolver {
8250    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8251        f.debug_struct(&format!("GSimpleProxyResolver @ {self:p}"))
8252            .field("parent_instance", &self.parent_instance)
8253            .finish()
8254    }
8255}
8256
8257#[derive(Copy, Clone)]
8258#[repr(C)]
8259pub struct GSocket {
8260    pub parent_instance: gobject::GObject,
8261    pub priv_: *mut GSocketPrivate,
8262}
8263
8264impl ::std::fmt::Debug for GSocket {
8265    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8266        f.debug_struct(&format!("GSocket @ {self:p}"))
8267            .field("parent_instance", &self.parent_instance)
8268            .field("priv_", &self.priv_)
8269            .finish()
8270    }
8271}
8272
8273#[derive(Copy, Clone)]
8274#[repr(C)]
8275pub struct GSocketAddress {
8276    pub parent_instance: gobject::GObject,
8277}
8278
8279impl ::std::fmt::Debug for GSocketAddress {
8280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8281        f.debug_struct(&format!("GSocketAddress @ {self:p}"))
8282            .field("parent_instance", &self.parent_instance)
8283            .finish()
8284    }
8285}
8286
8287#[derive(Copy, Clone)]
8288#[repr(C)]
8289pub struct GSocketAddressEnumerator {
8290    pub parent_instance: gobject::GObject,
8291}
8292
8293impl ::std::fmt::Debug for GSocketAddressEnumerator {
8294    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8295        f.debug_struct(&format!("GSocketAddressEnumerator @ {self:p}"))
8296            .finish()
8297    }
8298}
8299
8300#[derive(Copy, Clone)]
8301#[repr(C)]
8302pub struct GSocketClient {
8303    pub parent_instance: gobject::GObject,
8304    pub priv_: *mut GSocketClientPrivate,
8305}
8306
8307impl ::std::fmt::Debug for GSocketClient {
8308    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8309        f.debug_struct(&format!("GSocketClient @ {self:p}"))
8310            .field("parent_instance", &self.parent_instance)
8311            .field("priv_", &self.priv_)
8312            .finish()
8313    }
8314}
8315
8316#[derive(Copy, Clone)]
8317#[repr(C)]
8318pub struct GSocketConnection {
8319    pub parent_instance: GIOStream,
8320    pub priv_: *mut GSocketConnectionPrivate,
8321}
8322
8323impl ::std::fmt::Debug for GSocketConnection {
8324    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8325        f.debug_struct(&format!("GSocketConnection @ {self:p}"))
8326            .field("parent_instance", &self.parent_instance)
8327            .field("priv_", &self.priv_)
8328            .finish()
8329    }
8330}
8331
8332#[derive(Copy, Clone)]
8333#[repr(C)]
8334pub struct GSocketControlMessage {
8335    pub parent_instance: gobject::GObject,
8336    pub priv_: *mut GSocketControlMessagePrivate,
8337}
8338
8339impl ::std::fmt::Debug for GSocketControlMessage {
8340    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8341        f.debug_struct(&format!("GSocketControlMessage @ {self:p}"))
8342            .field("parent_instance", &self.parent_instance)
8343            .field("priv_", &self.priv_)
8344            .finish()
8345    }
8346}
8347
8348#[derive(Copy, Clone)]
8349#[repr(C)]
8350pub struct GSocketListener {
8351    pub parent_instance: gobject::GObject,
8352    pub priv_: *mut GSocketListenerPrivate,
8353}
8354
8355impl ::std::fmt::Debug for GSocketListener {
8356    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8357        f.debug_struct(&format!("GSocketListener @ {self:p}"))
8358            .field("parent_instance", &self.parent_instance)
8359            .field("priv_", &self.priv_)
8360            .finish()
8361    }
8362}
8363
8364#[derive(Copy, Clone)]
8365#[repr(C)]
8366pub struct GSocketService {
8367    pub parent_instance: GSocketListener,
8368    pub priv_: *mut GSocketServicePrivate,
8369}
8370
8371impl ::std::fmt::Debug for GSocketService {
8372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8373        f.debug_struct(&format!("GSocketService @ {self:p}"))
8374            .field("parent_instance", &self.parent_instance)
8375            .field("priv_", &self.priv_)
8376            .finish()
8377    }
8378}
8379
8380#[repr(C)]
8381#[allow(dead_code)]
8382pub struct GSubprocess {
8383    _data: [u8; 0],
8384    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8385}
8386
8387impl ::std::fmt::Debug for GSubprocess {
8388    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8389        f.debug_struct(&format!("GSubprocess @ {self:p}")).finish()
8390    }
8391}
8392
8393#[repr(C)]
8394#[allow(dead_code)]
8395pub struct GSubprocessLauncher {
8396    _data: [u8; 0],
8397    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8398}
8399
8400impl ::std::fmt::Debug for GSubprocessLauncher {
8401    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8402        f.debug_struct(&format!("GSubprocessLauncher @ {self:p}"))
8403            .finish()
8404    }
8405}
8406
8407#[repr(C)]
8408#[allow(dead_code)]
8409pub struct GTask {
8410    _data: [u8; 0],
8411    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8412}
8413
8414impl ::std::fmt::Debug for GTask {
8415    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8416        f.debug_struct(&format!("GTask @ {self:p}")).finish()
8417    }
8418}
8419
8420#[derive(Copy, Clone)]
8421#[repr(C)]
8422pub struct GTcpConnection {
8423    pub parent_instance: GSocketConnection,
8424    pub priv_: *mut GTcpConnectionPrivate,
8425}
8426
8427impl ::std::fmt::Debug for GTcpConnection {
8428    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8429        f.debug_struct(&format!("GTcpConnection @ {self:p}"))
8430            .field("parent_instance", &self.parent_instance)
8431            .field("priv_", &self.priv_)
8432            .finish()
8433    }
8434}
8435
8436#[derive(Copy, Clone)]
8437#[repr(C)]
8438pub struct GTcpWrapperConnection {
8439    pub parent_instance: GTcpConnection,
8440    pub priv_: *mut GTcpWrapperConnectionPrivate,
8441}
8442
8443impl ::std::fmt::Debug for GTcpWrapperConnection {
8444    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8445        f.debug_struct(&format!("GTcpWrapperConnection @ {self:p}"))
8446            .field("parent_instance", &self.parent_instance)
8447            .field("priv_", &self.priv_)
8448            .finish()
8449    }
8450}
8451
8452#[repr(C)]
8453#[allow(dead_code)]
8454pub struct GTestDBus {
8455    _data: [u8; 0],
8456    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8457}
8458
8459impl ::std::fmt::Debug for GTestDBus {
8460    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8461        f.debug_struct(&format!("GTestDBus @ {self:p}")).finish()
8462    }
8463}
8464
8465#[repr(C)]
8466#[allow(dead_code)]
8467pub struct GThemedIcon {
8468    _data: [u8; 0],
8469    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8470}
8471
8472impl ::std::fmt::Debug for GThemedIcon {
8473    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8474        f.debug_struct(&format!("GThemedIcon @ {self:p}")).finish()
8475    }
8476}
8477
8478#[repr(C)]
8479#[allow(dead_code)]
8480pub struct GThreadedResolver {
8481    _data: [u8; 0],
8482    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8483}
8484
8485impl ::std::fmt::Debug for GThreadedResolver {
8486    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8487        f.debug_struct(&format!("GThreadedResolver @ {self:p}"))
8488            .finish()
8489    }
8490}
8491
8492#[derive(Copy, Clone)]
8493#[repr(C)]
8494pub struct GThreadedSocketService {
8495    pub parent_instance: GSocketService,
8496    pub priv_: *mut GThreadedSocketServicePrivate,
8497}
8498
8499impl ::std::fmt::Debug for GThreadedSocketService {
8500    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8501        f.debug_struct(&format!("GThreadedSocketService @ {self:p}"))
8502            .field("parent_instance", &self.parent_instance)
8503            .field("priv_", &self.priv_)
8504            .finish()
8505    }
8506}
8507
8508#[derive(Copy, Clone)]
8509#[repr(C)]
8510pub struct GTlsCertificate {
8511    pub parent_instance: gobject::GObject,
8512    pub priv_: *mut GTlsCertificatePrivate,
8513}
8514
8515impl ::std::fmt::Debug for GTlsCertificate {
8516    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8517        f.debug_struct(&format!("GTlsCertificate @ {self:p}"))
8518            .field("parent_instance", &self.parent_instance)
8519            .field("priv_", &self.priv_)
8520            .finish()
8521    }
8522}
8523
8524#[derive(Copy, Clone)]
8525#[repr(C)]
8526pub struct GTlsConnection {
8527    pub parent_instance: GIOStream,
8528    pub priv_: *mut GTlsConnectionPrivate,
8529}
8530
8531impl ::std::fmt::Debug for GTlsConnection {
8532    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8533        f.debug_struct(&format!("GTlsConnection @ {self:p}"))
8534            .field("parent_instance", &self.parent_instance)
8535            .field("priv_", &self.priv_)
8536            .finish()
8537    }
8538}
8539
8540#[derive(Copy, Clone)]
8541#[repr(C)]
8542pub struct GTlsDatabase {
8543    pub parent_instance: gobject::GObject,
8544    pub priv_: *mut GTlsDatabasePrivate,
8545}
8546
8547impl ::std::fmt::Debug for GTlsDatabase {
8548    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8549        f.debug_struct(&format!("GTlsDatabase @ {self:p}"))
8550            .field("parent_instance", &self.parent_instance)
8551            .field("priv_", &self.priv_)
8552            .finish()
8553    }
8554}
8555
8556#[derive(Copy, Clone)]
8557#[repr(C)]
8558pub struct GTlsInteraction {
8559    pub parent_instance: gobject::GObject,
8560    pub priv_: *mut GTlsInteractionPrivate,
8561}
8562
8563impl ::std::fmt::Debug for GTlsInteraction {
8564    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8565        f.debug_struct(&format!("GTlsInteraction @ {self:p}"))
8566            .finish()
8567    }
8568}
8569
8570#[derive(Copy, Clone)]
8571#[repr(C)]
8572pub struct GTlsPassword {
8573    pub parent_instance: gobject::GObject,
8574    pub priv_: *mut GTlsPasswordPrivate,
8575}
8576
8577impl ::std::fmt::Debug for GTlsPassword {
8578    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8579        f.debug_struct(&format!("GTlsPassword @ {self:p}"))
8580            .field("parent_instance", &self.parent_instance)
8581            .field("priv_", &self.priv_)
8582            .finish()
8583    }
8584}
8585
8586#[derive(Copy, Clone)]
8587#[repr(C)]
8588pub struct GUnixConnection {
8589    pub parent_instance: GSocketConnection,
8590    pub priv_: *mut GUnixConnectionPrivate,
8591}
8592
8593impl ::std::fmt::Debug for GUnixConnection {
8594    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8595        f.debug_struct(&format!("GUnixConnection @ {self:p}"))
8596            .field("parent_instance", &self.parent_instance)
8597            .field("priv_", &self.priv_)
8598            .finish()
8599    }
8600}
8601
8602#[derive(Copy, Clone)]
8603#[repr(C)]
8604pub struct GUnixCredentialsMessage {
8605    pub parent_instance: GSocketControlMessage,
8606    pub priv_: *mut GUnixCredentialsMessagePrivate,
8607}
8608
8609impl ::std::fmt::Debug for GUnixCredentialsMessage {
8610    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8611        f.debug_struct(&format!("GUnixCredentialsMessage @ {self:p}"))
8612            .field("parent_instance", &self.parent_instance)
8613            .field("priv_", &self.priv_)
8614            .finish()
8615    }
8616}
8617
8618#[derive(Copy, Clone)]
8619#[repr(C)]
8620pub struct GUnixFDList {
8621    pub parent_instance: gobject::GObject,
8622    pub priv_: *mut GUnixFDListPrivate,
8623}
8624
8625impl ::std::fmt::Debug for GUnixFDList {
8626    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8627        f.debug_struct(&format!("GUnixFDList @ {self:p}"))
8628            .field("parent_instance", &self.parent_instance)
8629            .field("priv_", &self.priv_)
8630            .finish()
8631    }
8632}
8633
8634#[derive(Copy, Clone)]
8635#[repr(C)]
8636pub struct GUnixSocketAddress {
8637    pub parent_instance: GSocketAddress,
8638    pub priv_: *mut GUnixSocketAddressPrivate,
8639}
8640
8641impl ::std::fmt::Debug for GUnixSocketAddress {
8642    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8643        f.debug_struct(&format!("GUnixSocketAddress @ {self:p}"))
8644            .field("parent_instance", &self.parent_instance)
8645            .finish()
8646    }
8647}
8648
8649#[derive(Copy, Clone)]
8650#[repr(C)]
8651pub struct GVfs {
8652    pub parent_instance: gobject::GObject,
8653}
8654
8655impl ::std::fmt::Debug for GVfs {
8656    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8657        f.debug_struct(&format!("GVfs @ {self:p}"))
8658            .field("parent_instance", &self.parent_instance)
8659            .finish()
8660    }
8661}
8662
8663#[derive(Copy, Clone)]
8664#[repr(C)]
8665pub struct GVolumeMonitor {
8666    pub parent_instance: gobject::GObject,
8667    pub priv_: gpointer,
8668}
8669
8670impl ::std::fmt::Debug for GVolumeMonitor {
8671    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8672        f.debug_struct(&format!("GVolumeMonitor @ {self:p}"))
8673            .field("parent_instance", &self.parent_instance)
8674            .finish()
8675    }
8676}
8677
8678#[repr(C)]
8679#[allow(dead_code)]
8680pub struct GZlibCompressor {
8681    _data: [u8; 0],
8682    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8683}
8684
8685impl ::std::fmt::Debug for GZlibCompressor {
8686    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8687        f.debug_struct(&format!("GZlibCompressor @ {self:p}"))
8688            .finish()
8689    }
8690}
8691
8692#[repr(C)]
8693#[allow(dead_code)]
8694pub struct GZlibDecompressor {
8695    _data: [u8; 0],
8696    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8697}
8698
8699impl ::std::fmt::Debug for GZlibDecompressor {
8700    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8701        f.debug_struct(&format!("GZlibDecompressor @ {self:p}"))
8702            .finish()
8703    }
8704}
8705
8706// Interfaces
8707#[repr(C)]
8708#[allow(dead_code)]
8709pub struct GAction {
8710    _data: [u8; 0],
8711    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8712}
8713
8714impl ::std::fmt::Debug for GAction {
8715    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8716        write!(f, "GAction @ {self:p}")
8717    }
8718}
8719
8720#[repr(C)]
8721#[allow(dead_code)]
8722pub struct GActionGroup {
8723    _data: [u8; 0],
8724    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8725}
8726
8727impl ::std::fmt::Debug for GActionGroup {
8728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8729        write!(f, "GActionGroup @ {self:p}")
8730    }
8731}
8732
8733#[repr(C)]
8734#[allow(dead_code)]
8735pub struct GActionMap {
8736    _data: [u8; 0],
8737    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8738}
8739
8740impl ::std::fmt::Debug for GActionMap {
8741    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8742        write!(f, "GActionMap @ {self:p}")
8743    }
8744}
8745
8746#[repr(C)]
8747#[allow(dead_code)]
8748pub struct GAppInfo {
8749    _data: [u8; 0],
8750    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8751}
8752
8753impl ::std::fmt::Debug for GAppInfo {
8754    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8755        write!(f, "GAppInfo @ {self:p}")
8756    }
8757}
8758
8759#[repr(C)]
8760#[allow(dead_code)]
8761pub struct GAsyncInitable {
8762    _data: [u8; 0],
8763    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8764}
8765
8766impl ::std::fmt::Debug for GAsyncInitable {
8767    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8768        write!(f, "GAsyncInitable @ {self:p}")
8769    }
8770}
8771
8772#[repr(C)]
8773#[allow(dead_code)]
8774pub struct GAsyncResult {
8775    _data: [u8; 0],
8776    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8777}
8778
8779impl ::std::fmt::Debug for GAsyncResult {
8780    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8781        write!(f, "GAsyncResult @ {self:p}")
8782    }
8783}
8784
8785#[repr(C)]
8786#[allow(dead_code)]
8787pub struct GConverter {
8788    _data: [u8; 0],
8789    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8790}
8791
8792impl ::std::fmt::Debug for GConverter {
8793    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8794        write!(f, "GConverter @ {self:p}")
8795    }
8796}
8797
8798#[repr(C)]
8799#[allow(dead_code)]
8800pub struct GDBusInterface {
8801    _data: [u8; 0],
8802    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8803}
8804
8805impl ::std::fmt::Debug for GDBusInterface {
8806    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8807        write!(f, "GDBusInterface @ {self:p}")
8808    }
8809}
8810
8811#[repr(C)]
8812#[allow(dead_code)]
8813pub struct GDBusObject {
8814    _data: [u8; 0],
8815    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8816}
8817
8818impl ::std::fmt::Debug for GDBusObject {
8819    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8820        write!(f, "GDBusObject @ {self:p}")
8821    }
8822}
8823
8824#[repr(C)]
8825#[allow(dead_code)]
8826pub struct GDBusObjectManager {
8827    _data: [u8; 0],
8828    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8829}
8830
8831impl ::std::fmt::Debug for GDBusObjectManager {
8832    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8833        write!(f, "GDBusObjectManager @ {self:p}")
8834    }
8835}
8836
8837#[repr(C)]
8838#[allow(dead_code)]
8839pub struct GDatagramBased {
8840    _data: [u8; 0],
8841    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8842}
8843
8844impl ::std::fmt::Debug for GDatagramBased {
8845    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8846        write!(f, "GDatagramBased @ {self:p}")
8847    }
8848}
8849
8850#[repr(C)]
8851#[allow(dead_code)]
8852pub struct GDebugController {
8853    _data: [u8; 0],
8854    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8855}
8856
8857impl ::std::fmt::Debug for GDebugController {
8858    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8859        write!(f, "GDebugController @ {self:p}")
8860    }
8861}
8862
8863#[repr(C)]
8864#[allow(dead_code)]
8865pub struct GDrive {
8866    _data: [u8; 0],
8867    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8868}
8869
8870impl ::std::fmt::Debug for GDrive {
8871    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8872        write!(f, "GDrive @ {self:p}")
8873    }
8874}
8875
8876#[repr(C)]
8877#[allow(dead_code)]
8878pub struct GDtlsClientConnection {
8879    _data: [u8; 0],
8880    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8881}
8882
8883impl ::std::fmt::Debug for GDtlsClientConnection {
8884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8885        write!(f, "GDtlsClientConnection @ {self:p}")
8886    }
8887}
8888
8889#[repr(C)]
8890#[allow(dead_code)]
8891pub struct GDtlsConnection {
8892    _data: [u8; 0],
8893    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8894}
8895
8896impl ::std::fmt::Debug for GDtlsConnection {
8897    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8898        write!(f, "GDtlsConnection @ {self:p}")
8899    }
8900}
8901
8902#[repr(C)]
8903#[allow(dead_code)]
8904pub struct GDtlsServerConnection {
8905    _data: [u8; 0],
8906    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8907}
8908
8909impl ::std::fmt::Debug for GDtlsServerConnection {
8910    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8911        write!(f, "GDtlsServerConnection @ {self:p}")
8912    }
8913}
8914
8915#[repr(C)]
8916#[allow(dead_code)]
8917pub struct GFile {
8918    _data: [u8; 0],
8919    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8920}
8921
8922impl ::std::fmt::Debug for GFile {
8923    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8924        write!(f, "GFile @ {self:p}")
8925    }
8926}
8927
8928#[repr(C)]
8929#[allow(dead_code)]
8930pub struct GIcon {
8931    _data: [u8; 0],
8932    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8933}
8934
8935impl ::std::fmt::Debug for GIcon {
8936    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8937        write!(f, "GIcon @ {self:p}")
8938    }
8939}
8940
8941#[repr(C)]
8942#[allow(dead_code)]
8943pub struct GInitable {
8944    _data: [u8; 0],
8945    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8946}
8947
8948impl ::std::fmt::Debug for GInitable {
8949    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8950        write!(f, "GInitable @ {self:p}")
8951    }
8952}
8953
8954#[repr(C)]
8955#[allow(dead_code)]
8956pub struct GListModel {
8957    _data: [u8; 0],
8958    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8959}
8960
8961impl ::std::fmt::Debug for GListModel {
8962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8963        write!(f, "GListModel @ {self:p}")
8964    }
8965}
8966
8967#[repr(C)]
8968#[allow(dead_code)]
8969pub struct GLoadableIcon {
8970    _data: [u8; 0],
8971    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8972}
8973
8974impl ::std::fmt::Debug for GLoadableIcon {
8975    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8976        write!(f, "GLoadableIcon @ {self:p}")
8977    }
8978}
8979
8980#[repr(C)]
8981#[allow(dead_code)]
8982pub struct GMemoryMonitor {
8983    _data: [u8; 0],
8984    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8985}
8986
8987impl ::std::fmt::Debug for GMemoryMonitor {
8988    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8989        write!(f, "GMemoryMonitor @ {self:p}")
8990    }
8991}
8992
8993#[repr(C)]
8994#[allow(dead_code)]
8995pub struct GMount {
8996    _data: [u8; 0],
8997    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8998}
8999
9000impl ::std::fmt::Debug for GMount {
9001    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9002        write!(f, "GMount @ {self:p}")
9003    }
9004}
9005
9006#[repr(C)]
9007#[allow(dead_code)]
9008pub struct GNetworkMonitor {
9009    _data: [u8; 0],
9010    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9011}
9012
9013impl ::std::fmt::Debug for GNetworkMonitor {
9014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9015        write!(f, "GNetworkMonitor @ {self:p}")
9016    }
9017}
9018
9019#[repr(C)]
9020#[allow(dead_code)]
9021pub struct GPollableInputStream {
9022    _data: [u8; 0],
9023    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9024}
9025
9026impl ::std::fmt::Debug for GPollableInputStream {
9027    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9028        write!(f, "GPollableInputStream @ {self:p}")
9029    }
9030}
9031
9032#[repr(C)]
9033#[allow(dead_code)]
9034pub struct GPollableOutputStream {
9035    _data: [u8; 0],
9036    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9037}
9038
9039impl ::std::fmt::Debug for GPollableOutputStream {
9040    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9041        write!(f, "GPollableOutputStream @ {self:p}")
9042    }
9043}
9044
9045#[repr(C)]
9046#[allow(dead_code)]
9047pub struct GPowerProfileMonitor {
9048    _data: [u8; 0],
9049    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9050}
9051
9052impl ::std::fmt::Debug for GPowerProfileMonitor {
9053    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9054        write!(f, "GPowerProfileMonitor @ {self:p}")
9055    }
9056}
9057
9058#[repr(C)]
9059#[allow(dead_code)]
9060pub struct GProxy {
9061    _data: [u8; 0],
9062    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9063}
9064
9065impl ::std::fmt::Debug for GProxy {
9066    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9067        write!(f, "GProxy @ {self:p}")
9068    }
9069}
9070
9071#[repr(C)]
9072#[allow(dead_code)]
9073pub struct GProxyResolver {
9074    _data: [u8; 0],
9075    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9076}
9077
9078impl ::std::fmt::Debug for GProxyResolver {
9079    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9080        write!(f, "GProxyResolver @ {self:p}")
9081    }
9082}
9083
9084#[repr(C)]
9085#[allow(dead_code)]
9086pub struct GRemoteActionGroup {
9087    _data: [u8; 0],
9088    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9089}
9090
9091impl ::std::fmt::Debug for GRemoteActionGroup {
9092    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9093        write!(f, "GRemoteActionGroup @ {self:p}")
9094    }
9095}
9096
9097#[repr(C)]
9098#[allow(dead_code)]
9099pub struct GSeekable {
9100    _data: [u8; 0],
9101    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9102}
9103
9104impl ::std::fmt::Debug for GSeekable {
9105    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9106        write!(f, "GSeekable @ {self:p}")
9107    }
9108}
9109
9110#[repr(C)]
9111#[allow(dead_code)]
9112pub struct GSocketConnectable {
9113    _data: [u8; 0],
9114    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9115}
9116
9117impl ::std::fmt::Debug for GSocketConnectable {
9118    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9119        write!(f, "GSocketConnectable @ {self:p}")
9120    }
9121}
9122
9123#[repr(C)]
9124#[allow(dead_code)]
9125pub struct GTlsBackend {
9126    _data: [u8; 0],
9127    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9128}
9129
9130impl ::std::fmt::Debug for GTlsBackend {
9131    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9132        write!(f, "GTlsBackend @ {self:p}")
9133    }
9134}
9135
9136#[repr(C)]
9137#[allow(dead_code)]
9138pub struct GTlsClientConnection {
9139    _data: [u8; 0],
9140    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9141}
9142
9143impl ::std::fmt::Debug for GTlsClientConnection {
9144    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9145        write!(f, "GTlsClientConnection @ {self:p}")
9146    }
9147}
9148
9149#[repr(C)]
9150#[allow(dead_code)]
9151pub struct GTlsFileDatabase {
9152    _data: [u8; 0],
9153    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9154}
9155
9156impl ::std::fmt::Debug for GTlsFileDatabase {
9157    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9158        write!(f, "GTlsFileDatabase @ {self:p}")
9159    }
9160}
9161
9162#[repr(C)]
9163#[allow(dead_code)]
9164pub struct GTlsServerConnection {
9165    _data: [u8; 0],
9166    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9167}
9168
9169impl ::std::fmt::Debug for GTlsServerConnection {
9170    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9171        write!(f, "GTlsServerConnection @ {self:p}")
9172    }
9173}
9174
9175#[repr(C)]
9176#[allow(dead_code)]
9177pub struct GVolume {
9178    _data: [u8; 0],
9179    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9180}
9181
9182impl ::std::fmt::Debug for GVolume {
9183    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9184        write!(f, "GVolume @ {self:p}")
9185    }
9186}
9187
9188unsafe extern "C" {
9189
9190    //=========================================================================
9191    // GBusType
9192    //=========================================================================
9193    pub fn g_bus_type_get_type() -> GType;
9194
9195    //=========================================================================
9196    // GConverterResult
9197    //=========================================================================
9198    pub fn g_converter_result_get_type() -> GType;
9199
9200    //=========================================================================
9201    // GCredentialsType
9202    //=========================================================================
9203    pub fn g_credentials_type_get_type() -> GType;
9204
9205    //=========================================================================
9206    // GDBusError
9207    //=========================================================================
9208    pub fn g_dbus_error_get_type() -> GType;
9209    pub fn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char;
9210    pub fn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char;
9211    pub fn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean;
9212    pub fn g_dbus_error_new_for_dbus_error(
9213        dbus_error_name: *const c_char,
9214        dbus_error_message: *const c_char,
9215    ) -> *mut glib::GError;
9216    pub fn g_dbus_error_quark() -> glib::GQuark;
9217    pub fn g_dbus_error_register_error(
9218        error_domain: glib::GQuark,
9219        error_code: c_int,
9220        dbus_error_name: *const c_char,
9221    ) -> gboolean;
9222    pub fn g_dbus_error_register_error_domain(
9223        error_domain_quark_name: *const c_char,
9224        quark_volatile: *mut size_t,
9225        entries: *const GDBusErrorEntry,
9226        num_entries: c_uint,
9227    );
9228    pub fn g_dbus_error_set_dbus_error(
9229        error: *mut *mut glib::GError,
9230        dbus_error_name: *const c_char,
9231        dbus_error_message: *const c_char,
9232        format: *const c_char,
9233        ...
9234    );
9235    //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);
9236    pub fn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean;
9237    pub fn g_dbus_error_unregister_error(
9238        error_domain: glib::GQuark,
9239        error_code: c_int,
9240        dbus_error_name: *const c_char,
9241    ) -> gboolean;
9242
9243    //=========================================================================
9244    // GDBusMessageByteOrder
9245    //=========================================================================
9246    pub fn g_dbus_message_byte_order_get_type() -> GType;
9247
9248    //=========================================================================
9249    // GDBusMessageHeaderField
9250    //=========================================================================
9251    pub fn g_dbus_message_header_field_get_type() -> GType;
9252
9253    //=========================================================================
9254    // GDBusMessageType
9255    //=========================================================================
9256    pub fn g_dbus_message_type_get_type() -> GType;
9257
9258    //=========================================================================
9259    // GDataStreamByteOrder
9260    //=========================================================================
9261    pub fn g_data_stream_byte_order_get_type() -> GType;
9262
9263    //=========================================================================
9264    // GDataStreamNewlineType
9265    //=========================================================================
9266    pub fn g_data_stream_newline_type_get_type() -> GType;
9267
9268    //=========================================================================
9269    // GDriveStartStopType
9270    //=========================================================================
9271    pub fn g_drive_start_stop_type_get_type() -> GType;
9272
9273    //=========================================================================
9274    // GEcnCodePoint
9275    //=========================================================================
9276    #[cfg(feature = "v2_88")]
9277    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
9278    pub fn g_ecn_code_point_get_type() -> GType;
9279
9280    //=========================================================================
9281    // GEmblemOrigin
9282    //=========================================================================
9283    pub fn g_emblem_origin_get_type() -> GType;
9284
9285    //=========================================================================
9286    // GFileAttributeStatus
9287    //=========================================================================
9288    pub fn g_file_attribute_status_get_type() -> GType;
9289
9290    //=========================================================================
9291    // GFileAttributeType
9292    //=========================================================================
9293    pub fn g_file_attribute_type_get_type() -> GType;
9294
9295    //=========================================================================
9296    // GFileMonitorEvent
9297    //=========================================================================
9298    pub fn g_file_monitor_event_get_type() -> GType;
9299
9300    //=========================================================================
9301    // GFileType
9302    //=========================================================================
9303    pub fn g_file_type_get_type() -> GType;
9304
9305    //=========================================================================
9306    // GFilesystemPreviewType
9307    //=========================================================================
9308    pub fn g_filesystem_preview_type_get_type() -> GType;
9309
9310    //=========================================================================
9311    // GIOErrorEnum
9312    //=========================================================================
9313    pub fn g_io_error_enum_get_type() -> GType;
9314
9315    //=========================================================================
9316    // GMemoryMonitorWarningLevel
9317    //=========================================================================
9318    #[cfg(feature = "v2_64")]
9319    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
9320    pub fn g_memory_monitor_warning_level_get_type() -> GType;
9321
9322    //=========================================================================
9323    // GMountOperationResult
9324    //=========================================================================
9325    pub fn g_mount_operation_result_get_type() -> GType;
9326
9327    //=========================================================================
9328    // GNetworkConnectivity
9329    //=========================================================================
9330    pub fn g_network_connectivity_get_type() -> GType;
9331
9332    //=========================================================================
9333    // GNotificationPriority
9334    //=========================================================================
9335    pub fn g_notification_priority_get_type() -> GType;
9336
9337    //=========================================================================
9338    // GPasswordSave
9339    //=========================================================================
9340    pub fn g_password_save_get_type() -> GType;
9341
9342    //=========================================================================
9343    // GPollableReturn
9344    //=========================================================================
9345    #[cfg(feature = "v2_60")]
9346    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9347    pub fn g_pollable_return_get_type() -> GType;
9348
9349    //=========================================================================
9350    // GResolverError
9351    //=========================================================================
9352    pub fn g_resolver_error_get_type() -> GType;
9353    pub fn g_resolver_error_quark() -> glib::GQuark;
9354
9355    //=========================================================================
9356    // GResolverRecordType
9357    //=========================================================================
9358    pub fn g_resolver_record_type_get_type() -> GType;
9359
9360    //=========================================================================
9361    // GResourceError
9362    //=========================================================================
9363    pub fn g_resource_error_get_type() -> GType;
9364    pub fn g_resource_error_quark() -> glib::GQuark;
9365
9366    //=========================================================================
9367    // GSocketClientEvent
9368    //=========================================================================
9369    pub fn g_socket_client_event_get_type() -> GType;
9370
9371    //=========================================================================
9372    // GSocketFamily
9373    //=========================================================================
9374    pub fn g_socket_family_get_type() -> GType;
9375
9376    //=========================================================================
9377    // GSocketListenerEvent
9378    //=========================================================================
9379    pub fn g_socket_listener_event_get_type() -> GType;
9380
9381    //=========================================================================
9382    // GSocketProtocol
9383    //=========================================================================
9384    pub fn g_socket_protocol_get_type() -> GType;
9385
9386    //=========================================================================
9387    // GSocketType
9388    //=========================================================================
9389    pub fn g_socket_type_get_type() -> GType;
9390
9391    //=========================================================================
9392    // GTlsAuthenticationMode
9393    //=========================================================================
9394    pub fn g_tls_authentication_mode_get_type() -> GType;
9395
9396    //=========================================================================
9397    // GTlsChannelBindingError
9398    //=========================================================================
9399    #[cfg(feature = "v2_66")]
9400    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9401    pub fn g_tls_channel_binding_error_get_type() -> GType;
9402    #[cfg(feature = "v2_66")]
9403    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9404    pub fn g_tls_channel_binding_error_quark() -> glib::GQuark;
9405
9406    //=========================================================================
9407    // GTlsChannelBindingType
9408    //=========================================================================
9409    #[cfg(feature = "v2_66")]
9410    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9411    pub fn g_tls_channel_binding_type_get_type() -> GType;
9412
9413    //=========================================================================
9414    // GTlsError
9415    //=========================================================================
9416    pub fn g_tls_error_get_type() -> GType;
9417    pub fn g_tls_error_quark() -> glib::GQuark;
9418
9419    //=========================================================================
9420    // GTlsInteractionResult
9421    //=========================================================================
9422    pub fn g_tls_interaction_result_get_type() -> GType;
9423
9424    //=========================================================================
9425    // GTlsProtocolVersion
9426    //=========================================================================
9427    #[cfg(feature = "v2_70")]
9428    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
9429    pub fn g_tls_protocol_version_get_type() -> GType;
9430
9431    //=========================================================================
9432    // GTlsRehandshakeMode
9433    //=========================================================================
9434    pub fn g_tls_rehandshake_mode_get_type() -> GType;
9435
9436    //=========================================================================
9437    // GUnixSocketAddressType
9438    //=========================================================================
9439    pub fn g_unix_socket_address_type_get_type() -> GType;
9440
9441    //=========================================================================
9442    // GZlibCompressorFormat
9443    //=========================================================================
9444    pub fn g_zlib_compressor_format_get_type() -> GType;
9445
9446    //=========================================================================
9447    // GAppInfoCreateFlags
9448    //=========================================================================
9449    pub fn g_app_info_create_flags_get_type() -> GType;
9450
9451    //=========================================================================
9452    // GApplicationFlags
9453    //=========================================================================
9454    pub fn g_application_flags_get_type() -> GType;
9455
9456    //=========================================================================
9457    // GAskPasswordFlags
9458    //=========================================================================
9459    pub fn g_ask_password_flags_get_type() -> GType;
9460
9461    //=========================================================================
9462    // GBusNameOwnerFlags
9463    //=========================================================================
9464    pub fn g_bus_name_owner_flags_get_type() -> GType;
9465
9466    //=========================================================================
9467    // GBusNameWatcherFlags
9468    //=========================================================================
9469    pub fn g_bus_name_watcher_flags_get_type() -> GType;
9470
9471    //=========================================================================
9472    // GConverterFlags
9473    //=========================================================================
9474    pub fn g_converter_flags_get_type() -> GType;
9475
9476    //=========================================================================
9477    // GDBusCallFlags
9478    //=========================================================================
9479    pub fn g_dbus_call_flags_get_type() -> GType;
9480
9481    //=========================================================================
9482    // GDBusCapabilityFlags
9483    //=========================================================================
9484    pub fn g_dbus_capability_flags_get_type() -> GType;
9485
9486    //=========================================================================
9487    // GDBusConnectionFlags
9488    //=========================================================================
9489    pub fn g_dbus_connection_flags_get_type() -> GType;
9490
9491    //=========================================================================
9492    // GDBusInterfaceSkeletonFlags
9493    //=========================================================================
9494    pub fn g_dbus_interface_skeleton_flags_get_type() -> GType;
9495
9496    //=========================================================================
9497    // GDBusMessageFlags
9498    //=========================================================================
9499    pub fn g_dbus_message_flags_get_type() -> GType;
9500
9501    //=========================================================================
9502    // GDBusObjectManagerClientFlags
9503    //=========================================================================
9504    pub fn g_dbus_object_manager_client_flags_get_type() -> GType;
9505
9506    //=========================================================================
9507    // GDBusPropertyInfoFlags
9508    //=========================================================================
9509    pub fn g_dbus_property_info_flags_get_type() -> GType;
9510
9511    //=========================================================================
9512    // GDBusProxyFlags
9513    //=========================================================================
9514    pub fn g_dbus_proxy_flags_get_type() -> GType;
9515
9516    //=========================================================================
9517    // GDBusSendMessageFlags
9518    //=========================================================================
9519    pub fn g_dbus_send_message_flags_get_type() -> GType;
9520
9521    //=========================================================================
9522    // GDBusServerFlags
9523    //=========================================================================
9524    pub fn g_dbus_server_flags_get_type() -> GType;
9525
9526    //=========================================================================
9527    // GDBusSignalFlags
9528    //=========================================================================
9529    pub fn g_dbus_signal_flags_get_type() -> GType;
9530
9531    //=========================================================================
9532    // GDBusSubtreeFlags
9533    //=========================================================================
9534    pub fn g_dbus_subtree_flags_get_type() -> GType;
9535
9536    //=========================================================================
9537    // GDriveStartFlags
9538    //=========================================================================
9539    pub fn g_drive_start_flags_get_type() -> GType;
9540
9541    //=========================================================================
9542    // GFileAttributeInfoFlags
9543    //=========================================================================
9544    pub fn g_file_attribute_info_flags_get_type() -> GType;
9545
9546    //=========================================================================
9547    // GFileCopyFlags
9548    //=========================================================================
9549    pub fn g_file_copy_flags_get_type() -> GType;
9550
9551    //=========================================================================
9552    // GFileCreateFlags
9553    //=========================================================================
9554    pub fn g_file_create_flags_get_type() -> GType;
9555
9556    //=========================================================================
9557    // GFileMeasureFlags
9558    //=========================================================================
9559    pub fn g_file_measure_flags_get_type() -> GType;
9560
9561    //=========================================================================
9562    // GFileMonitorFlags
9563    //=========================================================================
9564    pub fn g_file_monitor_flags_get_type() -> GType;
9565
9566    //=========================================================================
9567    // GFileQueryInfoFlags
9568    //=========================================================================
9569    pub fn g_file_query_info_flags_get_type() -> GType;
9570
9571    //=========================================================================
9572    // GIOModuleScopeFlags
9573    //=========================================================================
9574    pub fn g_io_module_scope_flags_get_type() -> GType;
9575
9576    //=========================================================================
9577    // GIOStreamSpliceFlags
9578    //=========================================================================
9579    pub fn g_io_stream_splice_flags_get_type() -> GType;
9580
9581    //=========================================================================
9582    // GMountMountFlags
9583    //=========================================================================
9584    pub fn g_mount_mount_flags_get_type() -> GType;
9585
9586    //=========================================================================
9587    // GMountUnmountFlags
9588    //=========================================================================
9589    pub fn g_mount_unmount_flags_get_type() -> GType;
9590
9591    //=========================================================================
9592    // GOutputStreamSpliceFlags
9593    //=========================================================================
9594    pub fn g_output_stream_splice_flags_get_type() -> GType;
9595
9596    //=========================================================================
9597    // GResolverNameLookupFlags
9598    //=========================================================================
9599    #[cfg(feature = "v2_60")]
9600    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9601    pub fn g_resolver_name_lookup_flags_get_type() -> GType;
9602
9603    //=========================================================================
9604    // GResourceFlags
9605    //=========================================================================
9606    pub fn g_resource_flags_get_type() -> GType;
9607
9608    //=========================================================================
9609    // GResourceLookupFlags
9610    //=========================================================================
9611    pub fn g_resource_lookup_flags_get_type() -> GType;
9612
9613    //=========================================================================
9614    // GSettingsBindFlags
9615    //=========================================================================
9616    pub fn g_settings_bind_flags_get_type() -> GType;
9617
9618    //=========================================================================
9619    // GSocketMsgFlags
9620    //=========================================================================
9621    pub fn g_socket_msg_flags_get_type() -> GType;
9622
9623    //=========================================================================
9624    // GSubprocessFlags
9625    //=========================================================================
9626    pub fn g_subprocess_flags_get_type() -> GType;
9627
9628    //=========================================================================
9629    // GTestDBusFlags
9630    //=========================================================================
9631    pub fn g_test_dbus_flags_get_type() -> GType;
9632
9633    //=========================================================================
9634    // GTlsCertificateFlags
9635    //=========================================================================
9636    pub fn g_tls_certificate_flags_get_type() -> GType;
9637
9638    //=========================================================================
9639    // GTlsCertificateRequestFlags
9640    //=========================================================================
9641    pub fn g_tls_certificate_request_flags_get_type() -> GType;
9642
9643    //=========================================================================
9644    // GTlsDatabaseLookupFlags
9645    //=========================================================================
9646    pub fn g_tls_database_lookup_flags_get_type() -> GType;
9647
9648    //=========================================================================
9649    // GTlsDatabaseVerifyFlags
9650    //=========================================================================
9651    pub fn g_tls_database_verify_flags_get_type() -> GType;
9652
9653    //=========================================================================
9654    // GTlsPasswordFlags
9655    //=========================================================================
9656    pub fn g_tls_password_flags_get_type() -> GType;
9657
9658    //=========================================================================
9659    // GDBusAnnotationInfo
9660    //=========================================================================
9661    pub fn g_dbus_annotation_info_get_type() -> GType;
9662    pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo;
9663    pub fn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo);
9664    pub fn g_dbus_annotation_info_lookup(
9665        annotations: *mut *mut GDBusAnnotationInfo,
9666        name: *const c_char,
9667    ) -> *const c_char;
9668
9669    //=========================================================================
9670    // GDBusArgInfo
9671    //=========================================================================
9672    pub fn g_dbus_arg_info_get_type() -> GType;
9673    pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo;
9674    pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo);
9675
9676    //=========================================================================
9677    // GDBusInterfaceInfo
9678    //=========================================================================
9679    pub fn g_dbus_interface_info_get_type() -> GType;
9680    pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo);
9681    pub fn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo);
9682    pub fn g_dbus_interface_info_generate_xml(
9683        info: *mut GDBusInterfaceInfo,
9684        indent: c_uint,
9685        string_builder: *mut glib::GString,
9686    );
9687    pub fn g_dbus_interface_info_lookup_method(
9688        info: *mut GDBusInterfaceInfo,
9689        name: *const c_char,
9690    ) -> *mut GDBusMethodInfo;
9691    pub fn g_dbus_interface_info_lookup_property(
9692        info: *mut GDBusInterfaceInfo,
9693        name: *const c_char,
9694    ) -> *mut GDBusPropertyInfo;
9695    pub fn g_dbus_interface_info_lookup_signal(
9696        info: *mut GDBusInterfaceInfo,
9697        name: *const c_char,
9698    ) -> *mut GDBusSignalInfo;
9699    pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo;
9700    pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo);
9701
9702    //=========================================================================
9703    // GDBusMethodInfo
9704    //=========================================================================
9705    pub fn g_dbus_method_info_get_type() -> GType;
9706    pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo;
9707    pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo);
9708
9709    //=========================================================================
9710    // GDBusNodeInfo
9711    //=========================================================================
9712    pub fn g_dbus_node_info_get_type() -> GType;
9713    pub fn g_dbus_node_info_new_for_xml(
9714        xml_data: *const c_char,
9715        error: *mut *mut glib::GError,
9716    ) -> *mut GDBusNodeInfo;
9717    pub fn g_dbus_node_info_generate_xml(
9718        info: *mut GDBusNodeInfo,
9719        indent: c_uint,
9720        string_builder: *mut glib::GString,
9721    );
9722    pub fn g_dbus_node_info_lookup_interface(
9723        info: *mut GDBusNodeInfo,
9724        name: *const c_char,
9725    ) -> *mut GDBusInterfaceInfo;
9726    pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo;
9727    pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo);
9728
9729    //=========================================================================
9730    // GDBusPropertyInfo
9731    //=========================================================================
9732    pub fn g_dbus_property_info_get_type() -> GType;
9733    pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo;
9734    pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo);
9735
9736    //=========================================================================
9737    // GDBusSignalInfo
9738    //=========================================================================
9739    pub fn g_dbus_signal_info_get_type() -> GType;
9740    pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo;
9741    pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo);
9742
9743    //=========================================================================
9744    // GFileAttributeInfoList
9745    //=========================================================================
9746    pub fn g_file_attribute_info_list_get_type() -> GType;
9747    pub fn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList;
9748    pub fn g_file_attribute_info_list_add(
9749        list: *mut GFileAttributeInfoList,
9750        name: *const c_char,
9751        type_: GFileAttributeType,
9752        flags: GFileAttributeInfoFlags,
9753    );
9754    pub fn g_file_attribute_info_list_dup(
9755        list: *mut GFileAttributeInfoList,
9756    ) -> *mut GFileAttributeInfoList;
9757    pub fn g_file_attribute_info_list_lookup(
9758        list: *mut GFileAttributeInfoList,
9759        name: *const c_char,
9760    ) -> *const GFileAttributeInfo;
9761    pub fn g_file_attribute_info_list_ref(
9762        list: *mut GFileAttributeInfoList,
9763    ) -> *mut GFileAttributeInfoList;
9764    pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList);
9765
9766    //=========================================================================
9767    // GFileAttributeMatcher
9768    //=========================================================================
9769    pub fn g_file_attribute_matcher_get_type() -> GType;
9770    pub fn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher;
9771    pub fn g_file_attribute_matcher_enumerate_namespace(
9772        matcher: *mut GFileAttributeMatcher,
9773        ns: *const c_char,
9774    ) -> gboolean;
9775    pub fn g_file_attribute_matcher_enumerate_next(
9776        matcher: *mut GFileAttributeMatcher,
9777    ) -> *const c_char;
9778    pub fn g_file_attribute_matcher_matches(
9779        matcher: *mut GFileAttributeMatcher,
9780        attribute: *const c_char,
9781    ) -> gboolean;
9782    pub fn g_file_attribute_matcher_matches_only(
9783        matcher: *mut GFileAttributeMatcher,
9784        attribute: *const c_char,
9785    ) -> gboolean;
9786    pub fn g_file_attribute_matcher_ref(
9787        matcher: *mut GFileAttributeMatcher,
9788    ) -> *mut GFileAttributeMatcher;
9789    pub fn g_file_attribute_matcher_subtract(
9790        matcher: *mut GFileAttributeMatcher,
9791        subtract: *mut GFileAttributeMatcher,
9792    ) -> *mut GFileAttributeMatcher;
9793    pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char;
9794    pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher);
9795
9796    //=========================================================================
9797    // GIOExtension
9798    //=========================================================================
9799    pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char;
9800    pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int;
9801    pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType;
9802    pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass;
9803
9804    //=========================================================================
9805    // GIOExtensionPoint
9806    //=========================================================================
9807    pub fn g_io_extension_point_get_extension_by_name(
9808        extension_point: *mut GIOExtensionPoint,
9809        name: *const c_char,
9810    ) -> *mut GIOExtension;
9811    pub fn g_io_extension_point_get_extensions(
9812        extension_point: *mut GIOExtensionPoint,
9813    ) -> *mut glib::GList;
9814    pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint)
9815    -> GType;
9816    pub fn g_io_extension_point_set_required_type(
9817        extension_point: *mut GIOExtensionPoint,
9818        type_: GType,
9819    );
9820    pub fn g_io_extension_point_implement(
9821        extension_point_name: *const c_char,
9822        type_: GType,
9823        extension_name: *const c_char,
9824        priority: c_int,
9825    ) -> *mut GIOExtension;
9826    pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint;
9827    pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint;
9828
9829    //=========================================================================
9830    // GIOModuleScope
9831    //=========================================================================
9832    pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char);
9833    pub fn g_io_module_scope_free(scope: *mut GIOModuleScope);
9834    pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope;
9835
9836    //=========================================================================
9837    // GIOSchedulerJob
9838    //=========================================================================
9839    pub fn g_io_scheduler_job_send_to_mainloop(
9840        job: *mut GIOSchedulerJob,
9841        func: glib::GSourceFunc,
9842        user_data: gpointer,
9843        notify: glib::GDestroyNotify,
9844    ) -> gboolean;
9845    pub fn g_io_scheduler_job_send_to_mainloop_async(
9846        job: *mut GIOSchedulerJob,
9847        func: glib::GSourceFunc,
9848        user_data: gpointer,
9849        notify: glib::GDestroyNotify,
9850    );
9851
9852    //=========================================================================
9853    // GResource
9854    //=========================================================================
9855    pub fn g_resource_get_type() -> GType;
9856    pub fn g_resource_new_from_data(
9857        data: *mut glib::GBytes,
9858        error: *mut *mut glib::GError,
9859    ) -> *mut GResource;
9860    pub fn g_resource_enumerate_children(
9861        resource: *mut GResource,
9862        path: *const c_char,
9863        lookup_flags: GResourceLookupFlags,
9864        error: *mut *mut glib::GError,
9865    ) -> *mut *mut c_char;
9866    pub fn g_resource_get_info(
9867        resource: *mut GResource,
9868        path: *const c_char,
9869        lookup_flags: GResourceLookupFlags,
9870        size: *mut size_t,
9871        flags: *mut u32,
9872        error: *mut *mut glib::GError,
9873    ) -> gboolean;
9874    #[cfg(feature = "v2_84")]
9875    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
9876    pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean;
9877    pub fn g_resource_lookup_data(
9878        resource: *mut GResource,
9879        path: *const c_char,
9880        lookup_flags: GResourceLookupFlags,
9881        error: *mut *mut glib::GError,
9882    ) -> *mut glib::GBytes;
9883    pub fn g_resource_open_stream(
9884        resource: *mut GResource,
9885        path: *const c_char,
9886        lookup_flags: GResourceLookupFlags,
9887        error: *mut *mut glib::GError,
9888    ) -> *mut GInputStream;
9889    pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource;
9890    pub fn g_resource_unref(resource: *mut GResource);
9891    pub fn g_resource_load(
9892        filename: *const c_char,
9893        error: *mut *mut glib::GError,
9894    ) -> *mut GResource;
9895
9896    //=========================================================================
9897    // GSettingsSchema
9898    //=========================================================================
9899    pub fn g_settings_schema_get_type() -> GType;
9900    pub fn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char;
9901    pub fn g_settings_schema_get_key(
9902        schema: *mut GSettingsSchema,
9903        name: *const c_char,
9904    ) -> *mut GSettingsSchemaKey;
9905    pub fn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char;
9906    pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char)
9907    -> gboolean;
9908    pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9909    pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9910    pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema;
9911    pub fn g_settings_schema_unref(schema: *mut GSettingsSchema);
9912
9913    //=========================================================================
9914    // GSettingsSchemaKey
9915    //=========================================================================
9916    pub fn g_settings_schema_key_get_type() -> GType;
9917    pub fn g_settings_schema_key_get_default_value(
9918        key: *mut GSettingsSchemaKey,
9919    ) -> *mut glib::GVariant;
9920    pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char;
9921    pub fn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char;
9922    pub fn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant;
9923    pub fn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char;
9924    pub fn g_settings_schema_key_get_value_type(
9925        key: *mut GSettingsSchemaKey,
9926    ) -> *const glib::GVariantType;
9927    pub fn g_settings_schema_key_range_check(
9928        key: *mut GSettingsSchemaKey,
9929        value: *mut glib::GVariant,
9930    ) -> gboolean;
9931    pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey;
9932    pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey);
9933
9934    //=========================================================================
9935    // GSettingsSchemaSource
9936    //=========================================================================
9937    pub fn g_settings_schema_source_get_type() -> GType;
9938    pub fn g_settings_schema_source_new_from_directory(
9939        directory: *const c_char,
9940        parent: *mut GSettingsSchemaSource,
9941        trusted: gboolean,
9942        error: *mut *mut glib::GError,
9943    ) -> *mut GSettingsSchemaSource;
9944    pub fn g_settings_schema_source_list_schemas(
9945        source: *mut GSettingsSchemaSource,
9946        recursive: gboolean,
9947        non_relocatable: *mut *mut *mut c_char,
9948        relocatable: *mut *mut *mut c_char,
9949    );
9950    pub fn g_settings_schema_source_lookup(
9951        source: *mut GSettingsSchemaSource,
9952        schema_id: *const c_char,
9953        recursive: gboolean,
9954    ) -> *mut GSettingsSchema;
9955    pub fn g_settings_schema_source_ref(
9956        source: *mut GSettingsSchemaSource,
9957    ) -> *mut GSettingsSchemaSource;
9958    pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource);
9959    pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource;
9960
9961    //=========================================================================
9962    // GSrvTarget
9963    //=========================================================================
9964    pub fn g_srv_target_get_type() -> GType;
9965    pub fn g_srv_target_new(
9966        hostname: *const c_char,
9967        port: u16,
9968        priority: u16,
9969        weight: u16,
9970    ) -> *mut GSrvTarget;
9971    pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget;
9972    pub fn g_srv_target_free(target: *mut GSrvTarget);
9973    pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char;
9974    pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16;
9975    pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16;
9976    pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16;
9977    pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList;
9978
9979    //=========================================================================
9980    // GStaticResource
9981    //=========================================================================
9982    pub fn g_static_resource_fini(static_resource: *mut GStaticResource);
9983    pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource;
9984    pub fn g_static_resource_init(static_resource: *mut GStaticResource);
9985
9986    //=========================================================================
9987    // GAppInfoMonitor
9988    //=========================================================================
9989    pub fn g_app_info_monitor_get_type() -> GType;
9990    pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor;
9991
9992    //=========================================================================
9993    // GAppLaunchContext
9994    //=========================================================================
9995    pub fn g_app_launch_context_get_type() -> GType;
9996    pub fn g_app_launch_context_new() -> *mut GAppLaunchContext;
9997    pub fn g_app_launch_context_get_display(
9998        context: *mut GAppLaunchContext,
9999        info: *mut GAppInfo,
10000        files: *mut glib::GList,
10001    ) -> *mut c_char;
10002    pub fn g_app_launch_context_get_environment(
10003        context: *mut GAppLaunchContext,
10004    ) -> *mut *mut c_char;
10005    pub fn g_app_launch_context_get_startup_notify_id(
10006        context: *mut GAppLaunchContext,
10007        info: *mut GAppInfo,
10008        files: *mut glib::GList,
10009    ) -> *mut c_char;
10010    pub fn g_app_launch_context_launch_failed(
10011        context: *mut GAppLaunchContext,
10012        startup_notify_id: *const c_char,
10013    );
10014    pub fn g_app_launch_context_setenv(
10015        context: *mut GAppLaunchContext,
10016        variable: *const c_char,
10017        value: *const c_char,
10018    );
10019    pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char);
10020
10021    //=========================================================================
10022    // GApplication
10023    //=========================================================================
10024    pub fn g_application_get_type() -> GType;
10025    pub fn g_application_new(
10026        application_id: *const c_char,
10027        flags: GApplicationFlags,
10028    ) -> *mut GApplication;
10029    pub fn g_application_get_default() -> *mut GApplication;
10030    pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean;
10031    pub fn g_application_activate(application: *mut GApplication);
10032    pub fn g_application_add_main_option(
10033        application: *mut GApplication,
10034        long_name: *const c_char,
10035        short_name: c_char,
10036        flags: glib::GOptionFlags,
10037        arg: glib::GOptionArg,
10038        description: *const c_char,
10039        arg_description: *const c_char,
10040    );
10041    pub fn g_application_add_main_option_entries(
10042        application: *mut GApplication,
10043        entries: *const glib::GOptionEntry,
10044    );
10045    pub fn g_application_add_option_group(
10046        application: *mut GApplication,
10047        group: *mut glib::GOptionGroup,
10048    );
10049    pub fn g_application_bind_busy_property(
10050        application: *mut GApplication,
10051        object: *mut gobject::GObject,
10052        property: *const c_char,
10053    );
10054    pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char;
10055    pub fn g_application_get_dbus_connection(
10056        application: *mut GApplication,
10057    ) -> *mut GDBusConnection;
10058    pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char;
10059    pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags;
10060    pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint;
10061    pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean;
10062    pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean;
10063    pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean;
10064    pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char;
10065    #[cfg(feature = "v2_80")]
10066    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10067    pub fn g_application_get_version(application: *mut GApplication) -> *const c_char;
10068    pub fn g_application_hold(application: *mut GApplication);
10069    pub fn g_application_mark_busy(application: *mut GApplication);
10070    pub fn g_application_open(
10071        application: *mut GApplication,
10072        files: *mut *mut GFile,
10073        n_files: c_int,
10074        hint: *const c_char,
10075    );
10076    pub fn g_application_quit(application: *mut GApplication);
10077    pub fn g_application_register(
10078        application: *mut GApplication,
10079        cancellable: *mut GCancellable,
10080        error: *mut *mut glib::GError,
10081    ) -> gboolean;
10082    pub fn g_application_release(application: *mut GApplication);
10083    pub fn g_application_run(
10084        application: *mut GApplication,
10085        argc: c_int,
10086        argv: *mut *mut c_char,
10087    ) -> c_int;
10088    pub fn g_application_send_notification(
10089        application: *mut GApplication,
10090        id: *const c_char,
10091        notification: *mut GNotification,
10092    );
10093    pub fn g_application_set_action_group(
10094        application: *mut GApplication,
10095        action_group: *mut GActionGroup,
10096    );
10097    pub fn g_application_set_application_id(
10098        application: *mut GApplication,
10099        application_id: *const c_char,
10100    );
10101    pub fn g_application_set_default(application: *mut GApplication);
10102    pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags);
10103    pub fn g_application_set_inactivity_timeout(
10104        application: *mut GApplication,
10105        inactivity_timeout: c_uint,
10106    );
10107    pub fn g_application_set_option_context_description(
10108        application: *mut GApplication,
10109        description: *const c_char,
10110    );
10111    pub fn g_application_set_option_context_parameter_string(
10112        application: *mut GApplication,
10113        parameter_string: *const c_char,
10114    );
10115    pub fn g_application_set_option_context_summary(
10116        application: *mut GApplication,
10117        summary: *const c_char,
10118    );
10119    pub fn g_application_set_resource_base_path(
10120        application: *mut GApplication,
10121        resource_path: *const c_char,
10122    );
10123    #[cfg(feature = "v2_80")]
10124    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10125    pub fn g_application_set_version(application: *mut GApplication, version: *const c_char);
10126    pub fn g_application_unbind_busy_property(
10127        application: *mut GApplication,
10128        object: *mut gobject::GObject,
10129        property: *const c_char,
10130    );
10131    pub fn g_application_unmark_busy(application: *mut GApplication);
10132    pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char);
10133
10134    //=========================================================================
10135    // GApplicationCommandLine
10136    //=========================================================================
10137    pub fn g_application_command_line_get_type() -> GType;
10138    pub fn g_application_command_line_create_file_for_arg(
10139        cmdline: *mut GApplicationCommandLine,
10140        arg: *const c_char,
10141    ) -> *mut GFile;
10142    #[cfg(feature = "v2_80")]
10143    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10144    pub fn g_application_command_line_done(cmdline: *mut GApplicationCommandLine);
10145    pub fn g_application_command_line_get_arguments(
10146        cmdline: *mut GApplicationCommandLine,
10147        argc: *mut c_int,
10148    ) -> *mut *mut c_char;
10149    pub fn g_application_command_line_get_cwd(
10150        cmdline: *mut GApplicationCommandLine,
10151    ) -> *const c_char;
10152    pub fn g_application_command_line_get_environ(
10153        cmdline: *mut GApplicationCommandLine,
10154    ) -> *const *const c_char;
10155    pub fn g_application_command_line_get_exit_status(
10156        cmdline: *mut GApplicationCommandLine,
10157    ) -> c_int;
10158    pub fn g_application_command_line_get_is_remote(
10159        cmdline: *mut GApplicationCommandLine,
10160    ) -> gboolean;
10161    pub fn g_application_command_line_get_options_dict(
10162        cmdline: *mut GApplicationCommandLine,
10163    ) -> *mut glib::GVariantDict;
10164    pub fn g_application_command_line_get_platform_data(
10165        cmdline: *mut GApplicationCommandLine,
10166    ) -> *mut glib::GVariant;
10167    pub fn g_application_command_line_get_stdin(
10168        cmdline: *mut GApplicationCommandLine,
10169    ) -> *mut GInputStream;
10170    pub fn g_application_command_line_getenv(
10171        cmdline: *mut GApplicationCommandLine,
10172        name: *const c_char,
10173    ) -> *const c_char;
10174    pub fn g_application_command_line_print(
10175        cmdline: *mut GApplicationCommandLine,
10176        format: *const c_char,
10177        ...
10178    );
10179    #[cfg(feature = "v2_80")]
10180    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10181    pub fn g_application_command_line_print_literal(
10182        cmdline: *mut GApplicationCommandLine,
10183        message: *const c_char,
10184    );
10185    pub fn g_application_command_line_printerr(
10186        cmdline: *mut GApplicationCommandLine,
10187        format: *const c_char,
10188        ...
10189    );
10190    #[cfg(feature = "v2_80")]
10191    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10192    pub fn g_application_command_line_printerr_literal(
10193        cmdline: *mut GApplicationCommandLine,
10194        message: *const c_char,
10195    );
10196    pub fn g_application_command_line_set_exit_status(
10197        cmdline: *mut GApplicationCommandLine,
10198        exit_status: c_int,
10199    );
10200
10201    //=========================================================================
10202    // GBufferedInputStream
10203    //=========================================================================
10204    pub fn g_buffered_input_stream_get_type() -> GType;
10205    pub fn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream;
10206    pub fn g_buffered_input_stream_new_sized(
10207        base_stream: *mut GInputStream,
10208        size: size_t,
10209    ) -> *mut GInputStream;
10210    pub fn g_buffered_input_stream_fill(
10211        stream: *mut GBufferedInputStream,
10212        count: ssize_t,
10213        cancellable: *mut GCancellable,
10214        error: *mut *mut glib::GError,
10215    ) -> ssize_t;
10216    pub fn g_buffered_input_stream_fill_async(
10217        stream: *mut GBufferedInputStream,
10218        count: ssize_t,
10219        io_priority: c_int,
10220        cancellable: *mut GCancellable,
10221        callback: GAsyncReadyCallback,
10222        user_data: gpointer,
10223    );
10224    pub fn g_buffered_input_stream_fill_finish(
10225        stream: *mut GBufferedInputStream,
10226        result: *mut GAsyncResult,
10227        error: *mut *mut glib::GError,
10228    ) -> ssize_t;
10229    pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t;
10230    pub fn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t;
10231    pub fn g_buffered_input_stream_peek(
10232        stream: *mut GBufferedInputStream,
10233        buffer: *mut u8,
10234        offset: size_t,
10235        count: size_t,
10236    ) -> size_t;
10237    pub fn g_buffered_input_stream_peek_buffer(
10238        stream: *mut GBufferedInputStream,
10239        count: *mut size_t,
10240    ) -> *mut u8;
10241    pub fn g_buffered_input_stream_read_byte(
10242        stream: *mut GBufferedInputStream,
10243        cancellable: *mut GCancellable,
10244        error: *mut *mut glib::GError,
10245    ) -> c_int;
10246    pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t);
10247
10248    //=========================================================================
10249    // GBufferedOutputStream
10250    //=========================================================================
10251    pub fn g_buffered_output_stream_get_type() -> GType;
10252    pub fn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream;
10253    pub fn g_buffered_output_stream_new_sized(
10254        base_stream: *mut GOutputStream,
10255        size: size_t,
10256    ) -> *mut GOutputStream;
10257    pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean;
10258    pub fn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t;
10259    pub fn g_buffered_output_stream_set_auto_grow(
10260        stream: *mut GBufferedOutputStream,
10261        auto_grow: gboolean,
10262    );
10263    pub fn g_buffered_output_stream_set_buffer_size(
10264        stream: *mut GBufferedOutputStream,
10265        size: size_t,
10266    );
10267
10268    //=========================================================================
10269    // GBytesIcon
10270    //=========================================================================
10271    pub fn g_bytes_icon_get_type() -> GType;
10272    pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon;
10273    pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes;
10274
10275    //=========================================================================
10276    // GCancellable
10277    //=========================================================================
10278    pub fn g_cancellable_get_type() -> GType;
10279    pub fn g_cancellable_new() -> *mut GCancellable;
10280    pub fn g_cancellable_get_current() -> *mut GCancellable;
10281    pub fn g_cancellable_cancel(cancellable: *mut GCancellable);
10282    pub fn g_cancellable_connect(
10283        cancellable: *mut GCancellable,
10284        callback: gobject::GCallback,
10285        data: gpointer,
10286        data_destroy_func: glib::GDestroyNotify,
10287    ) -> c_ulong;
10288    pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong);
10289    pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int;
10290    pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean;
10291    pub fn g_cancellable_make_pollfd(
10292        cancellable: *mut GCancellable,
10293        pollfd: *mut glib::GPollFD,
10294    ) -> gboolean;
10295    pub fn g_cancellable_pop_current(cancellable: *mut GCancellable);
10296    pub fn g_cancellable_push_current(cancellable: *mut GCancellable);
10297    pub fn g_cancellable_release_fd(cancellable: *mut GCancellable);
10298    pub fn g_cancellable_reset(cancellable: *mut GCancellable);
10299    pub fn g_cancellable_set_error_if_cancelled(
10300        cancellable: *mut GCancellable,
10301        error: *mut *mut glib::GError,
10302    ) -> gboolean;
10303    pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource;
10304
10305    //=========================================================================
10306    // GCharsetConverter
10307    //=========================================================================
10308    pub fn g_charset_converter_get_type() -> GType;
10309    pub fn g_charset_converter_new(
10310        to_charset: *const c_char,
10311        from_charset: *const c_char,
10312        error: *mut *mut glib::GError,
10313    ) -> *mut GCharsetConverter;
10314    pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint;
10315    pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean;
10316    pub fn g_charset_converter_set_use_fallback(
10317        converter: *mut GCharsetConverter,
10318        use_fallback: gboolean,
10319    );
10320
10321    //=========================================================================
10322    // GConverterInputStream
10323    //=========================================================================
10324    pub fn g_converter_input_stream_get_type() -> GType;
10325    pub fn g_converter_input_stream_new(
10326        base_stream: *mut GInputStream,
10327        converter: *mut GConverter,
10328    ) -> *mut GInputStream;
10329    pub fn g_converter_input_stream_get_converter(
10330        converter_stream: *mut GConverterInputStream,
10331    ) -> *mut GConverter;
10332
10333    //=========================================================================
10334    // GConverterOutputStream
10335    //=========================================================================
10336    pub fn g_converter_output_stream_get_type() -> GType;
10337    pub fn g_converter_output_stream_new(
10338        base_stream: *mut GOutputStream,
10339        converter: *mut GConverter,
10340    ) -> *mut GOutputStream;
10341    pub fn g_converter_output_stream_get_converter(
10342        converter_stream: *mut GConverterOutputStream,
10343    ) -> *mut GConverter;
10344
10345    //=========================================================================
10346    // GCredentials
10347    //=========================================================================
10348    pub fn g_credentials_get_type() -> GType;
10349    pub fn g_credentials_new() -> *mut GCredentials;
10350    pub fn g_credentials_get_native(
10351        credentials: *mut GCredentials,
10352        native_type: GCredentialsType,
10353    ) -> gpointer;
10354    #[cfg(unix)]
10355    #[cfg_attr(docsrs, doc(cfg(unix)))]
10356    pub fn g_credentials_get_unix_pid(
10357        credentials: *mut GCredentials,
10358        error: *mut *mut glib::GError,
10359    ) -> pid_t;
10360    #[cfg(unix)]
10361    #[cfg_attr(docsrs, doc(cfg(unix)))]
10362    pub fn g_credentials_get_unix_user(
10363        credentials: *mut GCredentials,
10364        error: *mut *mut glib::GError,
10365    ) -> uid_t;
10366    pub fn g_credentials_is_same_user(
10367        credentials: *mut GCredentials,
10368        other_credentials: *mut GCredentials,
10369        error: *mut *mut glib::GError,
10370    ) -> gboolean;
10371    pub fn g_credentials_set_native(
10372        credentials: *mut GCredentials,
10373        native_type: GCredentialsType,
10374        native: gpointer,
10375    );
10376    #[cfg(unix)]
10377    #[cfg_attr(docsrs, doc(cfg(unix)))]
10378    pub fn g_credentials_set_unix_user(
10379        credentials: *mut GCredentials,
10380        uid: uid_t,
10381        error: *mut *mut glib::GError,
10382    ) -> gboolean;
10383    pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char;
10384
10385    //=========================================================================
10386    // GDBusActionGroup
10387    //=========================================================================
10388    pub fn g_dbus_action_group_get_type() -> GType;
10389    pub fn g_dbus_action_group_get(
10390        connection: *mut GDBusConnection,
10391        bus_name: *const c_char,
10392        object_path: *const c_char,
10393    ) -> *mut GDBusActionGroup;
10394
10395    //=========================================================================
10396    // GDBusAuthObserver
10397    //=========================================================================
10398    pub fn g_dbus_auth_observer_get_type() -> GType;
10399    pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver;
10400    pub fn g_dbus_auth_observer_allow_mechanism(
10401        observer: *mut GDBusAuthObserver,
10402        mechanism: *const c_char,
10403    ) -> gboolean;
10404    pub fn g_dbus_auth_observer_authorize_authenticated_peer(
10405        observer: *mut GDBusAuthObserver,
10406        stream: *mut GIOStream,
10407        credentials: *mut GCredentials,
10408    ) -> gboolean;
10409
10410    //=========================================================================
10411    // GDBusConnection
10412    //=========================================================================
10413    pub fn g_dbus_connection_get_type() -> GType;
10414    pub fn g_dbus_connection_new_finish(
10415        res: *mut GAsyncResult,
10416        error: *mut *mut glib::GError,
10417    ) -> *mut GDBusConnection;
10418    pub fn g_dbus_connection_new_for_address_finish(
10419        res: *mut GAsyncResult,
10420        error: *mut *mut glib::GError,
10421    ) -> *mut GDBusConnection;
10422    pub fn g_dbus_connection_new_for_address_sync(
10423        address: *const c_char,
10424        flags: GDBusConnectionFlags,
10425        observer: *mut GDBusAuthObserver,
10426        cancellable: *mut GCancellable,
10427        error: *mut *mut glib::GError,
10428    ) -> *mut GDBusConnection;
10429    pub fn g_dbus_connection_new_sync(
10430        stream: *mut GIOStream,
10431        guid: *const c_char,
10432        flags: GDBusConnectionFlags,
10433        observer: *mut GDBusAuthObserver,
10434        cancellable: *mut GCancellable,
10435        error: *mut *mut glib::GError,
10436    ) -> *mut GDBusConnection;
10437    pub fn g_dbus_connection_new(
10438        stream: *mut GIOStream,
10439        guid: *const c_char,
10440        flags: GDBusConnectionFlags,
10441        observer: *mut GDBusAuthObserver,
10442        cancellable: *mut GCancellable,
10443        callback: GAsyncReadyCallback,
10444        user_data: gpointer,
10445    );
10446    pub fn g_dbus_connection_new_for_address(
10447        address: *const c_char,
10448        flags: GDBusConnectionFlags,
10449        observer: *mut GDBusAuthObserver,
10450        cancellable: *mut GCancellable,
10451        callback: GAsyncReadyCallback,
10452        user_data: gpointer,
10453    );
10454    pub fn g_dbus_connection_add_filter(
10455        connection: *mut GDBusConnection,
10456        filter_function: GDBusMessageFilterFunction,
10457        user_data: gpointer,
10458        user_data_free_func: glib::GDestroyNotify,
10459    ) -> c_uint;
10460    pub fn g_dbus_connection_call(
10461        connection: *mut GDBusConnection,
10462        bus_name: *const c_char,
10463        object_path: *const c_char,
10464        interface_name: *const c_char,
10465        method_name: *const c_char,
10466        parameters: *mut glib::GVariant,
10467        reply_type: *const glib::GVariantType,
10468        flags: GDBusCallFlags,
10469        timeout_msec: c_int,
10470        cancellable: *mut GCancellable,
10471        callback: GAsyncReadyCallback,
10472        user_data: gpointer,
10473    );
10474    pub fn g_dbus_connection_call_finish(
10475        connection: *mut GDBusConnection,
10476        res: *mut GAsyncResult,
10477        error: *mut *mut glib::GError,
10478    ) -> *mut glib::GVariant;
10479    pub fn g_dbus_connection_call_sync(
10480        connection: *mut GDBusConnection,
10481        bus_name: *const c_char,
10482        object_path: *const c_char,
10483        interface_name: *const c_char,
10484        method_name: *const c_char,
10485        parameters: *mut glib::GVariant,
10486        reply_type: *const glib::GVariantType,
10487        flags: GDBusCallFlags,
10488        timeout_msec: c_int,
10489        cancellable: *mut GCancellable,
10490        error: *mut *mut glib::GError,
10491    ) -> *mut glib::GVariant;
10492    pub fn g_dbus_connection_call_with_unix_fd_list(
10493        connection: *mut GDBusConnection,
10494        bus_name: *const c_char,
10495        object_path: *const c_char,
10496        interface_name: *const c_char,
10497        method_name: *const c_char,
10498        parameters: *mut glib::GVariant,
10499        reply_type: *const glib::GVariantType,
10500        flags: GDBusCallFlags,
10501        timeout_msec: c_int,
10502        fd_list: *mut GUnixFDList,
10503        cancellable: *mut GCancellable,
10504        callback: GAsyncReadyCallback,
10505        user_data: gpointer,
10506    );
10507    pub fn g_dbus_connection_call_with_unix_fd_list_finish(
10508        connection: *mut GDBusConnection,
10509        out_fd_list: *mut *mut GUnixFDList,
10510        res: *mut GAsyncResult,
10511        error: *mut *mut glib::GError,
10512    ) -> *mut glib::GVariant;
10513    pub fn g_dbus_connection_call_with_unix_fd_list_sync(
10514        connection: *mut GDBusConnection,
10515        bus_name: *const c_char,
10516        object_path: *const c_char,
10517        interface_name: *const c_char,
10518        method_name: *const c_char,
10519        parameters: *mut glib::GVariant,
10520        reply_type: *const glib::GVariantType,
10521        flags: GDBusCallFlags,
10522        timeout_msec: c_int,
10523        fd_list: *mut GUnixFDList,
10524        out_fd_list: *mut *mut GUnixFDList,
10525        cancellable: *mut GCancellable,
10526        error: *mut *mut glib::GError,
10527    ) -> *mut glib::GVariant;
10528    pub fn g_dbus_connection_close(
10529        connection: *mut GDBusConnection,
10530        cancellable: *mut GCancellable,
10531        callback: GAsyncReadyCallback,
10532        user_data: gpointer,
10533    );
10534    pub fn g_dbus_connection_close_finish(
10535        connection: *mut GDBusConnection,
10536        res: *mut GAsyncResult,
10537        error: *mut *mut glib::GError,
10538    ) -> gboolean;
10539    pub fn g_dbus_connection_close_sync(
10540        connection: *mut GDBusConnection,
10541        cancellable: *mut GCancellable,
10542        error: *mut *mut glib::GError,
10543    ) -> gboolean;
10544    pub fn g_dbus_connection_emit_signal(
10545        connection: *mut GDBusConnection,
10546        destination_bus_name: *const c_char,
10547        object_path: *const c_char,
10548        interface_name: *const c_char,
10549        signal_name: *const c_char,
10550        parameters: *mut glib::GVariant,
10551        error: *mut *mut glib::GError,
10552    ) -> gboolean;
10553    pub fn g_dbus_connection_export_action_group(
10554        connection: *mut GDBusConnection,
10555        object_path: *const c_char,
10556        action_group: *mut GActionGroup,
10557        error: *mut *mut glib::GError,
10558    ) -> c_uint;
10559    pub fn g_dbus_connection_export_menu_model(
10560        connection: *mut GDBusConnection,
10561        object_path: *const c_char,
10562        menu: *mut GMenuModel,
10563        error: *mut *mut glib::GError,
10564    ) -> c_uint;
10565    pub fn g_dbus_connection_flush(
10566        connection: *mut GDBusConnection,
10567        cancellable: *mut GCancellable,
10568        callback: GAsyncReadyCallback,
10569        user_data: gpointer,
10570    );
10571    pub fn g_dbus_connection_flush_finish(
10572        connection: *mut GDBusConnection,
10573        res: *mut GAsyncResult,
10574        error: *mut *mut glib::GError,
10575    ) -> gboolean;
10576    pub fn g_dbus_connection_flush_sync(
10577        connection: *mut GDBusConnection,
10578        cancellable: *mut GCancellable,
10579        error: *mut *mut glib::GError,
10580    ) -> gboolean;
10581    pub fn g_dbus_connection_get_capabilities(
10582        connection: *mut GDBusConnection,
10583    ) -> GDBusCapabilityFlags;
10584    pub fn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean;
10585    #[cfg(feature = "v2_60")]
10586    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
10587    pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags;
10588    pub fn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char;
10589    pub fn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32;
10590    pub fn g_dbus_connection_get_peer_credentials(
10591        connection: *mut GDBusConnection,
10592    ) -> *mut GCredentials;
10593    pub fn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream;
10594    pub fn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char;
10595    pub fn g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean;
10596    pub fn g_dbus_connection_register_object(
10597        connection: *mut GDBusConnection,
10598        object_path: *const c_char,
10599        interface_info: *mut GDBusInterfaceInfo,
10600        vtable: *const GDBusInterfaceVTable,
10601        user_data: gpointer,
10602        user_data_free_func: glib::GDestroyNotify,
10603        error: *mut *mut glib::GError,
10604    ) -> c_uint;
10605    pub fn g_dbus_connection_register_object_with_closures(
10606        connection: *mut GDBusConnection,
10607        object_path: *const c_char,
10608        interface_info: *mut GDBusInterfaceInfo,
10609        method_call_closure: *mut gobject::GClosure,
10610        get_property_closure: *mut gobject::GClosure,
10611        set_property_closure: *mut gobject::GClosure,
10612        error: *mut *mut glib::GError,
10613    ) -> c_uint;
10614    #[cfg(feature = "v2_84")]
10615    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10616    pub fn g_dbus_connection_register_object_with_closures2(
10617        connection: *mut GDBusConnection,
10618        object_path: *const c_char,
10619        interface_info: *mut GDBusInterfaceInfo,
10620        method_call_closure: *mut gobject::GClosure,
10621        get_property_closure: *mut gobject::GClosure,
10622        set_property_closure: *mut gobject::GClosure,
10623        error: *mut *mut glib::GError,
10624    ) -> c_uint;
10625    pub fn g_dbus_connection_register_subtree(
10626        connection: *mut GDBusConnection,
10627        object_path: *const c_char,
10628        vtable: *const GDBusSubtreeVTable,
10629        flags: GDBusSubtreeFlags,
10630        user_data: gpointer,
10631        user_data_free_func: glib::GDestroyNotify,
10632        error: *mut *mut glib::GError,
10633    ) -> c_uint;
10634    pub fn g_dbus_connection_remove_filter(connection: *mut GDBusConnection, filter_id: c_uint);
10635    pub fn g_dbus_connection_send_message(
10636        connection: *mut GDBusConnection,
10637        message: *mut GDBusMessage,
10638        flags: GDBusSendMessageFlags,
10639        out_serial: *mut u32,
10640        error: *mut *mut glib::GError,
10641    ) -> gboolean;
10642    pub fn g_dbus_connection_send_message_with_reply(
10643        connection: *mut GDBusConnection,
10644        message: *mut GDBusMessage,
10645        flags: GDBusSendMessageFlags,
10646        timeout_msec: c_int,
10647        out_serial: *mut u32,
10648        cancellable: *mut GCancellable,
10649        callback: GAsyncReadyCallback,
10650        user_data: gpointer,
10651    );
10652    pub fn g_dbus_connection_send_message_with_reply_finish(
10653        connection: *mut GDBusConnection,
10654        res: *mut GAsyncResult,
10655        error: *mut *mut glib::GError,
10656    ) -> *mut GDBusMessage;
10657    pub fn g_dbus_connection_send_message_with_reply_sync(
10658        connection: *mut GDBusConnection,
10659        message: *mut GDBusMessage,
10660        flags: GDBusSendMessageFlags,
10661        timeout_msec: c_int,
10662        out_serial: *mut u32,
10663        cancellable: *mut GCancellable,
10664        error: *mut *mut glib::GError,
10665    ) -> *mut GDBusMessage;
10666    pub fn g_dbus_connection_set_exit_on_close(
10667        connection: *mut GDBusConnection,
10668        exit_on_close: gboolean,
10669    );
10670    pub fn g_dbus_connection_signal_subscribe(
10671        connection: *mut GDBusConnection,
10672        sender: *const c_char,
10673        interface_name: *const c_char,
10674        member: *const c_char,
10675        object_path: *const c_char,
10676        arg0: *const c_char,
10677        flags: GDBusSignalFlags,
10678        callback: GDBusSignalCallback,
10679        user_data: gpointer,
10680        user_data_free_func: glib::GDestroyNotify,
10681    ) -> c_uint;
10682    pub fn g_dbus_connection_signal_unsubscribe(
10683        connection: *mut GDBusConnection,
10684        subscription_id: c_uint,
10685    );
10686    pub fn g_dbus_connection_start_message_processing(connection: *mut GDBusConnection);
10687    pub fn g_dbus_connection_unexport_action_group(
10688        connection: *mut GDBusConnection,
10689        export_id: c_uint,
10690    );
10691    pub fn g_dbus_connection_unexport_menu_model(
10692        connection: *mut GDBusConnection,
10693        export_id: c_uint,
10694    );
10695    pub fn g_dbus_connection_unregister_object(
10696        connection: *mut GDBusConnection,
10697        registration_id: c_uint,
10698    ) -> gboolean;
10699    pub fn g_dbus_connection_unregister_subtree(
10700        connection: *mut GDBusConnection,
10701        registration_id: c_uint,
10702    ) -> gboolean;
10703
10704    //=========================================================================
10705    // GDBusInterfaceSkeleton
10706    //=========================================================================
10707    pub fn g_dbus_interface_skeleton_get_type() -> GType;
10708    pub fn g_dbus_interface_skeleton_export(
10709        interface_: *mut GDBusInterfaceSkeleton,
10710        connection: *mut GDBusConnection,
10711        object_path: *const c_char,
10712        error: *mut *mut glib::GError,
10713    ) -> gboolean;
10714    pub fn g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton);
10715    pub fn g_dbus_interface_skeleton_get_connection(
10716        interface_: *mut GDBusInterfaceSkeleton,
10717    ) -> *mut GDBusConnection;
10718    pub fn g_dbus_interface_skeleton_get_connections(
10719        interface_: *mut GDBusInterfaceSkeleton,
10720    ) -> *mut glib::GList;
10721    pub fn g_dbus_interface_skeleton_get_flags(
10722        interface_: *mut GDBusInterfaceSkeleton,
10723    ) -> GDBusInterfaceSkeletonFlags;
10724    pub fn g_dbus_interface_skeleton_get_info(
10725        interface_: *mut GDBusInterfaceSkeleton,
10726    ) -> *mut GDBusInterfaceInfo;
10727    pub fn g_dbus_interface_skeleton_get_object_path(
10728        interface_: *mut GDBusInterfaceSkeleton,
10729    ) -> *const c_char;
10730    pub fn g_dbus_interface_skeleton_get_properties(
10731        interface_: *mut GDBusInterfaceSkeleton,
10732    ) -> *mut glib::GVariant;
10733    pub fn g_dbus_interface_skeleton_get_vtable(
10734        interface_: *mut GDBusInterfaceSkeleton,
10735    ) -> *mut GDBusInterfaceVTable;
10736    pub fn g_dbus_interface_skeleton_has_connection(
10737        interface_: *mut GDBusInterfaceSkeleton,
10738        connection: *mut GDBusConnection,
10739    ) -> gboolean;
10740    pub fn g_dbus_interface_skeleton_set_flags(
10741        interface_: *mut GDBusInterfaceSkeleton,
10742        flags: GDBusInterfaceSkeletonFlags,
10743    );
10744    pub fn g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton);
10745    pub fn g_dbus_interface_skeleton_unexport_from_connection(
10746        interface_: *mut GDBusInterfaceSkeleton,
10747        connection: *mut GDBusConnection,
10748    );
10749
10750    //=========================================================================
10751    // GDBusMenuModel
10752    //=========================================================================
10753    pub fn g_dbus_menu_model_get_type() -> GType;
10754    pub fn g_dbus_menu_model_get(
10755        connection: *mut GDBusConnection,
10756        bus_name: *const c_char,
10757        object_path: *const c_char,
10758    ) -> *mut GDBusMenuModel;
10759
10760    //=========================================================================
10761    // GDBusMessage
10762    //=========================================================================
10763    pub fn g_dbus_message_get_type() -> GType;
10764    pub fn g_dbus_message_new() -> *mut GDBusMessage;
10765    pub fn g_dbus_message_new_from_blob(
10766        blob: *mut u8,
10767        blob_len: size_t,
10768        capabilities: GDBusCapabilityFlags,
10769        error: *mut *mut glib::GError,
10770    ) -> *mut GDBusMessage;
10771    pub fn g_dbus_message_new_method_call(
10772        name: *const c_char,
10773        path: *const c_char,
10774        interface_: *const c_char,
10775        method: *const c_char,
10776    ) -> *mut GDBusMessage;
10777    pub fn g_dbus_message_new_method_error(
10778        method_call_message: *mut GDBusMessage,
10779        error_name: *const c_char,
10780        error_message_format: *const c_char,
10781        ...
10782    ) -> *mut GDBusMessage;
10783    pub fn g_dbus_message_new_signal(
10784        path: *const c_char,
10785        interface_: *const c_char,
10786        signal: *const c_char,
10787    ) -> *mut GDBusMessage;
10788    pub fn g_dbus_message_bytes_needed(
10789        blob: *mut u8,
10790        blob_len: size_t,
10791        error: *mut *mut glib::GError,
10792    ) -> ssize_t;
10793    pub fn g_dbus_message_copy(
10794        message: *mut GDBusMessage,
10795        error: *mut *mut glib::GError,
10796    ) -> *mut GDBusMessage;
10797    pub fn g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const c_char;
10798    #[cfg(feature = "v2_80")]
10799    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10800    pub fn g_dbus_message_get_arg0_path(message: *mut GDBusMessage) -> *const c_char;
10801    pub fn g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut glib::GVariant;
10802    pub fn g_dbus_message_get_byte_order(message: *mut GDBusMessage) -> GDBusMessageByteOrder;
10803    pub fn g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const c_char;
10804    pub fn g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const c_char;
10805    pub fn g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags;
10806    pub fn g_dbus_message_get_header(
10807        message: *mut GDBusMessage,
10808        header_field: GDBusMessageHeaderField,
10809    ) -> *mut glib::GVariant;
10810    pub fn g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut u8;
10811    pub fn g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const c_char;
10812    pub fn g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean;
10813    pub fn g_dbus_message_get_member(message: *mut GDBusMessage) -> *const c_char;
10814    pub fn g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType;
10815    pub fn g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> u32;
10816    pub fn g_dbus_message_get_path(message: *mut GDBusMessage) -> *const c_char;
10817    pub fn g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> u32;
10818    pub fn g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const c_char;
10819    pub fn g_dbus_message_get_serial(message: *mut GDBusMessage) -> u32;
10820    pub fn g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const c_char;
10821    pub fn g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList;
10822    pub fn g_dbus_message_lock(message: *mut GDBusMessage);
10823    pub fn g_dbus_message_new_method_error_literal(
10824        method_call_message: *mut GDBusMessage,
10825        error_name: *const c_char,
10826        error_message: *const c_char,
10827    ) -> *mut GDBusMessage;
10828    //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;
10829    pub fn g_dbus_message_new_method_reply(
10830        method_call_message: *mut GDBusMessage,
10831    ) -> *mut GDBusMessage;
10832    pub fn g_dbus_message_print(message: *mut GDBusMessage, indent: c_uint) -> *mut c_char;
10833    pub fn g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut glib::GVariant);
10834    pub fn g_dbus_message_set_byte_order(
10835        message: *mut GDBusMessage,
10836        byte_order: GDBusMessageByteOrder,
10837    );
10838    pub fn g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const c_char);
10839    pub fn g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const c_char);
10840    pub fn g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags);
10841    pub fn g_dbus_message_set_header(
10842        message: *mut GDBusMessage,
10843        header_field: GDBusMessageHeaderField,
10844        value: *mut glib::GVariant,
10845    );
10846    pub fn g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const c_char);
10847    pub fn g_dbus_message_set_member(message: *mut GDBusMessage, value: *const c_char);
10848    pub fn g_dbus_message_set_message_type(message: *mut GDBusMessage, type_: GDBusMessageType);
10849    pub fn g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: u32);
10850    pub fn g_dbus_message_set_path(message: *mut GDBusMessage, value: *const c_char);
10851    pub fn g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: u32);
10852    pub fn g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const c_char);
10853    pub fn g_dbus_message_set_serial(message: *mut GDBusMessage, serial: u32);
10854    pub fn g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const c_char);
10855    pub fn g_dbus_message_set_unix_fd_list(message: *mut GDBusMessage, fd_list: *mut GUnixFDList);
10856    pub fn g_dbus_message_to_blob(
10857        message: *mut GDBusMessage,
10858        out_size: *mut size_t,
10859        capabilities: GDBusCapabilityFlags,
10860        error: *mut *mut glib::GError,
10861    ) -> *mut u8;
10862    pub fn g_dbus_message_to_gerror(
10863        message: *mut GDBusMessage,
10864        error: *mut *mut glib::GError,
10865    ) -> gboolean;
10866
10867    //=========================================================================
10868    // GDBusMethodInvocation
10869    //=========================================================================
10870    pub fn g_dbus_method_invocation_get_type() -> GType;
10871    pub fn g_dbus_method_invocation_get_connection(
10872        invocation: *mut GDBusMethodInvocation,
10873    ) -> *mut GDBusConnection;
10874    pub fn g_dbus_method_invocation_get_interface_name(
10875        invocation: *mut GDBusMethodInvocation,
10876    ) -> *const c_char;
10877    pub fn g_dbus_method_invocation_get_message(
10878        invocation: *mut GDBusMethodInvocation,
10879    ) -> *mut GDBusMessage;
10880    pub fn g_dbus_method_invocation_get_method_info(
10881        invocation: *mut GDBusMethodInvocation,
10882    ) -> *const GDBusMethodInfo;
10883    pub fn g_dbus_method_invocation_get_method_name(
10884        invocation: *mut GDBusMethodInvocation,
10885    ) -> *const c_char;
10886    pub fn g_dbus_method_invocation_get_object_path(
10887        invocation: *mut GDBusMethodInvocation,
10888    ) -> *const c_char;
10889    pub fn g_dbus_method_invocation_get_parameters(
10890        invocation: *mut GDBusMethodInvocation,
10891    ) -> *mut glib::GVariant;
10892    pub fn g_dbus_method_invocation_get_property_info(
10893        invocation: *mut GDBusMethodInvocation,
10894    ) -> *const GDBusPropertyInfo;
10895    pub fn g_dbus_method_invocation_get_sender(
10896        invocation: *mut GDBusMethodInvocation,
10897    ) -> *const c_char;
10898    pub fn g_dbus_method_invocation_get_user_data(
10899        invocation: *mut GDBusMethodInvocation,
10900    ) -> gpointer;
10901    pub fn g_dbus_method_invocation_return_dbus_error(
10902        invocation: *mut GDBusMethodInvocation,
10903        error_name: *const c_char,
10904        error_message: *const c_char,
10905    );
10906    pub fn g_dbus_method_invocation_return_error(
10907        invocation: *mut GDBusMethodInvocation,
10908        domain: glib::GQuark,
10909        code: c_int,
10910        format: *const c_char,
10911        ...
10912    );
10913    pub fn g_dbus_method_invocation_return_error_literal(
10914        invocation: *mut GDBusMethodInvocation,
10915        domain: glib::GQuark,
10916        code: c_int,
10917        message: *const c_char,
10918    );
10919    //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);
10920    pub fn g_dbus_method_invocation_return_gerror(
10921        invocation: *mut GDBusMethodInvocation,
10922        error: *const glib::GError,
10923    );
10924    pub fn g_dbus_method_invocation_return_value(
10925        invocation: *mut GDBusMethodInvocation,
10926        parameters: *mut glib::GVariant,
10927    );
10928    pub fn g_dbus_method_invocation_return_value_with_unix_fd_list(
10929        invocation: *mut GDBusMethodInvocation,
10930        parameters: *mut glib::GVariant,
10931        fd_list: *mut GUnixFDList,
10932    );
10933    pub fn g_dbus_method_invocation_take_error(
10934        invocation: *mut GDBusMethodInvocation,
10935        error: *mut glib::GError,
10936    );
10937
10938    //=========================================================================
10939    // GDBusObjectManagerClient
10940    //=========================================================================
10941    pub fn g_dbus_object_manager_client_get_type() -> GType;
10942    pub fn g_dbus_object_manager_client_new_finish(
10943        res: *mut GAsyncResult,
10944        error: *mut *mut glib::GError,
10945    ) -> *mut GDBusObjectManagerClient;
10946    pub fn g_dbus_object_manager_client_new_for_bus_finish(
10947        res: *mut GAsyncResult,
10948        error: *mut *mut glib::GError,
10949    ) -> *mut GDBusObjectManagerClient;
10950    pub fn g_dbus_object_manager_client_new_for_bus_sync(
10951        bus_type: GBusType,
10952        flags: GDBusObjectManagerClientFlags,
10953        name: *const c_char,
10954        object_path: *const c_char,
10955        get_proxy_type_func: GDBusProxyTypeFunc,
10956        get_proxy_type_user_data: gpointer,
10957        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10958        cancellable: *mut GCancellable,
10959        error: *mut *mut glib::GError,
10960    ) -> *mut GDBusObjectManagerClient;
10961    pub fn g_dbus_object_manager_client_new_sync(
10962        connection: *mut GDBusConnection,
10963        flags: GDBusObjectManagerClientFlags,
10964        name: *const c_char,
10965        object_path: *const c_char,
10966        get_proxy_type_func: GDBusProxyTypeFunc,
10967        get_proxy_type_user_data: gpointer,
10968        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10969        cancellable: *mut GCancellable,
10970        error: *mut *mut glib::GError,
10971    ) -> *mut GDBusObjectManagerClient;
10972    pub fn g_dbus_object_manager_client_new(
10973        connection: *mut GDBusConnection,
10974        flags: GDBusObjectManagerClientFlags,
10975        name: *const c_char,
10976        object_path: *const c_char,
10977        get_proxy_type_func: GDBusProxyTypeFunc,
10978        get_proxy_type_user_data: gpointer,
10979        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10980        cancellable: *mut GCancellable,
10981        callback: GAsyncReadyCallback,
10982        user_data: gpointer,
10983    );
10984    pub fn g_dbus_object_manager_client_new_for_bus(
10985        bus_type: GBusType,
10986        flags: GDBusObjectManagerClientFlags,
10987        name: *const c_char,
10988        object_path: *const c_char,
10989        get_proxy_type_func: GDBusProxyTypeFunc,
10990        get_proxy_type_user_data: gpointer,
10991        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10992        cancellable: *mut GCancellable,
10993        callback: GAsyncReadyCallback,
10994        user_data: gpointer,
10995    );
10996    pub fn g_dbus_object_manager_client_get_connection(
10997        manager: *mut GDBusObjectManagerClient,
10998    ) -> *mut GDBusConnection;
10999    pub fn g_dbus_object_manager_client_get_flags(
11000        manager: *mut GDBusObjectManagerClient,
11001    ) -> GDBusObjectManagerClientFlags;
11002    pub fn g_dbus_object_manager_client_get_name(
11003        manager: *mut GDBusObjectManagerClient,
11004    ) -> *const c_char;
11005    pub fn g_dbus_object_manager_client_get_name_owner(
11006        manager: *mut GDBusObjectManagerClient,
11007    ) -> *mut c_char;
11008
11009    //=========================================================================
11010    // GDBusObjectManagerServer
11011    //=========================================================================
11012    pub fn g_dbus_object_manager_server_get_type() -> GType;
11013    pub fn g_dbus_object_manager_server_new(
11014        object_path: *const c_char,
11015    ) -> *mut GDBusObjectManagerServer;
11016    pub fn g_dbus_object_manager_server_export(
11017        manager: *mut GDBusObjectManagerServer,
11018        object: *mut GDBusObjectSkeleton,
11019    );
11020    pub fn g_dbus_object_manager_server_export_uniquely(
11021        manager: *mut GDBusObjectManagerServer,
11022        object: *mut GDBusObjectSkeleton,
11023    );
11024    pub fn g_dbus_object_manager_server_get_connection(
11025        manager: *mut GDBusObjectManagerServer,
11026    ) -> *mut GDBusConnection;
11027    pub fn g_dbus_object_manager_server_is_exported(
11028        manager: *mut GDBusObjectManagerServer,
11029        object: *mut GDBusObjectSkeleton,
11030    ) -> gboolean;
11031    pub fn g_dbus_object_manager_server_set_connection(
11032        manager: *mut GDBusObjectManagerServer,
11033        connection: *mut GDBusConnection,
11034    );
11035    pub fn g_dbus_object_manager_server_unexport(
11036        manager: *mut GDBusObjectManagerServer,
11037        object_path: *const c_char,
11038    ) -> gboolean;
11039
11040    //=========================================================================
11041    // GDBusObjectProxy
11042    //=========================================================================
11043    pub fn g_dbus_object_proxy_get_type() -> GType;
11044    pub fn g_dbus_object_proxy_new(
11045        connection: *mut GDBusConnection,
11046        object_path: *const c_char,
11047    ) -> *mut GDBusObjectProxy;
11048    pub fn g_dbus_object_proxy_get_connection(proxy: *mut GDBusObjectProxy)
11049    -> *mut GDBusConnection;
11050
11051    //=========================================================================
11052    // GDBusObjectSkeleton
11053    //=========================================================================
11054    pub fn g_dbus_object_skeleton_get_type() -> GType;
11055    pub fn g_dbus_object_skeleton_new(object_path: *const c_char) -> *mut GDBusObjectSkeleton;
11056    pub fn g_dbus_object_skeleton_add_interface(
11057        object: *mut GDBusObjectSkeleton,
11058        interface_: *mut GDBusInterfaceSkeleton,
11059    );
11060    pub fn g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton);
11061    pub fn g_dbus_object_skeleton_remove_interface(
11062        object: *mut GDBusObjectSkeleton,
11063        interface_: *mut GDBusInterfaceSkeleton,
11064    );
11065    pub fn g_dbus_object_skeleton_remove_interface_by_name(
11066        object: *mut GDBusObjectSkeleton,
11067        interface_name: *const c_char,
11068    );
11069    pub fn g_dbus_object_skeleton_set_object_path(
11070        object: *mut GDBusObjectSkeleton,
11071        object_path: *const c_char,
11072    );
11073
11074    //=========================================================================
11075    // GDBusProxy
11076    //=========================================================================
11077    pub fn g_dbus_proxy_get_type() -> GType;
11078    pub fn g_dbus_proxy_new_finish(
11079        res: *mut GAsyncResult,
11080        error: *mut *mut glib::GError,
11081    ) -> *mut GDBusProxy;
11082    pub fn g_dbus_proxy_new_for_bus_finish(
11083        res: *mut GAsyncResult,
11084        error: *mut *mut glib::GError,
11085    ) -> *mut GDBusProxy;
11086    pub fn g_dbus_proxy_new_for_bus_sync(
11087        bus_type: GBusType,
11088        flags: GDBusProxyFlags,
11089        info: *mut GDBusInterfaceInfo,
11090        name: *const c_char,
11091        object_path: *const c_char,
11092        interface_name: *const c_char,
11093        cancellable: *mut GCancellable,
11094        error: *mut *mut glib::GError,
11095    ) -> *mut GDBusProxy;
11096    pub fn g_dbus_proxy_new_sync(
11097        connection: *mut GDBusConnection,
11098        flags: GDBusProxyFlags,
11099        info: *mut GDBusInterfaceInfo,
11100        name: *const c_char,
11101        object_path: *const c_char,
11102        interface_name: *const c_char,
11103        cancellable: *mut GCancellable,
11104        error: *mut *mut glib::GError,
11105    ) -> *mut GDBusProxy;
11106    pub fn g_dbus_proxy_new(
11107        connection: *mut GDBusConnection,
11108        flags: GDBusProxyFlags,
11109        info: *mut GDBusInterfaceInfo,
11110        name: *const c_char,
11111        object_path: *const c_char,
11112        interface_name: *const c_char,
11113        cancellable: *mut GCancellable,
11114        callback: GAsyncReadyCallback,
11115        user_data: gpointer,
11116    );
11117    pub fn g_dbus_proxy_new_for_bus(
11118        bus_type: GBusType,
11119        flags: GDBusProxyFlags,
11120        info: *mut GDBusInterfaceInfo,
11121        name: *const c_char,
11122        object_path: *const c_char,
11123        interface_name: *const c_char,
11124        cancellable: *mut GCancellable,
11125        callback: GAsyncReadyCallback,
11126        user_data: gpointer,
11127    );
11128    pub fn g_dbus_proxy_call(
11129        proxy: *mut GDBusProxy,
11130        method_name: *const c_char,
11131        parameters: *mut glib::GVariant,
11132        flags: GDBusCallFlags,
11133        timeout_msec: c_int,
11134        cancellable: *mut GCancellable,
11135        callback: GAsyncReadyCallback,
11136        user_data: gpointer,
11137    );
11138    pub fn g_dbus_proxy_call_finish(
11139        proxy: *mut GDBusProxy,
11140        res: *mut GAsyncResult,
11141        error: *mut *mut glib::GError,
11142    ) -> *mut glib::GVariant;
11143    pub fn g_dbus_proxy_call_sync(
11144        proxy: *mut GDBusProxy,
11145        method_name: *const c_char,
11146        parameters: *mut glib::GVariant,
11147        flags: GDBusCallFlags,
11148        timeout_msec: c_int,
11149        cancellable: *mut GCancellable,
11150        error: *mut *mut glib::GError,
11151    ) -> *mut glib::GVariant;
11152    pub fn g_dbus_proxy_call_with_unix_fd_list(
11153        proxy: *mut GDBusProxy,
11154        method_name: *const c_char,
11155        parameters: *mut glib::GVariant,
11156        flags: GDBusCallFlags,
11157        timeout_msec: c_int,
11158        fd_list: *mut GUnixFDList,
11159        cancellable: *mut GCancellable,
11160        callback: GAsyncReadyCallback,
11161        user_data: gpointer,
11162    );
11163    pub fn g_dbus_proxy_call_with_unix_fd_list_finish(
11164        proxy: *mut GDBusProxy,
11165        out_fd_list: *mut *mut GUnixFDList,
11166        res: *mut GAsyncResult,
11167        error: *mut *mut glib::GError,
11168    ) -> *mut glib::GVariant;
11169    pub fn g_dbus_proxy_call_with_unix_fd_list_sync(
11170        proxy: *mut GDBusProxy,
11171        method_name: *const c_char,
11172        parameters: *mut glib::GVariant,
11173        flags: GDBusCallFlags,
11174        timeout_msec: c_int,
11175        fd_list: *mut GUnixFDList,
11176        out_fd_list: *mut *mut GUnixFDList,
11177        cancellable: *mut GCancellable,
11178        error: *mut *mut glib::GError,
11179    ) -> *mut glib::GVariant;
11180    pub fn g_dbus_proxy_get_cached_property(
11181        proxy: *mut GDBusProxy,
11182        property_name: *const c_char,
11183    ) -> *mut glib::GVariant;
11184    pub fn g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy) -> *mut *mut c_char;
11185    pub fn g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection;
11186    pub fn g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> c_int;
11187    pub fn g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags;
11188    pub fn g_dbus_proxy_get_interface_info(proxy: *mut GDBusProxy) -> *mut GDBusInterfaceInfo;
11189    pub fn g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const c_char;
11190    pub fn g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const c_char;
11191    pub fn g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut c_char;
11192    pub fn g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const c_char;
11193    pub fn g_dbus_proxy_set_cached_property(
11194        proxy: *mut GDBusProxy,
11195        property_name: *const c_char,
11196        value: *mut glib::GVariant,
11197    );
11198    pub fn g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: c_int);
11199    pub fn g_dbus_proxy_set_interface_info(proxy: *mut GDBusProxy, info: *mut GDBusInterfaceInfo);
11200
11201    //=========================================================================
11202    // GDBusServer
11203    //=========================================================================
11204    pub fn g_dbus_server_get_type() -> GType;
11205    pub fn g_dbus_server_new_sync(
11206        address: *const c_char,
11207        flags: GDBusServerFlags,
11208        guid: *const c_char,
11209        observer: *mut GDBusAuthObserver,
11210        cancellable: *mut GCancellable,
11211        error: *mut *mut glib::GError,
11212    ) -> *mut GDBusServer;
11213    pub fn g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const c_char;
11214    pub fn g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags;
11215    pub fn g_dbus_server_get_guid(server: *mut GDBusServer) -> *const c_char;
11216    pub fn g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean;
11217    pub fn g_dbus_server_start(server: *mut GDBusServer);
11218    pub fn g_dbus_server_stop(server: *mut GDBusServer);
11219
11220    //=========================================================================
11221    // GDataInputStream
11222    //=========================================================================
11223    pub fn g_data_input_stream_get_type() -> GType;
11224    pub fn g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream;
11225    pub fn g_data_input_stream_get_byte_order(
11226        stream: *mut GDataInputStream,
11227    ) -> GDataStreamByteOrder;
11228    pub fn g_data_input_stream_get_newline_type(
11229        stream: *mut GDataInputStream,
11230    ) -> GDataStreamNewlineType;
11231    pub fn g_data_input_stream_read_byte(
11232        stream: *mut GDataInputStream,
11233        cancellable: *mut GCancellable,
11234        error: *mut *mut glib::GError,
11235    ) -> c_uchar;
11236    pub fn g_data_input_stream_read_int16(
11237        stream: *mut GDataInputStream,
11238        cancellable: *mut GCancellable,
11239        error: *mut *mut glib::GError,
11240    ) -> i16;
11241    pub fn g_data_input_stream_read_int32(
11242        stream: *mut GDataInputStream,
11243        cancellable: *mut GCancellable,
11244        error: *mut *mut glib::GError,
11245    ) -> i32;
11246    pub fn g_data_input_stream_read_int64(
11247        stream: *mut GDataInputStream,
11248        cancellable: *mut GCancellable,
11249        error: *mut *mut glib::GError,
11250    ) -> i64;
11251    pub fn g_data_input_stream_read_line(
11252        stream: *mut GDataInputStream,
11253        length: *mut size_t,
11254        cancellable: *mut GCancellable,
11255        error: *mut *mut glib::GError,
11256    ) -> *mut u8;
11257    pub fn g_data_input_stream_read_line_async(
11258        stream: *mut GDataInputStream,
11259        io_priority: c_int,
11260        cancellable: *mut GCancellable,
11261        callback: GAsyncReadyCallback,
11262        user_data: gpointer,
11263    );
11264    pub fn g_data_input_stream_read_line_finish(
11265        stream: *mut GDataInputStream,
11266        result: *mut GAsyncResult,
11267        length: *mut size_t,
11268        error: *mut *mut glib::GError,
11269    ) -> *mut u8;
11270    pub fn g_data_input_stream_read_line_finish_utf8(
11271        stream: *mut GDataInputStream,
11272        result: *mut GAsyncResult,
11273        length: *mut size_t,
11274        error: *mut *mut glib::GError,
11275    ) -> *mut c_char;
11276    pub fn g_data_input_stream_read_line_utf8(
11277        stream: *mut GDataInputStream,
11278        length: *mut size_t,
11279        cancellable: *mut GCancellable,
11280        error: *mut *mut glib::GError,
11281    ) -> *mut c_char;
11282    pub fn g_data_input_stream_read_uint16(
11283        stream: *mut GDataInputStream,
11284        cancellable: *mut GCancellable,
11285        error: *mut *mut glib::GError,
11286    ) -> u16;
11287    pub fn g_data_input_stream_read_uint32(
11288        stream: *mut GDataInputStream,
11289        cancellable: *mut GCancellable,
11290        error: *mut *mut glib::GError,
11291    ) -> u32;
11292    pub fn g_data_input_stream_read_uint64(
11293        stream: *mut GDataInputStream,
11294        cancellable: *mut GCancellable,
11295        error: *mut *mut glib::GError,
11296    ) -> u64;
11297    pub fn g_data_input_stream_read_until(
11298        stream: *mut GDataInputStream,
11299        stop_chars: *const c_char,
11300        length: *mut size_t,
11301        cancellable: *mut GCancellable,
11302        error: *mut *mut glib::GError,
11303    ) -> *mut c_char;
11304    pub fn g_data_input_stream_read_until_async(
11305        stream: *mut GDataInputStream,
11306        stop_chars: *const c_char,
11307        io_priority: c_int,
11308        cancellable: *mut GCancellable,
11309        callback: GAsyncReadyCallback,
11310        user_data: gpointer,
11311    );
11312    pub fn g_data_input_stream_read_until_finish(
11313        stream: *mut GDataInputStream,
11314        result: *mut GAsyncResult,
11315        length: *mut size_t,
11316        error: *mut *mut glib::GError,
11317    ) -> *mut c_char;
11318    pub fn g_data_input_stream_read_upto(
11319        stream: *mut GDataInputStream,
11320        stop_chars: *const c_char,
11321        stop_chars_len: ssize_t,
11322        length: *mut size_t,
11323        cancellable: *mut GCancellable,
11324        error: *mut *mut glib::GError,
11325    ) -> *mut c_char;
11326    pub fn g_data_input_stream_read_upto_async(
11327        stream: *mut GDataInputStream,
11328        stop_chars: *const c_char,
11329        stop_chars_len: ssize_t,
11330        io_priority: c_int,
11331        cancellable: *mut GCancellable,
11332        callback: GAsyncReadyCallback,
11333        user_data: gpointer,
11334    );
11335    pub fn g_data_input_stream_read_upto_finish(
11336        stream: *mut GDataInputStream,
11337        result: *mut GAsyncResult,
11338        length: *mut size_t,
11339        error: *mut *mut glib::GError,
11340    ) -> *mut c_char;
11341    pub fn g_data_input_stream_set_byte_order(
11342        stream: *mut GDataInputStream,
11343        order: GDataStreamByteOrder,
11344    );
11345    pub fn g_data_input_stream_set_newline_type(
11346        stream: *mut GDataInputStream,
11347        type_: GDataStreamNewlineType,
11348    );
11349
11350    //=========================================================================
11351    // GDataOutputStream
11352    //=========================================================================
11353    pub fn g_data_output_stream_get_type() -> GType;
11354    pub fn g_data_output_stream_new(base_stream: *mut GOutputStream) -> *mut GDataOutputStream;
11355    pub fn g_data_output_stream_get_byte_order(
11356        stream: *mut GDataOutputStream,
11357    ) -> GDataStreamByteOrder;
11358    pub fn g_data_output_stream_put_byte(
11359        stream: *mut GDataOutputStream,
11360        data: c_uchar,
11361        cancellable: *mut GCancellable,
11362        error: *mut *mut glib::GError,
11363    ) -> gboolean;
11364    pub fn g_data_output_stream_put_int16(
11365        stream: *mut GDataOutputStream,
11366        data: i16,
11367        cancellable: *mut GCancellable,
11368        error: *mut *mut glib::GError,
11369    ) -> gboolean;
11370    pub fn g_data_output_stream_put_int32(
11371        stream: *mut GDataOutputStream,
11372        data: i32,
11373        cancellable: *mut GCancellable,
11374        error: *mut *mut glib::GError,
11375    ) -> gboolean;
11376    pub fn g_data_output_stream_put_int64(
11377        stream: *mut GDataOutputStream,
11378        data: i64,
11379        cancellable: *mut GCancellable,
11380        error: *mut *mut glib::GError,
11381    ) -> gboolean;
11382    pub fn g_data_output_stream_put_string(
11383        stream: *mut GDataOutputStream,
11384        str: *const c_char,
11385        cancellable: *mut GCancellable,
11386        error: *mut *mut glib::GError,
11387    ) -> gboolean;
11388    pub fn g_data_output_stream_put_uint16(
11389        stream: *mut GDataOutputStream,
11390        data: u16,
11391        cancellable: *mut GCancellable,
11392        error: *mut *mut glib::GError,
11393    ) -> gboolean;
11394    pub fn g_data_output_stream_put_uint32(
11395        stream: *mut GDataOutputStream,
11396        data: u32,
11397        cancellable: *mut GCancellable,
11398        error: *mut *mut glib::GError,
11399    ) -> gboolean;
11400    pub fn g_data_output_stream_put_uint64(
11401        stream: *mut GDataOutputStream,
11402        data: u64,
11403        cancellable: *mut GCancellable,
11404        error: *mut *mut glib::GError,
11405    ) -> gboolean;
11406    pub fn g_data_output_stream_set_byte_order(
11407        stream: *mut GDataOutputStream,
11408        order: GDataStreamByteOrder,
11409    );
11410
11411    //=========================================================================
11412    // GDebugControllerDBus
11413    //=========================================================================
11414    #[cfg(feature = "v2_72")]
11415    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11416    pub fn g_debug_controller_dbus_get_type() -> GType;
11417    #[cfg(feature = "v2_72")]
11418    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11419    pub fn g_debug_controller_dbus_new(
11420        connection: *mut GDBusConnection,
11421        cancellable: *mut GCancellable,
11422        error: *mut *mut glib::GError,
11423    ) -> *mut GDebugControllerDBus;
11424    #[cfg(feature = "v2_72")]
11425    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11426    pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus);
11427
11428    //=========================================================================
11429    // GEmblem
11430    //=========================================================================
11431    pub fn g_emblem_get_type() -> GType;
11432    pub fn g_emblem_new(icon: *mut GIcon) -> *mut GEmblem;
11433    pub fn g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin) -> *mut GEmblem;
11434    pub fn g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon;
11435    pub fn g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin;
11436
11437    //=========================================================================
11438    // GEmblemedIcon
11439    //=========================================================================
11440    pub fn g_emblemed_icon_get_type() -> GType;
11441    pub fn g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GEmblemedIcon;
11442    pub fn g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem);
11443    pub fn g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon);
11444    pub fn g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut glib::GList;
11445    pub fn g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon;
11446
11447    //=========================================================================
11448    // GFileEnumerator
11449    //=========================================================================
11450    pub fn g_file_enumerator_get_type() -> GType;
11451    pub fn g_file_enumerator_close(
11452        enumerator: *mut GFileEnumerator,
11453        cancellable: *mut GCancellable,
11454        error: *mut *mut glib::GError,
11455    ) -> gboolean;
11456    pub fn g_file_enumerator_close_async(
11457        enumerator: *mut GFileEnumerator,
11458        io_priority: c_int,
11459        cancellable: *mut GCancellable,
11460        callback: GAsyncReadyCallback,
11461        user_data: gpointer,
11462    );
11463    pub fn g_file_enumerator_close_finish(
11464        enumerator: *mut GFileEnumerator,
11465        result: *mut GAsyncResult,
11466        error: *mut *mut glib::GError,
11467    ) -> gboolean;
11468    pub fn g_file_enumerator_get_child(
11469        enumerator: *mut GFileEnumerator,
11470        info: *mut GFileInfo,
11471    ) -> *mut GFile;
11472    pub fn g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile;
11473    pub fn g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean;
11474    pub fn g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean;
11475    pub fn g_file_enumerator_iterate(
11476        direnum: *mut GFileEnumerator,
11477        out_info: *mut *mut GFileInfo,
11478        out_child: *mut *mut GFile,
11479        cancellable: *mut GCancellable,
11480        error: *mut *mut glib::GError,
11481    ) -> gboolean;
11482    pub fn g_file_enumerator_next_file(
11483        enumerator: *mut GFileEnumerator,
11484        cancellable: *mut GCancellable,
11485        error: *mut *mut glib::GError,
11486    ) -> *mut GFileInfo;
11487    pub fn g_file_enumerator_next_files_async(
11488        enumerator: *mut GFileEnumerator,
11489        num_files: c_int,
11490        io_priority: c_int,
11491        cancellable: *mut GCancellable,
11492        callback: GAsyncReadyCallback,
11493        user_data: gpointer,
11494    );
11495    pub fn g_file_enumerator_next_files_finish(
11496        enumerator: *mut GFileEnumerator,
11497        result: *mut GAsyncResult,
11498        error: *mut *mut glib::GError,
11499    ) -> *mut glib::GList;
11500    pub fn g_file_enumerator_set_pending(enumerator: *mut GFileEnumerator, pending: gboolean);
11501
11502    //=========================================================================
11503    // GFileIOStream
11504    //=========================================================================
11505    pub fn g_file_io_stream_get_type() -> GType;
11506    pub fn g_file_io_stream_get_etag(stream: *mut GFileIOStream) -> *mut c_char;
11507    pub fn g_file_io_stream_query_info(
11508        stream: *mut GFileIOStream,
11509        attributes: *const c_char,
11510        cancellable: *mut GCancellable,
11511        error: *mut *mut glib::GError,
11512    ) -> *mut GFileInfo;
11513    pub fn g_file_io_stream_query_info_async(
11514        stream: *mut GFileIOStream,
11515        attributes: *const c_char,
11516        io_priority: c_int,
11517        cancellable: *mut GCancellable,
11518        callback: GAsyncReadyCallback,
11519        user_data: gpointer,
11520    );
11521    pub fn g_file_io_stream_query_info_finish(
11522        stream: *mut GFileIOStream,
11523        result: *mut GAsyncResult,
11524        error: *mut *mut glib::GError,
11525    ) -> *mut GFileInfo;
11526
11527    //=========================================================================
11528    // GFileIcon
11529    //=========================================================================
11530    pub fn g_file_icon_get_type() -> GType;
11531    pub fn g_file_icon_new(file: *mut GFile) -> *mut GFileIcon;
11532    pub fn g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile;
11533
11534    //=========================================================================
11535    // GFileInfo
11536    //=========================================================================
11537    pub fn g_file_info_get_type() -> GType;
11538    pub fn g_file_info_new() -> *mut GFileInfo;
11539    pub fn g_file_info_clear_status(info: *mut GFileInfo);
11540    pub fn g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo);
11541    pub fn g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo;
11542    #[cfg(feature = "v2_70")]
11543    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11544    pub fn g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11545    pub fn g_file_info_get_attribute_as_string(
11546        info: *mut GFileInfo,
11547        attribute: *const c_char,
11548    ) -> *mut c_char;
11549    pub fn g_file_info_get_attribute_boolean(
11550        info: *mut GFileInfo,
11551        attribute: *const c_char,
11552    ) -> gboolean;
11553    pub fn g_file_info_get_attribute_byte_string(
11554        info: *mut GFileInfo,
11555        attribute: *const c_char,
11556    ) -> *const c_char;
11557    pub fn g_file_info_get_attribute_data(
11558        info: *mut GFileInfo,
11559        attribute: *const c_char,
11560        type_: *mut GFileAttributeType,
11561        value_pp: *mut gpointer,
11562        status: *mut GFileAttributeStatus,
11563    ) -> gboolean;
11564    #[cfg(feature = "v2_78")]
11565    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11566    pub fn g_file_info_get_attribute_file_path(
11567        info: *mut GFileInfo,
11568        attribute: *const c_char,
11569    ) -> *const c_char;
11570    pub fn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32;
11571    pub fn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64;
11572    pub fn g_file_info_get_attribute_object(
11573        info: *mut GFileInfo,
11574        attribute: *const c_char,
11575    ) -> *mut gobject::GObject;
11576    pub fn g_file_info_get_attribute_status(
11577        info: *mut GFileInfo,
11578        attribute: *const c_char,
11579    ) -> GFileAttributeStatus;
11580    pub fn g_file_info_get_attribute_string(
11581        info: *mut GFileInfo,
11582        attribute: *const c_char,
11583    ) -> *const c_char;
11584    pub fn g_file_info_get_attribute_stringv(
11585        info: *mut GFileInfo,
11586        attribute: *const c_char,
11587    ) -> *mut *mut c_char;
11588    pub fn g_file_info_get_attribute_type(
11589        info: *mut GFileInfo,
11590        attribute: *const c_char,
11591    ) -> GFileAttributeType;
11592    pub fn g_file_info_get_attribute_uint32(info: *mut GFileInfo, attribute: *const c_char) -> u32;
11593    pub fn g_file_info_get_attribute_uint64(info: *mut GFileInfo, attribute: *const c_char) -> u64;
11594    pub fn g_file_info_get_content_type(info: *mut GFileInfo) -> *const c_char;
11595    #[cfg(feature = "v2_70")]
11596    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11597    pub fn g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11598    pub fn g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut glib::GDateTime;
11599    pub fn g_file_info_get_display_name(info: *mut GFileInfo) -> *const c_char;
11600    pub fn g_file_info_get_edit_name(info: *mut GFileInfo) -> *const c_char;
11601    pub fn g_file_info_get_etag(info: *mut GFileInfo) -> *const c_char;
11602    pub fn g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType;
11603    pub fn g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon;
11604    pub fn g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean;
11605    pub fn g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean;
11606    pub fn g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean;
11607    #[cfg(feature = "v2_62")]
11608    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11609    pub fn g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11610    pub fn g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut glib::GTimeVal);
11611    pub fn g_file_info_get_name(info: *mut GFileInfo) -> *const c_char;
11612    pub fn g_file_info_get_size(info: *mut GFileInfo) -> i64;
11613    pub fn g_file_info_get_sort_order(info: *mut GFileInfo) -> i32;
11614    pub fn g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon;
11615    pub fn g_file_info_get_symlink_target(info: *mut GFileInfo) -> *const c_char;
11616    pub fn g_file_info_has_attribute(info: *mut GFileInfo, attribute: *const c_char) -> gboolean;
11617    pub fn g_file_info_has_namespace(info: *mut GFileInfo, name_space: *const c_char) -> gboolean;
11618    pub fn g_file_info_list_attributes(
11619        info: *mut GFileInfo,
11620        name_space: *const c_char,
11621    ) -> *mut *mut c_char;
11622    pub fn g_file_info_remove_attribute(info: *mut GFileInfo, attribute: *const c_char);
11623    #[cfg(feature = "v2_70")]
11624    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11625    pub fn g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut glib::GDateTime);
11626    pub fn g_file_info_set_attribute(
11627        info: *mut GFileInfo,
11628        attribute: *const c_char,
11629        type_: GFileAttributeType,
11630        value_p: gpointer,
11631    );
11632    pub fn g_file_info_set_attribute_boolean(
11633        info: *mut GFileInfo,
11634        attribute: *const c_char,
11635        attr_value: gboolean,
11636    );
11637    pub fn g_file_info_set_attribute_byte_string(
11638        info: *mut GFileInfo,
11639        attribute: *const c_char,
11640        attr_value: *const c_char,
11641    );
11642    #[cfg(feature = "v2_78")]
11643    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11644    pub fn g_file_info_set_attribute_file_path(
11645        info: *mut GFileInfo,
11646        attribute: *const c_char,
11647        attr_value: *const c_char,
11648    );
11649    pub fn g_file_info_set_attribute_int32(
11650        info: *mut GFileInfo,
11651        attribute: *const c_char,
11652        attr_value: i32,
11653    );
11654    pub fn g_file_info_set_attribute_int64(
11655        info: *mut GFileInfo,
11656        attribute: *const c_char,
11657        attr_value: i64,
11658    );
11659    pub fn g_file_info_set_attribute_mask(info: *mut GFileInfo, mask: *mut GFileAttributeMatcher);
11660    pub fn g_file_info_set_attribute_object(
11661        info: *mut GFileInfo,
11662        attribute: *const c_char,
11663        attr_value: *mut gobject::GObject,
11664    );
11665    pub fn g_file_info_set_attribute_status(
11666        info: *mut GFileInfo,
11667        attribute: *const c_char,
11668        status: GFileAttributeStatus,
11669    ) -> gboolean;
11670    pub fn g_file_info_set_attribute_string(
11671        info: *mut GFileInfo,
11672        attribute: *const c_char,
11673        attr_value: *const c_char,
11674    );
11675    pub fn g_file_info_set_attribute_stringv(
11676        info: *mut GFileInfo,
11677        attribute: *const c_char,
11678        attr_value: *mut *mut c_char,
11679    );
11680    pub fn g_file_info_set_attribute_uint32(
11681        info: *mut GFileInfo,
11682        attribute: *const c_char,
11683        attr_value: u32,
11684    );
11685    pub fn g_file_info_set_attribute_uint64(
11686        info: *mut GFileInfo,
11687        attribute: *const c_char,
11688        attr_value: u64,
11689    );
11690    pub fn g_file_info_set_content_type(info: *mut GFileInfo, content_type: *const c_char);
11691    #[cfg(feature = "v2_70")]
11692    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11693    pub fn g_file_info_set_creation_date_time(
11694        info: *mut GFileInfo,
11695        creation_time: *mut glib::GDateTime,
11696    );
11697    pub fn g_file_info_set_display_name(info: *mut GFileInfo, display_name: *const c_char);
11698    pub fn g_file_info_set_edit_name(info: *mut GFileInfo, edit_name: *const c_char);
11699    pub fn g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType);
11700    pub fn g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon);
11701    pub fn g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean);
11702    pub fn g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean);
11703    #[cfg(feature = "v2_62")]
11704    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11705    pub fn g_file_info_set_modification_date_time(
11706        info: *mut GFileInfo,
11707        mtime: *mut glib::GDateTime,
11708    );
11709    pub fn g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut glib::GTimeVal);
11710    pub fn g_file_info_set_name(info: *mut GFileInfo, name: *const c_char);
11711    pub fn g_file_info_set_size(info: *mut GFileInfo, size: i64);
11712    pub fn g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: i32);
11713    pub fn g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon);
11714    pub fn g_file_info_set_symlink_target(info: *mut GFileInfo, symlink_target: *const c_char);
11715    pub fn g_file_info_unset_attribute_mask(info: *mut GFileInfo);
11716
11717    //=========================================================================
11718    // GFileInputStream
11719    //=========================================================================
11720    pub fn g_file_input_stream_get_type() -> GType;
11721    pub fn g_file_input_stream_query_info(
11722        stream: *mut GFileInputStream,
11723        attributes: *const c_char,
11724        cancellable: *mut GCancellable,
11725        error: *mut *mut glib::GError,
11726    ) -> *mut GFileInfo;
11727    pub fn g_file_input_stream_query_info_async(
11728        stream: *mut GFileInputStream,
11729        attributes: *const c_char,
11730        io_priority: c_int,
11731        cancellable: *mut GCancellable,
11732        callback: GAsyncReadyCallback,
11733        user_data: gpointer,
11734    );
11735    pub fn g_file_input_stream_query_info_finish(
11736        stream: *mut GFileInputStream,
11737        result: *mut GAsyncResult,
11738        error: *mut *mut glib::GError,
11739    ) -> *mut GFileInfo;
11740
11741    //=========================================================================
11742    // GFileMonitor
11743    //=========================================================================
11744    pub fn g_file_monitor_get_type() -> GType;
11745    pub fn g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean;
11746    pub fn g_file_monitor_emit_event(
11747        monitor: *mut GFileMonitor,
11748        child: *mut GFile,
11749        other_file: *mut GFile,
11750        event_type: GFileMonitorEvent,
11751    );
11752    pub fn g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean;
11753    pub fn g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: c_int);
11754
11755    //=========================================================================
11756    // GFileOutputStream
11757    //=========================================================================
11758    pub fn g_file_output_stream_get_type() -> GType;
11759    pub fn g_file_output_stream_get_etag(stream: *mut GFileOutputStream) -> *mut c_char;
11760    pub fn g_file_output_stream_query_info(
11761        stream: *mut GFileOutputStream,
11762        attributes: *const c_char,
11763        cancellable: *mut GCancellable,
11764        error: *mut *mut glib::GError,
11765    ) -> *mut GFileInfo;
11766    pub fn g_file_output_stream_query_info_async(
11767        stream: *mut GFileOutputStream,
11768        attributes: *const c_char,
11769        io_priority: c_int,
11770        cancellable: *mut GCancellable,
11771        callback: GAsyncReadyCallback,
11772        user_data: gpointer,
11773    );
11774    pub fn g_file_output_stream_query_info_finish(
11775        stream: *mut GFileOutputStream,
11776        result: *mut GAsyncResult,
11777        error: *mut *mut glib::GError,
11778    ) -> *mut GFileInfo;
11779
11780    //=========================================================================
11781    // GFilenameCompleter
11782    //=========================================================================
11783    pub fn g_filename_completer_get_type() -> GType;
11784    pub fn g_filename_completer_new() -> *mut GFilenameCompleter;
11785    pub fn g_filename_completer_get_completion_suffix(
11786        completer: *mut GFilenameCompleter,
11787        initial_text: *const c_char,
11788    ) -> *mut c_char;
11789    pub fn g_filename_completer_get_completions(
11790        completer: *mut GFilenameCompleter,
11791        initial_text: *const c_char,
11792    ) -> *mut *mut c_char;
11793    pub fn g_filename_completer_set_dirs_only(
11794        completer: *mut GFilenameCompleter,
11795        dirs_only: gboolean,
11796    );
11797
11798    //=========================================================================
11799    // GFilterInputStream
11800    //=========================================================================
11801    pub fn g_filter_input_stream_get_type() -> GType;
11802    pub fn g_filter_input_stream_get_base_stream(
11803        stream: *mut GFilterInputStream,
11804    ) -> *mut GInputStream;
11805    pub fn g_filter_input_stream_get_close_base_stream(stream: *mut GFilterInputStream)
11806    -> gboolean;
11807    pub fn g_filter_input_stream_set_close_base_stream(
11808        stream: *mut GFilterInputStream,
11809        close_base: gboolean,
11810    );
11811
11812    //=========================================================================
11813    // GFilterOutputStream
11814    //=========================================================================
11815    pub fn g_filter_output_stream_get_type() -> GType;
11816    pub fn g_filter_output_stream_get_base_stream(
11817        stream: *mut GFilterOutputStream,
11818    ) -> *mut GOutputStream;
11819    pub fn g_filter_output_stream_get_close_base_stream(
11820        stream: *mut GFilterOutputStream,
11821    ) -> gboolean;
11822    pub fn g_filter_output_stream_set_close_base_stream(
11823        stream: *mut GFilterOutputStream,
11824        close_base: gboolean,
11825    );
11826
11827    //=========================================================================
11828    // GIOModule
11829    //=========================================================================
11830    pub fn g_io_module_get_type() -> GType;
11831    pub fn g_io_module_new(filename: *const c_char) -> *mut GIOModule;
11832    pub fn g_io_module_query() -> *mut *mut c_char;
11833    pub fn g_io_module_load(module: *mut GIOModule);
11834    pub fn g_io_module_unload(module: *mut GIOModule);
11835
11836    //=========================================================================
11837    // GIOStream
11838    //=========================================================================
11839    pub fn g_io_stream_get_type() -> GType;
11840    pub fn g_io_stream_splice_finish(
11841        result: *mut GAsyncResult,
11842        error: *mut *mut glib::GError,
11843    ) -> gboolean;
11844    pub fn g_io_stream_clear_pending(stream: *mut GIOStream);
11845    pub fn g_io_stream_close(
11846        stream: *mut GIOStream,
11847        cancellable: *mut GCancellable,
11848        error: *mut *mut glib::GError,
11849    ) -> gboolean;
11850    pub fn g_io_stream_close_async(
11851        stream: *mut GIOStream,
11852        io_priority: c_int,
11853        cancellable: *mut GCancellable,
11854        callback: GAsyncReadyCallback,
11855        user_data: gpointer,
11856    );
11857    pub fn g_io_stream_close_finish(
11858        stream: *mut GIOStream,
11859        result: *mut GAsyncResult,
11860        error: *mut *mut glib::GError,
11861    ) -> gboolean;
11862    pub fn g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream;
11863    pub fn g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream;
11864    pub fn g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean;
11865    pub fn g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean;
11866    pub fn g_io_stream_set_pending(
11867        stream: *mut GIOStream,
11868        error: *mut *mut glib::GError,
11869    ) -> gboolean;
11870    pub fn g_io_stream_splice_async(
11871        stream1: *mut GIOStream,
11872        stream2: *mut GIOStream,
11873        flags: GIOStreamSpliceFlags,
11874        io_priority: c_int,
11875        cancellable: *mut GCancellable,
11876        callback: GAsyncReadyCallback,
11877        user_data: gpointer,
11878    );
11879
11880    //=========================================================================
11881    // GIPTosMessage
11882    //=========================================================================
11883    #[cfg(feature = "v2_88")]
11884    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11885    pub fn g_ip_tos_message_get_type() -> GType;
11886    #[cfg(feature = "v2_88")]
11887    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11888    pub fn g_ip_tos_message_new(dscp: u8, ecn: GEcnCodePoint) -> *mut GSocketControlMessage;
11889    #[cfg(feature = "v2_88")]
11890    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11891    pub fn g_ip_tos_message_get_dscp(message: *mut GIPTosMessage) -> u8;
11892    #[cfg(feature = "v2_88")]
11893    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11894    pub fn g_ip_tos_message_get_ecn(message: *mut GIPTosMessage) -> GEcnCodePoint;
11895
11896    //=========================================================================
11897    // GIPv6TclassMessage
11898    //=========================================================================
11899    #[cfg(feature = "v2_88")]
11900    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11901    pub fn g_ipv6_tclass_message_get_type() -> GType;
11902    #[cfg(feature = "v2_88")]
11903    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11904    pub fn g_ipv6_tclass_message_new(dscp: u8, ecn: GEcnCodePoint) -> *mut GSocketControlMessage;
11905    #[cfg(feature = "v2_88")]
11906    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11907    pub fn g_ipv6_tclass_message_get_dscp(message: *mut GIPv6TclassMessage) -> u8;
11908    #[cfg(feature = "v2_88")]
11909    #[cfg_attr(docsrs, doc(cfg(feature = "v2_88")))]
11910    pub fn g_ipv6_tclass_message_get_ecn(message: *mut GIPv6TclassMessage) -> GEcnCodePoint;
11911
11912    //=========================================================================
11913    // GInetAddress
11914    //=========================================================================
11915    pub fn g_inet_address_get_type() -> GType;
11916    pub fn g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress;
11917    pub fn g_inet_address_new_from_bytes(
11918        bytes: *const u8,
11919        family: GSocketFamily,
11920    ) -> *mut GInetAddress;
11921    #[cfg(feature = "v2_86")]
11922    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11923    pub fn g_inet_address_new_from_bytes_with_ipv6_info(
11924        bytes: *const u8,
11925        family: GSocketFamily,
11926        flowinfo: u32,
11927        scope_id: u32,
11928    ) -> *mut GInetAddress;
11929    pub fn g_inet_address_new_from_string(string: *const c_char) -> *mut GInetAddress;
11930    pub fn g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress;
11931    pub fn g_inet_address_equal(
11932        address: *mut GInetAddress,
11933        other_address: *mut GInetAddress,
11934    ) -> gboolean;
11935    pub fn g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily;
11936    #[cfg(feature = "v2_86")]
11937    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11938    pub fn g_inet_address_get_flowinfo(address: *mut GInetAddress) -> u32;
11939    pub fn g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean;
11940    pub fn g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean;
11941    pub fn g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean;
11942    pub fn g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean;
11943    pub fn g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean;
11944    pub fn g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean;
11945    pub fn g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean;
11946    pub fn g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean;
11947    pub fn g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean;
11948    pub fn g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean;
11949    pub fn g_inet_address_get_native_size(address: *mut GInetAddress) -> size_t;
11950    #[cfg(feature = "v2_86")]
11951    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11952    pub fn g_inet_address_get_scope_id(address: *mut GInetAddress) -> u32;
11953    pub fn g_inet_address_to_bytes(address: *mut GInetAddress) -> *const u8;
11954    pub fn g_inet_address_to_string(address: *mut GInetAddress) -> *mut c_char;
11955
11956    //=========================================================================
11957    // GInetAddressMask
11958    //=========================================================================
11959    pub fn g_inet_address_mask_get_type() -> GType;
11960    pub fn g_inet_address_mask_new(
11961        addr: *mut GInetAddress,
11962        length: c_uint,
11963        error: *mut *mut glib::GError,
11964    ) -> *mut GInetAddressMask;
11965    pub fn g_inet_address_mask_new_from_string(
11966        mask_string: *const c_char,
11967        error: *mut *mut glib::GError,
11968    ) -> *mut GInetAddressMask;
11969    pub fn g_inet_address_mask_equal(
11970        mask: *mut GInetAddressMask,
11971        mask2: *mut GInetAddressMask,
11972    ) -> gboolean;
11973    pub fn g_inet_address_mask_get_address(mask: *mut GInetAddressMask) -> *mut GInetAddress;
11974    pub fn g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily;
11975    pub fn g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> c_uint;
11976    pub fn g_inet_address_mask_matches(
11977        mask: *mut GInetAddressMask,
11978        address: *mut GInetAddress,
11979    ) -> gboolean;
11980    pub fn g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut c_char;
11981
11982    //=========================================================================
11983    // GInetSocketAddress
11984    //=========================================================================
11985    pub fn g_inet_socket_address_get_type() -> GType;
11986    pub fn g_inet_socket_address_new(address: *mut GInetAddress, port: u16) -> *mut GSocketAddress;
11987    pub fn g_inet_socket_address_new_from_string(
11988        address: *const c_char,
11989        port: c_uint,
11990    ) -> *mut GSocketAddress;
11991    pub fn g_inet_socket_address_get_address(address: *mut GInetSocketAddress)
11992    -> *mut GInetAddress;
11993    pub fn g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> u32;
11994    pub fn g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> u16;
11995    pub fn g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> u32;
11996
11997    //=========================================================================
11998    // GInputStream
11999    //=========================================================================
12000    pub fn g_input_stream_get_type() -> GType;
12001    pub fn g_input_stream_clear_pending(stream: *mut GInputStream);
12002    pub fn g_input_stream_close(
12003        stream: *mut GInputStream,
12004        cancellable: *mut GCancellable,
12005        error: *mut *mut glib::GError,
12006    ) -> gboolean;
12007    pub fn g_input_stream_close_async(
12008        stream: *mut GInputStream,
12009        io_priority: c_int,
12010        cancellable: *mut GCancellable,
12011        callback: GAsyncReadyCallback,
12012        user_data: gpointer,
12013    );
12014    pub fn g_input_stream_close_finish(
12015        stream: *mut GInputStream,
12016        result: *mut GAsyncResult,
12017        error: *mut *mut glib::GError,
12018    ) -> gboolean;
12019    pub fn g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean;
12020    pub fn g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean;
12021    pub fn g_input_stream_read(
12022        stream: *mut GInputStream,
12023        buffer: *mut u8,
12024        count: size_t,
12025        cancellable: *mut GCancellable,
12026        error: *mut *mut glib::GError,
12027    ) -> ssize_t;
12028    pub fn g_input_stream_read_all(
12029        stream: *mut GInputStream,
12030        buffer: *mut u8,
12031        count: size_t,
12032        bytes_read: *mut size_t,
12033        cancellable: *mut GCancellable,
12034        error: *mut *mut glib::GError,
12035    ) -> gboolean;
12036    pub fn g_input_stream_read_all_async(
12037        stream: *mut GInputStream,
12038        buffer: *mut u8,
12039        count: size_t,
12040        io_priority: c_int,
12041        cancellable: *mut GCancellable,
12042        callback: GAsyncReadyCallback,
12043        user_data: gpointer,
12044    );
12045    pub fn g_input_stream_read_all_finish(
12046        stream: *mut GInputStream,
12047        result: *mut GAsyncResult,
12048        bytes_read: *mut size_t,
12049        error: *mut *mut glib::GError,
12050    ) -> gboolean;
12051    pub fn g_input_stream_read_async(
12052        stream: *mut GInputStream,
12053        buffer: *mut u8,
12054        count: size_t,
12055        io_priority: c_int,
12056        cancellable: *mut GCancellable,
12057        callback: GAsyncReadyCallback,
12058        user_data: gpointer,
12059    );
12060    pub fn g_input_stream_read_bytes(
12061        stream: *mut GInputStream,
12062        count: size_t,
12063        cancellable: *mut GCancellable,
12064        error: *mut *mut glib::GError,
12065    ) -> *mut glib::GBytes;
12066    pub fn g_input_stream_read_bytes_async(
12067        stream: *mut GInputStream,
12068        count: size_t,
12069        io_priority: c_int,
12070        cancellable: *mut GCancellable,
12071        callback: GAsyncReadyCallback,
12072        user_data: gpointer,
12073    );
12074    pub fn g_input_stream_read_bytes_finish(
12075        stream: *mut GInputStream,
12076        result: *mut GAsyncResult,
12077        error: *mut *mut glib::GError,
12078    ) -> *mut glib::GBytes;
12079    pub fn g_input_stream_read_finish(
12080        stream: *mut GInputStream,
12081        result: *mut GAsyncResult,
12082        error: *mut *mut glib::GError,
12083    ) -> ssize_t;
12084    pub fn g_input_stream_set_pending(
12085        stream: *mut GInputStream,
12086        error: *mut *mut glib::GError,
12087    ) -> gboolean;
12088    pub fn g_input_stream_skip(
12089        stream: *mut GInputStream,
12090        count: size_t,
12091        cancellable: *mut GCancellable,
12092        error: *mut *mut glib::GError,
12093    ) -> ssize_t;
12094    pub fn g_input_stream_skip_async(
12095        stream: *mut GInputStream,
12096        count: size_t,
12097        io_priority: c_int,
12098        cancellable: *mut GCancellable,
12099        callback: GAsyncReadyCallback,
12100        user_data: gpointer,
12101    );
12102    pub fn g_input_stream_skip_finish(
12103        stream: *mut GInputStream,
12104        result: *mut GAsyncResult,
12105        error: *mut *mut glib::GError,
12106    ) -> ssize_t;
12107
12108    //=========================================================================
12109    // GListStore
12110    //=========================================================================
12111    pub fn g_list_store_get_type() -> GType;
12112    pub fn g_list_store_new(item_type: GType) -> *mut GListStore;
12113    pub fn g_list_store_append(store: *mut GListStore, item: *mut gobject::GObject);
12114    #[cfg(feature = "v2_64")]
12115    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12116    pub fn g_list_store_find(
12117        store: *mut GListStore,
12118        item: *mut gobject::GObject,
12119        position: *mut c_uint,
12120    ) -> gboolean;
12121    #[cfg(feature = "v2_64")]
12122    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12123    pub fn g_list_store_find_with_equal_func(
12124        store: *mut GListStore,
12125        item: *mut gobject::GObject,
12126        equal_func: glib::GEqualFunc,
12127        position: *mut c_uint,
12128    ) -> gboolean;
12129    #[cfg(feature = "v2_74")]
12130    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
12131    pub fn g_list_store_find_with_equal_func_full(
12132        store: *mut GListStore,
12133        item: *mut gobject::GObject,
12134        equal_func: glib::GEqualFuncFull,
12135        user_data: gpointer,
12136        position: *mut c_uint,
12137    ) -> gboolean;
12138    pub fn g_list_store_insert(
12139        store: *mut GListStore,
12140        position: c_uint,
12141        item: *mut gobject::GObject,
12142    );
12143    pub fn g_list_store_insert_sorted(
12144        store: *mut GListStore,
12145        item: *mut gobject::GObject,
12146        compare_func: glib::GCompareDataFunc,
12147        user_data: gpointer,
12148    ) -> c_uint;
12149    pub fn g_list_store_remove(store: *mut GListStore, position: c_uint);
12150    pub fn g_list_store_remove_all(store: *mut GListStore);
12151    pub fn g_list_store_sort(
12152        store: *mut GListStore,
12153        compare_func: glib::GCompareDataFunc,
12154        user_data: gpointer,
12155    );
12156    pub fn g_list_store_splice(
12157        store: *mut GListStore,
12158        position: c_uint,
12159        n_removals: c_uint,
12160        additions: *mut *mut gobject::GObject,
12161        n_additions: c_uint,
12162    );
12163
12164    //=========================================================================
12165    // GMemoryInputStream
12166    //=========================================================================
12167    pub fn g_memory_input_stream_get_type() -> GType;
12168    pub fn g_memory_input_stream_new() -> *mut GInputStream;
12169    pub fn g_memory_input_stream_new_from_bytes(bytes: *mut glib::GBytes) -> *mut GInputStream;
12170    pub fn g_memory_input_stream_new_from_data(
12171        data: *mut u8,
12172        len: ssize_t,
12173        destroy: glib::GDestroyNotify,
12174    ) -> *mut GInputStream;
12175    pub fn g_memory_input_stream_add_bytes(
12176        stream: *mut GMemoryInputStream,
12177        bytes: *mut glib::GBytes,
12178    );
12179    pub fn g_memory_input_stream_add_data(
12180        stream: *mut GMemoryInputStream,
12181        data: *mut u8,
12182        len: ssize_t,
12183        destroy: glib::GDestroyNotify,
12184    );
12185
12186    //=========================================================================
12187    // GMemoryOutputStream
12188    //=========================================================================
12189    pub fn g_memory_output_stream_get_type() -> GType;
12190    pub fn g_memory_output_stream_new(
12191        data: gpointer,
12192        size: size_t,
12193        realloc_function: GReallocFunc,
12194        destroy_function: glib::GDestroyNotify,
12195    ) -> *mut GOutputStream;
12196    pub fn g_memory_output_stream_new_resizable() -> *mut GOutputStream;
12197    pub fn g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12198    pub fn g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> size_t;
12199    pub fn g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> size_t;
12200    pub fn g_memory_output_stream_steal_as_bytes(
12201        ostream: *mut GMemoryOutputStream,
12202    ) -> *mut glib::GBytes;
12203    pub fn g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12204
12205    //=========================================================================
12206    // GMenu
12207    //=========================================================================
12208    pub fn g_menu_get_type() -> GType;
12209    pub fn g_menu_new() -> *mut GMenu;
12210    pub fn g_menu_append(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12211    pub fn g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem);
12212    pub fn g_menu_append_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12213    pub fn g_menu_append_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12214    pub fn g_menu_freeze(menu: *mut GMenu);
12215    pub fn g_menu_insert(
12216        menu: *mut GMenu,
12217        position: c_int,
12218        label: *const c_char,
12219        detailed_action: *const c_char,
12220    );
12221    pub fn g_menu_insert_item(menu: *mut GMenu, position: c_int, item: *mut GMenuItem);
12222    pub fn g_menu_insert_section(
12223        menu: *mut GMenu,
12224        position: c_int,
12225        label: *const c_char,
12226        section: *mut GMenuModel,
12227    );
12228    pub fn g_menu_insert_submenu(
12229        menu: *mut GMenu,
12230        position: c_int,
12231        label: *const c_char,
12232        submenu: *mut GMenuModel,
12233    );
12234    pub fn g_menu_prepend(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12235    pub fn g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem);
12236    pub fn g_menu_prepend_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12237    pub fn g_menu_prepend_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12238    pub fn g_menu_remove(menu: *mut GMenu, position: c_int);
12239    pub fn g_menu_remove_all(menu: *mut GMenu);
12240
12241    //=========================================================================
12242    // GMenuAttributeIter
12243    //=========================================================================
12244    pub fn g_menu_attribute_iter_get_type() -> GType;
12245    pub fn g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const c_char;
12246    pub fn g_menu_attribute_iter_get_next(
12247        iter: *mut GMenuAttributeIter,
12248        out_name: *mut *const c_char,
12249        value: *mut *mut glib::GVariant,
12250    ) -> gboolean;
12251    pub fn g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut glib::GVariant;
12252    pub fn g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean;
12253
12254    //=========================================================================
12255    // GMenuItem
12256    //=========================================================================
12257    pub fn g_menu_item_get_type() -> GType;
12258    pub fn g_menu_item_new(label: *const c_char, detailed_action: *const c_char) -> *mut GMenuItem;
12259    pub fn g_menu_item_new_from_model(model: *mut GMenuModel, item_index: c_int) -> *mut GMenuItem;
12260    pub fn g_menu_item_new_section(
12261        label: *const c_char,
12262        section: *mut GMenuModel,
12263    ) -> *mut GMenuItem;
12264    pub fn g_menu_item_new_submenu(
12265        label: *const c_char,
12266        submenu: *mut GMenuModel,
12267    ) -> *mut GMenuItem;
12268    pub fn g_menu_item_get_attribute(
12269        menu_item: *mut GMenuItem,
12270        attribute: *const c_char,
12271        format_string: *const c_char,
12272        ...
12273    ) -> gboolean;
12274    pub fn g_menu_item_get_attribute_value(
12275        menu_item: *mut GMenuItem,
12276        attribute: *const c_char,
12277        expected_type: *const glib::GVariantType,
12278    ) -> *mut glib::GVariant;
12279    pub fn g_menu_item_get_link(menu_item: *mut GMenuItem, link: *const c_char) -> *mut GMenuModel;
12280    pub fn g_menu_item_set_action_and_target(
12281        menu_item: *mut GMenuItem,
12282        action: *const c_char,
12283        format_string: *const c_char,
12284        ...
12285    );
12286    pub fn g_menu_item_set_action_and_target_value(
12287        menu_item: *mut GMenuItem,
12288        action: *const c_char,
12289        target_value: *mut glib::GVariant,
12290    );
12291    pub fn g_menu_item_set_attribute(
12292        menu_item: *mut GMenuItem,
12293        attribute: *const c_char,
12294        format_string: *const c_char,
12295        ...
12296    );
12297    pub fn g_menu_item_set_attribute_value(
12298        menu_item: *mut GMenuItem,
12299        attribute: *const c_char,
12300        value: *mut glib::GVariant,
12301    );
12302    pub fn g_menu_item_set_detailed_action(
12303        menu_item: *mut GMenuItem,
12304        detailed_action: *const c_char,
12305    );
12306    pub fn g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon);
12307    pub fn g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const c_char);
12308    pub fn g_menu_item_set_link(
12309        menu_item: *mut GMenuItem,
12310        link: *const c_char,
12311        model: *mut GMenuModel,
12312    );
12313    pub fn g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel);
12314    pub fn g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel);
12315
12316    //=========================================================================
12317    // GMenuLinkIter
12318    //=========================================================================
12319    pub fn g_menu_link_iter_get_type() -> GType;
12320    pub fn g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const c_char;
12321    pub fn g_menu_link_iter_get_next(
12322        iter: *mut GMenuLinkIter,
12323        out_link: *mut *const c_char,
12324        value: *mut *mut GMenuModel,
12325    ) -> gboolean;
12326    pub fn g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel;
12327    pub fn g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean;
12328
12329    //=========================================================================
12330    // GMenuModel
12331    //=========================================================================
12332    pub fn g_menu_model_get_type() -> GType;
12333    pub fn g_menu_model_get_item_attribute(
12334        model: *mut GMenuModel,
12335        item_index: c_int,
12336        attribute: *const c_char,
12337        format_string: *const c_char,
12338        ...
12339    ) -> gboolean;
12340    pub fn g_menu_model_get_item_attribute_value(
12341        model: *mut GMenuModel,
12342        item_index: c_int,
12343        attribute: *const c_char,
12344        expected_type: *const glib::GVariantType,
12345    ) -> *mut glib::GVariant;
12346    pub fn g_menu_model_get_item_link(
12347        model: *mut GMenuModel,
12348        item_index: c_int,
12349        link: *const c_char,
12350    ) -> *mut GMenuModel;
12351    pub fn g_menu_model_get_n_items(model: *mut GMenuModel) -> c_int;
12352    pub fn g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean;
12353    pub fn g_menu_model_items_changed(
12354        model: *mut GMenuModel,
12355        position: c_int,
12356        removed: c_int,
12357        added: c_int,
12358    );
12359    pub fn g_menu_model_iterate_item_attributes(
12360        model: *mut GMenuModel,
12361        item_index: c_int,
12362    ) -> *mut GMenuAttributeIter;
12363    pub fn g_menu_model_iterate_item_links(
12364        model: *mut GMenuModel,
12365        item_index: c_int,
12366    ) -> *mut GMenuLinkIter;
12367
12368    //=========================================================================
12369    // GMountOperation
12370    //=========================================================================
12371    pub fn g_mount_operation_get_type() -> GType;
12372    pub fn g_mount_operation_new() -> *mut GMountOperation;
12373    pub fn g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean;
12374    pub fn g_mount_operation_get_choice(op: *mut GMountOperation) -> c_int;
12375    pub fn g_mount_operation_get_domain(op: *mut GMountOperation) -> *const c_char;
12376    #[cfg(feature = "v2_58")]
12377    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12378    pub fn g_mount_operation_get_is_tcrypt_hidden_volume(op: *mut GMountOperation) -> gboolean;
12379    #[cfg(feature = "v2_58")]
12380    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12381    pub fn g_mount_operation_get_is_tcrypt_system_volume(op: *mut GMountOperation) -> gboolean;
12382    pub fn g_mount_operation_get_password(op: *mut GMountOperation) -> *const c_char;
12383    pub fn g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave;
12384    #[cfg(feature = "v2_58")]
12385    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12386    pub fn g_mount_operation_get_pim(op: *mut GMountOperation) -> c_uint;
12387    pub fn g_mount_operation_get_username(op: *mut GMountOperation) -> *const c_char;
12388    pub fn g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult);
12389    pub fn g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean);
12390    pub fn g_mount_operation_set_choice(op: *mut GMountOperation, choice: c_int);
12391    pub fn g_mount_operation_set_domain(op: *mut GMountOperation, domain: *const c_char);
12392    #[cfg(feature = "v2_58")]
12393    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12394    pub fn g_mount_operation_set_is_tcrypt_hidden_volume(
12395        op: *mut GMountOperation,
12396        hidden_volume: gboolean,
12397    );
12398    #[cfg(feature = "v2_58")]
12399    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12400    pub fn g_mount_operation_set_is_tcrypt_system_volume(
12401        op: *mut GMountOperation,
12402        system_volume: gboolean,
12403    );
12404    pub fn g_mount_operation_set_password(op: *mut GMountOperation, password: *const c_char);
12405    pub fn g_mount_operation_set_password_save(op: *mut GMountOperation, save: GPasswordSave);
12406    #[cfg(feature = "v2_58")]
12407    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12408    pub fn g_mount_operation_set_pim(op: *mut GMountOperation, pim: c_uint);
12409    pub fn g_mount_operation_set_username(op: *mut GMountOperation, username: *const c_char);
12410
12411    //=========================================================================
12412    // GNativeSocketAddress
12413    //=========================================================================
12414    pub fn g_native_socket_address_get_type() -> GType;
12415    pub fn g_native_socket_address_new(native: gpointer, len: size_t) -> *mut GSocketAddress;
12416
12417    //=========================================================================
12418    // GNativeVolumeMonitor
12419    //=========================================================================
12420    pub fn g_native_volume_monitor_get_type() -> GType;
12421
12422    //=========================================================================
12423    // GNetworkAddress
12424    //=========================================================================
12425    pub fn g_network_address_get_type() -> GType;
12426    pub fn g_network_address_new(hostname: *const c_char, port: u16) -> *mut GNetworkAddress;
12427    pub fn g_network_address_new_loopback(port: u16) -> *mut GNetworkAddress;
12428    pub fn g_network_address_parse(
12429        host_and_port: *const c_char,
12430        default_port: u16,
12431        error: *mut *mut glib::GError,
12432    ) -> *mut GNetworkAddress;
12433    pub fn g_network_address_parse_uri(
12434        uri: *const c_char,
12435        default_port: u16,
12436        error: *mut *mut glib::GError,
12437    ) -> *mut GNetworkAddress;
12438    pub fn g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const c_char;
12439    pub fn g_network_address_get_port(addr: *mut GNetworkAddress) -> u16;
12440    pub fn g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const c_char;
12441
12442    //=========================================================================
12443    // GNetworkService
12444    //=========================================================================
12445    pub fn g_network_service_get_type() -> GType;
12446    pub fn g_network_service_new(
12447        service: *const c_char,
12448        protocol: *const c_char,
12449        domain: *const c_char,
12450    ) -> *mut GNetworkService;
12451    pub fn g_network_service_get_domain(srv: *mut GNetworkService) -> *const c_char;
12452    pub fn g_network_service_get_protocol(srv: *mut GNetworkService) -> *const c_char;
12453    pub fn g_network_service_get_scheme(srv: *mut GNetworkService) -> *const c_char;
12454    pub fn g_network_service_get_service(srv: *mut GNetworkService) -> *const c_char;
12455    pub fn g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const c_char);
12456
12457    //=========================================================================
12458    // GNotification
12459    //=========================================================================
12460    pub fn g_notification_get_type() -> GType;
12461    pub fn g_notification_new(title: *const c_char) -> *mut GNotification;
12462    pub fn g_notification_add_button(
12463        notification: *mut GNotification,
12464        label: *const c_char,
12465        detailed_action: *const c_char,
12466    );
12467    pub fn g_notification_add_button_with_target(
12468        notification: *mut GNotification,
12469        label: *const c_char,
12470        action: *const c_char,
12471        target_format: *const c_char,
12472        ...
12473    );
12474    pub fn g_notification_add_button_with_target_value(
12475        notification: *mut GNotification,
12476        label: *const c_char,
12477        action: *const c_char,
12478        target: *mut glib::GVariant,
12479    );
12480    pub fn g_notification_set_body(notification: *mut GNotification, body: *const c_char);
12481    #[cfg(feature = "v2_70")]
12482    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
12483    pub fn g_notification_set_category(notification: *mut GNotification, category: *const c_char);
12484    pub fn g_notification_set_default_action(
12485        notification: *mut GNotification,
12486        detailed_action: *const c_char,
12487    );
12488    pub fn g_notification_set_default_action_and_target(
12489        notification: *mut GNotification,
12490        action: *const c_char,
12491        target_format: *const c_char,
12492        ...
12493    );
12494    pub fn g_notification_set_default_action_and_target_value(
12495        notification: *mut GNotification,
12496        action: *const c_char,
12497        target: *mut glib::GVariant,
12498    );
12499    pub fn g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon);
12500    pub fn g_notification_set_priority(
12501        notification: *mut GNotification,
12502        priority: GNotificationPriority,
12503    );
12504    pub fn g_notification_set_title(notification: *mut GNotification, title: *const c_char);
12505    pub fn g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean);
12506
12507    //=========================================================================
12508    // GOutputStream
12509    //=========================================================================
12510    pub fn g_output_stream_get_type() -> GType;
12511    pub fn g_output_stream_clear_pending(stream: *mut GOutputStream);
12512    pub fn g_output_stream_close(
12513        stream: *mut GOutputStream,
12514        cancellable: *mut GCancellable,
12515        error: *mut *mut glib::GError,
12516    ) -> gboolean;
12517    pub fn g_output_stream_close_async(
12518        stream: *mut GOutputStream,
12519        io_priority: c_int,
12520        cancellable: *mut GCancellable,
12521        callback: GAsyncReadyCallback,
12522        user_data: gpointer,
12523    );
12524    pub fn g_output_stream_close_finish(
12525        stream: *mut GOutputStream,
12526        result: *mut GAsyncResult,
12527        error: *mut *mut glib::GError,
12528    ) -> gboolean;
12529    pub fn g_output_stream_flush(
12530        stream: *mut GOutputStream,
12531        cancellable: *mut GCancellable,
12532        error: *mut *mut glib::GError,
12533    ) -> gboolean;
12534    pub fn g_output_stream_flush_async(
12535        stream: *mut GOutputStream,
12536        io_priority: c_int,
12537        cancellable: *mut GCancellable,
12538        callback: GAsyncReadyCallback,
12539        user_data: gpointer,
12540    );
12541    pub fn g_output_stream_flush_finish(
12542        stream: *mut GOutputStream,
12543        result: *mut GAsyncResult,
12544        error: *mut *mut glib::GError,
12545    ) -> gboolean;
12546    pub fn g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean;
12547    pub fn g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean;
12548    pub fn g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean;
12549    pub fn g_output_stream_printf(
12550        stream: *mut GOutputStream,
12551        bytes_written: *mut size_t,
12552        cancellable: *mut GCancellable,
12553        error: *mut *mut glib::GError,
12554        format: *const c_char,
12555        ...
12556    ) -> gboolean;
12557    pub fn g_output_stream_set_pending(
12558        stream: *mut GOutputStream,
12559        error: *mut *mut glib::GError,
12560    ) -> gboolean;
12561    pub fn g_output_stream_splice(
12562        stream: *mut GOutputStream,
12563        source: *mut GInputStream,
12564        flags: GOutputStreamSpliceFlags,
12565        cancellable: *mut GCancellable,
12566        error: *mut *mut glib::GError,
12567    ) -> ssize_t;
12568    pub fn g_output_stream_splice_async(
12569        stream: *mut GOutputStream,
12570        source: *mut GInputStream,
12571        flags: GOutputStreamSpliceFlags,
12572        io_priority: c_int,
12573        cancellable: *mut GCancellable,
12574        callback: GAsyncReadyCallback,
12575        user_data: gpointer,
12576    );
12577    pub fn g_output_stream_splice_finish(
12578        stream: *mut GOutputStream,
12579        result: *mut GAsyncResult,
12580        error: *mut *mut glib::GError,
12581    ) -> ssize_t;
12582    //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;
12583    pub fn g_output_stream_write(
12584        stream: *mut GOutputStream,
12585        buffer: *mut u8,
12586        count: size_t,
12587        cancellable: *mut GCancellable,
12588        error: *mut *mut glib::GError,
12589    ) -> ssize_t;
12590    pub fn g_output_stream_write_all(
12591        stream: *mut GOutputStream,
12592        buffer: *mut u8,
12593        count: size_t,
12594        bytes_written: *mut size_t,
12595        cancellable: *mut GCancellable,
12596        error: *mut *mut glib::GError,
12597    ) -> gboolean;
12598    pub fn g_output_stream_write_all_async(
12599        stream: *mut GOutputStream,
12600        buffer: *mut u8,
12601        count: size_t,
12602        io_priority: c_int,
12603        cancellable: *mut GCancellable,
12604        callback: GAsyncReadyCallback,
12605        user_data: gpointer,
12606    );
12607    pub fn g_output_stream_write_all_finish(
12608        stream: *mut GOutputStream,
12609        result: *mut GAsyncResult,
12610        bytes_written: *mut size_t,
12611        error: *mut *mut glib::GError,
12612    ) -> gboolean;
12613    pub fn g_output_stream_write_async(
12614        stream: *mut GOutputStream,
12615        buffer: *mut u8,
12616        count: size_t,
12617        io_priority: c_int,
12618        cancellable: *mut GCancellable,
12619        callback: GAsyncReadyCallback,
12620        user_data: gpointer,
12621    );
12622    pub fn g_output_stream_write_bytes(
12623        stream: *mut GOutputStream,
12624        bytes: *mut glib::GBytes,
12625        cancellable: *mut GCancellable,
12626        error: *mut *mut glib::GError,
12627    ) -> ssize_t;
12628    pub fn g_output_stream_write_bytes_async(
12629        stream: *mut GOutputStream,
12630        bytes: *mut glib::GBytes,
12631        io_priority: c_int,
12632        cancellable: *mut GCancellable,
12633        callback: GAsyncReadyCallback,
12634        user_data: gpointer,
12635    );
12636    pub fn g_output_stream_write_bytes_finish(
12637        stream: *mut GOutputStream,
12638        result: *mut GAsyncResult,
12639        error: *mut *mut glib::GError,
12640    ) -> ssize_t;
12641    pub fn g_output_stream_write_finish(
12642        stream: *mut GOutputStream,
12643        result: *mut GAsyncResult,
12644        error: *mut *mut glib::GError,
12645    ) -> ssize_t;
12646    #[cfg(feature = "v2_60")]
12647    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12648    pub fn g_output_stream_writev(
12649        stream: *mut GOutputStream,
12650        vectors: *const GOutputVector,
12651        n_vectors: size_t,
12652        bytes_written: *mut size_t,
12653        cancellable: *mut GCancellable,
12654        error: *mut *mut glib::GError,
12655    ) -> gboolean;
12656    #[cfg(feature = "v2_60")]
12657    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12658    pub fn g_output_stream_writev_all(
12659        stream: *mut GOutputStream,
12660        vectors: *mut GOutputVector,
12661        n_vectors: size_t,
12662        bytes_written: *mut size_t,
12663        cancellable: *mut GCancellable,
12664        error: *mut *mut glib::GError,
12665    ) -> gboolean;
12666    #[cfg(feature = "v2_60")]
12667    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12668    pub fn g_output_stream_writev_all_async(
12669        stream: *mut GOutputStream,
12670        vectors: *mut GOutputVector,
12671        n_vectors: size_t,
12672        io_priority: c_int,
12673        cancellable: *mut GCancellable,
12674        callback: GAsyncReadyCallback,
12675        user_data: gpointer,
12676    );
12677    #[cfg(feature = "v2_60")]
12678    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12679    pub fn g_output_stream_writev_all_finish(
12680        stream: *mut GOutputStream,
12681        result: *mut GAsyncResult,
12682        bytes_written: *mut size_t,
12683        error: *mut *mut glib::GError,
12684    ) -> gboolean;
12685    #[cfg(feature = "v2_60")]
12686    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12687    pub fn g_output_stream_writev_async(
12688        stream: *mut GOutputStream,
12689        vectors: *const GOutputVector,
12690        n_vectors: size_t,
12691        io_priority: c_int,
12692        cancellable: *mut GCancellable,
12693        callback: GAsyncReadyCallback,
12694        user_data: gpointer,
12695    );
12696    #[cfg(feature = "v2_60")]
12697    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12698    pub fn g_output_stream_writev_finish(
12699        stream: *mut GOutputStream,
12700        result: *mut GAsyncResult,
12701        bytes_written: *mut size_t,
12702        error: *mut *mut glib::GError,
12703    ) -> gboolean;
12704
12705    //=========================================================================
12706    // GPermission
12707    //=========================================================================
12708    pub fn g_permission_get_type() -> GType;
12709    pub fn g_permission_acquire(
12710        permission: *mut GPermission,
12711        cancellable: *mut GCancellable,
12712        error: *mut *mut glib::GError,
12713    ) -> gboolean;
12714    pub fn g_permission_acquire_async(
12715        permission: *mut GPermission,
12716        cancellable: *mut GCancellable,
12717        callback: GAsyncReadyCallback,
12718        user_data: gpointer,
12719    );
12720    pub fn g_permission_acquire_finish(
12721        permission: *mut GPermission,
12722        result: *mut GAsyncResult,
12723        error: *mut *mut glib::GError,
12724    ) -> gboolean;
12725    pub fn g_permission_get_allowed(permission: *mut GPermission) -> gboolean;
12726    pub fn g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean;
12727    pub fn g_permission_get_can_release(permission: *mut GPermission) -> gboolean;
12728    pub fn g_permission_impl_update(
12729        permission: *mut GPermission,
12730        allowed: gboolean,
12731        can_acquire: gboolean,
12732        can_release: gboolean,
12733    );
12734    pub fn g_permission_release(
12735        permission: *mut GPermission,
12736        cancellable: *mut GCancellable,
12737        error: *mut *mut glib::GError,
12738    ) -> gboolean;
12739    pub fn g_permission_release_async(
12740        permission: *mut GPermission,
12741        cancellable: *mut GCancellable,
12742        callback: GAsyncReadyCallback,
12743        user_data: gpointer,
12744    );
12745    pub fn g_permission_release_finish(
12746        permission: *mut GPermission,
12747        result: *mut GAsyncResult,
12748        error: *mut *mut glib::GError,
12749    ) -> gboolean;
12750
12751    //=========================================================================
12752    // GPropertyAction
12753    //=========================================================================
12754    pub fn g_property_action_get_type() -> GType;
12755    pub fn g_property_action_new(
12756        name: *const c_char,
12757        object: *mut gobject::GObject,
12758        property_name: *const c_char,
12759    ) -> *mut GPropertyAction;
12760
12761    //=========================================================================
12762    // GProxyAddress
12763    //=========================================================================
12764    pub fn g_proxy_address_get_type() -> GType;
12765    pub fn g_proxy_address_new(
12766        inetaddr: *mut GInetAddress,
12767        port: u16,
12768        protocol: *const c_char,
12769        dest_hostname: *const c_char,
12770        dest_port: u16,
12771        username: *const c_char,
12772        password: *const c_char,
12773    ) -> *mut GSocketAddress;
12774    pub fn g_proxy_address_get_destination_hostname(proxy: *mut GProxyAddress) -> *const c_char;
12775    pub fn g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> u16;
12776    pub fn g_proxy_address_get_destination_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12777    pub fn g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const c_char;
12778    pub fn g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12779    pub fn g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const c_char;
12780    pub fn g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const c_char;
12781
12782    //=========================================================================
12783    // GProxyAddressEnumerator
12784    //=========================================================================
12785    pub fn g_proxy_address_enumerator_get_type() -> GType;
12786
12787    //=========================================================================
12788    // GResolver
12789    //=========================================================================
12790    pub fn g_resolver_get_type() -> GType;
12791    pub fn g_resolver_free_addresses(addresses: *mut glib::GList);
12792    pub fn g_resolver_free_targets(targets: *mut glib::GList);
12793    pub fn g_resolver_get_default() -> *mut GResolver;
12794    #[cfg(feature = "v2_78")]
12795    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12796    pub fn g_resolver_get_timeout(resolver: *mut GResolver) -> c_uint;
12797    pub fn g_resolver_lookup_by_address(
12798        resolver: *mut GResolver,
12799        address: *mut GInetAddress,
12800        cancellable: *mut GCancellable,
12801        error: *mut *mut glib::GError,
12802    ) -> *mut c_char;
12803    pub fn g_resolver_lookup_by_address_async(
12804        resolver: *mut GResolver,
12805        address: *mut GInetAddress,
12806        cancellable: *mut GCancellable,
12807        callback: GAsyncReadyCallback,
12808        user_data: gpointer,
12809    );
12810    pub fn g_resolver_lookup_by_address_finish(
12811        resolver: *mut GResolver,
12812        result: *mut GAsyncResult,
12813        error: *mut *mut glib::GError,
12814    ) -> *mut c_char;
12815    pub fn g_resolver_lookup_by_name(
12816        resolver: *mut GResolver,
12817        hostname: *const c_char,
12818        cancellable: *mut GCancellable,
12819        error: *mut *mut glib::GError,
12820    ) -> *mut glib::GList;
12821    pub fn g_resolver_lookup_by_name_async(
12822        resolver: *mut GResolver,
12823        hostname: *const c_char,
12824        cancellable: *mut GCancellable,
12825        callback: GAsyncReadyCallback,
12826        user_data: gpointer,
12827    );
12828    pub fn g_resolver_lookup_by_name_finish(
12829        resolver: *mut GResolver,
12830        result: *mut GAsyncResult,
12831        error: *mut *mut glib::GError,
12832    ) -> *mut glib::GList;
12833    #[cfg(feature = "v2_60")]
12834    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12835    pub fn g_resolver_lookup_by_name_with_flags(
12836        resolver: *mut GResolver,
12837        hostname: *const c_char,
12838        flags: GResolverNameLookupFlags,
12839        cancellable: *mut GCancellable,
12840        error: *mut *mut glib::GError,
12841    ) -> *mut glib::GList;
12842    #[cfg(feature = "v2_60")]
12843    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12844    pub fn g_resolver_lookup_by_name_with_flags_async(
12845        resolver: *mut GResolver,
12846        hostname: *const c_char,
12847        flags: GResolverNameLookupFlags,
12848        cancellable: *mut GCancellable,
12849        callback: GAsyncReadyCallback,
12850        user_data: gpointer,
12851    );
12852    #[cfg(feature = "v2_60")]
12853    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12854    pub fn g_resolver_lookup_by_name_with_flags_finish(
12855        resolver: *mut GResolver,
12856        result: *mut GAsyncResult,
12857        error: *mut *mut glib::GError,
12858    ) -> *mut glib::GList;
12859    pub fn g_resolver_lookup_records(
12860        resolver: *mut GResolver,
12861        rrname: *const c_char,
12862        record_type: GResolverRecordType,
12863        cancellable: *mut GCancellable,
12864        error: *mut *mut glib::GError,
12865    ) -> *mut glib::GList;
12866    pub fn g_resolver_lookup_records_async(
12867        resolver: *mut GResolver,
12868        rrname: *const c_char,
12869        record_type: GResolverRecordType,
12870        cancellable: *mut GCancellable,
12871        callback: GAsyncReadyCallback,
12872        user_data: gpointer,
12873    );
12874    pub fn g_resolver_lookup_records_finish(
12875        resolver: *mut GResolver,
12876        result: *mut GAsyncResult,
12877        error: *mut *mut glib::GError,
12878    ) -> *mut glib::GList;
12879    pub fn g_resolver_lookup_service(
12880        resolver: *mut GResolver,
12881        service: *const c_char,
12882        protocol: *const c_char,
12883        domain: *const c_char,
12884        cancellable: *mut GCancellable,
12885        error: *mut *mut glib::GError,
12886    ) -> *mut glib::GList;
12887    pub fn g_resolver_lookup_service_async(
12888        resolver: *mut GResolver,
12889        service: *const c_char,
12890        protocol: *const c_char,
12891        domain: *const c_char,
12892        cancellable: *mut GCancellable,
12893        callback: GAsyncReadyCallback,
12894        user_data: gpointer,
12895    );
12896    pub fn g_resolver_lookup_service_finish(
12897        resolver: *mut GResolver,
12898        result: *mut GAsyncResult,
12899        error: *mut *mut glib::GError,
12900    ) -> *mut glib::GList;
12901    pub fn g_resolver_set_default(resolver: *mut GResolver);
12902    #[cfg(feature = "v2_78")]
12903    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12904    pub fn g_resolver_set_timeout(resolver: *mut GResolver, timeout_ms: c_uint);
12905
12906    //=========================================================================
12907    // GSettings
12908    //=========================================================================
12909    pub fn g_settings_get_type() -> GType;
12910    pub fn g_settings_new(schema_id: *const c_char) -> *mut GSettings;
12911    pub fn g_settings_new_full(
12912        schema: *mut GSettingsSchema,
12913        backend: *mut GSettingsBackend,
12914        path: *const c_char,
12915    ) -> *mut GSettings;
12916    pub fn g_settings_new_with_backend(
12917        schema_id: *const c_char,
12918        backend: *mut GSettingsBackend,
12919    ) -> *mut GSettings;
12920    pub fn g_settings_new_with_backend_and_path(
12921        schema_id: *const c_char,
12922        backend: *mut GSettingsBackend,
12923        path: *const c_char,
12924    ) -> *mut GSettings;
12925    pub fn g_settings_new_with_path(
12926        schema_id: *const c_char,
12927        path: *const c_char,
12928    ) -> *mut GSettings;
12929    pub fn g_settings_list_relocatable_schemas() -> *const *const c_char;
12930    pub fn g_settings_list_schemas() -> *const *const c_char;
12931    pub fn g_settings_sync();
12932    pub fn g_settings_unbind(object: *mut gobject::GObject, property: *const c_char);
12933    pub fn g_settings_apply(settings: *mut GSettings);
12934    pub fn g_settings_bind(
12935        settings: *mut GSettings,
12936        key: *const c_char,
12937        object: *mut gobject::GObject,
12938        property: *const c_char,
12939        flags: GSettingsBindFlags,
12940    );
12941    pub fn g_settings_bind_with_mapping(
12942        settings: *mut GSettings,
12943        key: *const c_char,
12944        object: *mut gobject::GObject,
12945        property: *const c_char,
12946        flags: GSettingsBindFlags,
12947        get_mapping: GSettingsBindGetMapping,
12948        set_mapping: GSettingsBindSetMapping,
12949        user_data: gpointer,
12950        destroy: glib::GDestroyNotify,
12951    );
12952    #[cfg(feature = "v2_82")]
12953    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
12954    pub fn g_settings_bind_with_mapping_closures(
12955        settings: *mut GSettings,
12956        key: *const c_char,
12957        object: *mut gobject::GObject,
12958        property: *const c_char,
12959        flags: GSettingsBindFlags,
12960        get_mapping: *mut gobject::GClosure,
12961        set_mapping: *mut gobject::GClosure,
12962    );
12963    pub fn g_settings_bind_writable(
12964        settings: *mut GSettings,
12965        key: *const c_char,
12966        object: *mut gobject::GObject,
12967        property: *const c_char,
12968        inverted: gboolean,
12969    );
12970    pub fn g_settings_create_action(settings: *mut GSettings, key: *const c_char) -> *mut GAction;
12971    pub fn g_settings_delay(settings: *mut GSettings);
12972    pub fn g_settings_get(settings: *mut GSettings, key: *const c_char, format: *const c_char, ...);
12973    pub fn g_settings_get_boolean(settings: *mut GSettings, key: *const c_char) -> gboolean;
12974    pub fn g_settings_get_child(settings: *mut GSettings, name: *const c_char) -> *mut GSettings;
12975    pub fn g_settings_get_default_value(
12976        settings: *mut GSettings,
12977        key: *const c_char,
12978    ) -> *mut glib::GVariant;
12979    pub fn g_settings_get_double(settings: *mut GSettings, key: *const c_char) -> c_double;
12980    pub fn g_settings_get_enum(settings: *mut GSettings, key: *const c_char) -> c_int;
12981    pub fn g_settings_get_flags(settings: *mut GSettings, key: *const c_char) -> c_uint;
12982    pub fn g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean;
12983    pub fn g_settings_get_int(settings: *mut GSettings, key: *const c_char) -> c_int;
12984    pub fn g_settings_get_int64(settings: *mut GSettings, key: *const c_char) -> i64;
12985    pub fn g_settings_get_mapped(
12986        settings: *mut GSettings,
12987        key: *const c_char,
12988        mapping: GSettingsGetMapping,
12989        user_data: gpointer,
12990    ) -> gpointer;
12991    pub fn g_settings_get_range(
12992        settings: *mut GSettings,
12993        key: *const c_char,
12994    ) -> *mut glib::GVariant;
12995    pub fn g_settings_get_string(settings: *mut GSettings, key: *const c_char) -> *mut c_char;
12996    pub fn g_settings_get_strv(settings: *mut GSettings, key: *const c_char) -> *mut *mut c_char;
12997    pub fn g_settings_get_uint(settings: *mut GSettings, key: *const c_char) -> c_uint;
12998    pub fn g_settings_get_uint64(settings: *mut GSettings, key: *const c_char) -> u64;
12999    pub fn g_settings_get_user_value(
13000        settings: *mut GSettings,
13001        key: *const c_char,
13002    ) -> *mut glib::GVariant;
13003    pub fn g_settings_get_value(
13004        settings: *mut GSettings,
13005        key: *const c_char,
13006    ) -> *mut glib::GVariant;
13007    pub fn g_settings_is_writable(settings: *mut GSettings, name: *const c_char) -> gboolean;
13008    pub fn g_settings_list_children(settings: *mut GSettings) -> *mut *mut c_char;
13009    pub fn g_settings_list_keys(settings: *mut GSettings) -> *mut *mut c_char;
13010    pub fn g_settings_range_check(
13011        settings: *mut GSettings,
13012        key: *const c_char,
13013        value: *mut glib::GVariant,
13014    ) -> gboolean;
13015    pub fn g_settings_reset(settings: *mut GSettings, key: *const c_char);
13016    pub fn g_settings_revert(settings: *mut GSettings);
13017    pub fn g_settings_set(
13018        settings: *mut GSettings,
13019        key: *const c_char,
13020        format: *const c_char,
13021        ...
13022    ) -> gboolean;
13023    pub fn g_settings_set_boolean(
13024        settings: *mut GSettings,
13025        key: *const c_char,
13026        value: gboolean,
13027    ) -> gboolean;
13028    pub fn g_settings_set_double(
13029        settings: *mut GSettings,
13030        key: *const c_char,
13031        value: c_double,
13032    ) -> gboolean;
13033    pub fn g_settings_set_enum(
13034        settings: *mut GSettings,
13035        key: *const c_char,
13036        value: c_int,
13037    ) -> gboolean;
13038    pub fn g_settings_set_flags(
13039        settings: *mut GSettings,
13040        key: *const c_char,
13041        value: c_uint,
13042    ) -> gboolean;
13043    pub fn g_settings_set_int(
13044        settings: *mut GSettings,
13045        key: *const c_char,
13046        value: c_int,
13047    ) -> gboolean;
13048    pub fn g_settings_set_int64(
13049        settings: *mut GSettings,
13050        key: *const c_char,
13051        value: i64,
13052    ) -> gboolean;
13053    pub fn g_settings_set_string(
13054        settings: *mut GSettings,
13055        key: *const c_char,
13056        value: *const c_char,
13057    ) -> gboolean;
13058    pub fn g_settings_set_strv(
13059        settings: *mut GSettings,
13060        key: *const c_char,
13061        value: *const *const c_char,
13062    ) -> gboolean;
13063    pub fn g_settings_set_uint(
13064        settings: *mut GSettings,
13065        key: *const c_char,
13066        value: c_uint,
13067    ) -> gboolean;
13068    pub fn g_settings_set_uint64(
13069        settings: *mut GSettings,
13070        key: *const c_char,
13071        value: u64,
13072    ) -> gboolean;
13073    pub fn g_settings_set_value(
13074        settings: *mut GSettings,
13075        key: *const c_char,
13076        value: *mut glib::GVariant,
13077    ) -> gboolean;
13078
13079    //=========================================================================
13080    // GSettingsBackend
13081    //=========================================================================
13082    pub fn g_settings_backend_get_type() -> GType;
13083    pub fn g_settings_backend_flatten_tree(
13084        tree: *mut glib::GTree,
13085        path: *mut *mut c_char,
13086        keys: *mut *mut *const c_char,
13087        values: *mut *mut *mut glib::GVariant,
13088    );
13089    pub fn g_settings_backend_get_default() -> *mut GSettingsBackend;
13090    pub fn g_settings_backend_changed(
13091        backend: *mut GSettingsBackend,
13092        key: *const c_char,
13093        origin_tag: gpointer,
13094    );
13095    pub fn g_settings_backend_changed_tree(
13096        backend: *mut GSettingsBackend,
13097        tree: *mut glib::GTree,
13098        origin_tag: gpointer,
13099    );
13100    pub fn g_settings_backend_keys_changed(
13101        backend: *mut GSettingsBackend,
13102        path: *const c_char,
13103        items: *const *const c_char,
13104        origin_tag: gpointer,
13105    );
13106    pub fn g_settings_backend_path_changed(
13107        backend: *mut GSettingsBackend,
13108        path: *const c_char,
13109        origin_tag: gpointer,
13110    );
13111    pub fn g_settings_backend_path_writable_changed(
13112        backend: *mut GSettingsBackend,
13113        path: *const c_char,
13114    );
13115    pub fn g_settings_backend_writable_changed(backend: *mut GSettingsBackend, key: *const c_char);
13116
13117    //=========================================================================
13118    // GSimpleAction
13119    //=========================================================================
13120    pub fn g_simple_action_get_type() -> GType;
13121    pub fn g_simple_action_new(
13122        name: *const c_char,
13123        parameter_type: *const glib::GVariantType,
13124    ) -> *mut GSimpleAction;
13125    pub fn g_simple_action_new_stateful(
13126        name: *const c_char,
13127        parameter_type: *const glib::GVariantType,
13128        state: *mut glib::GVariant,
13129    ) -> *mut GSimpleAction;
13130    pub fn g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean);
13131    pub fn g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut glib::GVariant);
13132    pub fn g_simple_action_set_state_hint(
13133        simple: *mut GSimpleAction,
13134        state_hint: *mut glib::GVariant,
13135    );
13136
13137    //=========================================================================
13138    // GSimpleActionGroup
13139    //=========================================================================
13140    pub fn g_simple_action_group_get_type() -> GType;
13141    pub fn g_simple_action_group_new() -> *mut GSimpleActionGroup;
13142    pub fn g_simple_action_group_add_entries(
13143        simple: *mut GSimpleActionGroup,
13144        entries: *const GActionEntry,
13145        n_entries: c_int,
13146        user_data: gpointer,
13147    );
13148    pub fn g_simple_action_group_insert(simple: *mut GSimpleActionGroup, action: *mut GAction);
13149    pub fn g_simple_action_group_lookup(
13150        simple: *mut GSimpleActionGroup,
13151        action_name: *const c_char,
13152    ) -> *mut GAction;
13153    pub fn g_simple_action_group_remove(
13154        simple: *mut GSimpleActionGroup,
13155        action_name: *const c_char,
13156    );
13157
13158    //=========================================================================
13159    // GSimpleAsyncResult
13160    //=========================================================================
13161    pub fn g_simple_async_result_get_type() -> GType;
13162    pub fn g_simple_async_result_new(
13163        source_object: *mut gobject::GObject,
13164        callback: GAsyncReadyCallback,
13165        user_data: gpointer,
13166        source_tag: gpointer,
13167    ) -> *mut GSimpleAsyncResult;
13168    pub fn g_simple_async_result_new_error(
13169        source_object: *mut gobject::GObject,
13170        callback: GAsyncReadyCallback,
13171        user_data: gpointer,
13172        domain: glib::GQuark,
13173        code: c_int,
13174        format: *const c_char,
13175        ...
13176    ) -> *mut GSimpleAsyncResult;
13177    pub fn g_simple_async_result_new_from_error(
13178        source_object: *mut gobject::GObject,
13179        callback: GAsyncReadyCallback,
13180        user_data: gpointer,
13181        error: *const glib::GError,
13182    ) -> *mut GSimpleAsyncResult;
13183    pub fn g_simple_async_result_new_take_error(
13184        source_object: *mut gobject::GObject,
13185        callback: GAsyncReadyCallback,
13186        user_data: gpointer,
13187        error: *mut glib::GError,
13188    ) -> *mut GSimpleAsyncResult;
13189    pub fn g_simple_async_result_is_valid(
13190        result: *mut GAsyncResult,
13191        source: *mut gobject::GObject,
13192        source_tag: gpointer,
13193    ) -> gboolean;
13194    pub fn g_simple_async_result_complete(simple: *mut GSimpleAsyncResult);
13195    pub fn g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult);
13196    pub fn g_simple_async_result_get_op_res_gboolean(simple: *mut GSimpleAsyncResult) -> gboolean;
13197    pub fn g_simple_async_result_get_op_res_gpointer(simple: *mut GSimpleAsyncResult) -> gpointer;
13198    pub fn g_simple_async_result_get_op_res_gssize(simple: *mut GSimpleAsyncResult) -> ssize_t;
13199    pub fn g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult) -> gpointer;
13200    pub fn g_simple_async_result_propagate_error(
13201        simple: *mut GSimpleAsyncResult,
13202        error: *mut *mut glib::GError,
13203    ) -> gboolean;
13204    pub fn g_simple_async_result_run_in_thread(
13205        simple: *mut GSimpleAsyncResult,
13206        func: GSimpleAsyncThreadFunc,
13207        io_priority: c_int,
13208        cancellable: *mut GCancellable,
13209    );
13210    pub fn g_simple_async_result_set_check_cancellable(
13211        simple: *mut GSimpleAsyncResult,
13212        check_cancellable: *mut GCancellable,
13213    );
13214    pub fn g_simple_async_result_set_error(
13215        simple: *mut GSimpleAsyncResult,
13216        domain: glib::GQuark,
13217        code: c_int,
13218        format: *const c_char,
13219        ...
13220    );
13221    //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);
13222    pub fn g_simple_async_result_set_from_error(
13223        simple: *mut GSimpleAsyncResult,
13224        error: *const glib::GError,
13225    );
13226    pub fn g_simple_async_result_set_handle_cancellation(
13227        simple: *mut GSimpleAsyncResult,
13228        handle_cancellation: gboolean,
13229    );
13230    pub fn g_simple_async_result_set_op_res_gboolean(
13231        simple: *mut GSimpleAsyncResult,
13232        op_res: gboolean,
13233    );
13234    pub fn g_simple_async_result_set_op_res_gpointer(
13235        simple: *mut GSimpleAsyncResult,
13236        op_res: gpointer,
13237        destroy_op_res: glib::GDestroyNotify,
13238    );
13239    pub fn g_simple_async_result_set_op_res_gssize(
13240        simple: *mut GSimpleAsyncResult,
13241        op_res: ssize_t,
13242    );
13243    pub fn g_simple_async_result_take_error(
13244        simple: *mut GSimpleAsyncResult,
13245        error: *mut glib::GError,
13246    );
13247
13248    //=========================================================================
13249    // GSimpleIOStream
13250    //=========================================================================
13251    pub fn g_simple_io_stream_get_type() -> GType;
13252    pub fn g_simple_io_stream_new(
13253        input_stream: *mut GInputStream,
13254        output_stream: *mut GOutputStream,
13255    ) -> *mut GIOStream;
13256
13257    //=========================================================================
13258    // GSimplePermission
13259    //=========================================================================
13260    pub fn g_simple_permission_get_type() -> GType;
13261    pub fn g_simple_permission_new(allowed: gboolean) -> *mut GPermission;
13262
13263    //=========================================================================
13264    // GSimpleProxyResolver
13265    //=========================================================================
13266    pub fn g_simple_proxy_resolver_get_type() -> GType;
13267    pub fn g_simple_proxy_resolver_new(
13268        default_proxy: *const c_char,
13269        ignore_hosts: *mut *mut c_char,
13270    ) -> *mut GProxyResolver;
13271    pub fn g_simple_proxy_resolver_set_default_proxy(
13272        resolver: *mut GSimpleProxyResolver,
13273        default_proxy: *const c_char,
13274    );
13275    pub fn g_simple_proxy_resolver_set_ignore_hosts(
13276        resolver: *mut GSimpleProxyResolver,
13277        ignore_hosts: *mut *mut c_char,
13278    );
13279    pub fn g_simple_proxy_resolver_set_uri_proxy(
13280        resolver: *mut GSimpleProxyResolver,
13281        uri_scheme: *const c_char,
13282        proxy: *const c_char,
13283    );
13284
13285    //=========================================================================
13286    // GSocket
13287    //=========================================================================
13288    pub fn g_socket_get_type() -> GType;
13289    pub fn g_socket_new(
13290        family: GSocketFamily,
13291        type_: GSocketType,
13292        protocol: GSocketProtocol,
13293        error: *mut *mut glib::GError,
13294    ) -> *mut GSocket;
13295    pub fn g_socket_new_from_fd(fd: c_int, error: *mut *mut glib::GError) -> *mut GSocket;
13296    pub fn g_socket_accept(
13297        socket: *mut GSocket,
13298        cancellable: *mut GCancellable,
13299        error: *mut *mut glib::GError,
13300    ) -> *mut GSocket;
13301    pub fn g_socket_bind(
13302        socket: *mut GSocket,
13303        address: *mut GSocketAddress,
13304        allow_reuse: gboolean,
13305        error: *mut *mut glib::GError,
13306    ) -> gboolean;
13307    pub fn g_socket_check_connect_result(
13308        socket: *mut GSocket,
13309        error: *mut *mut glib::GError,
13310    ) -> gboolean;
13311    pub fn g_socket_close(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13312    pub fn g_socket_condition_check(
13313        socket: *mut GSocket,
13314        condition: glib::GIOCondition,
13315    ) -> glib::GIOCondition;
13316    pub fn g_socket_condition_timed_wait(
13317        socket: *mut GSocket,
13318        condition: glib::GIOCondition,
13319        timeout_us: i64,
13320        cancellable: *mut GCancellable,
13321        error: *mut *mut glib::GError,
13322    ) -> gboolean;
13323    pub fn g_socket_condition_wait(
13324        socket: *mut GSocket,
13325        condition: glib::GIOCondition,
13326        cancellable: *mut GCancellable,
13327        error: *mut *mut glib::GError,
13328    ) -> gboolean;
13329    pub fn g_socket_connect(
13330        socket: *mut GSocket,
13331        address: *mut GSocketAddress,
13332        cancellable: *mut GCancellable,
13333        error: *mut *mut glib::GError,
13334    ) -> gboolean;
13335    pub fn g_socket_connection_factory_create_connection(
13336        socket: *mut GSocket,
13337    ) -> *mut GSocketConnection;
13338    pub fn g_socket_create_source(
13339        socket: *mut GSocket,
13340        condition: glib::GIOCondition,
13341        cancellable: *mut GCancellable,
13342    ) -> *mut glib::GSource;
13343    pub fn g_socket_get_available_bytes(socket: *mut GSocket) -> ssize_t;
13344    pub fn g_socket_get_blocking(socket: *mut GSocket) -> gboolean;
13345    pub fn g_socket_get_broadcast(socket: *mut GSocket) -> gboolean;
13346    pub fn g_socket_get_credentials(
13347        socket: *mut GSocket,
13348        error: *mut *mut glib::GError,
13349    ) -> *mut GCredentials;
13350    pub fn g_socket_get_family(socket: *mut GSocket) -> GSocketFamily;
13351    pub fn g_socket_get_fd(socket: *mut GSocket) -> c_int;
13352    pub fn g_socket_get_keepalive(socket: *mut GSocket) -> gboolean;
13353    pub fn g_socket_get_listen_backlog(socket: *mut GSocket) -> c_int;
13354    pub fn g_socket_get_local_address(
13355        socket: *mut GSocket,
13356        error: *mut *mut glib::GError,
13357    ) -> *mut GSocketAddress;
13358    pub fn g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean;
13359    pub fn g_socket_get_multicast_ttl(socket: *mut GSocket) -> c_uint;
13360    pub fn g_socket_get_option(
13361        socket: *mut GSocket,
13362        level: c_int,
13363        optname: c_int,
13364        value: *mut c_int,
13365        error: *mut *mut glib::GError,
13366    ) -> gboolean;
13367    pub fn g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol;
13368    pub fn g_socket_get_remote_address(
13369        socket: *mut GSocket,
13370        error: *mut *mut glib::GError,
13371    ) -> *mut GSocketAddress;
13372    pub fn g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType;
13373    pub fn g_socket_get_timeout(socket: *mut GSocket) -> c_uint;
13374    pub fn g_socket_get_ttl(socket: *mut GSocket) -> c_uint;
13375    pub fn g_socket_is_closed(socket: *mut GSocket) -> gboolean;
13376    pub fn g_socket_is_connected(socket: *mut GSocket) -> gboolean;
13377    pub fn g_socket_join_multicast_group(
13378        socket: *mut GSocket,
13379        group: *mut GInetAddress,
13380        source_specific: gboolean,
13381        iface: *const c_char,
13382        error: *mut *mut glib::GError,
13383    ) -> gboolean;
13384    pub fn g_socket_join_multicast_group_ssm(
13385        socket: *mut GSocket,
13386        group: *mut GInetAddress,
13387        source_specific: *mut GInetAddress,
13388        iface: *const c_char,
13389        error: *mut *mut glib::GError,
13390    ) -> gboolean;
13391    pub fn g_socket_leave_multicast_group(
13392        socket: *mut GSocket,
13393        group: *mut GInetAddress,
13394        source_specific: gboolean,
13395        iface: *const c_char,
13396        error: *mut *mut glib::GError,
13397    ) -> gboolean;
13398    pub fn g_socket_leave_multicast_group_ssm(
13399        socket: *mut GSocket,
13400        group: *mut GInetAddress,
13401        source_specific: *mut GInetAddress,
13402        iface: *const c_char,
13403        error: *mut *mut glib::GError,
13404    ) -> gboolean;
13405    pub fn g_socket_listen(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13406    pub fn g_socket_receive(
13407        socket: *mut GSocket,
13408        buffer: *mut u8,
13409        size: size_t,
13410        cancellable: *mut GCancellable,
13411        error: *mut *mut glib::GError,
13412    ) -> ssize_t;
13413    #[cfg(feature = "v2_80")]
13414    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13415    pub fn g_socket_receive_bytes(
13416        socket: *mut GSocket,
13417        size: size_t,
13418        timeout_us: i64,
13419        cancellable: *mut GCancellable,
13420        error: *mut *mut glib::GError,
13421    ) -> *mut glib::GBytes;
13422    #[cfg(feature = "v2_80")]
13423    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13424    pub fn g_socket_receive_bytes_from(
13425        socket: *mut GSocket,
13426        address: *mut *mut GSocketAddress,
13427        size: size_t,
13428        timeout_us: i64,
13429        cancellable: *mut GCancellable,
13430        error: *mut *mut glib::GError,
13431    ) -> *mut glib::GBytes;
13432    pub fn g_socket_receive_from(
13433        socket: *mut GSocket,
13434        address: *mut *mut GSocketAddress,
13435        buffer: *mut u8,
13436        size: size_t,
13437        cancellable: *mut GCancellable,
13438        error: *mut *mut glib::GError,
13439    ) -> ssize_t;
13440    pub fn g_socket_receive_message(
13441        socket: *mut GSocket,
13442        address: *mut *mut GSocketAddress,
13443        vectors: *mut GInputVector,
13444        num_vectors: c_int,
13445        messages: *mut *mut *mut GSocketControlMessage,
13446        num_messages: *mut c_int,
13447        flags: *mut c_int,
13448        cancellable: *mut GCancellable,
13449        error: *mut *mut glib::GError,
13450    ) -> ssize_t;
13451    pub fn g_socket_receive_messages(
13452        socket: *mut GSocket,
13453        messages: *mut GInputMessage,
13454        num_messages: c_uint,
13455        flags: c_int,
13456        cancellable: *mut GCancellable,
13457        error: *mut *mut glib::GError,
13458    ) -> c_int;
13459    pub fn g_socket_receive_with_blocking(
13460        socket: *mut GSocket,
13461        buffer: *mut u8,
13462        size: size_t,
13463        blocking: gboolean,
13464        cancellable: *mut GCancellable,
13465        error: *mut *mut glib::GError,
13466    ) -> ssize_t;
13467    pub fn g_socket_send(
13468        socket: *mut GSocket,
13469        buffer: *const u8,
13470        size: size_t,
13471        cancellable: *mut GCancellable,
13472        error: *mut *mut glib::GError,
13473    ) -> ssize_t;
13474    pub fn g_socket_send_message(
13475        socket: *mut GSocket,
13476        address: *mut GSocketAddress,
13477        vectors: *mut GOutputVector,
13478        num_vectors: c_int,
13479        messages: *mut *mut GSocketControlMessage,
13480        num_messages: c_int,
13481        flags: c_int,
13482        cancellable: *mut GCancellable,
13483        error: *mut *mut glib::GError,
13484    ) -> ssize_t;
13485    #[cfg(feature = "v2_60")]
13486    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13487    pub fn g_socket_send_message_with_timeout(
13488        socket: *mut GSocket,
13489        address: *mut GSocketAddress,
13490        vectors: *const GOutputVector,
13491        num_vectors: c_int,
13492        messages: *mut *mut GSocketControlMessage,
13493        num_messages: c_int,
13494        flags: c_int,
13495        timeout_us: i64,
13496        bytes_written: *mut size_t,
13497        cancellable: *mut GCancellable,
13498        error: *mut *mut glib::GError,
13499    ) -> GPollableReturn;
13500    pub fn g_socket_send_messages(
13501        socket: *mut GSocket,
13502        messages: *mut GOutputMessage,
13503        num_messages: c_uint,
13504        flags: c_int,
13505        cancellable: *mut GCancellable,
13506        error: *mut *mut glib::GError,
13507    ) -> c_int;
13508    pub fn g_socket_send_to(
13509        socket: *mut GSocket,
13510        address: *mut GSocketAddress,
13511        buffer: *const u8,
13512        size: size_t,
13513        cancellable: *mut GCancellable,
13514        error: *mut *mut glib::GError,
13515    ) -> ssize_t;
13516    pub fn g_socket_send_with_blocking(
13517        socket: *mut GSocket,
13518        buffer: *const u8,
13519        size: size_t,
13520        blocking: gboolean,
13521        cancellable: *mut GCancellable,
13522        error: *mut *mut glib::GError,
13523    ) -> ssize_t;
13524    pub fn g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean);
13525    pub fn g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean);
13526    pub fn g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean);
13527    pub fn g_socket_set_listen_backlog(socket: *mut GSocket, backlog: c_int);
13528    pub fn g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean);
13529    pub fn g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: c_uint);
13530    pub fn g_socket_set_option(
13531        socket: *mut GSocket,
13532        level: c_int,
13533        optname: c_int,
13534        value: c_int,
13535        error: *mut *mut glib::GError,
13536    ) -> gboolean;
13537    pub fn g_socket_set_timeout(socket: *mut GSocket, timeout: c_uint);
13538    pub fn g_socket_set_ttl(socket: *mut GSocket, ttl: c_uint);
13539    pub fn g_socket_shutdown(
13540        socket: *mut GSocket,
13541        shutdown_read: gboolean,
13542        shutdown_write: gboolean,
13543        error: *mut *mut glib::GError,
13544    ) -> gboolean;
13545    pub fn g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean;
13546
13547    //=========================================================================
13548    // GSocketAddress
13549    //=========================================================================
13550    pub fn g_socket_address_get_type() -> GType;
13551    pub fn g_socket_address_new_from_native(native: gpointer, len: size_t) -> *mut GSocketAddress;
13552    pub fn g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily;
13553    pub fn g_socket_address_get_native_size(address: *mut GSocketAddress) -> ssize_t;
13554    pub fn g_socket_address_to_native(
13555        address: *mut GSocketAddress,
13556        dest: gpointer,
13557        destlen: size_t,
13558        error: *mut *mut glib::GError,
13559    ) -> gboolean;
13560
13561    //=========================================================================
13562    // GSocketAddressEnumerator
13563    //=========================================================================
13564    pub fn g_socket_address_enumerator_get_type() -> GType;
13565    pub fn g_socket_address_enumerator_next(
13566        enumerator: *mut GSocketAddressEnumerator,
13567        cancellable: *mut GCancellable,
13568        error: *mut *mut glib::GError,
13569    ) -> *mut GSocketAddress;
13570    pub fn g_socket_address_enumerator_next_async(
13571        enumerator: *mut GSocketAddressEnumerator,
13572        cancellable: *mut GCancellable,
13573        callback: GAsyncReadyCallback,
13574        user_data: gpointer,
13575    );
13576    pub fn g_socket_address_enumerator_next_finish(
13577        enumerator: *mut GSocketAddressEnumerator,
13578        result: *mut GAsyncResult,
13579        error: *mut *mut glib::GError,
13580    ) -> *mut GSocketAddress;
13581
13582    //=========================================================================
13583    // GSocketClient
13584    //=========================================================================
13585    pub fn g_socket_client_get_type() -> GType;
13586    pub fn g_socket_client_new() -> *mut GSocketClient;
13587    pub fn g_socket_client_add_application_proxy(
13588        client: *mut GSocketClient,
13589        protocol: *const c_char,
13590    );
13591    pub fn g_socket_client_connect(
13592        client: *mut GSocketClient,
13593        connectable: *mut GSocketConnectable,
13594        cancellable: *mut GCancellable,
13595        error: *mut *mut glib::GError,
13596    ) -> *mut GSocketConnection;
13597    pub fn g_socket_client_connect_async(
13598        client: *mut GSocketClient,
13599        connectable: *mut GSocketConnectable,
13600        cancellable: *mut GCancellable,
13601        callback: GAsyncReadyCallback,
13602        user_data: gpointer,
13603    );
13604    pub fn g_socket_client_connect_finish(
13605        client: *mut GSocketClient,
13606        result: *mut GAsyncResult,
13607        error: *mut *mut glib::GError,
13608    ) -> *mut GSocketConnection;
13609    pub fn g_socket_client_connect_to_host(
13610        client: *mut GSocketClient,
13611        host_and_port: *const c_char,
13612        default_port: u16,
13613        cancellable: *mut GCancellable,
13614        error: *mut *mut glib::GError,
13615    ) -> *mut GSocketConnection;
13616    pub fn g_socket_client_connect_to_host_async(
13617        client: *mut GSocketClient,
13618        host_and_port: *const c_char,
13619        default_port: u16,
13620        cancellable: *mut GCancellable,
13621        callback: GAsyncReadyCallback,
13622        user_data: gpointer,
13623    );
13624    pub fn g_socket_client_connect_to_host_finish(
13625        client: *mut GSocketClient,
13626        result: *mut GAsyncResult,
13627        error: *mut *mut glib::GError,
13628    ) -> *mut GSocketConnection;
13629    pub fn g_socket_client_connect_to_service(
13630        client: *mut GSocketClient,
13631        domain: *const c_char,
13632        service: *const c_char,
13633        cancellable: *mut GCancellable,
13634        error: *mut *mut glib::GError,
13635    ) -> *mut GSocketConnection;
13636    pub fn g_socket_client_connect_to_service_async(
13637        client: *mut GSocketClient,
13638        domain: *const c_char,
13639        service: *const c_char,
13640        cancellable: *mut GCancellable,
13641        callback: GAsyncReadyCallback,
13642        user_data: gpointer,
13643    );
13644    pub fn g_socket_client_connect_to_service_finish(
13645        client: *mut GSocketClient,
13646        result: *mut GAsyncResult,
13647        error: *mut *mut glib::GError,
13648    ) -> *mut GSocketConnection;
13649    pub fn g_socket_client_connect_to_uri(
13650        client: *mut GSocketClient,
13651        uri: *const c_char,
13652        default_port: u16,
13653        cancellable: *mut GCancellable,
13654        error: *mut *mut glib::GError,
13655    ) -> *mut GSocketConnection;
13656    pub fn g_socket_client_connect_to_uri_async(
13657        client: *mut GSocketClient,
13658        uri: *const c_char,
13659        default_port: u16,
13660        cancellable: *mut GCancellable,
13661        callback: GAsyncReadyCallback,
13662        user_data: gpointer,
13663    );
13664    pub fn g_socket_client_connect_to_uri_finish(
13665        client: *mut GSocketClient,
13666        result: *mut GAsyncResult,
13667        error: *mut *mut glib::GError,
13668    ) -> *mut GSocketConnection;
13669    pub fn g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean;
13670    pub fn g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily;
13671    pub fn g_socket_client_get_local_address(client: *mut GSocketClient) -> *mut GSocketAddress;
13672    pub fn g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol;
13673    pub fn g_socket_client_get_proxy_resolver(client: *mut GSocketClient) -> *mut GProxyResolver;
13674    pub fn g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType;
13675    pub fn g_socket_client_get_timeout(client: *mut GSocketClient) -> c_uint;
13676    pub fn g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean;
13677    pub fn g_socket_client_get_tls_validation_flags(
13678        client: *mut GSocketClient,
13679    ) -> GTlsCertificateFlags;
13680    pub fn g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean);
13681    pub fn g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily);
13682    pub fn g_socket_client_set_local_address(
13683        client: *mut GSocketClient,
13684        address: *mut GSocketAddress,
13685    );
13686    pub fn g_socket_client_set_protocol(client: *mut GSocketClient, protocol: GSocketProtocol);
13687    pub fn g_socket_client_set_proxy_resolver(
13688        client: *mut GSocketClient,
13689        proxy_resolver: *mut GProxyResolver,
13690    );
13691    pub fn g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType);
13692    pub fn g_socket_client_set_timeout(client: *mut GSocketClient, timeout: c_uint);
13693    pub fn g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean);
13694    pub fn g_socket_client_set_tls_validation_flags(
13695        client: *mut GSocketClient,
13696        flags: GTlsCertificateFlags,
13697    );
13698
13699    //=========================================================================
13700    // GSocketConnection
13701    //=========================================================================
13702    pub fn g_socket_connection_get_type() -> GType;
13703    pub fn g_socket_connection_factory_lookup_type(
13704        family: GSocketFamily,
13705        type_: GSocketType,
13706        protocol_id: c_int,
13707    ) -> GType;
13708    pub fn g_socket_connection_factory_register_type(
13709        g_type: GType,
13710        family: GSocketFamily,
13711        type_: GSocketType,
13712        protocol: c_int,
13713    );
13714    pub fn g_socket_connection_connect(
13715        connection: *mut GSocketConnection,
13716        address: *mut GSocketAddress,
13717        cancellable: *mut GCancellable,
13718        error: *mut *mut glib::GError,
13719    ) -> gboolean;
13720    pub fn g_socket_connection_connect_async(
13721        connection: *mut GSocketConnection,
13722        address: *mut GSocketAddress,
13723        cancellable: *mut GCancellable,
13724        callback: GAsyncReadyCallback,
13725        user_data: gpointer,
13726    );
13727    pub fn g_socket_connection_connect_finish(
13728        connection: *mut GSocketConnection,
13729        result: *mut GAsyncResult,
13730        error: *mut *mut glib::GError,
13731    ) -> gboolean;
13732    pub fn g_socket_connection_get_local_address(
13733        connection: *mut GSocketConnection,
13734        error: *mut *mut glib::GError,
13735    ) -> *mut GSocketAddress;
13736    pub fn g_socket_connection_get_remote_address(
13737        connection: *mut GSocketConnection,
13738        error: *mut *mut glib::GError,
13739    ) -> *mut GSocketAddress;
13740    pub fn g_socket_connection_get_socket(connection: *mut GSocketConnection) -> *mut GSocket;
13741    pub fn g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean;
13742
13743    //=========================================================================
13744    // GSocketControlMessage
13745    //=========================================================================
13746    pub fn g_socket_control_message_get_type() -> GType;
13747    pub fn g_socket_control_message_deserialize(
13748        level: c_int,
13749        type_: c_int,
13750        size: size_t,
13751        data: gpointer,
13752    ) -> *mut GSocketControlMessage;
13753    pub fn g_socket_control_message_get_level(message: *mut GSocketControlMessage) -> c_int;
13754    pub fn g_socket_control_message_get_msg_type(message: *mut GSocketControlMessage) -> c_int;
13755    pub fn g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> size_t;
13756    pub fn g_socket_control_message_serialize(message: *mut GSocketControlMessage, data: gpointer);
13757
13758    //=========================================================================
13759    // GSocketListener
13760    //=========================================================================
13761    pub fn g_socket_listener_get_type() -> GType;
13762    pub fn g_socket_listener_new() -> *mut GSocketListener;
13763    pub fn g_socket_listener_accept(
13764        listener: *mut GSocketListener,
13765        source_object: *mut *mut gobject::GObject,
13766        cancellable: *mut GCancellable,
13767        error: *mut *mut glib::GError,
13768    ) -> *mut GSocketConnection;
13769    pub fn g_socket_listener_accept_async(
13770        listener: *mut GSocketListener,
13771        cancellable: *mut GCancellable,
13772        callback: GAsyncReadyCallback,
13773        user_data: gpointer,
13774    );
13775    pub fn g_socket_listener_accept_finish(
13776        listener: *mut GSocketListener,
13777        result: *mut GAsyncResult,
13778        source_object: *mut *mut gobject::GObject,
13779        error: *mut *mut glib::GError,
13780    ) -> *mut GSocketConnection;
13781    pub fn g_socket_listener_accept_socket(
13782        listener: *mut GSocketListener,
13783        source_object: *mut *mut gobject::GObject,
13784        cancellable: *mut GCancellable,
13785        error: *mut *mut glib::GError,
13786    ) -> *mut GSocket;
13787    pub fn g_socket_listener_accept_socket_async(
13788        listener: *mut GSocketListener,
13789        cancellable: *mut GCancellable,
13790        callback: GAsyncReadyCallback,
13791        user_data: gpointer,
13792    );
13793    pub fn g_socket_listener_accept_socket_finish(
13794        listener: *mut GSocketListener,
13795        result: *mut GAsyncResult,
13796        source_object: *mut *mut gobject::GObject,
13797        error: *mut *mut glib::GError,
13798    ) -> *mut GSocket;
13799    pub fn g_socket_listener_add_address(
13800        listener: *mut GSocketListener,
13801        address: *mut GSocketAddress,
13802        type_: GSocketType,
13803        protocol: GSocketProtocol,
13804        source_object: *mut gobject::GObject,
13805        effective_address: *mut *mut GSocketAddress,
13806        error: *mut *mut glib::GError,
13807    ) -> gboolean;
13808    pub fn g_socket_listener_add_any_inet_port(
13809        listener: *mut GSocketListener,
13810        source_object: *mut gobject::GObject,
13811        error: *mut *mut glib::GError,
13812    ) -> u16;
13813    pub fn g_socket_listener_add_inet_port(
13814        listener: *mut GSocketListener,
13815        port: u16,
13816        source_object: *mut gobject::GObject,
13817        error: *mut *mut glib::GError,
13818    ) -> gboolean;
13819    pub fn g_socket_listener_add_socket(
13820        listener: *mut GSocketListener,
13821        socket: *mut GSocket,
13822        source_object: *mut gobject::GObject,
13823        error: *mut *mut glib::GError,
13824    ) -> gboolean;
13825    pub fn g_socket_listener_close(listener: *mut GSocketListener);
13826    pub fn g_socket_listener_set_backlog(listener: *mut GSocketListener, listen_backlog: c_int);
13827
13828    //=========================================================================
13829    // GSocketService
13830    //=========================================================================
13831    pub fn g_socket_service_get_type() -> GType;
13832    pub fn g_socket_service_new() -> *mut GSocketService;
13833    pub fn g_socket_service_is_active(service: *mut GSocketService) -> gboolean;
13834    pub fn g_socket_service_start(service: *mut GSocketService);
13835    pub fn g_socket_service_stop(service: *mut GSocketService);
13836
13837    //=========================================================================
13838    // GSubprocess
13839    //=========================================================================
13840    pub fn g_subprocess_get_type() -> GType;
13841    pub fn g_subprocess_new(
13842        flags: GSubprocessFlags,
13843        error: *mut *mut glib::GError,
13844        argv0: *const c_char,
13845        ...
13846    ) -> *mut GSubprocess;
13847    pub fn g_subprocess_newv(
13848        argv: *const *const c_char,
13849        flags: GSubprocessFlags,
13850        error: *mut *mut glib::GError,
13851    ) -> *mut GSubprocess;
13852    pub fn g_subprocess_communicate(
13853        subprocess: *mut GSubprocess,
13854        stdin_buf: *mut glib::GBytes,
13855        cancellable: *mut GCancellable,
13856        stdout_buf: *mut *mut glib::GBytes,
13857        stderr_buf: *mut *mut glib::GBytes,
13858        error: *mut *mut glib::GError,
13859    ) -> gboolean;
13860    pub fn g_subprocess_communicate_async(
13861        subprocess: *mut GSubprocess,
13862        stdin_buf: *mut glib::GBytes,
13863        cancellable: *mut GCancellable,
13864        callback: GAsyncReadyCallback,
13865        user_data: gpointer,
13866    );
13867    pub fn g_subprocess_communicate_finish(
13868        subprocess: *mut GSubprocess,
13869        result: *mut GAsyncResult,
13870        stdout_buf: *mut *mut glib::GBytes,
13871        stderr_buf: *mut *mut glib::GBytes,
13872        error: *mut *mut glib::GError,
13873    ) -> gboolean;
13874    pub fn g_subprocess_communicate_utf8(
13875        subprocess: *mut GSubprocess,
13876        stdin_buf: *const c_char,
13877        cancellable: *mut GCancellable,
13878        stdout_buf: *mut *mut c_char,
13879        stderr_buf: *mut *mut c_char,
13880        error: *mut *mut glib::GError,
13881    ) -> gboolean;
13882    pub fn g_subprocess_communicate_utf8_async(
13883        subprocess: *mut GSubprocess,
13884        stdin_buf: *const c_char,
13885        cancellable: *mut GCancellable,
13886        callback: GAsyncReadyCallback,
13887        user_data: gpointer,
13888    );
13889    pub fn g_subprocess_communicate_utf8_finish(
13890        subprocess: *mut GSubprocess,
13891        result: *mut GAsyncResult,
13892        stdout_buf: *mut *mut c_char,
13893        stderr_buf: *mut *mut c_char,
13894        error: *mut *mut glib::GError,
13895    ) -> gboolean;
13896    pub fn g_subprocess_force_exit(subprocess: *mut GSubprocess);
13897    pub fn g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> c_int;
13898    pub fn g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const c_char;
13899    pub fn g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean;
13900    pub fn g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean;
13901    pub fn g_subprocess_get_status(subprocess: *mut GSubprocess) -> c_int;
13902    pub fn g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13903    pub fn g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream;
13904    pub fn g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13905    pub fn g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean;
13906    pub fn g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> c_int;
13907    pub fn g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: c_int);
13908    pub fn g_subprocess_wait(
13909        subprocess: *mut GSubprocess,
13910        cancellable: *mut GCancellable,
13911        error: *mut *mut glib::GError,
13912    ) -> gboolean;
13913    pub fn g_subprocess_wait_async(
13914        subprocess: *mut GSubprocess,
13915        cancellable: *mut GCancellable,
13916        callback: GAsyncReadyCallback,
13917        user_data: gpointer,
13918    );
13919    pub fn g_subprocess_wait_check(
13920        subprocess: *mut GSubprocess,
13921        cancellable: *mut GCancellable,
13922        error: *mut *mut glib::GError,
13923    ) -> gboolean;
13924    pub fn g_subprocess_wait_check_async(
13925        subprocess: *mut GSubprocess,
13926        cancellable: *mut GCancellable,
13927        callback: GAsyncReadyCallback,
13928        user_data: gpointer,
13929    );
13930    pub fn g_subprocess_wait_check_finish(
13931        subprocess: *mut GSubprocess,
13932        result: *mut GAsyncResult,
13933        error: *mut *mut glib::GError,
13934    ) -> gboolean;
13935    pub fn g_subprocess_wait_finish(
13936        subprocess: *mut GSubprocess,
13937        result: *mut GAsyncResult,
13938        error: *mut *mut glib::GError,
13939    ) -> gboolean;
13940
13941    //=========================================================================
13942    // GSubprocessLauncher
13943    //=========================================================================
13944    pub fn g_subprocess_launcher_get_type() -> GType;
13945    pub fn g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher;
13946    #[cfg(feature = "v2_68")]
13947    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
13948    #[cfg(unix)]
13949    #[cfg_attr(docsrs, doc(cfg(unix)))]
13950    pub fn g_subprocess_launcher_close(self_: *mut GSubprocessLauncher);
13951    pub fn g_subprocess_launcher_getenv(
13952        self_: *mut GSubprocessLauncher,
13953        variable: *const c_char,
13954    ) -> *const c_char;
13955    #[cfg(unix)]
13956    #[cfg_attr(docsrs, doc(cfg(unix)))]
13957    pub fn g_subprocess_launcher_set_child_setup(
13958        self_: *mut GSubprocessLauncher,
13959        child_setup: glib::GSpawnChildSetupFunc,
13960        user_data: gpointer,
13961        destroy_notify: glib::GDestroyNotify,
13962    );
13963    pub fn g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const c_char);
13964    pub fn g_subprocess_launcher_set_environ(
13965        self_: *mut GSubprocessLauncher,
13966        env: *mut *mut c_char,
13967    );
13968    pub fn g_subprocess_launcher_set_flags(
13969        self_: *mut GSubprocessLauncher,
13970        flags: GSubprocessFlags,
13971    );
13972    #[cfg(unix)]
13973    #[cfg_attr(docsrs, doc(cfg(unix)))]
13974    pub fn g_subprocess_launcher_set_stderr_file_path(
13975        self_: *mut GSubprocessLauncher,
13976        path: *const c_char,
13977    );
13978    #[cfg(unix)]
13979    #[cfg_attr(docsrs, doc(cfg(unix)))]
13980    pub fn g_subprocess_launcher_set_stdin_file_path(
13981        self_: *mut GSubprocessLauncher,
13982        path: *const c_char,
13983    );
13984    #[cfg(unix)]
13985    #[cfg_attr(docsrs, doc(cfg(unix)))]
13986    pub fn g_subprocess_launcher_set_stdout_file_path(
13987        self_: *mut GSubprocessLauncher,
13988        path: *const c_char,
13989    );
13990    pub fn g_subprocess_launcher_setenv(
13991        self_: *mut GSubprocessLauncher,
13992        variable: *const c_char,
13993        value: *const c_char,
13994        overwrite: gboolean,
13995    );
13996    pub fn g_subprocess_launcher_spawn(
13997        self_: *mut GSubprocessLauncher,
13998        error: *mut *mut glib::GError,
13999        argv0: *const c_char,
14000        ...
14001    ) -> *mut GSubprocess;
14002    pub fn g_subprocess_launcher_spawnv(
14003        self_: *mut GSubprocessLauncher,
14004        argv: *const *const c_char,
14005        error: *mut *mut glib::GError,
14006    ) -> *mut GSubprocess;
14007    #[cfg(unix)]
14008    #[cfg_attr(docsrs, doc(cfg(unix)))]
14009    pub fn g_subprocess_launcher_take_fd(
14010        self_: *mut GSubprocessLauncher,
14011        source_fd: c_int,
14012        target_fd: c_int,
14013    );
14014    #[cfg(unix)]
14015    #[cfg_attr(docsrs, doc(cfg(unix)))]
14016    pub fn g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14017    #[cfg(unix)]
14018    #[cfg_attr(docsrs, doc(cfg(unix)))]
14019    pub fn g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14020    #[cfg(unix)]
14021    #[cfg_attr(docsrs, doc(cfg(unix)))]
14022    pub fn g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14023    pub fn g_subprocess_launcher_unsetenv(self_: *mut GSubprocessLauncher, variable: *const c_char);
14024
14025    //=========================================================================
14026    // GTask
14027    //=========================================================================
14028    pub fn g_task_get_type() -> GType;
14029    pub fn g_task_new(
14030        source_object: *mut gobject::GObject,
14031        cancellable: *mut GCancellable,
14032        callback: GAsyncReadyCallback,
14033        callback_data: gpointer,
14034    ) -> *mut GTask;
14035    pub fn g_task_is_valid(
14036        result: *mut GAsyncResult,
14037        source_object: *mut gobject::GObject,
14038    ) -> gboolean;
14039    pub fn g_task_report_error(
14040        source_object: *mut gobject::GObject,
14041        callback: GAsyncReadyCallback,
14042        callback_data: gpointer,
14043        source_tag: gpointer,
14044        error: *mut glib::GError,
14045    );
14046    pub fn g_task_report_new_error(
14047        source_object: *mut gobject::GObject,
14048        callback: GAsyncReadyCallback,
14049        callback_data: gpointer,
14050        source_tag: gpointer,
14051        domain: glib::GQuark,
14052        code: c_int,
14053        format: *const c_char,
14054        ...
14055    );
14056    pub fn g_task_attach_source(
14057        task: *mut GTask,
14058        source: *mut glib::GSource,
14059        callback: glib::GSourceFunc,
14060    );
14061    pub fn g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable;
14062    pub fn g_task_get_check_cancellable(task: *mut GTask) -> gboolean;
14063    pub fn g_task_get_completed(task: *mut GTask) -> gboolean;
14064    pub fn g_task_get_context(task: *mut GTask) -> *mut glib::GMainContext;
14065    #[cfg(feature = "v2_60")]
14066    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14067    pub fn g_task_get_name(task: *mut GTask) -> *const c_char;
14068    pub fn g_task_get_priority(task: *mut GTask) -> c_int;
14069    pub fn g_task_get_return_on_cancel(task: *mut GTask) -> gboolean;
14070    pub fn g_task_get_source_object(task: *mut GTask) -> *mut gobject::GObject;
14071    pub fn g_task_get_source_tag(task: *mut GTask) -> gpointer;
14072    pub fn g_task_get_task_data(task: *mut GTask) -> gpointer;
14073    pub fn g_task_had_error(task: *mut GTask) -> gboolean;
14074    pub fn g_task_propagate_boolean(task: *mut GTask, error: *mut *mut glib::GError) -> gboolean;
14075    pub fn g_task_propagate_int(task: *mut GTask, error: *mut *mut glib::GError) -> ssize_t;
14076    pub fn g_task_propagate_pointer(task: *mut GTask, error: *mut *mut glib::GError) -> gpointer;
14077    #[cfg(feature = "v2_64")]
14078    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14079    pub fn g_task_propagate_value(
14080        task: *mut GTask,
14081        value: *mut gobject::GValue,
14082        error: *mut *mut glib::GError,
14083    ) -> gboolean;
14084    pub fn g_task_return_boolean(task: *mut GTask, result: gboolean);
14085    pub fn g_task_return_error(task: *mut GTask, error: *mut glib::GError);
14086    pub fn g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean;
14087    pub fn g_task_return_int(task: *mut GTask, result: ssize_t);
14088    pub fn g_task_return_new_error(
14089        task: *mut GTask,
14090        domain: glib::GQuark,
14091        code: c_int,
14092        format: *const c_char,
14093        ...
14094    );
14095    #[cfg(feature = "v2_80")]
14096    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14097    pub fn g_task_return_new_error_literal(
14098        task: *mut GTask,
14099        domain: glib::GQuark,
14100        code: c_int,
14101        message: *const c_char,
14102    );
14103    pub fn g_task_return_pointer(
14104        task: *mut GTask,
14105        result: gpointer,
14106        result_destroy: glib::GDestroyNotify,
14107    );
14108    #[cfg(feature = "v2_80")]
14109    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14110    pub fn g_task_return_prefixed_error(
14111        task: *mut GTask,
14112        error: *mut glib::GError,
14113        format: *const c_char,
14114        ...
14115    );
14116    #[cfg(feature = "v2_64")]
14117    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14118    pub fn g_task_return_value(task: *mut GTask, result: *mut gobject::GValue);
14119    pub fn g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc);
14120    pub fn g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc);
14121    pub fn g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean);
14122    #[cfg(feature = "v2_60")]
14123    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14124    pub fn g_task_set_name(task: *mut GTask, name: *const c_char);
14125    pub fn g_task_set_priority(task: *mut GTask, priority: c_int);
14126    pub fn g_task_set_return_on_cancel(task: *mut GTask, return_on_cancel: gboolean) -> gboolean;
14127    pub fn g_task_set_source_tag(task: *mut GTask, source_tag: gpointer);
14128    #[cfg(feature = "v2_76")]
14129    #[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
14130    pub fn g_task_set_static_name(task: *mut GTask, name: *const c_char);
14131    pub fn g_task_set_task_data(
14132        task: *mut GTask,
14133        task_data: gpointer,
14134        task_data_destroy: glib::GDestroyNotify,
14135    );
14136
14137    //=========================================================================
14138    // GTcpConnection
14139    //=========================================================================
14140    pub fn g_tcp_connection_get_type() -> GType;
14141    pub fn g_tcp_connection_get_graceful_disconnect(connection: *mut GTcpConnection) -> gboolean;
14142    pub fn g_tcp_connection_set_graceful_disconnect(
14143        connection: *mut GTcpConnection,
14144        graceful_disconnect: gboolean,
14145    );
14146
14147    //=========================================================================
14148    // GTcpWrapperConnection
14149    //=========================================================================
14150    pub fn g_tcp_wrapper_connection_get_type() -> GType;
14151    pub fn g_tcp_wrapper_connection_new(
14152        base_io_stream: *mut GIOStream,
14153        socket: *mut GSocket,
14154    ) -> *mut GSocketConnection;
14155    pub fn g_tcp_wrapper_connection_get_base_io_stream(
14156        conn: *mut GTcpWrapperConnection,
14157    ) -> *mut GIOStream;
14158
14159    //=========================================================================
14160    // GTestDBus
14161    //=========================================================================
14162    pub fn g_test_dbus_get_type() -> GType;
14163    pub fn g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus;
14164    pub fn g_test_dbus_unset();
14165    pub fn g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const c_char);
14166    pub fn g_test_dbus_down(self_: *mut GTestDBus);
14167    pub fn g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const c_char;
14168    pub fn g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags;
14169    pub fn g_test_dbus_stop(self_: *mut GTestDBus);
14170    pub fn g_test_dbus_up(self_: *mut GTestDBus);
14171
14172    //=========================================================================
14173    // GThemedIcon
14174    //=========================================================================
14175    pub fn g_themed_icon_get_type() -> GType;
14176    pub fn g_themed_icon_new(iconname: *const c_char) -> *mut GThemedIcon;
14177    pub fn g_themed_icon_new_from_names(
14178        iconnames: *mut *mut c_char,
14179        len: c_int,
14180    ) -> *mut GThemedIcon;
14181    pub fn g_themed_icon_new_with_default_fallbacks(iconname: *const c_char) -> *mut GThemedIcon;
14182    pub fn g_themed_icon_append_name(icon: *mut GThemedIcon, iconname: *const c_char);
14183    pub fn g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const c_char;
14184    pub fn g_themed_icon_prepend_name(icon: *mut GThemedIcon, iconname: *const c_char);
14185
14186    //=========================================================================
14187    // GThreadedResolver
14188    //=========================================================================
14189    pub fn g_threaded_resolver_get_type() -> GType;
14190
14191    //=========================================================================
14192    // GThreadedSocketService
14193    //=========================================================================
14194    pub fn g_threaded_socket_service_get_type() -> GType;
14195    pub fn g_threaded_socket_service_new(max_threads: c_int) -> *mut GSocketService;
14196
14197    //=========================================================================
14198    // GTlsCertificate
14199    //=========================================================================
14200    pub fn g_tls_certificate_get_type() -> GType;
14201    pub fn g_tls_certificate_new_from_file(
14202        file: *const c_char,
14203        error: *mut *mut glib::GError,
14204    ) -> *mut GTlsCertificate;
14205    #[cfg(feature = "v2_72")]
14206    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14207    pub fn g_tls_certificate_new_from_file_with_password(
14208        file: *const c_char,
14209        password: *const c_char,
14210        error: *mut *mut glib::GError,
14211    ) -> *mut GTlsCertificate;
14212    pub fn g_tls_certificate_new_from_files(
14213        cert_file: *const c_char,
14214        key_file: *const c_char,
14215        error: *mut *mut glib::GError,
14216    ) -> *mut GTlsCertificate;
14217    pub fn g_tls_certificate_new_from_pem(
14218        data: *const c_char,
14219        length: ssize_t,
14220        error: *mut *mut glib::GError,
14221    ) -> *mut GTlsCertificate;
14222    #[cfg(feature = "v2_68")]
14223    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
14224    pub fn g_tls_certificate_new_from_pkcs11_uris(
14225        pkcs11_uri: *const c_char,
14226        private_key_pkcs11_uri: *const c_char,
14227        error: *mut *mut glib::GError,
14228    ) -> *mut GTlsCertificate;
14229    #[cfg(feature = "v2_72")]
14230    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14231    pub fn g_tls_certificate_new_from_pkcs12(
14232        data: *const u8,
14233        length: size_t,
14234        password: *const c_char,
14235        error: *mut *mut glib::GError,
14236    ) -> *mut GTlsCertificate;
14237    pub fn g_tls_certificate_list_new_from_file(
14238        file: *const c_char,
14239        error: *mut *mut glib::GError,
14240    ) -> *mut glib::GList;
14241    #[cfg(feature = "v2_70")]
14242    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14243    pub fn g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14244    #[cfg(feature = "v2_70")]
14245    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14246    pub fn g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14247    pub fn g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate;
14248    #[cfg(feature = "v2_70")]
14249    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14250    pub fn g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut c_char;
14251    #[cfg(feature = "v2_70")]
14252    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14253    pub fn g_tls_certificate_get_not_valid_after(
14254        cert: *mut GTlsCertificate,
14255    ) -> *mut glib::GDateTime;
14256    #[cfg(feature = "v2_70")]
14257    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14258    pub fn g_tls_certificate_get_not_valid_before(
14259        cert: *mut GTlsCertificate,
14260    ) -> *mut glib::GDateTime;
14261    #[cfg(feature = "v2_70")]
14262    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14263    pub fn g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut c_char;
14264    pub fn g_tls_certificate_is_same(
14265        cert_one: *mut GTlsCertificate,
14266        cert_two: *mut GTlsCertificate,
14267    ) -> gboolean;
14268    pub fn g_tls_certificate_verify(
14269        cert: *mut GTlsCertificate,
14270        identity: *mut GSocketConnectable,
14271        trusted_ca: *mut GTlsCertificate,
14272    ) -> GTlsCertificateFlags;
14273
14274    //=========================================================================
14275    // GTlsConnection
14276    //=========================================================================
14277    pub fn g_tls_connection_get_type() -> GType;
14278    pub fn g_tls_connection_emit_accept_certificate(
14279        conn: *mut GTlsConnection,
14280        peer_cert: *mut GTlsCertificate,
14281        errors: GTlsCertificateFlags,
14282    ) -> gboolean;
14283    pub fn g_tls_connection_get_certificate(conn: *mut GTlsConnection) -> *mut GTlsCertificate;
14284    #[cfg(feature = "v2_66")]
14285    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
14286    pub fn g_tls_connection_get_channel_binding_data(
14287        conn: *mut GTlsConnection,
14288        type_: GTlsChannelBindingType,
14289        data: *mut glib::GByteArray,
14290        error: *mut *mut glib::GError,
14291    ) -> gboolean;
14292    #[cfg(feature = "v2_70")]
14293    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14294    pub fn g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut c_char;
14295    pub fn g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase;
14296    pub fn g_tls_connection_get_interaction(conn: *mut GTlsConnection) -> *mut GTlsInteraction;
14297    #[cfg(feature = "v2_60")]
14298    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14299    pub fn g_tls_connection_get_negotiated_protocol(conn: *mut GTlsConnection) -> *const c_char;
14300    pub fn g_tls_connection_get_peer_certificate(conn: *mut GTlsConnection)
14301    -> *mut GTlsCertificate;
14302    pub fn g_tls_connection_get_peer_certificate_errors(
14303        conn: *mut GTlsConnection,
14304    ) -> GTlsCertificateFlags;
14305    #[cfg(feature = "v2_70")]
14306    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14307    pub fn g_tls_connection_get_protocol_version(conn: *mut GTlsConnection) -> GTlsProtocolVersion;
14308    pub fn g_tls_connection_get_rehandshake_mode(conn: *mut GTlsConnection) -> GTlsRehandshakeMode;
14309    pub fn g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean;
14310    pub fn g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean;
14311    pub fn g_tls_connection_handshake(
14312        conn: *mut GTlsConnection,
14313        cancellable: *mut GCancellable,
14314        error: *mut *mut glib::GError,
14315    ) -> gboolean;
14316    pub fn g_tls_connection_handshake_async(
14317        conn: *mut GTlsConnection,
14318        io_priority: c_int,
14319        cancellable: *mut GCancellable,
14320        callback: GAsyncReadyCallback,
14321        user_data: gpointer,
14322    );
14323    pub fn g_tls_connection_handshake_finish(
14324        conn: *mut GTlsConnection,
14325        result: *mut GAsyncResult,
14326        error: *mut *mut glib::GError,
14327    ) -> gboolean;
14328    #[cfg(feature = "v2_60")]
14329    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14330    pub fn g_tls_connection_set_advertised_protocols(
14331        conn: *mut GTlsConnection,
14332        protocols: *const *const c_char,
14333    );
14334    pub fn g_tls_connection_set_certificate(
14335        conn: *mut GTlsConnection,
14336        certificate: *mut GTlsCertificate,
14337    );
14338    pub fn g_tls_connection_set_database(conn: *mut GTlsConnection, database: *mut GTlsDatabase);
14339    pub fn g_tls_connection_set_interaction(
14340        conn: *mut GTlsConnection,
14341        interaction: *mut GTlsInteraction,
14342    );
14343    pub fn g_tls_connection_set_rehandshake_mode(
14344        conn: *mut GTlsConnection,
14345        mode: GTlsRehandshakeMode,
14346    );
14347    pub fn g_tls_connection_set_require_close_notify(
14348        conn: *mut GTlsConnection,
14349        require_close_notify: gboolean,
14350    );
14351    pub fn g_tls_connection_set_use_system_certdb(
14352        conn: *mut GTlsConnection,
14353        use_system_certdb: gboolean,
14354    );
14355
14356    //=========================================================================
14357    // GTlsDatabase
14358    //=========================================================================
14359    pub fn g_tls_database_get_type() -> GType;
14360    pub fn g_tls_database_create_certificate_handle(
14361        self_: *mut GTlsDatabase,
14362        certificate: *mut GTlsCertificate,
14363    ) -> *mut c_char;
14364    pub fn g_tls_database_lookup_certificate_for_handle(
14365        self_: *mut GTlsDatabase,
14366        handle: *const c_char,
14367        interaction: *mut GTlsInteraction,
14368        flags: GTlsDatabaseLookupFlags,
14369        cancellable: *mut GCancellable,
14370        error: *mut *mut glib::GError,
14371    ) -> *mut GTlsCertificate;
14372    pub fn g_tls_database_lookup_certificate_for_handle_async(
14373        self_: *mut GTlsDatabase,
14374        handle: *const c_char,
14375        interaction: *mut GTlsInteraction,
14376        flags: GTlsDatabaseLookupFlags,
14377        cancellable: *mut GCancellable,
14378        callback: GAsyncReadyCallback,
14379        user_data: gpointer,
14380    );
14381    pub fn g_tls_database_lookup_certificate_for_handle_finish(
14382        self_: *mut GTlsDatabase,
14383        result: *mut GAsyncResult,
14384        error: *mut *mut glib::GError,
14385    ) -> *mut GTlsCertificate;
14386    pub fn g_tls_database_lookup_certificate_issuer(
14387        self_: *mut GTlsDatabase,
14388        certificate: *mut GTlsCertificate,
14389        interaction: *mut GTlsInteraction,
14390        flags: GTlsDatabaseLookupFlags,
14391        cancellable: *mut GCancellable,
14392        error: *mut *mut glib::GError,
14393    ) -> *mut GTlsCertificate;
14394    pub fn g_tls_database_lookup_certificate_issuer_async(
14395        self_: *mut GTlsDatabase,
14396        certificate: *mut GTlsCertificate,
14397        interaction: *mut GTlsInteraction,
14398        flags: GTlsDatabaseLookupFlags,
14399        cancellable: *mut GCancellable,
14400        callback: GAsyncReadyCallback,
14401        user_data: gpointer,
14402    );
14403    pub fn g_tls_database_lookup_certificate_issuer_finish(
14404        self_: *mut GTlsDatabase,
14405        result: *mut GAsyncResult,
14406        error: *mut *mut glib::GError,
14407    ) -> *mut GTlsCertificate;
14408    pub fn g_tls_database_lookup_certificates_issued_by(
14409        self_: *mut GTlsDatabase,
14410        issuer_raw_dn: *mut glib::GByteArray,
14411        interaction: *mut GTlsInteraction,
14412        flags: GTlsDatabaseLookupFlags,
14413        cancellable: *mut GCancellable,
14414        error: *mut *mut glib::GError,
14415    ) -> *mut glib::GList;
14416    pub fn g_tls_database_lookup_certificates_issued_by_async(
14417        self_: *mut GTlsDatabase,
14418        issuer_raw_dn: *mut glib::GByteArray,
14419        interaction: *mut GTlsInteraction,
14420        flags: GTlsDatabaseLookupFlags,
14421        cancellable: *mut GCancellable,
14422        callback: GAsyncReadyCallback,
14423        user_data: gpointer,
14424    );
14425    pub fn g_tls_database_lookup_certificates_issued_by_finish(
14426        self_: *mut GTlsDatabase,
14427        result: *mut GAsyncResult,
14428        error: *mut *mut glib::GError,
14429    ) -> *mut glib::GList;
14430    pub fn g_tls_database_verify_chain(
14431        self_: *mut GTlsDatabase,
14432        chain: *mut GTlsCertificate,
14433        purpose: *const c_char,
14434        identity: *mut GSocketConnectable,
14435        interaction: *mut GTlsInteraction,
14436        flags: GTlsDatabaseVerifyFlags,
14437        cancellable: *mut GCancellable,
14438        error: *mut *mut glib::GError,
14439    ) -> GTlsCertificateFlags;
14440    pub fn g_tls_database_verify_chain_async(
14441        self_: *mut GTlsDatabase,
14442        chain: *mut GTlsCertificate,
14443        purpose: *const c_char,
14444        identity: *mut GSocketConnectable,
14445        interaction: *mut GTlsInteraction,
14446        flags: GTlsDatabaseVerifyFlags,
14447        cancellable: *mut GCancellable,
14448        callback: GAsyncReadyCallback,
14449        user_data: gpointer,
14450    );
14451    pub fn g_tls_database_verify_chain_finish(
14452        self_: *mut GTlsDatabase,
14453        result: *mut GAsyncResult,
14454        error: *mut *mut glib::GError,
14455    ) -> GTlsCertificateFlags;
14456
14457    //=========================================================================
14458    // GTlsInteraction
14459    //=========================================================================
14460    pub fn g_tls_interaction_get_type() -> GType;
14461    pub fn g_tls_interaction_ask_password(
14462        interaction: *mut GTlsInteraction,
14463        password: *mut GTlsPassword,
14464        cancellable: *mut GCancellable,
14465        error: *mut *mut glib::GError,
14466    ) -> GTlsInteractionResult;
14467    pub fn g_tls_interaction_ask_password_async(
14468        interaction: *mut GTlsInteraction,
14469        password: *mut GTlsPassword,
14470        cancellable: *mut GCancellable,
14471        callback: GAsyncReadyCallback,
14472        user_data: gpointer,
14473    );
14474    pub fn g_tls_interaction_ask_password_finish(
14475        interaction: *mut GTlsInteraction,
14476        result: *mut GAsyncResult,
14477        error: *mut *mut glib::GError,
14478    ) -> GTlsInteractionResult;
14479    pub fn g_tls_interaction_invoke_ask_password(
14480        interaction: *mut GTlsInteraction,
14481        password: *mut GTlsPassword,
14482        cancellable: *mut GCancellable,
14483        error: *mut *mut glib::GError,
14484    ) -> GTlsInteractionResult;
14485    pub fn g_tls_interaction_invoke_request_certificate(
14486        interaction: *mut GTlsInteraction,
14487        connection: *mut GTlsConnection,
14488        flags: GTlsCertificateRequestFlags,
14489        cancellable: *mut GCancellable,
14490        error: *mut *mut glib::GError,
14491    ) -> GTlsInteractionResult;
14492    pub fn g_tls_interaction_request_certificate(
14493        interaction: *mut GTlsInteraction,
14494        connection: *mut GTlsConnection,
14495        flags: GTlsCertificateRequestFlags,
14496        cancellable: *mut GCancellable,
14497        error: *mut *mut glib::GError,
14498    ) -> GTlsInteractionResult;
14499    pub fn g_tls_interaction_request_certificate_async(
14500        interaction: *mut GTlsInteraction,
14501        connection: *mut GTlsConnection,
14502        flags: GTlsCertificateRequestFlags,
14503        cancellable: *mut GCancellable,
14504        callback: GAsyncReadyCallback,
14505        user_data: gpointer,
14506    );
14507    pub fn g_tls_interaction_request_certificate_finish(
14508        interaction: *mut GTlsInteraction,
14509        result: *mut GAsyncResult,
14510        error: *mut *mut glib::GError,
14511    ) -> GTlsInteractionResult;
14512
14513    //=========================================================================
14514    // GTlsPassword
14515    //=========================================================================
14516    pub fn g_tls_password_get_type() -> GType;
14517    pub fn g_tls_password_new(
14518        flags: GTlsPasswordFlags,
14519        description: *const c_char,
14520    ) -> *mut GTlsPassword;
14521    pub fn g_tls_password_get_description(password: *mut GTlsPassword) -> *const c_char;
14522    pub fn g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags;
14523    pub fn g_tls_password_get_value(password: *mut GTlsPassword, length: *mut size_t) -> *const u8;
14524    pub fn g_tls_password_get_warning(password: *mut GTlsPassword) -> *const c_char;
14525    pub fn g_tls_password_set_description(password: *mut GTlsPassword, description: *const c_char);
14526    pub fn g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags);
14527    pub fn g_tls_password_set_value(password: *mut GTlsPassword, value: *const u8, length: ssize_t);
14528    pub fn g_tls_password_set_value_full(
14529        password: *mut GTlsPassword,
14530        value: *mut u8,
14531        length: ssize_t,
14532        destroy: glib::GDestroyNotify,
14533    );
14534    pub fn g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const c_char);
14535
14536    //=========================================================================
14537    // GUnixConnection
14538    //=========================================================================
14539    pub fn g_unix_connection_get_type() -> GType;
14540    pub fn g_unix_connection_receive_credentials(
14541        connection: *mut GUnixConnection,
14542        cancellable: *mut GCancellable,
14543        error: *mut *mut glib::GError,
14544    ) -> *mut GCredentials;
14545    pub fn g_unix_connection_receive_credentials_async(
14546        connection: *mut GUnixConnection,
14547        cancellable: *mut GCancellable,
14548        callback: GAsyncReadyCallback,
14549        user_data: gpointer,
14550    );
14551    pub fn g_unix_connection_receive_credentials_finish(
14552        connection: *mut GUnixConnection,
14553        result: *mut GAsyncResult,
14554        error: *mut *mut glib::GError,
14555    ) -> *mut GCredentials;
14556    pub fn g_unix_connection_receive_fd(
14557        connection: *mut GUnixConnection,
14558        cancellable: *mut GCancellable,
14559        error: *mut *mut glib::GError,
14560    ) -> c_int;
14561    pub fn g_unix_connection_send_credentials(
14562        connection: *mut GUnixConnection,
14563        cancellable: *mut GCancellable,
14564        error: *mut *mut glib::GError,
14565    ) -> gboolean;
14566    pub fn g_unix_connection_send_credentials_async(
14567        connection: *mut GUnixConnection,
14568        cancellable: *mut GCancellable,
14569        callback: GAsyncReadyCallback,
14570        user_data: gpointer,
14571    );
14572    pub fn g_unix_connection_send_credentials_finish(
14573        connection: *mut GUnixConnection,
14574        result: *mut GAsyncResult,
14575        error: *mut *mut glib::GError,
14576    ) -> gboolean;
14577    pub fn g_unix_connection_send_fd(
14578        connection: *mut GUnixConnection,
14579        fd: c_int,
14580        cancellable: *mut GCancellable,
14581        error: *mut *mut glib::GError,
14582    ) -> gboolean;
14583
14584    //=========================================================================
14585    // GUnixCredentialsMessage
14586    //=========================================================================
14587    pub fn g_unix_credentials_message_get_type() -> GType;
14588    pub fn g_unix_credentials_message_new() -> *mut GSocketControlMessage;
14589    pub fn g_unix_credentials_message_new_with_credentials(
14590        credentials: *mut GCredentials,
14591    ) -> *mut GSocketControlMessage;
14592    pub fn g_unix_credentials_message_is_supported() -> gboolean;
14593    pub fn g_unix_credentials_message_get_credentials(
14594        message: *mut GUnixCredentialsMessage,
14595    ) -> *mut GCredentials;
14596
14597    //=========================================================================
14598    // GUnixFDList
14599    //=========================================================================
14600    pub fn g_unix_fd_list_get_type() -> GType;
14601    pub fn g_unix_fd_list_new() -> *mut GUnixFDList;
14602    pub fn g_unix_fd_list_new_from_array(fds: *const c_int, n_fds: c_int) -> *mut GUnixFDList;
14603    pub fn g_unix_fd_list_append(
14604        list: *mut GUnixFDList,
14605        fd: c_int,
14606        error: *mut *mut glib::GError,
14607    ) -> c_int;
14608    #[cfg(feature = "v2_90")]
14609    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14610    pub fn g_unix_fd_list_append_take(list: *mut GUnixFDList, fd: c_int) -> size_t;
14611    pub fn g_unix_fd_list_get(
14612        list: *mut GUnixFDList,
14613        index_: c_int,
14614        error: *mut *mut glib::GError,
14615    ) -> c_int;
14616    pub fn g_unix_fd_list_get_length(list: *mut GUnixFDList) -> c_int;
14617    #[cfg(feature = "v2_90")]
14618    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14619    pub fn g_unix_fd_list_lookup(list: *mut GUnixFDList, index_: size_t) -> c_int;
14620    #[cfg(feature = "v2_90")]
14621    #[cfg_attr(docsrs, doc(cfg(feature = "v2_90")))]
14622    pub fn g_unix_fd_list_peek(list: *mut GUnixFDList, index_: size_t) -> c_int;
14623    pub fn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int;
14624    pub fn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int;
14625
14626    //=========================================================================
14627    // GUnixSocketAddress
14628    //=========================================================================
14629    pub fn g_unix_socket_address_get_type() -> GType;
14630    pub fn g_unix_socket_address_new(path: *const c_char) -> *mut GSocketAddress;
14631    pub fn g_unix_socket_address_new_abstract(
14632        path: *const c_char,
14633        path_len: c_int,
14634    ) -> *mut GSocketAddress;
14635    pub fn g_unix_socket_address_new_with_type(
14636        path: *const c_char,
14637        path_len: c_int,
14638        type_: GUnixSocketAddressType,
14639    ) -> *mut GSocketAddress;
14640    pub fn g_unix_socket_address_abstract_names_supported() -> gboolean;
14641    pub fn g_unix_socket_address_get_address_type(
14642        address: *mut GUnixSocketAddress,
14643    ) -> GUnixSocketAddressType;
14644    pub fn g_unix_socket_address_get_is_abstract(address: *mut GUnixSocketAddress) -> gboolean;
14645    pub fn g_unix_socket_address_get_path(address: *mut GUnixSocketAddress) -> *const c_char;
14646    pub fn g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> size_t;
14647
14648    //=========================================================================
14649    // GVfs
14650    //=========================================================================
14651    pub fn g_vfs_get_type() -> GType;
14652    pub fn g_vfs_get_default() -> *mut GVfs;
14653    pub fn g_vfs_get_local() -> *mut GVfs;
14654    pub fn g_vfs_get_file_for_path(vfs: *mut GVfs, path: *const c_char) -> *mut GFile;
14655    pub fn g_vfs_get_file_for_uri(vfs: *mut GVfs, uri: *const c_char) -> *mut GFile;
14656    pub fn g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const c_char;
14657    pub fn g_vfs_is_active(vfs: *mut GVfs) -> gboolean;
14658    pub fn g_vfs_parse_name(vfs: *mut GVfs, parse_name: *const c_char) -> *mut GFile;
14659    pub fn g_vfs_register_uri_scheme(
14660        vfs: *mut GVfs,
14661        scheme: *const c_char,
14662        uri_func: GVfsFileLookupFunc,
14663        uri_data: gpointer,
14664        uri_destroy: glib::GDestroyNotify,
14665        parse_name_func: GVfsFileLookupFunc,
14666        parse_name_data: gpointer,
14667        parse_name_destroy: glib::GDestroyNotify,
14668    ) -> gboolean;
14669    pub fn g_vfs_unregister_uri_scheme(vfs: *mut GVfs, scheme: *const c_char) -> gboolean;
14670
14671    //=========================================================================
14672    // GVolumeMonitor
14673    //=========================================================================
14674    pub fn g_volume_monitor_get_type() -> GType;
14675    pub fn g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume;
14676    pub fn g_volume_monitor_get() -> *mut GVolumeMonitor;
14677    pub fn g_volume_monitor_get_connected_drives(
14678        volume_monitor: *mut GVolumeMonitor,
14679    ) -> *mut glib::GList;
14680    pub fn g_volume_monitor_get_mount_for_uuid(
14681        volume_monitor: *mut GVolumeMonitor,
14682        uuid: *const c_char,
14683    ) -> *mut GMount;
14684    pub fn g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14685    pub fn g_volume_monitor_get_volume_for_uuid(
14686        volume_monitor: *mut GVolumeMonitor,
14687        uuid: *const c_char,
14688    ) -> *mut GVolume;
14689    pub fn g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14690
14691    //=========================================================================
14692    // GZlibCompressor
14693    //=========================================================================
14694    pub fn g_zlib_compressor_get_type() -> GType;
14695    pub fn g_zlib_compressor_new(
14696        format: GZlibCompressorFormat,
14697        level: c_int,
14698    ) -> *mut GZlibCompressor;
14699    pub fn g_zlib_compressor_get_file_info(compressor: *mut GZlibCompressor) -> *mut GFileInfo;
14700    #[cfg(feature = "v2_86")]
14701    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14702    pub fn g_zlib_compressor_get_os(compressor: *mut GZlibCompressor) -> c_int;
14703    pub fn g_zlib_compressor_set_file_info(
14704        compressor: *mut GZlibCompressor,
14705        file_info: *mut GFileInfo,
14706    );
14707    #[cfg(feature = "v2_86")]
14708    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14709    pub fn g_zlib_compressor_set_os(compressor: *mut GZlibCompressor, os: c_int);
14710
14711    //=========================================================================
14712    // GZlibDecompressor
14713    //=========================================================================
14714    pub fn g_zlib_decompressor_get_type() -> GType;
14715    pub fn g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor;
14716    pub fn g_zlib_decompressor_get_file_info(
14717        decompressor: *mut GZlibDecompressor,
14718    ) -> *mut GFileInfo;
14719
14720    //=========================================================================
14721    // GAction
14722    //=========================================================================
14723    pub fn g_action_get_type() -> GType;
14724    pub fn g_action_name_is_valid(action_name: *const c_char) -> gboolean;
14725    pub fn g_action_parse_detailed_name(
14726        detailed_name: *const c_char,
14727        action_name: *mut *mut c_char,
14728        target_value: *mut *mut glib::GVariant,
14729        error: *mut *mut glib::GError,
14730    ) -> gboolean;
14731    pub fn g_action_print_detailed_name(
14732        action_name: *const c_char,
14733        target_value: *mut glib::GVariant,
14734    ) -> *mut c_char;
14735    pub fn g_action_activate(action: *mut GAction, parameter: *mut glib::GVariant);
14736    pub fn g_action_change_state(action: *mut GAction, value: *mut glib::GVariant);
14737    pub fn g_action_get_enabled(action: *mut GAction) -> gboolean;
14738    pub fn g_action_get_name(action: *mut GAction) -> *const c_char;
14739    pub fn g_action_get_parameter_type(action: *mut GAction) -> *const glib::GVariantType;
14740    pub fn g_action_get_state(action: *mut GAction) -> *mut glib::GVariant;
14741    pub fn g_action_get_state_hint(action: *mut GAction) -> *mut glib::GVariant;
14742    pub fn g_action_get_state_type(action: *mut GAction) -> *const glib::GVariantType;
14743
14744    //=========================================================================
14745    // GActionGroup
14746    //=========================================================================
14747    pub fn g_action_group_get_type() -> GType;
14748    pub fn g_action_group_action_added(action_group: *mut GActionGroup, action_name: *const c_char);
14749    pub fn g_action_group_action_enabled_changed(
14750        action_group: *mut GActionGroup,
14751        action_name: *const c_char,
14752        enabled: gboolean,
14753    );
14754    pub fn g_action_group_action_removed(
14755        action_group: *mut GActionGroup,
14756        action_name: *const c_char,
14757    );
14758    pub fn g_action_group_action_state_changed(
14759        action_group: *mut GActionGroup,
14760        action_name: *const c_char,
14761        state: *mut glib::GVariant,
14762    );
14763    pub fn g_action_group_activate_action(
14764        action_group: *mut GActionGroup,
14765        action_name: *const c_char,
14766        parameter: *mut glib::GVariant,
14767    );
14768    pub fn g_action_group_change_action_state(
14769        action_group: *mut GActionGroup,
14770        action_name: *const c_char,
14771        value: *mut glib::GVariant,
14772    );
14773    pub fn g_action_group_get_action_enabled(
14774        action_group: *mut GActionGroup,
14775        action_name: *const c_char,
14776    ) -> gboolean;
14777    pub fn g_action_group_get_action_parameter_type(
14778        action_group: *mut GActionGroup,
14779        action_name: *const c_char,
14780    ) -> *const glib::GVariantType;
14781    pub fn g_action_group_get_action_state(
14782        action_group: *mut GActionGroup,
14783        action_name: *const c_char,
14784    ) -> *mut glib::GVariant;
14785    pub fn g_action_group_get_action_state_hint(
14786        action_group: *mut GActionGroup,
14787        action_name: *const c_char,
14788    ) -> *mut glib::GVariant;
14789    pub fn g_action_group_get_action_state_type(
14790        action_group: *mut GActionGroup,
14791        action_name: *const c_char,
14792    ) -> *const glib::GVariantType;
14793    pub fn g_action_group_has_action(
14794        action_group: *mut GActionGroup,
14795        action_name: *const c_char,
14796    ) -> gboolean;
14797    pub fn g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut c_char;
14798    pub fn g_action_group_query_action(
14799        action_group: *mut GActionGroup,
14800        action_name: *const c_char,
14801        enabled: *mut gboolean,
14802        parameter_type: *mut *const glib::GVariantType,
14803        state_type: *mut *const glib::GVariantType,
14804        state_hint: *mut *mut glib::GVariant,
14805        state: *mut *mut glib::GVariant,
14806    ) -> gboolean;
14807
14808    //=========================================================================
14809    // GActionMap
14810    //=========================================================================
14811    pub fn g_action_map_get_type() -> GType;
14812    pub fn g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction);
14813    pub fn g_action_map_add_action_entries(
14814        action_map: *mut GActionMap,
14815        entries: *const GActionEntry,
14816        n_entries: c_int,
14817        user_data: gpointer,
14818    );
14819    pub fn g_action_map_lookup_action(
14820        action_map: *mut GActionMap,
14821        action_name: *const c_char,
14822    ) -> *mut GAction;
14823    pub fn g_action_map_remove_action(action_map: *mut GActionMap, action_name: *const c_char);
14824    #[cfg(feature = "v2_78")]
14825    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
14826    pub fn g_action_map_remove_action_entries(
14827        action_map: *mut GActionMap,
14828        entries: *const GActionEntry,
14829        n_entries: c_int,
14830    );
14831
14832    //=========================================================================
14833    // GAppInfo
14834    //=========================================================================
14835    pub fn g_app_info_get_type() -> GType;
14836    pub fn g_app_info_create_from_commandline(
14837        commandline: *const c_char,
14838        application_name: *const c_char,
14839        flags: GAppInfoCreateFlags,
14840        error: *mut *mut glib::GError,
14841    ) -> *mut GAppInfo;
14842    pub fn g_app_info_get_all() -> *mut glib::GList;
14843    pub fn g_app_info_get_all_for_type(content_type: *const c_char) -> *mut glib::GList;
14844    pub fn g_app_info_get_default_for_type(
14845        content_type: *const c_char,
14846        must_support_uris: gboolean,
14847    ) -> *mut GAppInfo;
14848    #[cfg(feature = "v2_74")]
14849    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14850    pub fn g_app_info_get_default_for_type_async(
14851        content_type: *const c_char,
14852        must_support_uris: gboolean,
14853        cancellable: *mut GCancellable,
14854        callback: GAsyncReadyCallback,
14855        user_data: gpointer,
14856    );
14857    #[cfg(feature = "v2_74")]
14858    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14859    pub fn g_app_info_get_default_for_type_finish(
14860        result: *mut GAsyncResult,
14861        error: *mut *mut glib::GError,
14862    ) -> *mut GAppInfo;
14863    pub fn g_app_info_get_default_for_uri_scheme(uri_scheme: *const c_char) -> *mut GAppInfo;
14864    #[cfg(feature = "v2_74")]
14865    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14866    pub fn g_app_info_get_default_for_uri_scheme_async(
14867        uri_scheme: *const c_char,
14868        cancellable: *mut GCancellable,
14869        callback: GAsyncReadyCallback,
14870        user_data: gpointer,
14871    );
14872    #[cfg(feature = "v2_74")]
14873    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14874    pub fn g_app_info_get_default_for_uri_scheme_finish(
14875        result: *mut GAsyncResult,
14876        error: *mut *mut glib::GError,
14877    ) -> *mut GAppInfo;
14878    pub fn g_app_info_get_fallback_for_type(content_type: *const c_char) -> *mut glib::GList;
14879    pub fn g_app_info_get_recommended_for_type(content_type: *const c_char) -> *mut glib::GList;
14880    pub fn g_app_info_launch_default_for_uri(
14881        uri: *const c_char,
14882        context: *mut GAppLaunchContext,
14883        error: *mut *mut glib::GError,
14884    ) -> gboolean;
14885    pub fn g_app_info_launch_default_for_uri_async(
14886        uri: *const c_char,
14887        context: *mut GAppLaunchContext,
14888        cancellable: *mut GCancellable,
14889        callback: GAsyncReadyCallback,
14890        user_data: gpointer,
14891    );
14892    pub fn g_app_info_launch_default_for_uri_finish(
14893        result: *mut GAsyncResult,
14894        error: *mut *mut glib::GError,
14895    ) -> gboolean;
14896    pub fn g_app_info_reset_type_associations(content_type: *const c_char);
14897    pub fn g_app_info_add_supports_type(
14898        appinfo: *mut GAppInfo,
14899        content_type: *const c_char,
14900        error: *mut *mut glib::GError,
14901    ) -> gboolean;
14902    pub fn g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean;
14903    pub fn g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean;
14904    pub fn g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean;
14905    pub fn g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo;
14906    pub fn g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean;
14907    pub fn g_app_info_get_commandline(appinfo: *mut GAppInfo) -> *const c_char;
14908    pub fn g_app_info_get_description(appinfo: *mut GAppInfo) -> *const c_char;
14909    pub fn g_app_info_get_display_name(appinfo: *mut GAppInfo) -> *const c_char;
14910    pub fn g_app_info_get_executable(appinfo: *mut GAppInfo) -> *const c_char;
14911    pub fn g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon;
14912    pub fn g_app_info_get_id(appinfo: *mut GAppInfo) -> *const c_char;
14913    pub fn g_app_info_get_name(appinfo: *mut GAppInfo) -> *const c_char;
14914    pub fn g_app_info_get_supported_types(appinfo: *mut GAppInfo) -> *mut *const c_char;
14915    pub fn g_app_info_launch(
14916        appinfo: *mut GAppInfo,
14917        files: *mut glib::GList,
14918        context: *mut GAppLaunchContext,
14919        error: *mut *mut glib::GError,
14920    ) -> gboolean;
14921    pub fn g_app_info_launch_uris(
14922        appinfo: *mut GAppInfo,
14923        uris: *mut glib::GList,
14924        context: *mut GAppLaunchContext,
14925        error: *mut *mut glib::GError,
14926    ) -> gboolean;
14927    #[cfg(feature = "v2_60")]
14928    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14929    pub fn g_app_info_launch_uris_async(
14930        appinfo: *mut GAppInfo,
14931        uris: *mut glib::GList,
14932        context: *mut GAppLaunchContext,
14933        cancellable: *mut GCancellable,
14934        callback: GAsyncReadyCallback,
14935        user_data: gpointer,
14936    );
14937    #[cfg(feature = "v2_60")]
14938    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14939    pub fn g_app_info_launch_uris_finish(
14940        appinfo: *mut GAppInfo,
14941        result: *mut GAsyncResult,
14942        error: *mut *mut glib::GError,
14943    ) -> gboolean;
14944    pub fn g_app_info_remove_supports_type(
14945        appinfo: *mut GAppInfo,
14946        content_type: *const c_char,
14947        error: *mut *mut glib::GError,
14948    ) -> gboolean;
14949    pub fn g_app_info_set_as_default_for_extension(
14950        appinfo: *mut GAppInfo,
14951        extension: *const c_char,
14952        error: *mut *mut glib::GError,
14953    ) -> gboolean;
14954    pub fn g_app_info_set_as_default_for_type(
14955        appinfo: *mut GAppInfo,
14956        content_type: *const c_char,
14957        error: *mut *mut glib::GError,
14958    ) -> gboolean;
14959    pub fn g_app_info_set_as_last_used_for_type(
14960        appinfo: *mut GAppInfo,
14961        content_type: *const c_char,
14962        error: *mut *mut glib::GError,
14963    ) -> gboolean;
14964    pub fn g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean;
14965    pub fn g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean;
14966    pub fn g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean;
14967
14968    //=========================================================================
14969    // GAsyncInitable
14970    //=========================================================================
14971    pub fn g_async_initable_get_type() -> GType;
14972    pub fn g_async_initable_new_async(
14973        object_type: GType,
14974        io_priority: c_int,
14975        cancellable: *mut GCancellable,
14976        callback: GAsyncReadyCallback,
14977        user_data: gpointer,
14978        first_property_name: *const c_char,
14979        ...
14980    );
14981    //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);
14982    pub fn g_async_initable_newv_async(
14983        object_type: GType,
14984        n_parameters: c_uint,
14985        parameters: *mut gobject::GParameter,
14986        io_priority: c_int,
14987        cancellable: *mut GCancellable,
14988        callback: GAsyncReadyCallback,
14989        user_data: gpointer,
14990    );
14991    pub fn g_async_initable_init_async(
14992        initable: *mut GAsyncInitable,
14993        io_priority: c_int,
14994        cancellable: *mut GCancellable,
14995        callback: GAsyncReadyCallback,
14996        user_data: gpointer,
14997    );
14998    pub fn g_async_initable_init_finish(
14999        initable: *mut GAsyncInitable,
15000        res: *mut GAsyncResult,
15001        error: *mut *mut glib::GError,
15002    ) -> gboolean;
15003    pub fn g_async_initable_new_finish(
15004        initable: *mut GAsyncInitable,
15005        res: *mut GAsyncResult,
15006        error: *mut *mut glib::GError,
15007    ) -> *mut gobject::GObject;
15008
15009    //=========================================================================
15010    // GAsyncResult
15011    //=========================================================================
15012    pub fn g_async_result_get_type() -> GType;
15013    pub fn g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut gobject::GObject;
15014    pub fn g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer;
15015    pub fn g_async_result_is_tagged(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean;
15016    pub fn g_async_result_legacy_propagate_error(
15017        res: *mut GAsyncResult,
15018        error: *mut *mut glib::GError,
15019    ) -> gboolean;
15020
15021    //=========================================================================
15022    // GConverter
15023    //=========================================================================
15024    pub fn g_converter_get_type() -> GType;
15025    pub fn g_converter_convert(
15026        converter: *mut GConverter,
15027        inbuf: *mut u8,
15028        inbuf_size: size_t,
15029        outbuf: *mut u8,
15030        outbuf_size: size_t,
15031        flags: GConverterFlags,
15032        bytes_read: *mut size_t,
15033        bytes_written: *mut size_t,
15034        error: *mut *mut glib::GError,
15035    ) -> GConverterResult;
15036    #[cfg(feature = "v2_82")]
15037    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15038    pub fn g_converter_convert_bytes(
15039        converter: *mut GConverter,
15040        bytes: *mut glib::GBytes,
15041        error: *mut *mut glib::GError,
15042    ) -> *mut glib::GBytes;
15043    pub fn g_converter_reset(converter: *mut GConverter);
15044
15045    //=========================================================================
15046    // GDBusInterface
15047    //=========================================================================
15048    pub fn g_dbus_interface_get_type() -> GType;
15049    pub fn g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15050    pub fn g_dbus_interface_get_info(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo;
15051    pub fn g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15052    pub fn g_dbus_interface_set_object(interface_: *mut GDBusInterface, object: *mut GDBusObject);
15053
15054    //=========================================================================
15055    // GDBusObject
15056    //=========================================================================
15057    pub fn g_dbus_object_get_type() -> GType;
15058    pub fn g_dbus_object_get_interface(
15059        object: *mut GDBusObject,
15060        interface_name: *const c_char,
15061    ) -> *mut GDBusInterface;
15062    pub fn g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut glib::GList;
15063    pub fn g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const c_char;
15064
15065    //=========================================================================
15066    // GDBusObjectManager
15067    //=========================================================================
15068    pub fn g_dbus_object_manager_get_type() -> GType;
15069    pub fn g_dbus_object_manager_get_interface(
15070        manager: *mut GDBusObjectManager,
15071        object_path: *const c_char,
15072        interface_name: *const c_char,
15073    ) -> *mut GDBusInterface;
15074    pub fn g_dbus_object_manager_get_object(
15075        manager: *mut GDBusObjectManager,
15076        object_path: *const c_char,
15077    ) -> *mut GDBusObject;
15078    pub fn g_dbus_object_manager_get_object_path(manager: *mut GDBusObjectManager)
15079    -> *const c_char;
15080    pub fn g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager) -> *mut glib::GList;
15081
15082    //=========================================================================
15083    // GDatagramBased
15084    //=========================================================================
15085    pub fn g_datagram_based_get_type() -> GType;
15086    pub fn g_datagram_based_condition_check(
15087        datagram_based: *mut GDatagramBased,
15088        condition: glib::GIOCondition,
15089    ) -> glib::GIOCondition;
15090    pub fn g_datagram_based_condition_wait(
15091        datagram_based: *mut GDatagramBased,
15092        condition: glib::GIOCondition,
15093        timeout: i64,
15094        cancellable: *mut GCancellable,
15095        error: *mut *mut glib::GError,
15096    ) -> gboolean;
15097    pub fn g_datagram_based_create_source(
15098        datagram_based: *mut GDatagramBased,
15099        condition: glib::GIOCondition,
15100        cancellable: *mut GCancellable,
15101    ) -> *mut glib::GSource;
15102    pub fn g_datagram_based_receive_messages(
15103        datagram_based: *mut GDatagramBased,
15104        messages: *mut GInputMessage,
15105        num_messages: c_uint,
15106        flags: c_int,
15107        timeout: i64,
15108        cancellable: *mut GCancellable,
15109        error: *mut *mut glib::GError,
15110    ) -> c_int;
15111    pub fn g_datagram_based_send_messages(
15112        datagram_based: *mut GDatagramBased,
15113        messages: *mut GOutputMessage,
15114        num_messages: c_uint,
15115        flags: c_int,
15116        timeout: i64,
15117        cancellable: *mut GCancellable,
15118        error: *mut *mut glib::GError,
15119    ) -> c_int;
15120
15121    //=========================================================================
15122    // GDebugController
15123    //=========================================================================
15124    #[cfg(feature = "v2_72")]
15125    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15126    pub fn g_debug_controller_get_type() -> GType;
15127    #[cfg(feature = "v2_72")]
15128    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15129    pub fn g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean;
15130    #[cfg(feature = "v2_72")]
15131    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15132    pub fn g_debug_controller_set_debug_enabled(
15133        self_: *mut GDebugController,
15134        debug_enabled: gboolean,
15135    );
15136
15137    //=========================================================================
15138    // GDrive
15139    //=========================================================================
15140    pub fn g_drive_get_type() -> GType;
15141    pub fn g_drive_can_eject(drive: *mut GDrive) -> gboolean;
15142    pub fn g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean;
15143    pub fn g_drive_can_start(drive: *mut GDrive) -> gboolean;
15144    pub fn g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean;
15145    pub fn g_drive_can_stop(drive: *mut GDrive) -> gboolean;
15146    pub fn g_drive_eject(
15147        drive: *mut GDrive,
15148        flags: GMountUnmountFlags,
15149        cancellable: *mut GCancellable,
15150        callback: GAsyncReadyCallback,
15151        user_data: gpointer,
15152    );
15153    pub fn g_drive_eject_finish(
15154        drive: *mut GDrive,
15155        result: *mut GAsyncResult,
15156        error: *mut *mut glib::GError,
15157    ) -> gboolean;
15158    pub fn g_drive_eject_with_operation(
15159        drive: *mut GDrive,
15160        flags: GMountUnmountFlags,
15161        mount_operation: *mut GMountOperation,
15162        cancellable: *mut GCancellable,
15163        callback: GAsyncReadyCallback,
15164        user_data: gpointer,
15165    );
15166    pub fn g_drive_eject_with_operation_finish(
15167        drive: *mut GDrive,
15168        result: *mut GAsyncResult,
15169        error: *mut *mut glib::GError,
15170    ) -> gboolean;
15171    pub fn g_drive_enumerate_identifiers(drive: *mut GDrive) -> *mut *mut c_char;
15172    pub fn g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon;
15173    pub fn g_drive_get_identifier(drive: *mut GDrive, kind: *const c_char) -> *mut c_char;
15174    pub fn g_drive_get_name(drive: *mut GDrive) -> *mut c_char;
15175    pub fn g_drive_get_sort_key(drive: *mut GDrive) -> *const c_char;
15176    pub fn g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType;
15177    pub fn g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon;
15178    pub fn g_drive_get_volumes(drive: *mut GDrive) -> *mut glib::GList;
15179    pub fn g_drive_has_media(drive: *mut GDrive) -> gboolean;
15180    pub fn g_drive_has_volumes(drive: *mut GDrive) -> gboolean;
15181    pub fn g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean;
15182    pub fn g_drive_is_media_removable(drive: *mut GDrive) -> gboolean;
15183    pub fn g_drive_is_removable(drive: *mut GDrive) -> gboolean;
15184    pub fn g_drive_poll_for_media(
15185        drive: *mut GDrive,
15186        cancellable: *mut GCancellable,
15187        callback: GAsyncReadyCallback,
15188        user_data: gpointer,
15189    );
15190    pub fn g_drive_poll_for_media_finish(
15191        drive: *mut GDrive,
15192        result: *mut GAsyncResult,
15193        error: *mut *mut glib::GError,
15194    ) -> gboolean;
15195    pub fn g_drive_start(
15196        drive: *mut GDrive,
15197        flags: GDriveStartFlags,
15198        mount_operation: *mut GMountOperation,
15199        cancellable: *mut GCancellable,
15200        callback: GAsyncReadyCallback,
15201        user_data: gpointer,
15202    );
15203    pub fn g_drive_start_finish(
15204        drive: *mut GDrive,
15205        result: *mut GAsyncResult,
15206        error: *mut *mut glib::GError,
15207    ) -> gboolean;
15208    pub fn g_drive_stop(
15209        drive: *mut GDrive,
15210        flags: GMountUnmountFlags,
15211        mount_operation: *mut GMountOperation,
15212        cancellable: *mut GCancellable,
15213        callback: GAsyncReadyCallback,
15214        user_data: gpointer,
15215    );
15216    pub fn g_drive_stop_finish(
15217        drive: *mut GDrive,
15218        result: *mut GAsyncResult,
15219        error: *mut *mut glib::GError,
15220    ) -> gboolean;
15221
15222    //=========================================================================
15223    // GDtlsClientConnection
15224    //=========================================================================
15225    pub fn g_dtls_client_connection_get_type() -> GType;
15226    pub fn g_dtls_client_connection_new(
15227        base_socket: *mut GDatagramBased,
15228        server_identity: *mut GSocketConnectable,
15229        error: *mut *mut glib::GError,
15230    ) -> *mut GDtlsClientConnection;
15231    pub fn g_dtls_client_connection_get_accepted_cas(
15232        conn: *mut GDtlsClientConnection,
15233    ) -> *mut glib::GList;
15234    pub fn g_dtls_client_connection_get_server_identity(
15235        conn: *mut GDtlsClientConnection,
15236    ) -> *mut GSocketConnectable;
15237    pub fn g_dtls_client_connection_get_validation_flags(
15238        conn: *mut GDtlsClientConnection,
15239    ) -> GTlsCertificateFlags;
15240    pub fn g_dtls_client_connection_set_server_identity(
15241        conn: *mut GDtlsClientConnection,
15242        identity: *mut GSocketConnectable,
15243    );
15244    pub fn g_dtls_client_connection_set_validation_flags(
15245        conn: *mut GDtlsClientConnection,
15246        flags: GTlsCertificateFlags,
15247    );
15248
15249    //=========================================================================
15250    // GDtlsConnection
15251    //=========================================================================
15252    pub fn g_dtls_connection_get_type() -> GType;
15253    pub fn g_dtls_connection_close(
15254        conn: *mut GDtlsConnection,
15255        cancellable: *mut GCancellable,
15256        error: *mut *mut glib::GError,
15257    ) -> gboolean;
15258    pub fn g_dtls_connection_close_async(
15259        conn: *mut GDtlsConnection,
15260        io_priority: c_int,
15261        cancellable: *mut GCancellable,
15262        callback: GAsyncReadyCallback,
15263        user_data: gpointer,
15264    );
15265    pub fn g_dtls_connection_close_finish(
15266        conn: *mut GDtlsConnection,
15267        result: *mut GAsyncResult,
15268        error: *mut *mut glib::GError,
15269    ) -> gboolean;
15270    pub fn g_dtls_connection_emit_accept_certificate(
15271        conn: *mut GDtlsConnection,
15272        peer_cert: *mut GTlsCertificate,
15273        errors: GTlsCertificateFlags,
15274    ) -> gboolean;
15275    pub fn g_dtls_connection_get_certificate(conn: *mut GDtlsConnection) -> *mut GTlsCertificate;
15276    #[cfg(feature = "v2_66")]
15277    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
15278    pub fn g_dtls_connection_get_channel_binding_data(
15279        conn: *mut GDtlsConnection,
15280        type_: GTlsChannelBindingType,
15281        data: *mut glib::GByteArray,
15282        error: *mut *mut glib::GError,
15283    ) -> gboolean;
15284    #[cfg(feature = "v2_70")]
15285    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15286    pub fn g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut c_char;
15287    pub fn g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase;
15288    pub fn g_dtls_connection_get_interaction(conn: *mut GDtlsConnection) -> *mut GTlsInteraction;
15289    #[cfg(feature = "v2_60")]
15290    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15291    pub fn g_dtls_connection_get_negotiated_protocol(conn: *mut GDtlsConnection) -> *const c_char;
15292    pub fn g_dtls_connection_get_peer_certificate(
15293        conn: *mut GDtlsConnection,
15294    ) -> *mut GTlsCertificate;
15295    pub fn g_dtls_connection_get_peer_certificate_errors(
15296        conn: *mut GDtlsConnection,
15297    ) -> GTlsCertificateFlags;
15298    #[cfg(feature = "v2_70")]
15299    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15300    pub fn g_dtls_connection_get_protocol_version(
15301        conn: *mut GDtlsConnection,
15302    ) -> GTlsProtocolVersion;
15303    pub fn g_dtls_connection_get_rehandshake_mode(
15304        conn: *mut GDtlsConnection,
15305    ) -> GTlsRehandshakeMode;
15306    pub fn g_dtls_connection_get_require_close_notify(conn: *mut GDtlsConnection) -> gboolean;
15307    pub fn g_dtls_connection_handshake(
15308        conn: *mut GDtlsConnection,
15309        cancellable: *mut GCancellable,
15310        error: *mut *mut glib::GError,
15311    ) -> gboolean;
15312    pub fn g_dtls_connection_handshake_async(
15313        conn: *mut GDtlsConnection,
15314        io_priority: c_int,
15315        cancellable: *mut GCancellable,
15316        callback: GAsyncReadyCallback,
15317        user_data: gpointer,
15318    );
15319    pub fn g_dtls_connection_handshake_finish(
15320        conn: *mut GDtlsConnection,
15321        result: *mut GAsyncResult,
15322        error: *mut *mut glib::GError,
15323    ) -> gboolean;
15324    #[cfg(feature = "v2_60")]
15325    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15326    pub fn g_dtls_connection_set_advertised_protocols(
15327        conn: *mut GDtlsConnection,
15328        protocols: *const *const c_char,
15329    );
15330    pub fn g_dtls_connection_set_certificate(
15331        conn: *mut GDtlsConnection,
15332        certificate: *mut GTlsCertificate,
15333    );
15334    pub fn g_dtls_connection_set_database(conn: *mut GDtlsConnection, database: *mut GTlsDatabase);
15335    pub fn g_dtls_connection_set_interaction(
15336        conn: *mut GDtlsConnection,
15337        interaction: *mut GTlsInteraction,
15338    );
15339    pub fn g_dtls_connection_set_rehandshake_mode(
15340        conn: *mut GDtlsConnection,
15341        mode: GTlsRehandshakeMode,
15342    );
15343    pub fn g_dtls_connection_set_require_close_notify(
15344        conn: *mut GDtlsConnection,
15345        require_close_notify: gboolean,
15346    );
15347    pub fn g_dtls_connection_shutdown(
15348        conn: *mut GDtlsConnection,
15349        shutdown_read: gboolean,
15350        shutdown_write: gboolean,
15351        cancellable: *mut GCancellable,
15352        error: *mut *mut glib::GError,
15353    ) -> gboolean;
15354    pub fn g_dtls_connection_shutdown_async(
15355        conn: *mut GDtlsConnection,
15356        shutdown_read: gboolean,
15357        shutdown_write: gboolean,
15358        io_priority: c_int,
15359        cancellable: *mut GCancellable,
15360        callback: GAsyncReadyCallback,
15361        user_data: gpointer,
15362    );
15363    pub fn g_dtls_connection_shutdown_finish(
15364        conn: *mut GDtlsConnection,
15365        result: *mut GAsyncResult,
15366        error: *mut *mut glib::GError,
15367    ) -> gboolean;
15368
15369    //=========================================================================
15370    // GDtlsServerConnection
15371    //=========================================================================
15372    pub fn g_dtls_server_connection_get_type() -> GType;
15373    pub fn g_dtls_server_connection_new(
15374        base_socket: *mut GDatagramBased,
15375        certificate: *mut GTlsCertificate,
15376        error: *mut *mut glib::GError,
15377    ) -> *mut GDtlsServerConnection;
15378
15379    //=========================================================================
15380    // GFile
15381    //=========================================================================
15382    pub fn g_file_get_type() -> GType;
15383    pub fn g_file_new_build_filename(first_element: *const c_char, ...) -> *mut GFile;
15384    #[cfg(feature = "v2_78")]
15385    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
15386    pub fn g_file_new_build_filenamev(args: *const *const c_char) -> *mut GFile;
15387    pub fn g_file_new_for_commandline_arg(arg: *const c_char) -> *mut GFile;
15388    pub fn g_file_new_for_commandline_arg_and_cwd(
15389        arg: *const c_char,
15390        cwd: *const c_char,
15391    ) -> *mut GFile;
15392    pub fn g_file_new_for_path(path: *const c_char) -> *mut GFile;
15393    pub fn g_file_new_for_uri(uri: *const c_char) -> *mut GFile;
15394    pub fn g_file_new_tmp(
15395        tmpl: *const c_char,
15396        iostream: *mut *mut GFileIOStream,
15397        error: *mut *mut glib::GError,
15398    ) -> *mut GFile;
15399    #[cfg(feature = "v2_74")]
15400    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15401    pub fn g_file_new_tmp_async(
15402        tmpl: *const c_char,
15403        io_priority: c_int,
15404        cancellable: *mut GCancellable,
15405        callback: GAsyncReadyCallback,
15406        user_data: gpointer,
15407    );
15408    #[cfg(feature = "v2_74")]
15409    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15410    pub fn g_file_new_tmp_dir_async(
15411        tmpl: *const c_char,
15412        io_priority: c_int,
15413        cancellable: *mut GCancellable,
15414        callback: GAsyncReadyCallback,
15415        user_data: gpointer,
15416    );
15417    #[cfg(feature = "v2_74")]
15418    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15419    pub fn g_file_new_tmp_dir_finish(
15420        result: *mut GAsyncResult,
15421        error: *mut *mut glib::GError,
15422    ) -> *mut GFile;
15423    #[cfg(feature = "v2_74")]
15424    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15425    pub fn g_file_new_tmp_finish(
15426        result: *mut GAsyncResult,
15427        iostream: *mut *mut GFileIOStream,
15428        error: *mut *mut glib::GError,
15429    ) -> *mut GFile;
15430    pub fn g_file_parse_name(parse_name: *const c_char) -> *mut GFile;
15431    pub fn g_file_append_to(
15432        file: *mut GFile,
15433        flags: GFileCreateFlags,
15434        cancellable: *mut GCancellable,
15435        error: *mut *mut glib::GError,
15436    ) -> *mut GFileOutputStream;
15437    pub fn g_file_append_to_async(
15438        file: *mut GFile,
15439        flags: GFileCreateFlags,
15440        io_priority: c_int,
15441        cancellable: *mut GCancellable,
15442        callback: GAsyncReadyCallback,
15443        user_data: gpointer,
15444    );
15445    pub fn g_file_append_to_finish(
15446        file: *mut GFile,
15447        res: *mut GAsyncResult,
15448        error: *mut *mut glib::GError,
15449    ) -> *mut GFileOutputStream;
15450    #[cfg(feature = "v2_68")]
15451    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
15452    pub fn g_file_build_attribute_list_for_copy(
15453        file: *mut GFile,
15454        flags: GFileCopyFlags,
15455        cancellable: *mut GCancellable,
15456        error: *mut *mut glib::GError,
15457    ) -> *mut c_char;
15458    pub fn g_file_copy(
15459        source: *mut GFile,
15460        destination: *mut GFile,
15461        flags: GFileCopyFlags,
15462        cancellable: *mut GCancellable,
15463        progress_callback: GFileProgressCallback,
15464        progress_callback_data: gpointer,
15465        error: *mut *mut glib::GError,
15466    ) -> gboolean;
15467    pub fn g_file_copy_async(
15468        source: *mut GFile,
15469        destination: *mut GFile,
15470        flags: GFileCopyFlags,
15471        io_priority: c_int,
15472        cancellable: *mut GCancellable,
15473        progress_callback: GFileProgressCallback,
15474        progress_callback_data: gpointer,
15475        callback: GAsyncReadyCallback,
15476        user_data: gpointer,
15477    );
15478    #[cfg(feature = "v2_82")]
15479    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15480    pub fn g_file_copy_async_with_closures(
15481        source: *mut GFile,
15482        destination: *mut GFile,
15483        flags: GFileCopyFlags,
15484        io_priority: c_int,
15485        cancellable: *mut GCancellable,
15486        progress_callback_closure: *mut gobject::GClosure,
15487        ready_callback_closure: *mut gobject::GClosure,
15488    );
15489    pub fn g_file_copy_attributes(
15490        source: *mut GFile,
15491        destination: *mut GFile,
15492        flags: GFileCopyFlags,
15493        cancellable: *mut GCancellable,
15494        error: *mut *mut glib::GError,
15495    ) -> gboolean;
15496    pub fn g_file_copy_finish(
15497        file: *mut GFile,
15498        res: *mut GAsyncResult,
15499        error: *mut *mut glib::GError,
15500    ) -> gboolean;
15501    pub fn g_file_create(
15502        file: *mut GFile,
15503        flags: GFileCreateFlags,
15504        cancellable: *mut GCancellable,
15505        error: *mut *mut glib::GError,
15506    ) -> *mut GFileOutputStream;
15507    pub fn g_file_create_async(
15508        file: *mut GFile,
15509        flags: GFileCreateFlags,
15510        io_priority: c_int,
15511        cancellable: *mut GCancellable,
15512        callback: GAsyncReadyCallback,
15513        user_data: gpointer,
15514    );
15515    pub fn g_file_create_finish(
15516        file: *mut GFile,
15517        res: *mut GAsyncResult,
15518        error: *mut *mut glib::GError,
15519    ) -> *mut GFileOutputStream;
15520    pub fn g_file_create_readwrite(
15521        file: *mut GFile,
15522        flags: GFileCreateFlags,
15523        cancellable: *mut GCancellable,
15524        error: *mut *mut glib::GError,
15525    ) -> *mut GFileIOStream;
15526    pub fn g_file_create_readwrite_async(
15527        file: *mut GFile,
15528        flags: GFileCreateFlags,
15529        io_priority: c_int,
15530        cancellable: *mut GCancellable,
15531        callback: GAsyncReadyCallback,
15532        user_data: gpointer,
15533    );
15534    pub fn g_file_create_readwrite_finish(
15535        file: *mut GFile,
15536        res: *mut GAsyncResult,
15537        error: *mut *mut glib::GError,
15538    ) -> *mut GFileIOStream;
15539    pub fn g_file_delete(
15540        file: *mut GFile,
15541        cancellable: *mut GCancellable,
15542        error: *mut *mut glib::GError,
15543    ) -> gboolean;
15544    pub fn g_file_delete_async(
15545        file: *mut GFile,
15546        io_priority: c_int,
15547        cancellable: *mut GCancellable,
15548        callback: GAsyncReadyCallback,
15549        user_data: gpointer,
15550    );
15551    pub fn g_file_delete_finish(
15552        file: *mut GFile,
15553        result: *mut GAsyncResult,
15554        error: *mut *mut glib::GError,
15555    ) -> gboolean;
15556    pub fn g_file_dup(file: *mut GFile) -> *mut GFile;
15557    pub fn g_file_eject_mountable(
15558        file: *mut GFile,
15559        flags: GMountUnmountFlags,
15560        cancellable: *mut GCancellable,
15561        callback: GAsyncReadyCallback,
15562        user_data: gpointer,
15563    );
15564    pub fn g_file_eject_mountable_finish(
15565        file: *mut GFile,
15566        result: *mut GAsyncResult,
15567        error: *mut *mut glib::GError,
15568    ) -> gboolean;
15569    pub fn g_file_eject_mountable_with_operation(
15570        file: *mut GFile,
15571        flags: GMountUnmountFlags,
15572        mount_operation: *mut GMountOperation,
15573        cancellable: *mut GCancellable,
15574        callback: GAsyncReadyCallback,
15575        user_data: gpointer,
15576    );
15577    pub fn g_file_eject_mountable_with_operation_finish(
15578        file: *mut GFile,
15579        result: *mut GAsyncResult,
15580        error: *mut *mut glib::GError,
15581    ) -> gboolean;
15582    pub fn g_file_enumerate_children(
15583        file: *mut GFile,
15584        attributes: *const c_char,
15585        flags: GFileQueryInfoFlags,
15586        cancellable: *mut GCancellable,
15587        error: *mut *mut glib::GError,
15588    ) -> *mut GFileEnumerator;
15589    pub fn g_file_enumerate_children_async(
15590        file: *mut GFile,
15591        attributes: *const c_char,
15592        flags: GFileQueryInfoFlags,
15593        io_priority: c_int,
15594        cancellable: *mut GCancellable,
15595        callback: GAsyncReadyCallback,
15596        user_data: gpointer,
15597    );
15598    pub fn g_file_enumerate_children_finish(
15599        file: *mut GFile,
15600        res: *mut GAsyncResult,
15601        error: *mut *mut glib::GError,
15602    ) -> *mut GFileEnumerator;
15603    pub fn g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean;
15604    pub fn g_file_find_enclosing_mount(
15605        file: *mut GFile,
15606        cancellable: *mut GCancellable,
15607        error: *mut *mut glib::GError,
15608    ) -> *mut GMount;
15609    pub fn g_file_find_enclosing_mount_async(
15610        file: *mut GFile,
15611        io_priority: c_int,
15612        cancellable: *mut GCancellable,
15613        callback: GAsyncReadyCallback,
15614        user_data: gpointer,
15615    );
15616    pub fn g_file_find_enclosing_mount_finish(
15617        file: *mut GFile,
15618        res: *mut GAsyncResult,
15619        error: *mut *mut glib::GError,
15620    ) -> *mut GMount;
15621    pub fn g_file_get_basename(file: *mut GFile) -> *mut c_char;
15622    pub fn g_file_get_child(file: *mut GFile, name: *const c_char) -> *mut GFile;
15623    pub fn g_file_get_child_for_display_name(
15624        file: *mut GFile,
15625        display_name: *const c_char,
15626        error: *mut *mut glib::GError,
15627    ) -> *mut GFile;
15628    pub fn g_file_get_parent(file: *mut GFile) -> *mut GFile;
15629    pub fn g_file_get_parse_name(file: *mut GFile) -> *mut c_char;
15630    pub fn g_file_get_path(file: *mut GFile) -> *mut c_char;
15631    pub fn g_file_get_relative_path(parent: *mut GFile, descendant: *mut GFile) -> *mut c_char;
15632    pub fn g_file_get_uri(file: *mut GFile) -> *mut c_char;
15633    pub fn g_file_get_uri_scheme(file: *mut GFile) -> *mut c_char;
15634    pub fn g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean;
15635    pub fn g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean;
15636    pub fn g_file_has_uri_scheme(file: *mut GFile, uri_scheme: *const c_char) -> gboolean;
15637    pub fn g_file_hash(file: gconstpointer) -> c_uint;
15638    pub fn g_file_is_native(file: *mut GFile) -> gboolean;
15639    pub fn g_file_load_bytes(
15640        file: *mut GFile,
15641        cancellable: *mut GCancellable,
15642        etag_out: *mut *mut c_char,
15643        error: *mut *mut glib::GError,
15644    ) -> *mut glib::GBytes;
15645    pub fn g_file_load_bytes_async(
15646        file: *mut GFile,
15647        cancellable: *mut GCancellable,
15648        callback: GAsyncReadyCallback,
15649        user_data: gpointer,
15650    );
15651    pub fn g_file_load_bytes_finish(
15652        file: *mut GFile,
15653        result: *mut GAsyncResult,
15654        etag_out: *mut *mut c_char,
15655        error: *mut *mut glib::GError,
15656    ) -> *mut glib::GBytes;
15657    pub fn g_file_load_contents(
15658        file: *mut GFile,
15659        cancellable: *mut GCancellable,
15660        contents: *mut *mut u8,
15661        length: *mut size_t,
15662        etag_out: *mut *mut c_char,
15663        error: *mut *mut glib::GError,
15664    ) -> gboolean;
15665    pub fn g_file_load_contents_async(
15666        file: *mut GFile,
15667        cancellable: *mut GCancellable,
15668        callback: GAsyncReadyCallback,
15669        user_data: gpointer,
15670    );
15671    pub fn g_file_load_contents_finish(
15672        file: *mut GFile,
15673        res: *mut GAsyncResult,
15674        contents: *mut *mut u8,
15675        length: *mut size_t,
15676        etag_out: *mut *mut c_char,
15677        error: *mut *mut glib::GError,
15678    ) -> gboolean;
15679    pub fn g_file_load_partial_contents_async(
15680        file: *mut GFile,
15681        cancellable: *mut GCancellable,
15682        read_more_callback: GFileReadMoreCallback,
15683        callback: GAsyncReadyCallback,
15684        user_data: gpointer,
15685    );
15686    pub fn g_file_load_partial_contents_finish(
15687        file: *mut GFile,
15688        res: *mut GAsyncResult,
15689        contents: *mut *mut u8,
15690        length: *mut size_t,
15691        etag_out: *mut *mut c_char,
15692        error: *mut *mut glib::GError,
15693    ) -> gboolean;
15694    pub fn g_file_make_directory(
15695        file: *mut GFile,
15696        cancellable: *mut GCancellable,
15697        error: *mut *mut glib::GError,
15698    ) -> gboolean;
15699    pub fn g_file_make_directory_async(
15700        file: *mut GFile,
15701        io_priority: c_int,
15702        cancellable: *mut GCancellable,
15703        callback: GAsyncReadyCallback,
15704        user_data: gpointer,
15705    );
15706    pub fn g_file_make_directory_finish(
15707        file: *mut GFile,
15708        result: *mut GAsyncResult,
15709        error: *mut *mut glib::GError,
15710    ) -> gboolean;
15711    pub fn g_file_make_directory_with_parents(
15712        file: *mut GFile,
15713        cancellable: *mut GCancellable,
15714        error: *mut *mut glib::GError,
15715    ) -> gboolean;
15716    pub fn g_file_make_symbolic_link(
15717        file: *mut GFile,
15718        symlink_value: *const c_char,
15719        cancellable: *mut GCancellable,
15720        error: *mut *mut glib::GError,
15721    ) -> gboolean;
15722    #[cfg(feature = "v2_74")]
15723    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15724    pub fn g_file_make_symbolic_link_async(
15725        file: *mut GFile,
15726        symlink_value: *const c_char,
15727        io_priority: c_int,
15728        cancellable: *mut GCancellable,
15729        callback: GAsyncReadyCallback,
15730        user_data: gpointer,
15731    );
15732    #[cfg(feature = "v2_74")]
15733    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15734    pub fn g_file_make_symbolic_link_finish(
15735        file: *mut GFile,
15736        result: *mut GAsyncResult,
15737        error: *mut *mut glib::GError,
15738    ) -> gboolean;
15739    pub fn g_file_measure_disk_usage(
15740        file: *mut GFile,
15741        flags: GFileMeasureFlags,
15742        cancellable: *mut GCancellable,
15743        progress_callback: GFileMeasureProgressCallback,
15744        progress_data: gpointer,
15745        disk_usage: *mut u64,
15746        num_dirs: *mut u64,
15747        num_files: *mut u64,
15748        error: *mut *mut glib::GError,
15749    ) -> gboolean;
15750    pub fn g_file_measure_disk_usage_async(
15751        file: *mut GFile,
15752        flags: GFileMeasureFlags,
15753        io_priority: c_int,
15754        cancellable: *mut GCancellable,
15755        progress_callback: GFileMeasureProgressCallback,
15756        progress_data: gpointer,
15757        callback: GAsyncReadyCallback,
15758        user_data: gpointer,
15759    );
15760    pub fn g_file_measure_disk_usage_finish(
15761        file: *mut GFile,
15762        result: *mut GAsyncResult,
15763        disk_usage: *mut u64,
15764        num_dirs: *mut u64,
15765        num_files: *mut u64,
15766        error: *mut *mut glib::GError,
15767    ) -> gboolean;
15768    pub fn g_file_monitor(
15769        file: *mut GFile,
15770        flags: GFileMonitorFlags,
15771        cancellable: *mut GCancellable,
15772        error: *mut *mut glib::GError,
15773    ) -> *mut GFileMonitor;
15774    pub fn g_file_monitor_directory(
15775        file: *mut GFile,
15776        flags: GFileMonitorFlags,
15777        cancellable: *mut GCancellable,
15778        error: *mut *mut glib::GError,
15779    ) -> *mut GFileMonitor;
15780    pub fn g_file_monitor_file(
15781        file: *mut GFile,
15782        flags: GFileMonitorFlags,
15783        cancellable: *mut GCancellable,
15784        error: *mut *mut glib::GError,
15785    ) -> *mut GFileMonitor;
15786    pub fn g_file_mount_enclosing_volume(
15787        location: *mut GFile,
15788        flags: GMountMountFlags,
15789        mount_operation: *mut GMountOperation,
15790        cancellable: *mut GCancellable,
15791        callback: GAsyncReadyCallback,
15792        user_data: gpointer,
15793    );
15794    pub fn g_file_mount_enclosing_volume_finish(
15795        location: *mut GFile,
15796        result: *mut GAsyncResult,
15797        error: *mut *mut glib::GError,
15798    ) -> gboolean;
15799    pub fn g_file_mount_mountable(
15800        file: *mut GFile,
15801        flags: GMountMountFlags,
15802        mount_operation: *mut GMountOperation,
15803        cancellable: *mut GCancellable,
15804        callback: GAsyncReadyCallback,
15805        user_data: gpointer,
15806    );
15807    pub fn g_file_mount_mountable_finish(
15808        file: *mut GFile,
15809        result: *mut GAsyncResult,
15810        error: *mut *mut glib::GError,
15811    ) -> *mut GFile;
15812    pub fn g_file_move(
15813        source: *mut GFile,
15814        destination: *mut GFile,
15815        flags: GFileCopyFlags,
15816        cancellable: *mut GCancellable,
15817        progress_callback: GFileProgressCallback,
15818        progress_callback_data: gpointer,
15819        error: *mut *mut glib::GError,
15820    ) -> gboolean;
15821    #[cfg(feature = "v2_72")]
15822    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15823    pub fn g_file_move_async(
15824        source: *mut GFile,
15825        destination: *mut GFile,
15826        flags: GFileCopyFlags,
15827        io_priority: c_int,
15828        cancellable: *mut GCancellable,
15829        progress_callback: GFileProgressCallback,
15830        progress_callback_data: gpointer,
15831        callback: GAsyncReadyCallback,
15832        user_data: gpointer,
15833    );
15834    #[cfg(feature = "v2_82")]
15835    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15836    pub fn g_file_move_async_with_closures(
15837        source: *mut GFile,
15838        destination: *mut GFile,
15839        flags: GFileCopyFlags,
15840        io_priority: c_int,
15841        cancellable: *mut GCancellable,
15842        progress_callback_closure: *mut gobject::GClosure,
15843        ready_callback_closure: *mut gobject::GClosure,
15844    );
15845    #[cfg(feature = "v2_72")]
15846    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15847    pub fn g_file_move_finish(
15848        file: *mut GFile,
15849        result: *mut GAsyncResult,
15850        error: *mut *mut glib::GError,
15851    ) -> gboolean;
15852    pub fn g_file_open_readwrite(
15853        file: *mut GFile,
15854        cancellable: *mut GCancellable,
15855        error: *mut *mut glib::GError,
15856    ) -> *mut GFileIOStream;
15857    pub fn g_file_open_readwrite_async(
15858        file: *mut GFile,
15859        io_priority: c_int,
15860        cancellable: *mut GCancellable,
15861        callback: GAsyncReadyCallback,
15862        user_data: gpointer,
15863    );
15864    pub fn g_file_open_readwrite_finish(
15865        file: *mut GFile,
15866        res: *mut GAsyncResult,
15867        error: *mut *mut glib::GError,
15868    ) -> *mut GFileIOStream;
15869    pub fn g_file_peek_path(file: *mut GFile) -> *const c_char;
15870    pub fn g_file_poll_mountable(
15871        file: *mut GFile,
15872        cancellable: *mut GCancellable,
15873        callback: GAsyncReadyCallback,
15874        user_data: gpointer,
15875    );
15876    pub fn g_file_poll_mountable_finish(
15877        file: *mut GFile,
15878        result: *mut GAsyncResult,
15879        error: *mut *mut glib::GError,
15880    ) -> gboolean;
15881    pub fn g_file_query_default_handler(
15882        file: *mut GFile,
15883        cancellable: *mut GCancellable,
15884        error: *mut *mut glib::GError,
15885    ) -> *mut GAppInfo;
15886    #[cfg(feature = "v2_60")]
15887    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15888    pub fn g_file_query_default_handler_async(
15889        file: *mut GFile,
15890        io_priority: c_int,
15891        cancellable: *mut GCancellable,
15892        callback: GAsyncReadyCallback,
15893        user_data: gpointer,
15894    );
15895    #[cfg(feature = "v2_60")]
15896    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15897    pub fn g_file_query_default_handler_finish(
15898        file: *mut GFile,
15899        result: *mut GAsyncResult,
15900        error: *mut *mut glib::GError,
15901    ) -> *mut GAppInfo;
15902    pub fn g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable) -> gboolean;
15903    pub fn g_file_query_file_type(
15904        file: *mut GFile,
15905        flags: GFileQueryInfoFlags,
15906        cancellable: *mut GCancellable,
15907    ) -> GFileType;
15908    pub fn g_file_query_filesystem_info(
15909        file: *mut GFile,
15910        attributes: *const c_char,
15911        cancellable: *mut GCancellable,
15912        error: *mut *mut glib::GError,
15913    ) -> *mut GFileInfo;
15914    pub fn g_file_query_filesystem_info_async(
15915        file: *mut GFile,
15916        attributes: *const c_char,
15917        io_priority: c_int,
15918        cancellable: *mut GCancellable,
15919        callback: GAsyncReadyCallback,
15920        user_data: gpointer,
15921    );
15922    pub fn g_file_query_filesystem_info_finish(
15923        file: *mut GFile,
15924        res: *mut GAsyncResult,
15925        error: *mut *mut glib::GError,
15926    ) -> *mut GFileInfo;
15927    pub fn g_file_query_info(
15928        file: *mut GFile,
15929        attributes: *const c_char,
15930        flags: GFileQueryInfoFlags,
15931        cancellable: *mut GCancellable,
15932        error: *mut *mut glib::GError,
15933    ) -> *mut GFileInfo;
15934    pub fn g_file_query_info_async(
15935        file: *mut GFile,
15936        attributes: *const c_char,
15937        flags: GFileQueryInfoFlags,
15938        io_priority: c_int,
15939        cancellable: *mut GCancellable,
15940        callback: GAsyncReadyCallback,
15941        user_data: gpointer,
15942    );
15943    pub fn g_file_query_info_finish(
15944        file: *mut GFile,
15945        res: *mut GAsyncResult,
15946        error: *mut *mut glib::GError,
15947    ) -> *mut GFileInfo;
15948    pub fn g_file_query_settable_attributes(
15949        file: *mut GFile,
15950        cancellable: *mut GCancellable,
15951        error: *mut *mut glib::GError,
15952    ) -> *mut GFileAttributeInfoList;
15953    pub fn g_file_query_writable_namespaces(
15954        file: *mut GFile,
15955        cancellable: *mut GCancellable,
15956        error: *mut *mut glib::GError,
15957    ) -> *mut GFileAttributeInfoList;
15958    pub fn g_file_read(
15959        file: *mut GFile,
15960        cancellable: *mut GCancellable,
15961        error: *mut *mut glib::GError,
15962    ) -> *mut GFileInputStream;
15963    pub fn g_file_read_async(
15964        file: *mut GFile,
15965        io_priority: c_int,
15966        cancellable: *mut GCancellable,
15967        callback: GAsyncReadyCallback,
15968        user_data: gpointer,
15969    );
15970    pub fn g_file_read_finish(
15971        file: *mut GFile,
15972        res: *mut GAsyncResult,
15973        error: *mut *mut glib::GError,
15974    ) -> *mut GFileInputStream;
15975    pub fn g_file_replace(
15976        file: *mut GFile,
15977        etag: *const c_char,
15978        make_backup: gboolean,
15979        flags: GFileCreateFlags,
15980        cancellable: *mut GCancellable,
15981        error: *mut *mut glib::GError,
15982    ) -> *mut GFileOutputStream;
15983    pub fn g_file_replace_async(
15984        file: *mut GFile,
15985        etag: *const c_char,
15986        make_backup: gboolean,
15987        flags: GFileCreateFlags,
15988        io_priority: c_int,
15989        cancellable: *mut GCancellable,
15990        callback: GAsyncReadyCallback,
15991        user_data: gpointer,
15992    );
15993    pub fn g_file_replace_contents(
15994        file: *mut GFile,
15995        contents: *const u8,
15996        length: size_t,
15997        etag: *const c_char,
15998        make_backup: gboolean,
15999        flags: GFileCreateFlags,
16000        new_etag: *mut *mut c_char,
16001        cancellable: *mut GCancellable,
16002        error: *mut *mut glib::GError,
16003    ) -> gboolean;
16004    pub fn g_file_replace_contents_async(
16005        file: *mut GFile,
16006        contents: *const u8,
16007        length: size_t,
16008        etag: *const c_char,
16009        make_backup: gboolean,
16010        flags: GFileCreateFlags,
16011        cancellable: *mut GCancellable,
16012        callback: GAsyncReadyCallback,
16013        user_data: gpointer,
16014    );
16015    pub fn g_file_replace_contents_bytes_async(
16016        file: *mut GFile,
16017        contents: *mut glib::GBytes,
16018        etag: *const c_char,
16019        make_backup: gboolean,
16020        flags: GFileCreateFlags,
16021        cancellable: *mut GCancellable,
16022        callback: GAsyncReadyCallback,
16023        user_data: gpointer,
16024    );
16025    pub fn g_file_replace_contents_finish(
16026        file: *mut GFile,
16027        res: *mut GAsyncResult,
16028        new_etag: *mut *mut c_char,
16029        error: *mut *mut glib::GError,
16030    ) -> gboolean;
16031    pub fn g_file_replace_finish(
16032        file: *mut GFile,
16033        res: *mut GAsyncResult,
16034        error: *mut *mut glib::GError,
16035    ) -> *mut GFileOutputStream;
16036    pub fn g_file_replace_readwrite(
16037        file: *mut GFile,
16038        etag: *const c_char,
16039        make_backup: gboolean,
16040        flags: GFileCreateFlags,
16041        cancellable: *mut GCancellable,
16042        error: *mut *mut glib::GError,
16043    ) -> *mut GFileIOStream;
16044    pub fn g_file_replace_readwrite_async(
16045        file: *mut GFile,
16046        etag: *const c_char,
16047        make_backup: gboolean,
16048        flags: GFileCreateFlags,
16049        io_priority: c_int,
16050        cancellable: *mut GCancellable,
16051        callback: GAsyncReadyCallback,
16052        user_data: gpointer,
16053    );
16054    pub fn g_file_replace_readwrite_finish(
16055        file: *mut GFile,
16056        res: *mut GAsyncResult,
16057        error: *mut *mut glib::GError,
16058    ) -> *mut GFileIOStream;
16059    pub fn g_file_resolve_relative_path(
16060        file: *mut GFile,
16061        relative_path: *const c_char,
16062    ) -> *mut GFile;
16063    pub fn g_file_set_attribute(
16064        file: *mut GFile,
16065        attribute: *const c_char,
16066        type_: GFileAttributeType,
16067        value_p: gpointer,
16068        flags: GFileQueryInfoFlags,
16069        cancellable: *mut GCancellable,
16070        error: *mut *mut glib::GError,
16071    ) -> gboolean;
16072    pub fn g_file_set_attribute_byte_string(
16073        file: *mut GFile,
16074        attribute: *const c_char,
16075        value: *const c_char,
16076        flags: GFileQueryInfoFlags,
16077        cancellable: *mut GCancellable,
16078        error: *mut *mut glib::GError,
16079    ) -> gboolean;
16080    pub fn g_file_set_attribute_int32(
16081        file: *mut GFile,
16082        attribute: *const c_char,
16083        value: i32,
16084        flags: GFileQueryInfoFlags,
16085        cancellable: *mut GCancellable,
16086        error: *mut *mut glib::GError,
16087    ) -> gboolean;
16088    pub fn g_file_set_attribute_int64(
16089        file: *mut GFile,
16090        attribute: *const c_char,
16091        value: i64,
16092        flags: GFileQueryInfoFlags,
16093        cancellable: *mut GCancellable,
16094        error: *mut *mut glib::GError,
16095    ) -> gboolean;
16096    pub fn g_file_set_attribute_string(
16097        file: *mut GFile,
16098        attribute: *const c_char,
16099        value: *const c_char,
16100        flags: GFileQueryInfoFlags,
16101        cancellable: *mut GCancellable,
16102        error: *mut *mut glib::GError,
16103    ) -> gboolean;
16104    pub fn g_file_set_attribute_uint32(
16105        file: *mut GFile,
16106        attribute: *const c_char,
16107        value: u32,
16108        flags: GFileQueryInfoFlags,
16109        cancellable: *mut GCancellable,
16110        error: *mut *mut glib::GError,
16111    ) -> gboolean;
16112    pub fn g_file_set_attribute_uint64(
16113        file: *mut GFile,
16114        attribute: *const c_char,
16115        value: u64,
16116        flags: GFileQueryInfoFlags,
16117        cancellable: *mut GCancellable,
16118        error: *mut *mut glib::GError,
16119    ) -> gboolean;
16120    pub fn g_file_set_attributes_async(
16121        file: *mut GFile,
16122        info: *mut GFileInfo,
16123        flags: GFileQueryInfoFlags,
16124        io_priority: c_int,
16125        cancellable: *mut GCancellable,
16126        callback: GAsyncReadyCallback,
16127        user_data: gpointer,
16128    );
16129    pub fn g_file_set_attributes_finish(
16130        file: *mut GFile,
16131        result: *mut GAsyncResult,
16132        info: *mut *mut GFileInfo,
16133        error: *mut *mut glib::GError,
16134    ) -> gboolean;
16135    pub fn g_file_set_attributes_from_info(
16136        file: *mut GFile,
16137        info: *mut GFileInfo,
16138        flags: GFileQueryInfoFlags,
16139        cancellable: *mut GCancellable,
16140        error: *mut *mut glib::GError,
16141    ) -> gboolean;
16142    pub fn g_file_set_display_name(
16143        file: *mut GFile,
16144        display_name: *const c_char,
16145        cancellable: *mut GCancellable,
16146        error: *mut *mut glib::GError,
16147    ) -> *mut GFile;
16148    pub fn g_file_set_display_name_async(
16149        file: *mut GFile,
16150        display_name: *const c_char,
16151        io_priority: c_int,
16152        cancellable: *mut GCancellable,
16153        callback: GAsyncReadyCallback,
16154        user_data: gpointer,
16155    );
16156    pub fn g_file_set_display_name_finish(
16157        file: *mut GFile,
16158        res: *mut GAsyncResult,
16159        error: *mut *mut glib::GError,
16160    ) -> *mut GFile;
16161    pub fn g_file_start_mountable(
16162        file: *mut GFile,
16163        flags: GDriveStartFlags,
16164        start_operation: *mut GMountOperation,
16165        cancellable: *mut GCancellable,
16166        callback: GAsyncReadyCallback,
16167        user_data: gpointer,
16168    );
16169    pub fn g_file_start_mountable_finish(
16170        file: *mut GFile,
16171        result: *mut GAsyncResult,
16172        error: *mut *mut glib::GError,
16173    ) -> gboolean;
16174    pub fn g_file_stop_mountable(
16175        file: *mut GFile,
16176        flags: GMountUnmountFlags,
16177        mount_operation: *mut GMountOperation,
16178        cancellable: *mut GCancellable,
16179        callback: GAsyncReadyCallback,
16180        user_data: gpointer,
16181    );
16182    pub fn g_file_stop_mountable_finish(
16183        file: *mut GFile,
16184        result: *mut GAsyncResult,
16185        error: *mut *mut glib::GError,
16186    ) -> gboolean;
16187    pub fn g_file_supports_thread_contexts(file: *mut GFile) -> gboolean;
16188    pub fn g_file_trash(
16189        file: *mut GFile,
16190        cancellable: *mut GCancellable,
16191        error: *mut *mut glib::GError,
16192    ) -> gboolean;
16193    pub fn g_file_trash_async(
16194        file: *mut GFile,
16195        io_priority: c_int,
16196        cancellable: *mut GCancellable,
16197        callback: GAsyncReadyCallback,
16198        user_data: gpointer,
16199    );
16200    pub fn g_file_trash_finish(
16201        file: *mut GFile,
16202        result: *mut GAsyncResult,
16203        error: *mut *mut glib::GError,
16204    ) -> gboolean;
16205    pub fn g_file_unmount_mountable(
16206        file: *mut GFile,
16207        flags: GMountUnmountFlags,
16208        cancellable: *mut GCancellable,
16209        callback: GAsyncReadyCallback,
16210        user_data: gpointer,
16211    );
16212    pub fn g_file_unmount_mountable_finish(
16213        file: *mut GFile,
16214        result: *mut GAsyncResult,
16215        error: *mut *mut glib::GError,
16216    ) -> gboolean;
16217    pub fn g_file_unmount_mountable_with_operation(
16218        file: *mut GFile,
16219        flags: GMountUnmountFlags,
16220        mount_operation: *mut GMountOperation,
16221        cancellable: *mut GCancellable,
16222        callback: GAsyncReadyCallback,
16223        user_data: gpointer,
16224    );
16225    pub fn g_file_unmount_mountable_with_operation_finish(
16226        file: *mut GFile,
16227        result: *mut GAsyncResult,
16228        error: *mut *mut glib::GError,
16229    ) -> gboolean;
16230
16231    //=========================================================================
16232    // GIcon
16233    //=========================================================================
16234    pub fn g_icon_get_type() -> GType;
16235    pub fn g_icon_deserialize(value: *mut glib::GVariant) -> *mut GIcon;
16236    pub fn g_icon_new_for_string(str: *const c_char, error: *mut *mut glib::GError) -> *mut GIcon;
16237    pub fn g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean;
16238    pub fn g_icon_hash(icon: gconstpointer) -> c_uint;
16239    pub fn g_icon_serialize(icon: *mut GIcon) -> *mut glib::GVariant;
16240    pub fn g_icon_to_string(icon: *mut GIcon) -> *mut c_char;
16241
16242    //=========================================================================
16243    // GInitable
16244    //=========================================================================
16245    pub fn g_initable_get_type() -> GType;
16246    pub fn g_initable_new(
16247        object_type: GType,
16248        cancellable: *mut GCancellable,
16249        error: *mut *mut glib::GError,
16250        first_property_name: *const c_char,
16251        ...
16252    ) -> *mut gobject::GObject;
16253    //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;
16254    pub fn g_initable_newv(
16255        object_type: GType,
16256        n_parameters: c_uint,
16257        parameters: *mut gobject::GParameter,
16258        cancellable: *mut GCancellable,
16259        error: *mut *mut glib::GError,
16260    ) -> *mut gobject::GObject;
16261    pub fn g_initable_init(
16262        initable: *mut GInitable,
16263        cancellable: *mut GCancellable,
16264        error: *mut *mut glib::GError,
16265    ) -> gboolean;
16266
16267    //=========================================================================
16268    // GListModel
16269    //=========================================================================
16270    pub fn g_list_model_get_type() -> GType;
16271    pub fn g_list_model_get_item(list: *mut GListModel, position: c_uint) -> gpointer;
16272    pub fn g_list_model_get_item_type(list: *mut GListModel) -> GType;
16273    pub fn g_list_model_get_n_items(list: *mut GListModel) -> c_uint;
16274    pub fn g_list_model_get_object(
16275        list: *mut GListModel,
16276        position: c_uint,
16277    ) -> *mut gobject::GObject;
16278    pub fn g_list_model_items_changed(
16279        list: *mut GListModel,
16280        position: c_uint,
16281        removed: c_uint,
16282        added: c_uint,
16283    );
16284
16285    //=========================================================================
16286    // GLoadableIcon
16287    //=========================================================================
16288    pub fn g_loadable_icon_get_type() -> GType;
16289    pub fn g_loadable_icon_load(
16290        icon: *mut GLoadableIcon,
16291        size: c_int,
16292        type_: *mut *mut c_char,
16293        cancellable: *mut GCancellable,
16294        error: *mut *mut glib::GError,
16295    ) -> *mut GInputStream;
16296    pub fn g_loadable_icon_load_async(
16297        icon: *mut GLoadableIcon,
16298        size: c_int,
16299        cancellable: *mut GCancellable,
16300        callback: GAsyncReadyCallback,
16301        user_data: gpointer,
16302    );
16303    pub fn g_loadable_icon_load_finish(
16304        icon: *mut GLoadableIcon,
16305        res: *mut GAsyncResult,
16306        type_: *mut *mut c_char,
16307        error: *mut *mut glib::GError,
16308    ) -> *mut GInputStream;
16309
16310    //=========================================================================
16311    // GMemoryMonitor
16312    //=========================================================================
16313    #[cfg(feature = "v2_64")]
16314    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16315    pub fn g_memory_monitor_get_type() -> GType;
16316    #[cfg(feature = "v2_64")]
16317    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16318    pub fn g_memory_monitor_dup_default() -> *mut GMemoryMonitor;
16319
16320    //=========================================================================
16321    // GMount
16322    //=========================================================================
16323    pub fn g_mount_get_type() -> GType;
16324    pub fn g_mount_can_eject(mount: *mut GMount) -> gboolean;
16325    pub fn g_mount_can_unmount(mount: *mut GMount) -> gboolean;
16326    pub fn g_mount_eject(
16327        mount: *mut GMount,
16328        flags: GMountUnmountFlags,
16329        cancellable: *mut GCancellable,
16330        callback: GAsyncReadyCallback,
16331        user_data: gpointer,
16332    );
16333    pub fn g_mount_eject_finish(
16334        mount: *mut GMount,
16335        result: *mut GAsyncResult,
16336        error: *mut *mut glib::GError,
16337    ) -> gboolean;
16338    pub fn g_mount_eject_with_operation(
16339        mount: *mut GMount,
16340        flags: GMountUnmountFlags,
16341        mount_operation: *mut GMountOperation,
16342        cancellable: *mut GCancellable,
16343        callback: GAsyncReadyCallback,
16344        user_data: gpointer,
16345    );
16346    pub fn g_mount_eject_with_operation_finish(
16347        mount: *mut GMount,
16348        result: *mut GAsyncResult,
16349        error: *mut *mut glib::GError,
16350    ) -> gboolean;
16351    pub fn g_mount_get_default_location(mount: *mut GMount) -> *mut GFile;
16352    pub fn g_mount_get_drive(mount: *mut GMount) -> *mut GDrive;
16353    pub fn g_mount_get_icon(mount: *mut GMount) -> *mut GIcon;
16354    pub fn g_mount_get_name(mount: *mut GMount) -> *mut c_char;
16355    pub fn g_mount_get_root(mount: *mut GMount) -> *mut GFile;
16356    pub fn g_mount_get_sort_key(mount: *mut GMount) -> *const c_char;
16357    pub fn g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon;
16358    pub fn g_mount_get_uuid(mount: *mut GMount) -> *mut c_char;
16359    pub fn g_mount_get_volume(mount: *mut GMount) -> *mut GVolume;
16360    pub fn g_mount_guess_content_type(
16361        mount: *mut GMount,
16362        force_rescan: gboolean,
16363        cancellable: *mut GCancellable,
16364        callback: GAsyncReadyCallback,
16365        user_data: gpointer,
16366    );
16367    pub fn g_mount_guess_content_type_finish(
16368        mount: *mut GMount,
16369        result: *mut GAsyncResult,
16370        error: *mut *mut glib::GError,
16371    ) -> *mut *mut c_char;
16372    pub fn g_mount_guess_content_type_sync(
16373        mount: *mut GMount,
16374        force_rescan: gboolean,
16375        cancellable: *mut GCancellable,
16376        error: *mut *mut glib::GError,
16377    ) -> *mut *mut c_char;
16378    pub fn g_mount_is_shadowed(mount: *mut GMount) -> gboolean;
16379    pub fn g_mount_remount(
16380        mount: *mut GMount,
16381        flags: GMountMountFlags,
16382        mount_operation: *mut GMountOperation,
16383        cancellable: *mut GCancellable,
16384        callback: GAsyncReadyCallback,
16385        user_data: gpointer,
16386    );
16387    pub fn g_mount_remount_finish(
16388        mount: *mut GMount,
16389        result: *mut GAsyncResult,
16390        error: *mut *mut glib::GError,
16391    ) -> gboolean;
16392    pub fn g_mount_shadow(mount: *mut GMount);
16393    pub fn g_mount_unmount(
16394        mount: *mut GMount,
16395        flags: GMountUnmountFlags,
16396        cancellable: *mut GCancellable,
16397        callback: GAsyncReadyCallback,
16398        user_data: gpointer,
16399    );
16400    pub fn g_mount_unmount_finish(
16401        mount: *mut GMount,
16402        result: *mut GAsyncResult,
16403        error: *mut *mut glib::GError,
16404    ) -> gboolean;
16405    pub fn g_mount_unmount_with_operation(
16406        mount: *mut GMount,
16407        flags: GMountUnmountFlags,
16408        mount_operation: *mut GMountOperation,
16409        cancellable: *mut GCancellable,
16410        callback: GAsyncReadyCallback,
16411        user_data: gpointer,
16412    );
16413    pub fn g_mount_unmount_with_operation_finish(
16414        mount: *mut GMount,
16415        result: *mut GAsyncResult,
16416        error: *mut *mut glib::GError,
16417    ) -> gboolean;
16418    pub fn g_mount_unshadow(mount: *mut GMount);
16419
16420    //=========================================================================
16421    // GNetworkMonitor
16422    //=========================================================================
16423    pub fn g_network_monitor_get_type() -> GType;
16424    pub fn g_network_monitor_get_default() -> *mut GNetworkMonitor;
16425    pub fn g_network_monitor_can_reach(
16426        monitor: *mut GNetworkMonitor,
16427        connectable: *mut GSocketConnectable,
16428        cancellable: *mut GCancellable,
16429        error: *mut *mut glib::GError,
16430    ) -> gboolean;
16431    pub fn g_network_monitor_can_reach_async(
16432        monitor: *mut GNetworkMonitor,
16433        connectable: *mut GSocketConnectable,
16434        cancellable: *mut GCancellable,
16435        callback: GAsyncReadyCallback,
16436        user_data: gpointer,
16437    );
16438    pub fn g_network_monitor_can_reach_finish(
16439        monitor: *mut GNetworkMonitor,
16440        result: *mut GAsyncResult,
16441        error: *mut *mut glib::GError,
16442    ) -> gboolean;
16443    pub fn g_network_monitor_get_connectivity(
16444        monitor: *mut GNetworkMonitor,
16445    ) -> GNetworkConnectivity;
16446    pub fn g_network_monitor_get_network_available(monitor: *mut GNetworkMonitor) -> gboolean;
16447    pub fn g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean;
16448
16449    //=========================================================================
16450    // GPollableInputStream
16451    //=========================================================================
16452    pub fn g_pollable_input_stream_get_type() -> GType;
16453    pub fn g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean;
16454    pub fn g_pollable_input_stream_create_source(
16455        stream: *mut GPollableInputStream,
16456        cancellable: *mut GCancellable,
16457    ) -> *mut glib::GSource;
16458    pub fn g_pollable_input_stream_is_readable(stream: *mut GPollableInputStream) -> gboolean;
16459    pub fn g_pollable_input_stream_read_nonblocking(
16460        stream: *mut GPollableInputStream,
16461        buffer: *mut u8,
16462        count: size_t,
16463        cancellable: *mut GCancellable,
16464        error: *mut *mut glib::GError,
16465    ) -> ssize_t;
16466
16467    //=========================================================================
16468    // GPollableOutputStream
16469    //=========================================================================
16470    pub fn g_pollable_output_stream_get_type() -> GType;
16471    pub fn g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream) -> gboolean;
16472    pub fn g_pollable_output_stream_create_source(
16473        stream: *mut GPollableOutputStream,
16474        cancellable: *mut GCancellable,
16475    ) -> *mut glib::GSource;
16476    pub fn g_pollable_output_stream_is_writable(stream: *mut GPollableOutputStream) -> gboolean;
16477    pub fn g_pollable_output_stream_write_nonblocking(
16478        stream: *mut GPollableOutputStream,
16479        buffer: *mut u8,
16480        count: size_t,
16481        cancellable: *mut GCancellable,
16482        error: *mut *mut glib::GError,
16483    ) -> ssize_t;
16484    #[cfg(feature = "v2_60")]
16485    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16486    pub fn g_pollable_output_stream_writev_nonblocking(
16487        stream: *mut GPollableOutputStream,
16488        vectors: *const GOutputVector,
16489        n_vectors: size_t,
16490        bytes_written: *mut size_t,
16491        cancellable: *mut GCancellable,
16492        error: *mut *mut glib::GError,
16493    ) -> GPollableReturn;
16494
16495    //=========================================================================
16496    // GPowerProfileMonitor
16497    //=========================================================================
16498    #[cfg(feature = "v2_70")]
16499    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16500    pub fn g_power_profile_monitor_get_type() -> GType;
16501    #[cfg(feature = "v2_70")]
16502    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16503    pub fn g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor;
16504    #[cfg(feature = "v2_70")]
16505    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16506    pub fn g_power_profile_monitor_get_power_saver_enabled(
16507        monitor: *mut GPowerProfileMonitor,
16508    ) -> gboolean;
16509
16510    //=========================================================================
16511    // GProxy
16512    //=========================================================================
16513    pub fn g_proxy_get_type() -> GType;
16514    pub fn g_proxy_get_default_for_protocol(protocol: *const c_char) -> *mut GProxy;
16515    pub fn g_proxy_connect(
16516        proxy: *mut GProxy,
16517        connection: *mut GIOStream,
16518        proxy_address: *mut GProxyAddress,
16519        cancellable: *mut GCancellable,
16520        error: *mut *mut glib::GError,
16521    ) -> *mut GIOStream;
16522    pub fn g_proxy_connect_async(
16523        proxy: *mut GProxy,
16524        connection: *mut GIOStream,
16525        proxy_address: *mut GProxyAddress,
16526        cancellable: *mut GCancellable,
16527        callback: GAsyncReadyCallback,
16528        user_data: gpointer,
16529    );
16530    pub fn g_proxy_connect_finish(
16531        proxy: *mut GProxy,
16532        result: *mut GAsyncResult,
16533        error: *mut *mut glib::GError,
16534    ) -> *mut GIOStream;
16535    pub fn g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean;
16536
16537    //=========================================================================
16538    // GProxyResolver
16539    //=========================================================================
16540    pub fn g_proxy_resolver_get_type() -> GType;
16541    pub fn g_proxy_resolver_get_default() -> *mut GProxyResolver;
16542    pub fn g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean;
16543    pub fn g_proxy_resolver_lookup(
16544        resolver: *mut GProxyResolver,
16545        uri: *const c_char,
16546        cancellable: *mut GCancellable,
16547        error: *mut *mut glib::GError,
16548    ) -> *mut *mut c_char;
16549    pub fn g_proxy_resolver_lookup_async(
16550        resolver: *mut GProxyResolver,
16551        uri: *const c_char,
16552        cancellable: *mut GCancellable,
16553        callback: GAsyncReadyCallback,
16554        user_data: gpointer,
16555    );
16556    pub fn g_proxy_resolver_lookup_finish(
16557        resolver: *mut GProxyResolver,
16558        result: *mut GAsyncResult,
16559        error: *mut *mut glib::GError,
16560    ) -> *mut *mut c_char;
16561
16562    //=========================================================================
16563    // GRemoteActionGroup
16564    //=========================================================================
16565    pub fn g_remote_action_group_get_type() -> GType;
16566    pub fn g_remote_action_group_activate_action_full(
16567        remote: *mut GRemoteActionGroup,
16568        action_name: *const c_char,
16569        parameter: *mut glib::GVariant,
16570        platform_data: *mut glib::GVariant,
16571    );
16572    pub fn g_remote_action_group_change_action_state_full(
16573        remote: *mut GRemoteActionGroup,
16574        action_name: *const c_char,
16575        value: *mut glib::GVariant,
16576        platform_data: *mut glib::GVariant,
16577    );
16578
16579    //=========================================================================
16580    // GSeekable
16581    //=========================================================================
16582    pub fn g_seekable_get_type() -> GType;
16583    pub fn g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean;
16584    pub fn g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean;
16585    pub fn g_seekable_seek(
16586        seekable: *mut GSeekable,
16587        offset: i64,
16588        type_: glib::GSeekType,
16589        cancellable: *mut GCancellable,
16590        error: *mut *mut glib::GError,
16591    ) -> gboolean;
16592    pub fn g_seekable_tell(seekable: *mut GSeekable) -> i64;
16593    pub fn g_seekable_truncate(
16594        seekable: *mut GSeekable,
16595        offset: i64,
16596        cancellable: *mut GCancellable,
16597        error: *mut *mut glib::GError,
16598    ) -> gboolean;
16599
16600    //=========================================================================
16601    // GSocketConnectable
16602    //=========================================================================
16603    pub fn g_socket_connectable_get_type() -> GType;
16604    pub fn g_socket_connectable_enumerate(
16605        connectable: *mut GSocketConnectable,
16606    ) -> *mut GSocketAddressEnumerator;
16607    pub fn g_socket_connectable_proxy_enumerate(
16608        connectable: *mut GSocketConnectable,
16609    ) -> *mut GSocketAddressEnumerator;
16610    pub fn g_socket_connectable_to_string(connectable: *mut GSocketConnectable) -> *mut c_char;
16611
16612    //=========================================================================
16613    // GTlsBackend
16614    //=========================================================================
16615    pub fn g_tls_backend_get_type() -> GType;
16616    pub fn g_tls_backend_get_default() -> *mut GTlsBackend;
16617    pub fn g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType;
16618    pub fn g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType;
16619    pub fn g_tls_backend_get_default_database(backend: *mut GTlsBackend) -> *mut GTlsDatabase;
16620    pub fn g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend) -> GType;
16621    pub fn g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend) -> GType;
16622    pub fn g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType;
16623    pub fn g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType;
16624    #[cfg(feature = "v2_60")]
16625    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16626    pub fn g_tls_backend_set_default_database(
16627        backend: *mut GTlsBackend,
16628        database: *mut GTlsDatabase,
16629    );
16630    pub fn g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean;
16631    pub fn g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean;
16632
16633    //=========================================================================
16634    // GTlsClientConnection
16635    //=========================================================================
16636    pub fn g_tls_client_connection_get_type() -> GType;
16637    pub fn g_tls_client_connection_new(
16638        base_io_stream: *mut GIOStream,
16639        server_identity: *mut GSocketConnectable,
16640        error: *mut *mut glib::GError,
16641    ) -> *mut GTlsClientConnection;
16642    pub fn g_tls_client_connection_copy_session_state(
16643        conn: *mut GTlsClientConnection,
16644        source: *mut GTlsClientConnection,
16645    );
16646    pub fn g_tls_client_connection_get_accepted_cas(
16647        conn: *mut GTlsClientConnection,
16648    ) -> *mut glib::GList;
16649    pub fn g_tls_client_connection_get_server_identity(
16650        conn: *mut GTlsClientConnection,
16651    ) -> *mut GSocketConnectable;
16652    pub fn g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection) -> gboolean;
16653    pub fn g_tls_client_connection_get_validation_flags(
16654        conn: *mut GTlsClientConnection,
16655    ) -> GTlsCertificateFlags;
16656    pub fn g_tls_client_connection_set_server_identity(
16657        conn: *mut GTlsClientConnection,
16658        identity: *mut GSocketConnectable,
16659    );
16660    pub fn g_tls_client_connection_set_use_ssl3(
16661        conn: *mut GTlsClientConnection,
16662        use_ssl3: gboolean,
16663    );
16664    pub fn g_tls_client_connection_set_validation_flags(
16665        conn: *mut GTlsClientConnection,
16666        flags: GTlsCertificateFlags,
16667    );
16668
16669    //=========================================================================
16670    // GTlsFileDatabase
16671    //=========================================================================
16672    pub fn g_tls_file_database_get_type() -> GType;
16673    pub fn g_tls_file_database_new(
16674        anchors: *const c_char,
16675        error: *mut *mut glib::GError,
16676    ) -> *mut GTlsFileDatabase;
16677
16678    //=========================================================================
16679    // GTlsServerConnection
16680    //=========================================================================
16681    pub fn g_tls_server_connection_get_type() -> GType;
16682    pub fn g_tls_server_connection_new(
16683        base_io_stream: *mut GIOStream,
16684        certificate: *mut GTlsCertificate,
16685        error: *mut *mut glib::GError,
16686    ) -> *mut GTlsServerConnection;
16687
16688    //=========================================================================
16689    // GVolume
16690    //=========================================================================
16691    pub fn g_volume_get_type() -> GType;
16692    pub fn g_volume_can_eject(volume: *mut GVolume) -> gboolean;
16693    pub fn g_volume_can_mount(volume: *mut GVolume) -> gboolean;
16694    pub fn g_volume_eject(
16695        volume: *mut GVolume,
16696        flags: GMountUnmountFlags,
16697        cancellable: *mut GCancellable,
16698        callback: GAsyncReadyCallback,
16699        user_data: gpointer,
16700    );
16701    pub fn g_volume_eject_finish(
16702        volume: *mut GVolume,
16703        result: *mut GAsyncResult,
16704        error: *mut *mut glib::GError,
16705    ) -> gboolean;
16706    pub fn g_volume_eject_with_operation(
16707        volume: *mut GVolume,
16708        flags: GMountUnmountFlags,
16709        mount_operation: *mut GMountOperation,
16710        cancellable: *mut GCancellable,
16711        callback: GAsyncReadyCallback,
16712        user_data: gpointer,
16713    );
16714    pub fn g_volume_eject_with_operation_finish(
16715        volume: *mut GVolume,
16716        result: *mut GAsyncResult,
16717        error: *mut *mut glib::GError,
16718    ) -> gboolean;
16719    pub fn g_volume_enumerate_identifiers(volume: *mut GVolume) -> *mut *mut c_char;
16720    pub fn g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile;
16721    pub fn g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive;
16722    pub fn g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon;
16723    pub fn g_volume_get_identifier(volume: *mut GVolume, kind: *const c_char) -> *mut c_char;
16724    pub fn g_volume_get_mount(volume: *mut GVolume) -> *mut GMount;
16725    pub fn g_volume_get_name(volume: *mut GVolume) -> *mut c_char;
16726    pub fn g_volume_get_sort_key(volume: *mut GVolume) -> *const c_char;
16727    pub fn g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon;
16728    pub fn g_volume_get_uuid(volume: *mut GVolume) -> *mut c_char;
16729    pub fn g_volume_mount(
16730        volume: *mut GVolume,
16731        flags: GMountMountFlags,
16732        mount_operation: *mut GMountOperation,
16733        cancellable: *mut GCancellable,
16734        callback: GAsyncReadyCallback,
16735        user_data: gpointer,
16736    );
16737    pub fn g_volume_mount_finish(
16738        volume: *mut GVolume,
16739        result: *mut GAsyncResult,
16740        error: *mut *mut glib::GError,
16741    ) -> gboolean;
16742    pub fn g_volume_should_automount(volume: *mut GVolume) -> gboolean;
16743
16744    //=========================================================================
16745    // Other functions
16746    //=========================================================================
16747    pub fn g_bus_get(
16748        bus_type: GBusType,
16749        cancellable: *mut GCancellable,
16750        callback: GAsyncReadyCallback,
16751        user_data: gpointer,
16752    );
16753    pub fn g_bus_get_finish(
16754        res: *mut GAsyncResult,
16755        error: *mut *mut glib::GError,
16756    ) -> *mut GDBusConnection;
16757    pub fn g_bus_get_sync(
16758        bus_type: GBusType,
16759        cancellable: *mut GCancellable,
16760        error: *mut *mut glib::GError,
16761    ) -> *mut GDBusConnection;
16762    pub fn g_bus_own_name(
16763        bus_type: GBusType,
16764        name: *const c_char,
16765        flags: GBusNameOwnerFlags,
16766        bus_acquired_handler: GBusAcquiredCallback,
16767        name_acquired_handler: GBusNameAcquiredCallback,
16768        name_lost_handler: GBusNameLostCallback,
16769        user_data: gpointer,
16770        user_data_free_func: glib::GDestroyNotify,
16771    ) -> c_uint;
16772    pub fn g_bus_own_name_on_connection(
16773        connection: *mut GDBusConnection,
16774        name: *const c_char,
16775        flags: GBusNameOwnerFlags,
16776        name_acquired_handler: GBusNameAcquiredCallback,
16777        name_lost_handler: GBusNameLostCallback,
16778        user_data: gpointer,
16779        user_data_free_func: glib::GDestroyNotify,
16780    ) -> c_uint;
16781    pub fn g_bus_own_name_on_connection_with_closures(
16782        connection: *mut GDBusConnection,
16783        name: *const c_char,
16784        flags: GBusNameOwnerFlags,
16785        name_acquired_closure: *mut gobject::GClosure,
16786        name_lost_closure: *mut gobject::GClosure,
16787    ) -> c_uint;
16788    pub fn g_bus_own_name_with_closures(
16789        bus_type: GBusType,
16790        name: *const c_char,
16791        flags: GBusNameOwnerFlags,
16792        bus_acquired_closure: *mut gobject::GClosure,
16793        name_acquired_closure: *mut gobject::GClosure,
16794        name_lost_closure: *mut gobject::GClosure,
16795    ) -> c_uint;
16796    pub fn g_bus_unown_name(owner_id: c_uint);
16797    pub fn g_bus_unwatch_name(watcher_id: c_uint);
16798    pub fn g_bus_watch_name(
16799        bus_type: GBusType,
16800        name: *const c_char,
16801        flags: GBusNameWatcherFlags,
16802        name_appeared_handler: GBusNameAppearedCallback,
16803        name_vanished_handler: GBusNameVanishedCallback,
16804        user_data: gpointer,
16805        user_data_free_func: glib::GDestroyNotify,
16806    ) -> c_uint;
16807    pub fn g_bus_watch_name_on_connection(
16808        connection: *mut GDBusConnection,
16809        name: *const c_char,
16810        flags: GBusNameWatcherFlags,
16811        name_appeared_handler: GBusNameAppearedCallback,
16812        name_vanished_handler: GBusNameVanishedCallback,
16813        user_data: gpointer,
16814        user_data_free_func: glib::GDestroyNotify,
16815    ) -> c_uint;
16816    pub fn g_bus_watch_name_on_connection_with_closures(
16817        connection: *mut GDBusConnection,
16818        name: *const c_char,
16819        flags: GBusNameWatcherFlags,
16820        name_appeared_closure: *mut gobject::GClosure,
16821        name_vanished_closure: *mut gobject::GClosure,
16822    ) -> c_uint;
16823    pub fn g_bus_watch_name_with_closures(
16824        bus_type: GBusType,
16825        name: *const c_char,
16826        flags: GBusNameWatcherFlags,
16827        name_appeared_closure: *mut gobject::GClosure,
16828        name_vanished_closure: *mut gobject::GClosure,
16829    ) -> c_uint;
16830    pub fn g_content_type_can_be_executable(type_: *const c_char) -> gboolean;
16831    pub fn g_content_type_equals(type1: *const c_char, type2: *const c_char) -> gboolean;
16832    pub fn g_content_type_from_mime_type(mime_type: *const c_char) -> *mut c_char;
16833    pub fn g_content_type_get_description(type_: *const c_char) -> *mut c_char;
16834    pub fn g_content_type_get_generic_icon_name(type_: *const c_char) -> *mut c_char;
16835    pub fn g_content_type_get_icon(type_: *const c_char) -> *mut GIcon;
16836    #[cfg(feature = "v2_60")]
16837    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16838    pub fn g_content_type_get_mime_dirs() -> *const *const c_char;
16839    pub fn g_content_type_get_mime_type(type_: *const c_char) -> *mut c_char;
16840    pub fn g_content_type_get_symbolic_icon(type_: *const c_char) -> *mut GIcon;
16841    pub fn g_content_type_guess(
16842        filename: *const c_char,
16843        data: *const u8,
16844        data_size: size_t,
16845        result_uncertain: *mut gboolean,
16846    ) -> *mut c_char;
16847    pub fn g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut c_char;
16848    pub fn g_content_type_is_a(type_: *const c_char, supertype: *const c_char) -> gboolean;
16849    pub fn g_content_type_is_mime_type(type_: *const c_char, mime_type: *const c_char) -> gboolean;
16850    pub fn g_content_type_is_unknown(type_: *const c_char) -> gboolean;
16851    #[cfg(feature = "v2_60")]
16852    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16853    pub fn g_content_type_set_mime_dirs(dirs: *const *const c_char);
16854    pub fn g_content_types_get_registered() -> *mut glib::GList;
16855    pub fn g_dbus_address_escape_value(string: *const c_char) -> *mut c_char;
16856    pub fn g_dbus_address_get_for_bus_sync(
16857        bus_type: GBusType,
16858        cancellable: *mut GCancellable,
16859        error: *mut *mut glib::GError,
16860    ) -> *mut c_char;
16861    pub fn g_dbus_address_get_stream(
16862        address: *const c_char,
16863        cancellable: *mut GCancellable,
16864        callback: GAsyncReadyCallback,
16865        user_data: gpointer,
16866    );
16867    pub fn g_dbus_address_get_stream_finish(
16868        res: *mut GAsyncResult,
16869        out_guid: *mut *mut c_char,
16870        error: *mut *mut glib::GError,
16871    ) -> *mut GIOStream;
16872    pub fn g_dbus_address_get_stream_sync(
16873        address: *const c_char,
16874        out_guid: *mut *mut c_char,
16875        cancellable: *mut GCancellable,
16876        error: *mut *mut glib::GError,
16877    ) -> *mut GIOStream;
16878    #[cfg(feature = "v2_68")]
16879    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16880    pub fn g_dbus_escape_object_path(s: *const c_char) -> *mut c_char;
16881    #[cfg(feature = "v2_68")]
16882    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16883    pub fn g_dbus_escape_object_path_bytestring(bytes: *const u8) -> *mut c_char;
16884    pub fn g_dbus_generate_guid() -> *mut c_char;
16885    pub fn g_dbus_gvalue_to_gvariant(
16886        gvalue: *const gobject::GValue,
16887        type_: *const glib::GVariantType,
16888    ) -> *mut glib::GVariant;
16889    pub fn g_dbus_gvariant_to_gvalue(value: *mut glib::GVariant, out_gvalue: *mut gobject::GValue);
16890    pub fn g_dbus_is_address(string: *const c_char) -> gboolean;
16891    #[cfg(feature = "v2_70")]
16892    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16893    pub fn g_dbus_is_error_name(string: *const c_char) -> gboolean;
16894    pub fn g_dbus_is_guid(string: *const c_char) -> gboolean;
16895    pub fn g_dbus_is_interface_name(string: *const c_char) -> gboolean;
16896    pub fn g_dbus_is_member_name(string: *const c_char) -> gboolean;
16897    pub fn g_dbus_is_name(string: *const c_char) -> gboolean;
16898    pub fn g_dbus_is_supported_address(
16899        string: *const c_char,
16900        error: *mut *mut glib::GError,
16901    ) -> gboolean;
16902    pub fn g_dbus_is_unique_name(string: *const c_char) -> gboolean;
16903    #[cfg(feature = "v2_68")]
16904    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16905    pub fn g_dbus_unescape_object_path(s: *const c_char) -> *mut u8;
16906    pub fn g_io_error_from_errno(err_no: c_int) -> GIOErrorEnum;
16907    #[cfg(feature = "v2_74")]
16908    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
16909    pub fn g_io_error_from_file_error(file_error: glib::GFileError) -> GIOErrorEnum;
16910    pub fn g_io_error_quark() -> glib::GQuark;
16911    pub fn g_io_modules_load_all_in_directory(dirname: *const c_char) -> *mut glib::GList;
16912    pub fn g_io_modules_load_all_in_directory_with_scope(
16913        dirname: *const c_char,
16914        scope: *mut GIOModuleScope,
16915    ) -> *mut glib::GList;
16916    pub fn g_io_modules_scan_all_in_directory(dirname: *const c_char);
16917    pub fn g_io_modules_scan_all_in_directory_with_scope(
16918        dirname: *const c_char,
16919        scope: *mut GIOModuleScope,
16920    );
16921    pub fn g_io_scheduler_cancel_all_jobs();
16922    pub fn g_io_scheduler_push_job(
16923        job_func: GIOSchedulerJobFunc,
16924        user_data: gpointer,
16925        notify: glib::GDestroyNotify,
16926        io_priority: c_int,
16927        cancellable: *mut GCancellable,
16928    );
16929    pub fn g_keyfile_settings_backend_new(
16930        filename: *const c_char,
16931        root_path: *const c_char,
16932        root_group: *const c_char,
16933    ) -> *mut GSettingsBackend;
16934    pub fn g_memory_settings_backend_new() -> *mut GSettingsBackend;
16935    pub fn g_networking_init();
16936    pub fn g_null_settings_backend_new() -> *mut GSettingsBackend;
16937    pub fn g_pollable_source_new(pollable_stream: *mut gobject::GObject) -> *mut glib::GSource;
16938    pub fn g_pollable_source_new_full(
16939        pollable_stream: *mut gobject::GObject,
16940        child_source: *mut glib::GSource,
16941        cancellable: *mut GCancellable,
16942    ) -> *mut glib::GSource;
16943    pub fn g_pollable_stream_read(
16944        stream: *mut GInputStream,
16945        buffer: *mut u8,
16946        count: size_t,
16947        blocking: gboolean,
16948        cancellable: *mut GCancellable,
16949        error: *mut *mut glib::GError,
16950    ) -> ssize_t;
16951    pub fn g_pollable_stream_write(
16952        stream: *mut GOutputStream,
16953        buffer: *mut u8,
16954        count: size_t,
16955        blocking: gboolean,
16956        cancellable: *mut GCancellable,
16957        error: *mut *mut glib::GError,
16958    ) -> ssize_t;
16959    pub fn g_pollable_stream_write_all(
16960        stream: *mut GOutputStream,
16961        buffer: *mut u8,
16962        count: size_t,
16963        blocking: gboolean,
16964        bytes_written: *mut size_t,
16965        cancellable: *mut GCancellable,
16966        error: *mut *mut glib::GError,
16967    ) -> gboolean;
16968    pub fn g_resources_enumerate_children(
16969        path: *const c_char,
16970        lookup_flags: GResourceLookupFlags,
16971        error: *mut *mut glib::GError,
16972    ) -> *mut *mut c_char;
16973    pub fn g_resources_get_info(
16974        path: *const c_char,
16975        lookup_flags: GResourceLookupFlags,
16976        size: *mut size_t,
16977        flags: *mut u32,
16978        error: *mut *mut glib::GError,
16979    ) -> gboolean;
16980    #[cfg(feature = "v2_84")]
16981    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
16982    pub fn g_resources_has_children(path: *const c_char) -> gboolean;
16983    pub fn g_resources_lookup_data(
16984        path: *const c_char,
16985        lookup_flags: GResourceLookupFlags,
16986        error: *mut *mut glib::GError,
16987    ) -> *mut glib::GBytes;
16988    pub fn g_resources_open_stream(
16989        path: *const c_char,
16990        lookup_flags: GResourceLookupFlags,
16991        error: *mut *mut glib::GError,
16992    ) -> *mut GInputStream;
16993    pub fn g_resources_register(resource: *mut GResource);
16994    pub fn g_resources_unregister(resource: *mut GResource);
16995    pub fn g_simple_async_report_error_in_idle(
16996        object: *mut gobject::GObject,
16997        callback: GAsyncReadyCallback,
16998        user_data: gpointer,
16999        domain: glib::GQuark,
17000        code: c_int,
17001        format: *const c_char,
17002        ...
17003    );
17004    pub fn g_simple_async_report_gerror_in_idle(
17005        object: *mut gobject::GObject,
17006        callback: GAsyncReadyCallback,
17007        user_data: gpointer,
17008        error: *const glib::GError,
17009    );
17010    pub fn g_simple_async_report_take_gerror_in_idle(
17011        object: *mut gobject::GObject,
17012        callback: GAsyncReadyCallback,
17013        user_data: gpointer,
17014        error: *mut glib::GError,
17015    );
17016
17017}