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#[cfg(unix)]
22#[allow(unused_imports)]
23use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
24#[allow(unused_imports)]
25use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
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::{gboolean, gconstpointer, gpointer, GType};
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 GEmblemOrigin = c_int;
146pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0;
147pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1;
148pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2;
149pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3;
150
151pub type GFileAttributeStatus = c_int;
152pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0;
153pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1;
154pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2;
155
156pub type GFileAttributeType = c_int;
157pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0;
158pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1;
159pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2;
160pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3;
161pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4;
162pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5;
163pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6;
164pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7;
165pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8;
166pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9;
167
168pub type GFileMonitorEvent = c_int;
169pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0;
170pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1;
171pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2;
172pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3;
173pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4;
174pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5;
175pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6;
176pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7;
177pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8;
178pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9;
179pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10;
180
181pub type GFileType = c_int;
182pub const G_FILE_TYPE_UNKNOWN: GFileType = 0;
183pub const G_FILE_TYPE_REGULAR: GFileType = 1;
184pub const G_FILE_TYPE_DIRECTORY: GFileType = 2;
185pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3;
186pub const G_FILE_TYPE_SPECIAL: GFileType = 4;
187pub const G_FILE_TYPE_SHORTCUT: GFileType = 5;
188pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6;
189
190pub type GFilesystemPreviewType = c_int;
191pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0;
192pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1;
193pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2;
194
195pub type GIOErrorEnum = c_int;
196pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0;
197pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1;
198pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2;
199pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3;
200pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4;
201pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5;
202pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6;
203pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7;
204pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8;
205pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9;
206pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10;
207pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11;
208pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12;
209pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13;
210pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14;
211pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15;
212pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16;
213pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17;
214pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18;
215pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19;
216pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20;
217pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21;
218pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22;
219pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23;
220pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24;
221pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25;
222pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26;
223pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27;
224pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28;
225pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29;
226pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30;
227pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31;
228pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32;
229pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33;
230pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34;
231pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35;
232pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36;
233pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37;
234pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38;
235pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39;
236pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40;
237pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41;
238pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42;
239pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43;
240pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44;
241pub const G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44;
242pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45;
243pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46;
244pub const G_IO_ERROR_NO_SUCH_DEVICE: GIOErrorEnum = 47;
245pub const G_IO_ERROR_DESTINATION_UNSET: GIOErrorEnum = 48;
246
247pub type GIOModuleScopeFlags = c_int;
248pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0;
249pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1;
250
251pub type GMemoryMonitorWarningLevel = c_int;
252pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50;
253pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100;
254pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255;
255
256pub type GMountOperationResult = c_int;
257pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0;
258pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1;
259pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2;
260
261pub type GNetworkConnectivity = c_int;
262pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1;
263pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2;
264pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3;
265pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4;
266
267pub type GNotificationPriority = c_int;
268pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0;
269pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1;
270pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2;
271pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3;
272
273pub type GPasswordSave = c_int;
274pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0;
275pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1;
276pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2;
277
278pub type GPollableReturn = c_int;
279pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0;
280pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1;
281pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27;
282
283pub type GResolverError = c_int;
284pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0;
285pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1;
286pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2;
287
288pub type GResolverRecordType = c_int;
289pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1;
290pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2;
291pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3;
292pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4;
293pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5;
294
295pub type GResourceError = c_int;
296pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0;
297pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1;
298
299pub type GSocketClientEvent = c_int;
300pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0;
301pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1;
302pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2;
303pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3;
304pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4;
305pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5;
306pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6;
307pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7;
308pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8;
309
310pub type GSocketListenerEvent = c_int;
311pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0;
312pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1;
313pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2;
314pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3;
315
316pub type GSocketProtocol = c_int;
317pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1;
318pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0;
319pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6;
320pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17;
321pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132;
322
323pub type GSocketType = c_int;
324pub const G_SOCKET_TYPE_INVALID: GSocketType = 0;
325pub const G_SOCKET_TYPE_STREAM: GSocketType = 1;
326pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2;
327pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3;
328
329pub type GTlsAuthenticationMode = c_int;
330pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0;
331pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1;
332pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2;
333
334pub type GTlsCertificateRequestFlags = c_int;
335pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0;
336
337pub type GTlsChannelBindingError = c_int;
338pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0;
339pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1;
340pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2;
341pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3;
342pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4;
343
344pub type GTlsChannelBindingType = c_int;
345pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0;
346pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1;
347pub const G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2;
348
349pub type GTlsDatabaseLookupFlags = c_int;
350pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
351pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
352
353pub type GTlsError = c_int;
354pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0;
355pub const G_TLS_ERROR_MISC: GTlsError = 1;
356pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2;
357pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3;
358pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4;
359pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5;
360pub const G_TLS_ERROR_EOF: GTlsError = 6;
361pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7;
362pub const G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8;
363
364pub type GTlsInteractionResult = c_int;
365pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0;
366pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1;
367pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2;
368
369pub type GTlsProtocolVersion = c_int;
370pub const G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0;
371pub const G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1;
372pub const G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2;
373pub const G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3;
374pub const G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4;
375pub const G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5;
376pub const G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201;
377pub const G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202;
378
379pub type GTlsRehandshakeMode = c_int;
380pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0;
381pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1;
382pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2;
383
384pub type GUnixSocketAddressType = c_int;
385pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0;
386pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1;
387pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2;
388pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3;
389pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4;
390
391pub type GZlibCompressorFormat = c_int;
392pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0;
393pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1;
394pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2;
395
396// Constants
397pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE;
398pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE;
399pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller\0";
400pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: &[u8] = b"gio-desktop-app-info-lookup\0";
401pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
402pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete\0";
403pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute\0";
404pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8] = b"access::can-read\0";
405pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8] = b"access::can-rename\0";
406pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8] = b"access::can-trash\0";
407pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8] = b"access::can-write\0";
408pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8] = b"dos::is-archive\0";
409pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8] = b"dos::is-mountpoint\0";
410pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8] = b"dos::is-system\0";
411pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8] = b"dos::reparse-point-tag\0";
412pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8] = b"etag::value\0";
413pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8] = b"filesystem::free\0";
414pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8] = b"filesystem::readonly\0";
415pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8] = b"filesystem::remote\0";
416pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8] = b"filesystem::size\0";
417pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8] = b"filesystem::type\0";
418pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8] = b"filesystem::used\0";
419pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8] = b"filesystem::use-preview\0";
420pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8] = b"gvfs::backend\0";
421pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8] = b"id::file\0";
422pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8] = b"id::filesystem\0";
423pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8] = b"mountable::can-eject\0";
424pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8] = b"mountable::can-mount\0";
425pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8] = b"mountable::can-poll\0";
426pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8] = b"mountable::can-start\0";
427pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8] = b"mountable::can-start-degraded\0";
428pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8] = b"mountable::can-stop\0";
429pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8] = b"mountable::can-unmount\0";
430pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8] = b"mountable::hal-udi\0";
431pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8] =
432    b"mountable::is-media-check-automatic\0";
433pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8] = b"mountable::start-stop-type\0";
434pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8] = b"mountable::unix-device\0";
435pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8] = b"mountable::unix-device-file\0";
436pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8] = b"owner::group\0";
437pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8] = b"owner::user\0";
438pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8] = b"owner::user-real\0";
439pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8] = b"preview::icon\0";
440pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8] = b"recent::modified\0";
441pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8] = b"selinux::context\0";
442pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8] = b"standard::allocated-size\0";
443pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8] = b"standard::content-type\0";
444pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8] = b"standard::copy-name\0";
445pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8] = b"standard::description\0";
446pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8] = b"standard::display-name\0";
447pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8] = b"standard::edit-name\0";
448pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8] = b"standard::fast-content-type\0";
449pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8] = b"standard::icon\0";
450pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8] = b"standard::is-backup\0";
451pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8] = b"standard::is-hidden\0";
452pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8] = b"standard::is-symlink\0";
453pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8] = b"standard::is-virtual\0";
454pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8] = b"standard::is-volatile\0";
455pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8] = b"standard::name\0";
456pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8] = b"standard::size\0";
457pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8] = b"standard::sort-order\0";
458pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8] = b"standard::symbolic-icon\0";
459pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8] = b"standard::symlink-target\0";
460pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8] = b"standard::target-uri\0";
461pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8] = b"standard::type\0";
462pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8] = b"thumbnail::failed\0";
463pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &[u8] = b"thumbnail::failed-large\0";
464pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &[u8] = b"thumbnail::failed-normal\0";
465pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &[u8] = b"thumbnail::failed-xlarge\0";
466pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &[u8] = b"thumbnail::failed-xxlarge\0";
467pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8] = b"thumbnail::is-valid\0";
468pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &[u8] = b"thumbnail::is-valid-large\0";
469pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &[u8] = b"thumbnail::is-valid-normal\0";
470pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &[u8] = b"thumbnail::is-valid-xlarge\0";
471pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &[u8] = b"thumbnail::is-valid-xxlarge\0";
472pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8] = b"thumbnail::path\0";
473pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &[u8] = b"thumbnail::path-large\0";
474pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &[u8] = b"thumbnail::path-normal\0";
475pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &[u8] = b"thumbnail::path-xlarge\0";
476pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &[u8] = b"thumbnail::path-xxlarge\0";
477pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8] = b"time::access\0";
478pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8] = b"time::access-nsec\0";
479pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8] = b"time::access-usec\0";
480pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8] = b"time::changed\0";
481pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8] = b"time::changed-nsec\0";
482pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8] = b"time::changed-usec\0";
483pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8] = b"time::created\0";
484pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8] = b"time::created-nsec\0";
485pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8] = b"time::created-usec\0";
486pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8] = b"time::modified\0";
487pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8] = b"time::modified-nsec\0";
488pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8] = b"time::modified-usec\0";
489pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8] = b"trash::deletion-date\0";
490pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8] = b"trash::item-count\0";
491pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8] = b"trash::orig-path\0";
492pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8] = b"unix::blocks\0";
493pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8] = b"unix::block-size\0";
494pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8] = b"unix::device\0";
495pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8] = b"unix::gid\0";
496pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8] = b"unix::inode\0";
497pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8] = b"unix::is-mountpoint\0";
498pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8] = b"unix::mode\0";
499pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8] = b"unix::nlink\0";
500pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8] = b"unix::rdev\0";
501pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8] = b"unix::uid\0";
502pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-memory-monitor\0";
503pub const G_MENU_ATTRIBUTE_ACTION: &[u8] = b"action\0";
504pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8] = b"action-namespace\0";
505pub const G_MENU_ATTRIBUTE_ICON: &[u8] = b"icon\0";
506pub const G_MENU_ATTRIBUTE_LABEL: &[u8] = b"label\0";
507pub const G_MENU_ATTRIBUTE_TARGET: &[u8] = b"target\0";
508pub const G_MENU_EXPORTER_MAX_SECTION_SIZE: c_int = 1000;
509pub const G_MENU_LINK_SECTION: &[u8] = b"section\0";
510pub const G_MENU_LINK_SUBMENU: &[u8] = b"submenu\0";
511pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-native-volume-monitor\0";
512pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-network-monitor\0";
513pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-power-profile-monitor\0";
514pub const G_PROXY_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy\0";
515pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy-resolver\0";
516pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gsettings-backend\0";
517pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gio-tls-backend\0";
518pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8] = b"1.3.6.1.5.5.7.3.2\0";
519pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8] = b"1.3.6.1.5.5.7.3.1\0";
520pub const G_VFS_EXTENSION_POINT_NAME: &[u8] = b"gio-vfs\0";
521pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8] = b"class\0";
522pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: &[u8] = b"hal-udi\0";
523pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8] = b"label\0";
524pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8] = b"nfs-mount\0";
525pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
526pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8] = b"uuid\0";
527pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-volume-monitor\0";
528
529// Flags
530pub type GAppInfoCreateFlags = c_uint;
531pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0;
532pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1;
533pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2;
534pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4;
535
536pub type GApplicationFlags = c_uint;
537pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0;
538#[cfg(feature = "v2_74")]
539#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
540pub const G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0;
541pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1;
542pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2;
543pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4;
544pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8;
545pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16;
546pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32;
547pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64;
548pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128;
549pub const G_APPLICATION_REPLACE: GApplicationFlags = 256;
550
551pub type GAskPasswordFlags = c_uint;
552pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1;
553pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2;
554pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4;
555pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8;
556pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16;
557pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32;
558
559pub type GBusNameOwnerFlags = c_uint;
560pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0;
561pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1;
562pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2;
563pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4;
564
565pub type GBusNameWatcherFlags = c_uint;
566pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0;
567pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1;
568
569pub type GConverterFlags = c_uint;
570pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0;
571pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1;
572pub const G_CONVERTER_FLUSH: GConverterFlags = 2;
573
574pub type GDBusCallFlags = c_uint;
575pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0;
576pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1;
577pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2;
578
579pub type GDBusCapabilityFlags = c_uint;
580pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0;
581pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1;
582
583pub type GDBusConnectionFlags = c_uint;
584pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0;
585pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1;
586pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2;
587pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4;
588pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8;
589pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16;
590pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusConnectionFlags = 32;
591pub const G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64;
592
593pub type GDBusInterfaceSkeletonFlags = c_uint;
594pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0;
595pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD:
596    GDBusInterfaceSkeletonFlags = 1;
597
598pub type GDBusMessageFlags = c_uint;
599pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0;
600pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1;
601pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2;
602pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4;
603
604pub type GDBusObjectManagerClientFlags = c_uint;
605pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0;
606pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1;
607
608pub type GDBusPropertyInfoFlags = c_uint;
609pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0;
610pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1;
611pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2;
612
613pub type GDBusProxyFlags = c_uint;
614pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0;
615pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1;
616pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2;
617pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4;
618pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8;
619pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16;
620pub const G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32;
621
622pub type GDBusSendMessageFlags = c_uint;
623pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0;
624pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1;
625
626pub type GDBusServerFlags = c_uint;
627pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0;
628pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1;
629pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2;
630pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags = 4;
631
632pub type GDBusSignalFlags = c_uint;
633pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0;
634pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1;
635pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2;
636pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4;
637
638pub type GDBusSubtreeFlags = c_uint;
639pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0;
640pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1;
641
642pub type GDriveStartFlags = c_uint;
643pub const G_DRIVE_START_NONE: GDriveStartFlags = 0;
644
645pub type GFileAttributeInfoFlags = c_uint;
646pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0;
647pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1;
648pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2;
649
650pub type GFileCopyFlags = c_uint;
651pub const G_FILE_COPY_NONE: GFileCopyFlags = 0;
652pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1;
653pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2;
654pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4;
655pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8;
656pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16;
657pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32;
658pub const G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME: GFileCopyFlags = 64;
659
660pub type GFileCreateFlags = c_uint;
661pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0;
662pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1;
663pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2;
664
665pub type GFileMeasureFlags = c_uint;
666pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0;
667pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2;
668pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4;
669pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8;
670
671pub type GFileMonitorFlags = c_uint;
672pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0;
673pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1;
674pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2;
675pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4;
676pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8;
677
678pub type GFileQueryInfoFlags = c_uint;
679pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0;
680pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1;
681
682pub type GIOStreamSpliceFlags = c_uint;
683pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0;
684pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1;
685pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2;
686pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4;
687
688pub type GMountMountFlags = c_uint;
689pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0;
690
691pub type GMountUnmountFlags = c_uint;
692pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
693pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
694
695pub type GOutputStreamSpliceFlags = c_uint;
696pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
697pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1;
698pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2;
699
700pub type GResolverNameLookupFlags = c_uint;
701pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0;
702pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1;
703pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2;
704
705pub type GResourceFlags = c_uint;
706pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
707pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
708
709pub type GResourceLookupFlags = c_uint;
710pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
711
712pub type GSettingsBindFlags = c_uint;
713pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
714pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
715pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
716pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
717pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
718pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
719
720pub type GSubprocessFlags = c_uint;
721pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
722pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
723pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
724pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
725pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
726pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
727pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
728pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
729pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
730pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
731
732pub type GTestDBusFlags = c_uint;
733pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0;
734
735pub type GTlsCertificateFlags = c_uint;
736pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
737pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
738pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
739pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
740pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
741pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
742pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
743pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
744pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
745
746pub type GTlsDatabaseVerifyFlags = c_uint;
747pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
748
749pub type GTlsPasswordFlags = c_uint;
750pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0;
751pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2;
752pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4;
753pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8;
754pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16;
755pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32;
756pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64;
757
758// Callbacks
759pub type GAsyncReadyCallback =
760    Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>;
761pub type GBusAcquiredCallback =
762    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
763pub type GBusNameAcquiredCallback =
764    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
765pub type GBusNameAppearedCallback =
766    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>;
767pub type GBusNameLostCallback =
768    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
769pub type GBusNameVanishedCallback =
770    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
771pub type GCancellableSourceFunc =
772    Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>;
773pub type GDBusInterfaceGetPropertyFunc = Option<
774    unsafe extern "C" fn(
775        *mut GDBusConnection,
776        *const c_char,
777        *const c_char,
778        *const c_char,
779        *const c_char,
780        *mut *mut glib::GError,
781        gpointer,
782    ) -> *mut glib::GVariant,
783>;
784pub type GDBusInterfaceMethodCallFunc = Option<
785    unsafe extern "C" fn(
786        *mut GDBusConnection,
787        *const c_char,
788        *const c_char,
789        *const c_char,
790        *const c_char,
791        *mut glib::GVariant,
792        *mut GDBusMethodInvocation,
793        gpointer,
794    ),
795>;
796pub type GDBusInterfaceSetPropertyFunc = Option<
797    unsafe extern "C" fn(
798        *mut GDBusConnection,
799        *const c_char,
800        *const c_char,
801        *const c_char,
802        *const c_char,
803        *mut glib::GVariant,
804        *mut *mut glib::GError,
805        gpointer,
806    ) -> gboolean,
807>;
808pub type GDBusMessageFilterFunction = Option<
809    unsafe extern "C" fn(
810        *mut GDBusConnection,
811        *mut GDBusMessage,
812        gboolean,
813        gpointer,
814    ) -> *mut GDBusMessage,
815>;
816pub type GDBusProxyTypeFunc = Option<
817    unsafe extern "C" fn(
818        *mut GDBusObjectManagerClient,
819        *const c_char,
820        *const c_char,
821        gpointer,
822    ) -> GType,
823>;
824pub type GDBusSignalCallback = Option<
825    unsafe extern "C" fn(
826        *mut GDBusConnection,
827        *const c_char,
828        *const c_char,
829        *const c_char,
830        *const c_char,
831        *mut glib::GVariant,
832        gpointer,
833    ),
834>;
835pub type GDBusSubtreeDispatchFunc = Option<
836    unsafe extern "C" fn(
837        *mut GDBusConnection,
838        *const c_char,
839        *const c_char,
840        *const c_char,
841        *const c_char,
842        *mut gpointer,
843        gpointer,
844    ) -> *const GDBusInterfaceVTable,
845>;
846pub type GDBusSubtreeEnumerateFunc = Option<
847    unsafe extern "C" fn(
848        *mut GDBusConnection,
849        *const c_char,
850        *const c_char,
851        gpointer,
852    ) -> *mut *mut c_char,
853>;
854pub type GDBusSubtreeIntrospectFunc = Option<
855    unsafe extern "C" fn(
856        *mut GDBusConnection,
857        *const c_char,
858        *const c_char,
859        *const c_char,
860        gpointer,
861    ) -> *mut *mut GDBusInterfaceInfo,
862>;
863pub type GDatagramBasedSourceFunc =
864    Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>;
865pub type GDesktopAppLaunchCallback =
866    Option<unsafe extern "C" fn(*mut GDesktopAppInfo, glib::GPid, gpointer)>;
867pub type GFileMeasureProgressCallback =
868    Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>;
869pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>;
870pub type GFileReadMoreCallback =
871    Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>;
872pub type GIOSchedulerJobFunc =
873    Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>;
874pub type GPollableSourceFunc =
875    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>;
876pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>;
877pub type GSettingsBindGetMapping =
878    Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>;
879pub type GSettingsBindSetMapping = Option<
880    unsafe extern "C" fn(
881        *const gobject::GValue,
882        *const glib::GVariantType,
883        gpointer,
884    ) -> *mut glib::GVariant,
885>;
886pub type GSettingsGetMapping =
887    Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>;
888pub type GSimpleAsyncThreadFunc =
889    Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>;
890pub type GSocketSourceFunc =
891    Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>;
892pub type GTaskThreadFunc =
893    Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>;
894pub type GVfsFileLookupFunc =
895    Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>;
896
897// Records
898#[derive(Copy, Clone)]
899#[repr(C)]
900pub struct GActionEntry {
901    pub name: *const c_char,
902    pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
903    pub parameter_type: *const c_char,
904    pub state: *const c_char,
905    pub change_state:
906        Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
907    pub padding: [size_t; 3],
908}
909
910impl ::std::fmt::Debug for GActionEntry {
911    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
912        f.debug_struct(&format!("GActionEntry @ {self:p}"))
913            .field("name", &self.name)
914            .field("activate", &self.activate)
915            .field("parameter_type", &self.parameter_type)
916            .field("state", &self.state)
917            .field("change_state", &self.change_state)
918            .finish()
919    }
920}
921
922#[derive(Copy, Clone)]
923#[repr(C)]
924pub struct GActionGroupInterface {
925    pub g_iface: gobject::GTypeInterface,
926    pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
927    pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>,
928    pub get_action_enabled:
929        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
930    pub get_action_parameter_type:
931        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
932    pub get_action_state_type:
933        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
934    pub get_action_state_hint:
935        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
936    pub get_action_state:
937        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
938    pub change_action_state:
939        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
940    pub activate_action:
941        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
942    pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
943    pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
944    pub action_enabled_changed:
945        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>,
946    pub action_state_changed:
947        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
948    pub query_action: Option<
949        unsafe extern "C" fn(
950            *mut GActionGroup,
951            *const c_char,
952            *mut gboolean,
953            *mut *const glib::GVariantType,
954            *mut *const glib::GVariantType,
955            *mut *mut glib::GVariant,
956            *mut *mut glib::GVariant,
957        ) -> gboolean,
958    >,
959}
960
961impl ::std::fmt::Debug for GActionGroupInterface {
962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
963        f.debug_struct(&format!("GActionGroupInterface @ {self:p}"))
964            .field("g_iface", &self.g_iface)
965            .field("has_action", &self.has_action)
966            .field("list_actions", &self.list_actions)
967            .field("get_action_enabled", &self.get_action_enabled)
968            .field("get_action_parameter_type", &self.get_action_parameter_type)
969            .field("get_action_state_type", &self.get_action_state_type)
970            .field("get_action_state_hint", &self.get_action_state_hint)
971            .field("get_action_state", &self.get_action_state)
972            .field("change_action_state", &self.change_action_state)
973            .field("activate_action", &self.activate_action)
974            .field("action_added", &self.action_added)
975            .field("action_removed", &self.action_removed)
976            .field("action_enabled_changed", &self.action_enabled_changed)
977            .field("action_state_changed", &self.action_state_changed)
978            .field("query_action", &self.query_action)
979            .finish()
980    }
981}
982
983#[derive(Copy, Clone)]
984#[repr(C)]
985pub struct GActionInterface {
986    pub g_iface: gobject::GTypeInterface,
987    pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>,
988    pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
989    pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
990    pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
991    pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>,
992    pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
993    pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
994    pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
995}
996
997impl ::std::fmt::Debug for GActionInterface {
998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
999        f.debug_struct(&format!("GActionInterface @ {self:p}"))
1000            .field("g_iface", &self.g_iface)
1001            .field("get_name", &self.get_name)
1002            .field("get_parameter_type", &self.get_parameter_type)
1003            .field("get_state_type", &self.get_state_type)
1004            .field("get_state_hint", &self.get_state_hint)
1005            .field("get_enabled", &self.get_enabled)
1006            .field("get_state", &self.get_state)
1007            .field("change_state", &self.change_state)
1008            .field("activate", &self.activate)
1009            .finish()
1010    }
1011}
1012
1013#[derive(Copy, Clone)]
1014#[repr(C)]
1015pub struct GActionMapInterface {
1016    pub g_iface: gobject::GTypeInterface,
1017    pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>,
1018    pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>,
1019    pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>,
1020}
1021
1022impl ::std::fmt::Debug for GActionMapInterface {
1023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1024        f.debug_struct(&format!("GActionMapInterface @ {self:p}"))
1025            .field("g_iface", &self.g_iface)
1026            .field("lookup_action", &self.lookup_action)
1027            .field("add_action", &self.add_action)
1028            .field("remove_action", &self.remove_action)
1029            .finish()
1030    }
1031}
1032
1033#[derive(Copy, Clone)]
1034#[repr(C)]
1035pub struct GAppInfoIface {
1036    pub g_iface: gobject::GTypeInterface,
1037    pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>,
1038    pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>,
1039    pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1040    pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1041    pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1042    pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1043    pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>,
1044    pub launch: Option<
1045        unsafe extern "C" fn(
1046            *mut GAppInfo,
1047            *mut glib::GList,
1048            *mut GAppLaunchContext,
1049            *mut *mut glib::GError,
1050        ) -> gboolean,
1051    >,
1052    pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1053    pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1054    pub launch_uris: Option<
1055        unsafe extern "C" fn(
1056            *mut GAppInfo,
1057            *mut glib::GList,
1058            *mut GAppLaunchContext,
1059            *mut *mut glib::GError,
1060        ) -> gboolean,
1061    >,
1062    pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1063    pub set_as_default_for_type: Option<
1064        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1065    >,
1066    pub set_as_default_for_extension: Option<
1067        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1068    >,
1069    pub add_supports_type: Option<
1070        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1071    >,
1072    pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1073    pub remove_supports_type: Option<
1074        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1075    >,
1076    pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1077    pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1078    pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1079    pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1080    pub set_as_last_used_for_type: Option<
1081        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1082    >,
1083    pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>,
1084    pub launch_uris_async: Option<
1085        unsafe extern "C" fn(
1086            *mut GAppInfo,
1087            *mut glib::GList,
1088            *mut GAppLaunchContext,
1089            *mut GCancellable,
1090            GAsyncReadyCallback,
1091            gpointer,
1092        ),
1093    >,
1094    pub launch_uris_finish: Option<
1095        unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
1096    >,
1097}
1098
1099impl ::std::fmt::Debug for GAppInfoIface {
1100    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1101        f.debug_struct(&format!("GAppInfoIface @ {self:p}"))
1102            .field("g_iface", &self.g_iface)
1103            .field("dup", &self.dup)
1104            .field("equal", &self.equal)
1105            .field("get_id", &self.get_id)
1106            .field("get_name", &self.get_name)
1107            .field("get_description", &self.get_description)
1108            .field("get_executable", &self.get_executable)
1109            .field("get_icon", &self.get_icon)
1110            .field("launch", &self.launch)
1111            .field("supports_uris", &self.supports_uris)
1112            .field("supports_files", &self.supports_files)
1113            .field("launch_uris", &self.launch_uris)
1114            .field("should_show", &self.should_show)
1115            .field("set_as_default_for_type", &self.set_as_default_for_type)
1116            .field(
1117                "set_as_default_for_extension",
1118                &self.set_as_default_for_extension,
1119            )
1120            .field("add_supports_type", &self.add_supports_type)
1121            .field("can_remove_supports_type", &self.can_remove_supports_type)
1122            .field("remove_supports_type", &self.remove_supports_type)
1123            .field("can_delete", &self.can_delete)
1124            .field("do_delete", &self.do_delete)
1125            .field("get_commandline", &self.get_commandline)
1126            .field("get_display_name", &self.get_display_name)
1127            .field("set_as_last_used_for_type", &self.set_as_last_used_for_type)
1128            .field("get_supported_types", &self.get_supported_types)
1129            .field("launch_uris_async", &self.launch_uris_async)
1130            .field("launch_uris_finish", &self.launch_uris_finish)
1131            .finish()
1132    }
1133}
1134
1135#[derive(Copy, Clone)]
1136#[repr(C)]
1137pub struct GAppLaunchContextClass {
1138    pub parent_class: gobject::GObjectClass,
1139    pub get_display: Option<
1140        unsafe extern "C" fn(
1141            *mut GAppLaunchContext,
1142            *mut GAppInfo,
1143            *mut glib::GList,
1144        ) -> *mut c_char,
1145    >,
1146    pub get_startup_notify_id: Option<
1147        unsafe extern "C" fn(
1148            *mut GAppLaunchContext,
1149            *mut GAppInfo,
1150            *mut glib::GList,
1151        ) -> *mut c_char,
1152    >,
1153    pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>,
1154    pub launched:
1155        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1156    pub launch_started:
1157        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1158    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1159    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1160    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1161}
1162
1163impl ::std::fmt::Debug for GAppLaunchContextClass {
1164    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1165        f.debug_struct(&format!("GAppLaunchContextClass @ {self:p}"))
1166            .field("parent_class", &self.parent_class)
1167            .field("get_display", &self.get_display)
1168            .field("get_startup_notify_id", &self.get_startup_notify_id)
1169            .field("launch_failed", &self.launch_failed)
1170            .field("launched", &self.launched)
1171            .field("launch_started", &self.launch_started)
1172            .field("_g_reserved1", &self._g_reserved1)
1173            .field("_g_reserved2", &self._g_reserved2)
1174            .field("_g_reserved3", &self._g_reserved3)
1175            .finish()
1176    }
1177}
1178
1179#[repr(C)]
1180#[allow(dead_code)]
1181pub struct _GAppLaunchContextPrivate {
1182    _data: [u8; 0],
1183    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1184}
1185
1186pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
1187
1188#[derive(Copy, Clone)]
1189#[repr(C)]
1190pub struct GApplicationClass {
1191    pub parent_class: gobject::GObjectClass,
1192    pub startup: Option<unsafe extern "C" fn(*mut GApplication)>,
1193    pub activate: Option<unsafe extern "C" fn(*mut GApplication)>,
1194    pub open:
1195        Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>,
1196    pub command_line:
1197        Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>,
1198    pub local_command_line: Option<
1199        unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean,
1200    >,
1201    pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1202    pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1203    pub add_platform_data:
1204        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>,
1205    pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1206    pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1207    pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>,
1208    pub dbus_register: Option<
1209        unsafe extern "C" fn(
1210            *mut GApplication,
1211            *mut GDBusConnection,
1212            *const c_char,
1213            *mut *mut glib::GError,
1214        ) -> gboolean,
1215    >,
1216    pub dbus_unregister:
1217        Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>,
1218    pub handle_local_options:
1219        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>,
1220    pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>,
1221    pub padding: [gpointer; 7],
1222}
1223
1224impl ::std::fmt::Debug for GApplicationClass {
1225    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1226        f.debug_struct(&format!("GApplicationClass @ {self:p}"))
1227            .field("startup", &self.startup)
1228            .field("activate", &self.activate)
1229            .field("open", &self.open)
1230            .field("command_line", &self.command_line)
1231            .field("local_command_line", &self.local_command_line)
1232            .field("before_emit", &self.before_emit)
1233            .field("after_emit", &self.after_emit)
1234            .field("add_platform_data", &self.add_platform_data)
1235            .field("quit_mainloop", &self.quit_mainloop)
1236            .field("run_mainloop", &self.run_mainloop)
1237            .field("shutdown", &self.shutdown)
1238            .field("dbus_register", &self.dbus_register)
1239            .field("dbus_unregister", &self.dbus_unregister)
1240            .field("handle_local_options", &self.handle_local_options)
1241            .field("name_lost", &self.name_lost)
1242            .finish()
1243    }
1244}
1245
1246#[derive(Copy, Clone)]
1247#[repr(C)]
1248pub struct GApplicationCommandLineClass {
1249    pub parent_class: gobject::GObjectClass,
1250    pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1251    pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1252    pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>,
1253    pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>,
1254    pub padding: [gpointer; 10],
1255}
1256
1257impl ::std::fmt::Debug for GApplicationCommandLineClass {
1258    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1259        f.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}"))
1260            .field("print_literal", &self.print_literal)
1261            .field("printerr_literal", &self.printerr_literal)
1262            .field("get_stdin", &self.get_stdin)
1263            .field("done", &self.done)
1264            .finish()
1265    }
1266}
1267
1268#[repr(C)]
1269#[allow(dead_code)]
1270pub struct _GApplicationCommandLinePrivate {
1271    _data: [u8; 0],
1272    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1273}
1274
1275pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
1276
1277#[repr(C)]
1278#[allow(dead_code)]
1279pub struct _GApplicationPrivate {
1280    _data: [u8; 0],
1281    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1282}
1283
1284pub type GApplicationPrivate = _GApplicationPrivate;
1285
1286#[derive(Copy, Clone)]
1287#[repr(C)]
1288pub struct GAsyncInitableIface {
1289    pub g_iface: gobject::GTypeInterface,
1290    pub init_async: Option<
1291        unsafe extern "C" fn(
1292            *mut GAsyncInitable,
1293            c_int,
1294            *mut GCancellable,
1295            GAsyncReadyCallback,
1296            gpointer,
1297        ),
1298    >,
1299    pub init_finish: Option<
1300        unsafe extern "C" fn(
1301            *mut GAsyncInitable,
1302            *mut GAsyncResult,
1303            *mut *mut glib::GError,
1304        ) -> gboolean,
1305    >,
1306}
1307
1308impl ::std::fmt::Debug for GAsyncInitableIface {
1309    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1310        f.debug_struct(&format!("GAsyncInitableIface @ {self:p}"))
1311            .field("g_iface", &self.g_iface)
1312            .field("init_async", &self.init_async)
1313            .field("init_finish", &self.init_finish)
1314            .finish()
1315    }
1316}
1317
1318#[derive(Copy, Clone)]
1319#[repr(C)]
1320pub struct GAsyncResultIface {
1321    pub g_iface: gobject::GTypeInterface,
1322    pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>,
1323    pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>,
1324    pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>,
1325}
1326
1327impl ::std::fmt::Debug for GAsyncResultIface {
1328    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1329        f.debug_struct(&format!("GAsyncResultIface @ {self:p}"))
1330            .field("g_iface", &self.g_iface)
1331            .field("get_user_data", &self.get_user_data)
1332            .field("get_source_object", &self.get_source_object)
1333            .field("is_tagged", &self.is_tagged)
1334            .finish()
1335    }
1336}
1337
1338#[derive(Copy, Clone)]
1339#[repr(C)]
1340pub struct GBufferedInputStreamClass {
1341    pub parent_class: GFilterInputStreamClass,
1342    pub fill: Option<
1343        unsafe extern "C" fn(
1344            *mut GBufferedInputStream,
1345            ssize_t,
1346            *mut GCancellable,
1347            *mut *mut glib::GError,
1348        ) -> ssize_t,
1349    >,
1350    pub fill_async: Option<
1351        unsafe extern "C" fn(
1352            *mut GBufferedInputStream,
1353            ssize_t,
1354            c_int,
1355            *mut GCancellable,
1356            GAsyncReadyCallback,
1357            gpointer,
1358        ),
1359    >,
1360    pub fill_finish: Option<
1361        unsafe extern "C" fn(
1362            *mut GBufferedInputStream,
1363            *mut GAsyncResult,
1364            *mut *mut glib::GError,
1365        ) -> ssize_t,
1366    >,
1367    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1368    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1369    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1370    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1371    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1372}
1373
1374impl ::std::fmt::Debug for GBufferedInputStreamClass {
1375    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1376        f.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}"))
1377            .field("parent_class", &self.parent_class)
1378            .field("fill", &self.fill)
1379            .field("fill_async", &self.fill_async)
1380            .field("fill_finish", &self.fill_finish)
1381            .field("_g_reserved1", &self._g_reserved1)
1382            .field("_g_reserved2", &self._g_reserved2)
1383            .field("_g_reserved3", &self._g_reserved3)
1384            .field("_g_reserved4", &self._g_reserved4)
1385            .field("_g_reserved5", &self._g_reserved5)
1386            .finish()
1387    }
1388}
1389
1390#[repr(C)]
1391#[allow(dead_code)]
1392pub struct _GBufferedInputStreamPrivate {
1393    _data: [u8; 0],
1394    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1395}
1396
1397pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
1398
1399#[derive(Copy, Clone)]
1400#[repr(C)]
1401pub struct GBufferedOutputStreamClass {
1402    pub parent_class: GFilterOutputStreamClass,
1403    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1404    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1405}
1406
1407impl ::std::fmt::Debug for GBufferedOutputStreamClass {
1408    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1409        f.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}"))
1410            .field("parent_class", &self.parent_class)
1411            .field("_g_reserved1", &self._g_reserved1)
1412            .field("_g_reserved2", &self._g_reserved2)
1413            .finish()
1414    }
1415}
1416
1417#[repr(C)]
1418#[allow(dead_code)]
1419pub struct _GBufferedOutputStreamPrivate {
1420    _data: [u8; 0],
1421    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1422}
1423
1424pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
1425
1426#[derive(Copy, Clone)]
1427#[repr(C)]
1428pub struct GCancellableClass {
1429    pub parent_class: gobject::GObjectClass,
1430    pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>,
1431    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1432    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1433    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1434    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1435    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1436}
1437
1438impl ::std::fmt::Debug for GCancellableClass {
1439    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1440        f.debug_struct(&format!("GCancellableClass @ {self:p}"))
1441            .field("parent_class", &self.parent_class)
1442            .field("cancelled", &self.cancelled)
1443            .field("_g_reserved1", &self._g_reserved1)
1444            .field("_g_reserved2", &self._g_reserved2)
1445            .field("_g_reserved3", &self._g_reserved3)
1446            .field("_g_reserved4", &self._g_reserved4)
1447            .field("_g_reserved5", &self._g_reserved5)
1448            .finish()
1449    }
1450}
1451
1452#[repr(C)]
1453#[allow(dead_code)]
1454pub struct _GCancellablePrivate {
1455    _data: [u8; 0],
1456    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1457}
1458
1459pub type GCancellablePrivate = _GCancellablePrivate;
1460
1461#[derive(Copy, Clone)]
1462#[repr(C)]
1463pub struct GCharsetConverterClass {
1464    pub parent_class: gobject::GObjectClass,
1465}
1466
1467impl ::std::fmt::Debug for GCharsetConverterClass {
1468    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1469        f.debug_struct(&format!("GCharsetConverterClass @ {self:p}"))
1470            .field("parent_class", &self.parent_class)
1471            .finish()
1472    }
1473}
1474
1475#[derive(Copy, Clone)]
1476#[repr(C)]
1477pub struct GConverterIface {
1478    pub g_iface: gobject::GTypeInterface,
1479    pub convert: Option<
1480        unsafe extern "C" fn(
1481            *mut GConverter,
1482            *mut u8,
1483            size_t,
1484            *mut u8,
1485            size_t,
1486            GConverterFlags,
1487            *mut size_t,
1488            *mut size_t,
1489            *mut *mut glib::GError,
1490        ) -> GConverterResult,
1491    >,
1492    pub reset: Option<unsafe extern "C" fn(*mut GConverter)>,
1493}
1494
1495impl ::std::fmt::Debug for GConverterIface {
1496    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1497        f.debug_struct(&format!("GConverterIface @ {self:p}"))
1498            .field("g_iface", &self.g_iface)
1499            .field("convert", &self.convert)
1500            .field("reset", &self.reset)
1501            .finish()
1502    }
1503}
1504
1505#[derive(Copy, Clone)]
1506#[repr(C)]
1507pub struct GConverterInputStreamClass {
1508    pub parent_class: GFilterInputStreamClass,
1509    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1510    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1511    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1512    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1513    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1514}
1515
1516impl ::std::fmt::Debug for GConverterInputStreamClass {
1517    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1518        f.debug_struct(&format!("GConverterInputStreamClass @ {self:p}"))
1519            .field("parent_class", &self.parent_class)
1520            .field("_g_reserved1", &self._g_reserved1)
1521            .field("_g_reserved2", &self._g_reserved2)
1522            .field("_g_reserved3", &self._g_reserved3)
1523            .field("_g_reserved4", &self._g_reserved4)
1524            .field("_g_reserved5", &self._g_reserved5)
1525            .finish()
1526    }
1527}
1528
1529#[repr(C)]
1530#[allow(dead_code)]
1531pub struct _GConverterInputStreamPrivate {
1532    _data: [u8; 0],
1533    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1534}
1535
1536pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
1537
1538#[derive(Copy, Clone)]
1539#[repr(C)]
1540pub struct GConverterOutputStreamClass {
1541    pub parent_class: GFilterOutputStreamClass,
1542    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1543    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1544    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1545    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1546    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1547}
1548
1549impl ::std::fmt::Debug for GConverterOutputStreamClass {
1550    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1551        f.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}"))
1552            .field("parent_class", &self.parent_class)
1553            .field("_g_reserved1", &self._g_reserved1)
1554            .field("_g_reserved2", &self._g_reserved2)
1555            .field("_g_reserved3", &self._g_reserved3)
1556            .field("_g_reserved4", &self._g_reserved4)
1557            .field("_g_reserved5", &self._g_reserved5)
1558            .finish()
1559    }
1560}
1561
1562#[repr(C)]
1563#[allow(dead_code)]
1564pub struct _GConverterOutputStreamPrivate {
1565    _data: [u8; 0],
1566    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1567}
1568
1569pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
1570
1571#[repr(C)]
1572#[allow(dead_code)]
1573pub struct _GCredentialsClass {
1574    _data: [u8; 0],
1575    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1576}
1577
1578pub type GCredentialsClass = _GCredentialsClass;
1579
1580#[derive(Copy, Clone)]
1581#[repr(C)]
1582pub struct GDBusAnnotationInfo {
1583    pub ref_count: c_int,
1584    pub key: *mut c_char,
1585    pub value: *mut c_char,
1586    pub annotations: *mut *mut GDBusAnnotationInfo,
1587}
1588
1589impl ::std::fmt::Debug for GDBusAnnotationInfo {
1590    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1591        f.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}"))
1592            .field("ref_count", &self.ref_count)
1593            .field("key", &self.key)
1594            .field("value", &self.value)
1595            .field("annotations", &self.annotations)
1596            .finish()
1597    }
1598}
1599
1600#[derive(Copy, Clone)]
1601#[repr(C)]
1602pub struct GDBusArgInfo {
1603    pub ref_count: c_int,
1604    pub name: *mut c_char,
1605    pub signature: *mut c_char,
1606    pub annotations: *mut *mut GDBusAnnotationInfo,
1607}
1608
1609impl ::std::fmt::Debug for GDBusArgInfo {
1610    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1611        f.debug_struct(&format!("GDBusArgInfo @ {self:p}"))
1612            .field("ref_count", &self.ref_count)
1613            .field("name", &self.name)
1614            .field("signature", &self.signature)
1615            .field("annotations", &self.annotations)
1616            .finish()
1617    }
1618}
1619
1620#[derive(Copy, Clone)]
1621#[repr(C)]
1622pub struct GDBusErrorEntry {
1623    pub error_code: c_int,
1624    pub dbus_error_name: *const c_char,
1625}
1626
1627impl ::std::fmt::Debug for GDBusErrorEntry {
1628    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1629        f.debug_struct(&format!("GDBusErrorEntry @ {self:p}"))
1630            .field("error_code", &self.error_code)
1631            .field("dbus_error_name", &self.dbus_error_name)
1632            .finish()
1633    }
1634}
1635
1636#[derive(Copy, Clone)]
1637#[repr(C)]
1638pub struct GDBusInterfaceIface {
1639    pub parent_iface: gobject::GTypeInterface,
1640    pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
1641    pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1642    pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>,
1643    pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1644}
1645
1646impl ::std::fmt::Debug for GDBusInterfaceIface {
1647    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1648        f.debug_struct(&format!("GDBusInterfaceIface @ {self:p}"))
1649            .field("parent_iface", &self.parent_iface)
1650            .field("get_info", &self.get_info)
1651            .field("get_object", &self.get_object)
1652            .field("set_object", &self.set_object)
1653            .field("dup_object", &self.dup_object)
1654            .finish()
1655    }
1656}
1657
1658#[derive(Copy, Clone)]
1659#[repr(C)]
1660pub struct GDBusInterfaceInfo {
1661    pub ref_count: c_int,
1662    pub name: *mut c_char,
1663    pub methods: *mut *mut GDBusMethodInfo,
1664    pub signals: *mut *mut GDBusSignalInfo,
1665    pub properties: *mut *mut GDBusPropertyInfo,
1666    pub annotations: *mut *mut GDBusAnnotationInfo,
1667}
1668
1669impl ::std::fmt::Debug for GDBusInterfaceInfo {
1670    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1671        f.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}"))
1672            .field("ref_count", &self.ref_count)
1673            .field("name", &self.name)
1674            .field("methods", &self.methods)
1675            .field("signals", &self.signals)
1676            .field("properties", &self.properties)
1677            .field("annotations", &self.annotations)
1678            .finish()
1679    }
1680}
1681
1682#[derive(Copy, Clone)]
1683#[repr(C)]
1684pub struct GDBusInterfaceSkeletonClass {
1685    pub parent_class: gobject::GObjectClass,
1686    pub get_info:
1687        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>,
1688    pub get_vtable:
1689        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>,
1690    pub get_properties:
1691        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>,
1692    pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>,
1693    pub vfunc_padding: [gpointer; 8],
1694    pub g_authorize_method: Option<
1695        unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean,
1696    >,
1697    pub signal_padding: [gpointer; 8],
1698}
1699
1700impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass {
1701    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1702        f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}"))
1703            .field("parent_class", &self.parent_class)
1704            .field("get_info", &self.get_info)
1705            .field("get_vtable", &self.get_vtable)
1706            .field("get_properties", &self.get_properties)
1707            .field("flush", &self.flush)
1708            .field("g_authorize_method", &self.g_authorize_method)
1709            .finish()
1710    }
1711}
1712
1713#[repr(C)]
1714#[allow(dead_code)]
1715pub struct _GDBusInterfaceSkeletonPrivate {
1716    _data: [u8; 0],
1717    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1718}
1719
1720pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
1721
1722#[derive(Copy, Clone)]
1723#[repr(C)]
1724pub struct GDBusInterfaceVTable {
1725    pub method_call: GDBusInterfaceMethodCallFunc,
1726    pub get_property: GDBusInterfaceGetPropertyFunc,
1727    pub set_property: GDBusInterfaceSetPropertyFunc,
1728    pub padding: [gpointer; 8],
1729}
1730
1731impl ::std::fmt::Debug for GDBusInterfaceVTable {
1732    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1733        f.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}"))
1734            .field("method_call", &self.method_call)
1735            .field("get_property", &self.get_property)
1736            .field("set_property", &self.set_property)
1737            .finish()
1738    }
1739}
1740
1741#[derive(Copy, Clone)]
1742#[repr(C)]
1743pub struct GDBusMethodInfo {
1744    pub ref_count: c_int,
1745    pub name: *mut c_char,
1746    pub in_args: *mut *mut GDBusArgInfo,
1747    pub out_args: *mut *mut GDBusArgInfo,
1748    pub annotations: *mut *mut GDBusAnnotationInfo,
1749}
1750
1751impl ::std::fmt::Debug for GDBusMethodInfo {
1752    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1753        f.debug_struct(&format!("GDBusMethodInfo @ {self:p}"))
1754            .field("ref_count", &self.ref_count)
1755            .field("name", &self.name)
1756            .field("in_args", &self.in_args)
1757            .field("out_args", &self.out_args)
1758            .field("annotations", &self.annotations)
1759            .finish()
1760    }
1761}
1762
1763#[derive(Copy, Clone)]
1764#[repr(C)]
1765pub struct GDBusNodeInfo {
1766    pub ref_count: c_int,
1767    pub path: *mut c_char,
1768    pub interfaces: *mut *mut GDBusInterfaceInfo,
1769    pub nodes: *mut *mut GDBusNodeInfo,
1770    pub annotations: *mut *mut GDBusAnnotationInfo,
1771}
1772
1773impl ::std::fmt::Debug for GDBusNodeInfo {
1774    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1775        f.debug_struct(&format!("GDBusNodeInfo @ {self:p}"))
1776            .field("ref_count", &self.ref_count)
1777            .field("path", &self.path)
1778            .field("interfaces", &self.interfaces)
1779            .field("nodes", &self.nodes)
1780            .field("annotations", &self.annotations)
1781            .finish()
1782    }
1783}
1784
1785#[derive(Copy, Clone)]
1786#[repr(C)]
1787pub struct GDBusObjectIface {
1788    pub parent_iface: gobject::GTypeInterface,
1789    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>,
1790    pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>,
1791    pub get_interface:
1792        Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>,
1793    pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1794    pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1795}
1796
1797impl ::std::fmt::Debug for GDBusObjectIface {
1798    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1799        f.debug_struct(&format!("GDBusObjectIface @ {self:p}"))
1800            .field("parent_iface", &self.parent_iface)
1801            .field("get_object_path", &self.get_object_path)
1802            .field("get_interfaces", &self.get_interfaces)
1803            .field("get_interface", &self.get_interface)
1804            .field("interface_added", &self.interface_added)
1805            .field("interface_removed", &self.interface_removed)
1806            .finish()
1807    }
1808}
1809
1810#[derive(Copy, Clone)]
1811#[repr(C)]
1812pub struct GDBusObjectManagerClientClass {
1813    pub parent_class: gobject::GObjectClass,
1814    pub interface_proxy_signal: Option<
1815        unsafe extern "C" fn(
1816            *mut GDBusObjectManagerClient,
1817            *mut GDBusObjectProxy,
1818            *mut GDBusProxy,
1819            *const c_char,
1820            *const c_char,
1821            *mut glib::GVariant,
1822        ),
1823    >,
1824    pub interface_proxy_properties_changed: Option<
1825        unsafe extern "C" fn(
1826            *mut GDBusObjectManagerClient,
1827            *mut GDBusObjectProxy,
1828            *mut GDBusProxy,
1829            *mut glib::GVariant,
1830            *const *const c_char,
1831        ),
1832    >,
1833    pub padding: [gpointer; 8],
1834}
1835
1836impl ::std::fmt::Debug for GDBusObjectManagerClientClass {
1837    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1838        f.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}"))
1839            .field("parent_class", &self.parent_class)
1840            .field("interface_proxy_signal", &self.interface_proxy_signal)
1841            .field(
1842                "interface_proxy_properties_changed",
1843                &self.interface_proxy_properties_changed,
1844            )
1845            .finish()
1846    }
1847}
1848
1849#[repr(C)]
1850#[allow(dead_code)]
1851pub struct _GDBusObjectManagerClientPrivate {
1852    _data: [u8; 0],
1853    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1854}
1855
1856pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
1857
1858#[derive(Copy, Clone)]
1859#[repr(C)]
1860pub struct GDBusObjectManagerIface {
1861    pub parent_iface: gobject::GTypeInterface,
1862    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>,
1863    pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>,
1864    pub get_object:
1865        Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>,
1866    pub get_interface: Option<
1867        unsafe extern "C" fn(
1868            *mut GDBusObjectManager,
1869            *const c_char,
1870            *const c_char,
1871        ) -> *mut GDBusInterface,
1872    >,
1873    pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1874    pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1875    pub interface_added: Option<
1876        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1877    >,
1878    pub interface_removed: Option<
1879        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1880    >,
1881}
1882
1883impl ::std::fmt::Debug for GDBusObjectManagerIface {
1884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1885        f.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}"))
1886            .field("parent_iface", &self.parent_iface)
1887            .field("get_object_path", &self.get_object_path)
1888            .field("get_objects", &self.get_objects)
1889            .field("get_object", &self.get_object)
1890            .field("get_interface", &self.get_interface)
1891            .field("object_added", &self.object_added)
1892            .field("object_removed", &self.object_removed)
1893            .field("interface_added", &self.interface_added)
1894            .field("interface_removed", &self.interface_removed)
1895            .finish()
1896    }
1897}
1898
1899#[derive(Copy, Clone)]
1900#[repr(C)]
1901pub struct GDBusObjectManagerServerClass {
1902    pub parent_class: gobject::GObjectClass,
1903    pub padding: [gpointer; 8],
1904}
1905
1906impl ::std::fmt::Debug for GDBusObjectManagerServerClass {
1907    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1908        f.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}"))
1909            .field("parent_class", &self.parent_class)
1910            .finish()
1911    }
1912}
1913
1914#[repr(C)]
1915#[allow(dead_code)]
1916pub struct _GDBusObjectManagerServerPrivate {
1917    _data: [u8; 0],
1918    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1919}
1920
1921pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
1922
1923#[derive(Copy, Clone)]
1924#[repr(C)]
1925pub struct GDBusObjectProxyClass {
1926    pub parent_class: gobject::GObjectClass,
1927    pub padding: [gpointer; 8],
1928}
1929
1930impl ::std::fmt::Debug for GDBusObjectProxyClass {
1931    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1932        f.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}"))
1933            .field("parent_class", &self.parent_class)
1934            .finish()
1935    }
1936}
1937
1938#[repr(C)]
1939#[allow(dead_code)]
1940pub struct _GDBusObjectProxyPrivate {
1941    _data: [u8; 0],
1942    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1943}
1944
1945pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
1946
1947#[derive(Copy, Clone)]
1948#[repr(C)]
1949pub struct GDBusObjectSkeletonClass {
1950    pub parent_class: gobject::GObjectClass,
1951    pub authorize_method: Option<
1952        unsafe extern "C" fn(
1953            *mut GDBusObjectSkeleton,
1954            *mut GDBusInterfaceSkeleton,
1955            *mut GDBusMethodInvocation,
1956        ) -> gboolean,
1957    >,
1958    pub padding: [gpointer; 8],
1959}
1960
1961impl ::std::fmt::Debug for GDBusObjectSkeletonClass {
1962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1963        f.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}"))
1964            .field("parent_class", &self.parent_class)
1965            .field("authorize_method", &self.authorize_method)
1966            .finish()
1967    }
1968}
1969
1970#[repr(C)]
1971#[allow(dead_code)]
1972pub struct _GDBusObjectSkeletonPrivate {
1973    _data: [u8; 0],
1974    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1975}
1976
1977pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
1978
1979#[derive(Copy, Clone)]
1980#[repr(C)]
1981pub struct GDBusPropertyInfo {
1982    pub ref_count: c_int,
1983    pub name: *mut c_char,
1984    pub signature: *mut c_char,
1985    pub flags: GDBusPropertyInfoFlags,
1986    pub annotations: *mut *mut GDBusAnnotationInfo,
1987}
1988
1989impl ::std::fmt::Debug for GDBusPropertyInfo {
1990    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1991        f.debug_struct(&format!("GDBusPropertyInfo @ {self:p}"))
1992            .field("ref_count", &self.ref_count)
1993            .field("name", &self.name)
1994            .field("signature", &self.signature)
1995            .field("flags", &self.flags)
1996            .field("annotations", &self.annotations)
1997            .finish()
1998    }
1999}
2000
2001#[derive(Copy, Clone)]
2002#[repr(C)]
2003pub struct GDBusProxyClass {
2004    pub parent_class: gobject::GObjectClass,
2005    pub g_properties_changed:
2006        Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>,
2007    pub g_signal: Option<
2008        unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant),
2009    >,
2010    pub padding: [gpointer; 32],
2011}
2012
2013impl ::std::fmt::Debug for GDBusProxyClass {
2014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2015        f.debug_struct(&format!("GDBusProxyClass @ {self:p}"))
2016            .field("g_properties_changed", &self.g_properties_changed)
2017            .field("g_signal", &self.g_signal)
2018            .finish()
2019    }
2020}
2021
2022#[repr(C)]
2023#[allow(dead_code)]
2024pub struct _GDBusProxyPrivate {
2025    _data: [u8; 0],
2026    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2027}
2028
2029pub type GDBusProxyPrivate = _GDBusProxyPrivate;
2030
2031#[derive(Copy, Clone)]
2032#[repr(C)]
2033pub struct GDBusSignalInfo {
2034    pub ref_count: c_int,
2035    pub name: *mut c_char,
2036    pub args: *mut *mut GDBusArgInfo,
2037    pub annotations: *mut *mut GDBusAnnotationInfo,
2038}
2039
2040impl ::std::fmt::Debug for GDBusSignalInfo {
2041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2042        f.debug_struct(&format!("GDBusSignalInfo @ {self:p}"))
2043            .field("ref_count", &self.ref_count)
2044            .field("name", &self.name)
2045            .field("args", &self.args)
2046            .field("annotations", &self.annotations)
2047            .finish()
2048    }
2049}
2050
2051#[derive(Copy, Clone)]
2052#[repr(C)]
2053pub struct GDBusSubtreeVTable {
2054    pub enumerate: GDBusSubtreeEnumerateFunc,
2055    pub introspect: GDBusSubtreeIntrospectFunc,
2056    pub dispatch: GDBusSubtreeDispatchFunc,
2057    pub padding: [gpointer; 8],
2058}
2059
2060impl ::std::fmt::Debug for GDBusSubtreeVTable {
2061    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2062        f.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}"))
2063            .field("enumerate", &self.enumerate)
2064            .field("introspect", &self.introspect)
2065            .field("dispatch", &self.dispatch)
2066            .finish()
2067    }
2068}
2069
2070#[derive(Copy, Clone)]
2071#[repr(C)]
2072pub struct GDataInputStreamClass {
2073    pub parent_class: GBufferedInputStreamClass,
2074    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2075    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2076    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2077    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2078    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2079}
2080
2081impl ::std::fmt::Debug for GDataInputStreamClass {
2082    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2083        f.debug_struct(&format!("GDataInputStreamClass @ {self:p}"))
2084            .field("parent_class", &self.parent_class)
2085            .field("_g_reserved1", &self._g_reserved1)
2086            .field("_g_reserved2", &self._g_reserved2)
2087            .field("_g_reserved3", &self._g_reserved3)
2088            .field("_g_reserved4", &self._g_reserved4)
2089            .field("_g_reserved5", &self._g_reserved5)
2090            .finish()
2091    }
2092}
2093
2094#[repr(C)]
2095#[allow(dead_code)]
2096pub struct _GDataInputStreamPrivate {
2097    _data: [u8; 0],
2098    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2099}
2100
2101pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
2102
2103#[derive(Copy, Clone)]
2104#[repr(C)]
2105pub struct GDataOutputStreamClass {
2106    pub parent_class: GFilterOutputStreamClass,
2107    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2108    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2109    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2110    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2111    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2112}
2113
2114impl ::std::fmt::Debug for GDataOutputStreamClass {
2115    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2116        f.debug_struct(&format!("GDataOutputStreamClass @ {self:p}"))
2117            .field("parent_class", &self.parent_class)
2118            .field("_g_reserved1", &self._g_reserved1)
2119            .field("_g_reserved2", &self._g_reserved2)
2120            .field("_g_reserved3", &self._g_reserved3)
2121            .field("_g_reserved4", &self._g_reserved4)
2122            .field("_g_reserved5", &self._g_reserved5)
2123            .finish()
2124    }
2125}
2126
2127#[repr(C)]
2128#[allow(dead_code)]
2129pub struct _GDataOutputStreamPrivate {
2130    _data: [u8; 0],
2131    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2132}
2133
2134pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
2135
2136#[derive(Copy, Clone)]
2137#[repr(C)]
2138pub struct GDatagramBasedInterface {
2139    pub g_iface: gobject::GTypeInterface,
2140    pub receive_messages: Option<
2141        unsafe extern "C" fn(
2142            *mut GDatagramBased,
2143            *mut GInputMessage,
2144            c_uint,
2145            c_int,
2146            i64,
2147            *mut GCancellable,
2148            *mut *mut glib::GError,
2149        ) -> c_int,
2150    >,
2151    pub send_messages: Option<
2152        unsafe extern "C" fn(
2153            *mut GDatagramBased,
2154            *mut GOutputMessage,
2155            c_uint,
2156            c_int,
2157            i64,
2158            *mut GCancellable,
2159            *mut *mut glib::GError,
2160        ) -> c_int,
2161    >,
2162    pub create_source: Option<
2163        unsafe extern "C" fn(
2164            *mut GDatagramBased,
2165            glib::GIOCondition,
2166            *mut GCancellable,
2167        ) -> *mut glib::GSource,
2168    >,
2169    pub condition_check:
2170        Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>,
2171    pub condition_wait: Option<
2172        unsafe extern "C" fn(
2173            *mut GDatagramBased,
2174            glib::GIOCondition,
2175            i64,
2176            *mut GCancellable,
2177            *mut *mut glib::GError,
2178        ) -> gboolean,
2179    >,
2180}
2181
2182impl ::std::fmt::Debug for GDatagramBasedInterface {
2183    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2184        f.debug_struct(&format!("GDatagramBasedInterface @ {self:p}"))
2185            .field("g_iface", &self.g_iface)
2186            .field("receive_messages", &self.receive_messages)
2187            .field("send_messages", &self.send_messages)
2188            .field("create_source", &self.create_source)
2189            .field("condition_check", &self.condition_check)
2190            .field("condition_wait", &self.condition_wait)
2191            .finish()
2192    }
2193}
2194
2195#[derive(Copy, Clone)]
2196#[repr(C)]
2197pub struct GDebugControllerDBusClass {
2198    pub parent_class: gobject::GObjectClass,
2199    pub authorize: Option<
2200        unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean,
2201    >,
2202    pub padding: [gpointer; 12],
2203}
2204
2205impl ::std::fmt::Debug for GDebugControllerDBusClass {
2206    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2207        f.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}"))
2208            .field("parent_class", &self.parent_class)
2209            .field("authorize", &self.authorize)
2210            .field("padding", &self.padding)
2211            .finish()
2212    }
2213}
2214
2215#[derive(Copy, Clone)]
2216#[repr(C)]
2217pub struct GDebugControllerInterface {
2218    pub g_iface: gobject::GTypeInterface,
2219}
2220
2221impl ::std::fmt::Debug for GDebugControllerInterface {
2222    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2223        f.debug_struct(&format!("GDebugControllerInterface @ {self:p}"))
2224            .finish()
2225    }
2226}
2227
2228#[derive(Copy, Clone)]
2229#[repr(C)]
2230pub struct GDesktopAppInfoClass {
2231    pub parent_class: gobject::GObjectClass,
2232}
2233
2234impl ::std::fmt::Debug for GDesktopAppInfoClass {
2235    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2236        f.debug_struct(&format!("GDesktopAppInfoClass @ {self:p}"))
2237            .field("parent_class", &self.parent_class)
2238            .finish()
2239    }
2240}
2241
2242#[derive(Copy, Clone)]
2243#[repr(C)]
2244pub struct GDesktopAppInfoLookupIface {
2245    pub g_iface: gobject::GTypeInterface,
2246    pub get_default_for_uri_scheme:
2247        Option<unsafe extern "C" fn(*mut GDesktopAppInfoLookup, *const c_char) -> *mut GAppInfo>,
2248}
2249
2250impl ::std::fmt::Debug for GDesktopAppInfoLookupIface {
2251    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2252        f.debug_struct(&format!("GDesktopAppInfoLookupIface @ {self:p}"))
2253            .field("g_iface", &self.g_iface)
2254            .field(
2255                "get_default_for_uri_scheme",
2256                &self.get_default_for_uri_scheme,
2257            )
2258            .finish()
2259    }
2260}
2261
2262#[derive(Copy, Clone)]
2263#[repr(C)]
2264pub struct GDriveIface {
2265    pub g_iface: gobject::GTypeInterface,
2266    pub changed: Option<unsafe extern "C" fn(*mut GDrive)>,
2267    pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>,
2268    pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2269    pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2270    pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2271    pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2272    pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>,
2273    pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2274    pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2275    pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2276    pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2277    pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2278    pub eject: Option<
2279        unsafe extern "C" fn(
2280            *mut GDrive,
2281            GMountUnmountFlags,
2282            *mut GCancellable,
2283            GAsyncReadyCallback,
2284            gpointer,
2285        ),
2286    >,
2287    pub eject_finish: Option<
2288        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2289    >,
2290    pub poll_for_media:
2291        Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
2292    pub poll_for_media_finish: Option<
2293        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2294    >,
2295    pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>,
2296    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>,
2297    pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>,
2298    pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2299    pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2300    pub start: Option<
2301        unsafe extern "C" fn(
2302            *mut GDrive,
2303            GDriveStartFlags,
2304            *mut GMountOperation,
2305            *mut GCancellable,
2306            GAsyncReadyCallback,
2307            gpointer,
2308        ),
2309    >,
2310    pub start_finish: Option<
2311        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2312    >,
2313    pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2314    pub stop: Option<
2315        unsafe extern "C" fn(
2316            *mut GDrive,
2317            GMountUnmountFlags,
2318            *mut GMountOperation,
2319            *mut GCancellable,
2320            GAsyncReadyCallback,
2321            gpointer,
2322        ),
2323    >,
2324    pub stop_finish: Option<
2325        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2326    >,
2327    pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2328    pub eject_with_operation: Option<
2329        unsafe extern "C" fn(
2330            *mut GDrive,
2331            GMountUnmountFlags,
2332            *mut GMountOperation,
2333            *mut GCancellable,
2334            GAsyncReadyCallback,
2335            gpointer,
2336        ),
2337    >,
2338    pub eject_with_operation_finish: Option<
2339        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2340    >,
2341    pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2342    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2343    pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2344}
2345
2346impl ::std::fmt::Debug for GDriveIface {
2347    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2348        f.debug_struct(&format!("GDriveIface @ {self:p}"))
2349            .field("g_iface", &self.g_iface)
2350            .field("changed", &self.changed)
2351            .field("disconnected", &self.disconnected)
2352            .field("eject_button", &self.eject_button)
2353            .field("get_name", &self.get_name)
2354            .field("get_icon", &self.get_icon)
2355            .field("has_volumes", &self.has_volumes)
2356            .field("get_volumes", &self.get_volumes)
2357            .field("is_media_removable", &self.is_media_removable)
2358            .field("has_media", &self.has_media)
2359            .field("is_media_check_automatic", &self.is_media_check_automatic)
2360            .field("can_eject", &self.can_eject)
2361            .field("can_poll_for_media", &self.can_poll_for_media)
2362            .field("eject", &self.eject)
2363            .field("eject_finish", &self.eject_finish)
2364            .field("poll_for_media", &self.poll_for_media)
2365            .field("poll_for_media_finish", &self.poll_for_media_finish)
2366            .field("get_identifier", &self.get_identifier)
2367            .field("enumerate_identifiers", &self.enumerate_identifiers)
2368            .field("get_start_stop_type", &self.get_start_stop_type)
2369            .field("can_start", &self.can_start)
2370            .field("can_start_degraded", &self.can_start_degraded)
2371            .field("start", &self.start)
2372            .field("start_finish", &self.start_finish)
2373            .field("can_stop", &self.can_stop)
2374            .field("stop", &self.stop)
2375            .field("stop_finish", &self.stop_finish)
2376            .field("stop_button", &self.stop_button)
2377            .field("eject_with_operation", &self.eject_with_operation)
2378            .field(
2379                "eject_with_operation_finish",
2380                &self.eject_with_operation_finish,
2381            )
2382            .field("get_sort_key", &self.get_sort_key)
2383            .field("get_symbolic_icon", &self.get_symbolic_icon)
2384            .field("is_removable", &self.is_removable)
2385            .finish()
2386    }
2387}
2388
2389#[derive(Copy, Clone)]
2390#[repr(C)]
2391pub struct GDtlsClientConnectionInterface {
2392    pub g_iface: gobject::GTypeInterface,
2393}
2394
2395impl ::std::fmt::Debug for GDtlsClientConnectionInterface {
2396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2397        f.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}"))
2398            .field("g_iface", &self.g_iface)
2399            .finish()
2400    }
2401}
2402
2403#[derive(Copy, Clone)]
2404#[repr(C)]
2405pub struct GDtlsConnectionInterface {
2406    pub g_iface: gobject::GTypeInterface,
2407    pub accept_certificate: Option<
2408        unsafe extern "C" fn(
2409            *mut GDtlsConnection,
2410            *mut GTlsCertificate,
2411            GTlsCertificateFlags,
2412        ) -> gboolean,
2413    >,
2414    pub handshake: Option<
2415        unsafe extern "C" fn(
2416            *mut GDtlsConnection,
2417            *mut GCancellable,
2418            *mut *mut glib::GError,
2419        ) -> gboolean,
2420    >,
2421    pub handshake_async: Option<
2422        unsafe extern "C" fn(
2423            *mut GDtlsConnection,
2424            c_int,
2425            *mut GCancellable,
2426            GAsyncReadyCallback,
2427            gpointer,
2428        ),
2429    >,
2430    pub handshake_finish: Option<
2431        unsafe extern "C" fn(
2432            *mut GDtlsConnection,
2433            *mut GAsyncResult,
2434            *mut *mut glib::GError,
2435        ) -> gboolean,
2436    >,
2437    pub shutdown: Option<
2438        unsafe extern "C" fn(
2439            *mut GDtlsConnection,
2440            gboolean,
2441            gboolean,
2442            *mut GCancellable,
2443            *mut *mut glib::GError,
2444        ) -> gboolean,
2445    >,
2446    pub shutdown_async: Option<
2447        unsafe extern "C" fn(
2448            *mut GDtlsConnection,
2449            gboolean,
2450            gboolean,
2451            c_int,
2452            *mut GCancellable,
2453            GAsyncReadyCallback,
2454            gpointer,
2455        ),
2456    >,
2457    pub shutdown_finish: Option<
2458        unsafe extern "C" fn(
2459            *mut GDtlsConnection,
2460            *mut GAsyncResult,
2461            *mut *mut glib::GError,
2462        ) -> gboolean,
2463    >,
2464    pub set_advertised_protocols:
2465        Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>,
2466    pub get_negotiated_protocol:
2467        Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>,
2468    pub get_binding_data: Option<
2469        unsafe extern "C" fn(
2470            *mut GDtlsConnection,
2471            GTlsChannelBindingType,
2472            *mut glib::GByteArray,
2473            *mut *mut glib::GError,
2474        ) -> gboolean,
2475    >,
2476}
2477
2478impl ::std::fmt::Debug for GDtlsConnectionInterface {
2479    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2480        f.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}"))
2481            .field("g_iface", &self.g_iface)
2482            .field("accept_certificate", &self.accept_certificate)
2483            .field("handshake", &self.handshake)
2484            .field("handshake_async", &self.handshake_async)
2485            .field("handshake_finish", &self.handshake_finish)
2486            .field("shutdown", &self.shutdown)
2487            .field("shutdown_async", &self.shutdown_async)
2488            .field("shutdown_finish", &self.shutdown_finish)
2489            .field("set_advertised_protocols", &self.set_advertised_protocols)
2490            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
2491            .field("get_binding_data", &self.get_binding_data)
2492            .finish()
2493    }
2494}
2495
2496#[derive(Copy, Clone)]
2497#[repr(C)]
2498pub struct GDtlsServerConnectionInterface {
2499    pub g_iface: gobject::GTypeInterface,
2500}
2501
2502impl ::std::fmt::Debug for GDtlsServerConnectionInterface {
2503    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2504        f.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}"))
2505            .field("g_iface", &self.g_iface)
2506            .finish()
2507    }
2508}
2509
2510#[repr(C)]
2511#[allow(dead_code)]
2512pub struct _GEmblemClass {
2513    _data: [u8; 0],
2514    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2515}
2516
2517pub type GEmblemClass = _GEmblemClass;
2518
2519#[derive(Copy, Clone)]
2520#[repr(C)]
2521pub struct GEmblemedIconClass {
2522    pub parent_class: gobject::GObjectClass,
2523}
2524
2525impl ::std::fmt::Debug for GEmblemedIconClass {
2526    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2527        f.debug_struct(&format!("GEmblemedIconClass @ {self:p}"))
2528            .field("parent_class", &self.parent_class)
2529            .finish()
2530    }
2531}
2532
2533#[repr(C)]
2534#[allow(dead_code)]
2535pub struct _GEmblemedIconPrivate {
2536    _data: [u8; 0],
2537    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2538}
2539
2540pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
2541
2542#[derive(Copy, Clone)]
2543#[repr(C)]
2544pub struct GFileAttributeInfo {
2545    pub name: *mut c_char,
2546    pub type_: GFileAttributeType,
2547    pub flags: GFileAttributeInfoFlags,
2548}
2549
2550impl ::std::fmt::Debug for GFileAttributeInfo {
2551    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2552        f.debug_struct(&format!("GFileAttributeInfo @ {self:p}"))
2553            .field("name", &self.name)
2554            .field("type_", &self.type_)
2555            .field("flags", &self.flags)
2556            .finish()
2557    }
2558}
2559
2560#[derive(Copy, Clone)]
2561#[repr(C)]
2562pub struct GFileAttributeInfoList {
2563    pub infos: *mut GFileAttributeInfo,
2564    pub n_infos: c_int,
2565}
2566
2567impl ::std::fmt::Debug for GFileAttributeInfoList {
2568    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2569        f.debug_struct(&format!("GFileAttributeInfoList @ {self:p}"))
2570            .field("infos", &self.infos)
2571            .field("n_infos", &self.n_infos)
2572            .finish()
2573    }
2574}
2575
2576#[repr(C)]
2577#[allow(dead_code)]
2578pub struct GFileAttributeMatcher {
2579    _data: [u8; 0],
2580    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2581}
2582
2583impl ::std::fmt::Debug for GFileAttributeMatcher {
2584    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2585        f.debug_struct(&format!("GFileAttributeMatcher @ {self:p}"))
2586            .finish()
2587    }
2588}
2589
2590#[derive(Copy, Clone)]
2591#[repr(C)]
2592pub struct GFileDescriptorBasedIface {
2593    pub g_iface: gobject::GTypeInterface,
2594    pub get_fd: Option<unsafe extern "C" fn(*mut GFileDescriptorBased) -> c_int>,
2595}
2596
2597impl ::std::fmt::Debug for GFileDescriptorBasedIface {
2598    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2599        f.debug_struct(&format!("GFileDescriptorBasedIface @ {self:p}"))
2600            .field("g_iface", &self.g_iface)
2601            .field("get_fd", &self.get_fd)
2602            .finish()
2603    }
2604}
2605
2606#[derive(Copy, Clone)]
2607#[repr(C)]
2608pub struct GFileEnumeratorClass {
2609    pub parent_class: gobject::GObjectClass,
2610    pub next_file: Option<
2611        unsafe extern "C" fn(
2612            *mut GFileEnumerator,
2613            *mut GCancellable,
2614            *mut *mut glib::GError,
2615        ) -> *mut GFileInfo,
2616    >,
2617    pub close_fn: Option<
2618        unsafe extern "C" fn(
2619            *mut GFileEnumerator,
2620            *mut GCancellable,
2621            *mut *mut glib::GError,
2622        ) -> gboolean,
2623    >,
2624    pub next_files_async: Option<
2625        unsafe extern "C" fn(
2626            *mut GFileEnumerator,
2627            c_int,
2628            c_int,
2629            *mut GCancellable,
2630            GAsyncReadyCallback,
2631            gpointer,
2632        ),
2633    >,
2634    pub next_files_finish: Option<
2635        unsafe extern "C" fn(
2636            *mut GFileEnumerator,
2637            *mut GAsyncResult,
2638            *mut *mut glib::GError,
2639        ) -> *mut glib::GList,
2640    >,
2641    pub close_async: Option<
2642        unsafe extern "C" fn(
2643            *mut GFileEnumerator,
2644            c_int,
2645            *mut GCancellable,
2646            GAsyncReadyCallback,
2647            gpointer,
2648        ),
2649    >,
2650    pub close_finish: Option<
2651        unsafe extern "C" fn(
2652            *mut GFileEnumerator,
2653            *mut GAsyncResult,
2654            *mut *mut glib::GError,
2655        ) -> gboolean,
2656    >,
2657    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2658    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2659    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2660    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2661    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2662    pub _g_reserved6: Option<unsafe extern "C" fn()>,
2663    pub _g_reserved7: Option<unsafe extern "C" fn()>,
2664}
2665
2666impl ::std::fmt::Debug for GFileEnumeratorClass {
2667    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2668        f.debug_struct(&format!("GFileEnumeratorClass @ {self:p}"))
2669            .field("parent_class", &self.parent_class)
2670            .field("next_file", &self.next_file)
2671            .field("close_fn", &self.close_fn)
2672            .field("next_files_async", &self.next_files_async)
2673            .field("next_files_finish", &self.next_files_finish)
2674            .field("close_async", &self.close_async)
2675            .field("close_finish", &self.close_finish)
2676            .field("_g_reserved1", &self._g_reserved1)
2677            .field("_g_reserved2", &self._g_reserved2)
2678            .field("_g_reserved3", &self._g_reserved3)
2679            .field("_g_reserved4", &self._g_reserved4)
2680            .field("_g_reserved5", &self._g_reserved5)
2681            .field("_g_reserved6", &self._g_reserved6)
2682            .field("_g_reserved7", &self._g_reserved7)
2683            .finish()
2684    }
2685}
2686
2687#[repr(C)]
2688#[allow(dead_code)]
2689pub struct _GFileEnumeratorPrivate {
2690    _data: [u8; 0],
2691    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2692}
2693
2694pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
2695
2696#[derive(Copy, Clone)]
2697#[repr(C)]
2698pub struct GFileIOStreamClass {
2699    pub parent_class: GIOStreamClass,
2700    pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>,
2701    pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2702    pub seek: Option<
2703        unsafe extern "C" fn(
2704            *mut GFileIOStream,
2705            i64,
2706            glib::GSeekType,
2707            *mut GCancellable,
2708            *mut *mut glib::GError,
2709        ) -> gboolean,
2710    >,
2711    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2712    pub truncate_fn: Option<
2713        unsafe extern "C" fn(
2714            *mut GFileIOStream,
2715            i64,
2716            *mut GCancellable,
2717            *mut *mut glib::GError,
2718        ) -> gboolean,
2719    >,
2720    pub query_info: Option<
2721        unsafe extern "C" fn(
2722            *mut GFileIOStream,
2723            *const c_char,
2724            *mut GCancellable,
2725            *mut *mut glib::GError,
2726        ) -> *mut GFileInfo,
2727    >,
2728    pub query_info_async: Option<
2729        unsafe extern "C" fn(
2730            *mut GFileIOStream,
2731            *const c_char,
2732            c_int,
2733            *mut GCancellable,
2734            GAsyncReadyCallback,
2735            gpointer,
2736        ),
2737    >,
2738    pub query_info_finish: Option<
2739        unsafe extern "C" fn(
2740            *mut GFileIOStream,
2741            *mut GAsyncResult,
2742            *mut *mut glib::GError,
2743        ) -> *mut GFileInfo,
2744    >,
2745    pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>,
2746    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2747    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2748    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2749    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2750    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2751}
2752
2753impl ::std::fmt::Debug for GFileIOStreamClass {
2754    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2755        f.debug_struct(&format!("GFileIOStreamClass @ {self:p}"))
2756            .field("parent_class", &self.parent_class)
2757            .field("tell", &self.tell)
2758            .field("can_seek", &self.can_seek)
2759            .field("seek", &self.seek)
2760            .field("can_truncate", &self.can_truncate)
2761            .field("truncate_fn", &self.truncate_fn)
2762            .field("query_info", &self.query_info)
2763            .field("query_info_async", &self.query_info_async)
2764            .field("query_info_finish", &self.query_info_finish)
2765            .field("get_etag", &self.get_etag)
2766            .field("_g_reserved1", &self._g_reserved1)
2767            .field("_g_reserved2", &self._g_reserved2)
2768            .field("_g_reserved3", &self._g_reserved3)
2769            .field("_g_reserved4", &self._g_reserved4)
2770            .field("_g_reserved5", &self._g_reserved5)
2771            .finish()
2772    }
2773}
2774
2775#[repr(C)]
2776#[allow(dead_code)]
2777pub struct _GFileIOStreamPrivate {
2778    _data: [u8; 0],
2779    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2780}
2781
2782pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
2783
2784#[repr(C)]
2785#[allow(dead_code)]
2786pub struct _GFileIconClass {
2787    _data: [u8; 0],
2788    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2789}
2790
2791pub type GFileIconClass = _GFileIconClass;
2792
2793#[derive(Copy, Clone)]
2794#[repr(C)]
2795pub struct GFileIface {
2796    pub g_iface: gobject::GTypeInterface,
2797    pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2798    pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>,
2799    pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2800    pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>,
2801    pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>,
2802    pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2803    pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2804    pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2805    pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2806    pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2807    pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2808    pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2809    pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>,
2810    pub resolve_relative_path:
2811        Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>,
2812    pub get_child_for_display_name: Option<
2813        unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile,
2814    >,
2815    pub enumerate_children: Option<
2816        unsafe extern "C" fn(
2817            *mut GFile,
2818            *const c_char,
2819            GFileQueryInfoFlags,
2820            *mut GCancellable,
2821            *mut *mut glib::GError,
2822        ) -> *mut GFileEnumerator,
2823    >,
2824    pub enumerate_children_async: Option<
2825        unsafe extern "C" fn(
2826            *mut GFile,
2827            *const c_char,
2828            GFileQueryInfoFlags,
2829            c_int,
2830            *mut GCancellable,
2831            GAsyncReadyCallback,
2832            gpointer,
2833        ),
2834    >,
2835    pub enumerate_children_finish: Option<
2836        unsafe extern "C" fn(
2837            *mut GFile,
2838            *mut GAsyncResult,
2839            *mut *mut glib::GError,
2840        ) -> *mut GFileEnumerator,
2841    >,
2842    pub query_info: Option<
2843        unsafe extern "C" fn(
2844            *mut GFile,
2845            *const c_char,
2846            GFileQueryInfoFlags,
2847            *mut GCancellable,
2848            *mut *mut glib::GError,
2849        ) -> *mut GFileInfo,
2850    >,
2851    pub query_info_async: Option<
2852        unsafe extern "C" fn(
2853            *mut GFile,
2854            *const c_char,
2855            GFileQueryInfoFlags,
2856            c_int,
2857            *mut GCancellable,
2858            GAsyncReadyCallback,
2859            gpointer,
2860        ),
2861    >,
2862    pub query_info_finish: Option<
2863        unsafe extern "C" fn(
2864            *mut GFile,
2865            *mut GAsyncResult,
2866            *mut *mut glib::GError,
2867        ) -> *mut GFileInfo,
2868    >,
2869    pub query_filesystem_info: Option<
2870        unsafe extern "C" fn(
2871            *mut GFile,
2872            *const c_char,
2873            *mut GCancellable,
2874            *mut *mut glib::GError,
2875        ) -> *mut GFileInfo,
2876    >,
2877    pub query_filesystem_info_async: Option<
2878        unsafe extern "C" fn(
2879            *mut GFile,
2880            *const c_char,
2881            c_int,
2882            *mut GCancellable,
2883            GAsyncReadyCallback,
2884            gpointer,
2885        ),
2886    >,
2887    pub query_filesystem_info_finish: Option<
2888        unsafe extern "C" fn(
2889            *mut GFile,
2890            *mut GAsyncResult,
2891            *mut *mut glib::GError,
2892        ) -> *mut GFileInfo,
2893    >,
2894    pub find_enclosing_mount: Option<
2895        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount,
2896    >,
2897    pub find_enclosing_mount_async: Option<
2898        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2899    >,
2900    pub find_enclosing_mount_finish: Option<
2901        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount,
2902    >,
2903    pub set_display_name: Option<
2904        unsafe extern "C" fn(
2905            *mut GFile,
2906            *const c_char,
2907            *mut GCancellable,
2908            *mut *mut glib::GError,
2909        ) -> *mut GFile,
2910    >,
2911    pub set_display_name_async: Option<
2912        unsafe extern "C" fn(
2913            *mut GFile,
2914            *const c_char,
2915            c_int,
2916            *mut GCancellable,
2917            GAsyncReadyCallback,
2918            gpointer,
2919        ),
2920    >,
2921    pub set_display_name_finish: Option<
2922        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
2923    >,
2924    pub query_settable_attributes: Option<
2925        unsafe extern "C" fn(
2926            *mut GFile,
2927            *mut GCancellable,
2928            *mut *mut glib::GError,
2929        ) -> *mut GFileAttributeInfoList,
2930    >,
2931    pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
2932    pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
2933    pub query_writable_namespaces: Option<
2934        unsafe extern "C" fn(
2935            *mut GFile,
2936            *mut GCancellable,
2937            *mut *mut glib::GError,
2938        ) -> *mut GFileAttributeInfoList,
2939    >,
2940    pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
2941    pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
2942    pub set_attribute: Option<
2943        unsafe extern "C" fn(
2944            *mut GFile,
2945            *const c_char,
2946            GFileAttributeType,
2947            gpointer,
2948            GFileQueryInfoFlags,
2949            *mut GCancellable,
2950            *mut *mut glib::GError,
2951        ) -> gboolean,
2952    >,
2953    pub set_attributes_from_info: Option<
2954        unsafe extern "C" fn(
2955            *mut GFile,
2956            *mut GFileInfo,
2957            GFileQueryInfoFlags,
2958            *mut GCancellable,
2959            *mut *mut glib::GError,
2960        ) -> gboolean,
2961    >,
2962    pub set_attributes_async: Option<
2963        unsafe extern "C" fn(
2964            *mut GFile,
2965            *mut GFileInfo,
2966            GFileQueryInfoFlags,
2967            c_int,
2968            *mut GCancellable,
2969            GAsyncReadyCallback,
2970            gpointer,
2971        ),
2972    >,
2973    pub set_attributes_finish: Option<
2974        unsafe extern "C" fn(
2975            *mut GFile,
2976            *mut GAsyncResult,
2977            *mut *mut GFileInfo,
2978            *mut *mut glib::GError,
2979        ) -> gboolean,
2980    >,
2981    pub read_fn: Option<
2982        unsafe extern "C" fn(
2983            *mut GFile,
2984            *mut GCancellable,
2985            *mut *mut glib::GError,
2986        ) -> *mut GFileInputStream,
2987    >,
2988    pub read_async: Option<
2989        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2990    >,
2991    pub read_finish: Option<
2992        unsafe extern "C" fn(
2993            *mut GFile,
2994            *mut GAsyncResult,
2995            *mut *mut glib::GError,
2996        ) -> *mut GFileInputStream,
2997    >,
2998    pub append_to: Option<
2999        unsafe extern "C" fn(
3000            *mut GFile,
3001            GFileCreateFlags,
3002            *mut GCancellable,
3003            *mut *mut glib::GError,
3004        ) -> *mut GFileOutputStream,
3005    >,
3006    pub append_to_async: Option<
3007        unsafe extern "C" fn(
3008            *mut GFile,
3009            GFileCreateFlags,
3010            c_int,
3011            *mut GCancellable,
3012            GAsyncReadyCallback,
3013            gpointer,
3014        ),
3015    >,
3016    pub append_to_finish: Option<
3017        unsafe extern "C" fn(
3018            *mut GFile,
3019            *mut GAsyncResult,
3020            *mut *mut glib::GError,
3021        ) -> *mut GFileOutputStream,
3022    >,
3023    pub create: Option<
3024        unsafe extern "C" fn(
3025            *mut GFile,
3026            GFileCreateFlags,
3027            *mut GCancellable,
3028            *mut *mut glib::GError,
3029        ) -> *mut GFileOutputStream,
3030    >,
3031    pub create_async: Option<
3032        unsafe extern "C" fn(
3033            *mut GFile,
3034            GFileCreateFlags,
3035            c_int,
3036            *mut GCancellable,
3037            GAsyncReadyCallback,
3038            gpointer,
3039        ),
3040    >,
3041    pub create_finish: Option<
3042        unsafe extern "C" fn(
3043            *mut GFile,
3044            *mut GAsyncResult,
3045            *mut *mut glib::GError,
3046        ) -> *mut GFileOutputStream,
3047    >,
3048    pub replace: Option<
3049        unsafe extern "C" fn(
3050            *mut GFile,
3051            *const c_char,
3052            gboolean,
3053            GFileCreateFlags,
3054            *mut GCancellable,
3055            *mut *mut glib::GError,
3056        ) -> *mut GFileOutputStream,
3057    >,
3058    pub replace_async: Option<
3059        unsafe extern "C" fn(
3060            *mut GFile,
3061            *const c_char,
3062            gboolean,
3063            GFileCreateFlags,
3064            c_int,
3065            *mut GCancellable,
3066            GAsyncReadyCallback,
3067            gpointer,
3068        ),
3069    >,
3070    pub replace_finish: Option<
3071        unsafe extern "C" fn(
3072            *mut GFile,
3073            *mut GAsyncResult,
3074            *mut *mut glib::GError,
3075        ) -> *mut GFileOutputStream,
3076    >,
3077    pub delete_file: Option<
3078        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3079    >,
3080    pub delete_file_async: Option<
3081        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3082    >,
3083    pub delete_file_finish: Option<
3084        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3085    >,
3086    pub trash: Option<
3087        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3088    >,
3089    pub trash_async: Option<
3090        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3091    >,
3092    pub trash_finish: Option<
3093        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3094    >,
3095    pub make_directory: Option<
3096        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3097    >,
3098    pub make_directory_async: Option<
3099        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3100    >,
3101    pub make_directory_finish: Option<
3102        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3103    >,
3104    pub make_symbolic_link: Option<
3105        unsafe extern "C" fn(
3106            *mut GFile,
3107            *const c_char,
3108            *mut GCancellable,
3109            *mut *mut glib::GError,
3110        ) -> gboolean,
3111    >,
3112    pub make_symbolic_link_async: Option<
3113        unsafe extern "C" fn(
3114            *mut GFile,
3115            *const c_char,
3116            c_int,
3117            *mut GCancellable,
3118            GAsyncReadyCallback,
3119            gpointer,
3120        ),
3121    >,
3122    pub make_symbolic_link_finish: Option<
3123        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3124    >,
3125    pub copy: Option<
3126        unsafe extern "C" fn(
3127            *mut GFile,
3128            *mut GFile,
3129            GFileCopyFlags,
3130            *mut GCancellable,
3131            GFileProgressCallback,
3132            gpointer,
3133            *mut *mut glib::GError,
3134        ) -> gboolean,
3135    >,
3136    pub copy_async: Option<
3137        unsafe extern "C" fn(
3138            *mut GFile,
3139            *mut GFile,
3140            GFileCopyFlags,
3141            c_int,
3142            *mut GCancellable,
3143            GFileProgressCallback,
3144            gpointer,
3145            GAsyncReadyCallback,
3146            gpointer,
3147        ),
3148    >,
3149    pub copy_finish: Option<
3150        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3151    >,
3152    pub move_: Option<
3153        unsafe extern "C" fn(
3154            *mut GFile,
3155            *mut GFile,
3156            GFileCopyFlags,
3157            *mut GCancellable,
3158            GFileProgressCallback,
3159            gpointer,
3160            *mut *mut glib::GError,
3161        ) -> gboolean,
3162    >,
3163    pub move_async: Option<
3164        unsafe extern "C" fn(
3165            *mut GFile,
3166            *mut GFile,
3167            GFileCopyFlags,
3168            c_int,
3169            *mut GCancellable,
3170            GFileProgressCallback,
3171            gpointer,
3172            GAsyncReadyCallback,
3173            gpointer,
3174        ),
3175    >,
3176    pub move_finish: Option<
3177        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3178    >,
3179    pub mount_mountable: Option<
3180        unsafe extern "C" fn(
3181            *mut GFile,
3182            GMountMountFlags,
3183            *mut GMountOperation,
3184            *mut GCancellable,
3185            GAsyncReadyCallback,
3186            gpointer,
3187        ),
3188    >,
3189    pub mount_mountable_finish: Option<
3190        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
3191    >,
3192    pub unmount_mountable: Option<
3193        unsafe extern "C" fn(
3194            *mut GFile,
3195            GMountUnmountFlags,
3196            *mut GCancellable,
3197            GAsyncReadyCallback,
3198            gpointer,
3199        ),
3200    >,
3201    pub unmount_mountable_finish: Option<
3202        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3203    >,
3204    pub eject_mountable: Option<
3205        unsafe extern "C" fn(
3206            *mut GFile,
3207            GMountUnmountFlags,
3208            *mut GCancellable,
3209            GAsyncReadyCallback,
3210            gpointer,
3211        ),
3212    >,
3213    pub eject_mountable_finish: Option<
3214        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3215    >,
3216    pub mount_enclosing_volume: Option<
3217        unsafe extern "C" fn(
3218            *mut GFile,
3219            GMountMountFlags,
3220            *mut GMountOperation,
3221            *mut GCancellable,
3222            GAsyncReadyCallback,
3223            gpointer,
3224        ),
3225    >,
3226    pub mount_enclosing_volume_finish: Option<
3227        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3228    >,
3229    pub monitor_dir: Option<
3230        unsafe extern "C" fn(
3231            *mut GFile,
3232            GFileMonitorFlags,
3233            *mut GCancellable,
3234            *mut *mut glib::GError,
3235        ) -> *mut GFileMonitor,
3236    >,
3237    pub monitor_file: Option<
3238        unsafe extern "C" fn(
3239            *mut GFile,
3240            GFileMonitorFlags,
3241            *mut GCancellable,
3242            *mut *mut glib::GError,
3243        ) -> *mut GFileMonitor,
3244    >,
3245    pub open_readwrite: Option<
3246        unsafe extern "C" fn(
3247            *mut GFile,
3248            *mut GCancellable,
3249            *mut *mut glib::GError,
3250        ) -> *mut GFileIOStream,
3251    >,
3252    pub open_readwrite_async: Option<
3253        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3254    >,
3255    pub open_readwrite_finish: Option<
3256        unsafe extern "C" fn(
3257            *mut GFile,
3258            *mut GAsyncResult,
3259            *mut *mut glib::GError,
3260        ) -> *mut GFileIOStream,
3261    >,
3262    pub create_readwrite: Option<
3263        unsafe extern "C" fn(
3264            *mut GFile,
3265            GFileCreateFlags,
3266            *mut GCancellable,
3267            *mut *mut glib::GError,
3268        ) -> *mut GFileIOStream,
3269    >,
3270    pub create_readwrite_async: Option<
3271        unsafe extern "C" fn(
3272            *mut GFile,
3273            GFileCreateFlags,
3274            c_int,
3275            *mut GCancellable,
3276            GAsyncReadyCallback,
3277            gpointer,
3278        ),
3279    >,
3280    pub create_readwrite_finish: Option<
3281        unsafe extern "C" fn(
3282            *mut GFile,
3283            *mut GAsyncResult,
3284            *mut *mut glib::GError,
3285        ) -> *mut GFileIOStream,
3286    >,
3287    pub replace_readwrite: Option<
3288        unsafe extern "C" fn(
3289            *mut GFile,
3290            *const c_char,
3291            gboolean,
3292            GFileCreateFlags,
3293            *mut GCancellable,
3294            *mut *mut glib::GError,
3295        ) -> *mut GFileIOStream,
3296    >,
3297    pub replace_readwrite_async: Option<
3298        unsafe extern "C" fn(
3299            *mut GFile,
3300            *const c_char,
3301            gboolean,
3302            GFileCreateFlags,
3303            c_int,
3304            *mut GCancellable,
3305            GAsyncReadyCallback,
3306            gpointer,
3307        ),
3308    >,
3309    pub replace_readwrite_finish: Option<
3310        unsafe extern "C" fn(
3311            *mut GFile,
3312            *mut GAsyncResult,
3313            *mut *mut glib::GError,
3314        ) -> *mut GFileIOStream,
3315    >,
3316    pub start_mountable: Option<
3317        unsafe extern "C" fn(
3318            *mut GFile,
3319            GDriveStartFlags,
3320            *mut GMountOperation,
3321            *mut GCancellable,
3322            GAsyncReadyCallback,
3323            gpointer,
3324        ),
3325    >,
3326    pub start_mountable_finish: Option<
3327        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3328    >,
3329    pub stop_mountable: Option<
3330        unsafe extern "C" fn(
3331            *mut GFile,
3332            GMountUnmountFlags,
3333            *mut GMountOperation,
3334            *mut GCancellable,
3335            GAsyncReadyCallback,
3336            gpointer,
3337        ),
3338    >,
3339    pub stop_mountable_finish: Option<
3340        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3341    >,
3342    pub supports_thread_contexts: gboolean,
3343    pub unmount_mountable_with_operation: Option<
3344        unsafe extern "C" fn(
3345            *mut GFile,
3346            GMountUnmountFlags,
3347            *mut GMountOperation,
3348            *mut GCancellable,
3349            GAsyncReadyCallback,
3350            gpointer,
3351        ),
3352    >,
3353    pub unmount_mountable_with_operation_finish: Option<
3354        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3355    >,
3356    pub eject_mountable_with_operation: Option<
3357        unsafe extern "C" fn(
3358            *mut GFile,
3359            GMountUnmountFlags,
3360            *mut GMountOperation,
3361            *mut GCancellable,
3362            GAsyncReadyCallback,
3363            gpointer,
3364        ),
3365    >,
3366    pub eject_mountable_with_operation_finish: Option<
3367        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3368    >,
3369    pub poll_mountable:
3370        Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
3371    pub poll_mountable_finish: Option<
3372        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3373    >,
3374    pub measure_disk_usage: Option<
3375        unsafe extern "C" fn(
3376            *mut GFile,
3377            GFileMeasureFlags,
3378            *mut GCancellable,
3379            GFileMeasureProgressCallback,
3380            gpointer,
3381            *mut u64,
3382            *mut u64,
3383            *mut u64,
3384            *mut *mut glib::GError,
3385        ) -> gboolean,
3386    >,
3387    pub measure_disk_usage_async: Option<
3388        unsafe extern "C" fn(
3389            *mut GFile,
3390            GFileMeasureFlags,
3391            c_int,
3392            *mut GCancellable,
3393            GFileMeasureProgressCallback,
3394            gpointer,
3395            GAsyncReadyCallback,
3396            gpointer,
3397        ),
3398    >,
3399    pub measure_disk_usage_finish: Option<
3400        unsafe extern "C" fn(
3401            *mut GFile,
3402            *mut GAsyncResult,
3403            *mut u64,
3404            *mut u64,
3405            *mut u64,
3406            *mut *mut glib::GError,
3407        ) -> gboolean,
3408    >,
3409    pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>,
3410}
3411
3412impl ::std::fmt::Debug for GFileIface {
3413    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3414        f.debug_struct(&format!("GFileIface @ {self:p}"))
3415            .field("g_iface", &self.g_iface)
3416            .field("dup", &self.dup)
3417            .field("hash", &self.hash)
3418            .field("equal", &self.equal)
3419            .field("is_native", &self.is_native)
3420            .field("has_uri_scheme", &self.has_uri_scheme)
3421            .field("get_uri_scheme", &self.get_uri_scheme)
3422            .field("get_basename", &self.get_basename)
3423            .field("get_path", &self.get_path)
3424            .field("get_uri", &self.get_uri)
3425            .field("get_parse_name", &self.get_parse_name)
3426            .field("get_parent", &self.get_parent)
3427            .field("prefix_matches", &self.prefix_matches)
3428            .field("get_relative_path", &self.get_relative_path)
3429            .field("resolve_relative_path", &self.resolve_relative_path)
3430            .field(
3431                "get_child_for_display_name",
3432                &self.get_child_for_display_name,
3433            )
3434            .field("enumerate_children", &self.enumerate_children)
3435            .field("enumerate_children_async", &self.enumerate_children_async)
3436            .field("enumerate_children_finish", &self.enumerate_children_finish)
3437            .field("query_info", &self.query_info)
3438            .field("query_info_async", &self.query_info_async)
3439            .field("query_info_finish", &self.query_info_finish)
3440            .field("query_filesystem_info", &self.query_filesystem_info)
3441            .field(
3442                "query_filesystem_info_async",
3443                &self.query_filesystem_info_async,
3444            )
3445            .field(
3446                "query_filesystem_info_finish",
3447                &self.query_filesystem_info_finish,
3448            )
3449            .field("find_enclosing_mount", &self.find_enclosing_mount)
3450            .field(
3451                "find_enclosing_mount_async",
3452                &self.find_enclosing_mount_async,
3453            )
3454            .field(
3455                "find_enclosing_mount_finish",
3456                &self.find_enclosing_mount_finish,
3457            )
3458            .field("set_display_name", &self.set_display_name)
3459            .field("set_display_name_async", &self.set_display_name_async)
3460            .field("set_display_name_finish", &self.set_display_name_finish)
3461            .field("query_settable_attributes", &self.query_settable_attributes)
3462            .field(
3463                "_query_settable_attributes_async",
3464                &self._query_settable_attributes_async,
3465            )
3466            .field(
3467                "_query_settable_attributes_finish",
3468                &self._query_settable_attributes_finish,
3469            )
3470            .field("query_writable_namespaces", &self.query_writable_namespaces)
3471            .field(
3472                "_query_writable_namespaces_async",
3473                &self._query_writable_namespaces_async,
3474            )
3475            .field(
3476                "_query_writable_namespaces_finish",
3477                &self._query_writable_namespaces_finish,
3478            )
3479            .field("set_attribute", &self.set_attribute)
3480            .field("set_attributes_from_info", &self.set_attributes_from_info)
3481            .field("set_attributes_async", &self.set_attributes_async)
3482            .field("set_attributes_finish", &self.set_attributes_finish)
3483            .field("read_fn", &self.read_fn)
3484            .field("read_async", &self.read_async)
3485            .field("read_finish", &self.read_finish)
3486            .field("append_to", &self.append_to)
3487            .field("append_to_async", &self.append_to_async)
3488            .field("append_to_finish", &self.append_to_finish)
3489            .field("create", &self.create)
3490            .field("create_async", &self.create_async)
3491            .field("create_finish", &self.create_finish)
3492            .field("replace", &self.replace)
3493            .field("replace_async", &self.replace_async)
3494            .field("replace_finish", &self.replace_finish)
3495            .field("delete_file", &self.delete_file)
3496            .field("delete_file_async", &self.delete_file_async)
3497            .field("delete_file_finish", &self.delete_file_finish)
3498            .field("trash", &self.trash)
3499            .field("trash_async", &self.trash_async)
3500            .field("trash_finish", &self.trash_finish)
3501            .field("make_directory", &self.make_directory)
3502            .field("make_directory_async", &self.make_directory_async)
3503            .field("make_directory_finish", &self.make_directory_finish)
3504            .field("make_symbolic_link", &self.make_symbolic_link)
3505            .field("make_symbolic_link_async", &self.make_symbolic_link_async)
3506            .field("make_symbolic_link_finish", &self.make_symbolic_link_finish)
3507            .field("copy", &self.copy)
3508            .field("copy_async", &self.copy_async)
3509            .field("copy_finish", &self.copy_finish)
3510            .field("move_", &self.move_)
3511            .field("move_async", &self.move_async)
3512            .field("move_finish", &self.move_finish)
3513            .field("mount_mountable", &self.mount_mountable)
3514            .field("mount_mountable_finish", &self.mount_mountable_finish)
3515            .field("unmount_mountable", &self.unmount_mountable)
3516            .field("unmount_mountable_finish", &self.unmount_mountable_finish)
3517            .field("eject_mountable", &self.eject_mountable)
3518            .field("eject_mountable_finish", &self.eject_mountable_finish)
3519            .field("mount_enclosing_volume", &self.mount_enclosing_volume)
3520            .field(
3521                "mount_enclosing_volume_finish",
3522                &self.mount_enclosing_volume_finish,
3523            )
3524            .field("monitor_dir", &self.monitor_dir)
3525            .field("monitor_file", &self.monitor_file)
3526            .field("open_readwrite", &self.open_readwrite)
3527            .field("open_readwrite_async", &self.open_readwrite_async)
3528            .field("open_readwrite_finish", &self.open_readwrite_finish)
3529            .field("create_readwrite", &self.create_readwrite)
3530            .field("create_readwrite_async", &self.create_readwrite_async)
3531            .field("create_readwrite_finish", &self.create_readwrite_finish)
3532            .field("replace_readwrite", &self.replace_readwrite)
3533            .field("replace_readwrite_async", &self.replace_readwrite_async)
3534            .field("replace_readwrite_finish", &self.replace_readwrite_finish)
3535            .field("start_mountable", &self.start_mountable)
3536            .field("start_mountable_finish", &self.start_mountable_finish)
3537            .field("stop_mountable", &self.stop_mountable)
3538            .field("stop_mountable_finish", &self.stop_mountable_finish)
3539            .field("supports_thread_contexts", &self.supports_thread_contexts)
3540            .field(
3541                "unmount_mountable_with_operation",
3542                &self.unmount_mountable_with_operation,
3543            )
3544            .field(
3545                "unmount_mountable_with_operation_finish",
3546                &self.unmount_mountable_with_operation_finish,
3547            )
3548            .field(
3549                "eject_mountable_with_operation",
3550                &self.eject_mountable_with_operation,
3551            )
3552            .field(
3553                "eject_mountable_with_operation_finish",
3554                &self.eject_mountable_with_operation_finish,
3555            )
3556            .field("poll_mountable", &self.poll_mountable)
3557            .field("poll_mountable_finish", &self.poll_mountable_finish)
3558            .field("measure_disk_usage", &self.measure_disk_usage)
3559            .field("measure_disk_usage_async", &self.measure_disk_usage_async)
3560            .field("measure_disk_usage_finish", &self.measure_disk_usage_finish)
3561            .field("query_exists", &self.query_exists)
3562            .finish()
3563    }
3564}
3565
3566#[repr(C)]
3567#[allow(dead_code)]
3568pub struct _GFileInfoClass {
3569    _data: [u8; 0],
3570    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3571}
3572
3573pub type GFileInfoClass = _GFileInfoClass;
3574
3575#[derive(Copy, Clone)]
3576#[repr(C)]
3577pub struct GFileInputStreamClass {
3578    pub parent_class: GInputStreamClass,
3579    pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>,
3580    pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>,
3581    pub seek: Option<
3582        unsafe extern "C" fn(
3583            *mut GFileInputStream,
3584            i64,
3585            glib::GSeekType,
3586            *mut GCancellable,
3587            *mut *mut glib::GError,
3588        ) -> gboolean,
3589    >,
3590    pub query_info: Option<
3591        unsafe extern "C" fn(
3592            *mut GFileInputStream,
3593            *const c_char,
3594            *mut GCancellable,
3595            *mut *mut glib::GError,
3596        ) -> *mut GFileInfo,
3597    >,
3598    pub query_info_async: Option<
3599        unsafe extern "C" fn(
3600            *mut GFileInputStream,
3601            *const c_char,
3602            c_int,
3603            *mut GCancellable,
3604            GAsyncReadyCallback,
3605            gpointer,
3606        ),
3607    >,
3608    pub query_info_finish: Option<
3609        unsafe extern "C" fn(
3610            *mut GFileInputStream,
3611            *mut GAsyncResult,
3612            *mut *mut glib::GError,
3613        ) -> *mut GFileInfo,
3614    >,
3615    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3616    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3617    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3618    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3619    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3620}
3621
3622impl ::std::fmt::Debug for GFileInputStreamClass {
3623    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3624        f.debug_struct(&format!("GFileInputStreamClass @ {self:p}"))
3625            .field("parent_class", &self.parent_class)
3626            .field("tell", &self.tell)
3627            .field("can_seek", &self.can_seek)
3628            .field("seek", &self.seek)
3629            .field("query_info", &self.query_info)
3630            .field("query_info_async", &self.query_info_async)
3631            .field("query_info_finish", &self.query_info_finish)
3632            .field("_g_reserved1", &self._g_reserved1)
3633            .field("_g_reserved2", &self._g_reserved2)
3634            .field("_g_reserved3", &self._g_reserved3)
3635            .field("_g_reserved4", &self._g_reserved4)
3636            .field("_g_reserved5", &self._g_reserved5)
3637            .finish()
3638    }
3639}
3640
3641#[repr(C)]
3642#[allow(dead_code)]
3643pub struct _GFileInputStreamPrivate {
3644    _data: [u8; 0],
3645    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3646}
3647
3648pub type GFileInputStreamPrivate = _GFileInputStreamPrivate;
3649
3650#[derive(Copy, Clone)]
3651#[repr(C)]
3652pub struct GFileMonitorClass {
3653    pub parent_class: gobject::GObjectClass,
3654    pub changed:
3655        Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>,
3656    pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>,
3657    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3658    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3659    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3660    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3661    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3662}
3663
3664impl ::std::fmt::Debug for GFileMonitorClass {
3665    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3666        f.debug_struct(&format!("GFileMonitorClass @ {self:p}"))
3667            .field("parent_class", &self.parent_class)
3668            .field("changed", &self.changed)
3669            .field("cancel", &self.cancel)
3670            .field("_g_reserved1", &self._g_reserved1)
3671            .field("_g_reserved2", &self._g_reserved2)
3672            .field("_g_reserved3", &self._g_reserved3)
3673            .field("_g_reserved4", &self._g_reserved4)
3674            .field("_g_reserved5", &self._g_reserved5)
3675            .finish()
3676    }
3677}
3678
3679#[repr(C)]
3680#[allow(dead_code)]
3681pub struct _GFileMonitorPrivate {
3682    _data: [u8; 0],
3683    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3684}
3685
3686pub type GFileMonitorPrivate = _GFileMonitorPrivate;
3687
3688#[derive(Copy, Clone)]
3689#[repr(C)]
3690pub struct GFileOutputStreamClass {
3691    pub parent_class: GOutputStreamClass,
3692    pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>,
3693    pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3694    pub seek: Option<
3695        unsafe extern "C" fn(
3696            *mut GFileOutputStream,
3697            i64,
3698            glib::GSeekType,
3699            *mut GCancellable,
3700            *mut *mut glib::GError,
3701        ) -> gboolean,
3702    >,
3703    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3704    pub truncate_fn: Option<
3705        unsafe extern "C" fn(
3706            *mut GFileOutputStream,
3707            i64,
3708            *mut GCancellable,
3709            *mut *mut glib::GError,
3710        ) -> gboolean,
3711    >,
3712    pub query_info: Option<
3713        unsafe extern "C" fn(
3714            *mut GFileOutputStream,
3715            *const c_char,
3716            *mut GCancellable,
3717            *mut *mut glib::GError,
3718        ) -> *mut GFileInfo,
3719    >,
3720    pub query_info_async: Option<
3721        unsafe extern "C" fn(
3722            *mut GFileOutputStream,
3723            *const c_char,
3724            c_int,
3725            *mut GCancellable,
3726            GAsyncReadyCallback,
3727            gpointer,
3728        ),
3729    >,
3730    pub query_info_finish: Option<
3731        unsafe extern "C" fn(
3732            *mut GFileOutputStream,
3733            *mut GAsyncResult,
3734            *mut *mut glib::GError,
3735        ) -> *mut GFileInfo,
3736    >,
3737    pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>,
3738    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3739    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3740    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3741    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3742    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3743}
3744
3745impl ::std::fmt::Debug for GFileOutputStreamClass {
3746    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3747        f.debug_struct(&format!("GFileOutputStreamClass @ {self:p}"))
3748            .field("parent_class", &self.parent_class)
3749            .field("tell", &self.tell)
3750            .field("can_seek", &self.can_seek)
3751            .field("seek", &self.seek)
3752            .field("can_truncate", &self.can_truncate)
3753            .field("truncate_fn", &self.truncate_fn)
3754            .field("query_info", &self.query_info)
3755            .field("query_info_async", &self.query_info_async)
3756            .field("query_info_finish", &self.query_info_finish)
3757            .field("get_etag", &self.get_etag)
3758            .field("_g_reserved1", &self._g_reserved1)
3759            .field("_g_reserved2", &self._g_reserved2)
3760            .field("_g_reserved3", &self._g_reserved3)
3761            .field("_g_reserved4", &self._g_reserved4)
3762            .field("_g_reserved5", &self._g_reserved5)
3763            .finish()
3764    }
3765}
3766
3767#[repr(C)]
3768#[allow(dead_code)]
3769pub struct _GFileOutputStreamPrivate {
3770    _data: [u8; 0],
3771    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3772}
3773
3774pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate;
3775
3776#[derive(Copy, Clone)]
3777#[repr(C)]
3778pub struct GFilenameCompleterClass {
3779    pub parent_class: gobject::GObjectClass,
3780    pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>,
3781    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3782    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3783    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3784}
3785
3786impl ::std::fmt::Debug for GFilenameCompleterClass {
3787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3788        f.debug_struct(&format!("GFilenameCompleterClass @ {self:p}"))
3789            .field("parent_class", &self.parent_class)
3790            .field("got_completion_data", &self.got_completion_data)
3791            .field("_g_reserved1", &self._g_reserved1)
3792            .field("_g_reserved2", &self._g_reserved2)
3793            .field("_g_reserved3", &self._g_reserved3)
3794            .finish()
3795    }
3796}
3797
3798#[derive(Copy, Clone)]
3799#[repr(C)]
3800pub struct GFilterInputStreamClass {
3801    pub parent_class: GInputStreamClass,
3802    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3803    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3804    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3805}
3806
3807impl ::std::fmt::Debug for GFilterInputStreamClass {
3808    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3809        f.debug_struct(&format!("GFilterInputStreamClass @ {self:p}"))
3810            .field("parent_class", &self.parent_class)
3811            .field("_g_reserved1", &self._g_reserved1)
3812            .field("_g_reserved2", &self._g_reserved2)
3813            .field("_g_reserved3", &self._g_reserved3)
3814            .finish()
3815    }
3816}
3817
3818#[derive(Copy, Clone)]
3819#[repr(C)]
3820pub struct GFilterOutputStreamClass {
3821    pub parent_class: GOutputStreamClass,
3822    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3823    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3824    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3825}
3826
3827impl ::std::fmt::Debug for GFilterOutputStreamClass {
3828    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3829        f.debug_struct(&format!("GFilterOutputStreamClass @ {self:p}"))
3830            .field("parent_class", &self.parent_class)
3831            .field("_g_reserved1", &self._g_reserved1)
3832            .field("_g_reserved2", &self._g_reserved2)
3833            .field("_g_reserved3", &self._g_reserved3)
3834            .finish()
3835    }
3836}
3837
3838#[repr(C)]
3839#[allow(dead_code)]
3840pub struct _GIOExtension {
3841    _data: [u8; 0],
3842    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3843}
3844
3845pub type GIOExtension = _GIOExtension;
3846
3847#[repr(C)]
3848#[allow(dead_code)]
3849pub struct _GIOExtensionPoint {
3850    _data: [u8; 0],
3851    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3852}
3853
3854pub type GIOExtensionPoint = _GIOExtensionPoint;
3855
3856#[repr(C)]
3857#[allow(dead_code)]
3858pub struct _GIOModuleClass {
3859    _data: [u8; 0],
3860    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3861}
3862
3863pub type GIOModuleClass = _GIOModuleClass;
3864
3865#[repr(C)]
3866#[allow(dead_code)]
3867pub struct _GIOModuleScope {
3868    _data: [u8; 0],
3869    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3870}
3871
3872pub type GIOModuleScope = _GIOModuleScope;
3873
3874#[repr(C)]
3875#[allow(dead_code)]
3876pub struct _GIOSchedulerJob {
3877    _data: [u8; 0],
3878    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3879}
3880
3881pub type GIOSchedulerJob = _GIOSchedulerJob;
3882
3883#[repr(C)]
3884#[allow(dead_code)]
3885pub struct _GIOStreamAdapter {
3886    _data: [u8; 0],
3887    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3888}
3889
3890pub type GIOStreamAdapter = _GIOStreamAdapter;
3891
3892#[derive(Copy, Clone)]
3893#[repr(C)]
3894pub struct GIOStreamClass {
3895    pub parent_class: gobject::GObjectClass,
3896    pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>,
3897    pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>,
3898    pub close_fn: Option<
3899        unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3900    >,
3901    pub close_async: Option<
3902        unsafe extern "C" fn(
3903            *mut GIOStream,
3904            c_int,
3905            *mut GCancellable,
3906            GAsyncReadyCallback,
3907            gpointer,
3908        ),
3909    >,
3910    pub close_finish: Option<
3911        unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3912    >,
3913    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3914    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3915    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3916    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3917    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3918    pub _g_reserved6: Option<unsafe extern "C" fn()>,
3919    pub _g_reserved7: Option<unsafe extern "C" fn()>,
3920    pub _g_reserved8: Option<unsafe extern "C" fn()>,
3921    pub _g_reserved9: Option<unsafe extern "C" fn()>,
3922    pub _g_reserved10: Option<unsafe extern "C" fn()>,
3923}
3924
3925impl ::std::fmt::Debug for GIOStreamClass {
3926    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3927        f.debug_struct(&format!("GIOStreamClass @ {self:p}"))
3928            .field("parent_class", &self.parent_class)
3929            .field("get_input_stream", &self.get_input_stream)
3930            .field("get_output_stream", &self.get_output_stream)
3931            .field("close_fn", &self.close_fn)
3932            .field("close_async", &self.close_async)
3933            .field("close_finish", &self.close_finish)
3934            .field("_g_reserved1", &self._g_reserved1)
3935            .field("_g_reserved2", &self._g_reserved2)
3936            .field("_g_reserved3", &self._g_reserved3)
3937            .field("_g_reserved4", &self._g_reserved4)
3938            .field("_g_reserved5", &self._g_reserved5)
3939            .field("_g_reserved6", &self._g_reserved6)
3940            .field("_g_reserved7", &self._g_reserved7)
3941            .field("_g_reserved8", &self._g_reserved8)
3942            .field("_g_reserved9", &self._g_reserved9)
3943            .field("_g_reserved10", &self._g_reserved10)
3944            .finish()
3945    }
3946}
3947
3948#[repr(C)]
3949#[allow(dead_code)]
3950pub struct _GIOStreamPrivate {
3951    _data: [u8; 0],
3952    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3953}
3954
3955pub type GIOStreamPrivate = _GIOStreamPrivate;
3956
3957#[derive(Copy, Clone)]
3958#[repr(C)]
3959pub struct GIconIface {
3960    pub g_iface: gobject::GTypeInterface,
3961    pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>,
3962    pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>,
3963    pub to_tokens:
3964        Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>,
3965    pub from_tokens: Option<
3966        unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon,
3967    >,
3968    pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>,
3969}
3970
3971impl ::std::fmt::Debug for GIconIface {
3972    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3973        f.debug_struct(&format!("GIconIface @ {self:p}"))
3974            .field("g_iface", &self.g_iface)
3975            .field("hash", &self.hash)
3976            .field("equal", &self.equal)
3977            .field("to_tokens", &self.to_tokens)
3978            .field("from_tokens", &self.from_tokens)
3979            .field("serialize", &self.serialize)
3980            .finish()
3981    }
3982}
3983
3984#[derive(Copy, Clone)]
3985#[repr(C)]
3986pub struct GInetAddressClass {
3987    pub parent_class: gobject::GObjectClass,
3988    pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>,
3989    pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>,
3990}
3991
3992impl ::std::fmt::Debug for GInetAddressClass {
3993    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3994        f.debug_struct(&format!("GInetAddressClass @ {self:p}"))
3995            .field("parent_class", &self.parent_class)
3996            .field("to_string", &self.to_string)
3997            .field("to_bytes", &self.to_bytes)
3998            .finish()
3999    }
4000}
4001
4002#[derive(Copy, Clone)]
4003#[repr(C)]
4004pub struct GInetAddressMaskClass {
4005    pub parent_class: gobject::GObjectClass,
4006}
4007
4008impl ::std::fmt::Debug for GInetAddressMaskClass {
4009    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4010        f.debug_struct(&format!("GInetAddressMaskClass @ {self:p}"))
4011            .field("parent_class", &self.parent_class)
4012            .finish()
4013    }
4014}
4015
4016#[repr(C)]
4017#[allow(dead_code)]
4018pub struct _GInetAddressMaskPrivate {
4019    _data: [u8; 0],
4020    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4021}
4022
4023pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate;
4024
4025#[repr(C)]
4026#[allow(dead_code)]
4027pub struct _GInetAddressPrivate {
4028    _data: [u8; 0],
4029    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4030}
4031
4032pub type GInetAddressPrivate = _GInetAddressPrivate;
4033
4034#[derive(Copy, Clone)]
4035#[repr(C)]
4036pub struct GInetSocketAddressClass {
4037    pub parent_class: GSocketAddressClass,
4038}
4039
4040impl ::std::fmt::Debug for GInetSocketAddressClass {
4041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4042        f.debug_struct(&format!("GInetSocketAddressClass @ {self:p}"))
4043            .field("parent_class", &self.parent_class)
4044            .finish()
4045    }
4046}
4047
4048#[repr(C)]
4049#[allow(dead_code)]
4050pub struct _GInetSocketAddressPrivate {
4051    _data: [u8; 0],
4052    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4053}
4054
4055pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate;
4056
4057#[derive(Copy, Clone)]
4058#[repr(C)]
4059pub struct GInitableIface {
4060    pub g_iface: gobject::GTypeInterface,
4061    pub init: Option<
4062        unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
4063    >,
4064}
4065
4066impl ::std::fmt::Debug for GInitableIface {
4067    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4068        f.debug_struct(&format!("GInitableIface @ {self:p}"))
4069            .field("g_iface", &self.g_iface)
4070            .field("init", &self.init)
4071            .finish()
4072    }
4073}
4074
4075#[derive(Copy, Clone)]
4076#[repr(C)]
4077pub struct GInputMessage {
4078    pub address: *mut *mut GSocketAddress,
4079    pub vectors: *mut GInputVector,
4080    pub num_vectors: c_uint,
4081    pub bytes_received: size_t,
4082    pub flags: c_int,
4083    pub control_messages: *mut *mut *mut GSocketControlMessage,
4084    pub num_control_messages: *mut c_uint,
4085}
4086
4087impl ::std::fmt::Debug for GInputMessage {
4088    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4089        f.debug_struct(&format!("GInputMessage @ {self:p}"))
4090            .field("address", &self.address)
4091            .field("vectors", &self.vectors)
4092            .field("num_vectors", &self.num_vectors)
4093            .field("bytes_received", &self.bytes_received)
4094            .field("flags", &self.flags)
4095            .field("control_messages", &self.control_messages)
4096            .field("num_control_messages", &self.num_control_messages)
4097            .finish()
4098    }
4099}
4100
4101#[derive(Copy, Clone)]
4102#[repr(C)]
4103pub struct GInputStreamClass {
4104    pub parent_class: gobject::GObjectClass,
4105    pub read_fn: Option<
4106        unsafe extern "C" fn(
4107            *mut GInputStream,
4108            *mut c_void,
4109            size_t,
4110            *mut GCancellable,
4111            *mut *mut glib::GError,
4112        ) -> ssize_t,
4113    >,
4114    pub skip: Option<
4115        unsafe extern "C" fn(
4116            *mut GInputStream,
4117            size_t,
4118            *mut GCancellable,
4119            *mut *mut glib::GError,
4120        ) -> ssize_t,
4121    >,
4122    pub close_fn: Option<
4123        unsafe extern "C" fn(
4124            *mut GInputStream,
4125            *mut GCancellable,
4126            *mut *mut glib::GError,
4127        ) -> gboolean,
4128    >,
4129    pub read_async: Option<
4130        unsafe extern "C" fn(
4131            *mut GInputStream,
4132            *mut u8,
4133            size_t,
4134            c_int,
4135            *mut GCancellable,
4136            GAsyncReadyCallback,
4137            gpointer,
4138        ),
4139    >,
4140    pub read_finish: Option<
4141        unsafe extern "C" fn(
4142            *mut GInputStream,
4143            *mut GAsyncResult,
4144            *mut *mut glib::GError,
4145        ) -> ssize_t,
4146    >,
4147    pub skip_async: Option<
4148        unsafe extern "C" fn(
4149            *mut GInputStream,
4150            size_t,
4151            c_int,
4152            *mut GCancellable,
4153            GAsyncReadyCallback,
4154            gpointer,
4155        ),
4156    >,
4157    pub skip_finish: Option<
4158        unsafe extern "C" fn(
4159            *mut GInputStream,
4160            *mut GAsyncResult,
4161            *mut *mut glib::GError,
4162        ) -> ssize_t,
4163    >,
4164    pub close_async: Option<
4165        unsafe extern "C" fn(
4166            *mut GInputStream,
4167            c_int,
4168            *mut GCancellable,
4169            GAsyncReadyCallback,
4170            gpointer,
4171        ),
4172    >,
4173    pub close_finish: Option<
4174        unsafe extern "C" fn(
4175            *mut GInputStream,
4176            *mut GAsyncResult,
4177            *mut *mut glib::GError,
4178        ) -> gboolean,
4179    >,
4180    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4181    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4182    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4183    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4184    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4185}
4186
4187impl ::std::fmt::Debug for GInputStreamClass {
4188    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4189        f.debug_struct(&format!("GInputStreamClass @ {self:p}"))
4190            .field("parent_class", &self.parent_class)
4191            .field("read_fn", &self.read_fn)
4192            .field("skip", &self.skip)
4193            .field("close_fn", &self.close_fn)
4194            .field("read_async", &self.read_async)
4195            .field("read_finish", &self.read_finish)
4196            .field("skip_async", &self.skip_async)
4197            .field("skip_finish", &self.skip_finish)
4198            .field("close_async", &self.close_async)
4199            .field("close_finish", &self.close_finish)
4200            .field("_g_reserved1", &self._g_reserved1)
4201            .field("_g_reserved2", &self._g_reserved2)
4202            .field("_g_reserved3", &self._g_reserved3)
4203            .field("_g_reserved4", &self._g_reserved4)
4204            .field("_g_reserved5", &self._g_reserved5)
4205            .finish()
4206    }
4207}
4208
4209#[repr(C)]
4210#[allow(dead_code)]
4211pub struct _GInputStreamPrivate {
4212    _data: [u8; 0],
4213    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4214}
4215
4216pub type GInputStreamPrivate = _GInputStreamPrivate;
4217
4218#[derive(Copy, Clone)]
4219#[repr(C)]
4220pub struct GInputVector {
4221    pub buffer: gpointer,
4222    pub size: size_t,
4223}
4224
4225impl ::std::fmt::Debug for GInputVector {
4226    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4227        f.debug_struct(&format!("GInputVector @ {self:p}"))
4228            .field("buffer", &self.buffer)
4229            .field("size", &self.size)
4230            .finish()
4231    }
4232}
4233
4234#[derive(Copy, Clone)]
4235#[repr(C)]
4236pub struct GListModelInterface {
4237    pub g_iface: gobject::GTypeInterface,
4238    pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>,
4239    pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>,
4240    pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>,
4241}
4242
4243impl ::std::fmt::Debug for GListModelInterface {
4244    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4245        f.debug_struct(&format!("GListModelInterface @ {self:p}"))
4246            .field("g_iface", &self.g_iface)
4247            .field("get_item_type", &self.get_item_type)
4248            .field("get_n_items", &self.get_n_items)
4249            .field("get_item", &self.get_item)
4250            .finish()
4251    }
4252}
4253
4254#[derive(Copy, Clone)]
4255#[repr(C)]
4256pub struct GListStoreClass {
4257    pub parent_class: gobject::GObjectClass,
4258}
4259
4260impl ::std::fmt::Debug for GListStoreClass {
4261    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4262        f.debug_struct(&format!("GListStoreClass @ {self:p}"))
4263            .field("parent_class", &self.parent_class)
4264            .finish()
4265    }
4266}
4267
4268#[derive(Copy, Clone)]
4269#[repr(C)]
4270pub struct GLoadableIconIface {
4271    pub g_iface: gobject::GTypeInterface,
4272    pub load: Option<
4273        unsafe extern "C" fn(
4274            *mut GLoadableIcon,
4275            c_int,
4276            *mut *mut c_char,
4277            *mut GCancellable,
4278            *mut *mut glib::GError,
4279        ) -> *mut GInputStream,
4280    >,
4281    pub load_async: Option<
4282        unsafe extern "C" fn(
4283            *mut GLoadableIcon,
4284            c_int,
4285            *mut GCancellable,
4286            GAsyncReadyCallback,
4287            gpointer,
4288        ),
4289    >,
4290    pub load_finish: Option<
4291        unsafe extern "C" fn(
4292            *mut GLoadableIcon,
4293            *mut GAsyncResult,
4294            *mut *mut c_char,
4295            *mut *mut glib::GError,
4296        ) -> *mut GInputStream,
4297    >,
4298}
4299
4300impl ::std::fmt::Debug for GLoadableIconIface {
4301    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4302        f.debug_struct(&format!("GLoadableIconIface @ {self:p}"))
4303            .field("g_iface", &self.g_iface)
4304            .field("load", &self.load)
4305            .field("load_async", &self.load_async)
4306            .field("load_finish", &self.load_finish)
4307            .finish()
4308    }
4309}
4310
4311#[derive(Copy, Clone)]
4312#[repr(C)]
4313pub struct GMemoryInputStreamClass {
4314    pub parent_class: GInputStreamClass,
4315    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4316    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4317    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4318    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4319    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4320}
4321
4322impl ::std::fmt::Debug for GMemoryInputStreamClass {
4323    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4324        f.debug_struct(&format!("GMemoryInputStreamClass @ {self:p}"))
4325            .field("parent_class", &self.parent_class)
4326            .field("_g_reserved1", &self._g_reserved1)
4327            .field("_g_reserved2", &self._g_reserved2)
4328            .field("_g_reserved3", &self._g_reserved3)
4329            .field("_g_reserved4", &self._g_reserved4)
4330            .field("_g_reserved5", &self._g_reserved5)
4331            .finish()
4332    }
4333}
4334
4335#[repr(C)]
4336#[allow(dead_code)]
4337pub struct _GMemoryInputStreamPrivate {
4338    _data: [u8; 0],
4339    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4340}
4341
4342pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate;
4343
4344#[derive(Copy, Clone)]
4345#[repr(C)]
4346pub struct GMemoryMonitorInterface {
4347    pub g_iface: gobject::GTypeInterface,
4348    pub low_memory_warning:
4349        Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>,
4350}
4351
4352impl ::std::fmt::Debug for GMemoryMonitorInterface {
4353    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4354        f.debug_struct(&format!("GMemoryMonitorInterface @ {self:p}"))
4355            .field("low_memory_warning", &self.low_memory_warning)
4356            .finish()
4357    }
4358}
4359
4360#[derive(Copy, Clone)]
4361#[repr(C)]
4362pub struct GMemoryOutputStreamClass {
4363    pub parent_class: GOutputStreamClass,
4364    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4365    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4366    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4367    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4368    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4369}
4370
4371impl ::std::fmt::Debug for GMemoryOutputStreamClass {
4372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4373        f.debug_struct(&format!("GMemoryOutputStreamClass @ {self:p}"))
4374            .field("parent_class", &self.parent_class)
4375            .field("_g_reserved1", &self._g_reserved1)
4376            .field("_g_reserved2", &self._g_reserved2)
4377            .field("_g_reserved3", &self._g_reserved3)
4378            .field("_g_reserved4", &self._g_reserved4)
4379            .field("_g_reserved5", &self._g_reserved5)
4380            .finish()
4381    }
4382}
4383
4384#[repr(C)]
4385#[allow(dead_code)]
4386pub struct _GMemoryOutputStreamPrivate {
4387    _data: [u8; 0],
4388    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4389}
4390
4391pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate;
4392
4393#[derive(Copy, Clone)]
4394#[repr(C)]
4395pub struct GMenuAttributeIterClass {
4396    pub parent_class: gobject::GObjectClass,
4397    pub get_next: Option<
4398        unsafe extern "C" fn(
4399            *mut GMenuAttributeIter,
4400            *mut *const c_char,
4401            *mut *mut glib::GVariant,
4402        ) -> gboolean,
4403    >,
4404}
4405
4406impl ::std::fmt::Debug for GMenuAttributeIterClass {
4407    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4408        f.debug_struct(&format!("GMenuAttributeIterClass @ {self:p}"))
4409            .field("parent_class", &self.parent_class)
4410            .field("get_next", &self.get_next)
4411            .finish()
4412    }
4413}
4414
4415#[repr(C)]
4416#[allow(dead_code)]
4417pub struct _GMenuAttributeIterPrivate {
4418    _data: [u8; 0],
4419    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4420}
4421
4422pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate;
4423
4424#[derive(Copy, Clone)]
4425#[repr(C)]
4426pub struct GMenuLinkIterClass {
4427    pub parent_class: gobject::GObjectClass,
4428    pub get_next: Option<
4429        unsafe extern "C" fn(
4430            *mut GMenuLinkIter,
4431            *mut *const c_char,
4432            *mut *mut GMenuModel,
4433        ) -> gboolean,
4434    >,
4435}
4436
4437impl ::std::fmt::Debug for GMenuLinkIterClass {
4438    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4439        f.debug_struct(&format!("GMenuLinkIterClass @ {self:p}"))
4440            .field("parent_class", &self.parent_class)
4441            .field("get_next", &self.get_next)
4442            .finish()
4443    }
4444}
4445
4446#[repr(C)]
4447#[allow(dead_code)]
4448pub struct _GMenuLinkIterPrivate {
4449    _data: [u8; 0],
4450    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4451}
4452
4453pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate;
4454
4455#[derive(Copy, Clone)]
4456#[repr(C)]
4457pub struct GMenuModelClass {
4458    pub parent_class: gobject::GObjectClass,
4459    pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>,
4460    pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>,
4461    pub get_item_attributes:
4462        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4463    pub iterate_item_attributes:
4464        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>,
4465    pub get_item_attribute_value: Option<
4466        unsafe extern "C" fn(
4467            *mut GMenuModel,
4468            c_int,
4469            *const c_char,
4470            *const glib::GVariantType,
4471        ) -> *mut glib::GVariant,
4472    >,
4473    pub get_item_links:
4474        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4475    pub iterate_item_links:
4476        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>,
4477    pub get_item_link:
4478        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>,
4479}
4480
4481impl ::std::fmt::Debug for GMenuModelClass {
4482    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4483        f.debug_struct(&format!("GMenuModelClass @ {self:p}"))
4484            .field("parent_class", &self.parent_class)
4485            .field("is_mutable", &self.is_mutable)
4486            .field("get_n_items", &self.get_n_items)
4487            .field("get_item_attributes", &self.get_item_attributes)
4488            .field("iterate_item_attributes", &self.iterate_item_attributes)
4489            .field("get_item_attribute_value", &self.get_item_attribute_value)
4490            .field("get_item_links", &self.get_item_links)
4491            .field("iterate_item_links", &self.iterate_item_links)
4492            .field("get_item_link", &self.get_item_link)
4493            .finish()
4494    }
4495}
4496
4497#[repr(C)]
4498#[allow(dead_code)]
4499pub struct _GMenuModelPrivate {
4500    _data: [u8; 0],
4501    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4502}
4503
4504pub type GMenuModelPrivate = _GMenuModelPrivate;
4505
4506#[derive(Copy, Clone)]
4507#[repr(C)]
4508pub struct GMountIface {
4509    pub g_iface: gobject::GTypeInterface,
4510    pub changed: Option<unsafe extern "C" fn(*mut GMount)>,
4511    pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>,
4512    pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4513    pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4514    pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4515    pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4516    pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>,
4517    pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>,
4518    pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4519    pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4520    pub unmount: Option<
4521        unsafe extern "C" fn(
4522            *mut GMount,
4523            GMountUnmountFlags,
4524            *mut GCancellable,
4525            GAsyncReadyCallback,
4526            gpointer,
4527        ),
4528    >,
4529    pub unmount_finish: Option<
4530        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4531    >,
4532    pub eject: Option<
4533        unsafe extern "C" fn(
4534            *mut GMount,
4535            GMountUnmountFlags,
4536            *mut GCancellable,
4537            GAsyncReadyCallback,
4538            gpointer,
4539        ),
4540    >,
4541    pub eject_finish: Option<
4542        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4543    >,
4544    pub remount: Option<
4545        unsafe extern "C" fn(
4546            *mut GMount,
4547            GMountMountFlags,
4548            *mut GMountOperation,
4549            *mut GCancellable,
4550            GAsyncReadyCallback,
4551            gpointer,
4552        ),
4553    >,
4554    pub remount_finish: Option<
4555        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4556    >,
4557    pub guess_content_type: Option<
4558        unsafe extern "C" fn(
4559            *mut GMount,
4560            gboolean,
4561            *mut GCancellable,
4562            GAsyncReadyCallback,
4563            gpointer,
4564        ),
4565    >,
4566    pub guess_content_type_finish: Option<
4567        unsafe extern "C" fn(
4568            *mut GMount,
4569            *mut GAsyncResult,
4570            *mut *mut glib::GError,
4571        ) -> *mut *mut c_char,
4572    >,
4573    pub guess_content_type_sync: Option<
4574        unsafe extern "C" fn(
4575            *mut GMount,
4576            gboolean,
4577            *mut GCancellable,
4578            *mut *mut glib::GError,
4579        ) -> *mut *mut c_char,
4580    >,
4581    pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>,
4582    pub unmount_with_operation: Option<
4583        unsafe extern "C" fn(
4584            *mut GMount,
4585            GMountUnmountFlags,
4586            *mut GMountOperation,
4587            *mut GCancellable,
4588            GAsyncReadyCallback,
4589            gpointer,
4590        ),
4591    >,
4592    pub unmount_with_operation_finish: Option<
4593        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4594    >,
4595    pub eject_with_operation: Option<
4596        unsafe extern "C" fn(
4597            *mut GMount,
4598            GMountUnmountFlags,
4599            *mut GMountOperation,
4600            *mut GCancellable,
4601            GAsyncReadyCallback,
4602            gpointer,
4603        ),
4604    >,
4605    pub eject_with_operation_finish: Option<
4606        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4607    >,
4608    pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4609    pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4610    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4611}
4612
4613impl ::std::fmt::Debug for GMountIface {
4614    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4615        f.debug_struct(&format!("GMountIface @ {self:p}"))
4616            .field("g_iface", &self.g_iface)
4617            .field("changed", &self.changed)
4618            .field("unmounted", &self.unmounted)
4619            .field("get_root", &self.get_root)
4620            .field("get_name", &self.get_name)
4621            .field("get_icon", &self.get_icon)
4622            .field("get_uuid", &self.get_uuid)
4623            .field("get_volume", &self.get_volume)
4624            .field("get_drive", &self.get_drive)
4625            .field("can_unmount", &self.can_unmount)
4626            .field("can_eject", &self.can_eject)
4627            .field("unmount", &self.unmount)
4628            .field("unmount_finish", &self.unmount_finish)
4629            .field("eject", &self.eject)
4630            .field("eject_finish", &self.eject_finish)
4631            .field("remount", &self.remount)
4632            .field("remount_finish", &self.remount_finish)
4633            .field("guess_content_type", &self.guess_content_type)
4634            .field("guess_content_type_finish", &self.guess_content_type_finish)
4635            .field("guess_content_type_sync", &self.guess_content_type_sync)
4636            .field("pre_unmount", &self.pre_unmount)
4637            .field("unmount_with_operation", &self.unmount_with_operation)
4638            .field(
4639                "unmount_with_operation_finish",
4640                &self.unmount_with_operation_finish,
4641            )
4642            .field("eject_with_operation", &self.eject_with_operation)
4643            .field(
4644                "eject_with_operation_finish",
4645                &self.eject_with_operation_finish,
4646            )
4647            .field("get_default_location", &self.get_default_location)
4648            .field("get_sort_key", &self.get_sort_key)
4649            .field("get_symbolic_icon", &self.get_symbolic_icon)
4650            .finish()
4651    }
4652}
4653
4654#[derive(Copy, Clone)]
4655#[repr(C)]
4656pub struct GMountOperationClass {
4657    pub parent_class: gobject::GObjectClass,
4658    pub ask_password: Option<
4659        unsafe extern "C" fn(
4660            *mut GMountOperation,
4661            *const c_char,
4662            *const c_char,
4663            *const c_char,
4664            GAskPasswordFlags,
4665        ),
4666    >,
4667    pub ask_question:
4668        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>,
4669    pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>,
4670    pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>,
4671    pub show_processes: Option<
4672        unsafe extern "C" fn(
4673            *mut GMountOperation,
4674            *const c_char,
4675            *mut glib::GArray,
4676            *mut *const c_char,
4677        ),
4678    >,
4679    pub show_unmount_progress:
4680        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>,
4681    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4682    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4683    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4684    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4685    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4686    pub _g_reserved6: Option<unsafe extern "C" fn()>,
4687    pub _g_reserved7: Option<unsafe extern "C" fn()>,
4688    pub _g_reserved8: Option<unsafe extern "C" fn()>,
4689    pub _g_reserved9: Option<unsafe extern "C" fn()>,
4690}
4691
4692impl ::std::fmt::Debug for GMountOperationClass {
4693    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4694        f.debug_struct(&format!("GMountOperationClass @ {self:p}"))
4695            .field("parent_class", &self.parent_class)
4696            .field("ask_password", &self.ask_password)
4697            .field("ask_question", &self.ask_question)
4698            .field("reply", &self.reply)
4699            .field("aborted", &self.aborted)
4700            .field("show_processes", &self.show_processes)
4701            .field("show_unmount_progress", &self.show_unmount_progress)
4702            .field("_g_reserved1", &self._g_reserved1)
4703            .field("_g_reserved2", &self._g_reserved2)
4704            .field("_g_reserved3", &self._g_reserved3)
4705            .field("_g_reserved4", &self._g_reserved4)
4706            .field("_g_reserved5", &self._g_reserved5)
4707            .field("_g_reserved6", &self._g_reserved6)
4708            .field("_g_reserved7", &self._g_reserved7)
4709            .field("_g_reserved8", &self._g_reserved8)
4710            .field("_g_reserved9", &self._g_reserved9)
4711            .finish()
4712    }
4713}
4714
4715#[repr(C)]
4716#[allow(dead_code)]
4717pub struct _GMountOperationPrivate {
4718    _data: [u8; 0],
4719    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4720}
4721
4722pub type GMountOperationPrivate = _GMountOperationPrivate;
4723
4724#[derive(Copy, Clone)]
4725#[repr(C)]
4726pub struct GNativeSocketAddressClass {
4727    pub parent_class: GSocketAddressClass,
4728}
4729
4730impl ::std::fmt::Debug for GNativeSocketAddressClass {
4731    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4732        f.debug_struct(&format!("GNativeSocketAddressClass @ {self:p}"))
4733            .field("parent_class", &self.parent_class)
4734            .finish()
4735    }
4736}
4737
4738#[repr(C)]
4739#[allow(dead_code)]
4740pub struct _GNativeSocketAddressPrivate {
4741    _data: [u8; 0],
4742    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4743}
4744
4745pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate;
4746
4747#[derive(Copy, Clone)]
4748#[repr(C)]
4749pub struct GNativeVolumeMonitorClass {
4750    pub parent_class: GVolumeMonitorClass,
4751    pub get_mount_for_mount_path:
4752        Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>,
4753}
4754
4755impl ::std::fmt::Debug for GNativeVolumeMonitorClass {
4756    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4757        f.debug_struct(&format!("GNativeVolumeMonitorClass @ {self:p}"))
4758            .field("parent_class", &self.parent_class)
4759            .field("get_mount_for_mount_path", &self.get_mount_for_mount_path)
4760            .finish()
4761    }
4762}
4763
4764#[derive(Copy, Clone)]
4765#[repr(C)]
4766pub struct GNetworkAddressClass {
4767    pub parent_class: gobject::GObjectClass,
4768}
4769
4770impl ::std::fmt::Debug for GNetworkAddressClass {
4771    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4772        f.debug_struct(&format!("GNetworkAddressClass @ {self:p}"))
4773            .field("parent_class", &self.parent_class)
4774            .finish()
4775    }
4776}
4777
4778#[repr(C)]
4779#[allow(dead_code)]
4780pub struct _GNetworkAddressPrivate {
4781    _data: [u8; 0],
4782    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4783}
4784
4785pub type GNetworkAddressPrivate = _GNetworkAddressPrivate;
4786
4787#[derive(Copy, Clone)]
4788#[repr(C)]
4789pub struct GNetworkMonitorInterface {
4790    pub g_iface: gobject::GTypeInterface,
4791    pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>,
4792    pub can_reach: Option<
4793        unsafe extern "C" fn(
4794            *mut GNetworkMonitor,
4795            *mut GSocketConnectable,
4796            *mut GCancellable,
4797            *mut *mut glib::GError,
4798        ) -> gboolean,
4799    >,
4800    pub can_reach_async: Option<
4801        unsafe extern "C" fn(
4802            *mut GNetworkMonitor,
4803            *mut GSocketConnectable,
4804            *mut GCancellable,
4805            GAsyncReadyCallback,
4806            gpointer,
4807        ),
4808    >,
4809    pub can_reach_finish: Option<
4810        unsafe extern "C" fn(
4811            *mut GNetworkMonitor,
4812            *mut GAsyncResult,
4813            *mut *mut glib::GError,
4814        ) -> gboolean,
4815    >,
4816}
4817
4818impl ::std::fmt::Debug for GNetworkMonitorInterface {
4819    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4820        f.debug_struct(&format!("GNetworkMonitorInterface @ {self:p}"))
4821            .field("g_iface", &self.g_iface)
4822            .field("network_changed", &self.network_changed)
4823            .field("can_reach", &self.can_reach)
4824            .field("can_reach_async", &self.can_reach_async)
4825            .field("can_reach_finish", &self.can_reach_finish)
4826            .finish()
4827    }
4828}
4829
4830#[derive(Copy, Clone)]
4831#[repr(C)]
4832pub struct GNetworkServiceClass {
4833    pub parent_class: gobject::GObjectClass,
4834}
4835
4836impl ::std::fmt::Debug for GNetworkServiceClass {
4837    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4838        f.debug_struct(&format!("GNetworkServiceClass @ {self:p}"))
4839            .field("parent_class", &self.parent_class)
4840            .finish()
4841    }
4842}
4843
4844#[repr(C)]
4845#[allow(dead_code)]
4846pub struct _GNetworkServicePrivate {
4847    _data: [u8; 0],
4848    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4849}
4850
4851pub type GNetworkServicePrivate = _GNetworkServicePrivate;
4852
4853#[derive(Copy, Clone)]
4854#[repr(C)]
4855pub struct GOutputMessage {
4856    pub address: *mut GSocketAddress,
4857    pub vectors: *mut GOutputVector,
4858    pub num_vectors: c_uint,
4859    pub bytes_sent: c_uint,
4860    pub control_messages: *mut *mut GSocketControlMessage,
4861    pub num_control_messages: c_uint,
4862}
4863
4864impl ::std::fmt::Debug for GOutputMessage {
4865    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4866        f.debug_struct(&format!("GOutputMessage @ {self:p}"))
4867            .field("address", &self.address)
4868            .field("vectors", &self.vectors)
4869            .field("num_vectors", &self.num_vectors)
4870            .field("bytes_sent", &self.bytes_sent)
4871            .field("control_messages", &self.control_messages)
4872            .field("num_control_messages", &self.num_control_messages)
4873            .finish()
4874    }
4875}
4876
4877#[derive(Copy, Clone)]
4878#[repr(C)]
4879pub struct GOutputStreamClass {
4880    pub parent_class: gobject::GObjectClass,
4881    pub write_fn: Option<
4882        unsafe extern "C" fn(
4883            *mut GOutputStream,
4884            *mut u8,
4885            size_t,
4886            *mut GCancellable,
4887            *mut *mut glib::GError,
4888        ) -> ssize_t,
4889    >,
4890    pub splice: Option<
4891        unsafe extern "C" fn(
4892            *mut GOutputStream,
4893            *mut GInputStream,
4894            GOutputStreamSpliceFlags,
4895            *mut GCancellable,
4896            *mut *mut glib::GError,
4897        ) -> ssize_t,
4898    >,
4899    pub flush: Option<
4900        unsafe extern "C" fn(
4901            *mut GOutputStream,
4902            *mut GCancellable,
4903            *mut *mut glib::GError,
4904        ) -> gboolean,
4905    >,
4906    pub close_fn: Option<
4907        unsafe extern "C" fn(
4908            *mut GOutputStream,
4909            *mut GCancellable,
4910            *mut *mut glib::GError,
4911        ) -> gboolean,
4912    >,
4913    pub write_async: Option<
4914        unsafe extern "C" fn(
4915            *mut GOutputStream,
4916            *mut u8,
4917            size_t,
4918            c_int,
4919            *mut GCancellable,
4920            GAsyncReadyCallback,
4921            gpointer,
4922        ),
4923    >,
4924    pub write_finish: Option<
4925        unsafe extern "C" fn(
4926            *mut GOutputStream,
4927            *mut GAsyncResult,
4928            *mut *mut glib::GError,
4929        ) -> ssize_t,
4930    >,
4931    pub splice_async: Option<
4932        unsafe extern "C" fn(
4933            *mut GOutputStream,
4934            *mut GInputStream,
4935            GOutputStreamSpliceFlags,
4936            c_int,
4937            *mut GCancellable,
4938            GAsyncReadyCallback,
4939            gpointer,
4940        ),
4941    >,
4942    pub splice_finish: Option<
4943        unsafe extern "C" fn(
4944            *mut GOutputStream,
4945            *mut GAsyncResult,
4946            *mut *mut glib::GError,
4947        ) -> ssize_t,
4948    >,
4949    pub flush_async: Option<
4950        unsafe extern "C" fn(
4951            *mut GOutputStream,
4952            c_int,
4953            *mut GCancellable,
4954            GAsyncReadyCallback,
4955            gpointer,
4956        ),
4957    >,
4958    pub flush_finish: Option<
4959        unsafe extern "C" fn(
4960            *mut GOutputStream,
4961            *mut GAsyncResult,
4962            *mut *mut glib::GError,
4963        ) -> gboolean,
4964    >,
4965    pub close_async: Option<
4966        unsafe extern "C" fn(
4967            *mut GOutputStream,
4968            c_int,
4969            *mut GCancellable,
4970            GAsyncReadyCallback,
4971            gpointer,
4972        ),
4973    >,
4974    pub close_finish: Option<
4975        unsafe extern "C" fn(
4976            *mut GOutputStream,
4977            *mut GAsyncResult,
4978            *mut *mut glib::GError,
4979        ) -> gboolean,
4980    >,
4981    pub writev_fn: Option<
4982        unsafe extern "C" fn(
4983            *mut GOutputStream,
4984            *const GOutputVector,
4985            size_t,
4986            *mut size_t,
4987            *mut GCancellable,
4988            *mut *mut glib::GError,
4989        ) -> gboolean,
4990    >,
4991    pub writev_async: Option<
4992        unsafe extern "C" fn(
4993            *mut GOutputStream,
4994            *const GOutputVector,
4995            size_t,
4996            c_int,
4997            *mut GCancellable,
4998            GAsyncReadyCallback,
4999            gpointer,
5000        ),
5001    >,
5002    pub writev_finish: Option<
5003        unsafe extern "C" fn(
5004            *mut GOutputStream,
5005            *mut GAsyncResult,
5006            *mut size_t,
5007            *mut *mut glib::GError,
5008        ) -> gboolean,
5009    >,
5010    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5011    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5012    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5013    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5014    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5015}
5016
5017impl ::std::fmt::Debug for GOutputStreamClass {
5018    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5019        f.debug_struct(&format!("GOutputStreamClass @ {self:p}"))
5020            .field("parent_class", &self.parent_class)
5021            .field("write_fn", &self.write_fn)
5022            .field("splice", &self.splice)
5023            .field("flush", &self.flush)
5024            .field("close_fn", &self.close_fn)
5025            .field("write_async", &self.write_async)
5026            .field("write_finish", &self.write_finish)
5027            .field("splice_async", &self.splice_async)
5028            .field("splice_finish", &self.splice_finish)
5029            .field("flush_async", &self.flush_async)
5030            .field("flush_finish", &self.flush_finish)
5031            .field("close_async", &self.close_async)
5032            .field("close_finish", &self.close_finish)
5033            .field("writev_fn", &self.writev_fn)
5034            .field("writev_async", &self.writev_async)
5035            .field("writev_finish", &self.writev_finish)
5036            .field("_g_reserved4", &self._g_reserved4)
5037            .field("_g_reserved5", &self._g_reserved5)
5038            .field("_g_reserved6", &self._g_reserved6)
5039            .field("_g_reserved7", &self._g_reserved7)
5040            .field("_g_reserved8", &self._g_reserved8)
5041            .finish()
5042    }
5043}
5044
5045#[repr(C)]
5046#[allow(dead_code)]
5047pub struct _GOutputStreamPrivate {
5048    _data: [u8; 0],
5049    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5050}
5051
5052pub type GOutputStreamPrivate = _GOutputStreamPrivate;
5053
5054#[derive(Copy, Clone)]
5055#[repr(C)]
5056pub struct GOutputVector {
5057    pub buffer: gconstpointer,
5058    pub size: size_t,
5059}
5060
5061impl ::std::fmt::Debug for GOutputVector {
5062    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5063        f.debug_struct(&format!("GOutputVector @ {self:p}"))
5064            .field("buffer", &self.buffer)
5065            .field("size", &self.size)
5066            .finish()
5067    }
5068}
5069
5070#[derive(Copy, Clone)]
5071#[repr(C)]
5072pub struct GPermissionClass {
5073    pub parent_class: gobject::GObjectClass,
5074    pub acquire: Option<
5075        unsafe extern "C" fn(
5076            *mut GPermission,
5077            *mut GCancellable,
5078            *mut *mut glib::GError,
5079        ) -> gboolean,
5080    >,
5081    pub acquire_async: Option<
5082        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5083    >,
5084    pub acquire_finish: Option<
5085        unsafe extern "C" fn(
5086            *mut GPermission,
5087            *mut GAsyncResult,
5088            *mut *mut glib::GError,
5089        ) -> gboolean,
5090    >,
5091    pub release: Option<
5092        unsafe extern "C" fn(
5093            *mut GPermission,
5094            *mut GCancellable,
5095            *mut *mut glib::GError,
5096        ) -> gboolean,
5097    >,
5098    pub release_async: Option<
5099        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5100    >,
5101    pub release_finish: Option<
5102        unsafe extern "C" fn(
5103            *mut GPermission,
5104            *mut GAsyncResult,
5105            *mut *mut glib::GError,
5106        ) -> gboolean,
5107    >,
5108    pub reserved: [gpointer; 16],
5109}
5110
5111impl ::std::fmt::Debug for GPermissionClass {
5112    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5113        f.debug_struct(&format!("GPermissionClass @ {self:p}"))
5114            .field("parent_class", &self.parent_class)
5115            .field("acquire", &self.acquire)
5116            .field("acquire_async", &self.acquire_async)
5117            .field("acquire_finish", &self.acquire_finish)
5118            .field("release", &self.release)
5119            .field("release_async", &self.release_async)
5120            .field("release_finish", &self.release_finish)
5121            .field("reserved", &self.reserved)
5122            .finish()
5123    }
5124}
5125
5126#[repr(C)]
5127#[allow(dead_code)]
5128pub struct _GPermissionPrivate {
5129    _data: [u8; 0],
5130    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5131}
5132
5133pub type GPermissionPrivate = _GPermissionPrivate;
5134
5135#[derive(Copy, Clone)]
5136#[repr(C)]
5137pub struct GPollableInputStreamInterface {
5138    pub g_iface: gobject::GTypeInterface,
5139    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5140    pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5141    pub create_source: Option<
5142        unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource,
5143    >,
5144    pub read_nonblocking: Option<
5145        unsafe extern "C" fn(
5146            *mut GPollableInputStream,
5147            *mut u8,
5148            size_t,
5149            *mut *mut glib::GError,
5150        ) -> ssize_t,
5151    >,
5152}
5153
5154impl ::std::fmt::Debug for GPollableInputStreamInterface {
5155    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5156        f.debug_struct(&format!("GPollableInputStreamInterface @ {self:p}"))
5157            .field("g_iface", &self.g_iface)
5158            .field("can_poll", &self.can_poll)
5159            .field("is_readable", &self.is_readable)
5160            .field("create_source", &self.create_source)
5161            .field("read_nonblocking", &self.read_nonblocking)
5162            .finish()
5163    }
5164}
5165
5166#[derive(Copy, Clone)]
5167#[repr(C)]
5168pub struct GPollableOutputStreamInterface {
5169    pub g_iface: gobject::GTypeInterface,
5170    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5171    pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5172    pub create_source: Option<
5173        unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource,
5174    >,
5175    pub write_nonblocking: Option<
5176        unsafe extern "C" fn(
5177            *mut GPollableOutputStream,
5178            *mut u8,
5179            size_t,
5180            *mut *mut glib::GError,
5181        ) -> ssize_t,
5182    >,
5183    pub writev_nonblocking: Option<
5184        unsafe extern "C" fn(
5185            *mut GPollableOutputStream,
5186            *const GOutputVector,
5187            size_t,
5188            *mut size_t,
5189            *mut *mut glib::GError,
5190        ) -> GPollableReturn,
5191    >,
5192}
5193
5194impl ::std::fmt::Debug for GPollableOutputStreamInterface {
5195    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5196        f.debug_struct(&format!("GPollableOutputStreamInterface @ {self:p}"))
5197            .field("g_iface", &self.g_iface)
5198            .field("can_poll", &self.can_poll)
5199            .field("is_writable", &self.is_writable)
5200            .field("create_source", &self.create_source)
5201            .field("write_nonblocking", &self.write_nonblocking)
5202            .field("writev_nonblocking", &self.writev_nonblocking)
5203            .finish()
5204    }
5205}
5206
5207#[derive(Copy, Clone)]
5208#[repr(C)]
5209pub struct GPowerProfileMonitorInterface {
5210    pub g_iface: gobject::GTypeInterface,
5211}
5212
5213impl ::std::fmt::Debug for GPowerProfileMonitorInterface {
5214    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5215        f.debug_struct(&format!("GPowerProfileMonitorInterface @ {self:p}"))
5216            .finish()
5217    }
5218}
5219
5220#[derive(Copy, Clone)]
5221#[repr(C)]
5222pub struct GProxyAddressClass {
5223    pub parent_class: GInetSocketAddressClass,
5224}
5225
5226impl ::std::fmt::Debug for GProxyAddressClass {
5227    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5228        f.debug_struct(&format!("GProxyAddressClass @ {self:p}"))
5229            .field("parent_class", &self.parent_class)
5230            .finish()
5231    }
5232}
5233
5234#[derive(Copy, Clone)]
5235#[repr(C)]
5236pub struct GProxyAddressEnumeratorClass {
5237    pub parent_class: GSocketAddressEnumeratorClass,
5238    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5239    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5240    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5241    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5242    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5243    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5244    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5245}
5246
5247impl ::std::fmt::Debug for GProxyAddressEnumeratorClass {
5248    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5249        f.debug_struct(&format!("GProxyAddressEnumeratorClass @ {self:p}"))
5250            .field("_g_reserved1", &self._g_reserved1)
5251            .field("_g_reserved2", &self._g_reserved2)
5252            .field("_g_reserved3", &self._g_reserved3)
5253            .field("_g_reserved4", &self._g_reserved4)
5254            .field("_g_reserved5", &self._g_reserved5)
5255            .field("_g_reserved6", &self._g_reserved6)
5256            .field("_g_reserved7", &self._g_reserved7)
5257            .finish()
5258    }
5259}
5260
5261#[repr(C)]
5262#[allow(dead_code)]
5263pub struct _GProxyAddressEnumeratorPrivate {
5264    _data: [u8; 0],
5265    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5266}
5267
5268pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate;
5269
5270#[repr(C)]
5271#[allow(dead_code)]
5272pub struct _GProxyAddressPrivate {
5273    _data: [u8; 0],
5274    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5275}
5276
5277pub type GProxyAddressPrivate = _GProxyAddressPrivate;
5278
5279#[derive(Copy, Clone)]
5280#[repr(C)]
5281pub struct GProxyInterface {
5282    pub g_iface: gobject::GTypeInterface,
5283    pub connect: Option<
5284        unsafe extern "C" fn(
5285            *mut GProxy,
5286            *mut GIOStream,
5287            *mut GProxyAddress,
5288            *mut GCancellable,
5289            *mut *mut glib::GError,
5290        ) -> *mut GIOStream,
5291    >,
5292    pub connect_async: Option<
5293        unsafe extern "C" fn(
5294            *mut GProxy,
5295            *mut GIOStream,
5296            *mut GProxyAddress,
5297            *mut GCancellable,
5298            GAsyncReadyCallback,
5299            gpointer,
5300        ),
5301    >,
5302    pub connect_finish: Option<
5303        unsafe extern "C" fn(
5304            *mut GProxy,
5305            *mut GAsyncResult,
5306            *mut *mut glib::GError,
5307        ) -> *mut GIOStream,
5308    >,
5309    pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>,
5310}
5311
5312impl ::std::fmt::Debug for GProxyInterface {
5313    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5314        f.debug_struct(&format!("GProxyInterface @ {self:p}"))
5315            .field("g_iface", &self.g_iface)
5316            .field("connect", &self.connect)
5317            .field("connect_async", &self.connect_async)
5318            .field("connect_finish", &self.connect_finish)
5319            .field("supports_hostname", &self.supports_hostname)
5320            .finish()
5321    }
5322}
5323
5324#[derive(Copy, Clone)]
5325#[repr(C)]
5326pub struct GProxyResolverInterface {
5327    pub g_iface: gobject::GTypeInterface,
5328    pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>,
5329    pub lookup: Option<
5330        unsafe extern "C" fn(
5331            *mut GProxyResolver,
5332            *const c_char,
5333            *mut GCancellable,
5334            *mut *mut glib::GError,
5335        ) -> *mut *mut c_char,
5336    >,
5337    pub lookup_async: Option<
5338        unsafe extern "C" fn(
5339            *mut GProxyResolver,
5340            *const c_char,
5341            *mut GCancellable,
5342            GAsyncReadyCallback,
5343            gpointer,
5344        ),
5345    >,
5346    pub lookup_finish: Option<
5347        unsafe extern "C" fn(
5348            *mut GProxyResolver,
5349            *mut GAsyncResult,
5350            *mut *mut glib::GError,
5351        ) -> *mut *mut c_char,
5352    >,
5353}
5354
5355impl ::std::fmt::Debug for GProxyResolverInterface {
5356    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5357        f.debug_struct(&format!("GProxyResolverInterface @ {self:p}"))
5358            .field("g_iface", &self.g_iface)
5359            .field("is_supported", &self.is_supported)
5360            .field("lookup", &self.lookup)
5361            .field("lookup_async", &self.lookup_async)
5362            .field("lookup_finish", &self.lookup_finish)
5363            .finish()
5364    }
5365}
5366
5367#[derive(Copy, Clone)]
5368#[repr(C)]
5369pub struct GRemoteActionGroupInterface {
5370    pub g_iface: gobject::GTypeInterface,
5371    pub activate_action_full: Option<
5372        unsafe extern "C" fn(
5373            *mut GRemoteActionGroup,
5374            *const c_char,
5375            *mut glib::GVariant,
5376            *mut glib::GVariant,
5377        ),
5378    >,
5379    pub change_action_state_full: Option<
5380        unsafe extern "C" fn(
5381            *mut GRemoteActionGroup,
5382            *const c_char,
5383            *mut glib::GVariant,
5384            *mut glib::GVariant,
5385        ),
5386    >,
5387}
5388
5389impl ::std::fmt::Debug for GRemoteActionGroupInterface {
5390    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5391        f.debug_struct(&format!("GRemoteActionGroupInterface @ {self:p}"))
5392            .field("g_iface", &self.g_iface)
5393            .field("activate_action_full", &self.activate_action_full)
5394            .field("change_action_state_full", &self.change_action_state_full)
5395            .finish()
5396    }
5397}
5398
5399#[derive(Copy, Clone)]
5400#[repr(C)]
5401pub struct GResolverClass {
5402    pub parent_class: gobject::GObjectClass,
5403    pub reload: Option<unsafe extern "C" fn(*mut GResolver)>,
5404    pub lookup_by_name: Option<
5405        unsafe extern "C" fn(
5406            *mut GResolver,
5407            *const c_char,
5408            *mut GCancellable,
5409            *mut *mut glib::GError,
5410        ) -> *mut glib::GList,
5411    >,
5412    pub lookup_by_name_async: Option<
5413        unsafe extern "C" fn(
5414            *mut GResolver,
5415            *const c_char,
5416            *mut GCancellable,
5417            GAsyncReadyCallback,
5418            gpointer,
5419        ),
5420    >,
5421    pub lookup_by_name_finish: Option<
5422        unsafe extern "C" fn(
5423            *mut GResolver,
5424            *mut GAsyncResult,
5425            *mut *mut glib::GError,
5426        ) -> *mut glib::GList,
5427    >,
5428    pub lookup_by_address: Option<
5429        unsafe extern "C" fn(
5430            *mut GResolver,
5431            *mut GInetAddress,
5432            *mut GCancellable,
5433            *mut *mut glib::GError,
5434        ) -> *mut c_char,
5435    >,
5436    pub lookup_by_address_async: Option<
5437        unsafe extern "C" fn(
5438            *mut GResolver,
5439            *mut GInetAddress,
5440            *mut GCancellable,
5441            GAsyncReadyCallback,
5442            gpointer,
5443        ),
5444    >,
5445    pub lookup_by_address_finish: Option<
5446        unsafe extern "C" fn(
5447            *mut GResolver,
5448            *mut GAsyncResult,
5449            *mut *mut glib::GError,
5450        ) -> *mut c_char,
5451    >,
5452    pub lookup_service: Option<
5453        unsafe extern "C" fn(
5454            *mut GResolver,
5455            *const c_char,
5456            *mut GCancellable,
5457            *mut *mut glib::GError,
5458        ) -> *mut glib::GList,
5459    >,
5460    pub lookup_service_async: Option<
5461        unsafe extern "C" fn(
5462            *mut GResolver,
5463            *const c_char,
5464            *mut GCancellable,
5465            GAsyncReadyCallback,
5466            gpointer,
5467        ),
5468    >,
5469    pub lookup_service_finish: Option<
5470        unsafe extern "C" fn(
5471            *mut GResolver,
5472            *mut GAsyncResult,
5473            *mut *mut glib::GError,
5474        ) -> *mut glib::GList,
5475    >,
5476    pub lookup_records: Option<
5477        unsafe extern "C" fn(
5478            *mut GResolver,
5479            *const c_char,
5480            GResolverRecordType,
5481            *mut GCancellable,
5482            *mut *mut glib::GError,
5483        ) -> *mut glib::GList,
5484    >,
5485    pub lookup_records_async: Option<
5486        unsafe extern "C" fn(
5487            *mut GResolver,
5488            *const c_char,
5489            GResolverRecordType,
5490            *mut GCancellable,
5491            GAsyncReadyCallback,
5492            gpointer,
5493        ),
5494    >,
5495    pub lookup_records_finish: Option<
5496        unsafe extern "C" fn(
5497            *mut GResolver,
5498            *mut GAsyncResult,
5499            *mut *mut glib::GError,
5500        ) -> *mut glib::GList,
5501    >,
5502    pub lookup_by_name_with_flags_async: Option<
5503        unsafe extern "C" fn(
5504            *mut GResolver,
5505            *const c_char,
5506            GResolverNameLookupFlags,
5507            *mut GCancellable,
5508            GAsyncReadyCallback,
5509            gpointer,
5510        ),
5511    >,
5512    pub lookup_by_name_with_flags_finish: Option<
5513        unsafe extern "C" fn(
5514            *mut GResolver,
5515            *mut GAsyncResult,
5516            *mut *mut glib::GError,
5517        ) -> *mut glib::GList,
5518    >,
5519    pub lookup_by_name_with_flags: Option<
5520        unsafe extern "C" fn(
5521            *mut GResolver,
5522            *const c_char,
5523            GResolverNameLookupFlags,
5524            *mut GCancellable,
5525            *mut *mut glib::GError,
5526        ) -> *mut glib::GList,
5527    >,
5528}
5529
5530impl ::std::fmt::Debug for GResolverClass {
5531    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5532        f.debug_struct(&format!("GResolverClass @ {self:p}"))
5533            .field("parent_class", &self.parent_class)
5534            .field("reload", &self.reload)
5535            .field("lookup_by_name", &self.lookup_by_name)
5536            .field("lookup_by_name_async", &self.lookup_by_name_async)
5537            .field("lookup_by_name_finish", &self.lookup_by_name_finish)
5538            .field("lookup_by_address", &self.lookup_by_address)
5539            .field("lookup_by_address_async", &self.lookup_by_address_async)
5540            .field("lookup_by_address_finish", &self.lookup_by_address_finish)
5541            .field("lookup_service", &self.lookup_service)
5542            .field("lookup_service_async", &self.lookup_service_async)
5543            .field("lookup_service_finish", &self.lookup_service_finish)
5544            .field("lookup_records", &self.lookup_records)
5545            .field("lookup_records_async", &self.lookup_records_async)
5546            .field("lookup_records_finish", &self.lookup_records_finish)
5547            .field(
5548                "lookup_by_name_with_flags_async",
5549                &self.lookup_by_name_with_flags_async,
5550            )
5551            .field(
5552                "lookup_by_name_with_flags_finish",
5553                &self.lookup_by_name_with_flags_finish,
5554            )
5555            .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags)
5556            .finish()
5557    }
5558}
5559
5560#[repr(C)]
5561#[allow(dead_code)]
5562pub struct _GResolverPrivate {
5563    _data: [u8; 0],
5564    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5565}
5566
5567pub type GResolverPrivate = _GResolverPrivate;
5568
5569#[repr(C)]
5570#[allow(dead_code)]
5571pub struct GResource {
5572    _data: [u8; 0],
5573    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5574}
5575
5576impl ::std::fmt::Debug for GResource {
5577    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5578        f.debug_struct(&format!("GResource @ {self:p}")).finish()
5579    }
5580}
5581
5582#[derive(Copy, Clone)]
5583#[repr(C)]
5584pub struct GSeekableIface {
5585    pub g_iface: gobject::GTypeInterface,
5586    pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>,
5587    pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5588    pub seek: Option<
5589        unsafe extern "C" fn(
5590            *mut GSeekable,
5591            i64,
5592            glib::GSeekType,
5593            *mut GCancellable,
5594            *mut *mut glib::GError,
5595        ) -> gboolean,
5596    >,
5597    pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5598    pub truncate_fn: Option<
5599        unsafe extern "C" fn(
5600            *mut GSeekable,
5601            i64,
5602            *mut GCancellable,
5603            *mut *mut glib::GError,
5604        ) -> gboolean,
5605    >,
5606}
5607
5608impl ::std::fmt::Debug for GSeekableIface {
5609    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5610        f.debug_struct(&format!("GSeekableIface @ {self:p}"))
5611            .field("g_iface", &self.g_iface)
5612            .field("tell", &self.tell)
5613            .field("can_seek", &self.can_seek)
5614            .field("seek", &self.seek)
5615            .field("can_truncate", &self.can_truncate)
5616            .field("truncate_fn", &self.truncate_fn)
5617            .finish()
5618    }
5619}
5620
5621#[derive(Copy, Clone)]
5622#[repr(C)]
5623pub struct GSettingsBackendClass {
5624    pub parent_class: gobject::GObjectClass,
5625    pub read: Option<
5626        unsafe extern "C" fn(
5627            *mut GSettingsBackend,
5628            *const c_char,
5629            *const glib::GVariantType,
5630            gboolean,
5631        ) -> *mut glib::GVariant,
5632    >,
5633    pub get_writable:
5634        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>,
5635    pub write: Option<
5636        unsafe extern "C" fn(
5637            *mut GSettingsBackend,
5638            *const c_char,
5639            *mut glib::GVariant,
5640            gpointer,
5641        ) -> gboolean,
5642    >,
5643    pub write_tree:
5644        Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>,
5645    pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>,
5646    pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5647    pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5648    pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>,
5649    pub get_permission:
5650        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>,
5651    pub read_user_value: Option<
5652        unsafe extern "C" fn(
5653            *mut GSettingsBackend,
5654            *const c_char,
5655            *const glib::GVariantType,
5656        ) -> *mut glib::GVariant,
5657    >,
5658    pub padding: [gpointer; 23],
5659}
5660
5661impl ::std::fmt::Debug for GSettingsBackendClass {
5662    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5663        f.debug_struct(&format!("GSettingsBackendClass @ {self:p}"))
5664            .field("parent_class", &self.parent_class)
5665            .field("read", &self.read)
5666            .field("get_writable", &self.get_writable)
5667            .field("write", &self.write)
5668            .field("write_tree", &self.write_tree)
5669            .field("reset", &self.reset)
5670            .field("subscribe", &self.subscribe)
5671            .field("unsubscribe", &self.unsubscribe)
5672            .field("sync", &self.sync)
5673            .field("get_permission", &self.get_permission)
5674            .field("read_user_value", &self.read_user_value)
5675            .finish()
5676    }
5677}
5678
5679#[repr(C)]
5680#[allow(dead_code)]
5681pub struct _GSettingsBackendPrivate {
5682    _data: [u8; 0],
5683    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5684}
5685
5686pub type GSettingsBackendPrivate = _GSettingsBackendPrivate;
5687
5688#[derive(Copy, Clone)]
5689#[repr(C)]
5690pub struct GSettingsClass {
5691    pub parent_class: gobject::GObjectClass,
5692    pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5693    pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5694    pub writable_change_event:
5695        Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>,
5696    pub change_event:
5697        Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>,
5698    pub padding: [gpointer; 20],
5699}
5700
5701impl ::std::fmt::Debug for GSettingsClass {
5702    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5703        f.debug_struct(&format!("GSettingsClass @ {self:p}"))
5704            .field("parent_class", &self.parent_class)
5705            .field("writable_changed", &self.writable_changed)
5706            .field("changed", &self.changed)
5707            .field("writable_change_event", &self.writable_change_event)
5708            .field("change_event", &self.change_event)
5709            .field("padding", &self.padding)
5710            .finish()
5711    }
5712}
5713
5714#[repr(C)]
5715#[allow(dead_code)]
5716pub struct _GSettingsPrivate {
5717    _data: [u8; 0],
5718    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5719}
5720
5721pub type GSettingsPrivate = _GSettingsPrivate;
5722
5723#[repr(C)]
5724#[allow(dead_code)]
5725pub struct GSettingsSchema {
5726    _data: [u8; 0],
5727    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5728}
5729
5730impl ::std::fmt::Debug for GSettingsSchema {
5731    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5732        f.debug_struct(&format!("GSettingsSchema @ {self:p}"))
5733            .finish()
5734    }
5735}
5736
5737#[repr(C)]
5738#[allow(dead_code)]
5739pub struct GSettingsSchemaKey {
5740    _data: [u8; 0],
5741    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5742}
5743
5744impl ::std::fmt::Debug for GSettingsSchemaKey {
5745    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5746        f.debug_struct(&format!("GSettingsSchemaKey @ {self:p}"))
5747            .finish()
5748    }
5749}
5750
5751#[repr(C)]
5752#[allow(dead_code)]
5753pub struct GSettingsSchemaSource {
5754    _data: [u8; 0],
5755    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5756}
5757
5758impl ::std::fmt::Debug for GSettingsSchemaSource {
5759    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5760        f.debug_struct(&format!("GSettingsSchemaSource @ {self:p}"))
5761            .finish()
5762    }
5763}
5764
5765#[derive(Copy, Clone)]
5766#[repr(C)]
5767pub struct GSimpleActionGroupClass {
5768    pub parent_class: gobject::GObjectClass,
5769    pub padding: [gpointer; 12],
5770}
5771
5772impl ::std::fmt::Debug for GSimpleActionGroupClass {
5773    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5774        f.debug_struct(&format!("GSimpleActionGroupClass @ {self:p}"))
5775            .finish()
5776    }
5777}
5778
5779#[repr(C)]
5780#[allow(dead_code)]
5781pub struct _GSimpleActionGroupPrivate {
5782    _data: [u8; 0],
5783    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5784}
5785
5786pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate;
5787
5788#[repr(C)]
5789#[allow(dead_code)]
5790pub struct _GSimpleAsyncResultClass {
5791    _data: [u8; 0],
5792    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5793}
5794
5795pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass;
5796
5797#[derive(Copy, Clone)]
5798#[repr(C)]
5799pub struct GSimpleProxyResolverClass {
5800    pub parent_class: gobject::GObjectClass,
5801    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5802    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5803    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5804    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5805    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5806}
5807
5808impl ::std::fmt::Debug for GSimpleProxyResolverClass {
5809    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5810        f.debug_struct(&format!("GSimpleProxyResolverClass @ {self:p}"))
5811            .field("parent_class", &self.parent_class)
5812            .field("_g_reserved1", &self._g_reserved1)
5813            .field("_g_reserved2", &self._g_reserved2)
5814            .field("_g_reserved3", &self._g_reserved3)
5815            .field("_g_reserved4", &self._g_reserved4)
5816            .field("_g_reserved5", &self._g_reserved5)
5817            .finish()
5818    }
5819}
5820
5821#[repr(C)]
5822#[allow(dead_code)]
5823pub struct _GSimpleProxyResolverPrivate {
5824    _data: [u8; 0],
5825    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5826}
5827
5828pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate;
5829
5830#[derive(Copy, Clone)]
5831#[repr(C)]
5832pub struct GSocketAddressClass {
5833    pub parent_class: gobject::GObjectClass,
5834    pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>,
5835    pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>,
5836    pub to_native: Option<
5837        unsafe extern "C" fn(
5838            *mut GSocketAddress,
5839            gpointer,
5840            size_t,
5841            *mut *mut glib::GError,
5842        ) -> gboolean,
5843    >,
5844}
5845
5846impl ::std::fmt::Debug for GSocketAddressClass {
5847    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5848        f.debug_struct(&format!("GSocketAddressClass @ {self:p}"))
5849            .field("parent_class", &self.parent_class)
5850            .field("get_family", &self.get_family)
5851            .field("get_native_size", &self.get_native_size)
5852            .field("to_native", &self.to_native)
5853            .finish()
5854    }
5855}
5856
5857#[derive(Copy, Clone)]
5858#[repr(C)]
5859pub struct GSocketAddressEnumeratorClass {
5860    pub parent_class: gobject::GObjectClass,
5861    pub next: Option<
5862        unsafe extern "C" fn(
5863            *mut GSocketAddressEnumerator,
5864            *mut GCancellable,
5865            *mut *mut glib::GError,
5866        ) -> *mut GSocketAddress,
5867    >,
5868    pub next_async: Option<
5869        unsafe extern "C" fn(
5870            *mut GSocketAddressEnumerator,
5871            *mut GCancellable,
5872            GAsyncReadyCallback,
5873            gpointer,
5874        ),
5875    >,
5876    pub next_finish: Option<
5877        unsafe extern "C" fn(
5878            *mut GSocketAddressEnumerator,
5879            *mut GAsyncResult,
5880            *mut *mut glib::GError,
5881        ) -> *mut GSocketAddress,
5882    >,
5883}
5884
5885impl ::std::fmt::Debug for GSocketAddressEnumeratorClass {
5886    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5887        f.debug_struct(&format!("GSocketAddressEnumeratorClass @ {self:p}"))
5888            .field("next", &self.next)
5889            .field("next_async", &self.next_async)
5890            .field("next_finish", &self.next_finish)
5891            .finish()
5892    }
5893}
5894
5895#[derive(Copy, Clone)]
5896#[repr(C)]
5897pub struct GSocketClass {
5898    pub parent_class: gobject::GObjectClass,
5899    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5900    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5901    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5902    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5903    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5904    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5905    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5906    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5907    pub _g_reserved9: Option<unsafe extern "C" fn()>,
5908    pub _g_reserved10: Option<unsafe extern "C" fn()>,
5909}
5910
5911impl ::std::fmt::Debug for GSocketClass {
5912    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5913        f.debug_struct(&format!("GSocketClass @ {self:p}"))
5914            .field("parent_class", &self.parent_class)
5915            .field("_g_reserved1", &self._g_reserved1)
5916            .field("_g_reserved2", &self._g_reserved2)
5917            .field("_g_reserved3", &self._g_reserved3)
5918            .field("_g_reserved4", &self._g_reserved4)
5919            .field("_g_reserved5", &self._g_reserved5)
5920            .field("_g_reserved6", &self._g_reserved6)
5921            .field("_g_reserved7", &self._g_reserved7)
5922            .field("_g_reserved8", &self._g_reserved8)
5923            .field("_g_reserved9", &self._g_reserved9)
5924            .field("_g_reserved10", &self._g_reserved10)
5925            .finish()
5926    }
5927}
5928
5929#[derive(Copy, Clone)]
5930#[repr(C)]
5931pub struct GSocketClientClass {
5932    pub parent_class: gobject::GObjectClass,
5933    pub event: Option<
5934        unsafe extern "C" fn(
5935            *mut GSocketClient,
5936            GSocketClientEvent,
5937            *mut GSocketConnectable,
5938            *mut GIOStream,
5939        ),
5940    >,
5941    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5942    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5943    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5944    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5945}
5946
5947impl ::std::fmt::Debug for GSocketClientClass {
5948    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5949        f.debug_struct(&format!("GSocketClientClass @ {self:p}"))
5950            .field("parent_class", &self.parent_class)
5951            .field("event", &self.event)
5952            .field("_g_reserved1", &self._g_reserved1)
5953            .field("_g_reserved2", &self._g_reserved2)
5954            .field("_g_reserved3", &self._g_reserved3)
5955            .field("_g_reserved4", &self._g_reserved4)
5956            .finish()
5957    }
5958}
5959
5960#[repr(C)]
5961#[allow(dead_code)]
5962pub struct _GSocketClientPrivate {
5963    _data: [u8; 0],
5964    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5965}
5966
5967pub type GSocketClientPrivate = _GSocketClientPrivate;
5968
5969#[derive(Copy, Clone)]
5970#[repr(C)]
5971pub struct GSocketConnectableIface {
5972    pub g_iface: gobject::GTypeInterface,
5973    pub enumerate:
5974        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5975    pub proxy_enumerate:
5976        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5977    pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>,
5978}
5979
5980impl ::std::fmt::Debug for GSocketConnectableIface {
5981    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5982        f.debug_struct(&format!("GSocketConnectableIface @ {self:p}"))
5983            .field("g_iface", &self.g_iface)
5984            .field("enumerate", &self.enumerate)
5985            .field("proxy_enumerate", &self.proxy_enumerate)
5986            .field("to_string", &self.to_string)
5987            .finish()
5988    }
5989}
5990
5991#[derive(Copy, Clone)]
5992#[repr(C)]
5993pub struct GSocketConnectionClass {
5994    pub parent_class: GIOStreamClass,
5995    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5996    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5997    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5998    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5999    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6000    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6001}
6002
6003impl ::std::fmt::Debug for GSocketConnectionClass {
6004    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6005        f.debug_struct(&format!("GSocketConnectionClass @ {self:p}"))
6006            .field("parent_class", &self.parent_class)
6007            .field("_g_reserved1", &self._g_reserved1)
6008            .field("_g_reserved2", &self._g_reserved2)
6009            .field("_g_reserved3", &self._g_reserved3)
6010            .field("_g_reserved4", &self._g_reserved4)
6011            .field("_g_reserved5", &self._g_reserved5)
6012            .field("_g_reserved6", &self._g_reserved6)
6013            .finish()
6014    }
6015}
6016
6017#[repr(C)]
6018#[allow(dead_code)]
6019pub struct _GSocketConnectionPrivate {
6020    _data: [u8; 0],
6021    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6022}
6023
6024pub type GSocketConnectionPrivate = _GSocketConnectionPrivate;
6025
6026#[derive(Copy, Clone)]
6027#[repr(C)]
6028pub struct GSocketControlMessageClass {
6029    pub parent_class: gobject::GObjectClass,
6030    pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>,
6031    pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6032    pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
6033    pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>,
6034    pub deserialize:
6035        Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>,
6036    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6037    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6038    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6039    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6040    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6041}
6042
6043impl ::std::fmt::Debug for GSocketControlMessageClass {
6044    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6045        f.debug_struct(&format!("GSocketControlMessageClass @ {self:p}"))
6046            .field("parent_class", &self.parent_class)
6047            .field("get_size", &self.get_size)
6048            .field("get_level", &self.get_level)
6049            .field("get_type", &self.get_type)
6050            .field("serialize", &self.serialize)
6051            .field("deserialize", &self.deserialize)
6052            .field("_g_reserved1", &self._g_reserved1)
6053            .field("_g_reserved2", &self._g_reserved2)
6054            .field("_g_reserved3", &self._g_reserved3)
6055            .field("_g_reserved4", &self._g_reserved4)
6056            .field("_g_reserved5", &self._g_reserved5)
6057            .finish()
6058    }
6059}
6060
6061#[repr(C)]
6062#[allow(dead_code)]
6063pub struct _GSocketControlMessagePrivate {
6064    _data: [u8; 0],
6065    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6066}
6067
6068pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate;
6069
6070#[derive(Copy, Clone)]
6071#[repr(C)]
6072pub struct GSocketListenerClass {
6073    pub parent_class: gobject::GObjectClass,
6074    pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>,
6075    pub event:
6076        Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>,
6077    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6078    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6079    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6080    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6081    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6082}
6083
6084impl ::std::fmt::Debug for GSocketListenerClass {
6085    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6086        f.debug_struct(&format!("GSocketListenerClass @ {self:p}"))
6087            .field("parent_class", &self.parent_class)
6088            .field("changed", &self.changed)
6089            .field("event", &self.event)
6090            .field("_g_reserved2", &self._g_reserved2)
6091            .field("_g_reserved3", &self._g_reserved3)
6092            .field("_g_reserved4", &self._g_reserved4)
6093            .field("_g_reserved5", &self._g_reserved5)
6094            .field("_g_reserved6", &self._g_reserved6)
6095            .finish()
6096    }
6097}
6098
6099#[repr(C)]
6100#[allow(dead_code)]
6101pub struct _GSocketListenerPrivate {
6102    _data: [u8; 0],
6103    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6104}
6105
6106pub type GSocketListenerPrivate = _GSocketListenerPrivate;
6107
6108#[repr(C)]
6109#[allow(dead_code)]
6110pub struct _GSocketPrivate {
6111    _data: [u8; 0],
6112    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6113}
6114
6115pub type GSocketPrivate = _GSocketPrivate;
6116
6117#[derive(Copy, Clone)]
6118#[repr(C)]
6119pub struct GSocketServiceClass {
6120    pub parent_class: GSocketListenerClass,
6121    pub incoming: Option<
6122        unsafe extern "C" fn(
6123            *mut GSocketService,
6124            *mut GSocketConnection,
6125            *mut gobject::GObject,
6126        ) -> gboolean,
6127    >,
6128    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6129    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6130    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6131    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6132    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6133    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6134}
6135
6136impl ::std::fmt::Debug for GSocketServiceClass {
6137    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6138        f.debug_struct(&format!("GSocketServiceClass @ {self:p}"))
6139            .field("parent_class", &self.parent_class)
6140            .field("incoming", &self.incoming)
6141            .field("_g_reserved1", &self._g_reserved1)
6142            .field("_g_reserved2", &self._g_reserved2)
6143            .field("_g_reserved3", &self._g_reserved3)
6144            .field("_g_reserved4", &self._g_reserved4)
6145            .field("_g_reserved5", &self._g_reserved5)
6146            .field("_g_reserved6", &self._g_reserved6)
6147            .finish()
6148    }
6149}
6150
6151#[repr(C)]
6152#[allow(dead_code)]
6153pub struct _GSocketServicePrivate {
6154    _data: [u8; 0],
6155    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6156}
6157
6158pub type GSocketServicePrivate = _GSocketServicePrivate;
6159
6160#[repr(C)]
6161#[allow(dead_code)]
6162pub struct GSrvTarget {
6163    _data: [u8; 0],
6164    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6165}
6166
6167impl ::std::fmt::Debug for GSrvTarget {
6168    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6169        f.debug_struct(&format!("GSrvTarget @ {self:p}")).finish()
6170    }
6171}
6172
6173#[derive(Copy, Clone)]
6174#[repr(C)]
6175pub struct GStaticResource {
6176    pub data: *const u8,
6177    pub data_len: size_t,
6178    pub resource: *mut GResource,
6179    pub next: *mut GStaticResource,
6180    pub padding: gpointer,
6181}
6182
6183impl ::std::fmt::Debug for GStaticResource {
6184    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6185        f.debug_struct(&format!("GStaticResource @ {self:p}"))
6186            .finish()
6187    }
6188}
6189
6190#[repr(C)]
6191#[allow(dead_code)]
6192pub struct _GTaskClass {
6193    _data: [u8; 0],
6194    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6195}
6196
6197pub type GTaskClass = _GTaskClass;
6198
6199#[derive(Copy, Clone)]
6200#[repr(C)]
6201pub struct GTcpConnectionClass {
6202    pub parent_class: GSocketConnectionClass,
6203}
6204
6205impl ::std::fmt::Debug for GTcpConnectionClass {
6206    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6207        f.debug_struct(&format!("GTcpConnectionClass @ {self:p}"))
6208            .field("parent_class", &self.parent_class)
6209            .finish()
6210    }
6211}
6212
6213#[repr(C)]
6214#[allow(dead_code)]
6215pub struct _GTcpConnectionPrivate {
6216    _data: [u8; 0],
6217    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6218}
6219
6220pub type GTcpConnectionPrivate = _GTcpConnectionPrivate;
6221
6222#[derive(Copy, Clone)]
6223#[repr(C)]
6224pub struct GTcpWrapperConnectionClass {
6225    pub parent_class: GTcpConnectionClass,
6226}
6227
6228impl ::std::fmt::Debug for GTcpWrapperConnectionClass {
6229    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6230        f.debug_struct(&format!("GTcpWrapperConnectionClass @ {self:p}"))
6231            .field("parent_class", &self.parent_class)
6232            .finish()
6233    }
6234}
6235
6236#[repr(C)]
6237#[allow(dead_code)]
6238pub struct _GTcpWrapperConnectionPrivate {
6239    _data: [u8; 0],
6240    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6241}
6242
6243pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate;
6244
6245#[repr(C)]
6246#[allow(dead_code)]
6247pub struct _GThemedIconClass {
6248    _data: [u8; 0],
6249    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6250}
6251
6252pub type GThemedIconClass = _GThemedIconClass;
6253
6254#[derive(Copy, Clone)]
6255#[repr(C)]
6256pub struct GThreadedSocketServiceClass {
6257    pub parent_class: GSocketServiceClass,
6258    pub run: Option<
6259        unsafe extern "C" fn(
6260            *mut GThreadedSocketService,
6261            *mut GSocketConnection,
6262            *mut gobject::GObject,
6263        ) -> gboolean,
6264    >,
6265    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6266    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6267    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6268    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6269    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6270}
6271
6272impl ::std::fmt::Debug for GThreadedSocketServiceClass {
6273    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6274        f.debug_struct(&format!("GThreadedSocketServiceClass @ {self:p}"))
6275            .field("parent_class", &self.parent_class)
6276            .field("run", &self.run)
6277            .field("_g_reserved1", &self._g_reserved1)
6278            .field("_g_reserved2", &self._g_reserved2)
6279            .field("_g_reserved3", &self._g_reserved3)
6280            .field("_g_reserved4", &self._g_reserved4)
6281            .field("_g_reserved5", &self._g_reserved5)
6282            .finish()
6283    }
6284}
6285
6286#[repr(C)]
6287#[allow(dead_code)]
6288pub struct _GThreadedSocketServicePrivate {
6289    _data: [u8; 0],
6290    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6291}
6292
6293pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate;
6294
6295#[derive(Copy, Clone)]
6296#[repr(C)]
6297pub struct GTlsBackendInterface {
6298    pub g_iface: gobject::GTypeInterface,
6299    pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6300    pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>,
6301    pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6302    pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6303    pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>,
6304    pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>,
6305    pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6306    pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6307    pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6308}
6309
6310impl ::std::fmt::Debug for GTlsBackendInterface {
6311    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6312        f.debug_struct(&format!("GTlsBackendInterface @ {self:p}"))
6313            .field("g_iface", &self.g_iface)
6314            .field("supports_tls", &self.supports_tls)
6315            .field("get_certificate_type", &self.get_certificate_type)
6316            .field(
6317                "get_client_connection_type",
6318                &self.get_client_connection_type,
6319            )
6320            .field(
6321                "get_server_connection_type",
6322                &self.get_server_connection_type,
6323            )
6324            .field("get_file_database_type", &self.get_file_database_type)
6325            .field("get_default_database", &self.get_default_database)
6326            .field("supports_dtls", &self.supports_dtls)
6327            .field(
6328                "get_dtls_client_connection_type",
6329                &self.get_dtls_client_connection_type,
6330            )
6331            .field(
6332                "get_dtls_server_connection_type",
6333                &self.get_dtls_server_connection_type,
6334            )
6335            .finish()
6336    }
6337}
6338
6339#[derive(Copy, Clone)]
6340#[repr(C)]
6341pub struct GTlsCertificateClass {
6342    pub parent_class: gobject::GObjectClass,
6343    pub verify: Option<
6344        unsafe extern "C" fn(
6345            *mut GTlsCertificate,
6346            *mut GSocketConnectable,
6347            *mut GTlsCertificate,
6348        ) -> GTlsCertificateFlags,
6349    >,
6350    pub padding: [gpointer; 8],
6351}
6352
6353impl ::std::fmt::Debug for GTlsCertificateClass {
6354    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6355        f.debug_struct(&format!("GTlsCertificateClass @ {self:p}"))
6356            .field("parent_class", &self.parent_class)
6357            .field("verify", &self.verify)
6358            .finish()
6359    }
6360}
6361
6362#[repr(C)]
6363#[allow(dead_code)]
6364pub struct _GTlsCertificatePrivate {
6365    _data: [u8; 0],
6366    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6367}
6368
6369pub type GTlsCertificatePrivate = _GTlsCertificatePrivate;
6370
6371#[derive(Copy, Clone)]
6372#[repr(C)]
6373pub struct GTlsClientConnectionInterface {
6374    pub g_iface: gobject::GTypeInterface,
6375    pub copy_session_state:
6376        Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>,
6377}
6378
6379impl ::std::fmt::Debug for GTlsClientConnectionInterface {
6380    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6381        f.debug_struct(&format!("GTlsClientConnectionInterface @ {self:p}"))
6382            .field("g_iface", &self.g_iface)
6383            .field("copy_session_state", &self.copy_session_state)
6384            .finish()
6385    }
6386}
6387
6388#[derive(Copy, Clone)]
6389#[repr(C)]
6390pub struct GTlsConnectionClass {
6391    pub parent_class: GIOStreamClass,
6392    pub accept_certificate: Option<
6393        unsafe extern "C" fn(
6394            *mut GTlsConnection,
6395            *mut GTlsCertificate,
6396            GTlsCertificateFlags,
6397        ) -> gboolean,
6398    >,
6399    pub handshake: Option<
6400        unsafe extern "C" fn(
6401            *mut GTlsConnection,
6402            *mut GCancellable,
6403            *mut *mut glib::GError,
6404        ) -> gboolean,
6405    >,
6406    pub handshake_async: Option<
6407        unsafe extern "C" fn(
6408            *mut GTlsConnection,
6409            c_int,
6410            *mut GCancellable,
6411            GAsyncReadyCallback,
6412            gpointer,
6413        ),
6414    >,
6415    pub handshake_finish: Option<
6416        unsafe extern "C" fn(
6417            *mut GTlsConnection,
6418            *mut GAsyncResult,
6419            *mut *mut glib::GError,
6420        ) -> gboolean,
6421    >,
6422    pub get_binding_data: Option<
6423        unsafe extern "C" fn(
6424            *mut GTlsConnection,
6425            GTlsChannelBindingType,
6426            *mut glib::GByteArray,
6427            *mut *mut glib::GError,
6428        ) -> gboolean,
6429    >,
6430    pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut GTlsConnection) -> *const c_char>,
6431    pub padding: [gpointer; 6],
6432}
6433
6434impl ::std::fmt::Debug for GTlsConnectionClass {
6435    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6436        f.debug_struct(&format!("GTlsConnectionClass @ {self:p}"))
6437            .field("parent_class", &self.parent_class)
6438            .field("accept_certificate", &self.accept_certificate)
6439            .field("handshake", &self.handshake)
6440            .field("handshake_async", &self.handshake_async)
6441            .field("handshake_finish", &self.handshake_finish)
6442            .field("get_binding_data", &self.get_binding_data)
6443            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
6444            .finish()
6445    }
6446}
6447
6448#[repr(C)]
6449#[allow(dead_code)]
6450pub struct _GTlsConnectionPrivate {
6451    _data: [u8; 0],
6452    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6453}
6454
6455pub type GTlsConnectionPrivate = _GTlsConnectionPrivate;
6456
6457#[derive(Copy, Clone)]
6458#[repr(C)]
6459pub struct GTlsDatabaseClass {
6460    pub parent_class: gobject::GObjectClass,
6461    pub verify_chain: Option<
6462        unsafe extern "C" fn(
6463            *mut GTlsDatabase,
6464            *mut GTlsCertificate,
6465            *const c_char,
6466            *mut GSocketConnectable,
6467            *mut GTlsInteraction,
6468            GTlsDatabaseVerifyFlags,
6469            *mut GCancellable,
6470            *mut *mut glib::GError,
6471        ) -> GTlsCertificateFlags,
6472    >,
6473    pub verify_chain_async: Option<
6474        unsafe extern "C" fn(
6475            *mut GTlsDatabase,
6476            *mut GTlsCertificate,
6477            *const c_char,
6478            *mut GSocketConnectable,
6479            *mut GTlsInteraction,
6480            GTlsDatabaseVerifyFlags,
6481            *mut GCancellable,
6482            GAsyncReadyCallback,
6483            gpointer,
6484        ),
6485    >,
6486    pub verify_chain_finish: Option<
6487        unsafe extern "C" fn(
6488            *mut GTlsDatabase,
6489            *mut GAsyncResult,
6490            *mut *mut glib::GError,
6491        ) -> GTlsCertificateFlags,
6492    >,
6493    pub create_certificate_handle:
6494        Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>,
6495    pub lookup_certificate_for_handle: Option<
6496        unsafe extern "C" fn(
6497            *mut GTlsDatabase,
6498            *const c_char,
6499            *mut GTlsInteraction,
6500            GTlsDatabaseLookupFlags,
6501            *mut GCancellable,
6502            *mut *mut glib::GError,
6503        ) -> *mut GTlsCertificate,
6504    >,
6505    pub lookup_certificate_for_handle_async: Option<
6506        unsafe extern "C" fn(
6507            *mut GTlsDatabase,
6508            *const c_char,
6509            *mut GTlsInteraction,
6510            GTlsDatabaseLookupFlags,
6511            *mut GCancellable,
6512            GAsyncReadyCallback,
6513            gpointer,
6514        ),
6515    >,
6516    pub lookup_certificate_for_handle_finish: Option<
6517        unsafe extern "C" fn(
6518            *mut GTlsDatabase,
6519            *mut GAsyncResult,
6520            *mut *mut glib::GError,
6521        ) -> *mut GTlsCertificate,
6522    >,
6523    pub lookup_certificate_issuer: Option<
6524        unsafe extern "C" fn(
6525            *mut GTlsDatabase,
6526            *mut GTlsCertificate,
6527            *mut GTlsInteraction,
6528            GTlsDatabaseLookupFlags,
6529            *mut GCancellable,
6530            *mut *mut glib::GError,
6531        ) -> *mut GTlsCertificate,
6532    >,
6533    pub lookup_certificate_issuer_async: Option<
6534        unsafe extern "C" fn(
6535            *mut GTlsDatabase,
6536            *mut GTlsCertificate,
6537            *mut GTlsInteraction,
6538            GTlsDatabaseLookupFlags,
6539            *mut GCancellable,
6540            GAsyncReadyCallback,
6541            gpointer,
6542        ),
6543    >,
6544    pub lookup_certificate_issuer_finish: Option<
6545        unsafe extern "C" fn(
6546            *mut GTlsDatabase,
6547            *mut GAsyncResult,
6548            *mut *mut glib::GError,
6549        ) -> *mut GTlsCertificate,
6550    >,
6551    pub lookup_certificates_issued_by: Option<
6552        unsafe extern "C" fn(
6553            *mut GTlsDatabase,
6554            *mut glib::GByteArray,
6555            *mut GTlsInteraction,
6556            GTlsDatabaseLookupFlags,
6557            *mut GCancellable,
6558            *mut *mut glib::GError,
6559        ) -> *mut glib::GList,
6560    >,
6561    pub lookup_certificates_issued_by_async: Option<
6562        unsafe extern "C" fn(
6563            *mut GTlsDatabase,
6564            *mut glib::GByteArray,
6565            *mut GTlsInteraction,
6566            GTlsDatabaseLookupFlags,
6567            *mut GCancellable,
6568            GAsyncReadyCallback,
6569            gpointer,
6570        ),
6571    >,
6572    pub lookup_certificates_issued_by_finish: Option<
6573        unsafe extern "C" fn(
6574            *mut GTlsDatabase,
6575            *mut GAsyncResult,
6576            *mut *mut glib::GError,
6577        ) -> *mut glib::GList,
6578    >,
6579    pub padding: [gpointer; 16],
6580}
6581
6582impl ::std::fmt::Debug for GTlsDatabaseClass {
6583    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6584        f.debug_struct(&format!("GTlsDatabaseClass @ {self:p}"))
6585            .field("parent_class", &self.parent_class)
6586            .field("verify_chain", &self.verify_chain)
6587            .field("verify_chain_async", &self.verify_chain_async)
6588            .field("verify_chain_finish", &self.verify_chain_finish)
6589            .field("create_certificate_handle", &self.create_certificate_handle)
6590            .field(
6591                "lookup_certificate_for_handle",
6592                &self.lookup_certificate_for_handle,
6593            )
6594            .field(
6595                "lookup_certificate_for_handle_async",
6596                &self.lookup_certificate_for_handle_async,
6597            )
6598            .field(
6599                "lookup_certificate_for_handle_finish",
6600                &self.lookup_certificate_for_handle_finish,
6601            )
6602            .field("lookup_certificate_issuer", &self.lookup_certificate_issuer)
6603            .field(
6604                "lookup_certificate_issuer_async",
6605                &self.lookup_certificate_issuer_async,
6606            )
6607            .field(
6608                "lookup_certificate_issuer_finish",
6609                &self.lookup_certificate_issuer_finish,
6610            )
6611            .field(
6612                "lookup_certificates_issued_by",
6613                &self.lookup_certificates_issued_by,
6614            )
6615            .field(
6616                "lookup_certificates_issued_by_async",
6617                &self.lookup_certificates_issued_by_async,
6618            )
6619            .field(
6620                "lookup_certificates_issued_by_finish",
6621                &self.lookup_certificates_issued_by_finish,
6622            )
6623            .finish()
6624    }
6625}
6626
6627#[repr(C)]
6628#[allow(dead_code)]
6629pub struct _GTlsDatabasePrivate {
6630    _data: [u8; 0],
6631    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6632}
6633
6634pub type GTlsDatabasePrivate = _GTlsDatabasePrivate;
6635
6636#[derive(Copy, Clone)]
6637#[repr(C)]
6638pub struct GTlsFileDatabaseInterface {
6639    pub g_iface: gobject::GTypeInterface,
6640    pub padding: [gpointer; 8],
6641}
6642
6643impl ::std::fmt::Debug for GTlsFileDatabaseInterface {
6644    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6645        f.debug_struct(&format!("GTlsFileDatabaseInterface @ {self:p}"))
6646            .field("g_iface", &self.g_iface)
6647            .finish()
6648    }
6649}
6650
6651#[derive(Copy, Clone)]
6652#[repr(C)]
6653pub struct GTlsInteractionClass {
6654    pub parent_class: gobject::GObjectClass,
6655    pub ask_password: Option<
6656        unsafe extern "C" fn(
6657            *mut GTlsInteraction,
6658            *mut GTlsPassword,
6659            *mut GCancellable,
6660            *mut *mut glib::GError,
6661        ) -> GTlsInteractionResult,
6662    >,
6663    pub ask_password_async: Option<
6664        unsafe extern "C" fn(
6665            *mut GTlsInteraction,
6666            *mut GTlsPassword,
6667            *mut GCancellable,
6668            GAsyncReadyCallback,
6669            gpointer,
6670        ),
6671    >,
6672    pub ask_password_finish: Option<
6673        unsafe extern "C" fn(
6674            *mut GTlsInteraction,
6675            *mut GAsyncResult,
6676            *mut *mut glib::GError,
6677        ) -> GTlsInteractionResult,
6678    >,
6679    pub request_certificate: Option<
6680        unsafe extern "C" fn(
6681            *mut GTlsInteraction,
6682            *mut GTlsConnection,
6683            GTlsCertificateRequestFlags,
6684            *mut GCancellable,
6685            *mut *mut glib::GError,
6686        ) -> GTlsInteractionResult,
6687    >,
6688    pub request_certificate_async: Option<
6689        unsafe extern "C" fn(
6690            *mut GTlsInteraction,
6691            *mut GTlsConnection,
6692            GTlsCertificateRequestFlags,
6693            *mut GCancellable,
6694            GAsyncReadyCallback,
6695            gpointer,
6696        ),
6697    >,
6698    pub request_certificate_finish: Option<
6699        unsafe extern "C" fn(
6700            *mut GTlsInteraction,
6701            *mut GAsyncResult,
6702            *mut *mut glib::GError,
6703        ) -> GTlsInteractionResult,
6704    >,
6705    pub padding: [gpointer; 21],
6706}
6707
6708impl ::std::fmt::Debug for GTlsInteractionClass {
6709    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6710        f.debug_struct(&format!("GTlsInteractionClass @ {self:p}"))
6711            .field("ask_password", &self.ask_password)
6712            .field("ask_password_async", &self.ask_password_async)
6713            .field("ask_password_finish", &self.ask_password_finish)
6714            .field("request_certificate", &self.request_certificate)
6715            .field("request_certificate_async", &self.request_certificate_async)
6716            .field(
6717                "request_certificate_finish",
6718                &self.request_certificate_finish,
6719            )
6720            .finish()
6721    }
6722}
6723
6724#[repr(C)]
6725#[allow(dead_code)]
6726pub struct _GTlsInteractionPrivate {
6727    _data: [u8; 0],
6728    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6729}
6730
6731pub type GTlsInteractionPrivate = _GTlsInteractionPrivate;
6732
6733#[derive(Copy, Clone)]
6734#[repr(C)]
6735pub struct GTlsPasswordClass {
6736    pub parent_class: gobject::GObjectClass,
6737    pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>,
6738    pub set_value:
6739        Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>,
6740    pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>,
6741    pub padding: [gpointer; 4],
6742}
6743
6744impl ::std::fmt::Debug for GTlsPasswordClass {
6745    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6746        f.debug_struct(&format!("GTlsPasswordClass @ {self:p}"))
6747            .field("parent_class", &self.parent_class)
6748            .field("get_value", &self.get_value)
6749            .field("set_value", &self.set_value)
6750            .field("get_default_warning", &self.get_default_warning)
6751            .finish()
6752    }
6753}
6754
6755#[repr(C)]
6756#[allow(dead_code)]
6757pub struct _GTlsPasswordPrivate {
6758    _data: [u8; 0],
6759    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6760}
6761
6762pub type GTlsPasswordPrivate = _GTlsPasswordPrivate;
6763
6764#[derive(Copy, Clone)]
6765#[repr(C)]
6766pub struct GTlsServerConnectionInterface {
6767    pub g_iface: gobject::GTypeInterface,
6768}
6769
6770impl ::std::fmt::Debug for GTlsServerConnectionInterface {
6771    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6772        f.debug_struct(&format!("GTlsServerConnectionInterface @ {self:p}"))
6773            .field("g_iface", &self.g_iface)
6774            .finish()
6775    }
6776}
6777
6778#[derive(Copy, Clone)]
6779#[repr(C)]
6780pub struct GUnixConnectionClass {
6781    pub parent_class: GSocketConnectionClass,
6782}
6783
6784impl ::std::fmt::Debug for GUnixConnectionClass {
6785    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6786        f.debug_struct(&format!("GUnixConnectionClass @ {self:p}"))
6787            .field("parent_class", &self.parent_class)
6788            .finish()
6789    }
6790}
6791
6792#[repr(C)]
6793#[allow(dead_code)]
6794pub struct _GUnixConnectionPrivate {
6795    _data: [u8; 0],
6796    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6797}
6798
6799pub type GUnixConnectionPrivate = _GUnixConnectionPrivate;
6800
6801#[derive(Copy, Clone)]
6802#[repr(C)]
6803pub struct GUnixCredentialsMessageClass {
6804    pub parent_class: GSocketControlMessageClass,
6805    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6806    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6807}
6808
6809impl ::std::fmt::Debug for GUnixCredentialsMessageClass {
6810    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6811        f.debug_struct(&format!("GUnixCredentialsMessageClass @ {self:p}"))
6812            .field("parent_class", &self.parent_class)
6813            .field("_g_reserved1", &self._g_reserved1)
6814            .field("_g_reserved2", &self._g_reserved2)
6815            .finish()
6816    }
6817}
6818
6819#[repr(C)]
6820#[allow(dead_code)]
6821pub struct _GUnixCredentialsMessagePrivate {
6822    _data: [u8; 0],
6823    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6824}
6825
6826pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate;
6827
6828#[derive(Copy, Clone)]
6829#[repr(C)]
6830pub struct GUnixFDListClass {
6831    pub parent_class: gobject::GObjectClass,
6832    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6833    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6834    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6835    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6836    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6837}
6838
6839impl ::std::fmt::Debug for GUnixFDListClass {
6840    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6841        f.debug_struct(&format!("GUnixFDListClass @ {self:p}"))
6842            .field("parent_class", &self.parent_class)
6843            .field("_g_reserved1", &self._g_reserved1)
6844            .field("_g_reserved2", &self._g_reserved2)
6845            .field("_g_reserved3", &self._g_reserved3)
6846            .field("_g_reserved4", &self._g_reserved4)
6847            .field("_g_reserved5", &self._g_reserved5)
6848            .finish()
6849    }
6850}
6851
6852#[repr(C)]
6853#[allow(dead_code)]
6854pub struct _GUnixFDListPrivate {
6855    _data: [u8; 0],
6856    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6857}
6858
6859pub type GUnixFDListPrivate = _GUnixFDListPrivate;
6860
6861#[derive(Copy, Clone)]
6862#[repr(C)]
6863pub struct GUnixFDMessageClass {
6864    pub parent_class: GSocketControlMessageClass,
6865    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6866    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6867}
6868
6869impl ::std::fmt::Debug for GUnixFDMessageClass {
6870    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6871        f.debug_struct(&format!("GUnixFDMessageClass @ {self:p}"))
6872            .field("parent_class", &self.parent_class)
6873            .field("_g_reserved1", &self._g_reserved1)
6874            .field("_g_reserved2", &self._g_reserved2)
6875            .finish()
6876    }
6877}
6878
6879#[repr(C)]
6880#[allow(dead_code)]
6881pub struct _GUnixFDMessagePrivate {
6882    _data: [u8; 0],
6883    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6884}
6885
6886pub type GUnixFDMessagePrivate = _GUnixFDMessagePrivate;
6887
6888#[derive(Copy, Clone)]
6889#[repr(C)]
6890pub struct GUnixInputStreamClass {
6891    pub parent_class: GInputStreamClass,
6892    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6893    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6894    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6895    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6896    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6897}
6898
6899impl ::std::fmt::Debug for GUnixInputStreamClass {
6900    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6901        f.debug_struct(&format!("GUnixInputStreamClass @ {self:p}"))
6902            .field("parent_class", &self.parent_class)
6903            .field("_g_reserved1", &self._g_reserved1)
6904            .field("_g_reserved2", &self._g_reserved2)
6905            .field("_g_reserved3", &self._g_reserved3)
6906            .field("_g_reserved4", &self._g_reserved4)
6907            .field("_g_reserved5", &self._g_reserved5)
6908            .finish()
6909    }
6910}
6911
6912#[repr(C)]
6913#[allow(dead_code)]
6914pub struct _GUnixInputStreamPrivate {
6915    _data: [u8; 0],
6916    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6917}
6918
6919pub type GUnixInputStreamPrivate = _GUnixInputStreamPrivate;
6920
6921#[repr(C)]
6922#[allow(dead_code)]
6923pub struct GUnixMountEntry {
6924    _data: [u8; 0],
6925    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6926}
6927
6928impl ::std::fmt::Debug for GUnixMountEntry {
6929    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6930        f.debug_struct(&format!("GUnixMountEntry @ {self:p}"))
6931            .finish()
6932    }
6933}
6934
6935#[repr(C)]
6936#[allow(dead_code)]
6937pub struct _GUnixMountMonitorClass {
6938    _data: [u8; 0],
6939    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6940}
6941
6942pub type GUnixMountMonitorClass = _GUnixMountMonitorClass;
6943
6944#[repr(C)]
6945#[allow(dead_code)]
6946pub struct GUnixMountPoint {
6947    _data: [u8; 0],
6948    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6949}
6950
6951impl ::std::fmt::Debug for GUnixMountPoint {
6952    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6953        f.debug_struct(&format!("GUnixMountPoint @ {self:p}"))
6954            .finish()
6955    }
6956}
6957
6958#[derive(Copy, Clone)]
6959#[repr(C)]
6960pub struct GUnixOutputStreamClass {
6961    pub parent_class: GOutputStreamClass,
6962    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6963    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6964    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6965    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6966    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6967}
6968
6969impl ::std::fmt::Debug for GUnixOutputStreamClass {
6970    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6971        f.debug_struct(&format!("GUnixOutputStreamClass @ {self:p}"))
6972            .field("parent_class", &self.parent_class)
6973            .field("_g_reserved1", &self._g_reserved1)
6974            .field("_g_reserved2", &self._g_reserved2)
6975            .field("_g_reserved3", &self._g_reserved3)
6976            .field("_g_reserved4", &self._g_reserved4)
6977            .field("_g_reserved5", &self._g_reserved5)
6978            .finish()
6979    }
6980}
6981
6982#[repr(C)]
6983#[allow(dead_code)]
6984pub struct _GUnixOutputStreamPrivate {
6985    _data: [u8; 0],
6986    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6987}
6988
6989pub type GUnixOutputStreamPrivate = _GUnixOutputStreamPrivate;
6990
6991#[derive(Copy, Clone)]
6992#[repr(C)]
6993pub struct GUnixSocketAddressClass {
6994    pub parent_class: GSocketAddressClass,
6995}
6996
6997impl ::std::fmt::Debug for GUnixSocketAddressClass {
6998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6999        f.debug_struct(&format!("GUnixSocketAddressClass @ {self:p}"))
7000            .field("parent_class", &self.parent_class)
7001            .finish()
7002    }
7003}
7004
7005#[repr(C)]
7006#[allow(dead_code)]
7007pub struct _GUnixSocketAddressPrivate {
7008    _data: [u8; 0],
7009    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7010}
7011
7012pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate;
7013
7014#[derive(Copy, Clone)]
7015#[repr(C)]
7016pub struct GVfsClass {
7017    pub parent_class: gobject::GObjectClass,
7018    pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>,
7019    pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
7020    pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
7021    pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>,
7022    pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
7023    pub local_file_add_info: Option<
7024        unsafe extern "C" fn(
7025            *mut GVfs,
7026            *const c_char,
7027            u64,
7028            *mut GFileAttributeMatcher,
7029            *mut GFileInfo,
7030            *mut GCancellable,
7031            *mut gpointer,
7032            *mut glib::GDestroyNotify,
7033        ),
7034    >,
7035    pub add_writable_namespaces:
7036        Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>,
7037    pub local_file_set_attributes: Option<
7038        unsafe extern "C" fn(
7039            *mut GVfs,
7040            *const c_char,
7041            *mut GFileInfo,
7042            GFileQueryInfoFlags,
7043            *mut GCancellable,
7044            *mut *mut glib::GError,
7045        ) -> gboolean,
7046    >,
7047    pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>,
7048    pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>,
7049    pub deserialize_icon:
7050        Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>,
7051    pub _g_reserved1: Option<unsafe extern "C" fn()>,
7052    pub _g_reserved2: Option<unsafe extern "C" fn()>,
7053    pub _g_reserved3: Option<unsafe extern "C" fn()>,
7054    pub _g_reserved4: Option<unsafe extern "C" fn()>,
7055    pub _g_reserved5: Option<unsafe extern "C" fn()>,
7056    pub _g_reserved6: Option<unsafe extern "C" fn()>,
7057}
7058
7059impl ::std::fmt::Debug for GVfsClass {
7060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7061        f.debug_struct(&format!("GVfsClass @ {self:p}"))
7062            .field("parent_class", &self.parent_class)
7063            .field("is_active", &self.is_active)
7064            .field("get_file_for_path", &self.get_file_for_path)
7065            .field("get_file_for_uri", &self.get_file_for_uri)
7066            .field("get_supported_uri_schemes", &self.get_supported_uri_schemes)
7067            .field("parse_name", &self.parse_name)
7068            .field("local_file_add_info", &self.local_file_add_info)
7069            .field("add_writable_namespaces", &self.add_writable_namespaces)
7070            .field("local_file_set_attributes", &self.local_file_set_attributes)
7071            .field("local_file_removed", &self.local_file_removed)
7072            .field("local_file_moved", &self.local_file_moved)
7073            .field("deserialize_icon", &self.deserialize_icon)
7074            .field("_g_reserved1", &self._g_reserved1)
7075            .field("_g_reserved2", &self._g_reserved2)
7076            .field("_g_reserved3", &self._g_reserved3)
7077            .field("_g_reserved4", &self._g_reserved4)
7078            .field("_g_reserved5", &self._g_reserved5)
7079            .field("_g_reserved6", &self._g_reserved6)
7080            .finish()
7081    }
7082}
7083
7084#[derive(Copy, Clone)]
7085#[repr(C)]
7086pub struct GVolumeIface {
7087    pub g_iface: gobject::GTypeInterface,
7088    pub changed: Option<unsafe extern "C" fn(*mut GVolume)>,
7089    pub removed: Option<unsafe extern "C" fn(*mut GVolume)>,
7090    pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
7091    pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
7092    pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
7093    pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>,
7094    pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>,
7095    pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
7096    pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
7097    pub mount_fn: Option<
7098        unsafe extern "C" fn(
7099            *mut GVolume,
7100            GMountMountFlags,
7101            *mut GMountOperation,
7102            *mut GCancellable,
7103            GAsyncReadyCallback,
7104            gpointer,
7105        ),
7106    >,
7107    pub mount_finish: Option<
7108        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7109    >,
7110    pub eject: Option<
7111        unsafe extern "C" fn(
7112            *mut GVolume,
7113            GMountUnmountFlags,
7114            *mut GCancellable,
7115            GAsyncReadyCallback,
7116            gpointer,
7117        ),
7118    >,
7119    pub eject_finish: Option<
7120        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7121    >,
7122    pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>,
7123    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>,
7124    pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
7125    pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>,
7126    pub eject_with_operation: Option<
7127        unsafe extern "C" fn(
7128            *mut GVolume,
7129            GMountUnmountFlags,
7130            *mut GMountOperation,
7131            *mut GCancellable,
7132            GAsyncReadyCallback,
7133            gpointer,
7134        ),
7135    >,
7136    pub eject_with_operation_finish: Option<
7137        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
7138    >,
7139    pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
7140    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
7141}
7142
7143impl ::std::fmt::Debug for GVolumeIface {
7144    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7145        f.debug_struct(&format!("GVolumeIface @ {self:p}"))
7146            .field("g_iface", &self.g_iface)
7147            .field("changed", &self.changed)
7148            .field("removed", &self.removed)
7149            .field("get_name", &self.get_name)
7150            .field("get_icon", &self.get_icon)
7151            .field("get_uuid", &self.get_uuid)
7152            .field("get_drive", &self.get_drive)
7153            .field("get_mount", &self.get_mount)
7154            .field("can_mount", &self.can_mount)
7155            .field("can_eject", &self.can_eject)
7156            .field("mount_fn", &self.mount_fn)
7157            .field("mount_finish", &self.mount_finish)
7158            .field("eject", &self.eject)
7159            .field("eject_finish", &self.eject_finish)
7160            .field("get_identifier", &self.get_identifier)
7161            .field("enumerate_identifiers", &self.enumerate_identifiers)
7162            .field("should_automount", &self.should_automount)
7163            .field("get_activation_root", &self.get_activation_root)
7164            .field("eject_with_operation", &self.eject_with_operation)
7165            .field(
7166                "eject_with_operation_finish",
7167                &self.eject_with_operation_finish,
7168            )
7169            .field("get_sort_key", &self.get_sort_key)
7170            .field("get_symbolic_icon", &self.get_symbolic_icon)
7171            .finish()
7172    }
7173}
7174
7175#[derive(Copy, Clone)]
7176#[repr(C)]
7177pub struct GVolumeMonitorClass {
7178    pub parent_class: gobject::GObjectClass,
7179    pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7180    pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7181    pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7182    pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7183    pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7184    pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7185    pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7186    pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7187    pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7188    pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7189    pub is_supported: Option<unsafe extern "C" fn() -> gboolean>,
7190    pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7191    pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7192    pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7193    pub get_volume_for_uuid:
7194        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>,
7195    pub get_mount_for_uuid:
7196        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>,
7197    pub adopt_orphan_mount:
7198        Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>,
7199    pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7200    pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7201    pub _g_reserved1: Option<unsafe extern "C" fn()>,
7202    pub _g_reserved2: Option<unsafe extern "C" fn()>,
7203    pub _g_reserved3: Option<unsafe extern "C" fn()>,
7204    pub _g_reserved4: Option<unsafe extern "C" fn()>,
7205    pub _g_reserved5: Option<unsafe extern "C" fn()>,
7206    pub _g_reserved6: Option<unsafe extern "C" fn()>,
7207}
7208
7209impl ::std::fmt::Debug for GVolumeMonitorClass {
7210    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7211        f.debug_struct(&format!("GVolumeMonitorClass @ {self:p}"))
7212            .field("parent_class", &self.parent_class)
7213            .field("volume_added", &self.volume_added)
7214            .field("volume_removed", &self.volume_removed)
7215            .field("volume_changed", &self.volume_changed)
7216            .field("mount_added", &self.mount_added)
7217            .field("mount_removed", &self.mount_removed)
7218            .field("mount_pre_unmount", &self.mount_pre_unmount)
7219            .field("mount_changed", &self.mount_changed)
7220            .field("drive_connected", &self.drive_connected)
7221            .field("drive_disconnected", &self.drive_disconnected)
7222            .field("drive_changed", &self.drive_changed)
7223            .field("is_supported", &self.is_supported)
7224            .field("get_connected_drives", &self.get_connected_drives)
7225            .field("get_volumes", &self.get_volumes)
7226            .field("get_mounts", &self.get_mounts)
7227            .field("get_volume_for_uuid", &self.get_volume_for_uuid)
7228            .field("get_mount_for_uuid", &self.get_mount_for_uuid)
7229            .field("adopt_orphan_mount", &self.adopt_orphan_mount)
7230            .field("drive_eject_button", &self.drive_eject_button)
7231            .field("drive_stop_button", &self.drive_stop_button)
7232            .field("_g_reserved1", &self._g_reserved1)
7233            .field("_g_reserved2", &self._g_reserved2)
7234            .field("_g_reserved3", &self._g_reserved3)
7235            .field("_g_reserved4", &self._g_reserved4)
7236            .field("_g_reserved5", &self._g_reserved5)
7237            .field("_g_reserved6", &self._g_reserved6)
7238            .finish()
7239    }
7240}
7241
7242#[derive(Copy, Clone)]
7243#[repr(C)]
7244pub struct GZlibCompressorClass {
7245    pub parent_class: gobject::GObjectClass,
7246}
7247
7248impl ::std::fmt::Debug for GZlibCompressorClass {
7249    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7250        f.debug_struct(&format!("GZlibCompressorClass @ {self:p}"))
7251            .field("parent_class", &self.parent_class)
7252            .finish()
7253    }
7254}
7255
7256#[derive(Copy, Clone)]
7257#[repr(C)]
7258pub struct GZlibDecompressorClass {
7259    pub parent_class: gobject::GObjectClass,
7260}
7261
7262impl ::std::fmt::Debug for GZlibDecompressorClass {
7263    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7264        f.debug_struct(&format!("GZlibDecompressorClass @ {self:p}"))
7265            .field("parent_class", &self.parent_class)
7266            .finish()
7267    }
7268}
7269
7270// Classes
7271#[repr(C)]
7272#[allow(dead_code)]
7273pub struct GAppInfoMonitor {
7274    _data: [u8; 0],
7275    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7276}
7277
7278impl ::std::fmt::Debug for GAppInfoMonitor {
7279    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7280        f.debug_struct(&format!("GAppInfoMonitor @ {self:p}"))
7281            .finish()
7282    }
7283}
7284
7285#[derive(Copy, Clone)]
7286#[repr(C)]
7287pub struct GAppLaunchContext {
7288    pub parent_instance: gobject::GObject,
7289    pub priv_: *mut GAppLaunchContextPrivate,
7290}
7291
7292impl ::std::fmt::Debug for GAppLaunchContext {
7293    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7294        f.debug_struct(&format!("GAppLaunchContext @ {self:p}"))
7295            .field("parent_instance", &self.parent_instance)
7296            .finish()
7297    }
7298}
7299
7300#[derive(Copy, Clone)]
7301#[repr(C)]
7302pub struct GApplication {
7303    pub parent_instance: gobject::GObject,
7304    pub priv_: *mut GApplicationPrivate,
7305}
7306
7307impl ::std::fmt::Debug for GApplication {
7308    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7309        f.debug_struct(&format!("GApplication @ {self:p}")).finish()
7310    }
7311}
7312
7313#[derive(Copy, Clone)]
7314#[repr(C)]
7315pub struct GApplicationCommandLine {
7316    pub parent_instance: gobject::GObject,
7317    pub priv_: *mut GApplicationCommandLinePrivate,
7318}
7319
7320impl ::std::fmt::Debug for GApplicationCommandLine {
7321    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7322        f.debug_struct(&format!("GApplicationCommandLine @ {self:p}"))
7323            .finish()
7324    }
7325}
7326
7327#[derive(Copy, Clone)]
7328#[repr(C)]
7329pub struct GBufferedInputStream {
7330    pub parent_instance: GFilterInputStream,
7331    pub priv_: *mut GBufferedInputStreamPrivate,
7332}
7333
7334impl ::std::fmt::Debug for GBufferedInputStream {
7335    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7336        f.debug_struct(&format!("GBufferedInputStream @ {self:p}"))
7337            .field("parent_instance", &self.parent_instance)
7338            .finish()
7339    }
7340}
7341
7342#[derive(Copy, Clone)]
7343#[repr(C)]
7344pub struct GBufferedOutputStream {
7345    pub parent_instance: GFilterOutputStream,
7346    pub priv_: *mut GBufferedOutputStreamPrivate,
7347}
7348
7349impl ::std::fmt::Debug for GBufferedOutputStream {
7350    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7351        f.debug_struct(&format!("GBufferedOutputStream @ {self:p}"))
7352            .field("parent_instance", &self.parent_instance)
7353            .field("priv_", &self.priv_)
7354            .finish()
7355    }
7356}
7357
7358#[repr(C)]
7359#[allow(dead_code)]
7360pub struct GBytesIcon {
7361    _data: [u8; 0],
7362    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7363}
7364
7365impl ::std::fmt::Debug for GBytesIcon {
7366    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7367        f.debug_struct(&format!("GBytesIcon @ {self:p}")).finish()
7368    }
7369}
7370
7371#[derive(Copy, Clone)]
7372#[repr(C)]
7373pub struct GCancellable {
7374    pub parent_instance: gobject::GObject,
7375    pub priv_: *mut GCancellablePrivate,
7376}
7377
7378impl ::std::fmt::Debug for GCancellable {
7379    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7380        f.debug_struct(&format!("GCancellable @ {self:p}"))
7381            .field("parent_instance", &self.parent_instance)
7382            .finish()
7383    }
7384}
7385
7386#[repr(C)]
7387#[allow(dead_code)]
7388pub struct GCharsetConverter {
7389    _data: [u8; 0],
7390    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7391}
7392
7393impl ::std::fmt::Debug for GCharsetConverter {
7394    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7395        f.debug_struct(&format!("GCharsetConverter @ {self:p}"))
7396            .finish()
7397    }
7398}
7399
7400#[derive(Copy, Clone)]
7401#[repr(C)]
7402pub struct GConverterInputStream {
7403    pub parent_instance: GFilterInputStream,
7404    pub priv_: *mut GConverterInputStreamPrivate,
7405}
7406
7407impl ::std::fmt::Debug for GConverterInputStream {
7408    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7409        f.debug_struct(&format!("GConverterInputStream @ {self:p}"))
7410            .field("parent_instance", &self.parent_instance)
7411            .finish()
7412    }
7413}
7414
7415#[derive(Copy, Clone)]
7416#[repr(C)]
7417pub struct GConverterOutputStream {
7418    pub parent_instance: GFilterOutputStream,
7419    pub priv_: *mut GConverterOutputStreamPrivate,
7420}
7421
7422impl ::std::fmt::Debug for GConverterOutputStream {
7423    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7424        f.debug_struct(&format!("GConverterOutputStream @ {self:p}"))
7425            .field("parent_instance", &self.parent_instance)
7426            .finish()
7427    }
7428}
7429
7430#[repr(C)]
7431#[allow(dead_code)]
7432pub struct GCredentials {
7433    _data: [u8; 0],
7434    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7435}
7436
7437impl ::std::fmt::Debug for GCredentials {
7438    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7439        f.debug_struct(&format!("GCredentials @ {self:p}")).finish()
7440    }
7441}
7442
7443#[repr(C)]
7444#[allow(dead_code)]
7445pub struct GDBusActionGroup {
7446    _data: [u8; 0],
7447    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7448}
7449
7450impl ::std::fmt::Debug for GDBusActionGroup {
7451    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7452        f.debug_struct(&format!("GDBusActionGroup @ {self:p}"))
7453            .finish()
7454    }
7455}
7456
7457#[repr(C)]
7458#[allow(dead_code)]
7459pub struct GDBusAuthObserver {
7460    _data: [u8; 0],
7461    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7462}
7463
7464impl ::std::fmt::Debug for GDBusAuthObserver {
7465    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7466        f.debug_struct(&format!("GDBusAuthObserver @ {self:p}"))
7467            .finish()
7468    }
7469}
7470
7471#[repr(C)]
7472#[allow(dead_code)]
7473pub struct GDBusConnection {
7474    _data: [u8; 0],
7475    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7476}
7477
7478impl ::std::fmt::Debug for GDBusConnection {
7479    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7480        f.debug_struct(&format!("GDBusConnection @ {self:p}"))
7481            .finish()
7482    }
7483}
7484
7485#[derive(Copy, Clone)]
7486#[repr(C)]
7487pub struct GDBusInterfaceSkeleton {
7488    pub parent_instance: gobject::GObject,
7489    pub priv_: *mut GDBusInterfaceSkeletonPrivate,
7490}
7491
7492impl ::std::fmt::Debug for GDBusInterfaceSkeleton {
7493    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7494        f.debug_struct(&format!("GDBusInterfaceSkeleton @ {self:p}"))
7495            .finish()
7496    }
7497}
7498
7499#[repr(C)]
7500#[allow(dead_code)]
7501pub struct GDBusMenuModel {
7502    _data: [u8; 0],
7503    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7504}
7505
7506impl ::std::fmt::Debug for GDBusMenuModel {
7507    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7508        f.debug_struct(&format!("GDBusMenuModel @ {self:p}"))
7509            .finish()
7510    }
7511}
7512
7513#[repr(C)]
7514#[allow(dead_code)]
7515pub struct GDBusMessage {
7516    _data: [u8; 0],
7517    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7518}
7519
7520impl ::std::fmt::Debug for GDBusMessage {
7521    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7522        f.debug_struct(&format!("GDBusMessage @ {self:p}")).finish()
7523    }
7524}
7525
7526#[repr(C)]
7527#[allow(dead_code)]
7528pub struct GDBusMethodInvocation {
7529    _data: [u8; 0],
7530    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7531}
7532
7533impl ::std::fmt::Debug for GDBusMethodInvocation {
7534    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7535        f.debug_struct(&format!("GDBusMethodInvocation @ {self:p}"))
7536            .finish()
7537    }
7538}
7539
7540#[derive(Copy, Clone)]
7541#[repr(C)]
7542pub struct GDBusObjectManagerClient {
7543    pub parent_instance: gobject::GObject,
7544    pub priv_: *mut GDBusObjectManagerClientPrivate,
7545}
7546
7547impl ::std::fmt::Debug for GDBusObjectManagerClient {
7548    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7549        f.debug_struct(&format!("GDBusObjectManagerClient @ {self:p}"))
7550            .finish()
7551    }
7552}
7553
7554#[derive(Copy, Clone)]
7555#[repr(C)]
7556pub struct GDBusObjectManagerServer {
7557    pub parent_instance: gobject::GObject,
7558    pub priv_: *mut GDBusObjectManagerServerPrivate,
7559}
7560
7561impl ::std::fmt::Debug for GDBusObjectManagerServer {
7562    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7563        f.debug_struct(&format!("GDBusObjectManagerServer @ {self:p}"))
7564            .finish()
7565    }
7566}
7567
7568#[derive(Copy, Clone)]
7569#[repr(C)]
7570pub struct GDBusObjectProxy {
7571    pub parent_instance: gobject::GObject,
7572    pub priv_: *mut GDBusObjectProxyPrivate,
7573}
7574
7575impl ::std::fmt::Debug for GDBusObjectProxy {
7576    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7577        f.debug_struct(&format!("GDBusObjectProxy @ {self:p}"))
7578            .finish()
7579    }
7580}
7581
7582#[derive(Copy, Clone)]
7583#[repr(C)]
7584pub struct GDBusObjectSkeleton {
7585    pub parent_instance: gobject::GObject,
7586    pub priv_: *mut GDBusObjectSkeletonPrivate,
7587}
7588
7589impl ::std::fmt::Debug for GDBusObjectSkeleton {
7590    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7591        f.debug_struct(&format!("GDBusObjectSkeleton @ {self:p}"))
7592            .finish()
7593    }
7594}
7595
7596#[derive(Copy, Clone)]
7597#[repr(C)]
7598pub struct GDBusProxy {
7599    pub parent_instance: gobject::GObject,
7600    pub priv_: *mut GDBusProxyPrivate,
7601}
7602
7603impl ::std::fmt::Debug for GDBusProxy {
7604    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7605        f.debug_struct(&format!("GDBusProxy @ {self:p}")).finish()
7606    }
7607}
7608
7609#[repr(C)]
7610#[allow(dead_code)]
7611pub struct GDBusServer {
7612    _data: [u8; 0],
7613    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7614}
7615
7616impl ::std::fmt::Debug for GDBusServer {
7617    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7618        f.debug_struct(&format!("GDBusServer @ {self:p}")).finish()
7619    }
7620}
7621
7622#[derive(Copy, Clone)]
7623#[repr(C)]
7624pub struct GDataInputStream {
7625    pub parent_instance: GBufferedInputStream,
7626    pub priv_: *mut GDataInputStreamPrivate,
7627}
7628
7629impl ::std::fmt::Debug for GDataInputStream {
7630    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7631        f.debug_struct(&format!("GDataInputStream @ {self:p}"))
7632            .field("parent_instance", &self.parent_instance)
7633            .finish()
7634    }
7635}
7636
7637#[derive(Copy, Clone)]
7638#[repr(C)]
7639pub struct GDataOutputStream {
7640    pub parent_instance: GFilterOutputStream,
7641    pub priv_: *mut GDataOutputStreamPrivate,
7642}
7643
7644impl ::std::fmt::Debug for GDataOutputStream {
7645    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7646        f.debug_struct(&format!("GDataOutputStream @ {self:p}"))
7647            .field("parent_instance", &self.parent_instance)
7648            .finish()
7649    }
7650}
7651
7652#[derive(Copy, Clone)]
7653#[repr(C)]
7654pub struct GDebugControllerDBus {
7655    pub parent_instance: gobject::GObject,
7656}
7657
7658impl ::std::fmt::Debug for GDebugControllerDBus {
7659    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7660        f.debug_struct(&format!("GDebugControllerDBus @ {self:p}"))
7661            .field("parent_instance", &self.parent_instance)
7662            .finish()
7663    }
7664}
7665
7666#[repr(C)]
7667#[allow(dead_code)]
7668pub struct GDesktopAppInfo {
7669    _data: [u8; 0],
7670    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7671}
7672
7673impl ::std::fmt::Debug for GDesktopAppInfo {
7674    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7675        f.debug_struct(&format!("GDesktopAppInfo @ {self:p}"))
7676            .finish()
7677    }
7678}
7679
7680#[repr(C)]
7681#[allow(dead_code)]
7682pub struct GEmblem {
7683    _data: [u8; 0],
7684    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7685}
7686
7687impl ::std::fmt::Debug for GEmblem {
7688    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7689        f.debug_struct(&format!("GEmblem @ {self:p}")).finish()
7690    }
7691}
7692
7693#[derive(Copy, Clone)]
7694#[repr(C)]
7695pub struct GEmblemedIcon {
7696    pub parent_instance: gobject::GObject,
7697    pub priv_: *mut GEmblemedIconPrivate,
7698}
7699
7700impl ::std::fmt::Debug for GEmblemedIcon {
7701    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7702        f.debug_struct(&format!("GEmblemedIcon @ {self:p}"))
7703            .field("parent_instance", &self.parent_instance)
7704            .finish()
7705    }
7706}
7707
7708#[derive(Copy, Clone)]
7709#[repr(C)]
7710pub struct GFileEnumerator {
7711    pub parent_instance: gobject::GObject,
7712    pub priv_: *mut GFileEnumeratorPrivate,
7713}
7714
7715impl ::std::fmt::Debug for GFileEnumerator {
7716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7717        f.debug_struct(&format!("GFileEnumerator @ {self:p}"))
7718            .field("parent_instance", &self.parent_instance)
7719            .finish()
7720    }
7721}
7722
7723#[derive(Copy, Clone)]
7724#[repr(C)]
7725pub struct GFileIOStream {
7726    pub parent_instance: GIOStream,
7727    pub priv_: *mut GFileIOStreamPrivate,
7728}
7729
7730impl ::std::fmt::Debug for GFileIOStream {
7731    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7732        f.debug_struct(&format!("GFileIOStream @ {self:p}"))
7733            .field("parent_instance", &self.parent_instance)
7734            .finish()
7735    }
7736}
7737
7738#[repr(C)]
7739#[allow(dead_code)]
7740pub struct GFileIcon {
7741    _data: [u8; 0],
7742    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7743}
7744
7745impl ::std::fmt::Debug for GFileIcon {
7746    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7747        f.debug_struct(&format!("GFileIcon @ {self:p}")).finish()
7748    }
7749}
7750
7751#[repr(C)]
7752#[allow(dead_code)]
7753pub struct GFileInfo {
7754    _data: [u8; 0],
7755    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7756}
7757
7758impl ::std::fmt::Debug for GFileInfo {
7759    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7760        f.debug_struct(&format!("GFileInfo @ {self:p}")).finish()
7761    }
7762}
7763
7764#[derive(Copy, Clone)]
7765#[repr(C)]
7766pub struct GFileInputStream {
7767    pub parent_instance: GInputStream,
7768    pub priv_: *mut GFileInputStreamPrivate,
7769}
7770
7771impl ::std::fmt::Debug for GFileInputStream {
7772    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7773        f.debug_struct(&format!("GFileInputStream @ {self:p}"))
7774            .field("parent_instance", &self.parent_instance)
7775            .finish()
7776    }
7777}
7778
7779#[derive(Copy, Clone)]
7780#[repr(C)]
7781pub struct GFileMonitor {
7782    pub parent_instance: gobject::GObject,
7783    pub priv_: *mut GFileMonitorPrivate,
7784}
7785
7786impl ::std::fmt::Debug for GFileMonitor {
7787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7788        f.debug_struct(&format!("GFileMonitor @ {self:p}"))
7789            .field("parent_instance", &self.parent_instance)
7790            .finish()
7791    }
7792}
7793
7794#[derive(Copy, Clone)]
7795#[repr(C)]
7796pub struct GFileOutputStream {
7797    pub parent_instance: GOutputStream,
7798    pub priv_: *mut GFileOutputStreamPrivate,
7799}
7800
7801impl ::std::fmt::Debug for GFileOutputStream {
7802    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7803        f.debug_struct(&format!("GFileOutputStream @ {self:p}"))
7804            .field("parent_instance", &self.parent_instance)
7805            .finish()
7806    }
7807}
7808
7809#[repr(C)]
7810#[allow(dead_code)]
7811pub struct GFilenameCompleter {
7812    _data: [u8; 0],
7813    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7814}
7815
7816impl ::std::fmt::Debug for GFilenameCompleter {
7817    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7818        f.debug_struct(&format!("GFilenameCompleter @ {self:p}"))
7819            .finish()
7820    }
7821}
7822
7823#[derive(Copy, Clone)]
7824#[repr(C)]
7825pub struct GFilterInputStream {
7826    pub parent_instance: GInputStream,
7827    pub base_stream: *mut GInputStream,
7828}
7829
7830impl ::std::fmt::Debug for GFilterInputStream {
7831    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7832        f.debug_struct(&format!("GFilterInputStream @ {self:p}"))
7833            .field("parent_instance", &self.parent_instance)
7834            .field("base_stream", &self.base_stream)
7835            .finish()
7836    }
7837}
7838
7839#[derive(Copy, Clone)]
7840#[repr(C)]
7841pub struct GFilterOutputStream {
7842    pub parent_instance: GOutputStream,
7843    pub base_stream: *mut GOutputStream,
7844}
7845
7846impl ::std::fmt::Debug for GFilterOutputStream {
7847    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7848        f.debug_struct(&format!("GFilterOutputStream @ {self:p}"))
7849            .field("parent_instance", &self.parent_instance)
7850            .field("base_stream", &self.base_stream)
7851            .finish()
7852    }
7853}
7854
7855#[repr(C)]
7856#[allow(dead_code)]
7857pub struct GIOModule {
7858    _data: [u8; 0],
7859    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7860}
7861
7862impl ::std::fmt::Debug for GIOModule {
7863    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7864        f.debug_struct(&format!("GIOModule @ {self:p}")).finish()
7865    }
7866}
7867
7868#[derive(Copy, Clone)]
7869#[repr(C)]
7870pub struct GIOStream {
7871    pub parent_instance: gobject::GObject,
7872    pub priv_: *mut GIOStreamPrivate,
7873}
7874
7875impl ::std::fmt::Debug for GIOStream {
7876    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7877        f.debug_struct(&format!("GIOStream @ {self:p}"))
7878            .field("parent_instance", &self.parent_instance)
7879            .finish()
7880    }
7881}
7882
7883#[derive(Copy, Clone)]
7884#[repr(C)]
7885pub struct GInetAddress {
7886    pub parent_instance: gobject::GObject,
7887    pub priv_: *mut GInetAddressPrivate,
7888}
7889
7890impl ::std::fmt::Debug for GInetAddress {
7891    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7892        f.debug_struct(&format!("GInetAddress @ {self:p}"))
7893            .field("parent_instance", &self.parent_instance)
7894            .finish()
7895    }
7896}
7897
7898#[derive(Copy, Clone)]
7899#[repr(C)]
7900pub struct GInetAddressMask {
7901    pub parent_instance: gobject::GObject,
7902    pub priv_: *mut GInetAddressMaskPrivate,
7903}
7904
7905impl ::std::fmt::Debug for GInetAddressMask {
7906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7907        f.debug_struct(&format!("GInetAddressMask @ {self:p}"))
7908            .field("parent_instance", &self.parent_instance)
7909            .finish()
7910    }
7911}
7912
7913#[derive(Copy, Clone)]
7914#[repr(C)]
7915pub struct GInetSocketAddress {
7916    pub parent_instance: GSocketAddress,
7917    pub priv_: *mut GInetSocketAddressPrivate,
7918}
7919
7920impl ::std::fmt::Debug for GInetSocketAddress {
7921    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7922        f.debug_struct(&format!("GInetSocketAddress @ {self:p}"))
7923            .field("parent_instance", &self.parent_instance)
7924            .finish()
7925    }
7926}
7927
7928#[derive(Copy, Clone)]
7929#[repr(C)]
7930pub struct GInputStream {
7931    pub parent_instance: gobject::GObject,
7932    pub priv_: *mut GInputStreamPrivate,
7933}
7934
7935impl ::std::fmt::Debug for GInputStream {
7936    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7937        f.debug_struct(&format!("GInputStream @ {self:p}"))
7938            .field("parent_instance", &self.parent_instance)
7939            .finish()
7940    }
7941}
7942
7943#[repr(C)]
7944#[allow(dead_code)]
7945pub struct GListStore {
7946    _data: [u8; 0],
7947    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7948}
7949
7950impl ::std::fmt::Debug for GListStore {
7951    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7952        f.debug_struct(&format!("GListStore @ {self:p}")).finish()
7953    }
7954}
7955
7956#[derive(Copy, Clone)]
7957#[repr(C)]
7958pub struct GMemoryInputStream {
7959    pub parent_instance: GInputStream,
7960    pub priv_: *mut GMemoryInputStreamPrivate,
7961}
7962
7963impl ::std::fmt::Debug for GMemoryInputStream {
7964    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7965        f.debug_struct(&format!("GMemoryInputStream @ {self:p}"))
7966            .field("parent_instance", &self.parent_instance)
7967            .finish()
7968    }
7969}
7970
7971#[derive(Copy, Clone)]
7972#[repr(C)]
7973pub struct GMemoryOutputStream {
7974    pub parent_instance: GOutputStream,
7975    pub priv_: *mut GMemoryOutputStreamPrivate,
7976}
7977
7978impl ::std::fmt::Debug for GMemoryOutputStream {
7979    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7980        f.debug_struct(&format!("GMemoryOutputStream @ {self:p}"))
7981            .field("parent_instance", &self.parent_instance)
7982            .finish()
7983    }
7984}
7985
7986#[repr(C)]
7987#[allow(dead_code)]
7988pub struct GMenu {
7989    _data: [u8; 0],
7990    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7991}
7992
7993impl ::std::fmt::Debug for GMenu {
7994    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7995        f.debug_struct(&format!("GMenu @ {self:p}")).finish()
7996    }
7997}
7998
7999#[derive(Copy, Clone)]
8000#[repr(C)]
8001pub struct GMenuAttributeIter {
8002    pub parent_instance: gobject::GObject,
8003    pub priv_: *mut GMenuAttributeIterPrivate,
8004}
8005
8006impl ::std::fmt::Debug for GMenuAttributeIter {
8007    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8008        f.debug_struct(&format!("GMenuAttributeIter @ {self:p}"))
8009            .field("parent_instance", &self.parent_instance)
8010            .field("priv_", &self.priv_)
8011            .finish()
8012    }
8013}
8014
8015#[repr(C)]
8016#[allow(dead_code)]
8017pub struct GMenuItem {
8018    _data: [u8; 0],
8019    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8020}
8021
8022impl ::std::fmt::Debug for GMenuItem {
8023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8024        f.debug_struct(&format!("GMenuItem @ {self:p}")).finish()
8025    }
8026}
8027
8028#[derive(Copy, Clone)]
8029#[repr(C)]
8030pub struct GMenuLinkIter {
8031    pub parent_instance: gobject::GObject,
8032    pub priv_: *mut GMenuLinkIterPrivate,
8033}
8034
8035impl ::std::fmt::Debug for GMenuLinkIter {
8036    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8037        f.debug_struct(&format!("GMenuLinkIter @ {self:p}"))
8038            .field("parent_instance", &self.parent_instance)
8039            .field("priv_", &self.priv_)
8040            .finish()
8041    }
8042}
8043
8044#[derive(Copy, Clone)]
8045#[repr(C)]
8046pub struct GMenuModel {
8047    pub parent_instance: gobject::GObject,
8048    pub priv_: *mut GMenuModelPrivate,
8049}
8050
8051impl ::std::fmt::Debug for GMenuModel {
8052    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8053        f.debug_struct(&format!("GMenuModel @ {self:p}"))
8054            .field("parent_instance", &self.parent_instance)
8055            .field("priv_", &self.priv_)
8056            .finish()
8057    }
8058}
8059
8060#[derive(Copy, Clone)]
8061#[repr(C)]
8062pub struct GMountOperation {
8063    pub parent_instance: gobject::GObject,
8064    pub priv_: *mut GMountOperationPrivate,
8065}
8066
8067impl ::std::fmt::Debug for GMountOperation {
8068    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8069        f.debug_struct(&format!("GMountOperation @ {self:p}"))
8070            .field("parent_instance", &self.parent_instance)
8071            .field("priv_", &self.priv_)
8072            .finish()
8073    }
8074}
8075
8076#[derive(Copy, Clone)]
8077#[repr(C)]
8078pub struct GNativeSocketAddress {
8079    pub parent_instance: GSocketAddress,
8080    pub priv_: *mut GNativeSocketAddressPrivate,
8081}
8082
8083impl ::std::fmt::Debug for GNativeSocketAddress {
8084    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8085        f.debug_struct(&format!("GNativeSocketAddress @ {self:p}"))
8086            .field("parent_instance", &self.parent_instance)
8087            .finish()
8088    }
8089}
8090
8091#[derive(Copy, Clone)]
8092#[repr(C)]
8093pub struct GNativeVolumeMonitor {
8094    pub parent_instance: GVolumeMonitor,
8095}
8096
8097impl ::std::fmt::Debug for GNativeVolumeMonitor {
8098    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8099        f.debug_struct(&format!("GNativeVolumeMonitor @ {self:p}"))
8100            .field("parent_instance", &self.parent_instance)
8101            .finish()
8102    }
8103}
8104
8105#[derive(Copy, Clone)]
8106#[repr(C)]
8107pub struct GNetworkAddress {
8108    pub parent_instance: gobject::GObject,
8109    pub priv_: *mut GNetworkAddressPrivate,
8110}
8111
8112impl ::std::fmt::Debug for GNetworkAddress {
8113    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8114        f.debug_struct(&format!("GNetworkAddress @ {self:p}"))
8115            .field("parent_instance", &self.parent_instance)
8116            .finish()
8117    }
8118}
8119
8120#[derive(Copy, Clone)]
8121#[repr(C)]
8122pub struct GNetworkService {
8123    pub parent_instance: gobject::GObject,
8124    pub priv_: *mut GNetworkServicePrivate,
8125}
8126
8127impl ::std::fmt::Debug for GNetworkService {
8128    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8129        f.debug_struct(&format!("GNetworkService @ {self:p}"))
8130            .field("parent_instance", &self.parent_instance)
8131            .finish()
8132    }
8133}
8134
8135#[repr(C)]
8136#[allow(dead_code)]
8137pub struct GNotification {
8138    _data: [u8; 0],
8139    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8140}
8141
8142impl ::std::fmt::Debug for GNotification {
8143    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8144        f.debug_struct(&format!("GNotification @ {self:p}"))
8145            .finish()
8146    }
8147}
8148
8149#[derive(Copy, Clone)]
8150#[repr(C)]
8151pub struct GOutputStream {
8152    pub parent_instance: gobject::GObject,
8153    pub priv_: *mut GOutputStreamPrivate,
8154}
8155
8156impl ::std::fmt::Debug for GOutputStream {
8157    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8158        f.debug_struct(&format!("GOutputStream @ {self:p}"))
8159            .field("parent_instance", &self.parent_instance)
8160            .finish()
8161    }
8162}
8163
8164#[derive(Copy, Clone)]
8165#[repr(C)]
8166pub struct GPermission {
8167    pub parent_instance: gobject::GObject,
8168    pub priv_: *mut GPermissionPrivate,
8169}
8170
8171impl ::std::fmt::Debug for GPermission {
8172    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8173        f.debug_struct(&format!("GPermission @ {self:p}"))
8174            .field("parent_instance", &self.parent_instance)
8175            .finish()
8176    }
8177}
8178
8179#[repr(C)]
8180#[allow(dead_code)]
8181pub struct GPropertyAction {
8182    _data: [u8; 0],
8183    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8184}
8185
8186impl ::std::fmt::Debug for GPropertyAction {
8187    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8188        f.debug_struct(&format!("GPropertyAction @ {self:p}"))
8189            .finish()
8190    }
8191}
8192
8193#[derive(Copy, Clone)]
8194#[repr(C)]
8195pub struct GProxyAddress {
8196    pub parent_instance: GInetSocketAddress,
8197    pub priv_: *mut GProxyAddressPrivate,
8198}
8199
8200impl ::std::fmt::Debug for GProxyAddress {
8201    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8202        f.debug_struct(&format!("GProxyAddress @ {self:p}"))
8203            .field("parent_instance", &self.parent_instance)
8204            .finish()
8205    }
8206}
8207
8208#[derive(Copy, Clone)]
8209#[repr(C)]
8210pub struct GProxyAddressEnumerator {
8211    pub parent_instance: GSocketAddressEnumerator,
8212    pub priv_: *mut GProxyAddressEnumeratorPrivate,
8213}
8214
8215impl ::std::fmt::Debug for GProxyAddressEnumerator {
8216    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8217        f.debug_struct(&format!("GProxyAddressEnumerator @ {self:p}"))
8218            .finish()
8219    }
8220}
8221
8222#[derive(Copy, Clone)]
8223#[repr(C)]
8224pub struct GResolver {
8225    pub parent_instance: gobject::GObject,
8226    pub priv_: *mut GResolverPrivate,
8227}
8228
8229impl ::std::fmt::Debug for GResolver {
8230    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8231        f.debug_struct(&format!("GResolver @ {self:p}"))
8232            .field("parent_instance", &self.parent_instance)
8233            .field("priv_", &self.priv_)
8234            .finish()
8235    }
8236}
8237
8238#[derive(Copy, Clone)]
8239#[repr(C)]
8240pub struct GSettings {
8241    pub parent_instance: gobject::GObject,
8242    pub priv_: *mut GSettingsPrivate,
8243}
8244
8245impl ::std::fmt::Debug for GSettings {
8246    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8247        f.debug_struct(&format!("GSettings @ {self:p}"))
8248            .field("parent_instance", &self.parent_instance)
8249            .field("priv_", &self.priv_)
8250            .finish()
8251    }
8252}
8253
8254#[derive(Copy, Clone)]
8255#[repr(C)]
8256pub struct GSettingsBackend {
8257    pub parent_instance: gobject::GObject,
8258    pub priv_: *mut GSettingsBackendPrivate,
8259}
8260
8261impl ::std::fmt::Debug for GSettingsBackend {
8262    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8263        f.debug_struct(&format!("GSettingsBackend @ {self:p}"))
8264            .field("parent_instance", &self.parent_instance)
8265            .finish()
8266    }
8267}
8268
8269#[repr(C)]
8270#[allow(dead_code)]
8271pub struct GSimpleAction {
8272    _data: [u8; 0],
8273    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8274}
8275
8276impl ::std::fmt::Debug for GSimpleAction {
8277    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8278        f.debug_struct(&format!("GSimpleAction @ {self:p}"))
8279            .finish()
8280    }
8281}
8282
8283#[derive(Copy, Clone)]
8284#[repr(C)]
8285pub struct GSimpleActionGroup {
8286    pub parent_instance: gobject::GObject,
8287    pub priv_: *mut GSimpleActionGroupPrivate,
8288}
8289
8290impl ::std::fmt::Debug for GSimpleActionGroup {
8291    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8292        f.debug_struct(&format!("GSimpleActionGroup @ {self:p}"))
8293            .finish()
8294    }
8295}
8296
8297#[repr(C)]
8298#[allow(dead_code)]
8299pub struct GSimpleAsyncResult {
8300    _data: [u8; 0],
8301    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8302}
8303
8304impl ::std::fmt::Debug for GSimpleAsyncResult {
8305    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8306        f.debug_struct(&format!("GSimpleAsyncResult @ {self:p}"))
8307            .finish()
8308    }
8309}
8310
8311#[repr(C)]
8312#[allow(dead_code)]
8313pub struct GSimpleIOStream {
8314    _data: [u8; 0],
8315    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8316}
8317
8318impl ::std::fmt::Debug for GSimpleIOStream {
8319    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8320        f.debug_struct(&format!("GSimpleIOStream @ {self:p}"))
8321            .finish()
8322    }
8323}
8324
8325#[repr(C)]
8326#[allow(dead_code)]
8327pub struct GSimplePermission {
8328    _data: [u8; 0],
8329    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8330}
8331
8332impl ::std::fmt::Debug for GSimplePermission {
8333    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8334        f.debug_struct(&format!("GSimplePermission @ {self:p}"))
8335            .finish()
8336    }
8337}
8338
8339#[derive(Copy, Clone)]
8340#[repr(C)]
8341pub struct GSimpleProxyResolver {
8342    pub parent_instance: gobject::GObject,
8343    pub priv_: *mut GSimpleProxyResolverPrivate,
8344}
8345
8346impl ::std::fmt::Debug for GSimpleProxyResolver {
8347    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8348        f.debug_struct(&format!("GSimpleProxyResolver @ {self:p}"))
8349            .field("parent_instance", &self.parent_instance)
8350            .finish()
8351    }
8352}
8353
8354#[derive(Copy, Clone)]
8355#[repr(C)]
8356pub struct GSocket {
8357    pub parent_instance: gobject::GObject,
8358    pub priv_: *mut GSocketPrivate,
8359}
8360
8361impl ::std::fmt::Debug for GSocket {
8362    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8363        f.debug_struct(&format!("GSocket @ {self:p}"))
8364            .field("parent_instance", &self.parent_instance)
8365            .field("priv_", &self.priv_)
8366            .finish()
8367    }
8368}
8369
8370#[derive(Copy, Clone)]
8371#[repr(C)]
8372pub struct GSocketAddress {
8373    pub parent_instance: gobject::GObject,
8374}
8375
8376impl ::std::fmt::Debug for GSocketAddress {
8377    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8378        f.debug_struct(&format!("GSocketAddress @ {self:p}"))
8379            .field("parent_instance", &self.parent_instance)
8380            .finish()
8381    }
8382}
8383
8384#[derive(Copy, Clone)]
8385#[repr(C)]
8386pub struct GSocketAddressEnumerator {
8387    pub parent_instance: gobject::GObject,
8388}
8389
8390impl ::std::fmt::Debug for GSocketAddressEnumerator {
8391    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8392        f.debug_struct(&format!("GSocketAddressEnumerator @ {self:p}"))
8393            .finish()
8394    }
8395}
8396
8397#[derive(Copy, Clone)]
8398#[repr(C)]
8399pub struct GSocketClient {
8400    pub parent_instance: gobject::GObject,
8401    pub priv_: *mut GSocketClientPrivate,
8402}
8403
8404impl ::std::fmt::Debug for GSocketClient {
8405    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8406        f.debug_struct(&format!("GSocketClient @ {self:p}"))
8407            .field("parent_instance", &self.parent_instance)
8408            .field("priv_", &self.priv_)
8409            .finish()
8410    }
8411}
8412
8413#[derive(Copy, Clone)]
8414#[repr(C)]
8415pub struct GSocketConnection {
8416    pub parent_instance: GIOStream,
8417    pub priv_: *mut GSocketConnectionPrivate,
8418}
8419
8420impl ::std::fmt::Debug for GSocketConnection {
8421    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8422        f.debug_struct(&format!("GSocketConnection @ {self:p}"))
8423            .field("parent_instance", &self.parent_instance)
8424            .field("priv_", &self.priv_)
8425            .finish()
8426    }
8427}
8428
8429#[derive(Copy, Clone)]
8430#[repr(C)]
8431pub struct GSocketControlMessage {
8432    pub parent_instance: gobject::GObject,
8433    pub priv_: *mut GSocketControlMessagePrivate,
8434}
8435
8436impl ::std::fmt::Debug for GSocketControlMessage {
8437    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8438        f.debug_struct(&format!("GSocketControlMessage @ {self:p}"))
8439            .field("parent_instance", &self.parent_instance)
8440            .field("priv_", &self.priv_)
8441            .finish()
8442    }
8443}
8444
8445#[derive(Copy, Clone)]
8446#[repr(C)]
8447pub struct GSocketListener {
8448    pub parent_instance: gobject::GObject,
8449    pub priv_: *mut GSocketListenerPrivate,
8450}
8451
8452impl ::std::fmt::Debug for GSocketListener {
8453    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8454        f.debug_struct(&format!("GSocketListener @ {self:p}"))
8455            .field("parent_instance", &self.parent_instance)
8456            .field("priv_", &self.priv_)
8457            .finish()
8458    }
8459}
8460
8461#[derive(Copy, Clone)]
8462#[repr(C)]
8463pub struct GSocketService {
8464    pub parent_instance: GSocketListener,
8465    pub priv_: *mut GSocketServicePrivate,
8466}
8467
8468impl ::std::fmt::Debug for GSocketService {
8469    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8470        f.debug_struct(&format!("GSocketService @ {self:p}"))
8471            .field("parent_instance", &self.parent_instance)
8472            .field("priv_", &self.priv_)
8473            .finish()
8474    }
8475}
8476
8477#[repr(C)]
8478#[allow(dead_code)]
8479pub struct GSubprocess {
8480    _data: [u8; 0],
8481    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8482}
8483
8484impl ::std::fmt::Debug for GSubprocess {
8485    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8486        f.debug_struct(&format!("GSubprocess @ {self:p}")).finish()
8487    }
8488}
8489
8490#[repr(C)]
8491#[allow(dead_code)]
8492pub struct GSubprocessLauncher {
8493    _data: [u8; 0],
8494    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8495}
8496
8497impl ::std::fmt::Debug for GSubprocessLauncher {
8498    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8499        f.debug_struct(&format!("GSubprocessLauncher @ {self:p}"))
8500            .finish()
8501    }
8502}
8503
8504#[repr(C)]
8505#[allow(dead_code)]
8506pub struct GTask {
8507    _data: [u8; 0],
8508    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8509}
8510
8511impl ::std::fmt::Debug for GTask {
8512    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8513        f.debug_struct(&format!("GTask @ {self:p}")).finish()
8514    }
8515}
8516
8517#[derive(Copy, Clone)]
8518#[repr(C)]
8519pub struct GTcpConnection {
8520    pub parent_instance: GSocketConnection,
8521    pub priv_: *mut GTcpConnectionPrivate,
8522}
8523
8524impl ::std::fmt::Debug for GTcpConnection {
8525    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8526        f.debug_struct(&format!("GTcpConnection @ {self:p}"))
8527            .field("parent_instance", &self.parent_instance)
8528            .field("priv_", &self.priv_)
8529            .finish()
8530    }
8531}
8532
8533#[derive(Copy, Clone)]
8534#[repr(C)]
8535pub struct GTcpWrapperConnection {
8536    pub parent_instance: GTcpConnection,
8537    pub priv_: *mut GTcpWrapperConnectionPrivate,
8538}
8539
8540impl ::std::fmt::Debug for GTcpWrapperConnection {
8541    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8542        f.debug_struct(&format!("GTcpWrapperConnection @ {self:p}"))
8543            .field("parent_instance", &self.parent_instance)
8544            .field("priv_", &self.priv_)
8545            .finish()
8546    }
8547}
8548
8549#[repr(C)]
8550#[allow(dead_code)]
8551pub struct GTestDBus {
8552    _data: [u8; 0],
8553    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8554}
8555
8556impl ::std::fmt::Debug for GTestDBus {
8557    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8558        f.debug_struct(&format!("GTestDBus @ {self:p}")).finish()
8559    }
8560}
8561
8562#[repr(C)]
8563#[allow(dead_code)]
8564pub struct GThemedIcon {
8565    _data: [u8; 0],
8566    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8567}
8568
8569impl ::std::fmt::Debug for GThemedIcon {
8570    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8571        f.debug_struct(&format!("GThemedIcon @ {self:p}")).finish()
8572    }
8573}
8574
8575#[repr(C)]
8576#[allow(dead_code)]
8577pub struct GThreadedResolver {
8578    _data: [u8; 0],
8579    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8580}
8581
8582impl ::std::fmt::Debug for GThreadedResolver {
8583    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8584        f.debug_struct(&format!("GThreadedResolver @ {self:p}"))
8585            .finish()
8586    }
8587}
8588
8589#[derive(Copy, Clone)]
8590#[repr(C)]
8591pub struct GThreadedSocketService {
8592    pub parent_instance: GSocketService,
8593    pub priv_: *mut GThreadedSocketServicePrivate,
8594}
8595
8596impl ::std::fmt::Debug for GThreadedSocketService {
8597    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8598        f.debug_struct(&format!("GThreadedSocketService @ {self:p}"))
8599            .field("parent_instance", &self.parent_instance)
8600            .field("priv_", &self.priv_)
8601            .finish()
8602    }
8603}
8604
8605#[derive(Copy, Clone)]
8606#[repr(C)]
8607pub struct GTlsCertificate {
8608    pub parent_instance: gobject::GObject,
8609    pub priv_: *mut GTlsCertificatePrivate,
8610}
8611
8612impl ::std::fmt::Debug for GTlsCertificate {
8613    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8614        f.debug_struct(&format!("GTlsCertificate @ {self:p}"))
8615            .field("parent_instance", &self.parent_instance)
8616            .field("priv_", &self.priv_)
8617            .finish()
8618    }
8619}
8620
8621#[derive(Copy, Clone)]
8622#[repr(C)]
8623pub struct GTlsConnection {
8624    pub parent_instance: GIOStream,
8625    pub priv_: *mut GTlsConnectionPrivate,
8626}
8627
8628impl ::std::fmt::Debug for GTlsConnection {
8629    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8630        f.debug_struct(&format!("GTlsConnection @ {self:p}"))
8631            .field("parent_instance", &self.parent_instance)
8632            .field("priv_", &self.priv_)
8633            .finish()
8634    }
8635}
8636
8637#[derive(Copy, Clone)]
8638#[repr(C)]
8639pub struct GTlsDatabase {
8640    pub parent_instance: gobject::GObject,
8641    pub priv_: *mut GTlsDatabasePrivate,
8642}
8643
8644impl ::std::fmt::Debug for GTlsDatabase {
8645    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8646        f.debug_struct(&format!("GTlsDatabase @ {self:p}"))
8647            .field("parent_instance", &self.parent_instance)
8648            .field("priv_", &self.priv_)
8649            .finish()
8650    }
8651}
8652
8653#[derive(Copy, Clone)]
8654#[repr(C)]
8655pub struct GTlsInteraction {
8656    pub parent_instance: gobject::GObject,
8657    pub priv_: *mut GTlsInteractionPrivate,
8658}
8659
8660impl ::std::fmt::Debug for GTlsInteraction {
8661    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8662        f.debug_struct(&format!("GTlsInteraction @ {self:p}"))
8663            .finish()
8664    }
8665}
8666
8667#[derive(Copy, Clone)]
8668#[repr(C)]
8669pub struct GTlsPassword {
8670    pub parent_instance: gobject::GObject,
8671    pub priv_: *mut GTlsPasswordPrivate,
8672}
8673
8674impl ::std::fmt::Debug for GTlsPassword {
8675    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8676        f.debug_struct(&format!("GTlsPassword @ {self:p}"))
8677            .field("parent_instance", &self.parent_instance)
8678            .field("priv_", &self.priv_)
8679            .finish()
8680    }
8681}
8682
8683#[derive(Copy, Clone)]
8684#[repr(C)]
8685pub struct GUnixConnection {
8686    pub parent_instance: GSocketConnection,
8687    pub priv_: *mut GUnixConnectionPrivate,
8688}
8689
8690impl ::std::fmt::Debug for GUnixConnection {
8691    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8692        f.debug_struct(&format!("GUnixConnection @ {self:p}"))
8693            .field("parent_instance", &self.parent_instance)
8694            .field("priv_", &self.priv_)
8695            .finish()
8696    }
8697}
8698
8699#[derive(Copy, Clone)]
8700#[repr(C)]
8701pub struct GUnixCredentialsMessage {
8702    pub parent_instance: GSocketControlMessage,
8703    pub priv_: *mut GUnixCredentialsMessagePrivate,
8704}
8705
8706impl ::std::fmt::Debug for GUnixCredentialsMessage {
8707    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8708        f.debug_struct(&format!("GUnixCredentialsMessage @ {self:p}"))
8709            .field("parent_instance", &self.parent_instance)
8710            .field("priv_", &self.priv_)
8711            .finish()
8712    }
8713}
8714
8715#[derive(Copy, Clone)]
8716#[repr(C)]
8717pub struct GUnixFDList {
8718    pub parent_instance: gobject::GObject,
8719    pub priv_: *mut GUnixFDListPrivate,
8720}
8721
8722impl ::std::fmt::Debug for GUnixFDList {
8723    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8724        f.debug_struct(&format!("GUnixFDList @ {self:p}"))
8725            .field("parent_instance", &self.parent_instance)
8726            .field("priv_", &self.priv_)
8727            .finish()
8728    }
8729}
8730
8731#[derive(Copy, Clone)]
8732#[repr(C)]
8733pub struct GUnixFDMessage {
8734    pub parent_instance: GSocketControlMessage,
8735    pub priv_: *mut GUnixFDMessagePrivate,
8736}
8737
8738impl ::std::fmt::Debug for GUnixFDMessage {
8739    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8740        f.debug_struct(&format!("GUnixFDMessage @ {self:p}"))
8741            .field("parent_instance", &self.parent_instance)
8742            .field("priv_", &self.priv_)
8743            .finish()
8744    }
8745}
8746
8747#[derive(Copy, Clone)]
8748#[repr(C)]
8749pub struct GUnixInputStream {
8750    pub parent_instance: GInputStream,
8751    pub priv_: *mut GUnixInputStreamPrivate,
8752}
8753
8754impl ::std::fmt::Debug for GUnixInputStream {
8755    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8756        f.debug_struct(&format!("GUnixInputStream @ {self:p}"))
8757            .field("parent_instance", &self.parent_instance)
8758            .finish()
8759    }
8760}
8761
8762#[repr(C)]
8763#[allow(dead_code)]
8764pub struct GUnixMountMonitor {
8765    _data: [u8; 0],
8766    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8767}
8768
8769impl ::std::fmt::Debug for GUnixMountMonitor {
8770    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8771        f.debug_struct(&format!("GUnixMountMonitor @ {self:p}"))
8772            .finish()
8773    }
8774}
8775
8776#[derive(Copy, Clone)]
8777#[repr(C)]
8778pub struct GUnixOutputStream {
8779    pub parent_instance: GOutputStream,
8780    pub priv_: *mut GUnixOutputStreamPrivate,
8781}
8782
8783impl ::std::fmt::Debug for GUnixOutputStream {
8784    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8785        f.debug_struct(&format!("GUnixOutputStream @ {self:p}"))
8786            .field("parent_instance", &self.parent_instance)
8787            .finish()
8788    }
8789}
8790
8791#[derive(Copy, Clone)]
8792#[repr(C)]
8793pub struct GUnixSocketAddress {
8794    pub parent_instance: GSocketAddress,
8795    pub priv_: *mut GUnixSocketAddressPrivate,
8796}
8797
8798impl ::std::fmt::Debug for GUnixSocketAddress {
8799    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8800        f.debug_struct(&format!("GUnixSocketAddress @ {self:p}"))
8801            .field("parent_instance", &self.parent_instance)
8802            .finish()
8803    }
8804}
8805
8806#[derive(Copy, Clone)]
8807#[repr(C)]
8808pub struct GVfs {
8809    pub parent_instance: gobject::GObject,
8810}
8811
8812impl ::std::fmt::Debug for GVfs {
8813    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8814        f.debug_struct(&format!("GVfs @ {self:p}"))
8815            .field("parent_instance", &self.parent_instance)
8816            .finish()
8817    }
8818}
8819
8820#[derive(Copy, Clone)]
8821#[repr(C)]
8822pub struct GVolumeMonitor {
8823    pub parent_instance: gobject::GObject,
8824    pub priv_: gpointer,
8825}
8826
8827impl ::std::fmt::Debug for GVolumeMonitor {
8828    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8829        f.debug_struct(&format!("GVolumeMonitor @ {self:p}"))
8830            .field("parent_instance", &self.parent_instance)
8831            .finish()
8832    }
8833}
8834
8835#[repr(C)]
8836#[allow(dead_code)]
8837pub struct GZlibCompressor {
8838    _data: [u8; 0],
8839    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8840}
8841
8842impl ::std::fmt::Debug for GZlibCompressor {
8843    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8844        f.debug_struct(&format!("GZlibCompressor @ {self:p}"))
8845            .finish()
8846    }
8847}
8848
8849#[repr(C)]
8850#[allow(dead_code)]
8851pub struct GZlibDecompressor {
8852    _data: [u8; 0],
8853    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8854}
8855
8856impl ::std::fmt::Debug for GZlibDecompressor {
8857    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8858        f.debug_struct(&format!("GZlibDecompressor @ {self:p}"))
8859            .finish()
8860    }
8861}
8862
8863// Interfaces
8864#[repr(C)]
8865#[allow(dead_code)]
8866pub struct GAction {
8867    _data: [u8; 0],
8868    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8869}
8870
8871impl ::std::fmt::Debug for GAction {
8872    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8873        write!(f, "GAction @ {self:p}")
8874    }
8875}
8876
8877#[repr(C)]
8878#[allow(dead_code)]
8879pub struct GActionGroup {
8880    _data: [u8; 0],
8881    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8882}
8883
8884impl ::std::fmt::Debug for GActionGroup {
8885    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8886        write!(f, "GActionGroup @ {self:p}")
8887    }
8888}
8889
8890#[repr(C)]
8891#[allow(dead_code)]
8892pub struct GActionMap {
8893    _data: [u8; 0],
8894    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8895}
8896
8897impl ::std::fmt::Debug for GActionMap {
8898    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8899        write!(f, "GActionMap @ {self:p}")
8900    }
8901}
8902
8903#[repr(C)]
8904#[allow(dead_code)]
8905pub struct GAppInfo {
8906    _data: [u8; 0],
8907    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8908}
8909
8910impl ::std::fmt::Debug for GAppInfo {
8911    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8912        write!(f, "GAppInfo @ {self:p}")
8913    }
8914}
8915
8916#[repr(C)]
8917#[allow(dead_code)]
8918pub struct GAsyncInitable {
8919    _data: [u8; 0],
8920    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8921}
8922
8923impl ::std::fmt::Debug for GAsyncInitable {
8924    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8925        write!(f, "GAsyncInitable @ {self:p}")
8926    }
8927}
8928
8929#[repr(C)]
8930#[allow(dead_code)]
8931pub struct GAsyncResult {
8932    _data: [u8; 0],
8933    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8934}
8935
8936impl ::std::fmt::Debug for GAsyncResult {
8937    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8938        write!(f, "GAsyncResult @ {self:p}")
8939    }
8940}
8941
8942#[repr(C)]
8943#[allow(dead_code)]
8944pub struct GConverter {
8945    _data: [u8; 0],
8946    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8947}
8948
8949impl ::std::fmt::Debug for GConverter {
8950    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8951        write!(f, "GConverter @ {self:p}")
8952    }
8953}
8954
8955#[repr(C)]
8956#[allow(dead_code)]
8957pub struct GDBusInterface {
8958    _data: [u8; 0],
8959    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8960}
8961
8962impl ::std::fmt::Debug for GDBusInterface {
8963    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8964        write!(f, "GDBusInterface @ {self:p}")
8965    }
8966}
8967
8968#[repr(C)]
8969#[allow(dead_code)]
8970pub struct GDBusObject {
8971    _data: [u8; 0],
8972    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8973}
8974
8975impl ::std::fmt::Debug for GDBusObject {
8976    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8977        write!(f, "GDBusObject @ {self:p}")
8978    }
8979}
8980
8981#[repr(C)]
8982#[allow(dead_code)]
8983pub struct GDBusObjectManager {
8984    _data: [u8; 0],
8985    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8986}
8987
8988impl ::std::fmt::Debug for GDBusObjectManager {
8989    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8990        write!(f, "GDBusObjectManager @ {self:p}")
8991    }
8992}
8993
8994#[repr(C)]
8995#[allow(dead_code)]
8996pub struct GDatagramBased {
8997    _data: [u8; 0],
8998    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8999}
9000
9001impl ::std::fmt::Debug for GDatagramBased {
9002    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9003        write!(f, "GDatagramBased @ {self:p}")
9004    }
9005}
9006
9007#[repr(C)]
9008#[allow(dead_code)]
9009pub struct GDebugController {
9010    _data: [u8; 0],
9011    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9012}
9013
9014impl ::std::fmt::Debug for GDebugController {
9015    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9016        write!(f, "GDebugController @ {self:p}")
9017    }
9018}
9019
9020#[repr(C)]
9021#[allow(dead_code)]
9022pub struct GDesktopAppInfoLookup {
9023    _data: [u8; 0],
9024    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9025}
9026
9027impl ::std::fmt::Debug for GDesktopAppInfoLookup {
9028    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9029        write!(f, "GDesktopAppInfoLookup @ {self:p}")
9030    }
9031}
9032
9033#[repr(C)]
9034#[allow(dead_code)]
9035pub struct GDrive {
9036    _data: [u8; 0],
9037    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9038}
9039
9040impl ::std::fmt::Debug for GDrive {
9041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9042        write!(f, "GDrive @ {self:p}")
9043    }
9044}
9045
9046#[repr(C)]
9047#[allow(dead_code)]
9048pub struct GDtlsClientConnection {
9049    _data: [u8; 0],
9050    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9051}
9052
9053impl ::std::fmt::Debug for GDtlsClientConnection {
9054    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9055        write!(f, "GDtlsClientConnection @ {self:p}")
9056    }
9057}
9058
9059#[repr(C)]
9060#[allow(dead_code)]
9061pub struct GDtlsConnection {
9062    _data: [u8; 0],
9063    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9064}
9065
9066impl ::std::fmt::Debug for GDtlsConnection {
9067    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9068        write!(f, "GDtlsConnection @ {self:p}")
9069    }
9070}
9071
9072#[repr(C)]
9073#[allow(dead_code)]
9074pub struct GDtlsServerConnection {
9075    _data: [u8; 0],
9076    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9077}
9078
9079impl ::std::fmt::Debug for GDtlsServerConnection {
9080    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9081        write!(f, "GDtlsServerConnection @ {self:p}")
9082    }
9083}
9084
9085#[repr(C)]
9086#[allow(dead_code)]
9087pub struct GFile {
9088    _data: [u8; 0],
9089    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9090}
9091
9092impl ::std::fmt::Debug for GFile {
9093    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9094        write!(f, "GFile @ {self:p}")
9095    }
9096}
9097
9098#[repr(C)]
9099#[allow(dead_code)]
9100pub struct GFileDescriptorBased {
9101    _data: [u8; 0],
9102    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9103}
9104
9105impl ::std::fmt::Debug for GFileDescriptorBased {
9106    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9107        write!(f, "GFileDescriptorBased @ {self:p}")
9108    }
9109}
9110
9111#[repr(C)]
9112#[allow(dead_code)]
9113pub struct GIcon {
9114    _data: [u8; 0],
9115    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9116}
9117
9118impl ::std::fmt::Debug for GIcon {
9119    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9120        write!(f, "GIcon @ {self:p}")
9121    }
9122}
9123
9124#[repr(C)]
9125#[allow(dead_code)]
9126pub struct GInitable {
9127    _data: [u8; 0],
9128    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9129}
9130
9131impl ::std::fmt::Debug for GInitable {
9132    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9133        write!(f, "GInitable @ {self:p}")
9134    }
9135}
9136
9137#[repr(C)]
9138#[allow(dead_code)]
9139pub struct GListModel {
9140    _data: [u8; 0],
9141    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9142}
9143
9144impl ::std::fmt::Debug for GListModel {
9145    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9146        write!(f, "GListModel @ {self:p}")
9147    }
9148}
9149
9150#[repr(C)]
9151#[allow(dead_code)]
9152pub struct GLoadableIcon {
9153    _data: [u8; 0],
9154    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9155}
9156
9157impl ::std::fmt::Debug for GLoadableIcon {
9158    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9159        write!(f, "GLoadableIcon @ {self:p}")
9160    }
9161}
9162
9163#[repr(C)]
9164#[allow(dead_code)]
9165pub struct GMemoryMonitor {
9166    _data: [u8; 0],
9167    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9168}
9169
9170impl ::std::fmt::Debug for GMemoryMonitor {
9171    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9172        write!(f, "GMemoryMonitor @ {self:p}")
9173    }
9174}
9175
9176#[repr(C)]
9177#[allow(dead_code)]
9178pub struct GMount {
9179    _data: [u8; 0],
9180    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9181}
9182
9183impl ::std::fmt::Debug for GMount {
9184    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9185        write!(f, "GMount @ {self:p}")
9186    }
9187}
9188
9189#[repr(C)]
9190#[allow(dead_code)]
9191pub struct GNetworkMonitor {
9192    _data: [u8; 0],
9193    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9194}
9195
9196impl ::std::fmt::Debug for GNetworkMonitor {
9197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9198        write!(f, "GNetworkMonitor @ {self:p}")
9199    }
9200}
9201
9202#[repr(C)]
9203#[allow(dead_code)]
9204pub struct GPollableInputStream {
9205    _data: [u8; 0],
9206    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9207}
9208
9209impl ::std::fmt::Debug for GPollableInputStream {
9210    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9211        write!(f, "GPollableInputStream @ {self:p}")
9212    }
9213}
9214
9215#[repr(C)]
9216#[allow(dead_code)]
9217pub struct GPollableOutputStream {
9218    _data: [u8; 0],
9219    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9220}
9221
9222impl ::std::fmt::Debug for GPollableOutputStream {
9223    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9224        write!(f, "GPollableOutputStream @ {self:p}")
9225    }
9226}
9227
9228#[repr(C)]
9229#[allow(dead_code)]
9230pub struct GPowerProfileMonitor {
9231    _data: [u8; 0],
9232    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9233}
9234
9235impl ::std::fmt::Debug for GPowerProfileMonitor {
9236    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9237        write!(f, "GPowerProfileMonitor @ {self:p}")
9238    }
9239}
9240
9241#[repr(C)]
9242#[allow(dead_code)]
9243pub struct GProxy {
9244    _data: [u8; 0],
9245    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9246}
9247
9248impl ::std::fmt::Debug for GProxy {
9249    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9250        write!(f, "GProxy @ {self:p}")
9251    }
9252}
9253
9254#[repr(C)]
9255#[allow(dead_code)]
9256pub struct GProxyResolver {
9257    _data: [u8; 0],
9258    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9259}
9260
9261impl ::std::fmt::Debug for GProxyResolver {
9262    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9263        write!(f, "GProxyResolver @ {self:p}")
9264    }
9265}
9266
9267#[repr(C)]
9268#[allow(dead_code)]
9269pub struct GRemoteActionGroup {
9270    _data: [u8; 0],
9271    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9272}
9273
9274impl ::std::fmt::Debug for GRemoteActionGroup {
9275    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9276        write!(f, "GRemoteActionGroup @ {self:p}")
9277    }
9278}
9279
9280#[repr(C)]
9281#[allow(dead_code)]
9282pub struct GSeekable {
9283    _data: [u8; 0],
9284    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9285}
9286
9287impl ::std::fmt::Debug for GSeekable {
9288    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9289        write!(f, "GSeekable @ {self:p}")
9290    }
9291}
9292
9293#[repr(C)]
9294#[allow(dead_code)]
9295pub struct GSocketConnectable {
9296    _data: [u8; 0],
9297    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9298}
9299
9300impl ::std::fmt::Debug for GSocketConnectable {
9301    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9302        write!(f, "GSocketConnectable @ {self:p}")
9303    }
9304}
9305
9306#[repr(C)]
9307#[allow(dead_code)]
9308pub struct GTlsBackend {
9309    _data: [u8; 0],
9310    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9311}
9312
9313impl ::std::fmt::Debug for GTlsBackend {
9314    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9315        write!(f, "GTlsBackend @ {self:p}")
9316    }
9317}
9318
9319#[repr(C)]
9320#[allow(dead_code)]
9321pub struct GTlsClientConnection {
9322    _data: [u8; 0],
9323    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9324}
9325
9326impl ::std::fmt::Debug for GTlsClientConnection {
9327    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9328        write!(f, "GTlsClientConnection @ {self:p}")
9329    }
9330}
9331
9332#[repr(C)]
9333#[allow(dead_code)]
9334pub struct GTlsFileDatabase {
9335    _data: [u8; 0],
9336    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9337}
9338
9339impl ::std::fmt::Debug for GTlsFileDatabase {
9340    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9341        write!(f, "GTlsFileDatabase @ {self:p}")
9342    }
9343}
9344
9345#[repr(C)]
9346#[allow(dead_code)]
9347pub struct GTlsServerConnection {
9348    _data: [u8; 0],
9349    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9350}
9351
9352impl ::std::fmt::Debug for GTlsServerConnection {
9353    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9354        write!(f, "GTlsServerConnection @ {self:p}")
9355    }
9356}
9357
9358#[repr(C)]
9359#[allow(dead_code)]
9360pub struct GVolume {
9361    _data: [u8; 0],
9362    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9363}
9364
9365impl ::std::fmt::Debug for GVolume {
9366    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9367        write!(f, "GVolume @ {self:p}")
9368    }
9369}
9370
9371extern "C" {
9372
9373    //=========================================================================
9374    // GBusType
9375    //=========================================================================
9376    pub fn g_bus_type_get_type() -> GType;
9377
9378    //=========================================================================
9379    // GConverterResult
9380    //=========================================================================
9381    pub fn g_converter_result_get_type() -> GType;
9382
9383    //=========================================================================
9384    // GCredentialsType
9385    //=========================================================================
9386    pub fn g_credentials_type_get_type() -> GType;
9387
9388    //=========================================================================
9389    // GDBusError
9390    //=========================================================================
9391    pub fn g_dbus_error_get_type() -> GType;
9392    pub fn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char;
9393    pub fn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char;
9394    pub fn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean;
9395    pub fn g_dbus_error_new_for_dbus_error(
9396        dbus_error_name: *const c_char,
9397        dbus_error_message: *const c_char,
9398    ) -> *mut glib::GError;
9399    pub fn g_dbus_error_quark() -> glib::GQuark;
9400    pub fn g_dbus_error_register_error(
9401        error_domain: glib::GQuark,
9402        error_code: c_int,
9403        dbus_error_name: *const c_char,
9404    ) -> gboolean;
9405    pub fn g_dbus_error_register_error_domain(
9406        error_domain_quark_name: *const c_char,
9407        quark_volatile: *mut size_t,
9408        entries: *const GDBusErrorEntry,
9409        num_entries: c_uint,
9410    );
9411    pub fn g_dbus_error_set_dbus_error(
9412        error: *mut *mut glib::GError,
9413        dbus_error_name: *const c_char,
9414        dbus_error_message: *const c_char,
9415        format: *const c_char,
9416        ...
9417    );
9418    //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);
9419    pub fn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean;
9420    pub fn g_dbus_error_unregister_error(
9421        error_domain: glib::GQuark,
9422        error_code: c_int,
9423        dbus_error_name: *const c_char,
9424    ) -> gboolean;
9425
9426    //=========================================================================
9427    // GDBusMessageByteOrder
9428    //=========================================================================
9429    pub fn g_dbus_message_byte_order_get_type() -> GType;
9430
9431    //=========================================================================
9432    // GDBusMessageHeaderField
9433    //=========================================================================
9434    pub fn g_dbus_message_header_field_get_type() -> GType;
9435
9436    //=========================================================================
9437    // GDBusMessageType
9438    //=========================================================================
9439    pub fn g_dbus_message_type_get_type() -> GType;
9440
9441    //=========================================================================
9442    // GDataStreamByteOrder
9443    //=========================================================================
9444    pub fn g_data_stream_byte_order_get_type() -> GType;
9445
9446    //=========================================================================
9447    // GDataStreamNewlineType
9448    //=========================================================================
9449    pub fn g_data_stream_newline_type_get_type() -> GType;
9450
9451    //=========================================================================
9452    // GDriveStartStopType
9453    //=========================================================================
9454    pub fn g_drive_start_stop_type_get_type() -> GType;
9455
9456    //=========================================================================
9457    // GEmblemOrigin
9458    //=========================================================================
9459    pub fn g_emblem_origin_get_type() -> GType;
9460
9461    //=========================================================================
9462    // GFileAttributeStatus
9463    //=========================================================================
9464    pub fn g_file_attribute_status_get_type() -> GType;
9465
9466    //=========================================================================
9467    // GFileAttributeType
9468    //=========================================================================
9469    pub fn g_file_attribute_type_get_type() -> GType;
9470
9471    //=========================================================================
9472    // GFileMonitorEvent
9473    //=========================================================================
9474    pub fn g_file_monitor_event_get_type() -> GType;
9475
9476    //=========================================================================
9477    // GFileType
9478    //=========================================================================
9479    pub fn g_file_type_get_type() -> GType;
9480
9481    //=========================================================================
9482    // GFilesystemPreviewType
9483    //=========================================================================
9484    pub fn g_filesystem_preview_type_get_type() -> GType;
9485
9486    //=========================================================================
9487    // GIOErrorEnum
9488    //=========================================================================
9489    pub fn g_io_error_enum_get_type() -> GType;
9490
9491    //=========================================================================
9492    // GIOModuleScopeFlags
9493    //=========================================================================
9494    pub fn g_io_module_scope_flags_get_type() -> GType;
9495
9496    //=========================================================================
9497    // GMemoryMonitorWarningLevel
9498    //=========================================================================
9499    #[cfg(feature = "v2_64")]
9500    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
9501    pub fn g_memory_monitor_warning_level_get_type() -> GType;
9502
9503    //=========================================================================
9504    // GMountOperationResult
9505    //=========================================================================
9506    pub fn g_mount_operation_result_get_type() -> GType;
9507
9508    //=========================================================================
9509    // GNetworkConnectivity
9510    //=========================================================================
9511    pub fn g_network_connectivity_get_type() -> GType;
9512
9513    //=========================================================================
9514    // GNotificationPriority
9515    //=========================================================================
9516    pub fn g_notification_priority_get_type() -> GType;
9517
9518    //=========================================================================
9519    // GPasswordSave
9520    //=========================================================================
9521    pub fn g_password_save_get_type() -> GType;
9522
9523    //=========================================================================
9524    // GPollableReturn
9525    //=========================================================================
9526    #[cfg(feature = "v2_60")]
9527    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9528    pub fn g_pollable_return_get_type() -> GType;
9529
9530    //=========================================================================
9531    // GResolverError
9532    //=========================================================================
9533    pub fn g_resolver_error_get_type() -> GType;
9534    pub fn g_resolver_error_quark() -> glib::GQuark;
9535
9536    //=========================================================================
9537    // GResolverRecordType
9538    //=========================================================================
9539    pub fn g_resolver_record_type_get_type() -> GType;
9540
9541    //=========================================================================
9542    // GResourceError
9543    //=========================================================================
9544    pub fn g_resource_error_get_type() -> GType;
9545    pub fn g_resource_error_quark() -> glib::GQuark;
9546
9547    //=========================================================================
9548    // GSocketClientEvent
9549    //=========================================================================
9550    pub fn g_socket_client_event_get_type() -> GType;
9551
9552    //=========================================================================
9553    // GSocketFamily
9554    //=========================================================================
9555    pub fn g_socket_family_get_type() -> GType;
9556
9557    //=========================================================================
9558    // GSocketListenerEvent
9559    //=========================================================================
9560    pub fn g_socket_listener_event_get_type() -> GType;
9561
9562    //=========================================================================
9563    // GSocketProtocol
9564    //=========================================================================
9565    pub fn g_socket_protocol_get_type() -> GType;
9566
9567    //=========================================================================
9568    // GSocketType
9569    //=========================================================================
9570    pub fn g_socket_type_get_type() -> GType;
9571
9572    //=========================================================================
9573    // GTlsAuthenticationMode
9574    //=========================================================================
9575    pub fn g_tls_authentication_mode_get_type() -> GType;
9576
9577    //=========================================================================
9578    // GTlsCertificateRequestFlags
9579    //=========================================================================
9580    pub fn g_tls_certificate_request_flags_get_type() -> GType;
9581
9582    //=========================================================================
9583    // GTlsChannelBindingError
9584    //=========================================================================
9585    #[cfg(feature = "v2_66")]
9586    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9587    pub fn g_tls_channel_binding_error_get_type() -> GType;
9588    #[cfg(feature = "v2_66")]
9589    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9590    pub fn g_tls_channel_binding_error_quark() -> glib::GQuark;
9591
9592    //=========================================================================
9593    // GTlsChannelBindingType
9594    //=========================================================================
9595    #[cfg(feature = "v2_66")]
9596    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9597    pub fn g_tls_channel_binding_type_get_type() -> GType;
9598
9599    //=========================================================================
9600    // GTlsDatabaseLookupFlags
9601    //=========================================================================
9602    pub fn g_tls_database_lookup_flags_get_type() -> GType;
9603
9604    //=========================================================================
9605    // GTlsError
9606    //=========================================================================
9607    pub fn g_tls_error_get_type() -> GType;
9608    pub fn g_tls_error_quark() -> glib::GQuark;
9609
9610    //=========================================================================
9611    // GTlsInteractionResult
9612    //=========================================================================
9613    pub fn g_tls_interaction_result_get_type() -> GType;
9614
9615    //=========================================================================
9616    // GTlsProtocolVersion
9617    //=========================================================================
9618    #[cfg(feature = "v2_70")]
9619    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
9620    pub fn g_tls_protocol_version_get_type() -> GType;
9621
9622    //=========================================================================
9623    // GTlsRehandshakeMode
9624    //=========================================================================
9625    pub fn g_tls_rehandshake_mode_get_type() -> GType;
9626
9627    //=========================================================================
9628    // GUnixSocketAddressType
9629    //=========================================================================
9630    pub fn g_unix_socket_address_type_get_type() -> GType;
9631
9632    //=========================================================================
9633    // GZlibCompressorFormat
9634    //=========================================================================
9635    pub fn g_zlib_compressor_format_get_type() -> GType;
9636
9637    //=========================================================================
9638    // GAppInfoCreateFlags
9639    //=========================================================================
9640    pub fn g_app_info_create_flags_get_type() -> GType;
9641
9642    //=========================================================================
9643    // GApplicationFlags
9644    //=========================================================================
9645    pub fn g_application_flags_get_type() -> GType;
9646
9647    //=========================================================================
9648    // GAskPasswordFlags
9649    //=========================================================================
9650    pub fn g_ask_password_flags_get_type() -> GType;
9651
9652    //=========================================================================
9653    // GBusNameOwnerFlags
9654    //=========================================================================
9655    pub fn g_bus_name_owner_flags_get_type() -> GType;
9656
9657    //=========================================================================
9658    // GBusNameWatcherFlags
9659    //=========================================================================
9660    pub fn g_bus_name_watcher_flags_get_type() -> GType;
9661
9662    //=========================================================================
9663    // GConverterFlags
9664    //=========================================================================
9665    pub fn g_converter_flags_get_type() -> GType;
9666
9667    //=========================================================================
9668    // GDBusCallFlags
9669    //=========================================================================
9670    pub fn g_dbus_call_flags_get_type() -> GType;
9671
9672    //=========================================================================
9673    // GDBusCapabilityFlags
9674    //=========================================================================
9675    pub fn g_dbus_capability_flags_get_type() -> GType;
9676
9677    //=========================================================================
9678    // GDBusConnectionFlags
9679    //=========================================================================
9680    pub fn g_dbus_connection_flags_get_type() -> GType;
9681
9682    //=========================================================================
9683    // GDBusInterfaceSkeletonFlags
9684    //=========================================================================
9685    pub fn g_dbus_interface_skeleton_flags_get_type() -> GType;
9686
9687    //=========================================================================
9688    // GDBusMessageFlags
9689    //=========================================================================
9690    pub fn g_dbus_message_flags_get_type() -> GType;
9691
9692    //=========================================================================
9693    // GDBusObjectManagerClientFlags
9694    //=========================================================================
9695    pub fn g_dbus_object_manager_client_flags_get_type() -> GType;
9696
9697    //=========================================================================
9698    // GDBusPropertyInfoFlags
9699    //=========================================================================
9700    pub fn g_dbus_property_info_flags_get_type() -> GType;
9701
9702    //=========================================================================
9703    // GDBusProxyFlags
9704    //=========================================================================
9705    pub fn g_dbus_proxy_flags_get_type() -> GType;
9706
9707    //=========================================================================
9708    // GDBusSendMessageFlags
9709    //=========================================================================
9710    pub fn g_dbus_send_message_flags_get_type() -> GType;
9711
9712    //=========================================================================
9713    // GDBusServerFlags
9714    //=========================================================================
9715    pub fn g_dbus_server_flags_get_type() -> GType;
9716
9717    //=========================================================================
9718    // GDBusSignalFlags
9719    //=========================================================================
9720    pub fn g_dbus_signal_flags_get_type() -> GType;
9721
9722    //=========================================================================
9723    // GDBusSubtreeFlags
9724    //=========================================================================
9725    pub fn g_dbus_subtree_flags_get_type() -> GType;
9726
9727    //=========================================================================
9728    // GDriveStartFlags
9729    //=========================================================================
9730    pub fn g_drive_start_flags_get_type() -> GType;
9731
9732    //=========================================================================
9733    // GFileAttributeInfoFlags
9734    //=========================================================================
9735    pub fn g_file_attribute_info_flags_get_type() -> GType;
9736
9737    //=========================================================================
9738    // GFileCopyFlags
9739    //=========================================================================
9740    pub fn g_file_copy_flags_get_type() -> GType;
9741
9742    //=========================================================================
9743    // GFileCreateFlags
9744    //=========================================================================
9745    pub fn g_file_create_flags_get_type() -> GType;
9746
9747    //=========================================================================
9748    // GFileMeasureFlags
9749    //=========================================================================
9750    pub fn g_file_measure_flags_get_type() -> GType;
9751
9752    //=========================================================================
9753    // GFileMonitorFlags
9754    //=========================================================================
9755    pub fn g_file_monitor_flags_get_type() -> GType;
9756
9757    //=========================================================================
9758    // GFileQueryInfoFlags
9759    //=========================================================================
9760    pub fn g_file_query_info_flags_get_type() -> GType;
9761
9762    //=========================================================================
9763    // GIOStreamSpliceFlags
9764    //=========================================================================
9765    pub fn g_io_stream_splice_flags_get_type() -> GType;
9766
9767    //=========================================================================
9768    // GMountMountFlags
9769    //=========================================================================
9770    pub fn g_mount_mount_flags_get_type() -> GType;
9771
9772    //=========================================================================
9773    // GMountUnmountFlags
9774    //=========================================================================
9775    pub fn g_mount_unmount_flags_get_type() -> GType;
9776
9777    //=========================================================================
9778    // GOutputStreamSpliceFlags
9779    //=========================================================================
9780    pub fn g_output_stream_splice_flags_get_type() -> GType;
9781
9782    //=========================================================================
9783    // GResolverNameLookupFlags
9784    //=========================================================================
9785    #[cfg(feature = "v2_60")]
9786    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9787    pub fn g_resolver_name_lookup_flags_get_type() -> GType;
9788
9789    //=========================================================================
9790    // GResourceFlags
9791    //=========================================================================
9792    pub fn g_resource_flags_get_type() -> GType;
9793
9794    //=========================================================================
9795    // GResourceLookupFlags
9796    //=========================================================================
9797    pub fn g_resource_lookup_flags_get_type() -> GType;
9798
9799    //=========================================================================
9800    // GSettingsBindFlags
9801    //=========================================================================
9802    pub fn g_settings_bind_flags_get_type() -> GType;
9803
9804    //=========================================================================
9805    // GSocketMsgFlags
9806    //=========================================================================
9807    pub fn g_socket_msg_flags_get_type() -> GType;
9808
9809    //=========================================================================
9810    // GSubprocessFlags
9811    //=========================================================================
9812    pub fn g_subprocess_flags_get_type() -> GType;
9813
9814    //=========================================================================
9815    // GTestDBusFlags
9816    //=========================================================================
9817    pub fn g_test_dbus_flags_get_type() -> GType;
9818
9819    //=========================================================================
9820    // GTlsCertificateFlags
9821    //=========================================================================
9822    pub fn g_tls_certificate_flags_get_type() -> GType;
9823
9824    //=========================================================================
9825    // GTlsDatabaseVerifyFlags
9826    //=========================================================================
9827    pub fn g_tls_database_verify_flags_get_type() -> GType;
9828
9829    //=========================================================================
9830    // GTlsPasswordFlags
9831    //=========================================================================
9832    pub fn g_tls_password_flags_get_type() -> GType;
9833
9834    //=========================================================================
9835    // GDBusAnnotationInfo
9836    //=========================================================================
9837    pub fn g_dbus_annotation_info_get_type() -> GType;
9838    pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo;
9839    pub fn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo);
9840    pub fn g_dbus_annotation_info_lookup(
9841        annotations: *mut *mut GDBusAnnotationInfo,
9842        name: *const c_char,
9843    ) -> *const c_char;
9844
9845    //=========================================================================
9846    // GDBusArgInfo
9847    //=========================================================================
9848    pub fn g_dbus_arg_info_get_type() -> GType;
9849    pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo;
9850    pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo);
9851
9852    //=========================================================================
9853    // GDBusInterfaceInfo
9854    //=========================================================================
9855    pub fn g_dbus_interface_info_get_type() -> GType;
9856    pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo);
9857    pub fn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo);
9858    pub fn g_dbus_interface_info_generate_xml(
9859        info: *mut GDBusInterfaceInfo,
9860        indent: c_uint,
9861        string_builder: *mut glib::GString,
9862    );
9863    pub fn g_dbus_interface_info_lookup_method(
9864        info: *mut GDBusInterfaceInfo,
9865        name: *const c_char,
9866    ) -> *mut GDBusMethodInfo;
9867    pub fn g_dbus_interface_info_lookup_property(
9868        info: *mut GDBusInterfaceInfo,
9869        name: *const c_char,
9870    ) -> *mut GDBusPropertyInfo;
9871    pub fn g_dbus_interface_info_lookup_signal(
9872        info: *mut GDBusInterfaceInfo,
9873        name: *const c_char,
9874    ) -> *mut GDBusSignalInfo;
9875    pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo;
9876    pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo);
9877
9878    //=========================================================================
9879    // GDBusMethodInfo
9880    //=========================================================================
9881    pub fn g_dbus_method_info_get_type() -> GType;
9882    pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo;
9883    pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo);
9884
9885    //=========================================================================
9886    // GDBusNodeInfo
9887    //=========================================================================
9888    pub fn g_dbus_node_info_get_type() -> GType;
9889    pub fn g_dbus_node_info_new_for_xml(
9890        xml_data: *const c_char,
9891        error: *mut *mut glib::GError,
9892    ) -> *mut GDBusNodeInfo;
9893    pub fn g_dbus_node_info_generate_xml(
9894        info: *mut GDBusNodeInfo,
9895        indent: c_uint,
9896        string_builder: *mut glib::GString,
9897    );
9898    pub fn g_dbus_node_info_lookup_interface(
9899        info: *mut GDBusNodeInfo,
9900        name: *const c_char,
9901    ) -> *mut GDBusInterfaceInfo;
9902    pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo;
9903    pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo);
9904
9905    //=========================================================================
9906    // GDBusPropertyInfo
9907    //=========================================================================
9908    pub fn g_dbus_property_info_get_type() -> GType;
9909    pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo;
9910    pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo);
9911
9912    //=========================================================================
9913    // GDBusSignalInfo
9914    //=========================================================================
9915    pub fn g_dbus_signal_info_get_type() -> GType;
9916    pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo;
9917    pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo);
9918
9919    //=========================================================================
9920    // GFileAttributeInfoList
9921    //=========================================================================
9922    pub fn g_file_attribute_info_list_get_type() -> GType;
9923    pub fn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList;
9924    pub fn g_file_attribute_info_list_add(
9925        list: *mut GFileAttributeInfoList,
9926        name: *const c_char,
9927        type_: GFileAttributeType,
9928        flags: GFileAttributeInfoFlags,
9929    );
9930    pub fn g_file_attribute_info_list_dup(
9931        list: *mut GFileAttributeInfoList,
9932    ) -> *mut GFileAttributeInfoList;
9933    pub fn g_file_attribute_info_list_lookup(
9934        list: *mut GFileAttributeInfoList,
9935        name: *const c_char,
9936    ) -> *const GFileAttributeInfo;
9937    pub fn g_file_attribute_info_list_ref(
9938        list: *mut GFileAttributeInfoList,
9939    ) -> *mut GFileAttributeInfoList;
9940    pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList);
9941
9942    //=========================================================================
9943    // GFileAttributeMatcher
9944    //=========================================================================
9945    pub fn g_file_attribute_matcher_get_type() -> GType;
9946    pub fn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher;
9947    pub fn g_file_attribute_matcher_enumerate_namespace(
9948        matcher: *mut GFileAttributeMatcher,
9949        ns: *const c_char,
9950    ) -> gboolean;
9951    pub fn g_file_attribute_matcher_enumerate_next(
9952        matcher: *mut GFileAttributeMatcher,
9953    ) -> *const c_char;
9954    pub fn g_file_attribute_matcher_matches(
9955        matcher: *mut GFileAttributeMatcher,
9956        attribute: *const c_char,
9957    ) -> gboolean;
9958    pub fn g_file_attribute_matcher_matches_only(
9959        matcher: *mut GFileAttributeMatcher,
9960        attribute: *const c_char,
9961    ) -> gboolean;
9962    pub fn g_file_attribute_matcher_ref(
9963        matcher: *mut GFileAttributeMatcher,
9964    ) -> *mut GFileAttributeMatcher;
9965    pub fn g_file_attribute_matcher_subtract(
9966        matcher: *mut GFileAttributeMatcher,
9967        subtract: *mut GFileAttributeMatcher,
9968    ) -> *mut GFileAttributeMatcher;
9969    pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char;
9970    pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher);
9971
9972    //=========================================================================
9973    // GIOExtension
9974    //=========================================================================
9975    pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char;
9976    pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int;
9977    pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType;
9978    pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass;
9979
9980    //=========================================================================
9981    // GIOExtensionPoint
9982    //=========================================================================
9983    pub fn g_io_extension_point_get_extension_by_name(
9984        extension_point: *mut GIOExtensionPoint,
9985        name: *const c_char,
9986    ) -> *mut GIOExtension;
9987    pub fn g_io_extension_point_get_extensions(
9988        extension_point: *mut GIOExtensionPoint,
9989    ) -> *mut glib::GList;
9990    pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint)
9991        -> GType;
9992    pub fn g_io_extension_point_set_required_type(
9993        extension_point: *mut GIOExtensionPoint,
9994        type_: GType,
9995    );
9996    pub fn g_io_extension_point_implement(
9997        extension_point_name: *const c_char,
9998        type_: GType,
9999        extension_name: *const c_char,
10000        priority: c_int,
10001    ) -> *mut GIOExtension;
10002    pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint;
10003    pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint;
10004
10005    //=========================================================================
10006    // GIOModuleScope
10007    //=========================================================================
10008    pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char);
10009    pub fn g_io_module_scope_free(scope: *mut GIOModuleScope);
10010    pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope;
10011
10012    //=========================================================================
10013    // GIOSchedulerJob
10014    //=========================================================================
10015    pub fn g_io_scheduler_job_send_to_mainloop(
10016        job: *mut GIOSchedulerJob,
10017        func: glib::GSourceFunc,
10018        user_data: gpointer,
10019        notify: glib::GDestroyNotify,
10020    ) -> gboolean;
10021    pub fn g_io_scheduler_job_send_to_mainloop_async(
10022        job: *mut GIOSchedulerJob,
10023        func: glib::GSourceFunc,
10024        user_data: gpointer,
10025        notify: glib::GDestroyNotify,
10026    );
10027
10028    //=========================================================================
10029    // GResource
10030    //=========================================================================
10031    pub fn g_resource_get_type() -> GType;
10032    pub fn g_resource_new_from_data(
10033        data: *mut glib::GBytes,
10034        error: *mut *mut glib::GError,
10035    ) -> *mut GResource;
10036    pub fn g_resource_enumerate_children(
10037        resource: *mut GResource,
10038        path: *const c_char,
10039        lookup_flags: GResourceLookupFlags,
10040        error: *mut *mut glib::GError,
10041    ) -> *mut *mut c_char;
10042    pub fn g_resource_get_info(
10043        resource: *mut GResource,
10044        path: *const c_char,
10045        lookup_flags: GResourceLookupFlags,
10046        size: *mut size_t,
10047        flags: *mut u32,
10048        error: *mut *mut glib::GError,
10049    ) -> gboolean;
10050    #[cfg(feature = "v2_84")]
10051    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10052    pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean;
10053    pub fn g_resource_lookup_data(
10054        resource: *mut GResource,
10055        path: *const c_char,
10056        lookup_flags: GResourceLookupFlags,
10057        error: *mut *mut glib::GError,
10058    ) -> *mut glib::GBytes;
10059    pub fn g_resource_open_stream(
10060        resource: *mut GResource,
10061        path: *const c_char,
10062        lookup_flags: GResourceLookupFlags,
10063        error: *mut *mut glib::GError,
10064    ) -> *mut GInputStream;
10065    pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource;
10066    pub fn g_resource_unref(resource: *mut GResource);
10067    pub fn g_resource_load(
10068        filename: *const c_char,
10069        error: *mut *mut glib::GError,
10070    ) -> *mut GResource;
10071
10072    //=========================================================================
10073    // GSettingsSchema
10074    //=========================================================================
10075    pub fn g_settings_schema_get_type() -> GType;
10076    pub fn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char;
10077    pub fn g_settings_schema_get_key(
10078        schema: *mut GSettingsSchema,
10079        name: *const c_char,
10080    ) -> *mut GSettingsSchemaKey;
10081    pub fn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char;
10082    pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char)
10083        -> gboolean;
10084    pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char;
10085    pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char;
10086    pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema;
10087    pub fn g_settings_schema_unref(schema: *mut GSettingsSchema);
10088
10089    //=========================================================================
10090    // GSettingsSchemaKey
10091    //=========================================================================
10092    pub fn g_settings_schema_key_get_type() -> GType;
10093    pub fn g_settings_schema_key_get_default_value(
10094        key: *mut GSettingsSchemaKey,
10095    ) -> *mut glib::GVariant;
10096    pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char;
10097    pub fn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char;
10098    pub fn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant;
10099    pub fn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char;
10100    pub fn g_settings_schema_key_get_value_type(
10101        key: *mut GSettingsSchemaKey,
10102    ) -> *const glib::GVariantType;
10103    pub fn g_settings_schema_key_range_check(
10104        key: *mut GSettingsSchemaKey,
10105        value: *mut glib::GVariant,
10106    ) -> gboolean;
10107    pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey;
10108    pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey);
10109
10110    //=========================================================================
10111    // GSettingsSchemaSource
10112    //=========================================================================
10113    pub fn g_settings_schema_source_get_type() -> GType;
10114    pub fn g_settings_schema_source_new_from_directory(
10115        directory: *const c_char,
10116        parent: *mut GSettingsSchemaSource,
10117        trusted: gboolean,
10118        error: *mut *mut glib::GError,
10119    ) -> *mut GSettingsSchemaSource;
10120    pub fn g_settings_schema_source_list_schemas(
10121        source: *mut GSettingsSchemaSource,
10122        recursive: gboolean,
10123        non_relocatable: *mut *mut *mut c_char,
10124        relocatable: *mut *mut *mut c_char,
10125    );
10126    pub fn g_settings_schema_source_lookup(
10127        source: *mut GSettingsSchemaSource,
10128        schema_id: *const c_char,
10129        recursive: gboolean,
10130    ) -> *mut GSettingsSchema;
10131    pub fn g_settings_schema_source_ref(
10132        source: *mut GSettingsSchemaSource,
10133    ) -> *mut GSettingsSchemaSource;
10134    pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource);
10135    pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource;
10136
10137    //=========================================================================
10138    // GSrvTarget
10139    //=========================================================================
10140    pub fn g_srv_target_get_type() -> GType;
10141    pub fn g_srv_target_new(
10142        hostname: *const c_char,
10143        port: u16,
10144        priority: u16,
10145        weight: u16,
10146    ) -> *mut GSrvTarget;
10147    pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget;
10148    pub fn g_srv_target_free(target: *mut GSrvTarget);
10149    pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char;
10150    pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16;
10151    pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16;
10152    pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16;
10153    pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList;
10154
10155    //=========================================================================
10156    // GStaticResource
10157    //=========================================================================
10158    pub fn g_static_resource_fini(static_resource: *mut GStaticResource);
10159    pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource;
10160    pub fn g_static_resource_init(static_resource: *mut GStaticResource);
10161
10162    //=========================================================================
10163    // GUnixMountEntry
10164    //=========================================================================
10165    pub fn g_unix_mount_entry_get_type() -> GType;
10166    #[cfg(feature = "v2_84")]
10167    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10168    pub fn g_unix_mount_entry_compare(
10169        mount1: *mut GUnixMountEntry,
10170        mount2: *mut GUnixMountEntry,
10171    ) -> c_int;
10172    #[cfg(feature = "v2_84")]
10173    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10174    pub fn g_unix_mount_entry_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry;
10175    #[cfg(feature = "v2_84")]
10176    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10177    pub fn g_unix_mount_entry_free(mount_entry: *mut GUnixMountEntry);
10178    #[cfg(feature = "v2_84")]
10179    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10180    pub fn g_unix_mount_entry_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
10181    #[cfg(feature = "v2_84")]
10182    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10183    pub fn g_unix_mount_entry_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char;
10184    #[cfg(feature = "v2_84")]
10185    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10186    pub fn g_unix_mount_entry_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
10187    #[cfg(feature = "v2_84")]
10188    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10189    pub fn g_unix_mount_entry_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char;
10190    #[cfg(feature = "v2_84")]
10191    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10192    pub fn g_unix_mount_entry_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
10193    #[cfg(feature = "v2_84")]
10194    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10195    pub fn g_unix_mount_entry_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean;
10196    #[cfg(feature = "v2_84")]
10197    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10198    pub fn g_unix_mount_entry_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon;
10199    #[cfg(feature = "v2_84")]
10200    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10201    pub fn g_unix_mount_entry_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char;
10202    #[cfg(feature = "v2_84")]
10203    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10204    pub fn g_unix_mount_entry_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean;
10205    #[cfg(feature = "v2_84")]
10206    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10207    pub fn g_unix_mount_entry_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon;
10208    #[cfg(feature = "v2_84")]
10209    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10210    pub fn g_unix_mount_entry_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean;
10211    #[cfg(feature = "v2_84")]
10212    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10213    pub fn g_unix_mount_entry_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean;
10214    #[cfg(feature = "v2_84")]
10215    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10216    pub fn g_unix_mount_entry_at(
10217        mount_path: *const c_char,
10218        time_read: *mut u64,
10219    ) -> *mut GUnixMountEntry;
10220    #[cfg(feature = "v2_84")]
10221    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10222    pub fn g_unix_mount_entry_for(
10223        file_path: *const c_char,
10224        time_read: *mut u64,
10225    ) -> *mut GUnixMountEntry;
10226
10227    //=========================================================================
10228    // GUnixMountPoint
10229    //=========================================================================
10230    pub fn g_unix_mount_point_get_type() -> GType;
10231    pub fn g_unix_mount_point_compare(
10232        mount1: *mut GUnixMountPoint,
10233        mount2: *mut GUnixMountPoint,
10234    ) -> c_int;
10235    pub fn g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint;
10236    pub fn g_unix_mount_point_free(mount_point: *mut GUnixMountPoint);
10237    pub fn g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char;
10238    pub fn g_unix_mount_point_get_fs_type(mount_point: *mut GUnixMountPoint) -> *const c_char;
10239    pub fn g_unix_mount_point_get_mount_path(mount_point: *mut GUnixMountPoint) -> *const c_char;
10240    pub fn g_unix_mount_point_get_options(mount_point: *mut GUnixMountPoint) -> *const c_char;
10241    pub fn g_unix_mount_point_guess_can_eject(mount_point: *mut GUnixMountPoint) -> gboolean;
10242    pub fn g_unix_mount_point_guess_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon;
10243    pub fn g_unix_mount_point_guess_name(mount_point: *mut GUnixMountPoint) -> *mut c_char;
10244    pub fn g_unix_mount_point_guess_symbolic_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon;
10245    pub fn g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean;
10246    pub fn g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean;
10247    pub fn g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean;
10248    #[cfg(feature = "v2_66")]
10249    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
10250    pub fn g_unix_mount_point_at(
10251        mount_path: *const c_char,
10252        time_read: *mut u64,
10253    ) -> *mut GUnixMountPoint;
10254
10255    //=========================================================================
10256    // GAppInfoMonitor
10257    //=========================================================================
10258    pub fn g_app_info_monitor_get_type() -> GType;
10259    pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor;
10260
10261    //=========================================================================
10262    // GAppLaunchContext
10263    //=========================================================================
10264    pub fn g_app_launch_context_get_type() -> GType;
10265    pub fn g_app_launch_context_new() -> *mut GAppLaunchContext;
10266    pub fn g_app_launch_context_get_display(
10267        context: *mut GAppLaunchContext,
10268        info: *mut GAppInfo,
10269        files: *mut glib::GList,
10270    ) -> *mut c_char;
10271    pub fn g_app_launch_context_get_environment(
10272        context: *mut GAppLaunchContext,
10273    ) -> *mut *mut c_char;
10274    pub fn g_app_launch_context_get_startup_notify_id(
10275        context: *mut GAppLaunchContext,
10276        info: *mut GAppInfo,
10277        files: *mut glib::GList,
10278    ) -> *mut c_char;
10279    pub fn g_app_launch_context_launch_failed(
10280        context: *mut GAppLaunchContext,
10281        startup_notify_id: *const c_char,
10282    );
10283    pub fn g_app_launch_context_setenv(
10284        context: *mut GAppLaunchContext,
10285        variable: *const c_char,
10286        value: *const c_char,
10287    );
10288    pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char);
10289
10290    //=========================================================================
10291    // GApplication
10292    //=========================================================================
10293    pub fn g_application_get_type() -> GType;
10294    pub fn g_application_new(
10295        application_id: *const c_char,
10296        flags: GApplicationFlags,
10297    ) -> *mut GApplication;
10298    pub fn g_application_get_default() -> *mut GApplication;
10299    pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean;
10300    pub fn g_application_activate(application: *mut GApplication);
10301    pub fn g_application_add_main_option(
10302        application: *mut GApplication,
10303        long_name: *const c_char,
10304        short_name: c_char,
10305        flags: glib::GOptionFlags,
10306        arg: glib::GOptionArg,
10307        description: *const c_char,
10308        arg_description: *const c_char,
10309    );
10310    pub fn g_application_add_main_option_entries(
10311        application: *mut GApplication,
10312        entries: *const glib::GOptionEntry,
10313    );
10314    pub fn g_application_add_option_group(
10315        application: *mut GApplication,
10316        group: *mut glib::GOptionGroup,
10317    );
10318    pub fn g_application_bind_busy_property(
10319        application: *mut GApplication,
10320        object: *mut gobject::GObject,
10321        property: *const c_char,
10322    );
10323    pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char;
10324    pub fn g_application_get_dbus_connection(
10325        application: *mut GApplication,
10326    ) -> *mut GDBusConnection;
10327    pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char;
10328    pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags;
10329    pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint;
10330    pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean;
10331    pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean;
10332    pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean;
10333    pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char;
10334    #[cfg(feature = "v2_80")]
10335    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10336    pub fn g_application_get_version(application: *mut GApplication) -> *const c_char;
10337    pub fn g_application_hold(application: *mut GApplication);
10338    pub fn g_application_mark_busy(application: *mut GApplication);
10339    pub fn g_application_open(
10340        application: *mut GApplication,
10341        files: *mut *mut GFile,
10342        n_files: c_int,
10343        hint: *const c_char,
10344    );
10345    pub fn g_application_quit(application: *mut GApplication);
10346    pub fn g_application_register(
10347        application: *mut GApplication,
10348        cancellable: *mut GCancellable,
10349        error: *mut *mut glib::GError,
10350    ) -> gboolean;
10351    pub fn g_application_release(application: *mut GApplication);
10352    pub fn g_application_run(
10353        application: *mut GApplication,
10354        argc: c_int,
10355        argv: *mut *mut c_char,
10356    ) -> c_int;
10357    pub fn g_application_send_notification(
10358        application: *mut GApplication,
10359        id: *const c_char,
10360        notification: *mut GNotification,
10361    );
10362    pub fn g_application_set_action_group(
10363        application: *mut GApplication,
10364        action_group: *mut GActionGroup,
10365    );
10366    pub fn g_application_set_application_id(
10367        application: *mut GApplication,
10368        application_id: *const c_char,
10369    );
10370    pub fn g_application_set_default(application: *mut GApplication);
10371    pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags);
10372    pub fn g_application_set_inactivity_timeout(
10373        application: *mut GApplication,
10374        inactivity_timeout: c_uint,
10375    );
10376    pub fn g_application_set_option_context_description(
10377        application: *mut GApplication,
10378        description: *const c_char,
10379    );
10380    pub fn g_application_set_option_context_parameter_string(
10381        application: *mut GApplication,
10382        parameter_string: *const c_char,
10383    );
10384    pub fn g_application_set_option_context_summary(
10385        application: *mut GApplication,
10386        summary: *const c_char,
10387    );
10388    pub fn g_application_set_resource_base_path(
10389        application: *mut GApplication,
10390        resource_path: *const c_char,
10391    );
10392    #[cfg(feature = "v2_80")]
10393    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10394    pub fn g_application_set_version(application: *mut GApplication, version: *const c_char);
10395    pub fn g_application_unbind_busy_property(
10396        application: *mut GApplication,
10397        object: *mut gobject::GObject,
10398        property: *const c_char,
10399    );
10400    pub fn g_application_unmark_busy(application: *mut GApplication);
10401    pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char);
10402
10403    //=========================================================================
10404    // GApplicationCommandLine
10405    //=========================================================================
10406    pub fn g_application_command_line_get_type() -> GType;
10407    pub fn g_application_command_line_create_file_for_arg(
10408        cmdline: *mut GApplicationCommandLine,
10409        arg: *const c_char,
10410    ) -> *mut GFile;
10411    #[cfg(feature = "v2_80")]
10412    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10413    pub fn g_application_command_line_done(cmdline: *mut GApplicationCommandLine);
10414    pub fn g_application_command_line_get_arguments(
10415        cmdline: *mut GApplicationCommandLine,
10416        argc: *mut c_int,
10417    ) -> *mut *mut c_char;
10418    pub fn g_application_command_line_get_cwd(
10419        cmdline: *mut GApplicationCommandLine,
10420    ) -> *const c_char;
10421    pub fn g_application_command_line_get_environ(
10422        cmdline: *mut GApplicationCommandLine,
10423    ) -> *const *const c_char;
10424    pub fn g_application_command_line_get_exit_status(
10425        cmdline: *mut GApplicationCommandLine,
10426    ) -> c_int;
10427    pub fn g_application_command_line_get_is_remote(
10428        cmdline: *mut GApplicationCommandLine,
10429    ) -> gboolean;
10430    pub fn g_application_command_line_get_options_dict(
10431        cmdline: *mut GApplicationCommandLine,
10432    ) -> *mut glib::GVariantDict;
10433    pub fn g_application_command_line_get_platform_data(
10434        cmdline: *mut GApplicationCommandLine,
10435    ) -> *mut glib::GVariant;
10436    pub fn g_application_command_line_get_stdin(
10437        cmdline: *mut GApplicationCommandLine,
10438    ) -> *mut GInputStream;
10439    pub fn g_application_command_line_getenv(
10440        cmdline: *mut GApplicationCommandLine,
10441        name: *const c_char,
10442    ) -> *const c_char;
10443    pub fn g_application_command_line_print(
10444        cmdline: *mut GApplicationCommandLine,
10445        format: *const c_char,
10446        ...
10447    );
10448    #[cfg(feature = "v2_80")]
10449    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10450    pub fn g_application_command_line_print_literal(
10451        cmdline: *mut GApplicationCommandLine,
10452        message: *const c_char,
10453    );
10454    pub fn g_application_command_line_printerr(
10455        cmdline: *mut GApplicationCommandLine,
10456        format: *const c_char,
10457        ...
10458    );
10459    #[cfg(feature = "v2_80")]
10460    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10461    pub fn g_application_command_line_printerr_literal(
10462        cmdline: *mut GApplicationCommandLine,
10463        message: *const c_char,
10464    );
10465    pub fn g_application_command_line_set_exit_status(
10466        cmdline: *mut GApplicationCommandLine,
10467        exit_status: c_int,
10468    );
10469
10470    //=========================================================================
10471    // GBufferedInputStream
10472    //=========================================================================
10473    pub fn g_buffered_input_stream_get_type() -> GType;
10474    pub fn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream;
10475    pub fn g_buffered_input_stream_new_sized(
10476        base_stream: *mut GInputStream,
10477        size: size_t,
10478    ) -> *mut GInputStream;
10479    pub fn g_buffered_input_stream_fill(
10480        stream: *mut GBufferedInputStream,
10481        count: ssize_t,
10482        cancellable: *mut GCancellable,
10483        error: *mut *mut glib::GError,
10484    ) -> ssize_t;
10485    pub fn g_buffered_input_stream_fill_async(
10486        stream: *mut GBufferedInputStream,
10487        count: ssize_t,
10488        io_priority: c_int,
10489        cancellable: *mut GCancellable,
10490        callback: GAsyncReadyCallback,
10491        user_data: gpointer,
10492    );
10493    pub fn g_buffered_input_stream_fill_finish(
10494        stream: *mut GBufferedInputStream,
10495        result: *mut GAsyncResult,
10496        error: *mut *mut glib::GError,
10497    ) -> ssize_t;
10498    pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t;
10499    pub fn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t;
10500    pub fn g_buffered_input_stream_peek(
10501        stream: *mut GBufferedInputStream,
10502        buffer: *mut u8,
10503        offset: size_t,
10504        count: size_t,
10505    ) -> size_t;
10506    pub fn g_buffered_input_stream_peek_buffer(
10507        stream: *mut GBufferedInputStream,
10508        count: *mut size_t,
10509    ) -> *mut u8;
10510    pub fn g_buffered_input_stream_read_byte(
10511        stream: *mut GBufferedInputStream,
10512        cancellable: *mut GCancellable,
10513        error: *mut *mut glib::GError,
10514    ) -> c_int;
10515    pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t);
10516
10517    //=========================================================================
10518    // GBufferedOutputStream
10519    //=========================================================================
10520    pub fn g_buffered_output_stream_get_type() -> GType;
10521    pub fn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream;
10522    pub fn g_buffered_output_stream_new_sized(
10523        base_stream: *mut GOutputStream,
10524        size: size_t,
10525    ) -> *mut GOutputStream;
10526    pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean;
10527    pub fn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t;
10528    pub fn g_buffered_output_stream_set_auto_grow(
10529        stream: *mut GBufferedOutputStream,
10530        auto_grow: gboolean,
10531    );
10532    pub fn g_buffered_output_stream_set_buffer_size(
10533        stream: *mut GBufferedOutputStream,
10534        size: size_t,
10535    );
10536
10537    //=========================================================================
10538    // GBytesIcon
10539    //=========================================================================
10540    pub fn g_bytes_icon_get_type() -> GType;
10541    pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon;
10542    pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes;
10543
10544    //=========================================================================
10545    // GCancellable
10546    //=========================================================================
10547    pub fn g_cancellable_get_type() -> GType;
10548    pub fn g_cancellable_new() -> *mut GCancellable;
10549    pub fn g_cancellable_get_current() -> *mut GCancellable;
10550    pub fn g_cancellable_cancel(cancellable: *mut GCancellable);
10551    pub fn g_cancellable_connect(
10552        cancellable: *mut GCancellable,
10553        callback: gobject::GCallback,
10554        data: gpointer,
10555        data_destroy_func: glib::GDestroyNotify,
10556    ) -> c_ulong;
10557    pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong);
10558    pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int;
10559    pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean;
10560    pub fn g_cancellable_make_pollfd(
10561        cancellable: *mut GCancellable,
10562        pollfd: *mut glib::GPollFD,
10563    ) -> gboolean;
10564    pub fn g_cancellable_pop_current(cancellable: *mut GCancellable);
10565    pub fn g_cancellable_push_current(cancellable: *mut GCancellable);
10566    pub fn g_cancellable_release_fd(cancellable: *mut GCancellable);
10567    pub fn g_cancellable_reset(cancellable: *mut GCancellable);
10568    pub fn g_cancellable_set_error_if_cancelled(
10569        cancellable: *mut GCancellable,
10570        error: *mut *mut glib::GError,
10571    ) -> gboolean;
10572    pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource;
10573
10574    //=========================================================================
10575    // GCharsetConverter
10576    //=========================================================================
10577    pub fn g_charset_converter_get_type() -> GType;
10578    pub fn g_charset_converter_new(
10579        to_charset: *const c_char,
10580        from_charset: *const c_char,
10581        error: *mut *mut glib::GError,
10582    ) -> *mut GCharsetConverter;
10583    pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint;
10584    pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean;
10585    pub fn g_charset_converter_set_use_fallback(
10586        converter: *mut GCharsetConverter,
10587        use_fallback: gboolean,
10588    );
10589
10590    //=========================================================================
10591    // GConverterInputStream
10592    //=========================================================================
10593    pub fn g_converter_input_stream_get_type() -> GType;
10594    pub fn g_converter_input_stream_new(
10595        base_stream: *mut GInputStream,
10596        converter: *mut GConverter,
10597    ) -> *mut GInputStream;
10598    pub fn g_converter_input_stream_get_converter(
10599        converter_stream: *mut GConverterInputStream,
10600    ) -> *mut GConverter;
10601
10602    //=========================================================================
10603    // GConverterOutputStream
10604    //=========================================================================
10605    pub fn g_converter_output_stream_get_type() -> GType;
10606    pub fn g_converter_output_stream_new(
10607        base_stream: *mut GOutputStream,
10608        converter: *mut GConverter,
10609    ) -> *mut GOutputStream;
10610    pub fn g_converter_output_stream_get_converter(
10611        converter_stream: *mut GConverterOutputStream,
10612    ) -> *mut GConverter;
10613
10614    //=========================================================================
10615    // GCredentials
10616    //=========================================================================
10617    pub fn g_credentials_get_type() -> GType;
10618    pub fn g_credentials_new() -> *mut GCredentials;
10619    pub fn g_credentials_get_native(
10620        credentials: *mut GCredentials,
10621        native_type: GCredentialsType,
10622    ) -> gpointer;
10623    #[cfg(unix)]
10624    #[cfg_attr(docsrs, doc(cfg(unix)))]
10625    pub fn g_credentials_get_unix_pid(
10626        credentials: *mut GCredentials,
10627        error: *mut *mut glib::GError,
10628    ) -> pid_t;
10629    #[cfg(unix)]
10630    #[cfg_attr(docsrs, doc(cfg(unix)))]
10631    pub fn g_credentials_get_unix_user(
10632        credentials: *mut GCredentials,
10633        error: *mut *mut glib::GError,
10634    ) -> uid_t;
10635    pub fn g_credentials_is_same_user(
10636        credentials: *mut GCredentials,
10637        other_credentials: *mut GCredentials,
10638        error: *mut *mut glib::GError,
10639    ) -> gboolean;
10640    pub fn g_credentials_set_native(
10641        credentials: *mut GCredentials,
10642        native_type: GCredentialsType,
10643        native: gpointer,
10644    );
10645    #[cfg(unix)]
10646    #[cfg_attr(docsrs, doc(cfg(unix)))]
10647    pub fn g_credentials_set_unix_user(
10648        credentials: *mut GCredentials,
10649        uid: uid_t,
10650        error: *mut *mut glib::GError,
10651    ) -> gboolean;
10652    pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char;
10653
10654    //=========================================================================
10655    // GDBusActionGroup
10656    //=========================================================================
10657    pub fn g_dbus_action_group_get_type() -> GType;
10658    pub fn g_dbus_action_group_get(
10659        connection: *mut GDBusConnection,
10660        bus_name: *const c_char,
10661        object_path: *const c_char,
10662    ) -> *mut GDBusActionGroup;
10663
10664    //=========================================================================
10665    // GDBusAuthObserver
10666    //=========================================================================
10667    pub fn g_dbus_auth_observer_get_type() -> GType;
10668    pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver;
10669    pub fn g_dbus_auth_observer_allow_mechanism(
10670        observer: *mut GDBusAuthObserver,
10671        mechanism: *const c_char,
10672    ) -> gboolean;
10673    pub fn g_dbus_auth_observer_authorize_authenticated_peer(
10674        observer: *mut GDBusAuthObserver,
10675        stream: *mut GIOStream,
10676        credentials: *mut GCredentials,
10677    ) -> gboolean;
10678
10679    //=========================================================================
10680    // GDBusConnection
10681    //=========================================================================
10682    pub fn g_dbus_connection_get_type() -> GType;
10683    pub fn g_dbus_connection_new_finish(
10684        res: *mut GAsyncResult,
10685        error: *mut *mut glib::GError,
10686    ) -> *mut GDBusConnection;
10687    pub fn g_dbus_connection_new_for_address_finish(
10688        res: *mut GAsyncResult,
10689        error: *mut *mut glib::GError,
10690    ) -> *mut GDBusConnection;
10691    pub fn g_dbus_connection_new_for_address_sync(
10692        address: *const c_char,
10693        flags: GDBusConnectionFlags,
10694        observer: *mut GDBusAuthObserver,
10695        cancellable: *mut GCancellable,
10696        error: *mut *mut glib::GError,
10697    ) -> *mut GDBusConnection;
10698    pub fn g_dbus_connection_new_sync(
10699        stream: *mut GIOStream,
10700        guid: *const c_char,
10701        flags: GDBusConnectionFlags,
10702        observer: *mut GDBusAuthObserver,
10703        cancellable: *mut GCancellable,
10704        error: *mut *mut glib::GError,
10705    ) -> *mut GDBusConnection;
10706    pub fn g_dbus_connection_new(
10707        stream: *mut GIOStream,
10708        guid: *const c_char,
10709        flags: GDBusConnectionFlags,
10710        observer: *mut GDBusAuthObserver,
10711        cancellable: *mut GCancellable,
10712        callback: GAsyncReadyCallback,
10713        user_data: gpointer,
10714    );
10715    pub fn g_dbus_connection_new_for_address(
10716        address: *const c_char,
10717        flags: GDBusConnectionFlags,
10718        observer: *mut GDBusAuthObserver,
10719        cancellable: *mut GCancellable,
10720        callback: GAsyncReadyCallback,
10721        user_data: gpointer,
10722    );
10723    pub fn g_dbus_connection_add_filter(
10724        connection: *mut GDBusConnection,
10725        filter_function: GDBusMessageFilterFunction,
10726        user_data: gpointer,
10727        user_data_free_func: glib::GDestroyNotify,
10728    ) -> c_uint;
10729    pub fn g_dbus_connection_call(
10730        connection: *mut GDBusConnection,
10731        bus_name: *const c_char,
10732        object_path: *const c_char,
10733        interface_name: *const c_char,
10734        method_name: *const c_char,
10735        parameters: *mut glib::GVariant,
10736        reply_type: *const glib::GVariantType,
10737        flags: GDBusCallFlags,
10738        timeout_msec: c_int,
10739        cancellable: *mut GCancellable,
10740        callback: GAsyncReadyCallback,
10741        user_data: gpointer,
10742    );
10743    pub fn g_dbus_connection_call_finish(
10744        connection: *mut GDBusConnection,
10745        res: *mut GAsyncResult,
10746        error: *mut *mut glib::GError,
10747    ) -> *mut glib::GVariant;
10748    pub fn g_dbus_connection_call_sync(
10749        connection: *mut GDBusConnection,
10750        bus_name: *const c_char,
10751        object_path: *const c_char,
10752        interface_name: *const c_char,
10753        method_name: *const c_char,
10754        parameters: *mut glib::GVariant,
10755        reply_type: *const glib::GVariantType,
10756        flags: GDBusCallFlags,
10757        timeout_msec: c_int,
10758        cancellable: *mut GCancellable,
10759        error: *mut *mut glib::GError,
10760    ) -> *mut glib::GVariant;
10761    pub fn g_dbus_connection_call_with_unix_fd_list(
10762        connection: *mut GDBusConnection,
10763        bus_name: *const c_char,
10764        object_path: *const c_char,
10765        interface_name: *const c_char,
10766        method_name: *const c_char,
10767        parameters: *mut glib::GVariant,
10768        reply_type: *const glib::GVariantType,
10769        flags: GDBusCallFlags,
10770        timeout_msec: c_int,
10771        fd_list: *mut GUnixFDList,
10772        cancellable: *mut GCancellable,
10773        callback: GAsyncReadyCallback,
10774        user_data: gpointer,
10775    );
10776    pub fn g_dbus_connection_call_with_unix_fd_list_finish(
10777        connection: *mut GDBusConnection,
10778        out_fd_list: *mut *mut GUnixFDList,
10779        res: *mut GAsyncResult,
10780        error: *mut *mut glib::GError,
10781    ) -> *mut glib::GVariant;
10782    pub fn g_dbus_connection_call_with_unix_fd_list_sync(
10783        connection: *mut GDBusConnection,
10784        bus_name: *const c_char,
10785        object_path: *const c_char,
10786        interface_name: *const c_char,
10787        method_name: *const c_char,
10788        parameters: *mut glib::GVariant,
10789        reply_type: *const glib::GVariantType,
10790        flags: GDBusCallFlags,
10791        timeout_msec: c_int,
10792        fd_list: *mut GUnixFDList,
10793        out_fd_list: *mut *mut GUnixFDList,
10794        cancellable: *mut GCancellable,
10795        error: *mut *mut glib::GError,
10796    ) -> *mut glib::GVariant;
10797    pub fn g_dbus_connection_close(
10798        connection: *mut GDBusConnection,
10799        cancellable: *mut GCancellable,
10800        callback: GAsyncReadyCallback,
10801        user_data: gpointer,
10802    );
10803    pub fn g_dbus_connection_close_finish(
10804        connection: *mut GDBusConnection,
10805        res: *mut GAsyncResult,
10806        error: *mut *mut glib::GError,
10807    ) -> gboolean;
10808    pub fn g_dbus_connection_close_sync(
10809        connection: *mut GDBusConnection,
10810        cancellable: *mut GCancellable,
10811        error: *mut *mut glib::GError,
10812    ) -> gboolean;
10813    pub fn g_dbus_connection_emit_signal(
10814        connection: *mut GDBusConnection,
10815        destination_bus_name: *const c_char,
10816        object_path: *const c_char,
10817        interface_name: *const c_char,
10818        signal_name: *const c_char,
10819        parameters: *mut glib::GVariant,
10820        error: *mut *mut glib::GError,
10821    ) -> gboolean;
10822    pub fn g_dbus_connection_export_action_group(
10823        connection: *mut GDBusConnection,
10824        object_path: *const c_char,
10825        action_group: *mut GActionGroup,
10826        error: *mut *mut glib::GError,
10827    ) -> c_uint;
10828    pub fn g_dbus_connection_export_menu_model(
10829        connection: *mut GDBusConnection,
10830        object_path: *const c_char,
10831        menu: *mut GMenuModel,
10832        error: *mut *mut glib::GError,
10833    ) -> c_uint;
10834    pub fn g_dbus_connection_flush(
10835        connection: *mut GDBusConnection,
10836        cancellable: *mut GCancellable,
10837        callback: GAsyncReadyCallback,
10838        user_data: gpointer,
10839    );
10840    pub fn g_dbus_connection_flush_finish(
10841        connection: *mut GDBusConnection,
10842        res: *mut GAsyncResult,
10843        error: *mut *mut glib::GError,
10844    ) -> gboolean;
10845    pub fn g_dbus_connection_flush_sync(
10846        connection: *mut GDBusConnection,
10847        cancellable: *mut GCancellable,
10848        error: *mut *mut glib::GError,
10849    ) -> gboolean;
10850    pub fn g_dbus_connection_get_capabilities(
10851        connection: *mut GDBusConnection,
10852    ) -> GDBusCapabilityFlags;
10853    pub fn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean;
10854    #[cfg(feature = "v2_60")]
10855    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
10856    pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags;
10857    pub fn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char;
10858    pub fn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32;
10859    pub fn g_dbus_connection_get_peer_credentials(
10860        connection: *mut GDBusConnection,
10861    ) -> *mut GCredentials;
10862    pub fn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream;
10863    pub fn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char;
10864    pub fn g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean;
10865    pub fn g_dbus_connection_register_object(
10866        connection: *mut GDBusConnection,
10867        object_path: *const c_char,
10868        interface_info: *mut GDBusInterfaceInfo,
10869        vtable: *const GDBusInterfaceVTable,
10870        user_data: gpointer,
10871        user_data_free_func: glib::GDestroyNotify,
10872        error: *mut *mut glib::GError,
10873    ) -> c_uint;
10874    pub fn g_dbus_connection_register_object_with_closures(
10875        connection: *mut GDBusConnection,
10876        object_path: *const c_char,
10877        interface_info: *mut GDBusInterfaceInfo,
10878        method_call_closure: *mut gobject::GClosure,
10879        get_property_closure: *mut gobject::GClosure,
10880        set_property_closure: *mut gobject::GClosure,
10881        error: *mut *mut glib::GError,
10882    ) -> c_uint;
10883    #[cfg(feature = "v2_84")]
10884    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10885    pub fn g_dbus_connection_register_object_with_closures2(
10886        connection: *mut GDBusConnection,
10887        object_path: *const c_char,
10888        interface_info: *mut GDBusInterfaceInfo,
10889        method_call_closure: *mut gobject::GClosure,
10890        get_property_closure: *mut gobject::GClosure,
10891        set_property_closure: *mut gobject::GClosure,
10892        error: *mut *mut glib::GError,
10893    ) -> c_uint;
10894    pub fn g_dbus_connection_register_subtree(
10895        connection: *mut GDBusConnection,
10896        object_path: *const c_char,
10897        vtable: *const GDBusSubtreeVTable,
10898        flags: GDBusSubtreeFlags,
10899        user_data: gpointer,
10900        user_data_free_func: glib::GDestroyNotify,
10901        error: *mut *mut glib::GError,
10902    ) -> c_uint;
10903    pub fn g_dbus_connection_remove_filter(connection: *mut GDBusConnection, filter_id: c_uint);
10904    pub fn g_dbus_connection_send_message(
10905        connection: *mut GDBusConnection,
10906        message: *mut GDBusMessage,
10907        flags: GDBusSendMessageFlags,
10908        out_serial: *mut u32,
10909        error: *mut *mut glib::GError,
10910    ) -> gboolean;
10911    pub fn g_dbus_connection_send_message_with_reply(
10912        connection: *mut GDBusConnection,
10913        message: *mut GDBusMessage,
10914        flags: GDBusSendMessageFlags,
10915        timeout_msec: c_int,
10916        out_serial: *mut u32,
10917        cancellable: *mut GCancellable,
10918        callback: GAsyncReadyCallback,
10919        user_data: gpointer,
10920    );
10921    pub fn g_dbus_connection_send_message_with_reply_finish(
10922        connection: *mut GDBusConnection,
10923        res: *mut GAsyncResult,
10924        error: *mut *mut glib::GError,
10925    ) -> *mut GDBusMessage;
10926    pub fn g_dbus_connection_send_message_with_reply_sync(
10927        connection: *mut GDBusConnection,
10928        message: *mut GDBusMessage,
10929        flags: GDBusSendMessageFlags,
10930        timeout_msec: c_int,
10931        out_serial: *mut u32,
10932        cancellable: *mut GCancellable,
10933        error: *mut *mut glib::GError,
10934    ) -> *mut GDBusMessage;
10935    pub fn g_dbus_connection_set_exit_on_close(
10936        connection: *mut GDBusConnection,
10937        exit_on_close: gboolean,
10938    );
10939    pub fn g_dbus_connection_signal_subscribe(
10940        connection: *mut GDBusConnection,
10941        sender: *const c_char,
10942        interface_name: *const c_char,
10943        member: *const c_char,
10944        object_path: *const c_char,
10945        arg0: *const c_char,
10946        flags: GDBusSignalFlags,
10947        callback: GDBusSignalCallback,
10948        user_data: gpointer,
10949        user_data_free_func: glib::GDestroyNotify,
10950    ) -> c_uint;
10951    pub fn g_dbus_connection_signal_unsubscribe(
10952        connection: *mut GDBusConnection,
10953        subscription_id: c_uint,
10954    );
10955    pub fn g_dbus_connection_start_message_processing(connection: *mut GDBusConnection);
10956    pub fn g_dbus_connection_unexport_action_group(
10957        connection: *mut GDBusConnection,
10958        export_id: c_uint,
10959    );
10960    pub fn g_dbus_connection_unexport_menu_model(
10961        connection: *mut GDBusConnection,
10962        export_id: c_uint,
10963    );
10964    pub fn g_dbus_connection_unregister_object(
10965        connection: *mut GDBusConnection,
10966        registration_id: c_uint,
10967    ) -> gboolean;
10968    pub fn g_dbus_connection_unregister_subtree(
10969        connection: *mut GDBusConnection,
10970        registration_id: c_uint,
10971    ) -> gboolean;
10972
10973    //=========================================================================
10974    // GDBusInterfaceSkeleton
10975    //=========================================================================
10976    pub fn g_dbus_interface_skeleton_get_type() -> GType;
10977    pub fn g_dbus_interface_skeleton_export(
10978        interface_: *mut GDBusInterfaceSkeleton,
10979        connection: *mut GDBusConnection,
10980        object_path: *const c_char,
10981        error: *mut *mut glib::GError,
10982    ) -> gboolean;
10983    pub fn g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton);
10984    pub fn g_dbus_interface_skeleton_get_connection(
10985        interface_: *mut GDBusInterfaceSkeleton,
10986    ) -> *mut GDBusConnection;
10987    pub fn g_dbus_interface_skeleton_get_connections(
10988        interface_: *mut GDBusInterfaceSkeleton,
10989    ) -> *mut glib::GList;
10990    pub fn g_dbus_interface_skeleton_get_flags(
10991        interface_: *mut GDBusInterfaceSkeleton,
10992    ) -> GDBusInterfaceSkeletonFlags;
10993    pub fn g_dbus_interface_skeleton_get_info(
10994        interface_: *mut GDBusInterfaceSkeleton,
10995    ) -> *mut GDBusInterfaceInfo;
10996    pub fn g_dbus_interface_skeleton_get_object_path(
10997        interface_: *mut GDBusInterfaceSkeleton,
10998    ) -> *const c_char;
10999    pub fn g_dbus_interface_skeleton_get_properties(
11000        interface_: *mut GDBusInterfaceSkeleton,
11001    ) -> *mut glib::GVariant;
11002    pub fn g_dbus_interface_skeleton_get_vtable(
11003        interface_: *mut GDBusInterfaceSkeleton,
11004    ) -> *mut GDBusInterfaceVTable;
11005    pub fn g_dbus_interface_skeleton_has_connection(
11006        interface_: *mut GDBusInterfaceSkeleton,
11007        connection: *mut GDBusConnection,
11008    ) -> gboolean;
11009    pub fn g_dbus_interface_skeleton_set_flags(
11010        interface_: *mut GDBusInterfaceSkeleton,
11011        flags: GDBusInterfaceSkeletonFlags,
11012    );
11013    pub fn g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton);
11014    pub fn g_dbus_interface_skeleton_unexport_from_connection(
11015        interface_: *mut GDBusInterfaceSkeleton,
11016        connection: *mut GDBusConnection,
11017    );
11018
11019    //=========================================================================
11020    // GDBusMenuModel
11021    //=========================================================================
11022    pub fn g_dbus_menu_model_get_type() -> GType;
11023    pub fn g_dbus_menu_model_get(
11024        connection: *mut GDBusConnection,
11025        bus_name: *const c_char,
11026        object_path: *const c_char,
11027    ) -> *mut GDBusMenuModel;
11028
11029    //=========================================================================
11030    // GDBusMessage
11031    //=========================================================================
11032    pub fn g_dbus_message_get_type() -> GType;
11033    pub fn g_dbus_message_new() -> *mut GDBusMessage;
11034    pub fn g_dbus_message_new_from_blob(
11035        blob: *mut u8,
11036        blob_len: size_t,
11037        capabilities: GDBusCapabilityFlags,
11038        error: *mut *mut glib::GError,
11039    ) -> *mut GDBusMessage;
11040    pub fn g_dbus_message_new_method_call(
11041        name: *const c_char,
11042        path: *const c_char,
11043        interface_: *const c_char,
11044        method: *const c_char,
11045    ) -> *mut GDBusMessage;
11046    pub fn g_dbus_message_new_signal(
11047        path: *const c_char,
11048        interface_: *const c_char,
11049        signal: *const c_char,
11050    ) -> *mut GDBusMessage;
11051    pub fn g_dbus_message_bytes_needed(
11052        blob: *mut u8,
11053        blob_len: size_t,
11054        error: *mut *mut glib::GError,
11055    ) -> ssize_t;
11056    pub fn g_dbus_message_copy(
11057        message: *mut GDBusMessage,
11058        error: *mut *mut glib::GError,
11059    ) -> *mut GDBusMessage;
11060    pub fn g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const c_char;
11061    #[cfg(feature = "v2_80")]
11062    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
11063    pub fn g_dbus_message_get_arg0_path(message: *mut GDBusMessage) -> *const c_char;
11064    pub fn g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut glib::GVariant;
11065    pub fn g_dbus_message_get_byte_order(message: *mut GDBusMessage) -> GDBusMessageByteOrder;
11066    pub fn g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const c_char;
11067    pub fn g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const c_char;
11068    pub fn g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags;
11069    pub fn g_dbus_message_get_header(
11070        message: *mut GDBusMessage,
11071        header_field: GDBusMessageHeaderField,
11072    ) -> *mut glib::GVariant;
11073    pub fn g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut u8;
11074    pub fn g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const c_char;
11075    pub fn g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean;
11076    pub fn g_dbus_message_get_member(message: *mut GDBusMessage) -> *const c_char;
11077    pub fn g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType;
11078    pub fn g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> u32;
11079    pub fn g_dbus_message_get_path(message: *mut GDBusMessage) -> *const c_char;
11080    pub fn g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> u32;
11081    pub fn g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const c_char;
11082    pub fn g_dbus_message_get_serial(message: *mut GDBusMessage) -> u32;
11083    pub fn g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const c_char;
11084    pub fn g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList;
11085    pub fn g_dbus_message_lock(message: *mut GDBusMessage);
11086    pub fn g_dbus_message_new_method_error(
11087        method_call_message: *mut GDBusMessage,
11088        error_name: *const c_char,
11089        error_message_format: *const c_char,
11090        ...
11091    ) -> *mut GDBusMessage;
11092    pub fn g_dbus_message_new_method_error_literal(
11093        method_call_message: *mut GDBusMessage,
11094        error_name: *const c_char,
11095        error_message: *const c_char,
11096    ) -> *mut GDBusMessage;
11097    //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;
11098    pub fn g_dbus_message_new_method_reply(
11099        method_call_message: *mut GDBusMessage,
11100    ) -> *mut GDBusMessage;
11101    pub fn g_dbus_message_print(message: *mut GDBusMessage, indent: c_uint) -> *mut c_char;
11102    pub fn g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut glib::GVariant);
11103    pub fn g_dbus_message_set_byte_order(
11104        message: *mut GDBusMessage,
11105        byte_order: GDBusMessageByteOrder,
11106    );
11107    pub fn g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const c_char);
11108    pub fn g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const c_char);
11109    pub fn g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags);
11110    pub fn g_dbus_message_set_header(
11111        message: *mut GDBusMessage,
11112        header_field: GDBusMessageHeaderField,
11113        value: *mut glib::GVariant,
11114    );
11115    pub fn g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const c_char);
11116    pub fn g_dbus_message_set_member(message: *mut GDBusMessage, value: *const c_char);
11117    pub fn g_dbus_message_set_message_type(message: *mut GDBusMessage, type_: GDBusMessageType);
11118    pub fn g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: u32);
11119    pub fn g_dbus_message_set_path(message: *mut GDBusMessage, value: *const c_char);
11120    pub fn g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: u32);
11121    pub fn g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const c_char);
11122    pub fn g_dbus_message_set_serial(message: *mut GDBusMessage, serial: u32);
11123    pub fn g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const c_char);
11124    pub fn g_dbus_message_set_unix_fd_list(message: *mut GDBusMessage, fd_list: *mut GUnixFDList);
11125    pub fn g_dbus_message_to_blob(
11126        message: *mut GDBusMessage,
11127        out_size: *mut size_t,
11128        capabilities: GDBusCapabilityFlags,
11129        error: *mut *mut glib::GError,
11130    ) -> *mut u8;
11131    pub fn g_dbus_message_to_gerror(
11132        message: *mut GDBusMessage,
11133        error: *mut *mut glib::GError,
11134    ) -> gboolean;
11135
11136    //=========================================================================
11137    // GDBusMethodInvocation
11138    //=========================================================================
11139    pub fn g_dbus_method_invocation_get_type() -> GType;
11140    pub fn g_dbus_method_invocation_get_connection(
11141        invocation: *mut GDBusMethodInvocation,
11142    ) -> *mut GDBusConnection;
11143    pub fn g_dbus_method_invocation_get_interface_name(
11144        invocation: *mut GDBusMethodInvocation,
11145    ) -> *const c_char;
11146    pub fn g_dbus_method_invocation_get_message(
11147        invocation: *mut GDBusMethodInvocation,
11148    ) -> *mut GDBusMessage;
11149    pub fn g_dbus_method_invocation_get_method_info(
11150        invocation: *mut GDBusMethodInvocation,
11151    ) -> *const GDBusMethodInfo;
11152    pub fn g_dbus_method_invocation_get_method_name(
11153        invocation: *mut GDBusMethodInvocation,
11154    ) -> *const c_char;
11155    pub fn g_dbus_method_invocation_get_object_path(
11156        invocation: *mut GDBusMethodInvocation,
11157    ) -> *const c_char;
11158    pub fn g_dbus_method_invocation_get_parameters(
11159        invocation: *mut GDBusMethodInvocation,
11160    ) -> *mut glib::GVariant;
11161    pub fn g_dbus_method_invocation_get_property_info(
11162        invocation: *mut GDBusMethodInvocation,
11163    ) -> *const GDBusPropertyInfo;
11164    pub fn g_dbus_method_invocation_get_sender(
11165        invocation: *mut GDBusMethodInvocation,
11166    ) -> *const c_char;
11167    pub fn g_dbus_method_invocation_get_user_data(
11168        invocation: *mut GDBusMethodInvocation,
11169    ) -> gpointer;
11170    pub fn g_dbus_method_invocation_return_dbus_error(
11171        invocation: *mut GDBusMethodInvocation,
11172        error_name: *const c_char,
11173        error_message: *const c_char,
11174    );
11175    pub fn g_dbus_method_invocation_return_error(
11176        invocation: *mut GDBusMethodInvocation,
11177        domain: glib::GQuark,
11178        code: c_int,
11179        format: *const c_char,
11180        ...
11181    );
11182    pub fn g_dbus_method_invocation_return_error_literal(
11183        invocation: *mut GDBusMethodInvocation,
11184        domain: glib::GQuark,
11185        code: c_int,
11186        message: *const c_char,
11187    );
11188    //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);
11189    pub fn g_dbus_method_invocation_return_gerror(
11190        invocation: *mut GDBusMethodInvocation,
11191        error: *const glib::GError,
11192    );
11193    pub fn g_dbus_method_invocation_return_value(
11194        invocation: *mut GDBusMethodInvocation,
11195        parameters: *mut glib::GVariant,
11196    );
11197    pub fn g_dbus_method_invocation_return_value_with_unix_fd_list(
11198        invocation: *mut GDBusMethodInvocation,
11199        parameters: *mut glib::GVariant,
11200        fd_list: *mut GUnixFDList,
11201    );
11202    pub fn g_dbus_method_invocation_take_error(
11203        invocation: *mut GDBusMethodInvocation,
11204        error: *mut glib::GError,
11205    );
11206
11207    //=========================================================================
11208    // GDBusObjectManagerClient
11209    //=========================================================================
11210    pub fn g_dbus_object_manager_client_get_type() -> GType;
11211    pub fn g_dbus_object_manager_client_new_finish(
11212        res: *mut GAsyncResult,
11213        error: *mut *mut glib::GError,
11214    ) -> *mut GDBusObjectManagerClient;
11215    pub fn g_dbus_object_manager_client_new_for_bus_finish(
11216        res: *mut GAsyncResult,
11217        error: *mut *mut glib::GError,
11218    ) -> *mut GDBusObjectManagerClient;
11219    pub fn g_dbus_object_manager_client_new_for_bus_sync(
11220        bus_type: GBusType,
11221        flags: GDBusObjectManagerClientFlags,
11222        name: *const c_char,
11223        object_path: *const c_char,
11224        get_proxy_type_func: GDBusProxyTypeFunc,
11225        get_proxy_type_user_data: gpointer,
11226        get_proxy_type_destroy_notify: glib::GDestroyNotify,
11227        cancellable: *mut GCancellable,
11228        error: *mut *mut glib::GError,
11229    ) -> *mut GDBusObjectManagerClient;
11230    pub fn g_dbus_object_manager_client_new_sync(
11231        connection: *mut GDBusConnection,
11232        flags: GDBusObjectManagerClientFlags,
11233        name: *const c_char,
11234        object_path: *const c_char,
11235        get_proxy_type_func: GDBusProxyTypeFunc,
11236        get_proxy_type_user_data: gpointer,
11237        get_proxy_type_destroy_notify: glib::GDestroyNotify,
11238        cancellable: *mut GCancellable,
11239        error: *mut *mut glib::GError,
11240    ) -> *mut GDBusObjectManagerClient;
11241    pub fn g_dbus_object_manager_client_new(
11242        connection: *mut GDBusConnection,
11243        flags: GDBusObjectManagerClientFlags,
11244        name: *const c_char,
11245        object_path: *const c_char,
11246        get_proxy_type_func: GDBusProxyTypeFunc,
11247        get_proxy_type_user_data: gpointer,
11248        get_proxy_type_destroy_notify: glib::GDestroyNotify,
11249        cancellable: *mut GCancellable,
11250        callback: GAsyncReadyCallback,
11251        user_data: gpointer,
11252    );
11253    pub fn g_dbus_object_manager_client_new_for_bus(
11254        bus_type: GBusType,
11255        flags: GDBusObjectManagerClientFlags,
11256        name: *const c_char,
11257        object_path: *const c_char,
11258        get_proxy_type_func: GDBusProxyTypeFunc,
11259        get_proxy_type_user_data: gpointer,
11260        get_proxy_type_destroy_notify: glib::GDestroyNotify,
11261        cancellable: *mut GCancellable,
11262        callback: GAsyncReadyCallback,
11263        user_data: gpointer,
11264    );
11265    pub fn g_dbus_object_manager_client_get_connection(
11266        manager: *mut GDBusObjectManagerClient,
11267    ) -> *mut GDBusConnection;
11268    pub fn g_dbus_object_manager_client_get_flags(
11269        manager: *mut GDBusObjectManagerClient,
11270    ) -> GDBusObjectManagerClientFlags;
11271    pub fn g_dbus_object_manager_client_get_name(
11272        manager: *mut GDBusObjectManagerClient,
11273    ) -> *const c_char;
11274    pub fn g_dbus_object_manager_client_get_name_owner(
11275        manager: *mut GDBusObjectManagerClient,
11276    ) -> *mut c_char;
11277
11278    //=========================================================================
11279    // GDBusObjectManagerServer
11280    //=========================================================================
11281    pub fn g_dbus_object_manager_server_get_type() -> GType;
11282    pub fn g_dbus_object_manager_server_new(
11283        object_path: *const c_char,
11284    ) -> *mut GDBusObjectManagerServer;
11285    pub fn g_dbus_object_manager_server_export(
11286        manager: *mut GDBusObjectManagerServer,
11287        object: *mut GDBusObjectSkeleton,
11288    );
11289    pub fn g_dbus_object_manager_server_export_uniquely(
11290        manager: *mut GDBusObjectManagerServer,
11291        object: *mut GDBusObjectSkeleton,
11292    );
11293    pub fn g_dbus_object_manager_server_get_connection(
11294        manager: *mut GDBusObjectManagerServer,
11295    ) -> *mut GDBusConnection;
11296    pub fn g_dbus_object_manager_server_is_exported(
11297        manager: *mut GDBusObjectManagerServer,
11298        object: *mut GDBusObjectSkeleton,
11299    ) -> gboolean;
11300    pub fn g_dbus_object_manager_server_set_connection(
11301        manager: *mut GDBusObjectManagerServer,
11302        connection: *mut GDBusConnection,
11303    );
11304    pub fn g_dbus_object_manager_server_unexport(
11305        manager: *mut GDBusObjectManagerServer,
11306        object_path: *const c_char,
11307    ) -> gboolean;
11308
11309    //=========================================================================
11310    // GDBusObjectProxy
11311    //=========================================================================
11312    pub fn g_dbus_object_proxy_get_type() -> GType;
11313    pub fn g_dbus_object_proxy_new(
11314        connection: *mut GDBusConnection,
11315        object_path: *const c_char,
11316    ) -> *mut GDBusObjectProxy;
11317    pub fn g_dbus_object_proxy_get_connection(proxy: *mut GDBusObjectProxy)
11318        -> *mut GDBusConnection;
11319
11320    //=========================================================================
11321    // GDBusObjectSkeleton
11322    //=========================================================================
11323    pub fn g_dbus_object_skeleton_get_type() -> GType;
11324    pub fn g_dbus_object_skeleton_new(object_path: *const c_char) -> *mut GDBusObjectSkeleton;
11325    pub fn g_dbus_object_skeleton_add_interface(
11326        object: *mut GDBusObjectSkeleton,
11327        interface_: *mut GDBusInterfaceSkeleton,
11328    );
11329    pub fn g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton);
11330    pub fn g_dbus_object_skeleton_remove_interface(
11331        object: *mut GDBusObjectSkeleton,
11332        interface_: *mut GDBusInterfaceSkeleton,
11333    );
11334    pub fn g_dbus_object_skeleton_remove_interface_by_name(
11335        object: *mut GDBusObjectSkeleton,
11336        interface_name: *const c_char,
11337    );
11338    pub fn g_dbus_object_skeleton_set_object_path(
11339        object: *mut GDBusObjectSkeleton,
11340        object_path: *const c_char,
11341    );
11342
11343    //=========================================================================
11344    // GDBusProxy
11345    //=========================================================================
11346    pub fn g_dbus_proxy_get_type() -> GType;
11347    pub fn g_dbus_proxy_new_finish(
11348        res: *mut GAsyncResult,
11349        error: *mut *mut glib::GError,
11350    ) -> *mut GDBusProxy;
11351    pub fn g_dbus_proxy_new_for_bus_finish(
11352        res: *mut GAsyncResult,
11353        error: *mut *mut glib::GError,
11354    ) -> *mut GDBusProxy;
11355    pub fn g_dbus_proxy_new_for_bus_sync(
11356        bus_type: GBusType,
11357        flags: GDBusProxyFlags,
11358        info: *mut GDBusInterfaceInfo,
11359        name: *const c_char,
11360        object_path: *const c_char,
11361        interface_name: *const c_char,
11362        cancellable: *mut GCancellable,
11363        error: *mut *mut glib::GError,
11364    ) -> *mut GDBusProxy;
11365    pub fn g_dbus_proxy_new_sync(
11366        connection: *mut GDBusConnection,
11367        flags: GDBusProxyFlags,
11368        info: *mut GDBusInterfaceInfo,
11369        name: *const c_char,
11370        object_path: *const c_char,
11371        interface_name: *const c_char,
11372        cancellable: *mut GCancellable,
11373        error: *mut *mut glib::GError,
11374    ) -> *mut GDBusProxy;
11375    pub fn g_dbus_proxy_new(
11376        connection: *mut GDBusConnection,
11377        flags: GDBusProxyFlags,
11378        info: *mut GDBusInterfaceInfo,
11379        name: *const c_char,
11380        object_path: *const c_char,
11381        interface_name: *const c_char,
11382        cancellable: *mut GCancellable,
11383        callback: GAsyncReadyCallback,
11384        user_data: gpointer,
11385    );
11386    pub fn g_dbus_proxy_new_for_bus(
11387        bus_type: GBusType,
11388        flags: GDBusProxyFlags,
11389        info: *mut GDBusInterfaceInfo,
11390        name: *const c_char,
11391        object_path: *const c_char,
11392        interface_name: *const c_char,
11393        cancellable: *mut GCancellable,
11394        callback: GAsyncReadyCallback,
11395        user_data: gpointer,
11396    );
11397    pub fn g_dbus_proxy_call(
11398        proxy: *mut GDBusProxy,
11399        method_name: *const c_char,
11400        parameters: *mut glib::GVariant,
11401        flags: GDBusCallFlags,
11402        timeout_msec: c_int,
11403        cancellable: *mut GCancellable,
11404        callback: GAsyncReadyCallback,
11405        user_data: gpointer,
11406    );
11407    pub fn g_dbus_proxy_call_finish(
11408        proxy: *mut GDBusProxy,
11409        res: *mut GAsyncResult,
11410        error: *mut *mut glib::GError,
11411    ) -> *mut glib::GVariant;
11412    pub fn g_dbus_proxy_call_sync(
11413        proxy: *mut GDBusProxy,
11414        method_name: *const c_char,
11415        parameters: *mut glib::GVariant,
11416        flags: GDBusCallFlags,
11417        timeout_msec: c_int,
11418        cancellable: *mut GCancellable,
11419        error: *mut *mut glib::GError,
11420    ) -> *mut glib::GVariant;
11421    pub fn g_dbus_proxy_call_with_unix_fd_list(
11422        proxy: *mut GDBusProxy,
11423        method_name: *const c_char,
11424        parameters: *mut glib::GVariant,
11425        flags: GDBusCallFlags,
11426        timeout_msec: c_int,
11427        fd_list: *mut GUnixFDList,
11428        cancellable: *mut GCancellable,
11429        callback: GAsyncReadyCallback,
11430        user_data: gpointer,
11431    );
11432    pub fn g_dbus_proxy_call_with_unix_fd_list_finish(
11433        proxy: *mut GDBusProxy,
11434        out_fd_list: *mut *mut GUnixFDList,
11435        res: *mut GAsyncResult,
11436        error: *mut *mut glib::GError,
11437    ) -> *mut glib::GVariant;
11438    pub fn g_dbus_proxy_call_with_unix_fd_list_sync(
11439        proxy: *mut GDBusProxy,
11440        method_name: *const c_char,
11441        parameters: *mut glib::GVariant,
11442        flags: GDBusCallFlags,
11443        timeout_msec: c_int,
11444        fd_list: *mut GUnixFDList,
11445        out_fd_list: *mut *mut GUnixFDList,
11446        cancellable: *mut GCancellable,
11447        error: *mut *mut glib::GError,
11448    ) -> *mut glib::GVariant;
11449    pub fn g_dbus_proxy_get_cached_property(
11450        proxy: *mut GDBusProxy,
11451        property_name: *const c_char,
11452    ) -> *mut glib::GVariant;
11453    pub fn g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy) -> *mut *mut c_char;
11454    pub fn g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection;
11455    pub fn g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> c_int;
11456    pub fn g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags;
11457    pub fn g_dbus_proxy_get_interface_info(proxy: *mut GDBusProxy) -> *mut GDBusInterfaceInfo;
11458    pub fn g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const c_char;
11459    pub fn g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const c_char;
11460    pub fn g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut c_char;
11461    pub fn g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const c_char;
11462    pub fn g_dbus_proxy_set_cached_property(
11463        proxy: *mut GDBusProxy,
11464        property_name: *const c_char,
11465        value: *mut glib::GVariant,
11466    );
11467    pub fn g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: c_int);
11468    pub fn g_dbus_proxy_set_interface_info(proxy: *mut GDBusProxy, info: *mut GDBusInterfaceInfo);
11469
11470    //=========================================================================
11471    // GDBusServer
11472    //=========================================================================
11473    pub fn g_dbus_server_get_type() -> GType;
11474    pub fn g_dbus_server_new_sync(
11475        address: *const c_char,
11476        flags: GDBusServerFlags,
11477        guid: *const c_char,
11478        observer: *mut GDBusAuthObserver,
11479        cancellable: *mut GCancellable,
11480        error: *mut *mut glib::GError,
11481    ) -> *mut GDBusServer;
11482    pub fn g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const c_char;
11483    pub fn g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags;
11484    pub fn g_dbus_server_get_guid(server: *mut GDBusServer) -> *const c_char;
11485    pub fn g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean;
11486    pub fn g_dbus_server_start(server: *mut GDBusServer);
11487    pub fn g_dbus_server_stop(server: *mut GDBusServer);
11488
11489    //=========================================================================
11490    // GDataInputStream
11491    //=========================================================================
11492    pub fn g_data_input_stream_get_type() -> GType;
11493    pub fn g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream;
11494    pub fn g_data_input_stream_get_byte_order(
11495        stream: *mut GDataInputStream,
11496    ) -> GDataStreamByteOrder;
11497    pub fn g_data_input_stream_get_newline_type(
11498        stream: *mut GDataInputStream,
11499    ) -> GDataStreamNewlineType;
11500    pub fn g_data_input_stream_read_byte(
11501        stream: *mut GDataInputStream,
11502        cancellable: *mut GCancellable,
11503        error: *mut *mut glib::GError,
11504    ) -> c_uchar;
11505    pub fn g_data_input_stream_read_int16(
11506        stream: *mut GDataInputStream,
11507        cancellable: *mut GCancellable,
11508        error: *mut *mut glib::GError,
11509    ) -> i16;
11510    pub fn g_data_input_stream_read_int32(
11511        stream: *mut GDataInputStream,
11512        cancellable: *mut GCancellable,
11513        error: *mut *mut glib::GError,
11514    ) -> i32;
11515    pub fn g_data_input_stream_read_int64(
11516        stream: *mut GDataInputStream,
11517        cancellable: *mut GCancellable,
11518        error: *mut *mut glib::GError,
11519    ) -> i64;
11520    pub fn g_data_input_stream_read_line(
11521        stream: *mut GDataInputStream,
11522        length: *mut size_t,
11523        cancellable: *mut GCancellable,
11524        error: *mut *mut glib::GError,
11525    ) -> *mut u8;
11526    pub fn g_data_input_stream_read_line_async(
11527        stream: *mut GDataInputStream,
11528        io_priority: c_int,
11529        cancellable: *mut GCancellable,
11530        callback: GAsyncReadyCallback,
11531        user_data: gpointer,
11532    );
11533    pub fn g_data_input_stream_read_line_finish(
11534        stream: *mut GDataInputStream,
11535        result: *mut GAsyncResult,
11536        length: *mut size_t,
11537        error: *mut *mut glib::GError,
11538    ) -> *mut u8;
11539    pub fn g_data_input_stream_read_line_finish_utf8(
11540        stream: *mut GDataInputStream,
11541        result: *mut GAsyncResult,
11542        length: *mut size_t,
11543        error: *mut *mut glib::GError,
11544    ) -> *mut c_char;
11545    pub fn g_data_input_stream_read_line_utf8(
11546        stream: *mut GDataInputStream,
11547        length: *mut size_t,
11548        cancellable: *mut GCancellable,
11549        error: *mut *mut glib::GError,
11550    ) -> *mut c_char;
11551    pub fn g_data_input_stream_read_uint16(
11552        stream: *mut GDataInputStream,
11553        cancellable: *mut GCancellable,
11554        error: *mut *mut glib::GError,
11555    ) -> u16;
11556    pub fn g_data_input_stream_read_uint32(
11557        stream: *mut GDataInputStream,
11558        cancellable: *mut GCancellable,
11559        error: *mut *mut glib::GError,
11560    ) -> u32;
11561    pub fn g_data_input_stream_read_uint64(
11562        stream: *mut GDataInputStream,
11563        cancellable: *mut GCancellable,
11564        error: *mut *mut glib::GError,
11565    ) -> u64;
11566    pub fn g_data_input_stream_read_until(
11567        stream: *mut GDataInputStream,
11568        stop_chars: *const c_char,
11569        length: *mut size_t,
11570        cancellable: *mut GCancellable,
11571        error: *mut *mut glib::GError,
11572    ) -> *mut c_char;
11573    pub fn g_data_input_stream_read_until_async(
11574        stream: *mut GDataInputStream,
11575        stop_chars: *const c_char,
11576        io_priority: c_int,
11577        cancellable: *mut GCancellable,
11578        callback: GAsyncReadyCallback,
11579        user_data: gpointer,
11580    );
11581    pub fn g_data_input_stream_read_until_finish(
11582        stream: *mut GDataInputStream,
11583        result: *mut GAsyncResult,
11584        length: *mut size_t,
11585        error: *mut *mut glib::GError,
11586    ) -> *mut c_char;
11587    pub fn g_data_input_stream_read_upto(
11588        stream: *mut GDataInputStream,
11589        stop_chars: *const c_char,
11590        stop_chars_len: ssize_t,
11591        length: *mut size_t,
11592        cancellable: *mut GCancellable,
11593        error: *mut *mut glib::GError,
11594    ) -> *mut c_char;
11595    pub fn g_data_input_stream_read_upto_async(
11596        stream: *mut GDataInputStream,
11597        stop_chars: *const c_char,
11598        stop_chars_len: ssize_t,
11599        io_priority: c_int,
11600        cancellable: *mut GCancellable,
11601        callback: GAsyncReadyCallback,
11602        user_data: gpointer,
11603    );
11604    pub fn g_data_input_stream_read_upto_finish(
11605        stream: *mut GDataInputStream,
11606        result: *mut GAsyncResult,
11607        length: *mut size_t,
11608        error: *mut *mut glib::GError,
11609    ) -> *mut c_char;
11610    pub fn g_data_input_stream_set_byte_order(
11611        stream: *mut GDataInputStream,
11612        order: GDataStreamByteOrder,
11613    );
11614    pub fn g_data_input_stream_set_newline_type(
11615        stream: *mut GDataInputStream,
11616        type_: GDataStreamNewlineType,
11617    );
11618
11619    //=========================================================================
11620    // GDataOutputStream
11621    //=========================================================================
11622    pub fn g_data_output_stream_get_type() -> GType;
11623    pub fn g_data_output_stream_new(base_stream: *mut GOutputStream) -> *mut GDataOutputStream;
11624    pub fn g_data_output_stream_get_byte_order(
11625        stream: *mut GDataOutputStream,
11626    ) -> GDataStreamByteOrder;
11627    pub fn g_data_output_stream_put_byte(
11628        stream: *mut GDataOutputStream,
11629        data: c_uchar,
11630        cancellable: *mut GCancellable,
11631        error: *mut *mut glib::GError,
11632    ) -> gboolean;
11633    pub fn g_data_output_stream_put_int16(
11634        stream: *mut GDataOutputStream,
11635        data: i16,
11636        cancellable: *mut GCancellable,
11637        error: *mut *mut glib::GError,
11638    ) -> gboolean;
11639    pub fn g_data_output_stream_put_int32(
11640        stream: *mut GDataOutputStream,
11641        data: i32,
11642        cancellable: *mut GCancellable,
11643        error: *mut *mut glib::GError,
11644    ) -> gboolean;
11645    pub fn g_data_output_stream_put_int64(
11646        stream: *mut GDataOutputStream,
11647        data: i64,
11648        cancellable: *mut GCancellable,
11649        error: *mut *mut glib::GError,
11650    ) -> gboolean;
11651    pub fn g_data_output_stream_put_string(
11652        stream: *mut GDataOutputStream,
11653        str: *const c_char,
11654        cancellable: *mut GCancellable,
11655        error: *mut *mut glib::GError,
11656    ) -> gboolean;
11657    pub fn g_data_output_stream_put_uint16(
11658        stream: *mut GDataOutputStream,
11659        data: u16,
11660        cancellable: *mut GCancellable,
11661        error: *mut *mut glib::GError,
11662    ) -> gboolean;
11663    pub fn g_data_output_stream_put_uint32(
11664        stream: *mut GDataOutputStream,
11665        data: u32,
11666        cancellable: *mut GCancellable,
11667        error: *mut *mut glib::GError,
11668    ) -> gboolean;
11669    pub fn g_data_output_stream_put_uint64(
11670        stream: *mut GDataOutputStream,
11671        data: u64,
11672        cancellable: *mut GCancellable,
11673        error: *mut *mut glib::GError,
11674    ) -> gboolean;
11675    pub fn g_data_output_stream_set_byte_order(
11676        stream: *mut GDataOutputStream,
11677        order: GDataStreamByteOrder,
11678    );
11679
11680    //=========================================================================
11681    // GDebugControllerDBus
11682    //=========================================================================
11683    #[cfg(feature = "v2_72")]
11684    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11685    pub fn g_debug_controller_dbus_get_type() -> GType;
11686    #[cfg(feature = "v2_72")]
11687    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11688    pub fn g_debug_controller_dbus_new(
11689        connection: *mut GDBusConnection,
11690        cancellable: *mut GCancellable,
11691        error: *mut *mut glib::GError,
11692    ) -> *mut GDebugControllerDBus;
11693    #[cfg(feature = "v2_72")]
11694    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11695    pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus);
11696
11697    //=========================================================================
11698    // GDesktopAppInfo
11699    //=========================================================================
11700    pub fn g_desktop_app_info_get_type() -> GType;
11701    pub fn g_desktop_app_info_new(desktop_id: *const c_char) -> *mut GDesktopAppInfo;
11702    pub fn g_desktop_app_info_new_from_filename(filename: *const c_char) -> *mut GDesktopAppInfo;
11703    pub fn g_desktop_app_info_new_from_keyfile(
11704        key_file: *mut glib::GKeyFile,
11705    ) -> *mut GDesktopAppInfo;
11706    pub fn g_desktop_app_info_get_implementations(interface: *const c_char) -> *mut glib::GList;
11707    pub fn g_desktop_app_info_search(search_string: *const c_char) -> *mut *mut *mut c_char;
11708    pub fn g_desktop_app_info_set_desktop_env(desktop_env: *const c_char);
11709    pub fn g_desktop_app_info_get_action_name(
11710        info: *mut GDesktopAppInfo,
11711        action_name: *const c_char,
11712    ) -> *mut c_char;
11713    pub fn g_desktop_app_info_get_boolean(
11714        info: *mut GDesktopAppInfo,
11715        key: *const c_char,
11716    ) -> gboolean;
11717    pub fn g_desktop_app_info_get_categories(info: *mut GDesktopAppInfo) -> *const c_char;
11718    pub fn g_desktop_app_info_get_filename(info: *mut GDesktopAppInfo) -> *const c_char;
11719    pub fn g_desktop_app_info_get_generic_name(info: *mut GDesktopAppInfo) -> *const c_char;
11720    pub fn g_desktop_app_info_get_is_hidden(info: *mut GDesktopAppInfo) -> gboolean;
11721    pub fn g_desktop_app_info_get_keywords(info: *mut GDesktopAppInfo) -> *const *const c_char;
11722    pub fn g_desktop_app_info_get_locale_string(
11723        info: *mut GDesktopAppInfo,
11724        key: *const c_char,
11725    ) -> *mut c_char;
11726    pub fn g_desktop_app_info_get_nodisplay(info: *mut GDesktopAppInfo) -> gboolean;
11727    pub fn g_desktop_app_info_get_show_in(
11728        info: *mut GDesktopAppInfo,
11729        desktop_env: *const c_char,
11730    ) -> gboolean;
11731    pub fn g_desktop_app_info_get_startup_wm_class(info: *mut GDesktopAppInfo) -> *const c_char;
11732    pub fn g_desktop_app_info_get_string(
11733        info: *mut GDesktopAppInfo,
11734        key: *const c_char,
11735    ) -> *mut c_char;
11736    #[cfg(feature = "v2_60")]
11737    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
11738    pub fn g_desktop_app_info_get_string_list(
11739        info: *mut GDesktopAppInfo,
11740        key: *const c_char,
11741        length: *mut size_t,
11742    ) -> *mut *mut c_char;
11743    pub fn g_desktop_app_info_has_key(info: *mut GDesktopAppInfo, key: *const c_char) -> gboolean;
11744    pub fn g_desktop_app_info_launch_action(
11745        info: *mut GDesktopAppInfo,
11746        action_name: *const c_char,
11747        launch_context: *mut GAppLaunchContext,
11748    );
11749    pub fn g_desktop_app_info_launch_uris_as_manager(
11750        appinfo: *mut GDesktopAppInfo,
11751        uris: *mut glib::GList,
11752        launch_context: *mut GAppLaunchContext,
11753        spawn_flags: glib::GSpawnFlags,
11754        user_setup: glib::GSpawnChildSetupFunc,
11755        user_setup_data: gpointer,
11756        pid_callback: GDesktopAppLaunchCallback,
11757        pid_callback_data: gpointer,
11758        error: *mut *mut glib::GError,
11759    ) -> gboolean;
11760    #[cfg(feature = "v2_58")]
11761    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
11762    pub fn g_desktop_app_info_launch_uris_as_manager_with_fds(
11763        appinfo: *mut GDesktopAppInfo,
11764        uris: *mut glib::GList,
11765        launch_context: *mut GAppLaunchContext,
11766        spawn_flags: glib::GSpawnFlags,
11767        user_setup: glib::GSpawnChildSetupFunc,
11768        user_setup_data: gpointer,
11769        pid_callback: GDesktopAppLaunchCallback,
11770        pid_callback_data: gpointer,
11771        stdin_fd: c_int,
11772        stdout_fd: c_int,
11773        stderr_fd: c_int,
11774        error: *mut *mut glib::GError,
11775    ) -> gboolean;
11776    pub fn g_desktop_app_info_list_actions(info: *mut GDesktopAppInfo) -> *const *const c_char;
11777
11778    //=========================================================================
11779    // GEmblem
11780    //=========================================================================
11781    pub fn g_emblem_get_type() -> GType;
11782    pub fn g_emblem_new(icon: *mut GIcon) -> *mut GEmblem;
11783    pub fn g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin) -> *mut GEmblem;
11784    pub fn g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon;
11785    pub fn g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin;
11786
11787    //=========================================================================
11788    // GEmblemedIcon
11789    //=========================================================================
11790    pub fn g_emblemed_icon_get_type() -> GType;
11791    pub fn g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GEmblemedIcon;
11792    pub fn g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem);
11793    pub fn g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon);
11794    pub fn g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut glib::GList;
11795    pub fn g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon;
11796
11797    //=========================================================================
11798    // GFileEnumerator
11799    //=========================================================================
11800    pub fn g_file_enumerator_get_type() -> GType;
11801    pub fn g_file_enumerator_close(
11802        enumerator: *mut GFileEnumerator,
11803        cancellable: *mut GCancellable,
11804        error: *mut *mut glib::GError,
11805    ) -> gboolean;
11806    pub fn g_file_enumerator_close_async(
11807        enumerator: *mut GFileEnumerator,
11808        io_priority: c_int,
11809        cancellable: *mut GCancellable,
11810        callback: GAsyncReadyCallback,
11811        user_data: gpointer,
11812    );
11813    pub fn g_file_enumerator_close_finish(
11814        enumerator: *mut GFileEnumerator,
11815        result: *mut GAsyncResult,
11816        error: *mut *mut glib::GError,
11817    ) -> gboolean;
11818    pub fn g_file_enumerator_get_child(
11819        enumerator: *mut GFileEnumerator,
11820        info: *mut GFileInfo,
11821    ) -> *mut GFile;
11822    pub fn g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile;
11823    pub fn g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean;
11824    pub fn g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean;
11825    pub fn g_file_enumerator_iterate(
11826        direnum: *mut GFileEnumerator,
11827        out_info: *mut *mut GFileInfo,
11828        out_child: *mut *mut GFile,
11829        cancellable: *mut GCancellable,
11830        error: *mut *mut glib::GError,
11831    ) -> gboolean;
11832    pub fn g_file_enumerator_next_file(
11833        enumerator: *mut GFileEnumerator,
11834        cancellable: *mut GCancellable,
11835        error: *mut *mut glib::GError,
11836    ) -> *mut GFileInfo;
11837    pub fn g_file_enumerator_next_files_async(
11838        enumerator: *mut GFileEnumerator,
11839        num_files: c_int,
11840        io_priority: c_int,
11841        cancellable: *mut GCancellable,
11842        callback: GAsyncReadyCallback,
11843        user_data: gpointer,
11844    );
11845    pub fn g_file_enumerator_next_files_finish(
11846        enumerator: *mut GFileEnumerator,
11847        result: *mut GAsyncResult,
11848        error: *mut *mut glib::GError,
11849    ) -> *mut glib::GList;
11850    pub fn g_file_enumerator_set_pending(enumerator: *mut GFileEnumerator, pending: gboolean);
11851
11852    //=========================================================================
11853    // GFileIOStream
11854    //=========================================================================
11855    pub fn g_file_io_stream_get_type() -> GType;
11856    pub fn g_file_io_stream_get_etag(stream: *mut GFileIOStream) -> *mut c_char;
11857    pub fn g_file_io_stream_query_info(
11858        stream: *mut GFileIOStream,
11859        attributes: *const c_char,
11860        cancellable: *mut GCancellable,
11861        error: *mut *mut glib::GError,
11862    ) -> *mut GFileInfo;
11863    pub fn g_file_io_stream_query_info_async(
11864        stream: *mut GFileIOStream,
11865        attributes: *const c_char,
11866        io_priority: c_int,
11867        cancellable: *mut GCancellable,
11868        callback: GAsyncReadyCallback,
11869        user_data: gpointer,
11870    );
11871    pub fn g_file_io_stream_query_info_finish(
11872        stream: *mut GFileIOStream,
11873        result: *mut GAsyncResult,
11874        error: *mut *mut glib::GError,
11875    ) -> *mut GFileInfo;
11876
11877    //=========================================================================
11878    // GFileIcon
11879    //=========================================================================
11880    pub fn g_file_icon_get_type() -> GType;
11881    pub fn g_file_icon_new(file: *mut GFile) -> *mut GFileIcon;
11882    pub fn g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile;
11883
11884    //=========================================================================
11885    // GFileInfo
11886    //=========================================================================
11887    pub fn g_file_info_get_type() -> GType;
11888    pub fn g_file_info_new() -> *mut GFileInfo;
11889    pub fn g_file_info_clear_status(info: *mut GFileInfo);
11890    pub fn g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo);
11891    pub fn g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo;
11892    #[cfg(feature = "v2_70")]
11893    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11894    pub fn g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11895    pub fn g_file_info_get_attribute_as_string(
11896        info: *mut GFileInfo,
11897        attribute: *const c_char,
11898    ) -> *mut c_char;
11899    pub fn g_file_info_get_attribute_boolean(
11900        info: *mut GFileInfo,
11901        attribute: *const c_char,
11902    ) -> gboolean;
11903    pub fn g_file_info_get_attribute_byte_string(
11904        info: *mut GFileInfo,
11905        attribute: *const c_char,
11906    ) -> *const c_char;
11907    pub fn g_file_info_get_attribute_data(
11908        info: *mut GFileInfo,
11909        attribute: *const c_char,
11910        type_: *mut GFileAttributeType,
11911        value_pp: *mut gpointer,
11912        status: *mut GFileAttributeStatus,
11913    ) -> gboolean;
11914    #[cfg(feature = "v2_78")]
11915    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11916    pub fn g_file_info_get_attribute_file_path(
11917        info: *mut GFileInfo,
11918        attribute: *const c_char,
11919    ) -> *const c_char;
11920    pub fn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32;
11921    pub fn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64;
11922    pub fn g_file_info_get_attribute_object(
11923        info: *mut GFileInfo,
11924        attribute: *const c_char,
11925    ) -> *mut gobject::GObject;
11926    pub fn g_file_info_get_attribute_status(
11927        info: *mut GFileInfo,
11928        attribute: *const c_char,
11929    ) -> GFileAttributeStatus;
11930    pub fn g_file_info_get_attribute_string(
11931        info: *mut GFileInfo,
11932        attribute: *const c_char,
11933    ) -> *const c_char;
11934    pub fn g_file_info_get_attribute_stringv(
11935        info: *mut GFileInfo,
11936        attribute: *const c_char,
11937    ) -> *mut *mut c_char;
11938    pub fn g_file_info_get_attribute_type(
11939        info: *mut GFileInfo,
11940        attribute: *const c_char,
11941    ) -> GFileAttributeType;
11942    pub fn g_file_info_get_attribute_uint32(info: *mut GFileInfo, attribute: *const c_char) -> u32;
11943    pub fn g_file_info_get_attribute_uint64(info: *mut GFileInfo, attribute: *const c_char) -> u64;
11944    pub fn g_file_info_get_content_type(info: *mut GFileInfo) -> *const c_char;
11945    #[cfg(feature = "v2_70")]
11946    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11947    pub fn g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11948    pub fn g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut glib::GDateTime;
11949    pub fn g_file_info_get_display_name(info: *mut GFileInfo) -> *const c_char;
11950    pub fn g_file_info_get_edit_name(info: *mut GFileInfo) -> *const c_char;
11951    pub fn g_file_info_get_etag(info: *mut GFileInfo) -> *const c_char;
11952    pub fn g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType;
11953    pub fn g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon;
11954    pub fn g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean;
11955    pub fn g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean;
11956    pub fn g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean;
11957    #[cfg(feature = "v2_62")]
11958    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11959    pub fn g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11960    pub fn g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut glib::GTimeVal);
11961    pub fn g_file_info_get_name(info: *mut GFileInfo) -> *const c_char;
11962    pub fn g_file_info_get_size(info: *mut GFileInfo) -> i64;
11963    pub fn g_file_info_get_sort_order(info: *mut GFileInfo) -> i32;
11964    pub fn g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon;
11965    pub fn g_file_info_get_symlink_target(info: *mut GFileInfo) -> *const c_char;
11966    pub fn g_file_info_has_attribute(info: *mut GFileInfo, attribute: *const c_char) -> gboolean;
11967    pub fn g_file_info_has_namespace(info: *mut GFileInfo, name_space: *const c_char) -> gboolean;
11968    pub fn g_file_info_list_attributes(
11969        info: *mut GFileInfo,
11970        name_space: *const c_char,
11971    ) -> *mut *mut c_char;
11972    pub fn g_file_info_remove_attribute(info: *mut GFileInfo, attribute: *const c_char);
11973    #[cfg(feature = "v2_70")]
11974    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11975    pub fn g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut glib::GDateTime);
11976    pub fn g_file_info_set_attribute(
11977        info: *mut GFileInfo,
11978        attribute: *const c_char,
11979        type_: GFileAttributeType,
11980        value_p: gpointer,
11981    );
11982    pub fn g_file_info_set_attribute_boolean(
11983        info: *mut GFileInfo,
11984        attribute: *const c_char,
11985        attr_value: gboolean,
11986    );
11987    pub fn g_file_info_set_attribute_byte_string(
11988        info: *mut GFileInfo,
11989        attribute: *const c_char,
11990        attr_value: *const c_char,
11991    );
11992    #[cfg(feature = "v2_78")]
11993    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11994    pub fn g_file_info_set_attribute_file_path(
11995        info: *mut GFileInfo,
11996        attribute: *const c_char,
11997        attr_value: *const c_char,
11998    );
11999    pub fn g_file_info_set_attribute_int32(
12000        info: *mut GFileInfo,
12001        attribute: *const c_char,
12002        attr_value: i32,
12003    );
12004    pub fn g_file_info_set_attribute_int64(
12005        info: *mut GFileInfo,
12006        attribute: *const c_char,
12007        attr_value: i64,
12008    );
12009    pub fn g_file_info_set_attribute_mask(info: *mut GFileInfo, mask: *mut GFileAttributeMatcher);
12010    pub fn g_file_info_set_attribute_object(
12011        info: *mut GFileInfo,
12012        attribute: *const c_char,
12013        attr_value: *mut gobject::GObject,
12014    );
12015    pub fn g_file_info_set_attribute_status(
12016        info: *mut GFileInfo,
12017        attribute: *const c_char,
12018        status: GFileAttributeStatus,
12019    ) -> gboolean;
12020    pub fn g_file_info_set_attribute_string(
12021        info: *mut GFileInfo,
12022        attribute: *const c_char,
12023        attr_value: *const c_char,
12024    );
12025    pub fn g_file_info_set_attribute_stringv(
12026        info: *mut GFileInfo,
12027        attribute: *const c_char,
12028        attr_value: *mut *mut c_char,
12029    );
12030    pub fn g_file_info_set_attribute_uint32(
12031        info: *mut GFileInfo,
12032        attribute: *const c_char,
12033        attr_value: u32,
12034    );
12035    pub fn g_file_info_set_attribute_uint64(
12036        info: *mut GFileInfo,
12037        attribute: *const c_char,
12038        attr_value: u64,
12039    );
12040    pub fn g_file_info_set_content_type(info: *mut GFileInfo, content_type: *const c_char);
12041    #[cfg(feature = "v2_70")]
12042    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
12043    pub fn g_file_info_set_creation_date_time(
12044        info: *mut GFileInfo,
12045        creation_time: *mut glib::GDateTime,
12046    );
12047    pub fn g_file_info_set_display_name(info: *mut GFileInfo, display_name: *const c_char);
12048    pub fn g_file_info_set_edit_name(info: *mut GFileInfo, edit_name: *const c_char);
12049    pub fn g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType);
12050    pub fn g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon);
12051    pub fn g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean);
12052    pub fn g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean);
12053    #[cfg(feature = "v2_62")]
12054    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
12055    pub fn g_file_info_set_modification_date_time(
12056        info: *mut GFileInfo,
12057        mtime: *mut glib::GDateTime,
12058    );
12059    pub fn g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut glib::GTimeVal);
12060    pub fn g_file_info_set_name(info: *mut GFileInfo, name: *const c_char);
12061    pub fn g_file_info_set_size(info: *mut GFileInfo, size: i64);
12062    pub fn g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: i32);
12063    pub fn g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon);
12064    pub fn g_file_info_set_symlink_target(info: *mut GFileInfo, symlink_target: *const c_char);
12065    pub fn g_file_info_unset_attribute_mask(info: *mut GFileInfo);
12066
12067    //=========================================================================
12068    // GFileInputStream
12069    //=========================================================================
12070    pub fn g_file_input_stream_get_type() -> GType;
12071    pub fn g_file_input_stream_query_info(
12072        stream: *mut GFileInputStream,
12073        attributes: *const c_char,
12074        cancellable: *mut GCancellable,
12075        error: *mut *mut glib::GError,
12076    ) -> *mut GFileInfo;
12077    pub fn g_file_input_stream_query_info_async(
12078        stream: *mut GFileInputStream,
12079        attributes: *const c_char,
12080        io_priority: c_int,
12081        cancellable: *mut GCancellable,
12082        callback: GAsyncReadyCallback,
12083        user_data: gpointer,
12084    );
12085    pub fn g_file_input_stream_query_info_finish(
12086        stream: *mut GFileInputStream,
12087        result: *mut GAsyncResult,
12088        error: *mut *mut glib::GError,
12089    ) -> *mut GFileInfo;
12090
12091    //=========================================================================
12092    // GFileMonitor
12093    //=========================================================================
12094    pub fn g_file_monitor_get_type() -> GType;
12095    pub fn g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean;
12096    pub fn g_file_monitor_emit_event(
12097        monitor: *mut GFileMonitor,
12098        child: *mut GFile,
12099        other_file: *mut GFile,
12100        event_type: GFileMonitorEvent,
12101    );
12102    pub fn g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean;
12103    pub fn g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: c_int);
12104
12105    //=========================================================================
12106    // GFileOutputStream
12107    //=========================================================================
12108    pub fn g_file_output_stream_get_type() -> GType;
12109    pub fn g_file_output_stream_get_etag(stream: *mut GFileOutputStream) -> *mut c_char;
12110    pub fn g_file_output_stream_query_info(
12111        stream: *mut GFileOutputStream,
12112        attributes: *const c_char,
12113        cancellable: *mut GCancellable,
12114        error: *mut *mut glib::GError,
12115    ) -> *mut GFileInfo;
12116    pub fn g_file_output_stream_query_info_async(
12117        stream: *mut GFileOutputStream,
12118        attributes: *const c_char,
12119        io_priority: c_int,
12120        cancellable: *mut GCancellable,
12121        callback: GAsyncReadyCallback,
12122        user_data: gpointer,
12123    );
12124    pub fn g_file_output_stream_query_info_finish(
12125        stream: *mut GFileOutputStream,
12126        result: *mut GAsyncResult,
12127        error: *mut *mut glib::GError,
12128    ) -> *mut GFileInfo;
12129
12130    //=========================================================================
12131    // GFilenameCompleter
12132    //=========================================================================
12133    pub fn g_filename_completer_get_type() -> GType;
12134    pub fn g_filename_completer_new() -> *mut GFilenameCompleter;
12135    pub fn g_filename_completer_get_completion_suffix(
12136        completer: *mut GFilenameCompleter,
12137        initial_text: *const c_char,
12138    ) -> *mut c_char;
12139    pub fn g_filename_completer_get_completions(
12140        completer: *mut GFilenameCompleter,
12141        initial_text: *const c_char,
12142    ) -> *mut *mut c_char;
12143    pub fn g_filename_completer_set_dirs_only(
12144        completer: *mut GFilenameCompleter,
12145        dirs_only: gboolean,
12146    );
12147
12148    //=========================================================================
12149    // GFilterInputStream
12150    //=========================================================================
12151    pub fn g_filter_input_stream_get_type() -> GType;
12152    pub fn g_filter_input_stream_get_base_stream(
12153        stream: *mut GFilterInputStream,
12154    ) -> *mut GInputStream;
12155    pub fn g_filter_input_stream_get_close_base_stream(stream: *mut GFilterInputStream)
12156        -> gboolean;
12157    pub fn g_filter_input_stream_set_close_base_stream(
12158        stream: *mut GFilterInputStream,
12159        close_base: gboolean,
12160    );
12161
12162    //=========================================================================
12163    // GFilterOutputStream
12164    //=========================================================================
12165    pub fn g_filter_output_stream_get_type() -> GType;
12166    pub fn g_filter_output_stream_get_base_stream(
12167        stream: *mut GFilterOutputStream,
12168    ) -> *mut GOutputStream;
12169    pub fn g_filter_output_stream_get_close_base_stream(
12170        stream: *mut GFilterOutputStream,
12171    ) -> gboolean;
12172    pub fn g_filter_output_stream_set_close_base_stream(
12173        stream: *mut GFilterOutputStream,
12174        close_base: gboolean,
12175    );
12176
12177    //=========================================================================
12178    // GIOModule
12179    //=========================================================================
12180    pub fn g_io_module_get_type() -> GType;
12181    pub fn g_io_module_new(filename: *const c_char) -> *mut GIOModule;
12182    pub fn g_io_module_query() -> *mut *mut c_char;
12183    pub fn g_io_module_load(module: *mut GIOModule);
12184    pub fn g_io_module_unload(module: *mut GIOModule);
12185
12186    //=========================================================================
12187    // GIOStream
12188    //=========================================================================
12189    pub fn g_io_stream_get_type() -> GType;
12190    pub fn g_io_stream_splice_finish(
12191        result: *mut GAsyncResult,
12192        error: *mut *mut glib::GError,
12193    ) -> gboolean;
12194    pub fn g_io_stream_clear_pending(stream: *mut GIOStream);
12195    pub fn g_io_stream_close(
12196        stream: *mut GIOStream,
12197        cancellable: *mut GCancellable,
12198        error: *mut *mut glib::GError,
12199    ) -> gboolean;
12200    pub fn g_io_stream_close_async(
12201        stream: *mut GIOStream,
12202        io_priority: c_int,
12203        cancellable: *mut GCancellable,
12204        callback: GAsyncReadyCallback,
12205        user_data: gpointer,
12206    );
12207    pub fn g_io_stream_close_finish(
12208        stream: *mut GIOStream,
12209        result: *mut GAsyncResult,
12210        error: *mut *mut glib::GError,
12211    ) -> gboolean;
12212    pub fn g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream;
12213    pub fn g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream;
12214    pub fn g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean;
12215    pub fn g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean;
12216    pub fn g_io_stream_set_pending(
12217        stream: *mut GIOStream,
12218        error: *mut *mut glib::GError,
12219    ) -> gboolean;
12220    pub fn g_io_stream_splice_async(
12221        stream1: *mut GIOStream,
12222        stream2: *mut GIOStream,
12223        flags: GIOStreamSpliceFlags,
12224        io_priority: c_int,
12225        cancellable: *mut GCancellable,
12226        callback: GAsyncReadyCallback,
12227        user_data: gpointer,
12228    );
12229
12230    //=========================================================================
12231    // GInetAddress
12232    //=========================================================================
12233    pub fn g_inet_address_get_type() -> GType;
12234    pub fn g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress;
12235    pub fn g_inet_address_new_from_bytes(
12236        bytes: *const u8,
12237        family: GSocketFamily,
12238    ) -> *mut GInetAddress;
12239    pub fn g_inet_address_new_from_string(string: *const c_char) -> *mut GInetAddress;
12240    pub fn g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress;
12241    pub fn g_inet_address_equal(
12242        address: *mut GInetAddress,
12243        other_address: *mut GInetAddress,
12244    ) -> gboolean;
12245    pub fn g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily;
12246    pub fn g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean;
12247    pub fn g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean;
12248    pub fn g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean;
12249    pub fn g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean;
12250    pub fn g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean;
12251    pub fn g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean;
12252    pub fn g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean;
12253    pub fn g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean;
12254    pub fn g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean;
12255    pub fn g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean;
12256    pub fn g_inet_address_get_native_size(address: *mut GInetAddress) -> size_t;
12257    pub fn g_inet_address_to_bytes(address: *mut GInetAddress) -> *const u8;
12258    pub fn g_inet_address_to_string(address: *mut GInetAddress) -> *mut c_char;
12259
12260    //=========================================================================
12261    // GInetAddressMask
12262    //=========================================================================
12263    pub fn g_inet_address_mask_get_type() -> GType;
12264    pub fn g_inet_address_mask_new(
12265        addr: *mut GInetAddress,
12266        length: c_uint,
12267        error: *mut *mut glib::GError,
12268    ) -> *mut GInetAddressMask;
12269    pub fn g_inet_address_mask_new_from_string(
12270        mask_string: *const c_char,
12271        error: *mut *mut glib::GError,
12272    ) -> *mut GInetAddressMask;
12273    pub fn g_inet_address_mask_equal(
12274        mask: *mut GInetAddressMask,
12275        mask2: *mut GInetAddressMask,
12276    ) -> gboolean;
12277    pub fn g_inet_address_mask_get_address(mask: *mut GInetAddressMask) -> *mut GInetAddress;
12278    pub fn g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily;
12279    pub fn g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> c_uint;
12280    pub fn g_inet_address_mask_matches(
12281        mask: *mut GInetAddressMask,
12282        address: *mut GInetAddress,
12283    ) -> gboolean;
12284    pub fn g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut c_char;
12285
12286    //=========================================================================
12287    // GInetSocketAddress
12288    //=========================================================================
12289    pub fn g_inet_socket_address_get_type() -> GType;
12290    pub fn g_inet_socket_address_new(address: *mut GInetAddress, port: u16) -> *mut GSocketAddress;
12291    pub fn g_inet_socket_address_new_from_string(
12292        address: *const c_char,
12293        port: c_uint,
12294    ) -> *mut GSocketAddress;
12295    pub fn g_inet_socket_address_get_address(address: *mut GInetSocketAddress)
12296        -> *mut GInetAddress;
12297    pub fn g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> u32;
12298    pub fn g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> u16;
12299    pub fn g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> u32;
12300
12301    //=========================================================================
12302    // GInputStream
12303    //=========================================================================
12304    pub fn g_input_stream_get_type() -> GType;
12305    pub fn g_input_stream_clear_pending(stream: *mut GInputStream);
12306    pub fn g_input_stream_close(
12307        stream: *mut GInputStream,
12308        cancellable: *mut GCancellable,
12309        error: *mut *mut glib::GError,
12310    ) -> gboolean;
12311    pub fn g_input_stream_close_async(
12312        stream: *mut GInputStream,
12313        io_priority: c_int,
12314        cancellable: *mut GCancellable,
12315        callback: GAsyncReadyCallback,
12316        user_data: gpointer,
12317    );
12318    pub fn g_input_stream_close_finish(
12319        stream: *mut GInputStream,
12320        result: *mut GAsyncResult,
12321        error: *mut *mut glib::GError,
12322    ) -> gboolean;
12323    pub fn g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean;
12324    pub fn g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean;
12325    pub fn g_input_stream_read(
12326        stream: *mut GInputStream,
12327        buffer: *mut u8,
12328        count: size_t,
12329        cancellable: *mut GCancellable,
12330        error: *mut *mut glib::GError,
12331    ) -> ssize_t;
12332    pub fn g_input_stream_read_all(
12333        stream: *mut GInputStream,
12334        buffer: *mut u8,
12335        count: size_t,
12336        bytes_read: *mut size_t,
12337        cancellable: *mut GCancellable,
12338        error: *mut *mut glib::GError,
12339    ) -> gboolean;
12340    pub fn g_input_stream_read_all_async(
12341        stream: *mut GInputStream,
12342        buffer: *mut u8,
12343        count: size_t,
12344        io_priority: c_int,
12345        cancellable: *mut GCancellable,
12346        callback: GAsyncReadyCallback,
12347        user_data: gpointer,
12348    );
12349    pub fn g_input_stream_read_all_finish(
12350        stream: *mut GInputStream,
12351        result: *mut GAsyncResult,
12352        bytes_read: *mut size_t,
12353        error: *mut *mut glib::GError,
12354    ) -> gboolean;
12355    pub fn g_input_stream_read_async(
12356        stream: *mut GInputStream,
12357        buffer: *mut u8,
12358        count: size_t,
12359        io_priority: c_int,
12360        cancellable: *mut GCancellable,
12361        callback: GAsyncReadyCallback,
12362        user_data: gpointer,
12363    );
12364    pub fn g_input_stream_read_bytes(
12365        stream: *mut GInputStream,
12366        count: size_t,
12367        cancellable: *mut GCancellable,
12368        error: *mut *mut glib::GError,
12369    ) -> *mut glib::GBytes;
12370    pub fn g_input_stream_read_bytes_async(
12371        stream: *mut GInputStream,
12372        count: size_t,
12373        io_priority: c_int,
12374        cancellable: *mut GCancellable,
12375        callback: GAsyncReadyCallback,
12376        user_data: gpointer,
12377    );
12378    pub fn g_input_stream_read_bytes_finish(
12379        stream: *mut GInputStream,
12380        result: *mut GAsyncResult,
12381        error: *mut *mut glib::GError,
12382    ) -> *mut glib::GBytes;
12383    pub fn g_input_stream_read_finish(
12384        stream: *mut GInputStream,
12385        result: *mut GAsyncResult,
12386        error: *mut *mut glib::GError,
12387    ) -> ssize_t;
12388    pub fn g_input_stream_set_pending(
12389        stream: *mut GInputStream,
12390        error: *mut *mut glib::GError,
12391    ) -> gboolean;
12392    pub fn g_input_stream_skip(
12393        stream: *mut GInputStream,
12394        count: size_t,
12395        cancellable: *mut GCancellable,
12396        error: *mut *mut glib::GError,
12397    ) -> ssize_t;
12398    pub fn g_input_stream_skip_async(
12399        stream: *mut GInputStream,
12400        count: size_t,
12401        io_priority: c_int,
12402        cancellable: *mut GCancellable,
12403        callback: GAsyncReadyCallback,
12404        user_data: gpointer,
12405    );
12406    pub fn g_input_stream_skip_finish(
12407        stream: *mut GInputStream,
12408        result: *mut GAsyncResult,
12409        error: *mut *mut glib::GError,
12410    ) -> ssize_t;
12411
12412    //=========================================================================
12413    // GListStore
12414    //=========================================================================
12415    pub fn g_list_store_get_type() -> GType;
12416    pub fn g_list_store_new(item_type: GType) -> *mut GListStore;
12417    pub fn g_list_store_append(store: *mut GListStore, item: *mut gobject::GObject);
12418    #[cfg(feature = "v2_64")]
12419    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12420    pub fn g_list_store_find(
12421        store: *mut GListStore,
12422        item: *mut gobject::GObject,
12423        position: *mut c_uint,
12424    ) -> gboolean;
12425    #[cfg(feature = "v2_64")]
12426    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
12427    pub fn g_list_store_find_with_equal_func(
12428        store: *mut GListStore,
12429        item: *mut gobject::GObject,
12430        equal_func: glib::GEqualFunc,
12431        position: *mut c_uint,
12432    ) -> gboolean;
12433    #[cfg(feature = "v2_74")]
12434    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
12435    pub fn g_list_store_find_with_equal_func_full(
12436        store: *mut GListStore,
12437        item: *mut gobject::GObject,
12438        equal_func: glib::GEqualFuncFull,
12439        user_data: gpointer,
12440        position: *mut c_uint,
12441    ) -> gboolean;
12442    pub fn g_list_store_insert(
12443        store: *mut GListStore,
12444        position: c_uint,
12445        item: *mut gobject::GObject,
12446    );
12447    pub fn g_list_store_insert_sorted(
12448        store: *mut GListStore,
12449        item: *mut gobject::GObject,
12450        compare_func: glib::GCompareDataFunc,
12451        user_data: gpointer,
12452    ) -> c_uint;
12453    pub fn g_list_store_remove(store: *mut GListStore, position: c_uint);
12454    pub fn g_list_store_remove_all(store: *mut GListStore);
12455    pub fn g_list_store_sort(
12456        store: *mut GListStore,
12457        compare_func: glib::GCompareDataFunc,
12458        user_data: gpointer,
12459    );
12460    pub fn g_list_store_splice(
12461        store: *mut GListStore,
12462        position: c_uint,
12463        n_removals: c_uint,
12464        additions: *mut *mut gobject::GObject,
12465        n_additions: c_uint,
12466    );
12467
12468    //=========================================================================
12469    // GMemoryInputStream
12470    //=========================================================================
12471    pub fn g_memory_input_stream_get_type() -> GType;
12472    pub fn g_memory_input_stream_new() -> *mut GInputStream;
12473    pub fn g_memory_input_stream_new_from_bytes(bytes: *mut glib::GBytes) -> *mut GInputStream;
12474    pub fn g_memory_input_stream_new_from_data(
12475        data: *mut u8,
12476        len: ssize_t,
12477        destroy: glib::GDestroyNotify,
12478    ) -> *mut GInputStream;
12479    pub fn g_memory_input_stream_add_bytes(
12480        stream: *mut GMemoryInputStream,
12481        bytes: *mut glib::GBytes,
12482    );
12483    pub fn g_memory_input_stream_add_data(
12484        stream: *mut GMemoryInputStream,
12485        data: *mut u8,
12486        len: ssize_t,
12487        destroy: glib::GDestroyNotify,
12488    );
12489
12490    //=========================================================================
12491    // GMemoryOutputStream
12492    //=========================================================================
12493    pub fn g_memory_output_stream_get_type() -> GType;
12494    pub fn g_memory_output_stream_new(
12495        data: gpointer,
12496        size: size_t,
12497        realloc_function: GReallocFunc,
12498        destroy_function: glib::GDestroyNotify,
12499    ) -> *mut GOutputStream;
12500    pub fn g_memory_output_stream_new_resizable() -> *mut GOutputStream;
12501    pub fn g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12502    pub fn g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> size_t;
12503    pub fn g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> size_t;
12504    pub fn g_memory_output_stream_steal_as_bytes(
12505        ostream: *mut GMemoryOutputStream,
12506    ) -> *mut glib::GBytes;
12507    pub fn g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12508
12509    //=========================================================================
12510    // GMenu
12511    //=========================================================================
12512    pub fn g_menu_get_type() -> GType;
12513    pub fn g_menu_new() -> *mut GMenu;
12514    pub fn g_menu_append(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12515    pub fn g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem);
12516    pub fn g_menu_append_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12517    pub fn g_menu_append_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12518    pub fn g_menu_freeze(menu: *mut GMenu);
12519    pub fn g_menu_insert(
12520        menu: *mut GMenu,
12521        position: c_int,
12522        label: *const c_char,
12523        detailed_action: *const c_char,
12524    );
12525    pub fn g_menu_insert_item(menu: *mut GMenu, position: c_int, item: *mut GMenuItem);
12526    pub fn g_menu_insert_section(
12527        menu: *mut GMenu,
12528        position: c_int,
12529        label: *const c_char,
12530        section: *mut GMenuModel,
12531    );
12532    pub fn g_menu_insert_submenu(
12533        menu: *mut GMenu,
12534        position: c_int,
12535        label: *const c_char,
12536        submenu: *mut GMenuModel,
12537    );
12538    pub fn g_menu_prepend(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12539    pub fn g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem);
12540    pub fn g_menu_prepend_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12541    pub fn g_menu_prepend_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12542    pub fn g_menu_remove(menu: *mut GMenu, position: c_int);
12543    pub fn g_menu_remove_all(menu: *mut GMenu);
12544
12545    //=========================================================================
12546    // GMenuAttributeIter
12547    //=========================================================================
12548    pub fn g_menu_attribute_iter_get_type() -> GType;
12549    pub fn g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const c_char;
12550    pub fn g_menu_attribute_iter_get_next(
12551        iter: *mut GMenuAttributeIter,
12552        out_name: *mut *const c_char,
12553        value: *mut *mut glib::GVariant,
12554    ) -> gboolean;
12555    pub fn g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut glib::GVariant;
12556    pub fn g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean;
12557
12558    //=========================================================================
12559    // GMenuItem
12560    //=========================================================================
12561    pub fn g_menu_item_get_type() -> GType;
12562    pub fn g_menu_item_new(label: *const c_char, detailed_action: *const c_char) -> *mut GMenuItem;
12563    pub fn g_menu_item_new_from_model(model: *mut GMenuModel, item_index: c_int) -> *mut GMenuItem;
12564    pub fn g_menu_item_new_section(
12565        label: *const c_char,
12566        section: *mut GMenuModel,
12567    ) -> *mut GMenuItem;
12568    pub fn g_menu_item_new_submenu(
12569        label: *const c_char,
12570        submenu: *mut GMenuModel,
12571    ) -> *mut GMenuItem;
12572    pub fn g_menu_item_get_attribute(
12573        menu_item: *mut GMenuItem,
12574        attribute: *const c_char,
12575        format_string: *const c_char,
12576        ...
12577    ) -> gboolean;
12578    pub fn g_menu_item_get_attribute_value(
12579        menu_item: *mut GMenuItem,
12580        attribute: *const c_char,
12581        expected_type: *const glib::GVariantType,
12582    ) -> *mut glib::GVariant;
12583    pub fn g_menu_item_get_link(menu_item: *mut GMenuItem, link: *const c_char) -> *mut GMenuModel;
12584    pub fn g_menu_item_set_action_and_target(
12585        menu_item: *mut GMenuItem,
12586        action: *const c_char,
12587        format_string: *const c_char,
12588        ...
12589    );
12590    pub fn g_menu_item_set_action_and_target_value(
12591        menu_item: *mut GMenuItem,
12592        action: *const c_char,
12593        target_value: *mut glib::GVariant,
12594    );
12595    pub fn g_menu_item_set_attribute(
12596        menu_item: *mut GMenuItem,
12597        attribute: *const c_char,
12598        format_string: *const c_char,
12599        ...
12600    );
12601    pub fn g_menu_item_set_attribute_value(
12602        menu_item: *mut GMenuItem,
12603        attribute: *const c_char,
12604        value: *mut glib::GVariant,
12605    );
12606    pub fn g_menu_item_set_detailed_action(
12607        menu_item: *mut GMenuItem,
12608        detailed_action: *const c_char,
12609    );
12610    pub fn g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon);
12611    pub fn g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const c_char);
12612    pub fn g_menu_item_set_link(
12613        menu_item: *mut GMenuItem,
12614        link: *const c_char,
12615        model: *mut GMenuModel,
12616    );
12617    pub fn g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel);
12618    pub fn g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel);
12619
12620    //=========================================================================
12621    // GMenuLinkIter
12622    //=========================================================================
12623    pub fn g_menu_link_iter_get_type() -> GType;
12624    pub fn g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const c_char;
12625    pub fn g_menu_link_iter_get_next(
12626        iter: *mut GMenuLinkIter,
12627        out_link: *mut *const c_char,
12628        value: *mut *mut GMenuModel,
12629    ) -> gboolean;
12630    pub fn g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel;
12631    pub fn g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean;
12632
12633    //=========================================================================
12634    // GMenuModel
12635    //=========================================================================
12636    pub fn g_menu_model_get_type() -> GType;
12637    pub fn g_menu_model_get_item_attribute(
12638        model: *mut GMenuModel,
12639        item_index: c_int,
12640        attribute: *const c_char,
12641        format_string: *const c_char,
12642        ...
12643    ) -> gboolean;
12644    pub fn g_menu_model_get_item_attribute_value(
12645        model: *mut GMenuModel,
12646        item_index: c_int,
12647        attribute: *const c_char,
12648        expected_type: *const glib::GVariantType,
12649    ) -> *mut glib::GVariant;
12650    pub fn g_menu_model_get_item_link(
12651        model: *mut GMenuModel,
12652        item_index: c_int,
12653        link: *const c_char,
12654    ) -> *mut GMenuModel;
12655    pub fn g_menu_model_get_n_items(model: *mut GMenuModel) -> c_int;
12656    pub fn g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean;
12657    pub fn g_menu_model_items_changed(
12658        model: *mut GMenuModel,
12659        position: c_int,
12660        removed: c_int,
12661        added: c_int,
12662    );
12663    pub fn g_menu_model_iterate_item_attributes(
12664        model: *mut GMenuModel,
12665        item_index: c_int,
12666    ) -> *mut GMenuAttributeIter;
12667    pub fn g_menu_model_iterate_item_links(
12668        model: *mut GMenuModel,
12669        item_index: c_int,
12670    ) -> *mut GMenuLinkIter;
12671
12672    //=========================================================================
12673    // GMountOperation
12674    //=========================================================================
12675    pub fn g_mount_operation_get_type() -> GType;
12676    pub fn g_mount_operation_new() -> *mut GMountOperation;
12677    pub fn g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean;
12678    pub fn g_mount_operation_get_choice(op: *mut GMountOperation) -> c_int;
12679    pub fn g_mount_operation_get_domain(op: *mut GMountOperation) -> *const c_char;
12680    #[cfg(feature = "v2_58")]
12681    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12682    pub fn g_mount_operation_get_is_tcrypt_hidden_volume(op: *mut GMountOperation) -> gboolean;
12683    #[cfg(feature = "v2_58")]
12684    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12685    pub fn g_mount_operation_get_is_tcrypt_system_volume(op: *mut GMountOperation) -> gboolean;
12686    pub fn g_mount_operation_get_password(op: *mut GMountOperation) -> *const c_char;
12687    pub fn g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave;
12688    #[cfg(feature = "v2_58")]
12689    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12690    pub fn g_mount_operation_get_pim(op: *mut GMountOperation) -> c_uint;
12691    pub fn g_mount_operation_get_username(op: *mut GMountOperation) -> *const c_char;
12692    pub fn g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult);
12693    pub fn g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean);
12694    pub fn g_mount_operation_set_choice(op: *mut GMountOperation, choice: c_int);
12695    pub fn g_mount_operation_set_domain(op: *mut GMountOperation, domain: *const c_char);
12696    #[cfg(feature = "v2_58")]
12697    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12698    pub fn g_mount_operation_set_is_tcrypt_hidden_volume(
12699        op: *mut GMountOperation,
12700        hidden_volume: gboolean,
12701    );
12702    #[cfg(feature = "v2_58")]
12703    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12704    pub fn g_mount_operation_set_is_tcrypt_system_volume(
12705        op: *mut GMountOperation,
12706        system_volume: gboolean,
12707    );
12708    pub fn g_mount_operation_set_password(op: *mut GMountOperation, password: *const c_char);
12709    pub fn g_mount_operation_set_password_save(op: *mut GMountOperation, save: GPasswordSave);
12710    #[cfg(feature = "v2_58")]
12711    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12712    pub fn g_mount_operation_set_pim(op: *mut GMountOperation, pim: c_uint);
12713    pub fn g_mount_operation_set_username(op: *mut GMountOperation, username: *const c_char);
12714
12715    //=========================================================================
12716    // GNativeSocketAddress
12717    //=========================================================================
12718    pub fn g_native_socket_address_get_type() -> GType;
12719    pub fn g_native_socket_address_new(native: gpointer, len: size_t) -> *mut GSocketAddress;
12720
12721    //=========================================================================
12722    // GNativeVolumeMonitor
12723    //=========================================================================
12724    pub fn g_native_volume_monitor_get_type() -> GType;
12725
12726    //=========================================================================
12727    // GNetworkAddress
12728    //=========================================================================
12729    pub fn g_network_address_get_type() -> GType;
12730    pub fn g_network_address_new(hostname: *const c_char, port: u16) -> *mut GNetworkAddress;
12731    pub fn g_network_address_new_loopback(port: u16) -> *mut GNetworkAddress;
12732    pub fn g_network_address_parse(
12733        host_and_port: *const c_char,
12734        default_port: u16,
12735        error: *mut *mut glib::GError,
12736    ) -> *mut GNetworkAddress;
12737    pub fn g_network_address_parse_uri(
12738        uri: *const c_char,
12739        default_port: u16,
12740        error: *mut *mut glib::GError,
12741    ) -> *mut GNetworkAddress;
12742    pub fn g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const c_char;
12743    pub fn g_network_address_get_port(addr: *mut GNetworkAddress) -> u16;
12744    pub fn g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const c_char;
12745
12746    //=========================================================================
12747    // GNetworkService
12748    //=========================================================================
12749    pub fn g_network_service_get_type() -> GType;
12750    pub fn g_network_service_new(
12751        service: *const c_char,
12752        protocol: *const c_char,
12753        domain: *const c_char,
12754    ) -> *mut GNetworkService;
12755    pub fn g_network_service_get_domain(srv: *mut GNetworkService) -> *const c_char;
12756    pub fn g_network_service_get_protocol(srv: *mut GNetworkService) -> *const c_char;
12757    pub fn g_network_service_get_scheme(srv: *mut GNetworkService) -> *const c_char;
12758    pub fn g_network_service_get_service(srv: *mut GNetworkService) -> *const c_char;
12759    pub fn g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const c_char);
12760
12761    //=========================================================================
12762    // GNotification
12763    //=========================================================================
12764    pub fn g_notification_get_type() -> GType;
12765    pub fn g_notification_new(title: *const c_char) -> *mut GNotification;
12766    pub fn g_notification_add_button(
12767        notification: *mut GNotification,
12768        label: *const c_char,
12769        detailed_action: *const c_char,
12770    );
12771    pub fn g_notification_add_button_with_target(
12772        notification: *mut GNotification,
12773        label: *const c_char,
12774        action: *const c_char,
12775        target_format: *const c_char,
12776        ...
12777    );
12778    pub fn g_notification_add_button_with_target_value(
12779        notification: *mut GNotification,
12780        label: *const c_char,
12781        action: *const c_char,
12782        target: *mut glib::GVariant,
12783    );
12784    pub fn g_notification_set_body(notification: *mut GNotification, body: *const c_char);
12785    #[cfg(feature = "v2_70")]
12786    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
12787    pub fn g_notification_set_category(notification: *mut GNotification, category: *const c_char);
12788    pub fn g_notification_set_default_action(
12789        notification: *mut GNotification,
12790        detailed_action: *const c_char,
12791    );
12792    pub fn g_notification_set_default_action_and_target(
12793        notification: *mut GNotification,
12794        action: *const c_char,
12795        target_format: *const c_char,
12796        ...
12797    );
12798    pub fn g_notification_set_default_action_and_target_value(
12799        notification: *mut GNotification,
12800        action: *const c_char,
12801        target: *mut glib::GVariant,
12802    );
12803    pub fn g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon);
12804    pub fn g_notification_set_priority(
12805        notification: *mut GNotification,
12806        priority: GNotificationPriority,
12807    );
12808    pub fn g_notification_set_title(notification: *mut GNotification, title: *const c_char);
12809    pub fn g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean);
12810
12811    //=========================================================================
12812    // GOutputStream
12813    //=========================================================================
12814    pub fn g_output_stream_get_type() -> GType;
12815    pub fn g_output_stream_clear_pending(stream: *mut GOutputStream);
12816    pub fn g_output_stream_close(
12817        stream: *mut GOutputStream,
12818        cancellable: *mut GCancellable,
12819        error: *mut *mut glib::GError,
12820    ) -> gboolean;
12821    pub fn g_output_stream_close_async(
12822        stream: *mut GOutputStream,
12823        io_priority: c_int,
12824        cancellable: *mut GCancellable,
12825        callback: GAsyncReadyCallback,
12826        user_data: gpointer,
12827    );
12828    pub fn g_output_stream_close_finish(
12829        stream: *mut GOutputStream,
12830        result: *mut GAsyncResult,
12831        error: *mut *mut glib::GError,
12832    ) -> gboolean;
12833    pub fn g_output_stream_flush(
12834        stream: *mut GOutputStream,
12835        cancellable: *mut GCancellable,
12836        error: *mut *mut glib::GError,
12837    ) -> gboolean;
12838    pub fn g_output_stream_flush_async(
12839        stream: *mut GOutputStream,
12840        io_priority: c_int,
12841        cancellable: *mut GCancellable,
12842        callback: GAsyncReadyCallback,
12843        user_data: gpointer,
12844    );
12845    pub fn g_output_stream_flush_finish(
12846        stream: *mut GOutputStream,
12847        result: *mut GAsyncResult,
12848        error: *mut *mut glib::GError,
12849    ) -> gboolean;
12850    pub fn g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean;
12851    pub fn g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean;
12852    pub fn g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean;
12853    pub fn g_output_stream_printf(
12854        stream: *mut GOutputStream,
12855        bytes_written: *mut size_t,
12856        cancellable: *mut GCancellable,
12857        error: *mut *mut glib::GError,
12858        format: *const c_char,
12859        ...
12860    ) -> gboolean;
12861    pub fn g_output_stream_set_pending(
12862        stream: *mut GOutputStream,
12863        error: *mut *mut glib::GError,
12864    ) -> gboolean;
12865    pub fn g_output_stream_splice(
12866        stream: *mut GOutputStream,
12867        source: *mut GInputStream,
12868        flags: GOutputStreamSpliceFlags,
12869        cancellable: *mut GCancellable,
12870        error: *mut *mut glib::GError,
12871    ) -> ssize_t;
12872    pub fn g_output_stream_splice_async(
12873        stream: *mut GOutputStream,
12874        source: *mut GInputStream,
12875        flags: GOutputStreamSpliceFlags,
12876        io_priority: c_int,
12877        cancellable: *mut GCancellable,
12878        callback: GAsyncReadyCallback,
12879        user_data: gpointer,
12880    );
12881    pub fn g_output_stream_splice_finish(
12882        stream: *mut GOutputStream,
12883        result: *mut GAsyncResult,
12884        error: *mut *mut glib::GError,
12885    ) -> ssize_t;
12886    //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;
12887    pub fn g_output_stream_write(
12888        stream: *mut GOutputStream,
12889        buffer: *mut u8,
12890        count: size_t,
12891        cancellable: *mut GCancellable,
12892        error: *mut *mut glib::GError,
12893    ) -> ssize_t;
12894    pub fn g_output_stream_write_all(
12895        stream: *mut GOutputStream,
12896        buffer: *mut u8,
12897        count: size_t,
12898        bytes_written: *mut size_t,
12899        cancellable: *mut GCancellable,
12900        error: *mut *mut glib::GError,
12901    ) -> gboolean;
12902    pub fn g_output_stream_write_all_async(
12903        stream: *mut GOutputStream,
12904        buffer: *mut u8,
12905        count: size_t,
12906        io_priority: c_int,
12907        cancellable: *mut GCancellable,
12908        callback: GAsyncReadyCallback,
12909        user_data: gpointer,
12910    );
12911    pub fn g_output_stream_write_all_finish(
12912        stream: *mut GOutputStream,
12913        result: *mut GAsyncResult,
12914        bytes_written: *mut size_t,
12915        error: *mut *mut glib::GError,
12916    ) -> gboolean;
12917    pub fn g_output_stream_write_async(
12918        stream: *mut GOutputStream,
12919        buffer: *mut u8,
12920        count: size_t,
12921        io_priority: c_int,
12922        cancellable: *mut GCancellable,
12923        callback: GAsyncReadyCallback,
12924        user_data: gpointer,
12925    );
12926    pub fn g_output_stream_write_bytes(
12927        stream: *mut GOutputStream,
12928        bytes: *mut glib::GBytes,
12929        cancellable: *mut GCancellable,
12930        error: *mut *mut glib::GError,
12931    ) -> ssize_t;
12932    pub fn g_output_stream_write_bytes_async(
12933        stream: *mut GOutputStream,
12934        bytes: *mut glib::GBytes,
12935        io_priority: c_int,
12936        cancellable: *mut GCancellable,
12937        callback: GAsyncReadyCallback,
12938        user_data: gpointer,
12939    );
12940    pub fn g_output_stream_write_bytes_finish(
12941        stream: *mut GOutputStream,
12942        result: *mut GAsyncResult,
12943        error: *mut *mut glib::GError,
12944    ) -> ssize_t;
12945    pub fn g_output_stream_write_finish(
12946        stream: *mut GOutputStream,
12947        result: *mut GAsyncResult,
12948        error: *mut *mut glib::GError,
12949    ) -> ssize_t;
12950    #[cfg(feature = "v2_60")]
12951    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12952    pub fn g_output_stream_writev(
12953        stream: *mut GOutputStream,
12954        vectors: *const GOutputVector,
12955        n_vectors: size_t,
12956        bytes_written: *mut size_t,
12957        cancellable: *mut GCancellable,
12958        error: *mut *mut glib::GError,
12959    ) -> gboolean;
12960    #[cfg(feature = "v2_60")]
12961    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12962    pub fn g_output_stream_writev_all(
12963        stream: *mut GOutputStream,
12964        vectors: *mut GOutputVector,
12965        n_vectors: size_t,
12966        bytes_written: *mut size_t,
12967        cancellable: *mut GCancellable,
12968        error: *mut *mut glib::GError,
12969    ) -> gboolean;
12970    #[cfg(feature = "v2_60")]
12971    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12972    pub fn g_output_stream_writev_all_async(
12973        stream: *mut GOutputStream,
12974        vectors: *mut GOutputVector,
12975        n_vectors: size_t,
12976        io_priority: c_int,
12977        cancellable: *mut GCancellable,
12978        callback: GAsyncReadyCallback,
12979        user_data: gpointer,
12980    );
12981    #[cfg(feature = "v2_60")]
12982    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12983    pub fn g_output_stream_writev_all_finish(
12984        stream: *mut GOutputStream,
12985        result: *mut GAsyncResult,
12986        bytes_written: *mut size_t,
12987        error: *mut *mut glib::GError,
12988    ) -> gboolean;
12989    #[cfg(feature = "v2_60")]
12990    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12991    pub fn g_output_stream_writev_async(
12992        stream: *mut GOutputStream,
12993        vectors: *const GOutputVector,
12994        n_vectors: size_t,
12995        io_priority: c_int,
12996        cancellable: *mut GCancellable,
12997        callback: GAsyncReadyCallback,
12998        user_data: gpointer,
12999    );
13000    #[cfg(feature = "v2_60")]
13001    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13002    pub fn g_output_stream_writev_finish(
13003        stream: *mut GOutputStream,
13004        result: *mut GAsyncResult,
13005        bytes_written: *mut size_t,
13006        error: *mut *mut glib::GError,
13007    ) -> gboolean;
13008
13009    //=========================================================================
13010    // GPermission
13011    //=========================================================================
13012    pub fn g_permission_get_type() -> GType;
13013    pub fn g_permission_acquire(
13014        permission: *mut GPermission,
13015        cancellable: *mut GCancellable,
13016        error: *mut *mut glib::GError,
13017    ) -> gboolean;
13018    pub fn g_permission_acquire_async(
13019        permission: *mut GPermission,
13020        cancellable: *mut GCancellable,
13021        callback: GAsyncReadyCallback,
13022        user_data: gpointer,
13023    );
13024    pub fn g_permission_acquire_finish(
13025        permission: *mut GPermission,
13026        result: *mut GAsyncResult,
13027        error: *mut *mut glib::GError,
13028    ) -> gboolean;
13029    pub fn g_permission_get_allowed(permission: *mut GPermission) -> gboolean;
13030    pub fn g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean;
13031    pub fn g_permission_get_can_release(permission: *mut GPermission) -> gboolean;
13032    pub fn g_permission_impl_update(
13033        permission: *mut GPermission,
13034        allowed: gboolean,
13035        can_acquire: gboolean,
13036        can_release: gboolean,
13037    );
13038    pub fn g_permission_release(
13039        permission: *mut GPermission,
13040        cancellable: *mut GCancellable,
13041        error: *mut *mut glib::GError,
13042    ) -> gboolean;
13043    pub fn g_permission_release_async(
13044        permission: *mut GPermission,
13045        cancellable: *mut GCancellable,
13046        callback: GAsyncReadyCallback,
13047        user_data: gpointer,
13048    );
13049    pub fn g_permission_release_finish(
13050        permission: *mut GPermission,
13051        result: *mut GAsyncResult,
13052        error: *mut *mut glib::GError,
13053    ) -> gboolean;
13054
13055    //=========================================================================
13056    // GPropertyAction
13057    //=========================================================================
13058    pub fn g_property_action_get_type() -> GType;
13059    pub fn g_property_action_new(
13060        name: *const c_char,
13061        object: *mut gobject::GObject,
13062        property_name: *const c_char,
13063    ) -> *mut GPropertyAction;
13064
13065    //=========================================================================
13066    // GProxyAddress
13067    //=========================================================================
13068    pub fn g_proxy_address_get_type() -> GType;
13069    pub fn g_proxy_address_new(
13070        inetaddr: *mut GInetAddress,
13071        port: u16,
13072        protocol: *const c_char,
13073        dest_hostname: *const c_char,
13074        dest_port: u16,
13075        username: *const c_char,
13076        password: *const c_char,
13077    ) -> *mut GSocketAddress;
13078    pub fn g_proxy_address_get_destination_hostname(proxy: *mut GProxyAddress) -> *const c_char;
13079    pub fn g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> u16;
13080    pub fn g_proxy_address_get_destination_protocol(proxy: *mut GProxyAddress) -> *const c_char;
13081    pub fn g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const c_char;
13082    pub fn g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const c_char;
13083    pub fn g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const c_char;
13084    pub fn g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const c_char;
13085
13086    //=========================================================================
13087    // GProxyAddressEnumerator
13088    //=========================================================================
13089    pub fn g_proxy_address_enumerator_get_type() -> GType;
13090
13091    //=========================================================================
13092    // GResolver
13093    //=========================================================================
13094    pub fn g_resolver_get_type() -> GType;
13095    pub fn g_resolver_free_addresses(addresses: *mut glib::GList);
13096    pub fn g_resolver_free_targets(targets: *mut glib::GList);
13097    pub fn g_resolver_get_default() -> *mut GResolver;
13098    #[cfg(feature = "v2_78")]
13099    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
13100    pub fn g_resolver_get_timeout(resolver: *mut GResolver) -> c_uint;
13101    pub fn g_resolver_lookup_by_address(
13102        resolver: *mut GResolver,
13103        address: *mut GInetAddress,
13104        cancellable: *mut GCancellable,
13105        error: *mut *mut glib::GError,
13106    ) -> *mut c_char;
13107    pub fn g_resolver_lookup_by_address_async(
13108        resolver: *mut GResolver,
13109        address: *mut GInetAddress,
13110        cancellable: *mut GCancellable,
13111        callback: GAsyncReadyCallback,
13112        user_data: gpointer,
13113    );
13114    pub fn g_resolver_lookup_by_address_finish(
13115        resolver: *mut GResolver,
13116        result: *mut GAsyncResult,
13117        error: *mut *mut glib::GError,
13118    ) -> *mut c_char;
13119    pub fn g_resolver_lookup_by_name(
13120        resolver: *mut GResolver,
13121        hostname: *const c_char,
13122        cancellable: *mut GCancellable,
13123        error: *mut *mut glib::GError,
13124    ) -> *mut glib::GList;
13125    pub fn g_resolver_lookup_by_name_async(
13126        resolver: *mut GResolver,
13127        hostname: *const c_char,
13128        cancellable: *mut GCancellable,
13129        callback: GAsyncReadyCallback,
13130        user_data: gpointer,
13131    );
13132    pub fn g_resolver_lookup_by_name_finish(
13133        resolver: *mut GResolver,
13134        result: *mut GAsyncResult,
13135        error: *mut *mut glib::GError,
13136    ) -> *mut glib::GList;
13137    #[cfg(feature = "v2_60")]
13138    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13139    pub fn g_resolver_lookup_by_name_with_flags(
13140        resolver: *mut GResolver,
13141        hostname: *const c_char,
13142        flags: GResolverNameLookupFlags,
13143        cancellable: *mut GCancellable,
13144        error: *mut *mut glib::GError,
13145    ) -> *mut glib::GList;
13146    #[cfg(feature = "v2_60")]
13147    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13148    pub fn g_resolver_lookup_by_name_with_flags_async(
13149        resolver: *mut GResolver,
13150        hostname: *const c_char,
13151        flags: GResolverNameLookupFlags,
13152        cancellable: *mut GCancellable,
13153        callback: GAsyncReadyCallback,
13154        user_data: gpointer,
13155    );
13156    #[cfg(feature = "v2_60")]
13157    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13158    pub fn g_resolver_lookup_by_name_with_flags_finish(
13159        resolver: *mut GResolver,
13160        result: *mut GAsyncResult,
13161        error: *mut *mut glib::GError,
13162    ) -> *mut glib::GList;
13163    pub fn g_resolver_lookup_records(
13164        resolver: *mut GResolver,
13165        rrname: *const c_char,
13166        record_type: GResolverRecordType,
13167        cancellable: *mut GCancellable,
13168        error: *mut *mut glib::GError,
13169    ) -> *mut glib::GList;
13170    pub fn g_resolver_lookup_records_async(
13171        resolver: *mut GResolver,
13172        rrname: *const c_char,
13173        record_type: GResolverRecordType,
13174        cancellable: *mut GCancellable,
13175        callback: GAsyncReadyCallback,
13176        user_data: gpointer,
13177    );
13178    pub fn g_resolver_lookup_records_finish(
13179        resolver: *mut GResolver,
13180        result: *mut GAsyncResult,
13181        error: *mut *mut glib::GError,
13182    ) -> *mut glib::GList;
13183    pub fn g_resolver_lookup_service(
13184        resolver: *mut GResolver,
13185        service: *const c_char,
13186        protocol: *const c_char,
13187        domain: *const c_char,
13188        cancellable: *mut GCancellable,
13189        error: *mut *mut glib::GError,
13190    ) -> *mut glib::GList;
13191    pub fn g_resolver_lookup_service_async(
13192        resolver: *mut GResolver,
13193        service: *const c_char,
13194        protocol: *const c_char,
13195        domain: *const c_char,
13196        cancellable: *mut GCancellable,
13197        callback: GAsyncReadyCallback,
13198        user_data: gpointer,
13199    );
13200    pub fn g_resolver_lookup_service_finish(
13201        resolver: *mut GResolver,
13202        result: *mut GAsyncResult,
13203        error: *mut *mut glib::GError,
13204    ) -> *mut glib::GList;
13205    pub fn g_resolver_set_default(resolver: *mut GResolver);
13206    #[cfg(feature = "v2_78")]
13207    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
13208    pub fn g_resolver_set_timeout(resolver: *mut GResolver, timeout_ms: c_uint);
13209
13210    //=========================================================================
13211    // GSettings
13212    //=========================================================================
13213    pub fn g_settings_get_type() -> GType;
13214    pub fn g_settings_new(schema_id: *const c_char) -> *mut GSettings;
13215    pub fn g_settings_new_full(
13216        schema: *mut GSettingsSchema,
13217        backend: *mut GSettingsBackend,
13218        path: *const c_char,
13219    ) -> *mut GSettings;
13220    pub fn g_settings_new_with_backend(
13221        schema_id: *const c_char,
13222        backend: *mut GSettingsBackend,
13223    ) -> *mut GSettings;
13224    pub fn g_settings_new_with_backend_and_path(
13225        schema_id: *const c_char,
13226        backend: *mut GSettingsBackend,
13227        path: *const c_char,
13228    ) -> *mut GSettings;
13229    pub fn g_settings_new_with_path(
13230        schema_id: *const c_char,
13231        path: *const c_char,
13232    ) -> *mut GSettings;
13233    pub fn g_settings_list_relocatable_schemas() -> *const *const c_char;
13234    pub fn g_settings_list_schemas() -> *const *const c_char;
13235    pub fn g_settings_sync();
13236    pub fn g_settings_unbind(object: *mut gobject::GObject, property: *const c_char);
13237    pub fn g_settings_apply(settings: *mut GSettings);
13238    pub fn g_settings_bind(
13239        settings: *mut GSettings,
13240        key: *const c_char,
13241        object: *mut gobject::GObject,
13242        property: *const c_char,
13243        flags: GSettingsBindFlags,
13244    );
13245    pub fn g_settings_bind_with_mapping(
13246        settings: *mut GSettings,
13247        key: *const c_char,
13248        object: *mut gobject::GObject,
13249        property: *const c_char,
13250        flags: GSettingsBindFlags,
13251        get_mapping: GSettingsBindGetMapping,
13252        set_mapping: GSettingsBindSetMapping,
13253        user_data: gpointer,
13254        destroy: glib::GDestroyNotify,
13255    );
13256    #[cfg(feature = "v2_82")]
13257    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
13258    pub fn g_settings_bind_with_mapping_closures(
13259        settings: *mut GSettings,
13260        key: *const c_char,
13261        object: *mut gobject::GObject,
13262        property: *const c_char,
13263        flags: GSettingsBindFlags,
13264        get_mapping: *mut gobject::GClosure,
13265        set_mapping: *mut gobject::GClosure,
13266    );
13267    pub fn g_settings_bind_writable(
13268        settings: *mut GSettings,
13269        key: *const c_char,
13270        object: *mut gobject::GObject,
13271        property: *const c_char,
13272        inverted: gboolean,
13273    );
13274    pub fn g_settings_create_action(settings: *mut GSettings, key: *const c_char) -> *mut GAction;
13275    pub fn g_settings_delay(settings: *mut GSettings);
13276    pub fn g_settings_get(settings: *mut GSettings, key: *const c_char, format: *const c_char, ...);
13277    pub fn g_settings_get_boolean(settings: *mut GSettings, key: *const c_char) -> gboolean;
13278    pub fn g_settings_get_child(settings: *mut GSettings, name: *const c_char) -> *mut GSettings;
13279    pub fn g_settings_get_default_value(
13280        settings: *mut GSettings,
13281        key: *const c_char,
13282    ) -> *mut glib::GVariant;
13283    pub fn g_settings_get_double(settings: *mut GSettings, key: *const c_char) -> c_double;
13284    pub fn g_settings_get_enum(settings: *mut GSettings, key: *const c_char) -> c_int;
13285    pub fn g_settings_get_flags(settings: *mut GSettings, key: *const c_char) -> c_uint;
13286    pub fn g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean;
13287    pub fn g_settings_get_int(settings: *mut GSettings, key: *const c_char) -> c_int;
13288    pub fn g_settings_get_int64(settings: *mut GSettings, key: *const c_char) -> i64;
13289    pub fn g_settings_get_mapped(
13290        settings: *mut GSettings,
13291        key: *const c_char,
13292        mapping: GSettingsGetMapping,
13293        user_data: gpointer,
13294    ) -> gpointer;
13295    pub fn g_settings_get_range(
13296        settings: *mut GSettings,
13297        key: *const c_char,
13298    ) -> *mut glib::GVariant;
13299    pub fn g_settings_get_string(settings: *mut GSettings, key: *const c_char) -> *mut c_char;
13300    pub fn g_settings_get_strv(settings: *mut GSettings, key: *const c_char) -> *mut *mut c_char;
13301    pub fn g_settings_get_uint(settings: *mut GSettings, key: *const c_char) -> c_uint;
13302    pub fn g_settings_get_uint64(settings: *mut GSettings, key: *const c_char) -> u64;
13303    pub fn g_settings_get_user_value(
13304        settings: *mut GSettings,
13305        key: *const c_char,
13306    ) -> *mut glib::GVariant;
13307    pub fn g_settings_get_value(
13308        settings: *mut GSettings,
13309        key: *const c_char,
13310    ) -> *mut glib::GVariant;
13311    pub fn g_settings_is_writable(settings: *mut GSettings, name: *const c_char) -> gboolean;
13312    pub fn g_settings_list_children(settings: *mut GSettings) -> *mut *mut c_char;
13313    pub fn g_settings_list_keys(settings: *mut GSettings) -> *mut *mut c_char;
13314    pub fn g_settings_range_check(
13315        settings: *mut GSettings,
13316        key: *const c_char,
13317        value: *mut glib::GVariant,
13318    ) -> gboolean;
13319    pub fn g_settings_reset(settings: *mut GSettings, key: *const c_char);
13320    pub fn g_settings_revert(settings: *mut GSettings);
13321    pub fn g_settings_set(
13322        settings: *mut GSettings,
13323        key: *const c_char,
13324        format: *const c_char,
13325        ...
13326    ) -> gboolean;
13327    pub fn g_settings_set_boolean(
13328        settings: *mut GSettings,
13329        key: *const c_char,
13330        value: gboolean,
13331    ) -> gboolean;
13332    pub fn g_settings_set_double(
13333        settings: *mut GSettings,
13334        key: *const c_char,
13335        value: c_double,
13336    ) -> gboolean;
13337    pub fn g_settings_set_enum(
13338        settings: *mut GSettings,
13339        key: *const c_char,
13340        value: c_int,
13341    ) -> gboolean;
13342    pub fn g_settings_set_flags(
13343        settings: *mut GSettings,
13344        key: *const c_char,
13345        value: c_uint,
13346    ) -> gboolean;
13347    pub fn g_settings_set_int(
13348        settings: *mut GSettings,
13349        key: *const c_char,
13350        value: c_int,
13351    ) -> gboolean;
13352    pub fn g_settings_set_int64(
13353        settings: *mut GSettings,
13354        key: *const c_char,
13355        value: i64,
13356    ) -> gboolean;
13357    pub fn g_settings_set_string(
13358        settings: *mut GSettings,
13359        key: *const c_char,
13360        value: *const c_char,
13361    ) -> gboolean;
13362    pub fn g_settings_set_strv(
13363        settings: *mut GSettings,
13364        key: *const c_char,
13365        value: *const *const c_char,
13366    ) -> gboolean;
13367    pub fn g_settings_set_uint(
13368        settings: *mut GSettings,
13369        key: *const c_char,
13370        value: c_uint,
13371    ) -> gboolean;
13372    pub fn g_settings_set_uint64(
13373        settings: *mut GSettings,
13374        key: *const c_char,
13375        value: u64,
13376    ) -> gboolean;
13377    pub fn g_settings_set_value(
13378        settings: *mut GSettings,
13379        key: *const c_char,
13380        value: *mut glib::GVariant,
13381    ) -> gboolean;
13382
13383    //=========================================================================
13384    // GSettingsBackend
13385    //=========================================================================
13386    pub fn g_settings_backend_get_type() -> GType;
13387    pub fn g_settings_backend_flatten_tree(
13388        tree: *mut glib::GTree,
13389        path: *mut *mut c_char,
13390        keys: *mut *mut *const c_char,
13391        values: *mut *mut *mut glib::GVariant,
13392    );
13393    pub fn g_settings_backend_get_default() -> *mut GSettingsBackend;
13394    pub fn g_settings_backend_changed(
13395        backend: *mut GSettingsBackend,
13396        key: *const c_char,
13397        origin_tag: gpointer,
13398    );
13399    pub fn g_settings_backend_changed_tree(
13400        backend: *mut GSettingsBackend,
13401        tree: *mut glib::GTree,
13402        origin_tag: gpointer,
13403    );
13404    pub fn g_settings_backend_keys_changed(
13405        backend: *mut GSettingsBackend,
13406        path: *const c_char,
13407        items: *const *const c_char,
13408        origin_tag: gpointer,
13409    );
13410    pub fn g_settings_backend_path_changed(
13411        backend: *mut GSettingsBackend,
13412        path: *const c_char,
13413        origin_tag: gpointer,
13414    );
13415    pub fn g_settings_backend_path_writable_changed(
13416        backend: *mut GSettingsBackend,
13417        path: *const c_char,
13418    );
13419    pub fn g_settings_backend_writable_changed(backend: *mut GSettingsBackend, key: *const c_char);
13420
13421    //=========================================================================
13422    // GSimpleAction
13423    //=========================================================================
13424    pub fn g_simple_action_get_type() -> GType;
13425    pub fn g_simple_action_new(
13426        name: *const c_char,
13427        parameter_type: *const glib::GVariantType,
13428    ) -> *mut GSimpleAction;
13429    pub fn g_simple_action_new_stateful(
13430        name: *const c_char,
13431        parameter_type: *const glib::GVariantType,
13432        state: *mut glib::GVariant,
13433    ) -> *mut GSimpleAction;
13434    pub fn g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean);
13435    pub fn g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut glib::GVariant);
13436    pub fn g_simple_action_set_state_hint(
13437        simple: *mut GSimpleAction,
13438        state_hint: *mut glib::GVariant,
13439    );
13440
13441    //=========================================================================
13442    // GSimpleActionGroup
13443    //=========================================================================
13444    pub fn g_simple_action_group_get_type() -> GType;
13445    pub fn g_simple_action_group_new() -> *mut GSimpleActionGroup;
13446    pub fn g_simple_action_group_add_entries(
13447        simple: *mut GSimpleActionGroup,
13448        entries: *const GActionEntry,
13449        n_entries: c_int,
13450        user_data: gpointer,
13451    );
13452    pub fn g_simple_action_group_insert(simple: *mut GSimpleActionGroup, action: *mut GAction);
13453    pub fn g_simple_action_group_lookup(
13454        simple: *mut GSimpleActionGroup,
13455        action_name: *const c_char,
13456    ) -> *mut GAction;
13457    pub fn g_simple_action_group_remove(
13458        simple: *mut GSimpleActionGroup,
13459        action_name: *const c_char,
13460    );
13461
13462    //=========================================================================
13463    // GSimpleAsyncResult
13464    //=========================================================================
13465    pub fn g_simple_async_result_get_type() -> GType;
13466    pub fn g_simple_async_result_new(
13467        source_object: *mut gobject::GObject,
13468        callback: GAsyncReadyCallback,
13469        user_data: gpointer,
13470        source_tag: gpointer,
13471    ) -> *mut GSimpleAsyncResult;
13472    pub fn g_simple_async_result_new_error(
13473        source_object: *mut gobject::GObject,
13474        callback: GAsyncReadyCallback,
13475        user_data: gpointer,
13476        domain: glib::GQuark,
13477        code: c_int,
13478        format: *const c_char,
13479        ...
13480    ) -> *mut GSimpleAsyncResult;
13481    pub fn g_simple_async_result_new_from_error(
13482        source_object: *mut gobject::GObject,
13483        callback: GAsyncReadyCallback,
13484        user_data: gpointer,
13485        error: *const glib::GError,
13486    ) -> *mut GSimpleAsyncResult;
13487    pub fn g_simple_async_result_new_take_error(
13488        source_object: *mut gobject::GObject,
13489        callback: GAsyncReadyCallback,
13490        user_data: gpointer,
13491        error: *mut glib::GError,
13492    ) -> *mut GSimpleAsyncResult;
13493    pub fn g_simple_async_result_is_valid(
13494        result: *mut GAsyncResult,
13495        source: *mut gobject::GObject,
13496        source_tag: gpointer,
13497    ) -> gboolean;
13498    pub fn g_simple_async_result_complete(simple: *mut GSimpleAsyncResult);
13499    pub fn g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult);
13500    pub fn g_simple_async_result_get_op_res_gboolean(simple: *mut GSimpleAsyncResult) -> gboolean;
13501    pub fn g_simple_async_result_get_op_res_gpointer(simple: *mut GSimpleAsyncResult) -> gpointer;
13502    pub fn g_simple_async_result_get_op_res_gssize(simple: *mut GSimpleAsyncResult) -> ssize_t;
13503    pub fn g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult) -> gpointer;
13504    pub fn g_simple_async_result_propagate_error(
13505        simple: *mut GSimpleAsyncResult,
13506        error: *mut *mut glib::GError,
13507    ) -> gboolean;
13508    pub fn g_simple_async_result_run_in_thread(
13509        simple: *mut GSimpleAsyncResult,
13510        func: GSimpleAsyncThreadFunc,
13511        io_priority: c_int,
13512        cancellable: *mut GCancellable,
13513    );
13514    pub fn g_simple_async_result_set_check_cancellable(
13515        simple: *mut GSimpleAsyncResult,
13516        check_cancellable: *mut GCancellable,
13517    );
13518    pub fn g_simple_async_result_set_error(
13519        simple: *mut GSimpleAsyncResult,
13520        domain: glib::GQuark,
13521        code: c_int,
13522        format: *const c_char,
13523        ...
13524    );
13525    //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);
13526    pub fn g_simple_async_result_set_from_error(
13527        simple: *mut GSimpleAsyncResult,
13528        error: *const glib::GError,
13529    );
13530    pub fn g_simple_async_result_set_handle_cancellation(
13531        simple: *mut GSimpleAsyncResult,
13532        handle_cancellation: gboolean,
13533    );
13534    pub fn g_simple_async_result_set_op_res_gboolean(
13535        simple: *mut GSimpleAsyncResult,
13536        op_res: gboolean,
13537    );
13538    pub fn g_simple_async_result_set_op_res_gpointer(
13539        simple: *mut GSimpleAsyncResult,
13540        op_res: gpointer,
13541        destroy_op_res: glib::GDestroyNotify,
13542    );
13543    pub fn g_simple_async_result_set_op_res_gssize(
13544        simple: *mut GSimpleAsyncResult,
13545        op_res: ssize_t,
13546    );
13547    pub fn g_simple_async_result_take_error(
13548        simple: *mut GSimpleAsyncResult,
13549        error: *mut glib::GError,
13550    );
13551
13552    //=========================================================================
13553    // GSimpleIOStream
13554    //=========================================================================
13555    pub fn g_simple_io_stream_get_type() -> GType;
13556    pub fn g_simple_io_stream_new(
13557        input_stream: *mut GInputStream,
13558        output_stream: *mut GOutputStream,
13559    ) -> *mut GIOStream;
13560
13561    //=========================================================================
13562    // GSimplePermission
13563    //=========================================================================
13564    pub fn g_simple_permission_get_type() -> GType;
13565    pub fn g_simple_permission_new(allowed: gboolean) -> *mut GPermission;
13566
13567    //=========================================================================
13568    // GSimpleProxyResolver
13569    //=========================================================================
13570    pub fn g_simple_proxy_resolver_get_type() -> GType;
13571    pub fn g_simple_proxy_resolver_new(
13572        default_proxy: *const c_char,
13573        ignore_hosts: *mut *mut c_char,
13574    ) -> *mut GProxyResolver;
13575    pub fn g_simple_proxy_resolver_set_default_proxy(
13576        resolver: *mut GSimpleProxyResolver,
13577        default_proxy: *const c_char,
13578    );
13579    pub fn g_simple_proxy_resolver_set_ignore_hosts(
13580        resolver: *mut GSimpleProxyResolver,
13581        ignore_hosts: *mut *mut c_char,
13582    );
13583    pub fn g_simple_proxy_resolver_set_uri_proxy(
13584        resolver: *mut GSimpleProxyResolver,
13585        uri_scheme: *const c_char,
13586        proxy: *const c_char,
13587    );
13588
13589    //=========================================================================
13590    // GSocket
13591    //=========================================================================
13592    pub fn g_socket_get_type() -> GType;
13593    pub fn g_socket_new(
13594        family: GSocketFamily,
13595        type_: GSocketType,
13596        protocol: GSocketProtocol,
13597        error: *mut *mut glib::GError,
13598    ) -> *mut GSocket;
13599    pub fn g_socket_new_from_fd(fd: c_int, error: *mut *mut glib::GError) -> *mut GSocket;
13600    pub fn g_socket_accept(
13601        socket: *mut GSocket,
13602        cancellable: *mut GCancellable,
13603        error: *mut *mut glib::GError,
13604    ) -> *mut GSocket;
13605    pub fn g_socket_bind(
13606        socket: *mut GSocket,
13607        address: *mut GSocketAddress,
13608        allow_reuse: gboolean,
13609        error: *mut *mut glib::GError,
13610    ) -> gboolean;
13611    pub fn g_socket_check_connect_result(
13612        socket: *mut GSocket,
13613        error: *mut *mut glib::GError,
13614    ) -> gboolean;
13615    pub fn g_socket_close(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13616    pub fn g_socket_condition_check(
13617        socket: *mut GSocket,
13618        condition: glib::GIOCondition,
13619    ) -> glib::GIOCondition;
13620    pub fn g_socket_condition_timed_wait(
13621        socket: *mut GSocket,
13622        condition: glib::GIOCondition,
13623        timeout_us: i64,
13624        cancellable: *mut GCancellable,
13625        error: *mut *mut glib::GError,
13626    ) -> gboolean;
13627    pub fn g_socket_condition_wait(
13628        socket: *mut GSocket,
13629        condition: glib::GIOCondition,
13630        cancellable: *mut GCancellable,
13631        error: *mut *mut glib::GError,
13632    ) -> gboolean;
13633    pub fn g_socket_connect(
13634        socket: *mut GSocket,
13635        address: *mut GSocketAddress,
13636        cancellable: *mut GCancellable,
13637        error: *mut *mut glib::GError,
13638    ) -> gboolean;
13639    pub fn g_socket_connection_factory_create_connection(
13640        socket: *mut GSocket,
13641    ) -> *mut GSocketConnection;
13642    pub fn g_socket_create_source(
13643        socket: *mut GSocket,
13644        condition: glib::GIOCondition,
13645        cancellable: *mut GCancellable,
13646    ) -> *mut glib::GSource;
13647    pub fn g_socket_get_available_bytes(socket: *mut GSocket) -> ssize_t;
13648    pub fn g_socket_get_blocking(socket: *mut GSocket) -> gboolean;
13649    pub fn g_socket_get_broadcast(socket: *mut GSocket) -> gboolean;
13650    pub fn g_socket_get_credentials(
13651        socket: *mut GSocket,
13652        error: *mut *mut glib::GError,
13653    ) -> *mut GCredentials;
13654    pub fn g_socket_get_family(socket: *mut GSocket) -> GSocketFamily;
13655    pub fn g_socket_get_fd(socket: *mut GSocket) -> c_int;
13656    pub fn g_socket_get_keepalive(socket: *mut GSocket) -> gboolean;
13657    pub fn g_socket_get_listen_backlog(socket: *mut GSocket) -> c_int;
13658    pub fn g_socket_get_local_address(
13659        socket: *mut GSocket,
13660        error: *mut *mut glib::GError,
13661    ) -> *mut GSocketAddress;
13662    pub fn g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean;
13663    pub fn g_socket_get_multicast_ttl(socket: *mut GSocket) -> c_uint;
13664    pub fn g_socket_get_option(
13665        socket: *mut GSocket,
13666        level: c_int,
13667        optname: c_int,
13668        value: *mut c_int,
13669        error: *mut *mut glib::GError,
13670    ) -> gboolean;
13671    pub fn g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol;
13672    pub fn g_socket_get_remote_address(
13673        socket: *mut GSocket,
13674        error: *mut *mut glib::GError,
13675    ) -> *mut GSocketAddress;
13676    pub fn g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType;
13677    pub fn g_socket_get_timeout(socket: *mut GSocket) -> c_uint;
13678    pub fn g_socket_get_ttl(socket: *mut GSocket) -> c_uint;
13679    pub fn g_socket_is_closed(socket: *mut GSocket) -> gboolean;
13680    pub fn g_socket_is_connected(socket: *mut GSocket) -> gboolean;
13681    pub fn g_socket_join_multicast_group(
13682        socket: *mut GSocket,
13683        group: *mut GInetAddress,
13684        source_specific: gboolean,
13685        iface: *const c_char,
13686        error: *mut *mut glib::GError,
13687    ) -> gboolean;
13688    pub fn g_socket_join_multicast_group_ssm(
13689        socket: *mut GSocket,
13690        group: *mut GInetAddress,
13691        source_specific: *mut GInetAddress,
13692        iface: *const c_char,
13693        error: *mut *mut glib::GError,
13694    ) -> gboolean;
13695    pub fn g_socket_leave_multicast_group(
13696        socket: *mut GSocket,
13697        group: *mut GInetAddress,
13698        source_specific: gboolean,
13699        iface: *const c_char,
13700        error: *mut *mut glib::GError,
13701    ) -> gboolean;
13702    pub fn g_socket_leave_multicast_group_ssm(
13703        socket: *mut GSocket,
13704        group: *mut GInetAddress,
13705        source_specific: *mut GInetAddress,
13706        iface: *const c_char,
13707        error: *mut *mut glib::GError,
13708    ) -> gboolean;
13709    pub fn g_socket_listen(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13710    pub fn g_socket_receive(
13711        socket: *mut GSocket,
13712        buffer: *mut u8,
13713        size: size_t,
13714        cancellable: *mut GCancellable,
13715        error: *mut *mut glib::GError,
13716    ) -> ssize_t;
13717    #[cfg(feature = "v2_80")]
13718    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13719    pub fn g_socket_receive_bytes(
13720        socket: *mut GSocket,
13721        size: size_t,
13722        timeout_us: i64,
13723        cancellable: *mut GCancellable,
13724        error: *mut *mut glib::GError,
13725    ) -> *mut glib::GBytes;
13726    #[cfg(feature = "v2_80")]
13727    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13728    pub fn g_socket_receive_bytes_from(
13729        socket: *mut GSocket,
13730        address: *mut *mut GSocketAddress,
13731        size: size_t,
13732        timeout_us: i64,
13733        cancellable: *mut GCancellable,
13734        error: *mut *mut glib::GError,
13735    ) -> *mut glib::GBytes;
13736    pub fn g_socket_receive_from(
13737        socket: *mut GSocket,
13738        address: *mut *mut GSocketAddress,
13739        buffer: *mut u8,
13740        size: size_t,
13741        cancellable: *mut GCancellable,
13742        error: *mut *mut glib::GError,
13743    ) -> ssize_t;
13744    pub fn g_socket_receive_message(
13745        socket: *mut GSocket,
13746        address: *mut *mut GSocketAddress,
13747        vectors: *mut GInputVector,
13748        num_vectors: c_int,
13749        messages: *mut *mut *mut GSocketControlMessage,
13750        num_messages: *mut c_int,
13751        flags: *mut c_int,
13752        cancellable: *mut GCancellable,
13753        error: *mut *mut glib::GError,
13754    ) -> ssize_t;
13755    pub fn g_socket_receive_messages(
13756        socket: *mut GSocket,
13757        messages: *mut GInputMessage,
13758        num_messages: c_uint,
13759        flags: c_int,
13760        cancellable: *mut GCancellable,
13761        error: *mut *mut glib::GError,
13762    ) -> c_int;
13763    pub fn g_socket_receive_with_blocking(
13764        socket: *mut GSocket,
13765        buffer: *mut u8,
13766        size: size_t,
13767        blocking: gboolean,
13768        cancellable: *mut GCancellable,
13769        error: *mut *mut glib::GError,
13770    ) -> ssize_t;
13771    pub fn g_socket_send(
13772        socket: *mut GSocket,
13773        buffer: *const u8,
13774        size: size_t,
13775        cancellable: *mut GCancellable,
13776        error: *mut *mut glib::GError,
13777    ) -> ssize_t;
13778    pub fn g_socket_send_message(
13779        socket: *mut GSocket,
13780        address: *mut GSocketAddress,
13781        vectors: *mut GOutputVector,
13782        num_vectors: c_int,
13783        messages: *mut *mut GSocketControlMessage,
13784        num_messages: c_int,
13785        flags: c_int,
13786        cancellable: *mut GCancellable,
13787        error: *mut *mut glib::GError,
13788    ) -> ssize_t;
13789    #[cfg(feature = "v2_60")]
13790    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13791    pub fn g_socket_send_message_with_timeout(
13792        socket: *mut GSocket,
13793        address: *mut GSocketAddress,
13794        vectors: *const GOutputVector,
13795        num_vectors: c_int,
13796        messages: *mut *mut GSocketControlMessage,
13797        num_messages: c_int,
13798        flags: c_int,
13799        timeout_us: i64,
13800        bytes_written: *mut size_t,
13801        cancellable: *mut GCancellable,
13802        error: *mut *mut glib::GError,
13803    ) -> GPollableReturn;
13804    pub fn g_socket_send_messages(
13805        socket: *mut GSocket,
13806        messages: *mut GOutputMessage,
13807        num_messages: c_uint,
13808        flags: c_int,
13809        cancellable: *mut GCancellable,
13810        error: *mut *mut glib::GError,
13811    ) -> c_int;
13812    pub fn g_socket_send_to(
13813        socket: *mut GSocket,
13814        address: *mut GSocketAddress,
13815        buffer: *const u8,
13816        size: size_t,
13817        cancellable: *mut GCancellable,
13818        error: *mut *mut glib::GError,
13819    ) -> ssize_t;
13820    pub fn g_socket_send_with_blocking(
13821        socket: *mut GSocket,
13822        buffer: *const u8,
13823        size: size_t,
13824        blocking: gboolean,
13825        cancellable: *mut GCancellable,
13826        error: *mut *mut glib::GError,
13827    ) -> ssize_t;
13828    pub fn g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean);
13829    pub fn g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean);
13830    pub fn g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean);
13831    pub fn g_socket_set_listen_backlog(socket: *mut GSocket, backlog: c_int);
13832    pub fn g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean);
13833    pub fn g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: c_uint);
13834    pub fn g_socket_set_option(
13835        socket: *mut GSocket,
13836        level: c_int,
13837        optname: c_int,
13838        value: c_int,
13839        error: *mut *mut glib::GError,
13840    ) -> gboolean;
13841    pub fn g_socket_set_timeout(socket: *mut GSocket, timeout: c_uint);
13842    pub fn g_socket_set_ttl(socket: *mut GSocket, ttl: c_uint);
13843    pub fn g_socket_shutdown(
13844        socket: *mut GSocket,
13845        shutdown_read: gboolean,
13846        shutdown_write: gboolean,
13847        error: *mut *mut glib::GError,
13848    ) -> gboolean;
13849    pub fn g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean;
13850
13851    //=========================================================================
13852    // GSocketAddress
13853    //=========================================================================
13854    pub fn g_socket_address_get_type() -> GType;
13855    pub fn g_socket_address_new_from_native(native: gpointer, len: size_t) -> *mut GSocketAddress;
13856    pub fn g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily;
13857    pub fn g_socket_address_get_native_size(address: *mut GSocketAddress) -> ssize_t;
13858    pub fn g_socket_address_to_native(
13859        address: *mut GSocketAddress,
13860        dest: gpointer,
13861        destlen: size_t,
13862        error: *mut *mut glib::GError,
13863    ) -> gboolean;
13864
13865    //=========================================================================
13866    // GSocketAddressEnumerator
13867    //=========================================================================
13868    pub fn g_socket_address_enumerator_get_type() -> GType;
13869    pub fn g_socket_address_enumerator_next(
13870        enumerator: *mut GSocketAddressEnumerator,
13871        cancellable: *mut GCancellable,
13872        error: *mut *mut glib::GError,
13873    ) -> *mut GSocketAddress;
13874    pub fn g_socket_address_enumerator_next_async(
13875        enumerator: *mut GSocketAddressEnumerator,
13876        cancellable: *mut GCancellable,
13877        callback: GAsyncReadyCallback,
13878        user_data: gpointer,
13879    );
13880    pub fn g_socket_address_enumerator_next_finish(
13881        enumerator: *mut GSocketAddressEnumerator,
13882        result: *mut GAsyncResult,
13883        error: *mut *mut glib::GError,
13884    ) -> *mut GSocketAddress;
13885
13886    //=========================================================================
13887    // GSocketClient
13888    //=========================================================================
13889    pub fn g_socket_client_get_type() -> GType;
13890    pub fn g_socket_client_new() -> *mut GSocketClient;
13891    pub fn g_socket_client_add_application_proxy(
13892        client: *mut GSocketClient,
13893        protocol: *const c_char,
13894    );
13895    pub fn g_socket_client_connect(
13896        client: *mut GSocketClient,
13897        connectable: *mut GSocketConnectable,
13898        cancellable: *mut GCancellable,
13899        error: *mut *mut glib::GError,
13900    ) -> *mut GSocketConnection;
13901    pub fn g_socket_client_connect_async(
13902        client: *mut GSocketClient,
13903        connectable: *mut GSocketConnectable,
13904        cancellable: *mut GCancellable,
13905        callback: GAsyncReadyCallback,
13906        user_data: gpointer,
13907    );
13908    pub fn g_socket_client_connect_finish(
13909        client: *mut GSocketClient,
13910        result: *mut GAsyncResult,
13911        error: *mut *mut glib::GError,
13912    ) -> *mut GSocketConnection;
13913    pub fn g_socket_client_connect_to_host(
13914        client: *mut GSocketClient,
13915        host_and_port: *const c_char,
13916        default_port: u16,
13917        cancellable: *mut GCancellable,
13918        error: *mut *mut glib::GError,
13919    ) -> *mut GSocketConnection;
13920    pub fn g_socket_client_connect_to_host_async(
13921        client: *mut GSocketClient,
13922        host_and_port: *const c_char,
13923        default_port: u16,
13924        cancellable: *mut GCancellable,
13925        callback: GAsyncReadyCallback,
13926        user_data: gpointer,
13927    );
13928    pub fn g_socket_client_connect_to_host_finish(
13929        client: *mut GSocketClient,
13930        result: *mut GAsyncResult,
13931        error: *mut *mut glib::GError,
13932    ) -> *mut GSocketConnection;
13933    pub fn g_socket_client_connect_to_service(
13934        client: *mut GSocketClient,
13935        domain: *const c_char,
13936        service: *const c_char,
13937        cancellable: *mut GCancellable,
13938        error: *mut *mut glib::GError,
13939    ) -> *mut GSocketConnection;
13940    pub fn g_socket_client_connect_to_service_async(
13941        client: *mut GSocketClient,
13942        domain: *const c_char,
13943        service: *const c_char,
13944        cancellable: *mut GCancellable,
13945        callback: GAsyncReadyCallback,
13946        user_data: gpointer,
13947    );
13948    pub fn g_socket_client_connect_to_service_finish(
13949        client: *mut GSocketClient,
13950        result: *mut GAsyncResult,
13951        error: *mut *mut glib::GError,
13952    ) -> *mut GSocketConnection;
13953    pub fn g_socket_client_connect_to_uri(
13954        client: *mut GSocketClient,
13955        uri: *const c_char,
13956        default_port: u16,
13957        cancellable: *mut GCancellable,
13958        error: *mut *mut glib::GError,
13959    ) -> *mut GSocketConnection;
13960    pub fn g_socket_client_connect_to_uri_async(
13961        client: *mut GSocketClient,
13962        uri: *const c_char,
13963        default_port: u16,
13964        cancellable: *mut GCancellable,
13965        callback: GAsyncReadyCallback,
13966        user_data: gpointer,
13967    );
13968    pub fn g_socket_client_connect_to_uri_finish(
13969        client: *mut GSocketClient,
13970        result: *mut GAsyncResult,
13971        error: *mut *mut glib::GError,
13972    ) -> *mut GSocketConnection;
13973    pub fn g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean;
13974    pub fn g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily;
13975    pub fn g_socket_client_get_local_address(client: *mut GSocketClient) -> *mut GSocketAddress;
13976    pub fn g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol;
13977    pub fn g_socket_client_get_proxy_resolver(client: *mut GSocketClient) -> *mut GProxyResolver;
13978    pub fn g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType;
13979    pub fn g_socket_client_get_timeout(client: *mut GSocketClient) -> c_uint;
13980    pub fn g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean;
13981    pub fn g_socket_client_get_tls_validation_flags(
13982        client: *mut GSocketClient,
13983    ) -> GTlsCertificateFlags;
13984    pub fn g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean);
13985    pub fn g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily);
13986    pub fn g_socket_client_set_local_address(
13987        client: *mut GSocketClient,
13988        address: *mut GSocketAddress,
13989    );
13990    pub fn g_socket_client_set_protocol(client: *mut GSocketClient, protocol: GSocketProtocol);
13991    pub fn g_socket_client_set_proxy_resolver(
13992        client: *mut GSocketClient,
13993        proxy_resolver: *mut GProxyResolver,
13994    );
13995    pub fn g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType);
13996    pub fn g_socket_client_set_timeout(client: *mut GSocketClient, timeout: c_uint);
13997    pub fn g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean);
13998    pub fn g_socket_client_set_tls_validation_flags(
13999        client: *mut GSocketClient,
14000        flags: GTlsCertificateFlags,
14001    );
14002
14003    //=========================================================================
14004    // GSocketConnection
14005    //=========================================================================
14006    pub fn g_socket_connection_get_type() -> GType;
14007    pub fn g_socket_connection_factory_lookup_type(
14008        family: GSocketFamily,
14009        type_: GSocketType,
14010        protocol_id: c_int,
14011    ) -> GType;
14012    pub fn g_socket_connection_factory_register_type(
14013        g_type: GType,
14014        family: GSocketFamily,
14015        type_: GSocketType,
14016        protocol: c_int,
14017    );
14018    pub fn g_socket_connection_connect(
14019        connection: *mut GSocketConnection,
14020        address: *mut GSocketAddress,
14021        cancellable: *mut GCancellable,
14022        error: *mut *mut glib::GError,
14023    ) -> gboolean;
14024    pub fn g_socket_connection_connect_async(
14025        connection: *mut GSocketConnection,
14026        address: *mut GSocketAddress,
14027        cancellable: *mut GCancellable,
14028        callback: GAsyncReadyCallback,
14029        user_data: gpointer,
14030    );
14031    pub fn g_socket_connection_connect_finish(
14032        connection: *mut GSocketConnection,
14033        result: *mut GAsyncResult,
14034        error: *mut *mut glib::GError,
14035    ) -> gboolean;
14036    pub fn g_socket_connection_get_local_address(
14037        connection: *mut GSocketConnection,
14038        error: *mut *mut glib::GError,
14039    ) -> *mut GSocketAddress;
14040    pub fn g_socket_connection_get_remote_address(
14041        connection: *mut GSocketConnection,
14042        error: *mut *mut glib::GError,
14043    ) -> *mut GSocketAddress;
14044    pub fn g_socket_connection_get_socket(connection: *mut GSocketConnection) -> *mut GSocket;
14045    pub fn g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean;
14046
14047    //=========================================================================
14048    // GSocketControlMessage
14049    //=========================================================================
14050    pub fn g_socket_control_message_get_type() -> GType;
14051    pub fn g_socket_control_message_deserialize(
14052        level: c_int,
14053        type_: c_int,
14054        size: size_t,
14055        data: gpointer,
14056    ) -> *mut GSocketControlMessage;
14057    pub fn g_socket_control_message_get_level(message: *mut GSocketControlMessage) -> c_int;
14058    pub fn g_socket_control_message_get_msg_type(message: *mut GSocketControlMessage) -> c_int;
14059    pub fn g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> size_t;
14060    pub fn g_socket_control_message_serialize(message: *mut GSocketControlMessage, data: gpointer);
14061
14062    //=========================================================================
14063    // GSocketListener
14064    //=========================================================================
14065    pub fn g_socket_listener_get_type() -> GType;
14066    pub fn g_socket_listener_new() -> *mut GSocketListener;
14067    pub fn g_socket_listener_accept(
14068        listener: *mut GSocketListener,
14069        source_object: *mut *mut gobject::GObject,
14070        cancellable: *mut GCancellable,
14071        error: *mut *mut glib::GError,
14072    ) -> *mut GSocketConnection;
14073    pub fn g_socket_listener_accept_async(
14074        listener: *mut GSocketListener,
14075        cancellable: *mut GCancellable,
14076        callback: GAsyncReadyCallback,
14077        user_data: gpointer,
14078    );
14079    pub fn g_socket_listener_accept_finish(
14080        listener: *mut GSocketListener,
14081        result: *mut GAsyncResult,
14082        source_object: *mut *mut gobject::GObject,
14083        error: *mut *mut glib::GError,
14084    ) -> *mut GSocketConnection;
14085    pub fn g_socket_listener_accept_socket(
14086        listener: *mut GSocketListener,
14087        source_object: *mut *mut gobject::GObject,
14088        cancellable: *mut GCancellable,
14089        error: *mut *mut glib::GError,
14090    ) -> *mut GSocket;
14091    pub fn g_socket_listener_accept_socket_async(
14092        listener: *mut GSocketListener,
14093        cancellable: *mut GCancellable,
14094        callback: GAsyncReadyCallback,
14095        user_data: gpointer,
14096    );
14097    pub fn g_socket_listener_accept_socket_finish(
14098        listener: *mut GSocketListener,
14099        result: *mut GAsyncResult,
14100        source_object: *mut *mut gobject::GObject,
14101        error: *mut *mut glib::GError,
14102    ) -> *mut GSocket;
14103    pub fn g_socket_listener_add_address(
14104        listener: *mut GSocketListener,
14105        address: *mut GSocketAddress,
14106        type_: GSocketType,
14107        protocol: GSocketProtocol,
14108        source_object: *mut gobject::GObject,
14109        effective_address: *mut *mut GSocketAddress,
14110        error: *mut *mut glib::GError,
14111    ) -> gboolean;
14112    pub fn g_socket_listener_add_any_inet_port(
14113        listener: *mut GSocketListener,
14114        source_object: *mut gobject::GObject,
14115        error: *mut *mut glib::GError,
14116    ) -> u16;
14117    pub fn g_socket_listener_add_inet_port(
14118        listener: *mut GSocketListener,
14119        port: u16,
14120        source_object: *mut gobject::GObject,
14121        error: *mut *mut glib::GError,
14122    ) -> gboolean;
14123    pub fn g_socket_listener_add_socket(
14124        listener: *mut GSocketListener,
14125        socket: *mut GSocket,
14126        source_object: *mut gobject::GObject,
14127        error: *mut *mut glib::GError,
14128    ) -> gboolean;
14129    pub fn g_socket_listener_close(listener: *mut GSocketListener);
14130    pub fn g_socket_listener_set_backlog(listener: *mut GSocketListener, listen_backlog: c_int);
14131
14132    //=========================================================================
14133    // GSocketService
14134    //=========================================================================
14135    pub fn g_socket_service_get_type() -> GType;
14136    pub fn g_socket_service_new() -> *mut GSocketService;
14137    pub fn g_socket_service_is_active(service: *mut GSocketService) -> gboolean;
14138    pub fn g_socket_service_start(service: *mut GSocketService);
14139    pub fn g_socket_service_stop(service: *mut GSocketService);
14140
14141    //=========================================================================
14142    // GSubprocess
14143    //=========================================================================
14144    pub fn g_subprocess_get_type() -> GType;
14145    pub fn g_subprocess_new(
14146        flags: GSubprocessFlags,
14147        error: *mut *mut glib::GError,
14148        argv0: *const c_char,
14149        ...
14150    ) -> *mut GSubprocess;
14151    pub fn g_subprocess_newv(
14152        argv: *const *const c_char,
14153        flags: GSubprocessFlags,
14154        error: *mut *mut glib::GError,
14155    ) -> *mut GSubprocess;
14156    pub fn g_subprocess_communicate(
14157        subprocess: *mut GSubprocess,
14158        stdin_buf: *mut glib::GBytes,
14159        cancellable: *mut GCancellable,
14160        stdout_buf: *mut *mut glib::GBytes,
14161        stderr_buf: *mut *mut glib::GBytes,
14162        error: *mut *mut glib::GError,
14163    ) -> gboolean;
14164    pub fn g_subprocess_communicate_async(
14165        subprocess: *mut GSubprocess,
14166        stdin_buf: *mut glib::GBytes,
14167        cancellable: *mut GCancellable,
14168        callback: GAsyncReadyCallback,
14169        user_data: gpointer,
14170    );
14171    pub fn g_subprocess_communicate_finish(
14172        subprocess: *mut GSubprocess,
14173        result: *mut GAsyncResult,
14174        stdout_buf: *mut *mut glib::GBytes,
14175        stderr_buf: *mut *mut glib::GBytes,
14176        error: *mut *mut glib::GError,
14177    ) -> gboolean;
14178    pub fn g_subprocess_communicate_utf8(
14179        subprocess: *mut GSubprocess,
14180        stdin_buf: *const c_char,
14181        cancellable: *mut GCancellable,
14182        stdout_buf: *mut *mut c_char,
14183        stderr_buf: *mut *mut c_char,
14184        error: *mut *mut glib::GError,
14185    ) -> gboolean;
14186    pub fn g_subprocess_communicate_utf8_async(
14187        subprocess: *mut GSubprocess,
14188        stdin_buf: *const c_char,
14189        cancellable: *mut GCancellable,
14190        callback: GAsyncReadyCallback,
14191        user_data: gpointer,
14192    );
14193    pub fn g_subprocess_communicate_utf8_finish(
14194        subprocess: *mut GSubprocess,
14195        result: *mut GAsyncResult,
14196        stdout_buf: *mut *mut c_char,
14197        stderr_buf: *mut *mut c_char,
14198        error: *mut *mut glib::GError,
14199    ) -> gboolean;
14200    pub fn g_subprocess_force_exit(subprocess: *mut GSubprocess);
14201    pub fn g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> c_int;
14202    pub fn g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const c_char;
14203    pub fn g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean;
14204    pub fn g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean;
14205    pub fn g_subprocess_get_status(subprocess: *mut GSubprocess) -> c_int;
14206    pub fn g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
14207    pub fn g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream;
14208    pub fn g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
14209    pub fn g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean;
14210    pub fn g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> c_int;
14211    pub fn g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: c_int);
14212    pub fn g_subprocess_wait(
14213        subprocess: *mut GSubprocess,
14214        cancellable: *mut GCancellable,
14215        error: *mut *mut glib::GError,
14216    ) -> gboolean;
14217    pub fn g_subprocess_wait_async(
14218        subprocess: *mut GSubprocess,
14219        cancellable: *mut GCancellable,
14220        callback: GAsyncReadyCallback,
14221        user_data: gpointer,
14222    );
14223    pub fn g_subprocess_wait_check(
14224        subprocess: *mut GSubprocess,
14225        cancellable: *mut GCancellable,
14226        error: *mut *mut glib::GError,
14227    ) -> gboolean;
14228    pub fn g_subprocess_wait_check_async(
14229        subprocess: *mut GSubprocess,
14230        cancellable: *mut GCancellable,
14231        callback: GAsyncReadyCallback,
14232        user_data: gpointer,
14233    );
14234    pub fn g_subprocess_wait_check_finish(
14235        subprocess: *mut GSubprocess,
14236        result: *mut GAsyncResult,
14237        error: *mut *mut glib::GError,
14238    ) -> gboolean;
14239    pub fn g_subprocess_wait_finish(
14240        subprocess: *mut GSubprocess,
14241        result: *mut GAsyncResult,
14242        error: *mut *mut glib::GError,
14243    ) -> gboolean;
14244
14245    //=========================================================================
14246    // GSubprocessLauncher
14247    //=========================================================================
14248    pub fn g_subprocess_launcher_get_type() -> GType;
14249    pub fn g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher;
14250    #[cfg(feature = "v2_68")]
14251    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
14252    #[cfg(unix)]
14253    #[cfg_attr(docsrs, doc(cfg(unix)))]
14254    pub fn g_subprocess_launcher_close(self_: *mut GSubprocessLauncher);
14255    pub fn g_subprocess_launcher_getenv(
14256        self_: *mut GSubprocessLauncher,
14257        variable: *const c_char,
14258    ) -> *const c_char;
14259    #[cfg(unix)]
14260    #[cfg_attr(docsrs, doc(cfg(unix)))]
14261    pub fn g_subprocess_launcher_set_child_setup(
14262        self_: *mut GSubprocessLauncher,
14263        child_setup: glib::GSpawnChildSetupFunc,
14264        user_data: gpointer,
14265        destroy_notify: glib::GDestroyNotify,
14266    );
14267    pub fn g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const c_char);
14268    pub fn g_subprocess_launcher_set_environ(
14269        self_: *mut GSubprocessLauncher,
14270        env: *mut *mut c_char,
14271    );
14272    pub fn g_subprocess_launcher_set_flags(
14273        self_: *mut GSubprocessLauncher,
14274        flags: GSubprocessFlags,
14275    );
14276    #[cfg(unix)]
14277    #[cfg_attr(docsrs, doc(cfg(unix)))]
14278    pub fn g_subprocess_launcher_set_stderr_file_path(
14279        self_: *mut GSubprocessLauncher,
14280        path: *const c_char,
14281    );
14282    #[cfg(unix)]
14283    #[cfg_attr(docsrs, doc(cfg(unix)))]
14284    pub fn g_subprocess_launcher_set_stdin_file_path(
14285        self_: *mut GSubprocessLauncher,
14286        path: *const c_char,
14287    );
14288    #[cfg(unix)]
14289    #[cfg_attr(docsrs, doc(cfg(unix)))]
14290    pub fn g_subprocess_launcher_set_stdout_file_path(
14291        self_: *mut GSubprocessLauncher,
14292        path: *const c_char,
14293    );
14294    pub fn g_subprocess_launcher_setenv(
14295        self_: *mut GSubprocessLauncher,
14296        variable: *const c_char,
14297        value: *const c_char,
14298        overwrite: gboolean,
14299    );
14300    pub fn g_subprocess_launcher_spawn(
14301        self_: *mut GSubprocessLauncher,
14302        error: *mut *mut glib::GError,
14303        argv0: *const c_char,
14304        ...
14305    ) -> *mut GSubprocess;
14306    pub fn g_subprocess_launcher_spawnv(
14307        self_: *mut GSubprocessLauncher,
14308        argv: *const *const c_char,
14309        error: *mut *mut glib::GError,
14310    ) -> *mut GSubprocess;
14311    #[cfg(unix)]
14312    #[cfg_attr(docsrs, doc(cfg(unix)))]
14313    pub fn g_subprocess_launcher_take_fd(
14314        self_: *mut GSubprocessLauncher,
14315        source_fd: c_int,
14316        target_fd: c_int,
14317    );
14318    #[cfg(unix)]
14319    #[cfg_attr(docsrs, doc(cfg(unix)))]
14320    pub fn g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14321    #[cfg(unix)]
14322    #[cfg_attr(docsrs, doc(cfg(unix)))]
14323    pub fn g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14324    #[cfg(unix)]
14325    #[cfg_attr(docsrs, doc(cfg(unix)))]
14326    pub fn g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: c_int);
14327    pub fn g_subprocess_launcher_unsetenv(self_: *mut GSubprocessLauncher, variable: *const c_char);
14328
14329    //=========================================================================
14330    // GTask
14331    //=========================================================================
14332    pub fn g_task_get_type() -> GType;
14333    pub fn g_task_new(
14334        source_object: *mut gobject::GObject,
14335        cancellable: *mut GCancellable,
14336        callback: GAsyncReadyCallback,
14337        callback_data: gpointer,
14338    ) -> *mut GTask;
14339    pub fn g_task_is_valid(
14340        result: *mut GAsyncResult,
14341        source_object: *mut gobject::GObject,
14342    ) -> gboolean;
14343    pub fn g_task_report_error(
14344        source_object: *mut gobject::GObject,
14345        callback: GAsyncReadyCallback,
14346        callback_data: gpointer,
14347        source_tag: gpointer,
14348        error: *mut glib::GError,
14349    );
14350    pub fn g_task_report_new_error(
14351        source_object: *mut gobject::GObject,
14352        callback: GAsyncReadyCallback,
14353        callback_data: gpointer,
14354        source_tag: gpointer,
14355        domain: glib::GQuark,
14356        code: c_int,
14357        format: *const c_char,
14358        ...
14359    );
14360    pub fn g_task_attach_source(
14361        task: *mut GTask,
14362        source: *mut glib::GSource,
14363        callback: glib::GSourceFunc,
14364    );
14365    pub fn g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable;
14366    pub fn g_task_get_check_cancellable(task: *mut GTask) -> gboolean;
14367    pub fn g_task_get_completed(task: *mut GTask) -> gboolean;
14368    pub fn g_task_get_context(task: *mut GTask) -> *mut glib::GMainContext;
14369    #[cfg(feature = "v2_60")]
14370    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14371    pub fn g_task_get_name(task: *mut GTask) -> *const c_char;
14372    pub fn g_task_get_priority(task: *mut GTask) -> c_int;
14373    pub fn g_task_get_return_on_cancel(task: *mut GTask) -> gboolean;
14374    pub fn g_task_get_source_object(task: *mut GTask) -> *mut gobject::GObject;
14375    pub fn g_task_get_source_tag(task: *mut GTask) -> gpointer;
14376    pub fn g_task_get_task_data(task: *mut GTask) -> gpointer;
14377    pub fn g_task_had_error(task: *mut GTask) -> gboolean;
14378    pub fn g_task_propagate_boolean(task: *mut GTask, error: *mut *mut glib::GError) -> gboolean;
14379    pub fn g_task_propagate_int(task: *mut GTask, error: *mut *mut glib::GError) -> ssize_t;
14380    pub fn g_task_propagate_pointer(task: *mut GTask, error: *mut *mut glib::GError) -> gpointer;
14381    #[cfg(feature = "v2_64")]
14382    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14383    pub fn g_task_propagate_value(
14384        task: *mut GTask,
14385        value: *mut gobject::GValue,
14386        error: *mut *mut glib::GError,
14387    ) -> gboolean;
14388    pub fn g_task_return_boolean(task: *mut GTask, result: gboolean);
14389    pub fn g_task_return_error(task: *mut GTask, error: *mut glib::GError);
14390    pub fn g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean;
14391    pub fn g_task_return_int(task: *mut GTask, result: ssize_t);
14392    pub fn g_task_return_new_error(
14393        task: *mut GTask,
14394        domain: glib::GQuark,
14395        code: c_int,
14396        format: *const c_char,
14397        ...
14398    );
14399    #[cfg(feature = "v2_80")]
14400    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14401    pub fn g_task_return_new_error_literal(
14402        task: *mut GTask,
14403        domain: glib::GQuark,
14404        code: c_int,
14405        message: *const c_char,
14406    );
14407    pub fn g_task_return_pointer(
14408        task: *mut GTask,
14409        result: gpointer,
14410        result_destroy: glib::GDestroyNotify,
14411    );
14412    #[cfg(feature = "v2_80")]
14413    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
14414    pub fn g_task_return_prefixed_error(
14415        task: *mut GTask,
14416        error: *mut glib::GError,
14417        format: *const c_char,
14418        ...
14419    );
14420    #[cfg(feature = "v2_64")]
14421    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
14422    pub fn g_task_return_value(task: *mut GTask, result: *mut gobject::GValue);
14423    pub fn g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc);
14424    pub fn g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc);
14425    pub fn g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean);
14426    #[cfg(feature = "v2_60")]
14427    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14428    pub fn g_task_set_name(task: *mut GTask, name: *const c_char);
14429    pub fn g_task_set_priority(task: *mut GTask, priority: c_int);
14430    pub fn g_task_set_return_on_cancel(task: *mut GTask, return_on_cancel: gboolean) -> gboolean;
14431    pub fn g_task_set_source_tag(task: *mut GTask, source_tag: gpointer);
14432    #[cfg(feature = "v2_76")]
14433    #[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
14434    pub fn g_task_set_static_name(task: *mut GTask, name: *const c_char);
14435    pub fn g_task_set_task_data(
14436        task: *mut GTask,
14437        task_data: gpointer,
14438        task_data_destroy: glib::GDestroyNotify,
14439    );
14440
14441    //=========================================================================
14442    // GTcpConnection
14443    //=========================================================================
14444    pub fn g_tcp_connection_get_type() -> GType;
14445    pub fn g_tcp_connection_get_graceful_disconnect(connection: *mut GTcpConnection) -> gboolean;
14446    pub fn g_tcp_connection_set_graceful_disconnect(
14447        connection: *mut GTcpConnection,
14448        graceful_disconnect: gboolean,
14449    );
14450
14451    //=========================================================================
14452    // GTcpWrapperConnection
14453    //=========================================================================
14454    pub fn g_tcp_wrapper_connection_get_type() -> GType;
14455    pub fn g_tcp_wrapper_connection_new(
14456        base_io_stream: *mut GIOStream,
14457        socket: *mut GSocket,
14458    ) -> *mut GSocketConnection;
14459    pub fn g_tcp_wrapper_connection_get_base_io_stream(
14460        conn: *mut GTcpWrapperConnection,
14461    ) -> *mut GIOStream;
14462
14463    //=========================================================================
14464    // GTestDBus
14465    //=========================================================================
14466    pub fn g_test_dbus_get_type() -> GType;
14467    pub fn g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus;
14468    pub fn g_test_dbus_unset();
14469    pub fn g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const c_char);
14470    pub fn g_test_dbus_down(self_: *mut GTestDBus);
14471    pub fn g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const c_char;
14472    pub fn g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags;
14473    pub fn g_test_dbus_stop(self_: *mut GTestDBus);
14474    pub fn g_test_dbus_up(self_: *mut GTestDBus);
14475
14476    //=========================================================================
14477    // GThemedIcon
14478    //=========================================================================
14479    pub fn g_themed_icon_get_type() -> GType;
14480    pub fn g_themed_icon_new(iconname: *const c_char) -> *mut GThemedIcon;
14481    pub fn g_themed_icon_new_from_names(
14482        iconnames: *mut *mut c_char,
14483        len: c_int,
14484    ) -> *mut GThemedIcon;
14485    pub fn g_themed_icon_new_with_default_fallbacks(iconname: *const c_char) -> *mut GThemedIcon;
14486    pub fn g_themed_icon_append_name(icon: *mut GThemedIcon, iconname: *const c_char);
14487    pub fn g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const c_char;
14488    pub fn g_themed_icon_prepend_name(icon: *mut GThemedIcon, iconname: *const c_char);
14489
14490    //=========================================================================
14491    // GThreadedResolver
14492    //=========================================================================
14493    pub fn g_threaded_resolver_get_type() -> GType;
14494
14495    //=========================================================================
14496    // GThreadedSocketService
14497    //=========================================================================
14498    pub fn g_threaded_socket_service_get_type() -> GType;
14499    pub fn g_threaded_socket_service_new(max_threads: c_int) -> *mut GSocketService;
14500
14501    //=========================================================================
14502    // GTlsCertificate
14503    //=========================================================================
14504    pub fn g_tls_certificate_get_type() -> GType;
14505    pub fn g_tls_certificate_new_from_file(
14506        file: *const c_char,
14507        error: *mut *mut glib::GError,
14508    ) -> *mut GTlsCertificate;
14509    #[cfg(feature = "v2_72")]
14510    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14511    pub fn g_tls_certificate_new_from_file_with_password(
14512        file: *const c_char,
14513        password: *const c_char,
14514        error: *mut *mut glib::GError,
14515    ) -> *mut GTlsCertificate;
14516    pub fn g_tls_certificate_new_from_files(
14517        cert_file: *const c_char,
14518        key_file: *const c_char,
14519        error: *mut *mut glib::GError,
14520    ) -> *mut GTlsCertificate;
14521    pub fn g_tls_certificate_new_from_pem(
14522        data: *const c_char,
14523        length: ssize_t,
14524        error: *mut *mut glib::GError,
14525    ) -> *mut GTlsCertificate;
14526    #[cfg(feature = "v2_68")]
14527    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
14528    pub fn g_tls_certificate_new_from_pkcs11_uris(
14529        pkcs11_uri: *const c_char,
14530        private_key_pkcs11_uri: *const c_char,
14531        error: *mut *mut glib::GError,
14532    ) -> *mut GTlsCertificate;
14533    #[cfg(feature = "v2_72")]
14534    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14535    pub fn g_tls_certificate_new_from_pkcs12(
14536        data: *const u8,
14537        length: size_t,
14538        password: *const c_char,
14539        error: *mut *mut glib::GError,
14540    ) -> *mut GTlsCertificate;
14541    pub fn g_tls_certificate_list_new_from_file(
14542        file: *const c_char,
14543        error: *mut *mut glib::GError,
14544    ) -> *mut glib::GList;
14545    #[cfg(feature = "v2_70")]
14546    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14547    pub fn g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14548    #[cfg(feature = "v2_70")]
14549    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14550    pub fn g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14551    pub fn g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate;
14552    #[cfg(feature = "v2_70")]
14553    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14554    pub fn g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut c_char;
14555    #[cfg(feature = "v2_70")]
14556    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14557    pub fn g_tls_certificate_get_not_valid_after(
14558        cert: *mut GTlsCertificate,
14559    ) -> *mut glib::GDateTime;
14560    #[cfg(feature = "v2_70")]
14561    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14562    pub fn g_tls_certificate_get_not_valid_before(
14563        cert: *mut GTlsCertificate,
14564    ) -> *mut glib::GDateTime;
14565    #[cfg(feature = "v2_70")]
14566    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14567    pub fn g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut c_char;
14568    pub fn g_tls_certificate_is_same(
14569        cert_one: *mut GTlsCertificate,
14570        cert_two: *mut GTlsCertificate,
14571    ) -> gboolean;
14572    pub fn g_tls_certificate_verify(
14573        cert: *mut GTlsCertificate,
14574        identity: *mut GSocketConnectable,
14575        trusted_ca: *mut GTlsCertificate,
14576    ) -> GTlsCertificateFlags;
14577
14578    //=========================================================================
14579    // GTlsConnection
14580    //=========================================================================
14581    pub fn g_tls_connection_get_type() -> GType;
14582    pub fn g_tls_connection_emit_accept_certificate(
14583        conn: *mut GTlsConnection,
14584        peer_cert: *mut GTlsCertificate,
14585        errors: GTlsCertificateFlags,
14586    ) -> gboolean;
14587    pub fn g_tls_connection_get_certificate(conn: *mut GTlsConnection) -> *mut GTlsCertificate;
14588    #[cfg(feature = "v2_66")]
14589    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
14590    pub fn g_tls_connection_get_channel_binding_data(
14591        conn: *mut GTlsConnection,
14592        type_: GTlsChannelBindingType,
14593        data: *mut glib::GByteArray,
14594        error: *mut *mut glib::GError,
14595    ) -> gboolean;
14596    #[cfg(feature = "v2_70")]
14597    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14598    pub fn g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut c_char;
14599    pub fn g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase;
14600    pub fn g_tls_connection_get_interaction(conn: *mut GTlsConnection) -> *mut GTlsInteraction;
14601    #[cfg(feature = "v2_60")]
14602    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14603    pub fn g_tls_connection_get_negotiated_protocol(conn: *mut GTlsConnection) -> *const c_char;
14604    pub fn g_tls_connection_get_peer_certificate(conn: *mut GTlsConnection)
14605        -> *mut GTlsCertificate;
14606    pub fn g_tls_connection_get_peer_certificate_errors(
14607        conn: *mut GTlsConnection,
14608    ) -> GTlsCertificateFlags;
14609    #[cfg(feature = "v2_70")]
14610    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14611    pub fn g_tls_connection_get_protocol_version(conn: *mut GTlsConnection) -> GTlsProtocolVersion;
14612    pub fn g_tls_connection_get_rehandshake_mode(conn: *mut GTlsConnection) -> GTlsRehandshakeMode;
14613    pub fn g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean;
14614    pub fn g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean;
14615    pub fn g_tls_connection_handshake(
14616        conn: *mut GTlsConnection,
14617        cancellable: *mut GCancellable,
14618        error: *mut *mut glib::GError,
14619    ) -> gboolean;
14620    pub fn g_tls_connection_handshake_async(
14621        conn: *mut GTlsConnection,
14622        io_priority: c_int,
14623        cancellable: *mut GCancellable,
14624        callback: GAsyncReadyCallback,
14625        user_data: gpointer,
14626    );
14627    pub fn g_tls_connection_handshake_finish(
14628        conn: *mut GTlsConnection,
14629        result: *mut GAsyncResult,
14630        error: *mut *mut glib::GError,
14631    ) -> gboolean;
14632    #[cfg(feature = "v2_60")]
14633    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14634    pub fn g_tls_connection_set_advertised_protocols(
14635        conn: *mut GTlsConnection,
14636        protocols: *const *const c_char,
14637    );
14638    pub fn g_tls_connection_set_certificate(
14639        conn: *mut GTlsConnection,
14640        certificate: *mut GTlsCertificate,
14641    );
14642    pub fn g_tls_connection_set_database(conn: *mut GTlsConnection, database: *mut GTlsDatabase);
14643    pub fn g_tls_connection_set_interaction(
14644        conn: *mut GTlsConnection,
14645        interaction: *mut GTlsInteraction,
14646    );
14647    pub fn g_tls_connection_set_rehandshake_mode(
14648        conn: *mut GTlsConnection,
14649        mode: GTlsRehandshakeMode,
14650    );
14651    pub fn g_tls_connection_set_require_close_notify(
14652        conn: *mut GTlsConnection,
14653        require_close_notify: gboolean,
14654    );
14655    pub fn g_tls_connection_set_use_system_certdb(
14656        conn: *mut GTlsConnection,
14657        use_system_certdb: gboolean,
14658    );
14659
14660    //=========================================================================
14661    // GTlsDatabase
14662    //=========================================================================
14663    pub fn g_tls_database_get_type() -> GType;
14664    pub fn g_tls_database_create_certificate_handle(
14665        self_: *mut GTlsDatabase,
14666        certificate: *mut GTlsCertificate,
14667    ) -> *mut c_char;
14668    pub fn g_tls_database_lookup_certificate_for_handle(
14669        self_: *mut GTlsDatabase,
14670        handle: *const c_char,
14671        interaction: *mut GTlsInteraction,
14672        flags: GTlsDatabaseLookupFlags,
14673        cancellable: *mut GCancellable,
14674        error: *mut *mut glib::GError,
14675    ) -> *mut GTlsCertificate;
14676    pub fn g_tls_database_lookup_certificate_for_handle_async(
14677        self_: *mut GTlsDatabase,
14678        handle: *const c_char,
14679        interaction: *mut GTlsInteraction,
14680        flags: GTlsDatabaseLookupFlags,
14681        cancellable: *mut GCancellable,
14682        callback: GAsyncReadyCallback,
14683        user_data: gpointer,
14684    );
14685    pub fn g_tls_database_lookup_certificate_for_handle_finish(
14686        self_: *mut GTlsDatabase,
14687        result: *mut GAsyncResult,
14688        error: *mut *mut glib::GError,
14689    ) -> *mut GTlsCertificate;
14690    pub fn g_tls_database_lookup_certificate_issuer(
14691        self_: *mut GTlsDatabase,
14692        certificate: *mut GTlsCertificate,
14693        interaction: *mut GTlsInteraction,
14694        flags: GTlsDatabaseLookupFlags,
14695        cancellable: *mut GCancellable,
14696        error: *mut *mut glib::GError,
14697    ) -> *mut GTlsCertificate;
14698    pub fn g_tls_database_lookup_certificate_issuer_async(
14699        self_: *mut GTlsDatabase,
14700        certificate: *mut GTlsCertificate,
14701        interaction: *mut GTlsInteraction,
14702        flags: GTlsDatabaseLookupFlags,
14703        cancellable: *mut GCancellable,
14704        callback: GAsyncReadyCallback,
14705        user_data: gpointer,
14706    );
14707    pub fn g_tls_database_lookup_certificate_issuer_finish(
14708        self_: *mut GTlsDatabase,
14709        result: *mut GAsyncResult,
14710        error: *mut *mut glib::GError,
14711    ) -> *mut GTlsCertificate;
14712    pub fn g_tls_database_lookup_certificates_issued_by(
14713        self_: *mut GTlsDatabase,
14714        issuer_raw_dn: *mut glib::GByteArray,
14715        interaction: *mut GTlsInteraction,
14716        flags: GTlsDatabaseLookupFlags,
14717        cancellable: *mut GCancellable,
14718        error: *mut *mut glib::GError,
14719    ) -> *mut glib::GList;
14720    pub fn g_tls_database_lookup_certificates_issued_by_async(
14721        self_: *mut GTlsDatabase,
14722        issuer_raw_dn: *mut glib::GByteArray,
14723        interaction: *mut GTlsInteraction,
14724        flags: GTlsDatabaseLookupFlags,
14725        cancellable: *mut GCancellable,
14726        callback: GAsyncReadyCallback,
14727        user_data: gpointer,
14728    );
14729    pub fn g_tls_database_lookup_certificates_issued_by_finish(
14730        self_: *mut GTlsDatabase,
14731        result: *mut GAsyncResult,
14732        error: *mut *mut glib::GError,
14733    ) -> *mut glib::GList;
14734    pub fn g_tls_database_verify_chain(
14735        self_: *mut GTlsDatabase,
14736        chain: *mut GTlsCertificate,
14737        purpose: *const c_char,
14738        identity: *mut GSocketConnectable,
14739        interaction: *mut GTlsInteraction,
14740        flags: GTlsDatabaseVerifyFlags,
14741        cancellable: *mut GCancellable,
14742        error: *mut *mut glib::GError,
14743    ) -> GTlsCertificateFlags;
14744    pub fn g_tls_database_verify_chain_async(
14745        self_: *mut GTlsDatabase,
14746        chain: *mut GTlsCertificate,
14747        purpose: *const c_char,
14748        identity: *mut GSocketConnectable,
14749        interaction: *mut GTlsInteraction,
14750        flags: GTlsDatabaseVerifyFlags,
14751        cancellable: *mut GCancellable,
14752        callback: GAsyncReadyCallback,
14753        user_data: gpointer,
14754    );
14755    pub fn g_tls_database_verify_chain_finish(
14756        self_: *mut GTlsDatabase,
14757        result: *mut GAsyncResult,
14758        error: *mut *mut glib::GError,
14759    ) -> GTlsCertificateFlags;
14760
14761    //=========================================================================
14762    // GTlsInteraction
14763    //=========================================================================
14764    pub fn g_tls_interaction_get_type() -> GType;
14765    pub fn g_tls_interaction_ask_password(
14766        interaction: *mut GTlsInteraction,
14767        password: *mut GTlsPassword,
14768        cancellable: *mut GCancellable,
14769        error: *mut *mut glib::GError,
14770    ) -> GTlsInteractionResult;
14771    pub fn g_tls_interaction_ask_password_async(
14772        interaction: *mut GTlsInteraction,
14773        password: *mut GTlsPassword,
14774        cancellable: *mut GCancellable,
14775        callback: GAsyncReadyCallback,
14776        user_data: gpointer,
14777    );
14778    pub fn g_tls_interaction_ask_password_finish(
14779        interaction: *mut GTlsInteraction,
14780        result: *mut GAsyncResult,
14781        error: *mut *mut glib::GError,
14782    ) -> GTlsInteractionResult;
14783    pub fn g_tls_interaction_invoke_ask_password(
14784        interaction: *mut GTlsInteraction,
14785        password: *mut GTlsPassword,
14786        cancellable: *mut GCancellable,
14787        error: *mut *mut glib::GError,
14788    ) -> GTlsInteractionResult;
14789    pub fn g_tls_interaction_invoke_request_certificate(
14790        interaction: *mut GTlsInteraction,
14791        connection: *mut GTlsConnection,
14792        flags: GTlsCertificateRequestFlags,
14793        cancellable: *mut GCancellable,
14794        error: *mut *mut glib::GError,
14795    ) -> GTlsInteractionResult;
14796    pub fn g_tls_interaction_request_certificate(
14797        interaction: *mut GTlsInteraction,
14798        connection: *mut GTlsConnection,
14799        flags: GTlsCertificateRequestFlags,
14800        cancellable: *mut GCancellable,
14801        error: *mut *mut glib::GError,
14802    ) -> GTlsInteractionResult;
14803    pub fn g_tls_interaction_request_certificate_async(
14804        interaction: *mut GTlsInteraction,
14805        connection: *mut GTlsConnection,
14806        flags: GTlsCertificateRequestFlags,
14807        cancellable: *mut GCancellable,
14808        callback: GAsyncReadyCallback,
14809        user_data: gpointer,
14810    );
14811    pub fn g_tls_interaction_request_certificate_finish(
14812        interaction: *mut GTlsInteraction,
14813        result: *mut GAsyncResult,
14814        error: *mut *mut glib::GError,
14815    ) -> GTlsInteractionResult;
14816
14817    //=========================================================================
14818    // GTlsPassword
14819    //=========================================================================
14820    pub fn g_tls_password_get_type() -> GType;
14821    pub fn g_tls_password_new(
14822        flags: GTlsPasswordFlags,
14823        description: *const c_char,
14824    ) -> *mut GTlsPassword;
14825    pub fn g_tls_password_get_description(password: *mut GTlsPassword) -> *const c_char;
14826    pub fn g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags;
14827    pub fn g_tls_password_get_value(password: *mut GTlsPassword, length: *mut size_t) -> *const u8;
14828    pub fn g_tls_password_get_warning(password: *mut GTlsPassword) -> *const c_char;
14829    pub fn g_tls_password_set_description(password: *mut GTlsPassword, description: *const c_char);
14830    pub fn g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags);
14831    pub fn g_tls_password_set_value(password: *mut GTlsPassword, value: *const u8, length: ssize_t);
14832    pub fn g_tls_password_set_value_full(
14833        password: *mut GTlsPassword,
14834        value: *mut u8,
14835        length: ssize_t,
14836        destroy: glib::GDestroyNotify,
14837    );
14838    pub fn g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const c_char);
14839
14840    //=========================================================================
14841    // GUnixConnection
14842    //=========================================================================
14843    pub fn g_unix_connection_get_type() -> GType;
14844    pub fn g_unix_connection_receive_credentials(
14845        connection: *mut GUnixConnection,
14846        cancellable: *mut GCancellable,
14847        error: *mut *mut glib::GError,
14848    ) -> *mut GCredentials;
14849    pub fn g_unix_connection_receive_credentials_async(
14850        connection: *mut GUnixConnection,
14851        cancellable: *mut GCancellable,
14852        callback: GAsyncReadyCallback,
14853        user_data: gpointer,
14854    );
14855    pub fn g_unix_connection_receive_credentials_finish(
14856        connection: *mut GUnixConnection,
14857        result: *mut GAsyncResult,
14858        error: *mut *mut glib::GError,
14859    ) -> *mut GCredentials;
14860    pub fn g_unix_connection_receive_fd(
14861        connection: *mut GUnixConnection,
14862        cancellable: *mut GCancellable,
14863        error: *mut *mut glib::GError,
14864    ) -> c_int;
14865    pub fn g_unix_connection_send_credentials(
14866        connection: *mut GUnixConnection,
14867        cancellable: *mut GCancellable,
14868        error: *mut *mut glib::GError,
14869    ) -> gboolean;
14870    pub fn g_unix_connection_send_credentials_async(
14871        connection: *mut GUnixConnection,
14872        cancellable: *mut GCancellable,
14873        callback: GAsyncReadyCallback,
14874        user_data: gpointer,
14875    );
14876    pub fn g_unix_connection_send_credentials_finish(
14877        connection: *mut GUnixConnection,
14878        result: *mut GAsyncResult,
14879        error: *mut *mut glib::GError,
14880    ) -> gboolean;
14881    pub fn g_unix_connection_send_fd(
14882        connection: *mut GUnixConnection,
14883        fd: c_int,
14884        cancellable: *mut GCancellable,
14885        error: *mut *mut glib::GError,
14886    ) -> gboolean;
14887
14888    //=========================================================================
14889    // GUnixCredentialsMessage
14890    //=========================================================================
14891    pub fn g_unix_credentials_message_get_type() -> GType;
14892    pub fn g_unix_credentials_message_new() -> *mut GSocketControlMessage;
14893    pub fn g_unix_credentials_message_new_with_credentials(
14894        credentials: *mut GCredentials,
14895    ) -> *mut GSocketControlMessage;
14896    pub fn g_unix_credentials_message_is_supported() -> gboolean;
14897    pub fn g_unix_credentials_message_get_credentials(
14898        message: *mut GUnixCredentialsMessage,
14899    ) -> *mut GCredentials;
14900
14901    //=========================================================================
14902    // GUnixFDList
14903    //=========================================================================
14904    pub fn g_unix_fd_list_get_type() -> GType;
14905    pub fn g_unix_fd_list_new() -> *mut GUnixFDList;
14906    pub fn g_unix_fd_list_new_from_array(fds: *const c_int, n_fds: c_int) -> *mut GUnixFDList;
14907    pub fn g_unix_fd_list_append(
14908        list: *mut GUnixFDList,
14909        fd: c_int,
14910        error: *mut *mut glib::GError,
14911    ) -> c_int;
14912    pub fn g_unix_fd_list_get(
14913        list: *mut GUnixFDList,
14914        index_: c_int,
14915        error: *mut *mut glib::GError,
14916    ) -> c_int;
14917    pub fn g_unix_fd_list_get_length(list: *mut GUnixFDList) -> c_int;
14918    pub fn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int;
14919    pub fn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int;
14920
14921    //=========================================================================
14922    // GUnixFDMessage
14923    //=========================================================================
14924    pub fn g_unix_fd_message_get_type() -> GType;
14925    pub fn g_unix_fd_message_new() -> *mut GSocketControlMessage;
14926    pub fn g_unix_fd_message_new_with_fd_list(
14927        fd_list: *mut GUnixFDList,
14928    ) -> *mut GSocketControlMessage;
14929    pub fn g_unix_fd_message_append_fd(
14930        message: *mut GUnixFDMessage,
14931        fd: c_int,
14932        error: *mut *mut glib::GError,
14933    ) -> gboolean;
14934    pub fn g_unix_fd_message_get_fd_list(message: *mut GUnixFDMessage) -> *mut GUnixFDList;
14935    pub fn g_unix_fd_message_steal_fds(
14936        message: *mut GUnixFDMessage,
14937        length: *mut c_int,
14938    ) -> *mut c_int;
14939
14940    //=========================================================================
14941    // GUnixInputStream
14942    //=========================================================================
14943    pub fn g_unix_input_stream_get_type() -> GType;
14944    pub fn g_unix_input_stream_new(fd: c_int, close_fd: gboolean) -> *mut GInputStream;
14945    pub fn g_unix_input_stream_get_close_fd(stream: *mut GUnixInputStream) -> gboolean;
14946    pub fn g_unix_input_stream_get_fd(stream: *mut GUnixInputStream) -> c_int;
14947    pub fn g_unix_input_stream_set_close_fd(stream: *mut GUnixInputStream, close_fd: gboolean);
14948
14949    //=========================================================================
14950    // GUnixMountMonitor
14951    //=========================================================================
14952    pub fn g_unix_mount_monitor_get_type() -> GType;
14953    pub fn g_unix_mount_monitor_new() -> *mut GUnixMountMonitor;
14954    pub fn g_unix_mount_monitor_get() -> *mut GUnixMountMonitor;
14955    pub fn g_unix_mount_monitor_set_rate_limit(
14956        mount_monitor: *mut GUnixMountMonitor,
14957        limit_msec: c_int,
14958    );
14959
14960    //=========================================================================
14961    // GUnixOutputStream
14962    //=========================================================================
14963    pub fn g_unix_output_stream_get_type() -> GType;
14964    pub fn g_unix_output_stream_new(fd: c_int, close_fd: gboolean) -> *mut GOutputStream;
14965    pub fn g_unix_output_stream_get_close_fd(stream: *mut GUnixOutputStream) -> gboolean;
14966    pub fn g_unix_output_stream_get_fd(stream: *mut GUnixOutputStream) -> c_int;
14967    pub fn g_unix_output_stream_set_close_fd(stream: *mut GUnixOutputStream, close_fd: gboolean);
14968
14969    //=========================================================================
14970    // GUnixSocketAddress
14971    //=========================================================================
14972    pub fn g_unix_socket_address_get_type() -> GType;
14973    pub fn g_unix_socket_address_new(path: *const c_char) -> *mut GSocketAddress;
14974    pub fn g_unix_socket_address_new_abstract(
14975        path: *const c_char,
14976        path_len: c_int,
14977    ) -> *mut GSocketAddress;
14978    pub fn g_unix_socket_address_new_with_type(
14979        path: *const c_char,
14980        path_len: c_int,
14981        type_: GUnixSocketAddressType,
14982    ) -> *mut GSocketAddress;
14983    pub fn g_unix_socket_address_abstract_names_supported() -> gboolean;
14984    pub fn g_unix_socket_address_get_address_type(
14985        address: *mut GUnixSocketAddress,
14986    ) -> GUnixSocketAddressType;
14987    pub fn g_unix_socket_address_get_is_abstract(address: *mut GUnixSocketAddress) -> gboolean;
14988    pub fn g_unix_socket_address_get_path(address: *mut GUnixSocketAddress) -> *const c_char;
14989    pub fn g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> size_t;
14990
14991    //=========================================================================
14992    // GVfs
14993    //=========================================================================
14994    pub fn g_vfs_get_type() -> GType;
14995    pub fn g_vfs_get_default() -> *mut GVfs;
14996    pub fn g_vfs_get_local() -> *mut GVfs;
14997    pub fn g_vfs_get_file_for_path(vfs: *mut GVfs, path: *const c_char) -> *mut GFile;
14998    pub fn g_vfs_get_file_for_uri(vfs: *mut GVfs, uri: *const c_char) -> *mut GFile;
14999    pub fn g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const c_char;
15000    pub fn g_vfs_is_active(vfs: *mut GVfs) -> gboolean;
15001    pub fn g_vfs_parse_name(vfs: *mut GVfs, parse_name: *const c_char) -> *mut GFile;
15002    pub fn g_vfs_register_uri_scheme(
15003        vfs: *mut GVfs,
15004        scheme: *const c_char,
15005        uri_func: GVfsFileLookupFunc,
15006        uri_data: gpointer,
15007        uri_destroy: glib::GDestroyNotify,
15008        parse_name_func: GVfsFileLookupFunc,
15009        parse_name_data: gpointer,
15010        parse_name_destroy: glib::GDestroyNotify,
15011    ) -> gboolean;
15012    pub fn g_vfs_unregister_uri_scheme(vfs: *mut GVfs, scheme: *const c_char) -> gboolean;
15013
15014    //=========================================================================
15015    // GVolumeMonitor
15016    //=========================================================================
15017    pub fn g_volume_monitor_get_type() -> GType;
15018    pub fn g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume;
15019    pub fn g_volume_monitor_get() -> *mut GVolumeMonitor;
15020    pub fn g_volume_monitor_get_connected_drives(
15021        volume_monitor: *mut GVolumeMonitor,
15022    ) -> *mut glib::GList;
15023    pub fn g_volume_monitor_get_mount_for_uuid(
15024        volume_monitor: *mut GVolumeMonitor,
15025        uuid: *const c_char,
15026    ) -> *mut GMount;
15027    pub fn g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
15028    pub fn g_volume_monitor_get_volume_for_uuid(
15029        volume_monitor: *mut GVolumeMonitor,
15030        uuid: *const c_char,
15031    ) -> *mut GVolume;
15032    pub fn g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
15033
15034    //=========================================================================
15035    // GZlibCompressor
15036    //=========================================================================
15037    pub fn g_zlib_compressor_get_type() -> GType;
15038    pub fn g_zlib_compressor_new(
15039        format: GZlibCompressorFormat,
15040        level: c_int,
15041    ) -> *mut GZlibCompressor;
15042    pub fn g_zlib_compressor_get_file_info(compressor: *mut GZlibCompressor) -> *mut GFileInfo;
15043    pub fn g_zlib_compressor_set_file_info(
15044        compressor: *mut GZlibCompressor,
15045        file_info: *mut GFileInfo,
15046    );
15047
15048    //=========================================================================
15049    // GZlibDecompressor
15050    //=========================================================================
15051    pub fn g_zlib_decompressor_get_type() -> GType;
15052    pub fn g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor;
15053    pub fn g_zlib_decompressor_get_file_info(
15054        decompressor: *mut GZlibDecompressor,
15055    ) -> *mut GFileInfo;
15056
15057    //=========================================================================
15058    // GAction
15059    //=========================================================================
15060    pub fn g_action_get_type() -> GType;
15061    pub fn g_action_name_is_valid(action_name: *const c_char) -> gboolean;
15062    pub fn g_action_parse_detailed_name(
15063        detailed_name: *const c_char,
15064        action_name: *mut *mut c_char,
15065        target_value: *mut *mut glib::GVariant,
15066        error: *mut *mut glib::GError,
15067    ) -> gboolean;
15068    pub fn g_action_print_detailed_name(
15069        action_name: *const c_char,
15070        target_value: *mut glib::GVariant,
15071    ) -> *mut c_char;
15072    pub fn g_action_activate(action: *mut GAction, parameter: *mut glib::GVariant);
15073    pub fn g_action_change_state(action: *mut GAction, value: *mut glib::GVariant);
15074    pub fn g_action_get_enabled(action: *mut GAction) -> gboolean;
15075    pub fn g_action_get_name(action: *mut GAction) -> *const c_char;
15076    pub fn g_action_get_parameter_type(action: *mut GAction) -> *const glib::GVariantType;
15077    pub fn g_action_get_state(action: *mut GAction) -> *mut glib::GVariant;
15078    pub fn g_action_get_state_hint(action: *mut GAction) -> *mut glib::GVariant;
15079    pub fn g_action_get_state_type(action: *mut GAction) -> *const glib::GVariantType;
15080
15081    //=========================================================================
15082    // GActionGroup
15083    //=========================================================================
15084    pub fn g_action_group_get_type() -> GType;
15085    pub fn g_action_group_action_added(action_group: *mut GActionGroup, action_name: *const c_char);
15086    pub fn g_action_group_action_enabled_changed(
15087        action_group: *mut GActionGroup,
15088        action_name: *const c_char,
15089        enabled: gboolean,
15090    );
15091    pub fn g_action_group_action_removed(
15092        action_group: *mut GActionGroup,
15093        action_name: *const c_char,
15094    );
15095    pub fn g_action_group_action_state_changed(
15096        action_group: *mut GActionGroup,
15097        action_name: *const c_char,
15098        state: *mut glib::GVariant,
15099    );
15100    pub fn g_action_group_activate_action(
15101        action_group: *mut GActionGroup,
15102        action_name: *const c_char,
15103        parameter: *mut glib::GVariant,
15104    );
15105    pub fn g_action_group_change_action_state(
15106        action_group: *mut GActionGroup,
15107        action_name: *const c_char,
15108        value: *mut glib::GVariant,
15109    );
15110    pub fn g_action_group_get_action_enabled(
15111        action_group: *mut GActionGroup,
15112        action_name: *const c_char,
15113    ) -> gboolean;
15114    pub fn g_action_group_get_action_parameter_type(
15115        action_group: *mut GActionGroup,
15116        action_name: *const c_char,
15117    ) -> *const glib::GVariantType;
15118    pub fn g_action_group_get_action_state(
15119        action_group: *mut GActionGroup,
15120        action_name: *const c_char,
15121    ) -> *mut glib::GVariant;
15122    pub fn g_action_group_get_action_state_hint(
15123        action_group: *mut GActionGroup,
15124        action_name: *const c_char,
15125    ) -> *mut glib::GVariant;
15126    pub fn g_action_group_get_action_state_type(
15127        action_group: *mut GActionGroup,
15128        action_name: *const c_char,
15129    ) -> *const glib::GVariantType;
15130    pub fn g_action_group_has_action(
15131        action_group: *mut GActionGroup,
15132        action_name: *const c_char,
15133    ) -> gboolean;
15134    pub fn g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut c_char;
15135    pub fn g_action_group_query_action(
15136        action_group: *mut GActionGroup,
15137        action_name: *const c_char,
15138        enabled: *mut gboolean,
15139        parameter_type: *mut *const glib::GVariantType,
15140        state_type: *mut *const glib::GVariantType,
15141        state_hint: *mut *mut glib::GVariant,
15142        state: *mut *mut glib::GVariant,
15143    ) -> gboolean;
15144
15145    //=========================================================================
15146    // GActionMap
15147    //=========================================================================
15148    pub fn g_action_map_get_type() -> GType;
15149    pub fn g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction);
15150    pub fn g_action_map_add_action_entries(
15151        action_map: *mut GActionMap,
15152        entries: *const GActionEntry,
15153        n_entries: c_int,
15154        user_data: gpointer,
15155    );
15156    pub fn g_action_map_lookup_action(
15157        action_map: *mut GActionMap,
15158        action_name: *const c_char,
15159    ) -> *mut GAction;
15160    pub fn g_action_map_remove_action(action_map: *mut GActionMap, action_name: *const c_char);
15161    #[cfg(feature = "v2_78")]
15162    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
15163    pub fn g_action_map_remove_action_entries(
15164        action_map: *mut GActionMap,
15165        entries: *const GActionEntry,
15166        n_entries: c_int,
15167    );
15168
15169    //=========================================================================
15170    // GAppInfo
15171    //=========================================================================
15172    pub fn g_app_info_get_type() -> GType;
15173    pub fn g_app_info_create_from_commandline(
15174        commandline: *const c_char,
15175        application_name: *const c_char,
15176        flags: GAppInfoCreateFlags,
15177        error: *mut *mut glib::GError,
15178    ) -> *mut GAppInfo;
15179    pub fn g_app_info_get_all() -> *mut glib::GList;
15180    pub fn g_app_info_get_all_for_type(content_type: *const c_char) -> *mut glib::GList;
15181    pub fn g_app_info_get_default_for_type(
15182        content_type: *const c_char,
15183        must_support_uris: gboolean,
15184    ) -> *mut GAppInfo;
15185    #[cfg(feature = "v2_74")]
15186    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15187    pub fn g_app_info_get_default_for_type_async(
15188        content_type: *const c_char,
15189        must_support_uris: gboolean,
15190        cancellable: *mut GCancellable,
15191        callback: GAsyncReadyCallback,
15192        user_data: gpointer,
15193    );
15194    #[cfg(feature = "v2_74")]
15195    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15196    pub fn g_app_info_get_default_for_type_finish(
15197        result: *mut GAsyncResult,
15198        error: *mut *mut glib::GError,
15199    ) -> *mut GAppInfo;
15200    pub fn g_app_info_get_default_for_uri_scheme(uri_scheme: *const c_char) -> *mut GAppInfo;
15201    #[cfg(feature = "v2_74")]
15202    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15203    pub fn g_app_info_get_default_for_uri_scheme_async(
15204        uri_scheme: *const c_char,
15205        cancellable: *mut GCancellable,
15206        callback: GAsyncReadyCallback,
15207        user_data: gpointer,
15208    );
15209    #[cfg(feature = "v2_74")]
15210    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15211    pub fn g_app_info_get_default_for_uri_scheme_finish(
15212        result: *mut GAsyncResult,
15213        error: *mut *mut glib::GError,
15214    ) -> *mut GAppInfo;
15215    pub fn g_app_info_get_fallback_for_type(content_type: *const c_char) -> *mut glib::GList;
15216    pub fn g_app_info_get_recommended_for_type(content_type: *const c_char) -> *mut glib::GList;
15217    pub fn g_app_info_launch_default_for_uri(
15218        uri: *const c_char,
15219        context: *mut GAppLaunchContext,
15220        error: *mut *mut glib::GError,
15221    ) -> gboolean;
15222    pub fn g_app_info_launch_default_for_uri_async(
15223        uri: *const c_char,
15224        context: *mut GAppLaunchContext,
15225        cancellable: *mut GCancellable,
15226        callback: GAsyncReadyCallback,
15227        user_data: gpointer,
15228    );
15229    pub fn g_app_info_launch_default_for_uri_finish(
15230        result: *mut GAsyncResult,
15231        error: *mut *mut glib::GError,
15232    ) -> gboolean;
15233    pub fn g_app_info_reset_type_associations(content_type: *const c_char);
15234    pub fn g_app_info_add_supports_type(
15235        appinfo: *mut GAppInfo,
15236        content_type: *const c_char,
15237        error: *mut *mut glib::GError,
15238    ) -> gboolean;
15239    pub fn g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean;
15240    pub fn g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean;
15241    pub fn g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean;
15242    pub fn g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo;
15243    pub fn g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean;
15244    pub fn g_app_info_get_commandline(appinfo: *mut GAppInfo) -> *const c_char;
15245    pub fn g_app_info_get_description(appinfo: *mut GAppInfo) -> *const c_char;
15246    pub fn g_app_info_get_display_name(appinfo: *mut GAppInfo) -> *const c_char;
15247    pub fn g_app_info_get_executable(appinfo: *mut GAppInfo) -> *const c_char;
15248    pub fn g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon;
15249    pub fn g_app_info_get_id(appinfo: *mut GAppInfo) -> *const c_char;
15250    pub fn g_app_info_get_name(appinfo: *mut GAppInfo) -> *const c_char;
15251    pub fn g_app_info_get_supported_types(appinfo: *mut GAppInfo) -> *mut *const c_char;
15252    pub fn g_app_info_launch(
15253        appinfo: *mut GAppInfo,
15254        files: *mut glib::GList,
15255        context: *mut GAppLaunchContext,
15256        error: *mut *mut glib::GError,
15257    ) -> gboolean;
15258    pub fn g_app_info_launch_uris(
15259        appinfo: *mut GAppInfo,
15260        uris: *mut glib::GList,
15261        context: *mut GAppLaunchContext,
15262        error: *mut *mut glib::GError,
15263    ) -> gboolean;
15264    #[cfg(feature = "v2_60")]
15265    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15266    pub fn g_app_info_launch_uris_async(
15267        appinfo: *mut GAppInfo,
15268        uris: *mut glib::GList,
15269        context: *mut GAppLaunchContext,
15270        cancellable: *mut GCancellable,
15271        callback: GAsyncReadyCallback,
15272        user_data: gpointer,
15273    );
15274    #[cfg(feature = "v2_60")]
15275    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15276    pub fn g_app_info_launch_uris_finish(
15277        appinfo: *mut GAppInfo,
15278        result: *mut GAsyncResult,
15279        error: *mut *mut glib::GError,
15280    ) -> gboolean;
15281    pub fn g_app_info_remove_supports_type(
15282        appinfo: *mut GAppInfo,
15283        content_type: *const c_char,
15284        error: *mut *mut glib::GError,
15285    ) -> gboolean;
15286    pub fn g_app_info_set_as_default_for_extension(
15287        appinfo: *mut GAppInfo,
15288        extension: *const c_char,
15289        error: *mut *mut glib::GError,
15290    ) -> gboolean;
15291    pub fn g_app_info_set_as_default_for_type(
15292        appinfo: *mut GAppInfo,
15293        content_type: *const c_char,
15294        error: *mut *mut glib::GError,
15295    ) -> gboolean;
15296    pub fn g_app_info_set_as_last_used_for_type(
15297        appinfo: *mut GAppInfo,
15298        content_type: *const c_char,
15299        error: *mut *mut glib::GError,
15300    ) -> gboolean;
15301    pub fn g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean;
15302    pub fn g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean;
15303    pub fn g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean;
15304
15305    //=========================================================================
15306    // GAsyncInitable
15307    //=========================================================================
15308    pub fn g_async_initable_get_type() -> GType;
15309    pub fn g_async_initable_new_async(
15310        object_type: GType,
15311        io_priority: c_int,
15312        cancellable: *mut GCancellable,
15313        callback: GAsyncReadyCallback,
15314        user_data: gpointer,
15315        first_property_name: *const c_char,
15316        ...
15317    );
15318    //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);
15319    pub fn g_async_initable_newv_async(
15320        object_type: GType,
15321        n_parameters: c_uint,
15322        parameters: *mut gobject::GParameter,
15323        io_priority: c_int,
15324        cancellable: *mut GCancellable,
15325        callback: GAsyncReadyCallback,
15326        user_data: gpointer,
15327    );
15328    pub fn g_async_initable_init_async(
15329        initable: *mut GAsyncInitable,
15330        io_priority: c_int,
15331        cancellable: *mut GCancellable,
15332        callback: GAsyncReadyCallback,
15333        user_data: gpointer,
15334    );
15335    pub fn g_async_initable_init_finish(
15336        initable: *mut GAsyncInitable,
15337        res: *mut GAsyncResult,
15338        error: *mut *mut glib::GError,
15339    ) -> gboolean;
15340    pub fn g_async_initable_new_finish(
15341        initable: *mut GAsyncInitable,
15342        res: *mut GAsyncResult,
15343        error: *mut *mut glib::GError,
15344    ) -> *mut gobject::GObject;
15345
15346    //=========================================================================
15347    // GAsyncResult
15348    //=========================================================================
15349    pub fn g_async_result_get_type() -> GType;
15350    pub fn g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut gobject::GObject;
15351    pub fn g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer;
15352    pub fn g_async_result_is_tagged(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean;
15353    pub fn g_async_result_legacy_propagate_error(
15354        res: *mut GAsyncResult,
15355        error: *mut *mut glib::GError,
15356    ) -> gboolean;
15357
15358    //=========================================================================
15359    // GConverter
15360    //=========================================================================
15361    pub fn g_converter_get_type() -> GType;
15362    pub fn g_converter_convert(
15363        converter: *mut GConverter,
15364        inbuf: *mut u8,
15365        inbuf_size: size_t,
15366        outbuf: *mut u8,
15367        outbuf_size: size_t,
15368        flags: GConverterFlags,
15369        bytes_read: *mut size_t,
15370        bytes_written: *mut size_t,
15371        error: *mut *mut glib::GError,
15372    ) -> GConverterResult;
15373    #[cfg(feature = "v2_82")]
15374    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15375    pub fn g_converter_convert_bytes(
15376        converter: *mut GConverter,
15377        bytes: *mut glib::GBytes,
15378        error: *mut *mut glib::GError,
15379    ) -> *mut glib::GBytes;
15380    pub fn g_converter_reset(converter: *mut GConverter);
15381
15382    //=========================================================================
15383    // GDBusInterface
15384    //=========================================================================
15385    pub fn g_dbus_interface_get_type() -> GType;
15386    pub fn g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15387    pub fn g_dbus_interface_get_info(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo;
15388    pub fn g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
15389    pub fn g_dbus_interface_set_object(interface_: *mut GDBusInterface, object: *mut GDBusObject);
15390
15391    //=========================================================================
15392    // GDBusObject
15393    //=========================================================================
15394    pub fn g_dbus_object_get_type() -> GType;
15395    pub fn g_dbus_object_get_interface(
15396        object: *mut GDBusObject,
15397        interface_name: *const c_char,
15398    ) -> *mut GDBusInterface;
15399    pub fn g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut glib::GList;
15400    pub fn g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const c_char;
15401
15402    //=========================================================================
15403    // GDBusObjectManager
15404    //=========================================================================
15405    pub fn g_dbus_object_manager_get_type() -> GType;
15406    pub fn g_dbus_object_manager_get_interface(
15407        manager: *mut GDBusObjectManager,
15408        object_path: *const c_char,
15409        interface_name: *const c_char,
15410    ) -> *mut GDBusInterface;
15411    pub fn g_dbus_object_manager_get_object(
15412        manager: *mut GDBusObjectManager,
15413        object_path: *const c_char,
15414    ) -> *mut GDBusObject;
15415    pub fn g_dbus_object_manager_get_object_path(manager: *mut GDBusObjectManager)
15416        -> *const c_char;
15417    pub fn g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager) -> *mut glib::GList;
15418
15419    //=========================================================================
15420    // GDatagramBased
15421    //=========================================================================
15422    pub fn g_datagram_based_get_type() -> GType;
15423    pub fn g_datagram_based_condition_check(
15424        datagram_based: *mut GDatagramBased,
15425        condition: glib::GIOCondition,
15426    ) -> glib::GIOCondition;
15427    pub fn g_datagram_based_condition_wait(
15428        datagram_based: *mut GDatagramBased,
15429        condition: glib::GIOCondition,
15430        timeout: i64,
15431        cancellable: *mut GCancellable,
15432        error: *mut *mut glib::GError,
15433    ) -> gboolean;
15434    pub fn g_datagram_based_create_source(
15435        datagram_based: *mut GDatagramBased,
15436        condition: glib::GIOCondition,
15437        cancellable: *mut GCancellable,
15438    ) -> *mut glib::GSource;
15439    pub fn g_datagram_based_receive_messages(
15440        datagram_based: *mut GDatagramBased,
15441        messages: *mut GInputMessage,
15442        num_messages: c_uint,
15443        flags: c_int,
15444        timeout: i64,
15445        cancellable: *mut GCancellable,
15446        error: *mut *mut glib::GError,
15447    ) -> c_int;
15448    pub fn g_datagram_based_send_messages(
15449        datagram_based: *mut GDatagramBased,
15450        messages: *mut GOutputMessage,
15451        num_messages: c_uint,
15452        flags: c_int,
15453        timeout: i64,
15454        cancellable: *mut GCancellable,
15455        error: *mut *mut glib::GError,
15456    ) -> c_int;
15457
15458    //=========================================================================
15459    // GDebugController
15460    //=========================================================================
15461    #[cfg(feature = "v2_72")]
15462    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15463    pub fn g_debug_controller_get_type() -> GType;
15464    #[cfg(feature = "v2_72")]
15465    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15466    pub fn g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean;
15467    #[cfg(feature = "v2_72")]
15468    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15469    pub fn g_debug_controller_set_debug_enabled(
15470        self_: *mut GDebugController,
15471        debug_enabled: gboolean,
15472    );
15473
15474    //=========================================================================
15475    // GDesktopAppInfoLookup
15476    //=========================================================================
15477    pub fn g_desktop_app_info_lookup_get_type() -> GType;
15478    pub fn g_desktop_app_info_lookup_get_default_for_uri_scheme(
15479        lookup: *mut GDesktopAppInfoLookup,
15480        uri_scheme: *const c_char,
15481    ) -> *mut GAppInfo;
15482
15483    //=========================================================================
15484    // GDrive
15485    //=========================================================================
15486    pub fn g_drive_get_type() -> GType;
15487    pub fn g_drive_can_eject(drive: *mut GDrive) -> gboolean;
15488    pub fn g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean;
15489    pub fn g_drive_can_start(drive: *mut GDrive) -> gboolean;
15490    pub fn g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean;
15491    pub fn g_drive_can_stop(drive: *mut GDrive) -> gboolean;
15492    pub fn g_drive_eject(
15493        drive: *mut GDrive,
15494        flags: GMountUnmountFlags,
15495        cancellable: *mut GCancellable,
15496        callback: GAsyncReadyCallback,
15497        user_data: gpointer,
15498    );
15499    pub fn g_drive_eject_finish(
15500        drive: *mut GDrive,
15501        result: *mut GAsyncResult,
15502        error: *mut *mut glib::GError,
15503    ) -> gboolean;
15504    pub fn g_drive_eject_with_operation(
15505        drive: *mut GDrive,
15506        flags: GMountUnmountFlags,
15507        mount_operation: *mut GMountOperation,
15508        cancellable: *mut GCancellable,
15509        callback: GAsyncReadyCallback,
15510        user_data: gpointer,
15511    );
15512    pub fn g_drive_eject_with_operation_finish(
15513        drive: *mut GDrive,
15514        result: *mut GAsyncResult,
15515        error: *mut *mut glib::GError,
15516    ) -> gboolean;
15517    pub fn g_drive_enumerate_identifiers(drive: *mut GDrive) -> *mut *mut c_char;
15518    pub fn g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon;
15519    pub fn g_drive_get_identifier(drive: *mut GDrive, kind: *const c_char) -> *mut c_char;
15520    pub fn g_drive_get_name(drive: *mut GDrive) -> *mut c_char;
15521    pub fn g_drive_get_sort_key(drive: *mut GDrive) -> *const c_char;
15522    pub fn g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType;
15523    pub fn g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon;
15524    pub fn g_drive_get_volumes(drive: *mut GDrive) -> *mut glib::GList;
15525    pub fn g_drive_has_media(drive: *mut GDrive) -> gboolean;
15526    pub fn g_drive_has_volumes(drive: *mut GDrive) -> gboolean;
15527    pub fn g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean;
15528    pub fn g_drive_is_media_removable(drive: *mut GDrive) -> gboolean;
15529    pub fn g_drive_is_removable(drive: *mut GDrive) -> gboolean;
15530    pub fn g_drive_poll_for_media(
15531        drive: *mut GDrive,
15532        cancellable: *mut GCancellable,
15533        callback: GAsyncReadyCallback,
15534        user_data: gpointer,
15535    );
15536    pub fn g_drive_poll_for_media_finish(
15537        drive: *mut GDrive,
15538        result: *mut GAsyncResult,
15539        error: *mut *mut glib::GError,
15540    ) -> gboolean;
15541    pub fn g_drive_start(
15542        drive: *mut GDrive,
15543        flags: GDriveStartFlags,
15544        mount_operation: *mut GMountOperation,
15545        cancellable: *mut GCancellable,
15546        callback: GAsyncReadyCallback,
15547        user_data: gpointer,
15548    );
15549    pub fn g_drive_start_finish(
15550        drive: *mut GDrive,
15551        result: *mut GAsyncResult,
15552        error: *mut *mut glib::GError,
15553    ) -> gboolean;
15554    pub fn g_drive_stop(
15555        drive: *mut GDrive,
15556        flags: GMountUnmountFlags,
15557        mount_operation: *mut GMountOperation,
15558        cancellable: *mut GCancellable,
15559        callback: GAsyncReadyCallback,
15560        user_data: gpointer,
15561    );
15562    pub fn g_drive_stop_finish(
15563        drive: *mut GDrive,
15564        result: *mut GAsyncResult,
15565        error: *mut *mut glib::GError,
15566    ) -> gboolean;
15567
15568    //=========================================================================
15569    // GDtlsClientConnection
15570    //=========================================================================
15571    pub fn g_dtls_client_connection_get_type() -> GType;
15572    pub fn g_dtls_client_connection_new(
15573        base_socket: *mut GDatagramBased,
15574        server_identity: *mut GSocketConnectable,
15575        error: *mut *mut glib::GError,
15576    ) -> *mut GDtlsClientConnection;
15577    pub fn g_dtls_client_connection_get_accepted_cas(
15578        conn: *mut GDtlsClientConnection,
15579    ) -> *mut glib::GList;
15580    pub fn g_dtls_client_connection_get_server_identity(
15581        conn: *mut GDtlsClientConnection,
15582    ) -> *mut GSocketConnectable;
15583    pub fn g_dtls_client_connection_get_validation_flags(
15584        conn: *mut GDtlsClientConnection,
15585    ) -> GTlsCertificateFlags;
15586    pub fn g_dtls_client_connection_set_server_identity(
15587        conn: *mut GDtlsClientConnection,
15588        identity: *mut GSocketConnectable,
15589    );
15590    pub fn g_dtls_client_connection_set_validation_flags(
15591        conn: *mut GDtlsClientConnection,
15592        flags: GTlsCertificateFlags,
15593    );
15594
15595    //=========================================================================
15596    // GDtlsConnection
15597    //=========================================================================
15598    pub fn g_dtls_connection_get_type() -> GType;
15599    pub fn g_dtls_connection_close(
15600        conn: *mut GDtlsConnection,
15601        cancellable: *mut GCancellable,
15602        error: *mut *mut glib::GError,
15603    ) -> gboolean;
15604    pub fn g_dtls_connection_close_async(
15605        conn: *mut GDtlsConnection,
15606        io_priority: c_int,
15607        cancellable: *mut GCancellable,
15608        callback: GAsyncReadyCallback,
15609        user_data: gpointer,
15610    );
15611    pub fn g_dtls_connection_close_finish(
15612        conn: *mut GDtlsConnection,
15613        result: *mut GAsyncResult,
15614        error: *mut *mut glib::GError,
15615    ) -> gboolean;
15616    pub fn g_dtls_connection_emit_accept_certificate(
15617        conn: *mut GDtlsConnection,
15618        peer_cert: *mut GTlsCertificate,
15619        errors: GTlsCertificateFlags,
15620    ) -> gboolean;
15621    pub fn g_dtls_connection_get_certificate(conn: *mut GDtlsConnection) -> *mut GTlsCertificate;
15622    #[cfg(feature = "v2_66")]
15623    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
15624    pub fn g_dtls_connection_get_channel_binding_data(
15625        conn: *mut GDtlsConnection,
15626        type_: GTlsChannelBindingType,
15627        data: *mut glib::GByteArray,
15628        error: *mut *mut glib::GError,
15629    ) -> gboolean;
15630    #[cfg(feature = "v2_70")]
15631    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15632    pub fn g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut c_char;
15633    pub fn g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase;
15634    pub fn g_dtls_connection_get_interaction(conn: *mut GDtlsConnection) -> *mut GTlsInteraction;
15635    #[cfg(feature = "v2_60")]
15636    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15637    pub fn g_dtls_connection_get_negotiated_protocol(conn: *mut GDtlsConnection) -> *const c_char;
15638    pub fn g_dtls_connection_get_peer_certificate(
15639        conn: *mut GDtlsConnection,
15640    ) -> *mut GTlsCertificate;
15641    pub fn g_dtls_connection_get_peer_certificate_errors(
15642        conn: *mut GDtlsConnection,
15643    ) -> GTlsCertificateFlags;
15644    #[cfg(feature = "v2_70")]
15645    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15646    pub fn g_dtls_connection_get_protocol_version(
15647        conn: *mut GDtlsConnection,
15648    ) -> GTlsProtocolVersion;
15649    pub fn g_dtls_connection_get_rehandshake_mode(
15650        conn: *mut GDtlsConnection,
15651    ) -> GTlsRehandshakeMode;
15652    pub fn g_dtls_connection_get_require_close_notify(conn: *mut GDtlsConnection) -> gboolean;
15653    pub fn g_dtls_connection_handshake(
15654        conn: *mut GDtlsConnection,
15655        cancellable: *mut GCancellable,
15656        error: *mut *mut glib::GError,
15657    ) -> gboolean;
15658    pub fn g_dtls_connection_handshake_async(
15659        conn: *mut GDtlsConnection,
15660        io_priority: c_int,
15661        cancellable: *mut GCancellable,
15662        callback: GAsyncReadyCallback,
15663        user_data: gpointer,
15664    );
15665    pub fn g_dtls_connection_handshake_finish(
15666        conn: *mut GDtlsConnection,
15667        result: *mut GAsyncResult,
15668        error: *mut *mut glib::GError,
15669    ) -> gboolean;
15670    #[cfg(feature = "v2_60")]
15671    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15672    pub fn g_dtls_connection_set_advertised_protocols(
15673        conn: *mut GDtlsConnection,
15674        protocols: *const *const c_char,
15675    );
15676    pub fn g_dtls_connection_set_certificate(
15677        conn: *mut GDtlsConnection,
15678        certificate: *mut GTlsCertificate,
15679    );
15680    pub fn g_dtls_connection_set_database(conn: *mut GDtlsConnection, database: *mut GTlsDatabase);
15681    pub fn g_dtls_connection_set_interaction(
15682        conn: *mut GDtlsConnection,
15683        interaction: *mut GTlsInteraction,
15684    );
15685    pub fn g_dtls_connection_set_rehandshake_mode(
15686        conn: *mut GDtlsConnection,
15687        mode: GTlsRehandshakeMode,
15688    );
15689    pub fn g_dtls_connection_set_require_close_notify(
15690        conn: *mut GDtlsConnection,
15691        require_close_notify: gboolean,
15692    );
15693    pub fn g_dtls_connection_shutdown(
15694        conn: *mut GDtlsConnection,
15695        shutdown_read: gboolean,
15696        shutdown_write: gboolean,
15697        cancellable: *mut GCancellable,
15698        error: *mut *mut glib::GError,
15699    ) -> gboolean;
15700    pub fn g_dtls_connection_shutdown_async(
15701        conn: *mut GDtlsConnection,
15702        shutdown_read: gboolean,
15703        shutdown_write: gboolean,
15704        io_priority: c_int,
15705        cancellable: *mut GCancellable,
15706        callback: GAsyncReadyCallback,
15707        user_data: gpointer,
15708    );
15709    pub fn g_dtls_connection_shutdown_finish(
15710        conn: *mut GDtlsConnection,
15711        result: *mut GAsyncResult,
15712        error: *mut *mut glib::GError,
15713    ) -> gboolean;
15714
15715    //=========================================================================
15716    // GDtlsServerConnection
15717    //=========================================================================
15718    pub fn g_dtls_server_connection_get_type() -> GType;
15719    pub fn g_dtls_server_connection_new(
15720        base_socket: *mut GDatagramBased,
15721        certificate: *mut GTlsCertificate,
15722        error: *mut *mut glib::GError,
15723    ) -> *mut GDtlsServerConnection;
15724
15725    //=========================================================================
15726    // GFile
15727    //=========================================================================
15728    pub fn g_file_get_type() -> GType;
15729    pub fn g_file_new_build_filename(first_element: *const c_char, ...) -> *mut GFile;
15730    #[cfg(feature = "v2_78")]
15731    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
15732    pub fn g_file_new_build_filenamev(args: *const *const c_char) -> *mut GFile;
15733    pub fn g_file_new_for_commandline_arg(arg: *const c_char) -> *mut GFile;
15734    pub fn g_file_new_for_commandline_arg_and_cwd(
15735        arg: *const c_char,
15736        cwd: *const c_char,
15737    ) -> *mut GFile;
15738    pub fn g_file_new_for_path(path: *const c_char) -> *mut GFile;
15739    pub fn g_file_new_for_uri(uri: *const c_char) -> *mut GFile;
15740    pub fn g_file_new_tmp(
15741        tmpl: *const c_char,
15742        iostream: *mut *mut GFileIOStream,
15743        error: *mut *mut glib::GError,
15744    ) -> *mut GFile;
15745    #[cfg(feature = "v2_74")]
15746    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15747    pub fn g_file_new_tmp_async(
15748        tmpl: *const c_char,
15749        io_priority: c_int,
15750        cancellable: *mut GCancellable,
15751        callback: GAsyncReadyCallback,
15752        user_data: gpointer,
15753    );
15754    #[cfg(feature = "v2_74")]
15755    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15756    pub fn g_file_new_tmp_dir_async(
15757        tmpl: *const c_char,
15758        io_priority: c_int,
15759        cancellable: *mut GCancellable,
15760        callback: GAsyncReadyCallback,
15761        user_data: gpointer,
15762    );
15763    #[cfg(feature = "v2_74")]
15764    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15765    pub fn g_file_new_tmp_dir_finish(
15766        result: *mut GAsyncResult,
15767        error: *mut *mut glib::GError,
15768    ) -> *mut GFile;
15769    #[cfg(feature = "v2_74")]
15770    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15771    pub fn g_file_new_tmp_finish(
15772        result: *mut GAsyncResult,
15773        iostream: *mut *mut GFileIOStream,
15774        error: *mut *mut glib::GError,
15775    ) -> *mut GFile;
15776    pub fn g_file_parse_name(parse_name: *const c_char) -> *mut GFile;
15777    pub fn g_file_append_to(
15778        file: *mut GFile,
15779        flags: GFileCreateFlags,
15780        cancellable: *mut GCancellable,
15781        error: *mut *mut glib::GError,
15782    ) -> *mut GFileOutputStream;
15783    pub fn g_file_append_to_async(
15784        file: *mut GFile,
15785        flags: GFileCreateFlags,
15786        io_priority: c_int,
15787        cancellable: *mut GCancellable,
15788        callback: GAsyncReadyCallback,
15789        user_data: gpointer,
15790    );
15791    pub fn g_file_append_to_finish(
15792        file: *mut GFile,
15793        res: *mut GAsyncResult,
15794        error: *mut *mut glib::GError,
15795    ) -> *mut GFileOutputStream;
15796    #[cfg(feature = "v2_68")]
15797    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
15798    pub fn g_file_build_attribute_list_for_copy(
15799        file: *mut GFile,
15800        flags: GFileCopyFlags,
15801        cancellable: *mut GCancellable,
15802        error: *mut *mut glib::GError,
15803    ) -> *mut c_char;
15804    pub fn g_file_copy(
15805        source: *mut GFile,
15806        destination: *mut GFile,
15807        flags: GFileCopyFlags,
15808        cancellable: *mut GCancellable,
15809        progress_callback: GFileProgressCallback,
15810        progress_callback_data: gpointer,
15811        error: *mut *mut glib::GError,
15812    ) -> gboolean;
15813    pub fn g_file_copy_async(
15814        source: *mut GFile,
15815        destination: *mut GFile,
15816        flags: GFileCopyFlags,
15817        io_priority: c_int,
15818        cancellable: *mut GCancellable,
15819        progress_callback: GFileProgressCallback,
15820        progress_callback_data: gpointer,
15821        callback: GAsyncReadyCallback,
15822        user_data: gpointer,
15823    );
15824    #[cfg(feature = "v2_82")]
15825    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15826    pub fn g_file_copy_async_with_closures(
15827        source: *mut GFile,
15828        destination: *mut GFile,
15829        flags: GFileCopyFlags,
15830        io_priority: c_int,
15831        cancellable: *mut GCancellable,
15832        progress_callback_closure: *mut gobject::GClosure,
15833        ready_callback_closure: *mut gobject::GClosure,
15834    );
15835    pub fn g_file_copy_attributes(
15836        source: *mut GFile,
15837        destination: *mut GFile,
15838        flags: GFileCopyFlags,
15839        cancellable: *mut GCancellable,
15840        error: *mut *mut glib::GError,
15841    ) -> gboolean;
15842    pub fn g_file_copy_finish(
15843        file: *mut GFile,
15844        res: *mut GAsyncResult,
15845        error: *mut *mut glib::GError,
15846    ) -> gboolean;
15847    pub fn g_file_create(
15848        file: *mut GFile,
15849        flags: GFileCreateFlags,
15850        cancellable: *mut GCancellable,
15851        error: *mut *mut glib::GError,
15852    ) -> *mut GFileOutputStream;
15853    pub fn g_file_create_async(
15854        file: *mut GFile,
15855        flags: GFileCreateFlags,
15856        io_priority: c_int,
15857        cancellable: *mut GCancellable,
15858        callback: GAsyncReadyCallback,
15859        user_data: gpointer,
15860    );
15861    pub fn g_file_create_finish(
15862        file: *mut GFile,
15863        res: *mut GAsyncResult,
15864        error: *mut *mut glib::GError,
15865    ) -> *mut GFileOutputStream;
15866    pub fn g_file_create_readwrite(
15867        file: *mut GFile,
15868        flags: GFileCreateFlags,
15869        cancellable: *mut GCancellable,
15870        error: *mut *mut glib::GError,
15871    ) -> *mut GFileIOStream;
15872    pub fn g_file_create_readwrite_async(
15873        file: *mut GFile,
15874        flags: GFileCreateFlags,
15875        io_priority: c_int,
15876        cancellable: *mut GCancellable,
15877        callback: GAsyncReadyCallback,
15878        user_data: gpointer,
15879    );
15880    pub fn g_file_create_readwrite_finish(
15881        file: *mut GFile,
15882        res: *mut GAsyncResult,
15883        error: *mut *mut glib::GError,
15884    ) -> *mut GFileIOStream;
15885    pub fn g_file_delete(
15886        file: *mut GFile,
15887        cancellable: *mut GCancellable,
15888        error: *mut *mut glib::GError,
15889    ) -> gboolean;
15890    pub fn g_file_delete_async(
15891        file: *mut GFile,
15892        io_priority: c_int,
15893        cancellable: *mut GCancellable,
15894        callback: GAsyncReadyCallback,
15895        user_data: gpointer,
15896    );
15897    pub fn g_file_delete_finish(
15898        file: *mut GFile,
15899        result: *mut GAsyncResult,
15900        error: *mut *mut glib::GError,
15901    ) -> gboolean;
15902    pub fn g_file_dup(file: *mut GFile) -> *mut GFile;
15903    pub fn g_file_eject_mountable(
15904        file: *mut GFile,
15905        flags: GMountUnmountFlags,
15906        cancellable: *mut GCancellable,
15907        callback: GAsyncReadyCallback,
15908        user_data: gpointer,
15909    );
15910    pub fn g_file_eject_mountable_finish(
15911        file: *mut GFile,
15912        result: *mut GAsyncResult,
15913        error: *mut *mut glib::GError,
15914    ) -> gboolean;
15915    pub fn g_file_eject_mountable_with_operation(
15916        file: *mut GFile,
15917        flags: GMountUnmountFlags,
15918        mount_operation: *mut GMountOperation,
15919        cancellable: *mut GCancellable,
15920        callback: GAsyncReadyCallback,
15921        user_data: gpointer,
15922    );
15923    pub fn g_file_eject_mountable_with_operation_finish(
15924        file: *mut GFile,
15925        result: *mut GAsyncResult,
15926        error: *mut *mut glib::GError,
15927    ) -> gboolean;
15928    pub fn g_file_enumerate_children(
15929        file: *mut GFile,
15930        attributes: *const c_char,
15931        flags: GFileQueryInfoFlags,
15932        cancellable: *mut GCancellable,
15933        error: *mut *mut glib::GError,
15934    ) -> *mut GFileEnumerator;
15935    pub fn g_file_enumerate_children_async(
15936        file: *mut GFile,
15937        attributes: *const c_char,
15938        flags: GFileQueryInfoFlags,
15939        io_priority: c_int,
15940        cancellable: *mut GCancellable,
15941        callback: GAsyncReadyCallback,
15942        user_data: gpointer,
15943    );
15944    pub fn g_file_enumerate_children_finish(
15945        file: *mut GFile,
15946        res: *mut GAsyncResult,
15947        error: *mut *mut glib::GError,
15948    ) -> *mut GFileEnumerator;
15949    pub fn g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean;
15950    pub fn g_file_find_enclosing_mount(
15951        file: *mut GFile,
15952        cancellable: *mut GCancellable,
15953        error: *mut *mut glib::GError,
15954    ) -> *mut GMount;
15955    pub fn g_file_find_enclosing_mount_async(
15956        file: *mut GFile,
15957        io_priority: c_int,
15958        cancellable: *mut GCancellable,
15959        callback: GAsyncReadyCallback,
15960        user_data: gpointer,
15961    );
15962    pub fn g_file_find_enclosing_mount_finish(
15963        file: *mut GFile,
15964        res: *mut GAsyncResult,
15965        error: *mut *mut glib::GError,
15966    ) -> *mut GMount;
15967    pub fn g_file_get_basename(file: *mut GFile) -> *mut c_char;
15968    pub fn g_file_get_child(file: *mut GFile, name: *const c_char) -> *mut GFile;
15969    pub fn g_file_get_child_for_display_name(
15970        file: *mut GFile,
15971        display_name: *const c_char,
15972        error: *mut *mut glib::GError,
15973    ) -> *mut GFile;
15974    pub fn g_file_get_parent(file: *mut GFile) -> *mut GFile;
15975    pub fn g_file_get_parse_name(file: *mut GFile) -> *mut c_char;
15976    pub fn g_file_get_path(file: *mut GFile) -> *mut c_char;
15977    pub fn g_file_get_relative_path(parent: *mut GFile, descendant: *mut GFile) -> *mut c_char;
15978    pub fn g_file_get_uri(file: *mut GFile) -> *mut c_char;
15979    pub fn g_file_get_uri_scheme(file: *mut GFile) -> *mut c_char;
15980    pub fn g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean;
15981    pub fn g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean;
15982    pub fn g_file_has_uri_scheme(file: *mut GFile, uri_scheme: *const c_char) -> gboolean;
15983    pub fn g_file_hash(file: gconstpointer) -> c_uint;
15984    pub fn g_file_is_native(file: *mut GFile) -> gboolean;
15985    pub fn g_file_load_bytes(
15986        file: *mut GFile,
15987        cancellable: *mut GCancellable,
15988        etag_out: *mut *mut c_char,
15989        error: *mut *mut glib::GError,
15990    ) -> *mut glib::GBytes;
15991    pub fn g_file_load_bytes_async(
15992        file: *mut GFile,
15993        cancellable: *mut GCancellable,
15994        callback: GAsyncReadyCallback,
15995        user_data: gpointer,
15996    );
15997    pub fn g_file_load_bytes_finish(
15998        file: *mut GFile,
15999        result: *mut GAsyncResult,
16000        etag_out: *mut *mut c_char,
16001        error: *mut *mut glib::GError,
16002    ) -> *mut glib::GBytes;
16003    pub fn g_file_load_contents(
16004        file: *mut GFile,
16005        cancellable: *mut GCancellable,
16006        contents: *mut *mut u8,
16007        length: *mut size_t,
16008        etag_out: *mut *mut c_char,
16009        error: *mut *mut glib::GError,
16010    ) -> gboolean;
16011    pub fn g_file_load_contents_async(
16012        file: *mut GFile,
16013        cancellable: *mut GCancellable,
16014        callback: GAsyncReadyCallback,
16015        user_data: gpointer,
16016    );
16017    pub fn g_file_load_contents_finish(
16018        file: *mut GFile,
16019        res: *mut GAsyncResult,
16020        contents: *mut *mut u8,
16021        length: *mut size_t,
16022        etag_out: *mut *mut c_char,
16023        error: *mut *mut glib::GError,
16024    ) -> gboolean;
16025    pub fn g_file_load_partial_contents_async(
16026        file: *mut GFile,
16027        cancellable: *mut GCancellable,
16028        read_more_callback: GFileReadMoreCallback,
16029        callback: GAsyncReadyCallback,
16030        user_data: gpointer,
16031    );
16032    pub fn g_file_load_partial_contents_finish(
16033        file: *mut GFile,
16034        res: *mut GAsyncResult,
16035        contents: *mut *mut u8,
16036        length: *mut size_t,
16037        etag_out: *mut *mut c_char,
16038        error: *mut *mut glib::GError,
16039    ) -> gboolean;
16040    pub fn g_file_make_directory(
16041        file: *mut GFile,
16042        cancellable: *mut GCancellable,
16043        error: *mut *mut glib::GError,
16044    ) -> gboolean;
16045    pub fn g_file_make_directory_async(
16046        file: *mut GFile,
16047        io_priority: c_int,
16048        cancellable: *mut GCancellable,
16049        callback: GAsyncReadyCallback,
16050        user_data: gpointer,
16051    );
16052    pub fn g_file_make_directory_finish(
16053        file: *mut GFile,
16054        result: *mut GAsyncResult,
16055        error: *mut *mut glib::GError,
16056    ) -> gboolean;
16057    pub fn g_file_make_directory_with_parents(
16058        file: *mut GFile,
16059        cancellable: *mut GCancellable,
16060        error: *mut *mut glib::GError,
16061    ) -> gboolean;
16062    pub fn g_file_make_symbolic_link(
16063        file: *mut GFile,
16064        symlink_value: *const c_char,
16065        cancellable: *mut GCancellable,
16066        error: *mut *mut glib::GError,
16067    ) -> gboolean;
16068    #[cfg(feature = "v2_74")]
16069    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
16070    pub fn g_file_make_symbolic_link_async(
16071        file: *mut GFile,
16072        symlink_value: *const c_char,
16073        io_priority: c_int,
16074        cancellable: *mut GCancellable,
16075        callback: GAsyncReadyCallback,
16076        user_data: gpointer,
16077    );
16078    #[cfg(feature = "v2_74")]
16079    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
16080    pub fn g_file_make_symbolic_link_finish(
16081        file: *mut GFile,
16082        result: *mut GAsyncResult,
16083        error: *mut *mut glib::GError,
16084    ) -> gboolean;
16085    pub fn g_file_measure_disk_usage(
16086        file: *mut GFile,
16087        flags: GFileMeasureFlags,
16088        cancellable: *mut GCancellable,
16089        progress_callback: GFileMeasureProgressCallback,
16090        progress_data: gpointer,
16091        disk_usage: *mut u64,
16092        num_dirs: *mut u64,
16093        num_files: *mut u64,
16094        error: *mut *mut glib::GError,
16095    ) -> gboolean;
16096    pub fn g_file_measure_disk_usage_async(
16097        file: *mut GFile,
16098        flags: GFileMeasureFlags,
16099        io_priority: c_int,
16100        cancellable: *mut GCancellable,
16101        progress_callback: GFileMeasureProgressCallback,
16102        progress_data: gpointer,
16103        callback: GAsyncReadyCallback,
16104        user_data: gpointer,
16105    );
16106    pub fn g_file_measure_disk_usage_finish(
16107        file: *mut GFile,
16108        result: *mut GAsyncResult,
16109        disk_usage: *mut u64,
16110        num_dirs: *mut u64,
16111        num_files: *mut u64,
16112        error: *mut *mut glib::GError,
16113    ) -> gboolean;
16114    pub fn g_file_monitor(
16115        file: *mut GFile,
16116        flags: GFileMonitorFlags,
16117        cancellable: *mut GCancellable,
16118        error: *mut *mut glib::GError,
16119    ) -> *mut GFileMonitor;
16120    pub fn g_file_monitor_directory(
16121        file: *mut GFile,
16122        flags: GFileMonitorFlags,
16123        cancellable: *mut GCancellable,
16124        error: *mut *mut glib::GError,
16125    ) -> *mut GFileMonitor;
16126    pub fn g_file_monitor_file(
16127        file: *mut GFile,
16128        flags: GFileMonitorFlags,
16129        cancellable: *mut GCancellable,
16130        error: *mut *mut glib::GError,
16131    ) -> *mut GFileMonitor;
16132    pub fn g_file_mount_enclosing_volume(
16133        location: *mut GFile,
16134        flags: GMountMountFlags,
16135        mount_operation: *mut GMountOperation,
16136        cancellable: *mut GCancellable,
16137        callback: GAsyncReadyCallback,
16138        user_data: gpointer,
16139    );
16140    pub fn g_file_mount_enclosing_volume_finish(
16141        location: *mut GFile,
16142        result: *mut GAsyncResult,
16143        error: *mut *mut glib::GError,
16144    ) -> gboolean;
16145    pub fn g_file_mount_mountable(
16146        file: *mut GFile,
16147        flags: GMountMountFlags,
16148        mount_operation: *mut GMountOperation,
16149        cancellable: *mut GCancellable,
16150        callback: GAsyncReadyCallback,
16151        user_data: gpointer,
16152    );
16153    pub fn g_file_mount_mountable_finish(
16154        file: *mut GFile,
16155        result: *mut GAsyncResult,
16156        error: *mut *mut glib::GError,
16157    ) -> *mut GFile;
16158    pub fn g_file_move(
16159        source: *mut GFile,
16160        destination: *mut GFile,
16161        flags: GFileCopyFlags,
16162        cancellable: *mut GCancellable,
16163        progress_callback: GFileProgressCallback,
16164        progress_callback_data: gpointer,
16165        error: *mut *mut glib::GError,
16166    ) -> gboolean;
16167    #[cfg(feature = "v2_72")]
16168    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
16169    pub fn g_file_move_async(
16170        source: *mut GFile,
16171        destination: *mut GFile,
16172        flags: GFileCopyFlags,
16173        io_priority: c_int,
16174        cancellable: *mut GCancellable,
16175        progress_callback: GFileProgressCallback,
16176        progress_callback_data: gpointer,
16177        callback: GAsyncReadyCallback,
16178        user_data: gpointer,
16179    );
16180    #[cfg(feature = "v2_82")]
16181    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
16182    pub fn g_file_move_async_with_closures(
16183        source: *mut GFile,
16184        destination: *mut GFile,
16185        flags: GFileCopyFlags,
16186        io_priority: c_int,
16187        cancellable: *mut GCancellable,
16188        progress_callback_closure: *mut gobject::GClosure,
16189        ready_callback_closure: *mut gobject::GClosure,
16190    );
16191    #[cfg(feature = "v2_72")]
16192    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
16193    pub fn g_file_move_finish(
16194        file: *mut GFile,
16195        result: *mut GAsyncResult,
16196        error: *mut *mut glib::GError,
16197    ) -> gboolean;
16198    pub fn g_file_open_readwrite(
16199        file: *mut GFile,
16200        cancellable: *mut GCancellable,
16201        error: *mut *mut glib::GError,
16202    ) -> *mut GFileIOStream;
16203    pub fn g_file_open_readwrite_async(
16204        file: *mut GFile,
16205        io_priority: c_int,
16206        cancellable: *mut GCancellable,
16207        callback: GAsyncReadyCallback,
16208        user_data: gpointer,
16209    );
16210    pub fn g_file_open_readwrite_finish(
16211        file: *mut GFile,
16212        res: *mut GAsyncResult,
16213        error: *mut *mut glib::GError,
16214    ) -> *mut GFileIOStream;
16215    pub fn g_file_peek_path(file: *mut GFile) -> *const c_char;
16216    pub fn g_file_poll_mountable(
16217        file: *mut GFile,
16218        cancellable: *mut GCancellable,
16219        callback: GAsyncReadyCallback,
16220        user_data: gpointer,
16221    );
16222    pub fn g_file_poll_mountable_finish(
16223        file: *mut GFile,
16224        result: *mut GAsyncResult,
16225        error: *mut *mut glib::GError,
16226    ) -> gboolean;
16227    pub fn g_file_query_default_handler(
16228        file: *mut GFile,
16229        cancellable: *mut GCancellable,
16230        error: *mut *mut glib::GError,
16231    ) -> *mut GAppInfo;
16232    #[cfg(feature = "v2_60")]
16233    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16234    pub fn g_file_query_default_handler_async(
16235        file: *mut GFile,
16236        io_priority: c_int,
16237        cancellable: *mut GCancellable,
16238        callback: GAsyncReadyCallback,
16239        user_data: gpointer,
16240    );
16241    #[cfg(feature = "v2_60")]
16242    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16243    pub fn g_file_query_default_handler_finish(
16244        file: *mut GFile,
16245        result: *mut GAsyncResult,
16246        error: *mut *mut glib::GError,
16247    ) -> *mut GAppInfo;
16248    pub fn g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable) -> gboolean;
16249    pub fn g_file_query_file_type(
16250        file: *mut GFile,
16251        flags: GFileQueryInfoFlags,
16252        cancellable: *mut GCancellable,
16253    ) -> GFileType;
16254    pub fn g_file_query_filesystem_info(
16255        file: *mut GFile,
16256        attributes: *const c_char,
16257        cancellable: *mut GCancellable,
16258        error: *mut *mut glib::GError,
16259    ) -> *mut GFileInfo;
16260    pub fn g_file_query_filesystem_info_async(
16261        file: *mut GFile,
16262        attributes: *const c_char,
16263        io_priority: c_int,
16264        cancellable: *mut GCancellable,
16265        callback: GAsyncReadyCallback,
16266        user_data: gpointer,
16267    );
16268    pub fn g_file_query_filesystem_info_finish(
16269        file: *mut GFile,
16270        res: *mut GAsyncResult,
16271        error: *mut *mut glib::GError,
16272    ) -> *mut GFileInfo;
16273    pub fn g_file_query_info(
16274        file: *mut GFile,
16275        attributes: *const c_char,
16276        flags: GFileQueryInfoFlags,
16277        cancellable: *mut GCancellable,
16278        error: *mut *mut glib::GError,
16279    ) -> *mut GFileInfo;
16280    pub fn g_file_query_info_async(
16281        file: *mut GFile,
16282        attributes: *const c_char,
16283        flags: GFileQueryInfoFlags,
16284        io_priority: c_int,
16285        cancellable: *mut GCancellable,
16286        callback: GAsyncReadyCallback,
16287        user_data: gpointer,
16288    );
16289    pub fn g_file_query_info_finish(
16290        file: *mut GFile,
16291        res: *mut GAsyncResult,
16292        error: *mut *mut glib::GError,
16293    ) -> *mut GFileInfo;
16294    pub fn g_file_query_settable_attributes(
16295        file: *mut GFile,
16296        cancellable: *mut GCancellable,
16297        error: *mut *mut glib::GError,
16298    ) -> *mut GFileAttributeInfoList;
16299    pub fn g_file_query_writable_namespaces(
16300        file: *mut GFile,
16301        cancellable: *mut GCancellable,
16302        error: *mut *mut glib::GError,
16303    ) -> *mut GFileAttributeInfoList;
16304    pub fn g_file_read(
16305        file: *mut GFile,
16306        cancellable: *mut GCancellable,
16307        error: *mut *mut glib::GError,
16308    ) -> *mut GFileInputStream;
16309    pub fn g_file_read_async(
16310        file: *mut GFile,
16311        io_priority: c_int,
16312        cancellable: *mut GCancellable,
16313        callback: GAsyncReadyCallback,
16314        user_data: gpointer,
16315    );
16316    pub fn g_file_read_finish(
16317        file: *mut GFile,
16318        res: *mut GAsyncResult,
16319        error: *mut *mut glib::GError,
16320    ) -> *mut GFileInputStream;
16321    pub fn g_file_replace(
16322        file: *mut GFile,
16323        etag: *const c_char,
16324        make_backup: gboolean,
16325        flags: GFileCreateFlags,
16326        cancellable: *mut GCancellable,
16327        error: *mut *mut glib::GError,
16328    ) -> *mut GFileOutputStream;
16329    pub fn g_file_replace_async(
16330        file: *mut GFile,
16331        etag: *const c_char,
16332        make_backup: gboolean,
16333        flags: GFileCreateFlags,
16334        io_priority: c_int,
16335        cancellable: *mut GCancellable,
16336        callback: GAsyncReadyCallback,
16337        user_data: gpointer,
16338    );
16339    pub fn g_file_replace_contents(
16340        file: *mut GFile,
16341        contents: *const u8,
16342        length: size_t,
16343        etag: *const c_char,
16344        make_backup: gboolean,
16345        flags: GFileCreateFlags,
16346        new_etag: *mut *mut c_char,
16347        cancellable: *mut GCancellable,
16348        error: *mut *mut glib::GError,
16349    ) -> gboolean;
16350    pub fn g_file_replace_contents_async(
16351        file: *mut GFile,
16352        contents: *const u8,
16353        length: size_t,
16354        etag: *const c_char,
16355        make_backup: gboolean,
16356        flags: GFileCreateFlags,
16357        cancellable: *mut GCancellable,
16358        callback: GAsyncReadyCallback,
16359        user_data: gpointer,
16360    );
16361    pub fn g_file_replace_contents_bytes_async(
16362        file: *mut GFile,
16363        contents: *mut glib::GBytes,
16364        etag: *const c_char,
16365        make_backup: gboolean,
16366        flags: GFileCreateFlags,
16367        cancellable: *mut GCancellable,
16368        callback: GAsyncReadyCallback,
16369        user_data: gpointer,
16370    );
16371    pub fn g_file_replace_contents_finish(
16372        file: *mut GFile,
16373        res: *mut GAsyncResult,
16374        new_etag: *mut *mut c_char,
16375        error: *mut *mut glib::GError,
16376    ) -> gboolean;
16377    pub fn g_file_replace_finish(
16378        file: *mut GFile,
16379        res: *mut GAsyncResult,
16380        error: *mut *mut glib::GError,
16381    ) -> *mut GFileOutputStream;
16382    pub fn g_file_replace_readwrite(
16383        file: *mut GFile,
16384        etag: *const c_char,
16385        make_backup: gboolean,
16386        flags: GFileCreateFlags,
16387        cancellable: *mut GCancellable,
16388        error: *mut *mut glib::GError,
16389    ) -> *mut GFileIOStream;
16390    pub fn g_file_replace_readwrite_async(
16391        file: *mut GFile,
16392        etag: *const c_char,
16393        make_backup: gboolean,
16394        flags: GFileCreateFlags,
16395        io_priority: c_int,
16396        cancellable: *mut GCancellable,
16397        callback: GAsyncReadyCallback,
16398        user_data: gpointer,
16399    );
16400    pub fn g_file_replace_readwrite_finish(
16401        file: *mut GFile,
16402        res: *mut GAsyncResult,
16403        error: *mut *mut glib::GError,
16404    ) -> *mut GFileIOStream;
16405    pub fn g_file_resolve_relative_path(
16406        file: *mut GFile,
16407        relative_path: *const c_char,
16408    ) -> *mut GFile;
16409    pub fn g_file_set_attribute(
16410        file: *mut GFile,
16411        attribute: *const c_char,
16412        type_: GFileAttributeType,
16413        value_p: gpointer,
16414        flags: GFileQueryInfoFlags,
16415        cancellable: *mut GCancellable,
16416        error: *mut *mut glib::GError,
16417    ) -> gboolean;
16418    pub fn g_file_set_attribute_byte_string(
16419        file: *mut GFile,
16420        attribute: *const c_char,
16421        value: *const c_char,
16422        flags: GFileQueryInfoFlags,
16423        cancellable: *mut GCancellable,
16424        error: *mut *mut glib::GError,
16425    ) -> gboolean;
16426    pub fn g_file_set_attribute_int32(
16427        file: *mut GFile,
16428        attribute: *const c_char,
16429        value: i32,
16430        flags: GFileQueryInfoFlags,
16431        cancellable: *mut GCancellable,
16432        error: *mut *mut glib::GError,
16433    ) -> gboolean;
16434    pub fn g_file_set_attribute_int64(
16435        file: *mut GFile,
16436        attribute: *const c_char,
16437        value: i64,
16438        flags: GFileQueryInfoFlags,
16439        cancellable: *mut GCancellable,
16440        error: *mut *mut glib::GError,
16441    ) -> gboolean;
16442    pub fn g_file_set_attribute_string(
16443        file: *mut GFile,
16444        attribute: *const c_char,
16445        value: *const c_char,
16446        flags: GFileQueryInfoFlags,
16447        cancellable: *mut GCancellable,
16448        error: *mut *mut glib::GError,
16449    ) -> gboolean;
16450    pub fn g_file_set_attribute_uint32(
16451        file: *mut GFile,
16452        attribute: *const c_char,
16453        value: u32,
16454        flags: GFileQueryInfoFlags,
16455        cancellable: *mut GCancellable,
16456        error: *mut *mut glib::GError,
16457    ) -> gboolean;
16458    pub fn g_file_set_attribute_uint64(
16459        file: *mut GFile,
16460        attribute: *const c_char,
16461        value: u64,
16462        flags: GFileQueryInfoFlags,
16463        cancellable: *mut GCancellable,
16464        error: *mut *mut glib::GError,
16465    ) -> gboolean;
16466    pub fn g_file_set_attributes_async(
16467        file: *mut GFile,
16468        info: *mut GFileInfo,
16469        flags: GFileQueryInfoFlags,
16470        io_priority: c_int,
16471        cancellable: *mut GCancellable,
16472        callback: GAsyncReadyCallback,
16473        user_data: gpointer,
16474    );
16475    pub fn g_file_set_attributes_finish(
16476        file: *mut GFile,
16477        result: *mut GAsyncResult,
16478        info: *mut *mut GFileInfo,
16479        error: *mut *mut glib::GError,
16480    ) -> gboolean;
16481    pub fn g_file_set_attributes_from_info(
16482        file: *mut GFile,
16483        info: *mut GFileInfo,
16484        flags: GFileQueryInfoFlags,
16485        cancellable: *mut GCancellable,
16486        error: *mut *mut glib::GError,
16487    ) -> gboolean;
16488    pub fn g_file_set_display_name(
16489        file: *mut GFile,
16490        display_name: *const c_char,
16491        cancellable: *mut GCancellable,
16492        error: *mut *mut glib::GError,
16493    ) -> *mut GFile;
16494    pub fn g_file_set_display_name_async(
16495        file: *mut GFile,
16496        display_name: *const c_char,
16497        io_priority: c_int,
16498        cancellable: *mut GCancellable,
16499        callback: GAsyncReadyCallback,
16500        user_data: gpointer,
16501    );
16502    pub fn g_file_set_display_name_finish(
16503        file: *mut GFile,
16504        res: *mut GAsyncResult,
16505        error: *mut *mut glib::GError,
16506    ) -> *mut GFile;
16507    pub fn g_file_start_mountable(
16508        file: *mut GFile,
16509        flags: GDriveStartFlags,
16510        start_operation: *mut GMountOperation,
16511        cancellable: *mut GCancellable,
16512        callback: GAsyncReadyCallback,
16513        user_data: gpointer,
16514    );
16515    pub fn g_file_start_mountable_finish(
16516        file: *mut GFile,
16517        result: *mut GAsyncResult,
16518        error: *mut *mut glib::GError,
16519    ) -> gboolean;
16520    pub fn g_file_stop_mountable(
16521        file: *mut GFile,
16522        flags: GMountUnmountFlags,
16523        mount_operation: *mut GMountOperation,
16524        cancellable: *mut GCancellable,
16525        callback: GAsyncReadyCallback,
16526        user_data: gpointer,
16527    );
16528    pub fn g_file_stop_mountable_finish(
16529        file: *mut GFile,
16530        result: *mut GAsyncResult,
16531        error: *mut *mut glib::GError,
16532    ) -> gboolean;
16533    pub fn g_file_supports_thread_contexts(file: *mut GFile) -> gboolean;
16534    pub fn g_file_trash(
16535        file: *mut GFile,
16536        cancellable: *mut GCancellable,
16537        error: *mut *mut glib::GError,
16538    ) -> gboolean;
16539    pub fn g_file_trash_async(
16540        file: *mut GFile,
16541        io_priority: c_int,
16542        cancellable: *mut GCancellable,
16543        callback: GAsyncReadyCallback,
16544        user_data: gpointer,
16545    );
16546    pub fn g_file_trash_finish(
16547        file: *mut GFile,
16548        result: *mut GAsyncResult,
16549        error: *mut *mut glib::GError,
16550    ) -> gboolean;
16551    pub fn g_file_unmount_mountable(
16552        file: *mut GFile,
16553        flags: GMountUnmountFlags,
16554        cancellable: *mut GCancellable,
16555        callback: GAsyncReadyCallback,
16556        user_data: gpointer,
16557    );
16558    pub fn g_file_unmount_mountable_finish(
16559        file: *mut GFile,
16560        result: *mut GAsyncResult,
16561        error: *mut *mut glib::GError,
16562    ) -> gboolean;
16563    pub fn g_file_unmount_mountable_with_operation(
16564        file: *mut GFile,
16565        flags: GMountUnmountFlags,
16566        mount_operation: *mut GMountOperation,
16567        cancellable: *mut GCancellable,
16568        callback: GAsyncReadyCallback,
16569        user_data: gpointer,
16570    );
16571    pub fn g_file_unmount_mountable_with_operation_finish(
16572        file: *mut GFile,
16573        result: *mut GAsyncResult,
16574        error: *mut *mut glib::GError,
16575    ) -> gboolean;
16576
16577    //=========================================================================
16578    // GFileDescriptorBased
16579    //=========================================================================
16580    pub fn g_file_descriptor_based_get_type() -> GType;
16581    pub fn g_file_descriptor_based_get_fd(fd_based: *mut GFileDescriptorBased) -> c_int;
16582
16583    //=========================================================================
16584    // GIcon
16585    //=========================================================================
16586    pub fn g_icon_get_type() -> GType;
16587    pub fn g_icon_deserialize(value: *mut glib::GVariant) -> *mut GIcon;
16588    pub fn g_icon_new_for_string(str: *const c_char, error: *mut *mut glib::GError) -> *mut GIcon;
16589    pub fn g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean;
16590    pub fn g_icon_hash(icon: gconstpointer) -> c_uint;
16591    pub fn g_icon_serialize(icon: *mut GIcon) -> *mut glib::GVariant;
16592    pub fn g_icon_to_string(icon: *mut GIcon) -> *mut c_char;
16593
16594    //=========================================================================
16595    // GInitable
16596    //=========================================================================
16597    pub fn g_initable_get_type() -> GType;
16598    pub fn g_initable_new(
16599        object_type: GType,
16600        cancellable: *mut GCancellable,
16601        error: *mut *mut glib::GError,
16602        first_property_name: *const c_char,
16603        ...
16604    ) -> *mut gobject::GObject;
16605    //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;
16606    pub fn g_initable_newv(
16607        object_type: GType,
16608        n_parameters: c_uint,
16609        parameters: *mut gobject::GParameter,
16610        cancellable: *mut GCancellable,
16611        error: *mut *mut glib::GError,
16612    ) -> *mut gobject::GObject;
16613    pub fn g_initable_init(
16614        initable: *mut GInitable,
16615        cancellable: *mut GCancellable,
16616        error: *mut *mut glib::GError,
16617    ) -> gboolean;
16618
16619    //=========================================================================
16620    // GListModel
16621    //=========================================================================
16622    pub fn g_list_model_get_type() -> GType;
16623    pub fn g_list_model_get_item(list: *mut GListModel, position: c_uint) -> gpointer;
16624    pub fn g_list_model_get_item_type(list: *mut GListModel) -> GType;
16625    pub fn g_list_model_get_n_items(list: *mut GListModel) -> c_uint;
16626    pub fn g_list_model_get_object(
16627        list: *mut GListModel,
16628        position: c_uint,
16629    ) -> *mut gobject::GObject;
16630    pub fn g_list_model_items_changed(
16631        list: *mut GListModel,
16632        position: c_uint,
16633        removed: c_uint,
16634        added: c_uint,
16635    );
16636
16637    //=========================================================================
16638    // GLoadableIcon
16639    //=========================================================================
16640    pub fn g_loadable_icon_get_type() -> GType;
16641    pub fn g_loadable_icon_load(
16642        icon: *mut GLoadableIcon,
16643        size: c_int,
16644        type_: *mut *mut c_char,
16645        cancellable: *mut GCancellable,
16646        error: *mut *mut glib::GError,
16647    ) -> *mut GInputStream;
16648    pub fn g_loadable_icon_load_async(
16649        icon: *mut GLoadableIcon,
16650        size: c_int,
16651        cancellable: *mut GCancellable,
16652        callback: GAsyncReadyCallback,
16653        user_data: gpointer,
16654    );
16655    pub fn g_loadable_icon_load_finish(
16656        icon: *mut GLoadableIcon,
16657        res: *mut GAsyncResult,
16658        type_: *mut *mut c_char,
16659        error: *mut *mut glib::GError,
16660    ) -> *mut GInputStream;
16661
16662    //=========================================================================
16663    // GMemoryMonitor
16664    //=========================================================================
16665    #[cfg(feature = "v2_64")]
16666    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16667    pub fn g_memory_monitor_get_type() -> GType;
16668    #[cfg(feature = "v2_64")]
16669    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16670    pub fn g_memory_monitor_dup_default() -> *mut GMemoryMonitor;
16671
16672    //=========================================================================
16673    // GMount
16674    //=========================================================================
16675    pub fn g_mount_get_type() -> GType;
16676    pub fn g_mount_can_eject(mount: *mut GMount) -> gboolean;
16677    pub fn g_mount_can_unmount(mount: *mut GMount) -> gboolean;
16678    pub fn g_mount_eject(
16679        mount: *mut GMount,
16680        flags: GMountUnmountFlags,
16681        cancellable: *mut GCancellable,
16682        callback: GAsyncReadyCallback,
16683        user_data: gpointer,
16684    );
16685    pub fn g_mount_eject_finish(
16686        mount: *mut GMount,
16687        result: *mut GAsyncResult,
16688        error: *mut *mut glib::GError,
16689    ) -> gboolean;
16690    pub fn g_mount_eject_with_operation(
16691        mount: *mut GMount,
16692        flags: GMountUnmountFlags,
16693        mount_operation: *mut GMountOperation,
16694        cancellable: *mut GCancellable,
16695        callback: GAsyncReadyCallback,
16696        user_data: gpointer,
16697    );
16698    pub fn g_mount_eject_with_operation_finish(
16699        mount: *mut GMount,
16700        result: *mut GAsyncResult,
16701        error: *mut *mut glib::GError,
16702    ) -> gboolean;
16703    pub fn g_mount_get_default_location(mount: *mut GMount) -> *mut GFile;
16704    pub fn g_mount_get_drive(mount: *mut GMount) -> *mut GDrive;
16705    pub fn g_mount_get_icon(mount: *mut GMount) -> *mut GIcon;
16706    pub fn g_mount_get_name(mount: *mut GMount) -> *mut c_char;
16707    pub fn g_mount_get_root(mount: *mut GMount) -> *mut GFile;
16708    pub fn g_mount_get_sort_key(mount: *mut GMount) -> *const c_char;
16709    pub fn g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon;
16710    pub fn g_mount_get_uuid(mount: *mut GMount) -> *mut c_char;
16711    pub fn g_mount_get_volume(mount: *mut GMount) -> *mut GVolume;
16712    pub fn g_mount_guess_content_type(
16713        mount: *mut GMount,
16714        force_rescan: gboolean,
16715        cancellable: *mut GCancellable,
16716        callback: GAsyncReadyCallback,
16717        user_data: gpointer,
16718    );
16719    pub fn g_mount_guess_content_type_finish(
16720        mount: *mut GMount,
16721        result: *mut GAsyncResult,
16722        error: *mut *mut glib::GError,
16723    ) -> *mut *mut c_char;
16724    pub fn g_mount_guess_content_type_sync(
16725        mount: *mut GMount,
16726        force_rescan: gboolean,
16727        cancellable: *mut GCancellable,
16728        error: *mut *mut glib::GError,
16729    ) -> *mut *mut c_char;
16730    pub fn g_mount_is_shadowed(mount: *mut GMount) -> gboolean;
16731    pub fn g_mount_remount(
16732        mount: *mut GMount,
16733        flags: GMountMountFlags,
16734        mount_operation: *mut GMountOperation,
16735        cancellable: *mut GCancellable,
16736        callback: GAsyncReadyCallback,
16737        user_data: gpointer,
16738    );
16739    pub fn g_mount_remount_finish(
16740        mount: *mut GMount,
16741        result: *mut GAsyncResult,
16742        error: *mut *mut glib::GError,
16743    ) -> gboolean;
16744    pub fn g_mount_shadow(mount: *mut GMount);
16745    pub fn g_mount_unmount(
16746        mount: *mut GMount,
16747        flags: GMountUnmountFlags,
16748        cancellable: *mut GCancellable,
16749        callback: GAsyncReadyCallback,
16750        user_data: gpointer,
16751    );
16752    pub fn g_mount_unmount_finish(
16753        mount: *mut GMount,
16754        result: *mut GAsyncResult,
16755        error: *mut *mut glib::GError,
16756    ) -> gboolean;
16757    pub fn g_mount_unmount_with_operation(
16758        mount: *mut GMount,
16759        flags: GMountUnmountFlags,
16760        mount_operation: *mut GMountOperation,
16761        cancellable: *mut GCancellable,
16762        callback: GAsyncReadyCallback,
16763        user_data: gpointer,
16764    );
16765    pub fn g_mount_unmount_with_operation_finish(
16766        mount: *mut GMount,
16767        result: *mut GAsyncResult,
16768        error: *mut *mut glib::GError,
16769    ) -> gboolean;
16770    pub fn g_mount_unshadow(mount: *mut GMount);
16771
16772    //=========================================================================
16773    // GNetworkMonitor
16774    //=========================================================================
16775    pub fn g_network_monitor_get_type() -> GType;
16776    pub fn g_network_monitor_get_default() -> *mut GNetworkMonitor;
16777    pub fn g_network_monitor_can_reach(
16778        monitor: *mut GNetworkMonitor,
16779        connectable: *mut GSocketConnectable,
16780        cancellable: *mut GCancellable,
16781        error: *mut *mut glib::GError,
16782    ) -> gboolean;
16783    pub fn g_network_monitor_can_reach_async(
16784        monitor: *mut GNetworkMonitor,
16785        connectable: *mut GSocketConnectable,
16786        cancellable: *mut GCancellable,
16787        callback: GAsyncReadyCallback,
16788        user_data: gpointer,
16789    );
16790    pub fn g_network_monitor_can_reach_finish(
16791        monitor: *mut GNetworkMonitor,
16792        result: *mut GAsyncResult,
16793        error: *mut *mut glib::GError,
16794    ) -> gboolean;
16795    pub fn g_network_monitor_get_connectivity(
16796        monitor: *mut GNetworkMonitor,
16797    ) -> GNetworkConnectivity;
16798    pub fn g_network_monitor_get_network_available(monitor: *mut GNetworkMonitor) -> gboolean;
16799    pub fn g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean;
16800
16801    //=========================================================================
16802    // GPollableInputStream
16803    //=========================================================================
16804    pub fn g_pollable_input_stream_get_type() -> GType;
16805    pub fn g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean;
16806    pub fn g_pollable_input_stream_create_source(
16807        stream: *mut GPollableInputStream,
16808        cancellable: *mut GCancellable,
16809    ) -> *mut glib::GSource;
16810    pub fn g_pollable_input_stream_is_readable(stream: *mut GPollableInputStream) -> gboolean;
16811    pub fn g_pollable_input_stream_read_nonblocking(
16812        stream: *mut GPollableInputStream,
16813        buffer: *mut u8,
16814        count: size_t,
16815        cancellable: *mut GCancellable,
16816        error: *mut *mut glib::GError,
16817    ) -> ssize_t;
16818
16819    //=========================================================================
16820    // GPollableOutputStream
16821    //=========================================================================
16822    pub fn g_pollable_output_stream_get_type() -> GType;
16823    pub fn g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream) -> gboolean;
16824    pub fn g_pollable_output_stream_create_source(
16825        stream: *mut GPollableOutputStream,
16826        cancellable: *mut GCancellable,
16827    ) -> *mut glib::GSource;
16828    pub fn g_pollable_output_stream_is_writable(stream: *mut GPollableOutputStream) -> gboolean;
16829    pub fn g_pollable_output_stream_write_nonblocking(
16830        stream: *mut GPollableOutputStream,
16831        buffer: *mut u8,
16832        count: size_t,
16833        cancellable: *mut GCancellable,
16834        error: *mut *mut glib::GError,
16835    ) -> ssize_t;
16836    #[cfg(feature = "v2_60")]
16837    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16838    pub fn g_pollable_output_stream_writev_nonblocking(
16839        stream: *mut GPollableOutputStream,
16840        vectors: *const GOutputVector,
16841        n_vectors: size_t,
16842        bytes_written: *mut size_t,
16843        cancellable: *mut GCancellable,
16844        error: *mut *mut glib::GError,
16845    ) -> GPollableReturn;
16846
16847    //=========================================================================
16848    // GPowerProfileMonitor
16849    //=========================================================================
16850    #[cfg(feature = "v2_70")]
16851    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16852    pub fn g_power_profile_monitor_get_type() -> GType;
16853    #[cfg(feature = "v2_70")]
16854    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16855    pub fn g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor;
16856    #[cfg(feature = "v2_70")]
16857    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16858    pub fn g_power_profile_monitor_get_power_saver_enabled(
16859        monitor: *mut GPowerProfileMonitor,
16860    ) -> gboolean;
16861
16862    //=========================================================================
16863    // GProxy
16864    //=========================================================================
16865    pub fn g_proxy_get_type() -> GType;
16866    pub fn g_proxy_get_default_for_protocol(protocol: *const c_char) -> *mut GProxy;
16867    pub fn g_proxy_connect(
16868        proxy: *mut GProxy,
16869        connection: *mut GIOStream,
16870        proxy_address: *mut GProxyAddress,
16871        cancellable: *mut GCancellable,
16872        error: *mut *mut glib::GError,
16873    ) -> *mut GIOStream;
16874    pub fn g_proxy_connect_async(
16875        proxy: *mut GProxy,
16876        connection: *mut GIOStream,
16877        proxy_address: *mut GProxyAddress,
16878        cancellable: *mut GCancellable,
16879        callback: GAsyncReadyCallback,
16880        user_data: gpointer,
16881    );
16882    pub fn g_proxy_connect_finish(
16883        proxy: *mut GProxy,
16884        result: *mut GAsyncResult,
16885        error: *mut *mut glib::GError,
16886    ) -> *mut GIOStream;
16887    pub fn g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean;
16888
16889    //=========================================================================
16890    // GProxyResolver
16891    //=========================================================================
16892    pub fn g_proxy_resolver_get_type() -> GType;
16893    pub fn g_proxy_resolver_get_default() -> *mut GProxyResolver;
16894    pub fn g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean;
16895    pub fn g_proxy_resolver_lookup(
16896        resolver: *mut GProxyResolver,
16897        uri: *const c_char,
16898        cancellable: *mut GCancellable,
16899        error: *mut *mut glib::GError,
16900    ) -> *mut *mut c_char;
16901    pub fn g_proxy_resolver_lookup_async(
16902        resolver: *mut GProxyResolver,
16903        uri: *const c_char,
16904        cancellable: *mut GCancellable,
16905        callback: GAsyncReadyCallback,
16906        user_data: gpointer,
16907    );
16908    pub fn g_proxy_resolver_lookup_finish(
16909        resolver: *mut GProxyResolver,
16910        result: *mut GAsyncResult,
16911        error: *mut *mut glib::GError,
16912    ) -> *mut *mut c_char;
16913
16914    //=========================================================================
16915    // GRemoteActionGroup
16916    //=========================================================================
16917    pub fn g_remote_action_group_get_type() -> GType;
16918    pub fn g_remote_action_group_activate_action_full(
16919        remote: *mut GRemoteActionGroup,
16920        action_name: *const c_char,
16921        parameter: *mut glib::GVariant,
16922        platform_data: *mut glib::GVariant,
16923    );
16924    pub fn g_remote_action_group_change_action_state_full(
16925        remote: *mut GRemoteActionGroup,
16926        action_name: *const c_char,
16927        value: *mut glib::GVariant,
16928        platform_data: *mut glib::GVariant,
16929    );
16930
16931    //=========================================================================
16932    // GSeekable
16933    //=========================================================================
16934    pub fn g_seekable_get_type() -> GType;
16935    pub fn g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean;
16936    pub fn g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean;
16937    pub fn g_seekable_seek(
16938        seekable: *mut GSeekable,
16939        offset: i64,
16940        type_: glib::GSeekType,
16941        cancellable: *mut GCancellable,
16942        error: *mut *mut glib::GError,
16943    ) -> gboolean;
16944    pub fn g_seekable_tell(seekable: *mut GSeekable) -> i64;
16945    pub fn g_seekable_truncate(
16946        seekable: *mut GSeekable,
16947        offset: i64,
16948        cancellable: *mut GCancellable,
16949        error: *mut *mut glib::GError,
16950    ) -> gboolean;
16951
16952    //=========================================================================
16953    // GSocketConnectable
16954    //=========================================================================
16955    pub fn g_socket_connectable_get_type() -> GType;
16956    pub fn g_socket_connectable_enumerate(
16957        connectable: *mut GSocketConnectable,
16958    ) -> *mut GSocketAddressEnumerator;
16959    pub fn g_socket_connectable_proxy_enumerate(
16960        connectable: *mut GSocketConnectable,
16961    ) -> *mut GSocketAddressEnumerator;
16962    pub fn g_socket_connectable_to_string(connectable: *mut GSocketConnectable) -> *mut c_char;
16963
16964    //=========================================================================
16965    // GTlsBackend
16966    //=========================================================================
16967    pub fn g_tls_backend_get_type() -> GType;
16968    pub fn g_tls_backend_get_default() -> *mut GTlsBackend;
16969    pub fn g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType;
16970    pub fn g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType;
16971    pub fn g_tls_backend_get_default_database(backend: *mut GTlsBackend) -> *mut GTlsDatabase;
16972    pub fn g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend) -> GType;
16973    pub fn g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend) -> GType;
16974    pub fn g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType;
16975    pub fn g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType;
16976    #[cfg(feature = "v2_60")]
16977    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16978    pub fn g_tls_backend_set_default_database(
16979        backend: *mut GTlsBackend,
16980        database: *mut GTlsDatabase,
16981    );
16982    pub fn g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean;
16983    pub fn g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean;
16984
16985    //=========================================================================
16986    // GTlsClientConnection
16987    //=========================================================================
16988    pub fn g_tls_client_connection_get_type() -> GType;
16989    pub fn g_tls_client_connection_new(
16990        base_io_stream: *mut GIOStream,
16991        server_identity: *mut GSocketConnectable,
16992        error: *mut *mut glib::GError,
16993    ) -> *mut GTlsClientConnection;
16994    pub fn g_tls_client_connection_copy_session_state(
16995        conn: *mut GTlsClientConnection,
16996        source: *mut GTlsClientConnection,
16997    );
16998    pub fn g_tls_client_connection_get_accepted_cas(
16999        conn: *mut GTlsClientConnection,
17000    ) -> *mut glib::GList;
17001    pub fn g_tls_client_connection_get_server_identity(
17002        conn: *mut GTlsClientConnection,
17003    ) -> *mut GSocketConnectable;
17004    pub fn g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection) -> gboolean;
17005    pub fn g_tls_client_connection_get_validation_flags(
17006        conn: *mut GTlsClientConnection,
17007    ) -> GTlsCertificateFlags;
17008    pub fn g_tls_client_connection_set_server_identity(
17009        conn: *mut GTlsClientConnection,
17010        identity: *mut GSocketConnectable,
17011    );
17012    pub fn g_tls_client_connection_set_use_ssl3(
17013        conn: *mut GTlsClientConnection,
17014        use_ssl3: gboolean,
17015    );
17016    pub fn g_tls_client_connection_set_validation_flags(
17017        conn: *mut GTlsClientConnection,
17018        flags: GTlsCertificateFlags,
17019    );
17020
17021    //=========================================================================
17022    // GTlsFileDatabase
17023    //=========================================================================
17024    pub fn g_tls_file_database_get_type() -> GType;
17025    pub fn g_tls_file_database_new(
17026        anchors: *const c_char,
17027        error: *mut *mut glib::GError,
17028    ) -> *mut GTlsFileDatabase;
17029
17030    //=========================================================================
17031    // GTlsServerConnection
17032    //=========================================================================
17033    pub fn g_tls_server_connection_get_type() -> GType;
17034    pub fn g_tls_server_connection_new(
17035        base_io_stream: *mut GIOStream,
17036        certificate: *mut GTlsCertificate,
17037        error: *mut *mut glib::GError,
17038    ) -> *mut GTlsServerConnection;
17039
17040    //=========================================================================
17041    // GVolume
17042    //=========================================================================
17043    pub fn g_volume_get_type() -> GType;
17044    pub fn g_volume_can_eject(volume: *mut GVolume) -> gboolean;
17045    pub fn g_volume_can_mount(volume: *mut GVolume) -> gboolean;
17046    pub fn g_volume_eject(
17047        volume: *mut GVolume,
17048        flags: GMountUnmountFlags,
17049        cancellable: *mut GCancellable,
17050        callback: GAsyncReadyCallback,
17051        user_data: gpointer,
17052    );
17053    pub fn g_volume_eject_finish(
17054        volume: *mut GVolume,
17055        result: *mut GAsyncResult,
17056        error: *mut *mut glib::GError,
17057    ) -> gboolean;
17058    pub fn g_volume_eject_with_operation(
17059        volume: *mut GVolume,
17060        flags: GMountUnmountFlags,
17061        mount_operation: *mut GMountOperation,
17062        cancellable: *mut GCancellable,
17063        callback: GAsyncReadyCallback,
17064        user_data: gpointer,
17065    );
17066    pub fn g_volume_eject_with_operation_finish(
17067        volume: *mut GVolume,
17068        result: *mut GAsyncResult,
17069        error: *mut *mut glib::GError,
17070    ) -> gboolean;
17071    pub fn g_volume_enumerate_identifiers(volume: *mut GVolume) -> *mut *mut c_char;
17072    pub fn g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile;
17073    pub fn g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive;
17074    pub fn g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon;
17075    pub fn g_volume_get_identifier(volume: *mut GVolume, kind: *const c_char) -> *mut c_char;
17076    pub fn g_volume_get_mount(volume: *mut GVolume) -> *mut GMount;
17077    pub fn g_volume_get_name(volume: *mut GVolume) -> *mut c_char;
17078    pub fn g_volume_get_sort_key(volume: *mut GVolume) -> *const c_char;
17079    pub fn g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon;
17080    pub fn g_volume_get_uuid(volume: *mut GVolume) -> *mut c_char;
17081    pub fn g_volume_mount(
17082        volume: *mut GVolume,
17083        flags: GMountMountFlags,
17084        mount_operation: *mut GMountOperation,
17085        cancellable: *mut GCancellable,
17086        callback: GAsyncReadyCallback,
17087        user_data: gpointer,
17088    );
17089    pub fn g_volume_mount_finish(
17090        volume: *mut GVolume,
17091        result: *mut GAsyncResult,
17092        error: *mut *mut glib::GError,
17093    ) -> gboolean;
17094    pub fn g_volume_should_automount(volume: *mut GVolume) -> gboolean;
17095
17096    //=========================================================================
17097    // Other functions
17098    //=========================================================================
17099    pub fn g_bus_get(
17100        bus_type: GBusType,
17101        cancellable: *mut GCancellable,
17102        callback: GAsyncReadyCallback,
17103        user_data: gpointer,
17104    );
17105    pub fn g_bus_get_finish(
17106        res: *mut GAsyncResult,
17107        error: *mut *mut glib::GError,
17108    ) -> *mut GDBusConnection;
17109    pub fn g_bus_get_sync(
17110        bus_type: GBusType,
17111        cancellable: *mut GCancellable,
17112        error: *mut *mut glib::GError,
17113    ) -> *mut GDBusConnection;
17114    pub fn g_bus_own_name(
17115        bus_type: GBusType,
17116        name: *const c_char,
17117        flags: GBusNameOwnerFlags,
17118        bus_acquired_handler: GBusAcquiredCallback,
17119        name_acquired_handler: GBusNameAcquiredCallback,
17120        name_lost_handler: GBusNameLostCallback,
17121        user_data: gpointer,
17122        user_data_free_func: glib::GDestroyNotify,
17123    ) -> c_uint;
17124    pub fn g_bus_own_name_on_connection(
17125        connection: *mut GDBusConnection,
17126        name: *const c_char,
17127        flags: GBusNameOwnerFlags,
17128        name_acquired_handler: GBusNameAcquiredCallback,
17129        name_lost_handler: GBusNameLostCallback,
17130        user_data: gpointer,
17131        user_data_free_func: glib::GDestroyNotify,
17132    ) -> c_uint;
17133    pub fn g_bus_own_name_on_connection_with_closures(
17134        connection: *mut GDBusConnection,
17135        name: *const c_char,
17136        flags: GBusNameOwnerFlags,
17137        name_acquired_closure: *mut gobject::GClosure,
17138        name_lost_closure: *mut gobject::GClosure,
17139    ) -> c_uint;
17140    pub fn g_bus_own_name_with_closures(
17141        bus_type: GBusType,
17142        name: *const c_char,
17143        flags: GBusNameOwnerFlags,
17144        bus_acquired_closure: *mut gobject::GClosure,
17145        name_acquired_closure: *mut gobject::GClosure,
17146        name_lost_closure: *mut gobject::GClosure,
17147    ) -> c_uint;
17148    pub fn g_bus_unown_name(owner_id: c_uint);
17149    pub fn g_bus_unwatch_name(watcher_id: c_uint);
17150    pub fn g_bus_watch_name(
17151        bus_type: GBusType,
17152        name: *const c_char,
17153        flags: GBusNameWatcherFlags,
17154        name_appeared_handler: GBusNameAppearedCallback,
17155        name_vanished_handler: GBusNameVanishedCallback,
17156        user_data: gpointer,
17157        user_data_free_func: glib::GDestroyNotify,
17158    ) -> c_uint;
17159    pub fn g_bus_watch_name_on_connection(
17160        connection: *mut GDBusConnection,
17161        name: *const c_char,
17162        flags: GBusNameWatcherFlags,
17163        name_appeared_handler: GBusNameAppearedCallback,
17164        name_vanished_handler: GBusNameVanishedCallback,
17165        user_data: gpointer,
17166        user_data_free_func: glib::GDestroyNotify,
17167    ) -> c_uint;
17168    pub fn g_bus_watch_name_on_connection_with_closures(
17169        connection: *mut GDBusConnection,
17170        name: *const c_char,
17171        flags: GBusNameWatcherFlags,
17172        name_appeared_closure: *mut gobject::GClosure,
17173        name_vanished_closure: *mut gobject::GClosure,
17174    ) -> c_uint;
17175    pub fn g_bus_watch_name_with_closures(
17176        bus_type: GBusType,
17177        name: *const c_char,
17178        flags: GBusNameWatcherFlags,
17179        name_appeared_closure: *mut gobject::GClosure,
17180        name_vanished_closure: *mut gobject::GClosure,
17181    ) -> c_uint;
17182    pub fn g_content_type_can_be_executable(type_: *const c_char) -> gboolean;
17183    pub fn g_content_type_equals(type1: *const c_char, type2: *const c_char) -> gboolean;
17184    pub fn g_content_type_from_mime_type(mime_type: *const c_char) -> *mut c_char;
17185    pub fn g_content_type_get_description(type_: *const c_char) -> *mut c_char;
17186    pub fn g_content_type_get_generic_icon_name(type_: *const c_char) -> *mut c_char;
17187    pub fn g_content_type_get_icon(type_: *const c_char) -> *mut GIcon;
17188    #[cfg(feature = "v2_60")]
17189    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
17190    pub fn g_content_type_get_mime_dirs() -> *const *const c_char;
17191    pub fn g_content_type_get_mime_type(type_: *const c_char) -> *mut c_char;
17192    pub fn g_content_type_get_symbolic_icon(type_: *const c_char) -> *mut GIcon;
17193    pub fn g_content_type_guess(
17194        filename: *const c_char,
17195        data: *const u8,
17196        data_size: size_t,
17197        result_uncertain: *mut gboolean,
17198    ) -> *mut c_char;
17199    pub fn g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut c_char;
17200    pub fn g_content_type_is_a(type_: *const c_char, supertype: *const c_char) -> gboolean;
17201    pub fn g_content_type_is_mime_type(type_: *const c_char, mime_type: *const c_char) -> gboolean;
17202    pub fn g_content_type_is_unknown(type_: *const c_char) -> gboolean;
17203    #[cfg(feature = "v2_60")]
17204    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
17205    pub fn g_content_type_set_mime_dirs(dirs: *const *const c_char);
17206    pub fn g_content_types_get_registered() -> *mut glib::GList;
17207    pub fn g_dbus_address_escape_value(string: *const c_char) -> *mut c_char;
17208    pub fn g_dbus_address_get_for_bus_sync(
17209        bus_type: GBusType,
17210        cancellable: *mut GCancellable,
17211        error: *mut *mut glib::GError,
17212    ) -> *mut c_char;
17213    pub fn g_dbus_address_get_stream(
17214        address: *const c_char,
17215        cancellable: *mut GCancellable,
17216        callback: GAsyncReadyCallback,
17217        user_data: gpointer,
17218    );
17219    pub fn g_dbus_address_get_stream_finish(
17220        res: *mut GAsyncResult,
17221        out_guid: *mut *mut c_char,
17222        error: *mut *mut glib::GError,
17223    ) -> *mut GIOStream;
17224    pub fn g_dbus_address_get_stream_sync(
17225        address: *const c_char,
17226        out_guid: *mut *mut c_char,
17227        cancellable: *mut GCancellable,
17228        error: *mut *mut glib::GError,
17229    ) -> *mut GIOStream;
17230    #[cfg(feature = "v2_68")]
17231    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
17232    pub fn g_dbus_escape_object_path(s: *const c_char) -> *mut c_char;
17233    #[cfg(feature = "v2_68")]
17234    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
17235    pub fn g_dbus_escape_object_path_bytestring(bytes: *const u8) -> *mut c_char;
17236    pub fn g_dbus_generate_guid() -> *mut c_char;
17237    pub fn g_dbus_gvalue_to_gvariant(
17238        gvalue: *const gobject::GValue,
17239        type_: *const glib::GVariantType,
17240    ) -> *mut glib::GVariant;
17241    pub fn g_dbus_gvariant_to_gvalue(value: *mut glib::GVariant, out_gvalue: *mut gobject::GValue);
17242    pub fn g_dbus_is_address(string: *const c_char) -> gboolean;
17243    #[cfg(feature = "v2_70")]
17244    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
17245    pub fn g_dbus_is_error_name(string: *const c_char) -> gboolean;
17246    pub fn g_dbus_is_guid(string: *const c_char) -> gboolean;
17247    pub fn g_dbus_is_interface_name(string: *const c_char) -> gboolean;
17248    pub fn g_dbus_is_member_name(string: *const c_char) -> gboolean;
17249    pub fn g_dbus_is_name(string: *const c_char) -> gboolean;
17250    pub fn g_dbus_is_supported_address(
17251        string: *const c_char,
17252        error: *mut *mut glib::GError,
17253    ) -> gboolean;
17254    pub fn g_dbus_is_unique_name(string: *const c_char) -> gboolean;
17255    #[cfg(feature = "v2_68")]
17256    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
17257    pub fn g_dbus_unescape_object_path(s: *const c_char) -> *mut u8;
17258    pub fn g_io_error_from_errno(err_no: c_int) -> GIOErrorEnum;
17259    #[cfg(feature = "v2_74")]
17260    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
17261    pub fn g_io_error_from_file_error(file_error: glib::GFileError) -> GIOErrorEnum;
17262    pub fn g_io_error_quark() -> glib::GQuark;
17263    pub fn g_io_modules_load_all_in_directory(dirname: *const c_char) -> *mut glib::GList;
17264    pub fn g_io_modules_load_all_in_directory_with_scope(
17265        dirname: *const c_char,
17266        scope: *mut GIOModuleScope,
17267    ) -> *mut glib::GList;
17268    pub fn g_io_modules_scan_all_in_directory(dirname: *const c_char);
17269    pub fn g_io_modules_scan_all_in_directory_with_scope(
17270        dirname: *const c_char,
17271        scope: *mut GIOModuleScope,
17272    );
17273    pub fn g_io_scheduler_cancel_all_jobs();
17274    pub fn g_io_scheduler_push_job(
17275        job_func: GIOSchedulerJobFunc,
17276        user_data: gpointer,
17277        notify: glib::GDestroyNotify,
17278        io_priority: c_int,
17279        cancellable: *mut GCancellable,
17280    );
17281    pub fn g_keyfile_settings_backend_new(
17282        filename: *const c_char,
17283        root_path: *const c_char,
17284        root_group: *const c_char,
17285    ) -> *mut GSettingsBackend;
17286    pub fn g_memory_settings_backend_new() -> *mut GSettingsBackend;
17287    pub fn g_networking_init();
17288    pub fn g_null_settings_backend_new() -> *mut GSettingsBackend;
17289    pub fn g_pollable_source_new(pollable_stream: *mut gobject::GObject) -> *mut glib::GSource;
17290    pub fn g_pollable_source_new_full(
17291        pollable_stream: *mut gobject::GObject,
17292        child_source: *mut glib::GSource,
17293        cancellable: *mut GCancellable,
17294    ) -> *mut glib::GSource;
17295    pub fn g_pollable_stream_read(
17296        stream: *mut GInputStream,
17297        buffer: *mut u8,
17298        count: size_t,
17299        blocking: gboolean,
17300        cancellable: *mut GCancellable,
17301        error: *mut *mut glib::GError,
17302    ) -> ssize_t;
17303    pub fn g_pollable_stream_write(
17304        stream: *mut GOutputStream,
17305        buffer: *mut u8,
17306        count: size_t,
17307        blocking: gboolean,
17308        cancellable: *mut GCancellable,
17309        error: *mut *mut glib::GError,
17310    ) -> ssize_t;
17311    pub fn g_pollable_stream_write_all(
17312        stream: *mut GOutputStream,
17313        buffer: *mut u8,
17314        count: size_t,
17315        blocking: gboolean,
17316        bytes_written: *mut size_t,
17317        cancellable: *mut GCancellable,
17318        error: *mut *mut glib::GError,
17319    ) -> gboolean;
17320    pub fn g_resources_enumerate_children(
17321        path: *const c_char,
17322        lookup_flags: GResourceLookupFlags,
17323        error: *mut *mut glib::GError,
17324    ) -> *mut *mut c_char;
17325    pub fn g_resources_get_info(
17326        path: *const c_char,
17327        lookup_flags: GResourceLookupFlags,
17328        size: *mut size_t,
17329        flags: *mut u32,
17330        error: *mut *mut glib::GError,
17331    ) -> gboolean;
17332    #[cfg(feature = "v2_84")]
17333    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
17334    pub fn g_resources_has_children(path: *const c_char) -> gboolean;
17335    pub fn g_resources_lookup_data(
17336        path: *const c_char,
17337        lookup_flags: GResourceLookupFlags,
17338        error: *mut *mut glib::GError,
17339    ) -> *mut glib::GBytes;
17340    pub fn g_resources_open_stream(
17341        path: *const c_char,
17342        lookup_flags: GResourceLookupFlags,
17343        error: *mut *mut glib::GError,
17344    ) -> *mut GInputStream;
17345    pub fn g_resources_register(resource: *mut GResource);
17346    pub fn g_resources_unregister(resource: *mut GResource);
17347    pub fn g_simple_async_report_error_in_idle(
17348        object: *mut gobject::GObject,
17349        callback: GAsyncReadyCallback,
17350        user_data: gpointer,
17351        domain: glib::GQuark,
17352        code: c_int,
17353        format: *const c_char,
17354        ...
17355    );
17356    pub fn g_simple_async_report_gerror_in_idle(
17357        object: *mut gobject::GObject,
17358        callback: GAsyncReadyCallback,
17359        user_data: gpointer,
17360        error: *const glib::GError,
17361    );
17362    pub fn g_simple_async_report_take_gerror_in_idle(
17363        object: *mut gobject::GObject,
17364        callback: GAsyncReadyCallback,
17365        user_data: gpointer,
17366        error: *mut glib::GError,
17367    );
17368    pub fn g_unix_is_mount_path_system_internal(mount_path: *const c_char) -> gboolean;
17369    pub fn g_unix_is_system_device_path(device_path: *const c_char) -> gboolean;
17370    pub fn g_unix_is_system_fs_type(fs_type: *const c_char) -> gboolean;
17371    pub fn g_unix_mount_at(mount_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry;
17372    pub fn g_unix_mount_compare(
17373        mount1: *mut GUnixMountEntry,
17374        mount2: *mut GUnixMountEntry,
17375    ) -> c_int;
17376    pub fn g_unix_mount_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry;
17377    #[cfg(feature = "v2_84")]
17378    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
17379    pub fn g_unix_mount_entries_changed_since(time: u64) -> gboolean;
17380    #[cfg(feature = "v2_84")]
17381    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
17382    pub fn g_unix_mount_entries_get(time_read: *mut u64) -> *mut glib::GList;
17383    #[cfg(feature = "v2_84")]
17384    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
17385    pub fn g_unix_mount_entries_get_from_file(
17386        table_path: *const c_char,
17387        time_read_out: *mut u64,
17388        n_entries_out: *mut size_t,
17389    ) -> *mut *mut GUnixMountEntry;
17390    pub fn g_unix_mount_for(file_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry;
17391    pub fn g_unix_mount_free(mount_entry: *mut GUnixMountEntry);
17392    pub fn g_unix_mount_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
17393    pub fn g_unix_mount_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char;
17394    pub fn g_unix_mount_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
17395    #[cfg(feature = "v2_58")]
17396    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
17397    pub fn g_unix_mount_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char;
17398    #[cfg(feature = "v2_60")]
17399    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
17400    pub fn g_unix_mount_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char;
17401    pub fn g_unix_mount_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean;
17402    pub fn g_unix_mount_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon;
17403    pub fn g_unix_mount_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char;
17404    pub fn g_unix_mount_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean;
17405    pub fn g_unix_mount_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon;
17406    pub fn g_unix_mount_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean;
17407    pub fn g_unix_mount_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean;
17408    pub fn g_unix_mount_points_changed_since(time: u64) -> gboolean;
17409    pub fn g_unix_mount_points_get(time_read: *mut u64) -> *mut glib::GList;
17410    #[cfg(feature = "v2_82")]
17411    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
17412    pub fn g_unix_mount_points_get_from_file(
17413        table_path: *const c_char,
17414        time_read_out: *mut u64,
17415        n_points_out: *mut size_t,
17416    ) -> *mut *mut GUnixMountPoint;
17417    pub fn g_unix_mounts_changed_since(time: u64) -> gboolean;
17418    pub fn g_unix_mounts_get(time_read: *mut u64) -> *mut glib::GList;
17419    #[cfg(feature = "v2_82")]
17420    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
17421    pub fn g_unix_mounts_get_from_file(
17422        table_path: *const c_char,
17423        time_read_out: *mut u64,
17424        n_entries_out: *mut size_t,
17425    ) -> *mut *mut GUnixMountEntry;
17426
17427}