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 GMemoryMonitorWarningLevel = c_int;
248pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50;
249pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100;
250pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255;
251
252pub type GMountOperationResult = c_int;
253pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0;
254pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1;
255pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2;
256
257pub type GNetworkConnectivity = c_int;
258pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1;
259pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2;
260pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3;
261pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4;
262
263pub type GNotificationPriority = c_int;
264pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0;
265pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1;
266pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2;
267pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3;
268
269pub type GPasswordSave = c_int;
270pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0;
271pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1;
272pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2;
273
274pub type GPollableReturn = c_int;
275pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0;
276pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1;
277pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27;
278
279pub type GResolverError = c_int;
280pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0;
281pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1;
282pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2;
283
284pub type GResolverRecordType = c_int;
285pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1;
286pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2;
287pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3;
288pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4;
289pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5;
290
291pub type GResourceError = c_int;
292pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0;
293pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1;
294
295pub type GSocketClientEvent = c_int;
296pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0;
297pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1;
298pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2;
299pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3;
300pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4;
301pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5;
302pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6;
303pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7;
304pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8;
305
306pub type GSocketListenerEvent = c_int;
307pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0;
308pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1;
309pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2;
310pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3;
311
312pub type GSocketProtocol = c_int;
313pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1;
314pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0;
315pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6;
316pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17;
317pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132;
318
319pub type GSocketType = c_int;
320pub const G_SOCKET_TYPE_INVALID: GSocketType = 0;
321pub const G_SOCKET_TYPE_STREAM: GSocketType = 1;
322pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2;
323pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3;
324
325pub type GTlsAuthenticationMode = c_int;
326pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0;
327pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1;
328pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2;
329
330pub type GTlsChannelBindingError = c_int;
331pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0;
332pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1;
333pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2;
334pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3;
335pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4;
336
337pub type GTlsChannelBindingType = c_int;
338pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0;
339pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1;
340pub const G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2;
341
342pub type GTlsError = c_int;
343pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0;
344pub const G_TLS_ERROR_MISC: GTlsError = 1;
345pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2;
346pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3;
347pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4;
348pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5;
349pub const G_TLS_ERROR_EOF: GTlsError = 6;
350pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7;
351pub const G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8;
352
353pub type GTlsInteractionResult = c_int;
354pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0;
355pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1;
356pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2;
357
358pub type GTlsProtocolVersion = c_int;
359pub const G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0;
360pub const G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1;
361pub const G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2;
362pub const G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3;
363pub const G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4;
364pub const G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5;
365pub const G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201;
366pub const G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202;
367
368pub type GTlsRehandshakeMode = c_int;
369pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0;
370pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1;
371pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2;
372
373pub type GUnixSocketAddressType = c_int;
374pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0;
375pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1;
376pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2;
377pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3;
378pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4;
379
380pub type GZlibCompressorFormat = c_int;
381pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0;
382pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1;
383pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2;
384
385// Constants
386pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE;
387pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE;
388pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller\0";
389pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
390pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete\0";
391pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute\0";
392pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8] = b"access::can-read\0";
393pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8] = b"access::can-rename\0";
394pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8] = b"access::can-trash\0";
395pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8] = b"access::can-write\0";
396pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8] = b"dos::is-archive\0";
397pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8] = b"dos::is-mountpoint\0";
398pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8] = b"dos::is-system\0";
399pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8] = b"dos::reparse-point-tag\0";
400pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8] = b"etag::value\0";
401pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8] = b"filesystem::free\0";
402pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8] = b"filesystem::readonly\0";
403pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8] = b"filesystem::remote\0";
404pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8] = b"filesystem::size\0";
405pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8] = b"filesystem::type\0";
406pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8] = b"filesystem::used\0";
407pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8] = b"filesystem::use-preview\0";
408pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8] = b"gvfs::backend\0";
409pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8] = b"id::file\0";
410pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8] = b"id::filesystem\0";
411pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8] = b"mountable::can-eject\0";
412pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8] = b"mountable::can-mount\0";
413pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8] = b"mountable::can-poll\0";
414pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8] = b"mountable::can-start\0";
415pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8] = b"mountable::can-start-degraded\0";
416pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8] = b"mountable::can-stop\0";
417pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8] = b"mountable::can-unmount\0";
418pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8] = b"mountable::hal-udi\0";
419pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8] =
420    b"mountable::is-media-check-automatic\0";
421pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8] = b"mountable::start-stop-type\0";
422pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8] = b"mountable::unix-device\0";
423pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8] = b"mountable::unix-device-file\0";
424pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8] = b"owner::group\0";
425pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8] = b"owner::user\0";
426pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8] = b"owner::user-real\0";
427pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8] = b"preview::icon\0";
428pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8] = b"recent::modified\0";
429pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8] = b"selinux::context\0";
430pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8] = b"standard::allocated-size\0";
431pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8] = b"standard::content-type\0";
432pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8] = b"standard::copy-name\0";
433pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8] = b"standard::description\0";
434pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8] = b"standard::display-name\0";
435pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8] = b"standard::edit-name\0";
436pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8] = b"standard::fast-content-type\0";
437pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8] = b"standard::icon\0";
438pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8] = b"standard::is-backup\0";
439pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8] = b"standard::is-hidden\0";
440pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8] = b"standard::is-symlink\0";
441pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8] = b"standard::is-virtual\0";
442pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8] = b"standard::is-volatile\0";
443pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8] = b"standard::name\0";
444pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8] = b"standard::size\0";
445pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8] = b"standard::sort-order\0";
446pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8] = b"standard::symbolic-icon\0";
447pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8] = b"standard::symlink-target\0";
448pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8] = b"standard::target-uri\0";
449pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8] = b"standard::type\0";
450pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8] = b"thumbnail::failed\0";
451pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &[u8] = b"thumbnail::failed-large\0";
452pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &[u8] = b"thumbnail::failed-normal\0";
453pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &[u8] = b"thumbnail::failed-xlarge\0";
454pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &[u8] = b"thumbnail::failed-xxlarge\0";
455pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8] = b"thumbnail::is-valid\0";
456pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &[u8] = b"thumbnail::is-valid-large\0";
457pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &[u8] = b"thumbnail::is-valid-normal\0";
458pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &[u8] = b"thumbnail::is-valid-xlarge\0";
459pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &[u8] = b"thumbnail::is-valid-xxlarge\0";
460pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8] = b"thumbnail::path\0";
461pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &[u8] = b"thumbnail::path-large\0";
462pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &[u8] = b"thumbnail::path-normal\0";
463pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &[u8] = b"thumbnail::path-xlarge\0";
464pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &[u8] = b"thumbnail::path-xxlarge\0";
465pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8] = b"time::access\0";
466pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8] = b"time::access-nsec\0";
467pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8] = b"time::access-usec\0";
468pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8] = b"time::changed\0";
469pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8] = b"time::changed-nsec\0";
470pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8] = b"time::changed-usec\0";
471pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8] = b"time::created\0";
472pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8] = b"time::created-nsec\0";
473pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8] = b"time::created-usec\0";
474pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8] = b"time::modified\0";
475pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8] = b"time::modified-nsec\0";
476pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8] = b"time::modified-usec\0";
477pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8] = b"trash::deletion-date\0";
478pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8] = b"trash::item-count\0";
479pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8] = b"trash::orig-path\0";
480pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8] = b"unix::blocks\0";
481pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8] = b"unix::block-size\0";
482pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8] = b"unix::device\0";
483pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8] = b"unix::gid\0";
484pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8] = b"unix::inode\0";
485pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8] = b"unix::is-mountpoint\0";
486pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8] = b"unix::mode\0";
487pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8] = b"unix::nlink\0";
488pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8] = b"unix::rdev\0";
489pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8] = b"unix::uid\0";
490pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-memory-monitor\0";
491pub const G_MENU_ATTRIBUTE_ACTION: &[u8] = b"action\0";
492pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8] = b"action-namespace\0";
493pub const G_MENU_ATTRIBUTE_ICON: &[u8] = b"icon\0";
494pub const G_MENU_ATTRIBUTE_LABEL: &[u8] = b"label\0";
495pub const G_MENU_ATTRIBUTE_TARGET: &[u8] = b"target\0";
496pub const G_MENU_EXPORTER_MAX_SECTION_SIZE: c_int = 1000;
497pub const G_MENU_LINK_SECTION: &[u8] = b"section\0";
498pub const G_MENU_LINK_SUBMENU: &[u8] = b"submenu\0";
499pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-native-volume-monitor\0";
500pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-network-monitor\0";
501pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-power-profile-monitor\0";
502pub const G_PROXY_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy\0";
503pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy-resolver\0";
504pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gsettings-backend\0";
505pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gio-tls-backend\0";
506pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8] = b"1.3.6.1.5.5.7.3.2\0";
507pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8] = b"1.3.6.1.5.5.7.3.1\0";
508pub const G_VFS_EXTENSION_POINT_NAME: &[u8] = b"gio-vfs\0";
509pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8] = b"class\0";
510pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: &[u8] = b"hal-udi\0";
511pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8] = b"label\0";
512pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8] = b"nfs-mount\0";
513pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0";
514pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8] = b"uuid\0";
515pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-volume-monitor\0";
516
517// Flags
518pub type GAppInfoCreateFlags = c_uint;
519pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0;
520pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1;
521pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2;
522pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4;
523
524pub type GApplicationFlags = c_uint;
525pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0;
526#[cfg(feature = "v2_74")]
527#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
528pub const G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0;
529pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1;
530pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2;
531pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4;
532pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8;
533pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16;
534pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32;
535pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64;
536pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128;
537pub const G_APPLICATION_REPLACE: GApplicationFlags = 256;
538
539pub type GAskPasswordFlags = c_uint;
540pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1;
541pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2;
542pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4;
543pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8;
544pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16;
545pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32;
546
547pub type GBusNameOwnerFlags = c_uint;
548pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0;
549pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1;
550pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2;
551pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4;
552
553pub type GBusNameWatcherFlags = c_uint;
554pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0;
555pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1;
556
557pub type GConverterFlags = c_uint;
558pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0;
559pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1;
560pub const G_CONVERTER_FLUSH: GConverterFlags = 2;
561
562pub type GDBusCallFlags = c_uint;
563pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0;
564pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1;
565pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2;
566
567pub type GDBusCapabilityFlags = c_uint;
568pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0;
569pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1;
570
571pub type GDBusConnectionFlags = c_uint;
572pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0;
573pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1;
574pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2;
575pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4;
576pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8;
577pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16;
578pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusConnectionFlags = 32;
579pub const G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64;
580
581pub type GDBusInterfaceSkeletonFlags = c_uint;
582pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0;
583pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD:
584    GDBusInterfaceSkeletonFlags = 1;
585
586pub type GDBusMessageFlags = c_uint;
587pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0;
588pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1;
589pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2;
590pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4;
591
592pub type GDBusObjectManagerClientFlags = c_uint;
593pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0;
594pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1;
595
596pub type GDBusPropertyInfoFlags = c_uint;
597pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0;
598pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1;
599pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2;
600
601pub type GDBusProxyFlags = c_uint;
602pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0;
603pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1;
604pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2;
605pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4;
606pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8;
607pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16;
608pub const G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32;
609
610pub type GDBusSendMessageFlags = c_uint;
611pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0;
612pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1;
613
614pub type GDBusServerFlags = c_uint;
615pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0;
616pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1;
617pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2;
618pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags = 4;
619
620pub type GDBusSignalFlags = c_uint;
621pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0;
622pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1;
623pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2;
624pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4;
625
626pub type GDBusSubtreeFlags = c_uint;
627pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0;
628pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1;
629
630pub type GDriveStartFlags = c_uint;
631pub const G_DRIVE_START_NONE: GDriveStartFlags = 0;
632
633pub type GFileAttributeInfoFlags = c_uint;
634pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0;
635pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1;
636pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2;
637
638pub type GFileCopyFlags = c_uint;
639pub const G_FILE_COPY_NONE: GFileCopyFlags = 0;
640pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1;
641pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2;
642pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4;
643pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8;
644pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16;
645pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32;
646pub const G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME: GFileCopyFlags = 64;
647
648pub type GFileCreateFlags = c_uint;
649pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0;
650pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1;
651pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2;
652
653pub type GFileMeasureFlags = c_uint;
654pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0;
655pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2;
656pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4;
657pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8;
658
659pub type GFileMonitorFlags = c_uint;
660pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0;
661pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1;
662pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2;
663pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4;
664pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8;
665
666pub type GFileQueryInfoFlags = c_uint;
667pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0;
668pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1;
669
670pub type GIOModuleScopeFlags = c_uint;
671pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0;
672pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1;
673
674pub type GIOStreamSpliceFlags = c_uint;
675pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0;
676pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1;
677pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2;
678pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4;
679
680pub type GMountMountFlags = c_uint;
681pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0;
682
683pub type GMountUnmountFlags = c_uint;
684pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
685pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
686
687pub type GOutputStreamSpliceFlags = c_uint;
688pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
689pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1;
690pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2;
691
692pub type GResolverNameLookupFlags = c_uint;
693pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0;
694pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1;
695pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2;
696
697pub type GResourceFlags = c_uint;
698pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
699pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
700
701pub type GResourceLookupFlags = c_uint;
702pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
703
704pub type GSettingsBindFlags = c_uint;
705pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
706pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
707pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
708pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
709pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
710pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
711
712pub type GSubprocessFlags = c_uint;
713pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
714pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
715pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
716pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
717pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
718pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
719pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
720pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
721pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
722pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
723
724pub type GTestDBusFlags = c_uint;
725pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0;
726
727pub type GTlsCertificateFlags = c_uint;
728pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
729pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
730pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
731pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
732pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
733pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
734pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
735pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
736pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
737
738pub type GTlsCertificateRequestFlags = c_uint;
739pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0;
740
741pub type GTlsDatabaseLookupFlags = c_uint;
742pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
743pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
744
745pub type GTlsDatabaseVerifyFlags = c_uint;
746pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
747
748pub type GTlsPasswordFlags = c_uint;
749pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0;
750pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2;
751pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4;
752pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8;
753pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16;
754pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32;
755pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64;
756
757// Callbacks
758pub type GAsyncReadyCallback =
759    Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>;
760pub type GBusAcquiredCallback =
761    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
762pub type GBusNameAcquiredCallback =
763    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
764pub type GBusNameAppearedCallback =
765    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>;
766pub type GBusNameLostCallback =
767    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
768pub type GBusNameVanishedCallback =
769    Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>;
770pub type GCancellableSourceFunc =
771    Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>;
772pub type GDBusInterfaceGetPropertyFunc = Option<
773    unsafe extern "C" fn(
774        *mut GDBusConnection,
775        *const c_char,
776        *const c_char,
777        *const c_char,
778        *const c_char,
779        *mut *mut glib::GError,
780        gpointer,
781    ) -> *mut glib::GVariant,
782>;
783pub type GDBusInterfaceMethodCallFunc = Option<
784    unsafe extern "C" fn(
785        *mut GDBusConnection,
786        *const c_char,
787        *const c_char,
788        *const c_char,
789        *const c_char,
790        *mut glib::GVariant,
791        *mut GDBusMethodInvocation,
792        gpointer,
793    ),
794>;
795pub type GDBusInterfaceSetPropertyFunc = Option<
796    unsafe extern "C" fn(
797        *mut GDBusConnection,
798        *const c_char,
799        *const c_char,
800        *const c_char,
801        *const c_char,
802        *mut glib::GVariant,
803        *mut *mut glib::GError,
804        gpointer,
805    ) -> gboolean,
806>;
807pub type GDBusMessageFilterFunction = Option<
808    unsafe extern "C" fn(
809        *mut GDBusConnection,
810        *mut GDBusMessage,
811        gboolean,
812        gpointer,
813    ) -> *mut GDBusMessage,
814>;
815pub type GDBusProxyTypeFunc = Option<
816    unsafe extern "C" fn(
817        *mut GDBusObjectManagerClient,
818        *const c_char,
819        *const c_char,
820        gpointer,
821    ) -> GType,
822>;
823pub type GDBusSignalCallback = Option<
824    unsafe extern "C" fn(
825        *mut GDBusConnection,
826        *const c_char,
827        *const c_char,
828        *const c_char,
829        *const c_char,
830        *mut glib::GVariant,
831        gpointer,
832    ),
833>;
834pub type GDBusSubtreeDispatchFunc = Option<
835    unsafe extern "C" fn(
836        *mut GDBusConnection,
837        *const c_char,
838        *const c_char,
839        *const c_char,
840        *const c_char,
841        *mut gpointer,
842        gpointer,
843    ) -> *const GDBusInterfaceVTable,
844>;
845pub type GDBusSubtreeEnumerateFunc = Option<
846    unsafe extern "C" fn(
847        *mut GDBusConnection,
848        *const c_char,
849        *const c_char,
850        gpointer,
851    ) -> *mut *mut c_char,
852>;
853pub type GDBusSubtreeIntrospectFunc = Option<
854    unsafe extern "C" fn(
855        *mut GDBusConnection,
856        *const c_char,
857        *const c_char,
858        *const c_char,
859        gpointer,
860    ) -> *mut *mut GDBusInterfaceInfo,
861>;
862pub type GDatagramBasedSourceFunc =
863    Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>;
864pub type GFileMeasureProgressCallback =
865    Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>;
866pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>;
867pub type GFileReadMoreCallback =
868    Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>;
869pub type GIOSchedulerJobFunc =
870    Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>;
871pub type GPollableSourceFunc =
872    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>;
873pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>;
874pub type GSettingsBindGetMapping =
875    Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>;
876pub type GSettingsBindSetMapping = Option<
877    unsafe extern "C" fn(
878        *const gobject::GValue,
879        *const glib::GVariantType,
880        gpointer,
881    ) -> *mut glib::GVariant,
882>;
883pub type GSettingsGetMapping =
884    Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>;
885pub type GSimpleAsyncThreadFunc =
886    Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>;
887pub type GSocketSourceFunc =
888    Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>;
889pub type GTaskThreadFunc =
890    Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>;
891pub type GVfsFileLookupFunc =
892    Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>;
893
894// Records
895#[derive(Copy, Clone)]
896#[repr(C)]
897pub struct GActionEntry {
898    pub name: *const c_char,
899    pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
900    pub parameter_type: *const c_char,
901    pub state: *const c_char,
902    pub change_state:
903        Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>,
904    pub padding: [size_t; 3],
905}
906
907impl ::std::fmt::Debug for GActionEntry {
908    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
909        f.debug_struct(&format!("GActionEntry @ {self:p}"))
910            .field("name", &self.name)
911            .field("activate", &self.activate)
912            .field("parameter_type", &self.parameter_type)
913            .field("state", &self.state)
914            .field("change_state", &self.change_state)
915            .finish()
916    }
917}
918
919#[derive(Copy, Clone)]
920#[repr(C)]
921pub struct GActionGroupInterface {
922    pub g_iface: gobject::GTypeInterface,
923    pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
924    pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>,
925    pub get_action_enabled:
926        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>,
927    pub get_action_parameter_type:
928        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
929    pub get_action_state_type:
930        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>,
931    pub get_action_state_hint:
932        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
933    pub get_action_state:
934        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>,
935    pub change_action_state:
936        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
937    pub activate_action:
938        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
939    pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
940    pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>,
941    pub action_enabled_changed:
942        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>,
943    pub action_state_changed:
944        Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>,
945    pub query_action: Option<
946        unsafe extern "C" fn(
947            *mut GActionGroup,
948            *const c_char,
949            *mut gboolean,
950            *mut *const glib::GVariantType,
951            *mut *const glib::GVariantType,
952            *mut *mut glib::GVariant,
953            *mut *mut glib::GVariant,
954        ) -> gboolean,
955    >,
956}
957
958impl ::std::fmt::Debug for GActionGroupInterface {
959    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
960        f.debug_struct(&format!("GActionGroupInterface @ {self:p}"))
961            .field("g_iface", &self.g_iface)
962            .field("has_action", &self.has_action)
963            .field("list_actions", &self.list_actions)
964            .field("get_action_enabled", &self.get_action_enabled)
965            .field("get_action_parameter_type", &self.get_action_parameter_type)
966            .field("get_action_state_type", &self.get_action_state_type)
967            .field("get_action_state_hint", &self.get_action_state_hint)
968            .field("get_action_state", &self.get_action_state)
969            .field("change_action_state", &self.change_action_state)
970            .field("activate_action", &self.activate_action)
971            .field("action_added", &self.action_added)
972            .field("action_removed", &self.action_removed)
973            .field("action_enabled_changed", &self.action_enabled_changed)
974            .field("action_state_changed", &self.action_state_changed)
975            .field("query_action", &self.query_action)
976            .finish()
977    }
978}
979
980#[derive(Copy, Clone)]
981#[repr(C)]
982pub struct GActionInterface {
983    pub g_iface: gobject::GTypeInterface,
984    pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>,
985    pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
986    pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>,
987    pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
988    pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>,
989    pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>,
990    pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
991    pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>,
992}
993
994impl ::std::fmt::Debug for GActionInterface {
995    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
996        f.debug_struct(&format!("GActionInterface @ {self:p}"))
997            .field("g_iface", &self.g_iface)
998            .field("get_name", &self.get_name)
999            .field("get_parameter_type", &self.get_parameter_type)
1000            .field("get_state_type", &self.get_state_type)
1001            .field("get_state_hint", &self.get_state_hint)
1002            .field("get_enabled", &self.get_enabled)
1003            .field("get_state", &self.get_state)
1004            .field("change_state", &self.change_state)
1005            .field("activate", &self.activate)
1006            .finish()
1007    }
1008}
1009
1010#[derive(Copy, Clone)]
1011#[repr(C)]
1012pub struct GActionMapInterface {
1013    pub g_iface: gobject::GTypeInterface,
1014    pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>,
1015    pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>,
1016    pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>,
1017}
1018
1019impl ::std::fmt::Debug for GActionMapInterface {
1020    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1021        f.debug_struct(&format!("GActionMapInterface @ {self:p}"))
1022            .field("g_iface", &self.g_iface)
1023            .field("lookup_action", &self.lookup_action)
1024            .field("add_action", &self.add_action)
1025            .field("remove_action", &self.remove_action)
1026            .finish()
1027    }
1028}
1029
1030#[derive(Copy, Clone)]
1031#[repr(C)]
1032pub struct GAppInfoIface {
1033    pub g_iface: gobject::GTypeInterface,
1034    pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>,
1035    pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>,
1036    pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1037    pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1038    pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1039    pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1040    pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>,
1041    pub launch: Option<
1042        unsafe extern "C" fn(
1043            *mut GAppInfo,
1044            *mut glib::GList,
1045            *mut GAppLaunchContext,
1046            *mut *mut glib::GError,
1047        ) -> gboolean,
1048    >,
1049    pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1050    pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1051    pub launch_uris: Option<
1052        unsafe extern "C" fn(
1053            *mut GAppInfo,
1054            *mut glib::GList,
1055            *mut GAppLaunchContext,
1056            *mut *mut glib::GError,
1057        ) -> gboolean,
1058    >,
1059    pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1060    pub set_as_default_for_type: Option<
1061        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1062    >,
1063    pub set_as_default_for_extension: Option<
1064        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1065    >,
1066    pub add_supports_type: Option<
1067        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1068    >,
1069    pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1070    pub remove_supports_type: Option<
1071        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1072    >,
1073    pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1074    pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>,
1075    pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1076    pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>,
1077    pub set_as_last_used_for_type: Option<
1078        unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean,
1079    >,
1080    pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>,
1081    pub launch_uris_async: Option<
1082        unsafe extern "C" fn(
1083            *mut GAppInfo,
1084            *mut glib::GList,
1085            *mut GAppLaunchContext,
1086            *mut GCancellable,
1087            GAsyncReadyCallback,
1088            gpointer,
1089        ),
1090    >,
1091    pub launch_uris_finish: Option<
1092        unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
1093    >,
1094}
1095
1096impl ::std::fmt::Debug for GAppInfoIface {
1097    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1098        f.debug_struct(&format!("GAppInfoIface @ {self:p}"))
1099            .field("g_iface", &self.g_iface)
1100            .field("dup", &self.dup)
1101            .field("equal", &self.equal)
1102            .field("get_id", &self.get_id)
1103            .field("get_name", &self.get_name)
1104            .field("get_description", &self.get_description)
1105            .field("get_executable", &self.get_executable)
1106            .field("get_icon", &self.get_icon)
1107            .field("launch", &self.launch)
1108            .field("supports_uris", &self.supports_uris)
1109            .field("supports_files", &self.supports_files)
1110            .field("launch_uris", &self.launch_uris)
1111            .field("should_show", &self.should_show)
1112            .field("set_as_default_for_type", &self.set_as_default_for_type)
1113            .field(
1114                "set_as_default_for_extension",
1115                &self.set_as_default_for_extension,
1116            )
1117            .field("add_supports_type", &self.add_supports_type)
1118            .field("can_remove_supports_type", &self.can_remove_supports_type)
1119            .field("remove_supports_type", &self.remove_supports_type)
1120            .field("can_delete", &self.can_delete)
1121            .field("do_delete", &self.do_delete)
1122            .field("get_commandline", &self.get_commandline)
1123            .field("get_display_name", &self.get_display_name)
1124            .field("set_as_last_used_for_type", &self.set_as_last_used_for_type)
1125            .field("get_supported_types", &self.get_supported_types)
1126            .field("launch_uris_async", &self.launch_uris_async)
1127            .field("launch_uris_finish", &self.launch_uris_finish)
1128            .finish()
1129    }
1130}
1131
1132#[derive(Copy, Clone)]
1133#[repr(C)]
1134pub struct GAppLaunchContextClass {
1135    pub parent_class: gobject::GObjectClass,
1136    pub get_display: Option<
1137        unsafe extern "C" fn(
1138            *mut GAppLaunchContext,
1139            *mut GAppInfo,
1140            *mut glib::GList,
1141        ) -> *mut c_char,
1142    >,
1143    pub get_startup_notify_id: Option<
1144        unsafe extern "C" fn(
1145            *mut GAppLaunchContext,
1146            *mut GAppInfo,
1147            *mut glib::GList,
1148        ) -> *mut c_char,
1149    >,
1150    pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>,
1151    pub launched:
1152        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1153    pub launch_started:
1154        Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>,
1155    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1156    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1157    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1158}
1159
1160impl ::std::fmt::Debug for GAppLaunchContextClass {
1161    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1162        f.debug_struct(&format!("GAppLaunchContextClass @ {self:p}"))
1163            .field("parent_class", &self.parent_class)
1164            .field("get_display", &self.get_display)
1165            .field("get_startup_notify_id", &self.get_startup_notify_id)
1166            .field("launch_failed", &self.launch_failed)
1167            .field("launched", &self.launched)
1168            .field("launch_started", &self.launch_started)
1169            .field("_g_reserved1", &self._g_reserved1)
1170            .field("_g_reserved2", &self._g_reserved2)
1171            .field("_g_reserved3", &self._g_reserved3)
1172            .finish()
1173    }
1174}
1175
1176#[repr(C)]
1177#[allow(dead_code)]
1178pub struct _GAppLaunchContextPrivate {
1179    _data: [u8; 0],
1180    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1181}
1182
1183pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
1184
1185#[derive(Copy, Clone)]
1186#[repr(C)]
1187pub struct GApplicationClass {
1188    pub parent_class: gobject::GObjectClass,
1189    pub startup: Option<unsafe extern "C" fn(*mut GApplication)>,
1190    pub activate: Option<unsafe extern "C" fn(*mut GApplication)>,
1191    pub open:
1192        Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>,
1193    pub command_line:
1194        Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>,
1195    pub local_command_line: Option<
1196        unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean,
1197    >,
1198    pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1199    pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>,
1200    pub add_platform_data:
1201        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>,
1202    pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1203    pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>,
1204    pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>,
1205    pub dbus_register: Option<
1206        unsafe extern "C" fn(
1207            *mut GApplication,
1208            *mut GDBusConnection,
1209            *const c_char,
1210            *mut *mut glib::GError,
1211        ) -> gboolean,
1212    >,
1213    pub dbus_unregister:
1214        Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>,
1215    pub handle_local_options:
1216        Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>,
1217    pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>,
1218    pub padding: [gpointer; 7],
1219}
1220
1221impl ::std::fmt::Debug for GApplicationClass {
1222    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1223        f.debug_struct(&format!("GApplicationClass @ {self:p}"))
1224            .field("startup", &self.startup)
1225            .field("activate", &self.activate)
1226            .field("open", &self.open)
1227            .field("command_line", &self.command_line)
1228            .field("local_command_line", &self.local_command_line)
1229            .field("before_emit", &self.before_emit)
1230            .field("after_emit", &self.after_emit)
1231            .field("add_platform_data", &self.add_platform_data)
1232            .field("quit_mainloop", &self.quit_mainloop)
1233            .field("run_mainloop", &self.run_mainloop)
1234            .field("shutdown", &self.shutdown)
1235            .field("dbus_register", &self.dbus_register)
1236            .field("dbus_unregister", &self.dbus_unregister)
1237            .field("handle_local_options", &self.handle_local_options)
1238            .field("name_lost", &self.name_lost)
1239            .finish()
1240    }
1241}
1242
1243#[derive(Copy, Clone)]
1244#[repr(C)]
1245pub struct GApplicationCommandLineClass {
1246    pub parent_class: gobject::GObjectClass,
1247    pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1248    pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>,
1249    pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>,
1250    pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>,
1251    pub padding: [gpointer; 10],
1252}
1253
1254impl ::std::fmt::Debug for GApplicationCommandLineClass {
1255    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1256        f.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}"))
1257            .field("print_literal", &self.print_literal)
1258            .field("printerr_literal", &self.printerr_literal)
1259            .field("get_stdin", &self.get_stdin)
1260            .field("done", &self.done)
1261            .finish()
1262    }
1263}
1264
1265#[repr(C)]
1266#[allow(dead_code)]
1267pub struct _GApplicationCommandLinePrivate {
1268    _data: [u8; 0],
1269    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1270}
1271
1272pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
1273
1274#[repr(C)]
1275#[allow(dead_code)]
1276pub struct _GApplicationPrivate {
1277    _data: [u8; 0],
1278    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1279}
1280
1281pub type GApplicationPrivate = _GApplicationPrivate;
1282
1283#[derive(Copy, Clone)]
1284#[repr(C)]
1285pub struct GAsyncInitableIface {
1286    pub g_iface: gobject::GTypeInterface,
1287    pub init_async: Option<
1288        unsafe extern "C" fn(
1289            *mut GAsyncInitable,
1290            c_int,
1291            *mut GCancellable,
1292            GAsyncReadyCallback,
1293            gpointer,
1294        ),
1295    >,
1296    pub init_finish: Option<
1297        unsafe extern "C" fn(
1298            *mut GAsyncInitable,
1299            *mut GAsyncResult,
1300            *mut *mut glib::GError,
1301        ) -> gboolean,
1302    >,
1303}
1304
1305impl ::std::fmt::Debug for GAsyncInitableIface {
1306    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1307        f.debug_struct(&format!("GAsyncInitableIface @ {self:p}"))
1308            .field("g_iface", &self.g_iface)
1309            .field("init_async", &self.init_async)
1310            .field("init_finish", &self.init_finish)
1311            .finish()
1312    }
1313}
1314
1315#[derive(Copy, Clone)]
1316#[repr(C)]
1317pub struct GAsyncResultIface {
1318    pub g_iface: gobject::GTypeInterface,
1319    pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>,
1320    pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>,
1321    pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>,
1322}
1323
1324impl ::std::fmt::Debug for GAsyncResultIface {
1325    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1326        f.debug_struct(&format!("GAsyncResultIface @ {self:p}"))
1327            .field("g_iface", &self.g_iface)
1328            .field("get_user_data", &self.get_user_data)
1329            .field("get_source_object", &self.get_source_object)
1330            .field("is_tagged", &self.is_tagged)
1331            .finish()
1332    }
1333}
1334
1335#[derive(Copy, Clone)]
1336#[repr(C)]
1337pub struct GBufferedInputStreamClass {
1338    pub parent_class: GFilterInputStreamClass,
1339    pub fill: Option<
1340        unsafe extern "C" fn(
1341            *mut GBufferedInputStream,
1342            ssize_t,
1343            *mut GCancellable,
1344            *mut *mut glib::GError,
1345        ) -> ssize_t,
1346    >,
1347    pub fill_async: Option<
1348        unsafe extern "C" fn(
1349            *mut GBufferedInputStream,
1350            ssize_t,
1351            c_int,
1352            *mut GCancellable,
1353            GAsyncReadyCallback,
1354            gpointer,
1355        ),
1356    >,
1357    pub fill_finish: Option<
1358        unsafe extern "C" fn(
1359            *mut GBufferedInputStream,
1360            *mut GAsyncResult,
1361            *mut *mut glib::GError,
1362        ) -> ssize_t,
1363    >,
1364    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1365    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1366    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1367    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1368    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1369}
1370
1371impl ::std::fmt::Debug for GBufferedInputStreamClass {
1372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1373        f.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}"))
1374            .field("parent_class", &self.parent_class)
1375            .field("fill", &self.fill)
1376            .field("fill_async", &self.fill_async)
1377            .field("fill_finish", &self.fill_finish)
1378            .field("_g_reserved1", &self._g_reserved1)
1379            .field("_g_reserved2", &self._g_reserved2)
1380            .field("_g_reserved3", &self._g_reserved3)
1381            .field("_g_reserved4", &self._g_reserved4)
1382            .field("_g_reserved5", &self._g_reserved5)
1383            .finish()
1384    }
1385}
1386
1387#[repr(C)]
1388#[allow(dead_code)]
1389pub struct _GBufferedInputStreamPrivate {
1390    _data: [u8; 0],
1391    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1392}
1393
1394pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
1395
1396#[derive(Copy, Clone)]
1397#[repr(C)]
1398pub struct GBufferedOutputStreamClass {
1399    pub parent_class: GFilterOutputStreamClass,
1400    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1401    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1402}
1403
1404impl ::std::fmt::Debug for GBufferedOutputStreamClass {
1405    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1406        f.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}"))
1407            .field("parent_class", &self.parent_class)
1408            .field("_g_reserved1", &self._g_reserved1)
1409            .field("_g_reserved2", &self._g_reserved2)
1410            .finish()
1411    }
1412}
1413
1414#[repr(C)]
1415#[allow(dead_code)]
1416pub struct _GBufferedOutputStreamPrivate {
1417    _data: [u8; 0],
1418    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1419}
1420
1421pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
1422
1423#[derive(Copy, Clone)]
1424#[repr(C)]
1425pub struct GCancellableClass {
1426    pub parent_class: gobject::GObjectClass,
1427    pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>,
1428    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1429    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1430    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1431    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1432    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1433}
1434
1435impl ::std::fmt::Debug for GCancellableClass {
1436    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1437        f.debug_struct(&format!("GCancellableClass @ {self:p}"))
1438            .field("parent_class", &self.parent_class)
1439            .field("cancelled", &self.cancelled)
1440            .field("_g_reserved1", &self._g_reserved1)
1441            .field("_g_reserved2", &self._g_reserved2)
1442            .field("_g_reserved3", &self._g_reserved3)
1443            .field("_g_reserved4", &self._g_reserved4)
1444            .field("_g_reserved5", &self._g_reserved5)
1445            .finish()
1446    }
1447}
1448
1449#[repr(C)]
1450#[allow(dead_code)]
1451pub struct _GCancellablePrivate {
1452    _data: [u8; 0],
1453    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1454}
1455
1456pub type GCancellablePrivate = _GCancellablePrivate;
1457
1458#[derive(Copy, Clone)]
1459#[repr(C)]
1460pub struct GCharsetConverterClass {
1461    pub parent_class: gobject::GObjectClass,
1462}
1463
1464impl ::std::fmt::Debug for GCharsetConverterClass {
1465    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1466        f.debug_struct(&format!("GCharsetConverterClass @ {self:p}"))
1467            .field("parent_class", &self.parent_class)
1468            .finish()
1469    }
1470}
1471
1472#[derive(Copy, Clone)]
1473#[repr(C)]
1474pub struct GConverterIface {
1475    pub g_iface: gobject::GTypeInterface,
1476    pub convert: Option<
1477        unsafe extern "C" fn(
1478            *mut GConverter,
1479            *mut u8,
1480            size_t,
1481            *mut u8,
1482            size_t,
1483            GConverterFlags,
1484            *mut size_t,
1485            *mut size_t,
1486            *mut *mut glib::GError,
1487        ) -> GConverterResult,
1488    >,
1489    pub reset: Option<unsafe extern "C" fn(*mut GConverter)>,
1490}
1491
1492impl ::std::fmt::Debug for GConverterIface {
1493    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1494        f.debug_struct(&format!("GConverterIface @ {self:p}"))
1495            .field("g_iface", &self.g_iface)
1496            .field("convert", &self.convert)
1497            .field("reset", &self.reset)
1498            .finish()
1499    }
1500}
1501
1502#[derive(Copy, Clone)]
1503#[repr(C)]
1504pub struct GConverterInputStreamClass {
1505    pub parent_class: GFilterInputStreamClass,
1506    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1507    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1508    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1509    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1510    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1511}
1512
1513impl ::std::fmt::Debug for GConverterInputStreamClass {
1514    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1515        f.debug_struct(&format!("GConverterInputStreamClass @ {self:p}"))
1516            .field("parent_class", &self.parent_class)
1517            .field("_g_reserved1", &self._g_reserved1)
1518            .field("_g_reserved2", &self._g_reserved2)
1519            .field("_g_reserved3", &self._g_reserved3)
1520            .field("_g_reserved4", &self._g_reserved4)
1521            .field("_g_reserved5", &self._g_reserved5)
1522            .finish()
1523    }
1524}
1525
1526#[repr(C)]
1527#[allow(dead_code)]
1528pub struct _GConverterInputStreamPrivate {
1529    _data: [u8; 0],
1530    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1531}
1532
1533pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
1534
1535#[derive(Copy, Clone)]
1536#[repr(C)]
1537pub struct GConverterOutputStreamClass {
1538    pub parent_class: GFilterOutputStreamClass,
1539    pub _g_reserved1: Option<unsafe extern "C" fn()>,
1540    pub _g_reserved2: Option<unsafe extern "C" fn()>,
1541    pub _g_reserved3: Option<unsafe extern "C" fn()>,
1542    pub _g_reserved4: Option<unsafe extern "C" fn()>,
1543    pub _g_reserved5: Option<unsafe extern "C" fn()>,
1544}
1545
1546impl ::std::fmt::Debug for GConverterOutputStreamClass {
1547    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1548        f.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}"))
1549            .field("parent_class", &self.parent_class)
1550            .field("_g_reserved1", &self._g_reserved1)
1551            .field("_g_reserved2", &self._g_reserved2)
1552            .field("_g_reserved3", &self._g_reserved3)
1553            .field("_g_reserved4", &self._g_reserved4)
1554            .field("_g_reserved5", &self._g_reserved5)
1555            .finish()
1556    }
1557}
1558
1559#[repr(C)]
1560#[allow(dead_code)]
1561pub struct _GConverterOutputStreamPrivate {
1562    _data: [u8; 0],
1563    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1564}
1565
1566pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
1567
1568#[repr(C)]
1569#[allow(dead_code)]
1570pub struct _GCredentialsClass {
1571    _data: [u8; 0],
1572    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1573}
1574
1575pub type GCredentialsClass = _GCredentialsClass;
1576
1577#[derive(Copy, Clone)]
1578#[repr(C)]
1579pub struct GDBusAnnotationInfo {
1580    pub ref_count: c_int,
1581    pub key: *mut c_char,
1582    pub value: *mut c_char,
1583    pub annotations: *mut *mut GDBusAnnotationInfo,
1584}
1585
1586impl ::std::fmt::Debug for GDBusAnnotationInfo {
1587    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1588        f.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}"))
1589            .field("ref_count", &self.ref_count)
1590            .field("key", &self.key)
1591            .field("value", &self.value)
1592            .field("annotations", &self.annotations)
1593            .finish()
1594    }
1595}
1596
1597#[derive(Copy, Clone)]
1598#[repr(C)]
1599pub struct GDBusArgInfo {
1600    pub ref_count: c_int,
1601    pub name: *mut c_char,
1602    pub signature: *mut c_char,
1603    pub annotations: *mut *mut GDBusAnnotationInfo,
1604}
1605
1606impl ::std::fmt::Debug for GDBusArgInfo {
1607    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1608        f.debug_struct(&format!("GDBusArgInfo @ {self:p}"))
1609            .field("ref_count", &self.ref_count)
1610            .field("name", &self.name)
1611            .field("signature", &self.signature)
1612            .field("annotations", &self.annotations)
1613            .finish()
1614    }
1615}
1616
1617#[derive(Copy, Clone)]
1618#[repr(C)]
1619pub struct GDBusErrorEntry {
1620    pub error_code: c_int,
1621    pub dbus_error_name: *const c_char,
1622}
1623
1624impl ::std::fmt::Debug for GDBusErrorEntry {
1625    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1626        f.debug_struct(&format!("GDBusErrorEntry @ {self:p}"))
1627            .field("error_code", &self.error_code)
1628            .field("dbus_error_name", &self.dbus_error_name)
1629            .finish()
1630    }
1631}
1632
1633#[derive(Copy, Clone)]
1634#[repr(C)]
1635pub struct GDBusInterfaceIface {
1636    pub parent_iface: gobject::GTypeInterface,
1637    pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>,
1638    pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1639    pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>,
1640    pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>,
1641}
1642
1643impl ::std::fmt::Debug for GDBusInterfaceIface {
1644    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1645        f.debug_struct(&format!("GDBusInterfaceIface @ {self:p}"))
1646            .field("parent_iface", &self.parent_iface)
1647            .field("get_info", &self.get_info)
1648            .field("get_object", &self.get_object)
1649            .field("set_object", &self.set_object)
1650            .field("dup_object", &self.dup_object)
1651            .finish()
1652    }
1653}
1654
1655#[derive(Copy, Clone)]
1656#[repr(C)]
1657pub struct GDBusInterfaceInfo {
1658    pub ref_count: c_int,
1659    pub name: *mut c_char,
1660    pub methods: *mut *mut GDBusMethodInfo,
1661    pub signals: *mut *mut GDBusSignalInfo,
1662    pub properties: *mut *mut GDBusPropertyInfo,
1663    pub annotations: *mut *mut GDBusAnnotationInfo,
1664}
1665
1666impl ::std::fmt::Debug for GDBusInterfaceInfo {
1667    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1668        f.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}"))
1669            .field("ref_count", &self.ref_count)
1670            .field("name", &self.name)
1671            .field("methods", &self.methods)
1672            .field("signals", &self.signals)
1673            .field("properties", &self.properties)
1674            .field("annotations", &self.annotations)
1675            .finish()
1676    }
1677}
1678
1679#[derive(Copy, Clone)]
1680#[repr(C)]
1681pub struct GDBusInterfaceSkeletonClass {
1682    pub parent_class: gobject::GObjectClass,
1683    pub get_info:
1684        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>,
1685    pub get_vtable:
1686        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>,
1687    pub get_properties:
1688        Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>,
1689    pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>,
1690    pub method_dispatch: Option<
1691        unsafe extern "C" fn(
1692            *mut GDBusInterfaceSkeleton,
1693            GDBusInterfaceMethodCallFunc,
1694            *mut GDBusMethodInvocation,
1695            GDBusInterfaceSkeletonFlags,
1696            *mut GDBusObject,
1697        ),
1698    >,
1699    pub vfunc_padding: [gpointer; 7],
1700    pub g_authorize_method: Option<
1701        unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean,
1702    >,
1703    pub signal_padding: [gpointer; 8],
1704}
1705
1706impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass {
1707    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1708        f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}"))
1709            .field("parent_class", &self.parent_class)
1710            .field("get_info", &self.get_info)
1711            .field("get_vtable", &self.get_vtable)
1712            .field("get_properties", &self.get_properties)
1713            .field("flush", &self.flush)
1714            .field("method_dispatch", &self.method_dispatch)
1715            .field("g_authorize_method", &self.g_authorize_method)
1716            .finish()
1717    }
1718}
1719
1720#[repr(C)]
1721#[allow(dead_code)]
1722pub struct _GDBusInterfaceSkeletonPrivate {
1723    _data: [u8; 0],
1724    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1725}
1726
1727pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
1728
1729#[derive(Copy, Clone)]
1730#[repr(C)]
1731pub struct GDBusInterfaceVTable {
1732    pub method_call: GDBusInterfaceMethodCallFunc,
1733    pub get_property: GDBusInterfaceGetPropertyFunc,
1734    pub set_property: GDBusInterfaceSetPropertyFunc,
1735    pub padding: [gpointer; 8],
1736}
1737
1738impl ::std::fmt::Debug for GDBusInterfaceVTable {
1739    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1740        f.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}"))
1741            .field("method_call", &self.method_call)
1742            .field("get_property", &self.get_property)
1743            .field("set_property", &self.set_property)
1744            .finish()
1745    }
1746}
1747
1748#[derive(Copy, Clone)]
1749#[repr(C)]
1750pub struct GDBusMethodInfo {
1751    pub ref_count: c_int,
1752    pub name: *mut c_char,
1753    pub in_args: *mut *mut GDBusArgInfo,
1754    pub out_args: *mut *mut GDBusArgInfo,
1755    pub annotations: *mut *mut GDBusAnnotationInfo,
1756}
1757
1758impl ::std::fmt::Debug for GDBusMethodInfo {
1759    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1760        f.debug_struct(&format!("GDBusMethodInfo @ {self:p}"))
1761            .field("ref_count", &self.ref_count)
1762            .field("name", &self.name)
1763            .field("in_args", &self.in_args)
1764            .field("out_args", &self.out_args)
1765            .field("annotations", &self.annotations)
1766            .finish()
1767    }
1768}
1769
1770#[derive(Copy, Clone)]
1771#[repr(C)]
1772pub struct GDBusNodeInfo {
1773    pub ref_count: c_int,
1774    pub path: *mut c_char,
1775    pub interfaces: *mut *mut GDBusInterfaceInfo,
1776    pub nodes: *mut *mut GDBusNodeInfo,
1777    pub annotations: *mut *mut GDBusAnnotationInfo,
1778}
1779
1780impl ::std::fmt::Debug for GDBusNodeInfo {
1781    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1782        f.debug_struct(&format!("GDBusNodeInfo @ {self:p}"))
1783            .field("ref_count", &self.ref_count)
1784            .field("path", &self.path)
1785            .field("interfaces", &self.interfaces)
1786            .field("nodes", &self.nodes)
1787            .field("annotations", &self.annotations)
1788            .finish()
1789    }
1790}
1791
1792#[derive(Copy, Clone)]
1793#[repr(C)]
1794pub struct GDBusObjectIface {
1795    pub parent_iface: gobject::GTypeInterface,
1796    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>,
1797    pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>,
1798    pub get_interface:
1799        Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>,
1800    pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1801    pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>,
1802}
1803
1804impl ::std::fmt::Debug for GDBusObjectIface {
1805    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1806        f.debug_struct(&format!("GDBusObjectIface @ {self:p}"))
1807            .field("parent_iface", &self.parent_iface)
1808            .field("get_object_path", &self.get_object_path)
1809            .field("get_interfaces", &self.get_interfaces)
1810            .field("get_interface", &self.get_interface)
1811            .field("interface_added", &self.interface_added)
1812            .field("interface_removed", &self.interface_removed)
1813            .finish()
1814    }
1815}
1816
1817#[derive(Copy, Clone)]
1818#[repr(C)]
1819pub struct GDBusObjectManagerClientClass {
1820    pub parent_class: gobject::GObjectClass,
1821    pub interface_proxy_signal: Option<
1822        unsafe extern "C" fn(
1823            *mut GDBusObjectManagerClient,
1824            *mut GDBusObjectProxy,
1825            *mut GDBusProxy,
1826            *const c_char,
1827            *const c_char,
1828            *mut glib::GVariant,
1829        ),
1830    >,
1831    pub interface_proxy_properties_changed: Option<
1832        unsafe extern "C" fn(
1833            *mut GDBusObjectManagerClient,
1834            *mut GDBusObjectProxy,
1835            *mut GDBusProxy,
1836            *mut glib::GVariant,
1837            *const *const c_char,
1838        ),
1839    >,
1840    pub padding: [gpointer; 8],
1841}
1842
1843impl ::std::fmt::Debug for GDBusObjectManagerClientClass {
1844    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1845        f.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}"))
1846            .field("parent_class", &self.parent_class)
1847            .field("interface_proxy_signal", &self.interface_proxy_signal)
1848            .field(
1849                "interface_proxy_properties_changed",
1850                &self.interface_proxy_properties_changed,
1851            )
1852            .finish()
1853    }
1854}
1855
1856#[repr(C)]
1857#[allow(dead_code)]
1858pub struct _GDBusObjectManagerClientPrivate {
1859    _data: [u8; 0],
1860    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1861}
1862
1863pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
1864
1865#[derive(Copy, Clone)]
1866#[repr(C)]
1867pub struct GDBusObjectManagerIface {
1868    pub parent_iface: gobject::GTypeInterface,
1869    pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>,
1870    pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>,
1871    pub get_object:
1872        Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>,
1873    pub get_interface: Option<
1874        unsafe extern "C" fn(
1875            *mut GDBusObjectManager,
1876            *const c_char,
1877            *const c_char,
1878        ) -> *mut GDBusInterface,
1879    >,
1880    pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1881    pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>,
1882    pub interface_added: Option<
1883        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1884    >,
1885    pub interface_removed: Option<
1886        unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface),
1887    >,
1888}
1889
1890impl ::std::fmt::Debug for GDBusObjectManagerIface {
1891    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1892        f.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}"))
1893            .field("parent_iface", &self.parent_iface)
1894            .field("get_object_path", &self.get_object_path)
1895            .field("get_objects", &self.get_objects)
1896            .field("get_object", &self.get_object)
1897            .field("get_interface", &self.get_interface)
1898            .field("object_added", &self.object_added)
1899            .field("object_removed", &self.object_removed)
1900            .field("interface_added", &self.interface_added)
1901            .field("interface_removed", &self.interface_removed)
1902            .finish()
1903    }
1904}
1905
1906#[derive(Copy, Clone)]
1907#[repr(C)]
1908pub struct GDBusObjectManagerServerClass {
1909    pub parent_class: gobject::GObjectClass,
1910    pub padding: [gpointer; 8],
1911}
1912
1913impl ::std::fmt::Debug for GDBusObjectManagerServerClass {
1914    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1915        f.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}"))
1916            .field("parent_class", &self.parent_class)
1917            .finish()
1918    }
1919}
1920
1921#[repr(C)]
1922#[allow(dead_code)]
1923pub struct _GDBusObjectManagerServerPrivate {
1924    _data: [u8; 0],
1925    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1926}
1927
1928pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
1929
1930#[derive(Copy, Clone)]
1931#[repr(C)]
1932pub struct GDBusObjectProxyClass {
1933    pub parent_class: gobject::GObjectClass,
1934    pub padding: [gpointer; 8],
1935}
1936
1937impl ::std::fmt::Debug for GDBusObjectProxyClass {
1938    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1939        f.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}"))
1940            .field("parent_class", &self.parent_class)
1941            .finish()
1942    }
1943}
1944
1945#[repr(C)]
1946#[allow(dead_code)]
1947pub struct _GDBusObjectProxyPrivate {
1948    _data: [u8; 0],
1949    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1950}
1951
1952pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
1953
1954#[derive(Copy, Clone)]
1955#[repr(C)]
1956pub struct GDBusObjectSkeletonClass {
1957    pub parent_class: gobject::GObjectClass,
1958    pub authorize_method: Option<
1959        unsafe extern "C" fn(
1960            *mut GDBusObjectSkeleton,
1961            *mut GDBusInterfaceSkeleton,
1962            *mut GDBusMethodInvocation,
1963        ) -> gboolean,
1964    >,
1965    pub padding: [gpointer; 8],
1966}
1967
1968impl ::std::fmt::Debug for GDBusObjectSkeletonClass {
1969    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1970        f.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}"))
1971            .field("parent_class", &self.parent_class)
1972            .field("authorize_method", &self.authorize_method)
1973            .finish()
1974    }
1975}
1976
1977#[repr(C)]
1978#[allow(dead_code)]
1979pub struct _GDBusObjectSkeletonPrivate {
1980    _data: [u8; 0],
1981    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1982}
1983
1984pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
1985
1986#[derive(Copy, Clone)]
1987#[repr(C)]
1988pub struct GDBusPropertyInfo {
1989    pub ref_count: c_int,
1990    pub name: *mut c_char,
1991    pub signature: *mut c_char,
1992    pub flags: GDBusPropertyInfoFlags,
1993    pub annotations: *mut *mut GDBusAnnotationInfo,
1994}
1995
1996impl ::std::fmt::Debug for GDBusPropertyInfo {
1997    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1998        f.debug_struct(&format!("GDBusPropertyInfo @ {self:p}"))
1999            .field("ref_count", &self.ref_count)
2000            .field("name", &self.name)
2001            .field("signature", &self.signature)
2002            .field("flags", &self.flags)
2003            .field("annotations", &self.annotations)
2004            .finish()
2005    }
2006}
2007
2008#[derive(Copy, Clone)]
2009#[repr(C)]
2010pub struct GDBusProxyClass {
2011    pub parent_class: gobject::GObjectClass,
2012    pub g_properties_changed:
2013        Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>,
2014    pub g_signal: Option<
2015        unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant),
2016    >,
2017    pub padding: [gpointer; 32],
2018}
2019
2020impl ::std::fmt::Debug for GDBusProxyClass {
2021    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2022        f.debug_struct(&format!("GDBusProxyClass @ {self:p}"))
2023            .field("g_properties_changed", &self.g_properties_changed)
2024            .field("g_signal", &self.g_signal)
2025            .finish()
2026    }
2027}
2028
2029#[repr(C)]
2030#[allow(dead_code)]
2031pub struct _GDBusProxyPrivate {
2032    _data: [u8; 0],
2033    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2034}
2035
2036pub type GDBusProxyPrivate = _GDBusProxyPrivate;
2037
2038#[derive(Copy, Clone)]
2039#[repr(C)]
2040pub struct GDBusSignalInfo {
2041    pub ref_count: c_int,
2042    pub name: *mut c_char,
2043    pub args: *mut *mut GDBusArgInfo,
2044    pub annotations: *mut *mut GDBusAnnotationInfo,
2045}
2046
2047impl ::std::fmt::Debug for GDBusSignalInfo {
2048    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2049        f.debug_struct(&format!("GDBusSignalInfo @ {self:p}"))
2050            .field("ref_count", &self.ref_count)
2051            .field("name", &self.name)
2052            .field("args", &self.args)
2053            .field("annotations", &self.annotations)
2054            .finish()
2055    }
2056}
2057
2058#[derive(Copy, Clone)]
2059#[repr(C)]
2060pub struct GDBusSubtreeVTable {
2061    pub enumerate: GDBusSubtreeEnumerateFunc,
2062    pub introspect: GDBusSubtreeIntrospectFunc,
2063    pub dispatch: GDBusSubtreeDispatchFunc,
2064    pub padding: [gpointer; 8],
2065}
2066
2067impl ::std::fmt::Debug for GDBusSubtreeVTable {
2068    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2069        f.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}"))
2070            .field("enumerate", &self.enumerate)
2071            .field("introspect", &self.introspect)
2072            .field("dispatch", &self.dispatch)
2073            .finish()
2074    }
2075}
2076
2077#[derive(Copy, Clone)]
2078#[repr(C)]
2079pub struct GDataInputStreamClass {
2080    pub parent_class: GBufferedInputStreamClass,
2081    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2082    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2083    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2084    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2085    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2086}
2087
2088impl ::std::fmt::Debug for GDataInputStreamClass {
2089    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2090        f.debug_struct(&format!("GDataInputStreamClass @ {self:p}"))
2091            .field("parent_class", &self.parent_class)
2092            .field("_g_reserved1", &self._g_reserved1)
2093            .field("_g_reserved2", &self._g_reserved2)
2094            .field("_g_reserved3", &self._g_reserved3)
2095            .field("_g_reserved4", &self._g_reserved4)
2096            .field("_g_reserved5", &self._g_reserved5)
2097            .finish()
2098    }
2099}
2100
2101#[repr(C)]
2102#[allow(dead_code)]
2103pub struct _GDataInputStreamPrivate {
2104    _data: [u8; 0],
2105    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2106}
2107
2108pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
2109
2110#[derive(Copy, Clone)]
2111#[repr(C)]
2112pub struct GDataOutputStreamClass {
2113    pub parent_class: GFilterOutputStreamClass,
2114    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2115    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2116    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2117    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2118    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2119}
2120
2121impl ::std::fmt::Debug for GDataOutputStreamClass {
2122    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2123        f.debug_struct(&format!("GDataOutputStreamClass @ {self:p}"))
2124            .field("parent_class", &self.parent_class)
2125            .field("_g_reserved1", &self._g_reserved1)
2126            .field("_g_reserved2", &self._g_reserved2)
2127            .field("_g_reserved3", &self._g_reserved3)
2128            .field("_g_reserved4", &self._g_reserved4)
2129            .field("_g_reserved5", &self._g_reserved5)
2130            .finish()
2131    }
2132}
2133
2134#[repr(C)]
2135#[allow(dead_code)]
2136pub struct _GDataOutputStreamPrivate {
2137    _data: [u8; 0],
2138    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2139}
2140
2141pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
2142
2143#[derive(Copy, Clone)]
2144#[repr(C)]
2145pub struct GDatagramBasedInterface {
2146    pub g_iface: gobject::GTypeInterface,
2147    pub receive_messages: Option<
2148        unsafe extern "C" fn(
2149            *mut GDatagramBased,
2150            *mut GInputMessage,
2151            c_uint,
2152            c_int,
2153            i64,
2154            *mut GCancellable,
2155            *mut *mut glib::GError,
2156        ) -> c_int,
2157    >,
2158    pub send_messages: Option<
2159        unsafe extern "C" fn(
2160            *mut GDatagramBased,
2161            *mut GOutputMessage,
2162            c_uint,
2163            c_int,
2164            i64,
2165            *mut GCancellable,
2166            *mut *mut glib::GError,
2167        ) -> c_int,
2168    >,
2169    pub create_source: Option<
2170        unsafe extern "C" fn(
2171            *mut GDatagramBased,
2172            glib::GIOCondition,
2173            *mut GCancellable,
2174        ) -> *mut glib::GSource,
2175    >,
2176    pub condition_check:
2177        Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>,
2178    pub condition_wait: Option<
2179        unsafe extern "C" fn(
2180            *mut GDatagramBased,
2181            glib::GIOCondition,
2182            i64,
2183            *mut GCancellable,
2184            *mut *mut glib::GError,
2185        ) -> gboolean,
2186    >,
2187}
2188
2189impl ::std::fmt::Debug for GDatagramBasedInterface {
2190    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2191        f.debug_struct(&format!("GDatagramBasedInterface @ {self:p}"))
2192            .field("g_iface", &self.g_iface)
2193            .field("receive_messages", &self.receive_messages)
2194            .field("send_messages", &self.send_messages)
2195            .field("create_source", &self.create_source)
2196            .field("condition_check", &self.condition_check)
2197            .field("condition_wait", &self.condition_wait)
2198            .finish()
2199    }
2200}
2201
2202#[derive(Copy, Clone)]
2203#[repr(C)]
2204pub struct GDebugControllerDBusClass {
2205    pub parent_class: gobject::GObjectClass,
2206    pub authorize: Option<
2207        unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean,
2208    >,
2209    pub padding: [gpointer; 12],
2210}
2211
2212impl ::std::fmt::Debug for GDebugControllerDBusClass {
2213    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2214        f.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}"))
2215            .field("parent_class", &self.parent_class)
2216            .field("authorize", &self.authorize)
2217            .field("padding", &self.padding)
2218            .finish()
2219    }
2220}
2221
2222#[derive(Copy, Clone)]
2223#[repr(C)]
2224pub struct GDebugControllerInterface {
2225    pub g_iface: gobject::GTypeInterface,
2226}
2227
2228impl ::std::fmt::Debug for GDebugControllerInterface {
2229    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2230        f.debug_struct(&format!("GDebugControllerInterface @ {self:p}"))
2231            .finish()
2232    }
2233}
2234
2235#[derive(Copy, Clone)]
2236#[repr(C)]
2237pub struct GDriveIface {
2238    pub g_iface: gobject::GTypeInterface,
2239    pub changed: Option<unsafe extern "C" fn(*mut GDrive)>,
2240    pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>,
2241    pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2242    pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2243    pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2244    pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2245    pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>,
2246    pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2247    pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2248    pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2249    pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2250    pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2251    pub eject: Option<
2252        unsafe extern "C" fn(
2253            *mut GDrive,
2254            GMountUnmountFlags,
2255            *mut GCancellable,
2256            GAsyncReadyCallback,
2257            gpointer,
2258        ),
2259    >,
2260    pub eject_finish: Option<
2261        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2262    >,
2263    pub poll_for_media:
2264        Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
2265    pub poll_for_media_finish: Option<
2266        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2267    >,
2268    pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>,
2269    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>,
2270    pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>,
2271    pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2272    pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2273    pub start: Option<
2274        unsafe extern "C" fn(
2275            *mut GDrive,
2276            GDriveStartFlags,
2277            *mut GMountOperation,
2278            *mut GCancellable,
2279            GAsyncReadyCallback,
2280            gpointer,
2281        ),
2282    >,
2283    pub start_finish: Option<
2284        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2285    >,
2286    pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2287    pub stop: Option<
2288        unsafe extern "C" fn(
2289            *mut GDrive,
2290            GMountUnmountFlags,
2291            *mut GMountOperation,
2292            *mut GCancellable,
2293            GAsyncReadyCallback,
2294            gpointer,
2295        ),
2296    >,
2297    pub stop_finish: Option<
2298        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2299    >,
2300    pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>,
2301    pub eject_with_operation: Option<
2302        unsafe extern "C" fn(
2303            *mut GDrive,
2304            GMountUnmountFlags,
2305            *mut GMountOperation,
2306            *mut GCancellable,
2307            GAsyncReadyCallback,
2308            gpointer,
2309        ),
2310    >,
2311    pub eject_with_operation_finish: Option<
2312        unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
2313    >,
2314    pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>,
2315    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>,
2316    pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>,
2317}
2318
2319impl ::std::fmt::Debug for GDriveIface {
2320    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2321        f.debug_struct(&format!("GDriveIface @ {self:p}"))
2322            .field("g_iface", &self.g_iface)
2323            .field("changed", &self.changed)
2324            .field("disconnected", &self.disconnected)
2325            .field("eject_button", &self.eject_button)
2326            .field("get_name", &self.get_name)
2327            .field("get_icon", &self.get_icon)
2328            .field("has_volumes", &self.has_volumes)
2329            .field("get_volumes", &self.get_volumes)
2330            .field("is_media_removable", &self.is_media_removable)
2331            .field("has_media", &self.has_media)
2332            .field("is_media_check_automatic", &self.is_media_check_automatic)
2333            .field("can_eject", &self.can_eject)
2334            .field("can_poll_for_media", &self.can_poll_for_media)
2335            .field("eject", &self.eject)
2336            .field("eject_finish", &self.eject_finish)
2337            .field("poll_for_media", &self.poll_for_media)
2338            .field("poll_for_media_finish", &self.poll_for_media_finish)
2339            .field("get_identifier", &self.get_identifier)
2340            .field("enumerate_identifiers", &self.enumerate_identifiers)
2341            .field("get_start_stop_type", &self.get_start_stop_type)
2342            .field("can_start", &self.can_start)
2343            .field("can_start_degraded", &self.can_start_degraded)
2344            .field("start", &self.start)
2345            .field("start_finish", &self.start_finish)
2346            .field("can_stop", &self.can_stop)
2347            .field("stop", &self.stop)
2348            .field("stop_finish", &self.stop_finish)
2349            .field("stop_button", &self.stop_button)
2350            .field("eject_with_operation", &self.eject_with_operation)
2351            .field(
2352                "eject_with_operation_finish",
2353                &self.eject_with_operation_finish,
2354            )
2355            .field("get_sort_key", &self.get_sort_key)
2356            .field("get_symbolic_icon", &self.get_symbolic_icon)
2357            .field("is_removable", &self.is_removable)
2358            .finish()
2359    }
2360}
2361
2362#[derive(Copy, Clone)]
2363#[repr(C)]
2364pub struct GDtlsClientConnectionInterface {
2365    pub g_iface: gobject::GTypeInterface,
2366}
2367
2368impl ::std::fmt::Debug for GDtlsClientConnectionInterface {
2369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2370        f.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}"))
2371            .field("g_iface", &self.g_iface)
2372            .finish()
2373    }
2374}
2375
2376#[derive(Copy, Clone)]
2377#[repr(C)]
2378pub struct GDtlsConnectionInterface {
2379    pub g_iface: gobject::GTypeInterface,
2380    pub accept_certificate: Option<
2381        unsafe extern "C" fn(
2382            *mut GDtlsConnection,
2383            *mut GTlsCertificate,
2384            GTlsCertificateFlags,
2385        ) -> gboolean,
2386    >,
2387    pub handshake: Option<
2388        unsafe extern "C" fn(
2389            *mut GDtlsConnection,
2390            *mut GCancellable,
2391            *mut *mut glib::GError,
2392        ) -> gboolean,
2393    >,
2394    pub handshake_async: Option<
2395        unsafe extern "C" fn(
2396            *mut GDtlsConnection,
2397            c_int,
2398            *mut GCancellable,
2399            GAsyncReadyCallback,
2400            gpointer,
2401        ),
2402    >,
2403    pub handshake_finish: Option<
2404        unsafe extern "C" fn(
2405            *mut GDtlsConnection,
2406            *mut GAsyncResult,
2407            *mut *mut glib::GError,
2408        ) -> gboolean,
2409    >,
2410    pub shutdown: Option<
2411        unsafe extern "C" fn(
2412            *mut GDtlsConnection,
2413            gboolean,
2414            gboolean,
2415            *mut GCancellable,
2416            *mut *mut glib::GError,
2417        ) -> gboolean,
2418    >,
2419    pub shutdown_async: Option<
2420        unsafe extern "C" fn(
2421            *mut GDtlsConnection,
2422            gboolean,
2423            gboolean,
2424            c_int,
2425            *mut GCancellable,
2426            GAsyncReadyCallback,
2427            gpointer,
2428        ),
2429    >,
2430    pub shutdown_finish: Option<
2431        unsafe extern "C" fn(
2432            *mut GDtlsConnection,
2433            *mut GAsyncResult,
2434            *mut *mut glib::GError,
2435        ) -> gboolean,
2436    >,
2437    pub set_advertised_protocols:
2438        Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>,
2439    pub get_negotiated_protocol:
2440        Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>,
2441    pub get_binding_data: Option<
2442        unsafe extern "C" fn(
2443            *mut GDtlsConnection,
2444            GTlsChannelBindingType,
2445            *mut glib::GByteArray,
2446            *mut *mut glib::GError,
2447        ) -> gboolean,
2448    >,
2449}
2450
2451impl ::std::fmt::Debug for GDtlsConnectionInterface {
2452    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2453        f.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}"))
2454            .field("g_iface", &self.g_iface)
2455            .field("accept_certificate", &self.accept_certificate)
2456            .field("handshake", &self.handshake)
2457            .field("handshake_async", &self.handshake_async)
2458            .field("handshake_finish", &self.handshake_finish)
2459            .field("shutdown", &self.shutdown)
2460            .field("shutdown_async", &self.shutdown_async)
2461            .field("shutdown_finish", &self.shutdown_finish)
2462            .field("set_advertised_protocols", &self.set_advertised_protocols)
2463            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
2464            .field("get_binding_data", &self.get_binding_data)
2465            .finish()
2466    }
2467}
2468
2469#[derive(Copy, Clone)]
2470#[repr(C)]
2471pub struct GDtlsServerConnectionInterface {
2472    pub g_iface: gobject::GTypeInterface,
2473}
2474
2475impl ::std::fmt::Debug for GDtlsServerConnectionInterface {
2476    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2477        f.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}"))
2478            .field("g_iface", &self.g_iface)
2479            .finish()
2480    }
2481}
2482
2483#[repr(C)]
2484#[allow(dead_code)]
2485pub struct _GEmblemClass {
2486    _data: [u8; 0],
2487    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2488}
2489
2490pub type GEmblemClass = _GEmblemClass;
2491
2492#[derive(Copy, Clone)]
2493#[repr(C)]
2494pub struct GEmblemedIconClass {
2495    pub parent_class: gobject::GObjectClass,
2496}
2497
2498impl ::std::fmt::Debug for GEmblemedIconClass {
2499    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2500        f.debug_struct(&format!("GEmblemedIconClass @ {self:p}"))
2501            .field("parent_class", &self.parent_class)
2502            .finish()
2503    }
2504}
2505
2506#[repr(C)]
2507#[allow(dead_code)]
2508pub struct _GEmblemedIconPrivate {
2509    _data: [u8; 0],
2510    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2511}
2512
2513pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
2514
2515#[derive(Copy, Clone)]
2516#[repr(C)]
2517pub struct GFileAttributeInfo {
2518    pub name: *mut c_char,
2519    pub type_: GFileAttributeType,
2520    pub flags: GFileAttributeInfoFlags,
2521}
2522
2523impl ::std::fmt::Debug for GFileAttributeInfo {
2524    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2525        f.debug_struct(&format!("GFileAttributeInfo @ {self:p}"))
2526            .field("name", &self.name)
2527            .field("type_", &self.type_)
2528            .field("flags", &self.flags)
2529            .finish()
2530    }
2531}
2532
2533#[derive(Copy, Clone)]
2534#[repr(C)]
2535pub struct GFileAttributeInfoList {
2536    pub infos: *mut GFileAttributeInfo,
2537    pub n_infos: c_int,
2538}
2539
2540impl ::std::fmt::Debug for GFileAttributeInfoList {
2541    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2542        f.debug_struct(&format!("GFileAttributeInfoList @ {self:p}"))
2543            .field("infos", &self.infos)
2544            .field("n_infos", &self.n_infos)
2545            .finish()
2546    }
2547}
2548
2549#[repr(C)]
2550#[allow(dead_code)]
2551pub struct GFileAttributeMatcher {
2552    _data: [u8; 0],
2553    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2554}
2555
2556impl ::std::fmt::Debug for GFileAttributeMatcher {
2557    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2558        f.debug_struct(&format!("GFileAttributeMatcher @ {self:p}"))
2559            .finish()
2560    }
2561}
2562
2563#[derive(Copy, Clone)]
2564#[repr(C)]
2565pub struct GFileEnumeratorClass {
2566    pub parent_class: gobject::GObjectClass,
2567    pub next_file: Option<
2568        unsafe extern "C" fn(
2569            *mut GFileEnumerator,
2570            *mut GCancellable,
2571            *mut *mut glib::GError,
2572        ) -> *mut GFileInfo,
2573    >,
2574    pub close_fn: Option<
2575        unsafe extern "C" fn(
2576            *mut GFileEnumerator,
2577            *mut GCancellable,
2578            *mut *mut glib::GError,
2579        ) -> gboolean,
2580    >,
2581    pub next_files_async: Option<
2582        unsafe extern "C" fn(
2583            *mut GFileEnumerator,
2584            c_int,
2585            c_int,
2586            *mut GCancellable,
2587            GAsyncReadyCallback,
2588            gpointer,
2589        ),
2590    >,
2591    pub next_files_finish: Option<
2592        unsafe extern "C" fn(
2593            *mut GFileEnumerator,
2594            *mut GAsyncResult,
2595            *mut *mut glib::GError,
2596        ) -> *mut glib::GList,
2597    >,
2598    pub close_async: Option<
2599        unsafe extern "C" fn(
2600            *mut GFileEnumerator,
2601            c_int,
2602            *mut GCancellable,
2603            GAsyncReadyCallback,
2604            gpointer,
2605        ),
2606    >,
2607    pub close_finish: Option<
2608        unsafe extern "C" fn(
2609            *mut GFileEnumerator,
2610            *mut GAsyncResult,
2611            *mut *mut glib::GError,
2612        ) -> gboolean,
2613    >,
2614    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2615    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2616    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2617    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2618    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2619    pub _g_reserved6: Option<unsafe extern "C" fn()>,
2620    pub _g_reserved7: Option<unsafe extern "C" fn()>,
2621}
2622
2623impl ::std::fmt::Debug for GFileEnumeratorClass {
2624    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2625        f.debug_struct(&format!("GFileEnumeratorClass @ {self:p}"))
2626            .field("parent_class", &self.parent_class)
2627            .field("next_file", &self.next_file)
2628            .field("close_fn", &self.close_fn)
2629            .field("next_files_async", &self.next_files_async)
2630            .field("next_files_finish", &self.next_files_finish)
2631            .field("close_async", &self.close_async)
2632            .field("close_finish", &self.close_finish)
2633            .field("_g_reserved1", &self._g_reserved1)
2634            .field("_g_reserved2", &self._g_reserved2)
2635            .field("_g_reserved3", &self._g_reserved3)
2636            .field("_g_reserved4", &self._g_reserved4)
2637            .field("_g_reserved5", &self._g_reserved5)
2638            .field("_g_reserved6", &self._g_reserved6)
2639            .field("_g_reserved7", &self._g_reserved7)
2640            .finish()
2641    }
2642}
2643
2644#[repr(C)]
2645#[allow(dead_code)]
2646pub struct _GFileEnumeratorPrivate {
2647    _data: [u8; 0],
2648    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2649}
2650
2651pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
2652
2653#[derive(Copy, Clone)]
2654#[repr(C)]
2655pub struct GFileIOStreamClass {
2656    pub parent_class: GIOStreamClass,
2657    pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>,
2658    pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2659    pub seek: Option<
2660        unsafe extern "C" fn(
2661            *mut GFileIOStream,
2662            i64,
2663            glib::GSeekType,
2664            *mut GCancellable,
2665            *mut *mut glib::GError,
2666        ) -> gboolean,
2667    >,
2668    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>,
2669    pub truncate_fn: Option<
2670        unsafe extern "C" fn(
2671            *mut GFileIOStream,
2672            i64,
2673            *mut GCancellable,
2674            *mut *mut glib::GError,
2675        ) -> gboolean,
2676    >,
2677    pub query_info: Option<
2678        unsafe extern "C" fn(
2679            *mut GFileIOStream,
2680            *const c_char,
2681            *mut GCancellable,
2682            *mut *mut glib::GError,
2683        ) -> *mut GFileInfo,
2684    >,
2685    pub query_info_async: Option<
2686        unsafe extern "C" fn(
2687            *mut GFileIOStream,
2688            *const c_char,
2689            c_int,
2690            *mut GCancellable,
2691            GAsyncReadyCallback,
2692            gpointer,
2693        ),
2694    >,
2695    pub query_info_finish: Option<
2696        unsafe extern "C" fn(
2697            *mut GFileIOStream,
2698            *mut GAsyncResult,
2699            *mut *mut glib::GError,
2700        ) -> *mut GFileInfo,
2701    >,
2702    pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>,
2703    pub _g_reserved1: Option<unsafe extern "C" fn()>,
2704    pub _g_reserved2: Option<unsafe extern "C" fn()>,
2705    pub _g_reserved3: Option<unsafe extern "C" fn()>,
2706    pub _g_reserved4: Option<unsafe extern "C" fn()>,
2707    pub _g_reserved5: Option<unsafe extern "C" fn()>,
2708}
2709
2710impl ::std::fmt::Debug for GFileIOStreamClass {
2711    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2712        f.debug_struct(&format!("GFileIOStreamClass @ {self:p}"))
2713            .field("parent_class", &self.parent_class)
2714            .field("tell", &self.tell)
2715            .field("can_seek", &self.can_seek)
2716            .field("seek", &self.seek)
2717            .field("can_truncate", &self.can_truncate)
2718            .field("truncate_fn", &self.truncate_fn)
2719            .field("query_info", &self.query_info)
2720            .field("query_info_async", &self.query_info_async)
2721            .field("query_info_finish", &self.query_info_finish)
2722            .field("get_etag", &self.get_etag)
2723            .field("_g_reserved1", &self._g_reserved1)
2724            .field("_g_reserved2", &self._g_reserved2)
2725            .field("_g_reserved3", &self._g_reserved3)
2726            .field("_g_reserved4", &self._g_reserved4)
2727            .field("_g_reserved5", &self._g_reserved5)
2728            .finish()
2729    }
2730}
2731
2732#[repr(C)]
2733#[allow(dead_code)]
2734pub struct _GFileIOStreamPrivate {
2735    _data: [u8; 0],
2736    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2737}
2738
2739pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
2740
2741#[repr(C)]
2742#[allow(dead_code)]
2743pub struct _GFileIconClass {
2744    _data: [u8; 0],
2745    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2746}
2747
2748pub type GFileIconClass = _GFileIconClass;
2749
2750#[derive(Copy, Clone)]
2751#[repr(C)]
2752pub struct GFileIface {
2753    pub g_iface: gobject::GTypeInterface,
2754    pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2755    pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>,
2756    pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2757    pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>,
2758    pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>,
2759    pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2760    pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2761    pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2762    pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2763    pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>,
2764    pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>,
2765    pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>,
2766    pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>,
2767    pub resolve_relative_path:
2768        Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>,
2769    pub get_child_for_display_name: Option<
2770        unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile,
2771    >,
2772    pub enumerate_children: Option<
2773        unsafe extern "C" fn(
2774            *mut GFile,
2775            *const c_char,
2776            GFileQueryInfoFlags,
2777            *mut GCancellable,
2778            *mut *mut glib::GError,
2779        ) -> *mut GFileEnumerator,
2780    >,
2781    pub enumerate_children_async: Option<
2782        unsafe extern "C" fn(
2783            *mut GFile,
2784            *const c_char,
2785            GFileQueryInfoFlags,
2786            c_int,
2787            *mut GCancellable,
2788            GAsyncReadyCallback,
2789            gpointer,
2790        ),
2791    >,
2792    pub enumerate_children_finish: Option<
2793        unsafe extern "C" fn(
2794            *mut GFile,
2795            *mut GAsyncResult,
2796            *mut *mut glib::GError,
2797        ) -> *mut GFileEnumerator,
2798    >,
2799    pub query_info: Option<
2800        unsafe extern "C" fn(
2801            *mut GFile,
2802            *const c_char,
2803            GFileQueryInfoFlags,
2804            *mut GCancellable,
2805            *mut *mut glib::GError,
2806        ) -> *mut GFileInfo,
2807    >,
2808    pub query_info_async: Option<
2809        unsafe extern "C" fn(
2810            *mut GFile,
2811            *const c_char,
2812            GFileQueryInfoFlags,
2813            c_int,
2814            *mut GCancellable,
2815            GAsyncReadyCallback,
2816            gpointer,
2817        ),
2818    >,
2819    pub query_info_finish: Option<
2820        unsafe extern "C" fn(
2821            *mut GFile,
2822            *mut GAsyncResult,
2823            *mut *mut glib::GError,
2824        ) -> *mut GFileInfo,
2825    >,
2826    pub query_filesystem_info: Option<
2827        unsafe extern "C" fn(
2828            *mut GFile,
2829            *const c_char,
2830            *mut GCancellable,
2831            *mut *mut glib::GError,
2832        ) -> *mut GFileInfo,
2833    >,
2834    pub query_filesystem_info_async: Option<
2835        unsafe extern "C" fn(
2836            *mut GFile,
2837            *const c_char,
2838            c_int,
2839            *mut GCancellable,
2840            GAsyncReadyCallback,
2841            gpointer,
2842        ),
2843    >,
2844    pub query_filesystem_info_finish: Option<
2845        unsafe extern "C" fn(
2846            *mut GFile,
2847            *mut GAsyncResult,
2848            *mut *mut glib::GError,
2849        ) -> *mut GFileInfo,
2850    >,
2851    pub find_enclosing_mount: Option<
2852        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount,
2853    >,
2854    pub find_enclosing_mount_async: Option<
2855        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2856    >,
2857    pub find_enclosing_mount_finish: Option<
2858        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount,
2859    >,
2860    pub set_display_name: Option<
2861        unsafe extern "C" fn(
2862            *mut GFile,
2863            *const c_char,
2864            *mut GCancellable,
2865            *mut *mut glib::GError,
2866        ) -> *mut GFile,
2867    >,
2868    pub set_display_name_async: Option<
2869        unsafe extern "C" fn(
2870            *mut GFile,
2871            *const c_char,
2872            c_int,
2873            *mut GCancellable,
2874            GAsyncReadyCallback,
2875            gpointer,
2876        ),
2877    >,
2878    pub set_display_name_finish: Option<
2879        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
2880    >,
2881    pub query_settable_attributes: Option<
2882        unsafe extern "C" fn(
2883            *mut GFile,
2884            *mut GCancellable,
2885            *mut *mut glib::GError,
2886        ) -> *mut GFileAttributeInfoList,
2887    >,
2888    pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
2889    pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
2890    pub query_writable_namespaces: Option<
2891        unsafe extern "C" fn(
2892            *mut GFile,
2893            *mut GCancellable,
2894            *mut *mut glib::GError,
2895        ) -> *mut GFileAttributeInfoList,
2896    >,
2897    pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
2898    pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
2899    pub set_attribute: Option<
2900        unsafe extern "C" fn(
2901            *mut GFile,
2902            *const c_char,
2903            GFileAttributeType,
2904            gpointer,
2905            GFileQueryInfoFlags,
2906            *mut GCancellable,
2907            *mut *mut glib::GError,
2908        ) -> gboolean,
2909    >,
2910    pub set_attributes_from_info: Option<
2911        unsafe extern "C" fn(
2912            *mut GFile,
2913            *mut GFileInfo,
2914            GFileQueryInfoFlags,
2915            *mut GCancellable,
2916            *mut *mut glib::GError,
2917        ) -> gboolean,
2918    >,
2919    pub set_attributes_async: Option<
2920        unsafe extern "C" fn(
2921            *mut GFile,
2922            *mut GFileInfo,
2923            GFileQueryInfoFlags,
2924            c_int,
2925            *mut GCancellable,
2926            GAsyncReadyCallback,
2927            gpointer,
2928        ),
2929    >,
2930    pub set_attributes_finish: Option<
2931        unsafe extern "C" fn(
2932            *mut GFile,
2933            *mut GAsyncResult,
2934            *mut *mut GFileInfo,
2935            *mut *mut glib::GError,
2936        ) -> gboolean,
2937    >,
2938    pub read_fn: Option<
2939        unsafe extern "C" fn(
2940            *mut GFile,
2941            *mut GCancellable,
2942            *mut *mut glib::GError,
2943        ) -> *mut GFileInputStream,
2944    >,
2945    pub read_async: Option<
2946        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
2947    >,
2948    pub read_finish: Option<
2949        unsafe extern "C" fn(
2950            *mut GFile,
2951            *mut GAsyncResult,
2952            *mut *mut glib::GError,
2953        ) -> *mut GFileInputStream,
2954    >,
2955    pub append_to: Option<
2956        unsafe extern "C" fn(
2957            *mut GFile,
2958            GFileCreateFlags,
2959            *mut GCancellable,
2960            *mut *mut glib::GError,
2961        ) -> *mut GFileOutputStream,
2962    >,
2963    pub append_to_async: Option<
2964        unsafe extern "C" fn(
2965            *mut GFile,
2966            GFileCreateFlags,
2967            c_int,
2968            *mut GCancellable,
2969            GAsyncReadyCallback,
2970            gpointer,
2971        ),
2972    >,
2973    pub append_to_finish: Option<
2974        unsafe extern "C" fn(
2975            *mut GFile,
2976            *mut GAsyncResult,
2977            *mut *mut glib::GError,
2978        ) -> *mut GFileOutputStream,
2979    >,
2980    pub create: Option<
2981        unsafe extern "C" fn(
2982            *mut GFile,
2983            GFileCreateFlags,
2984            *mut GCancellable,
2985            *mut *mut glib::GError,
2986        ) -> *mut GFileOutputStream,
2987    >,
2988    pub create_async: Option<
2989        unsafe extern "C" fn(
2990            *mut GFile,
2991            GFileCreateFlags,
2992            c_int,
2993            *mut GCancellable,
2994            GAsyncReadyCallback,
2995            gpointer,
2996        ),
2997    >,
2998    pub create_finish: Option<
2999        unsafe extern "C" fn(
3000            *mut GFile,
3001            *mut GAsyncResult,
3002            *mut *mut glib::GError,
3003        ) -> *mut GFileOutputStream,
3004    >,
3005    pub replace: Option<
3006        unsafe extern "C" fn(
3007            *mut GFile,
3008            *const c_char,
3009            gboolean,
3010            GFileCreateFlags,
3011            *mut GCancellable,
3012            *mut *mut glib::GError,
3013        ) -> *mut GFileOutputStream,
3014    >,
3015    pub replace_async: Option<
3016        unsafe extern "C" fn(
3017            *mut GFile,
3018            *const c_char,
3019            gboolean,
3020            GFileCreateFlags,
3021            c_int,
3022            *mut GCancellable,
3023            GAsyncReadyCallback,
3024            gpointer,
3025        ),
3026    >,
3027    pub replace_finish: Option<
3028        unsafe extern "C" fn(
3029            *mut GFile,
3030            *mut GAsyncResult,
3031            *mut *mut glib::GError,
3032        ) -> *mut GFileOutputStream,
3033    >,
3034    pub delete_file: Option<
3035        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3036    >,
3037    pub delete_file_async: Option<
3038        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3039    >,
3040    pub delete_file_finish: Option<
3041        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3042    >,
3043    pub trash: Option<
3044        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3045    >,
3046    pub trash_async: Option<
3047        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3048    >,
3049    pub trash_finish: Option<
3050        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3051    >,
3052    pub make_directory: Option<
3053        unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3054    >,
3055    pub make_directory_async: Option<
3056        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3057    >,
3058    pub make_directory_finish: Option<
3059        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3060    >,
3061    pub make_symbolic_link: Option<
3062        unsafe extern "C" fn(
3063            *mut GFile,
3064            *const c_char,
3065            *mut GCancellable,
3066            *mut *mut glib::GError,
3067        ) -> gboolean,
3068    >,
3069    pub make_symbolic_link_async: Option<
3070        unsafe extern "C" fn(
3071            *mut GFile,
3072            *const c_char,
3073            c_int,
3074            *mut GCancellable,
3075            GAsyncReadyCallback,
3076            gpointer,
3077        ),
3078    >,
3079    pub make_symbolic_link_finish: Option<
3080        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3081    >,
3082    pub copy: Option<
3083        unsafe extern "C" fn(
3084            *mut GFile,
3085            *mut GFile,
3086            GFileCopyFlags,
3087            *mut GCancellable,
3088            GFileProgressCallback,
3089            gpointer,
3090            *mut *mut glib::GError,
3091        ) -> gboolean,
3092    >,
3093    pub copy_async: Option<
3094        unsafe extern "C" fn(
3095            *mut GFile,
3096            *mut GFile,
3097            GFileCopyFlags,
3098            c_int,
3099            *mut GCancellable,
3100            GFileProgressCallback,
3101            gpointer,
3102            GAsyncReadyCallback,
3103            gpointer,
3104        ),
3105    >,
3106    pub copy_finish: Option<
3107        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3108    >,
3109    pub move_: Option<
3110        unsafe extern "C" fn(
3111            *mut GFile,
3112            *mut GFile,
3113            GFileCopyFlags,
3114            *mut GCancellable,
3115            GFileProgressCallback,
3116            gpointer,
3117            *mut *mut glib::GError,
3118        ) -> gboolean,
3119    >,
3120    pub move_async: Option<
3121        unsafe extern "C" fn(
3122            *mut GFile,
3123            *mut GFile,
3124            GFileCopyFlags,
3125            c_int,
3126            *mut GCancellable,
3127            GFileProgressCallback,
3128            gpointer,
3129            GAsyncReadyCallback,
3130            gpointer,
3131        ),
3132    >,
3133    pub move_finish: Option<
3134        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3135    >,
3136    pub mount_mountable: Option<
3137        unsafe extern "C" fn(
3138            *mut GFile,
3139            GMountMountFlags,
3140            *mut GMountOperation,
3141            *mut GCancellable,
3142            GAsyncReadyCallback,
3143            gpointer,
3144        ),
3145    >,
3146    pub mount_mountable_finish: Option<
3147        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile,
3148    >,
3149    pub unmount_mountable: Option<
3150        unsafe extern "C" fn(
3151            *mut GFile,
3152            GMountUnmountFlags,
3153            *mut GCancellable,
3154            GAsyncReadyCallback,
3155            gpointer,
3156        ),
3157    >,
3158    pub unmount_mountable_finish: Option<
3159        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3160    >,
3161    pub eject_mountable: Option<
3162        unsafe extern "C" fn(
3163            *mut GFile,
3164            GMountUnmountFlags,
3165            *mut GCancellable,
3166            GAsyncReadyCallback,
3167            gpointer,
3168        ),
3169    >,
3170    pub eject_mountable_finish: Option<
3171        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3172    >,
3173    pub mount_enclosing_volume: Option<
3174        unsafe extern "C" fn(
3175            *mut GFile,
3176            GMountMountFlags,
3177            *mut GMountOperation,
3178            *mut GCancellable,
3179            GAsyncReadyCallback,
3180            gpointer,
3181        ),
3182    >,
3183    pub mount_enclosing_volume_finish: Option<
3184        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3185    >,
3186    pub monitor_dir: Option<
3187        unsafe extern "C" fn(
3188            *mut GFile,
3189            GFileMonitorFlags,
3190            *mut GCancellable,
3191            *mut *mut glib::GError,
3192        ) -> *mut GFileMonitor,
3193    >,
3194    pub monitor_file: Option<
3195        unsafe extern "C" fn(
3196            *mut GFile,
3197            GFileMonitorFlags,
3198            *mut GCancellable,
3199            *mut *mut glib::GError,
3200        ) -> *mut GFileMonitor,
3201    >,
3202    pub open_readwrite: Option<
3203        unsafe extern "C" fn(
3204            *mut GFile,
3205            *mut GCancellable,
3206            *mut *mut glib::GError,
3207        ) -> *mut GFileIOStream,
3208    >,
3209    pub open_readwrite_async: Option<
3210        unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer),
3211    >,
3212    pub open_readwrite_finish: Option<
3213        unsafe extern "C" fn(
3214            *mut GFile,
3215            *mut GAsyncResult,
3216            *mut *mut glib::GError,
3217        ) -> *mut GFileIOStream,
3218    >,
3219    pub create_readwrite: Option<
3220        unsafe extern "C" fn(
3221            *mut GFile,
3222            GFileCreateFlags,
3223            *mut GCancellable,
3224            *mut *mut glib::GError,
3225        ) -> *mut GFileIOStream,
3226    >,
3227    pub create_readwrite_async: Option<
3228        unsafe extern "C" fn(
3229            *mut GFile,
3230            GFileCreateFlags,
3231            c_int,
3232            *mut GCancellable,
3233            GAsyncReadyCallback,
3234            gpointer,
3235        ),
3236    >,
3237    pub create_readwrite_finish: Option<
3238        unsafe extern "C" fn(
3239            *mut GFile,
3240            *mut GAsyncResult,
3241            *mut *mut glib::GError,
3242        ) -> *mut GFileIOStream,
3243    >,
3244    pub replace_readwrite: Option<
3245        unsafe extern "C" fn(
3246            *mut GFile,
3247            *const c_char,
3248            gboolean,
3249            GFileCreateFlags,
3250            *mut GCancellable,
3251            *mut *mut glib::GError,
3252        ) -> *mut GFileIOStream,
3253    >,
3254    pub replace_readwrite_async: Option<
3255        unsafe extern "C" fn(
3256            *mut GFile,
3257            *const c_char,
3258            gboolean,
3259            GFileCreateFlags,
3260            c_int,
3261            *mut GCancellable,
3262            GAsyncReadyCallback,
3263            gpointer,
3264        ),
3265    >,
3266    pub replace_readwrite_finish: Option<
3267        unsafe extern "C" fn(
3268            *mut GFile,
3269            *mut GAsyncResult,
3270            *mut *mut glib::GError,
3271        ) -> *mut GFileIOStream,
3272    >,
3273    pub start_mountable: Option<
3274        unsafe extern "C" fn(
3275            *mut GFile,
3276            GDriveStartFlags,
3277            *mut GMountOperation,
3278            *mut GCancellable,
3279            GAsyncReadyCallback,
3280            gpointer,
3281        ),
3282    >,
3283    pub start_mountable_finish: Option<
3284        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3285    >,
3286    pub stop_mountable: Option<
3287        unsafe extern "C" fn(
3288            *mut GFile,
3289            GMountUnmountFlags,
3290            *mut GMountOperation,
3291            *mut GCancellable,
3292            GAsyncReadyCallback,
3293            gpointer,
3294        ),
3295    >,
3296    pub stop_mountable_finish: Option<
3297        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3298    >,
3299    pub supports_thread_contexts: gboolean,
3300    pub unmount_mountable_with_operation: Option<
3301        unsafe extern "C" fn(
3302            *mut GFile,
3303            GMountUnmountFlags,
3304            *mut GMountOperation,
3305            *mut GCancellable,
3306            GAsyncReadyCallback,
3307            gpointer,
3308        ),
3309    >,
3310    pub unmount_mountable_with_operation_finish: Option<
3311        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3312    >,
3313    pub eject_mountable_with_operation: Option<
3314        unsafe extern "C" fn(
3315            *mut GFile,
3316            GMountUnmountFlags,
3317            *mut GMountOperation,
3318            *mut GCancellable,
3319            GAsyncReadyCallback,
3320            gpointer,
3321        ),
3322    >,
3323    pub eject_mountable_with_operation_finish: Option<
3324        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3325    >,
3326    pub poll_mountable:
3327        Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>,
3328    pub poll_mountable_finish: Option<
3329        unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3330    >,
3331    pub measure_disk_usage: Option<
3332        unsafe extern "C" fn(
3333            *mut GFile,
3334            GFileMeasureFlags,
3335            *mut GCancellable,
3336            GFileMeasureProgressCallback,
3337            gpointer,
3338            *mut u64,
3339            *mut u64,
3340            *mut u64,
3341            *mut *mut glib::GError,
3342        ) -> gboolean,
3343    >,
3344    pub measure_disk_usage_async: Option<
3345        unsafe extern "C" fn(
3346            *mut GFile,
3347            GFileMeasureFlags,
3348            c_int,
3349            *mut GCancellable,
3350            GFileMeasureProgressCallback,
3351            gpointer,
3352            GAsyncReadyCallback,
3353            gpointer,
3354        ),
3355    >,
3356    pub measure_disk_usage_finish: Option<
3357        unsafe extern "C" fn(
3358            *mut GFile,
3359            *mut GAsyncResult,
3360            *mut u64,
3361            *mut u64,
3362            *mut u64,
3363            *mut *mut glib::GError,
3364        ) -> gboolean,
3365    >,
3366    pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>,
3367}
3368
3369impl ::std::fmt::Debug for GFileIface {
3370    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3371        f.debug_struct(&format!("GFileIface @ {self:p}"))
3372            .field("g_iface", &self.g_iface)
3373            .field("dup", &self.dup)
3374            .field("hash", &self.hash)
3375            .field("equal", &self.equal)
3376            .field("is_native", &self.is_native)
3377            .field("has_uri_scheme", &self.has_uri_scheme)
3378            .field("get_uri_scheme", &self.get_uri_scheme)
3379            .field("get_basename", &self.get_basename)
3380            .field("get_path", &self.get_path)
3381            .field("get_uri", &self.get_uri)
3382            .field("get_parse_name", &self.get_parse_name)
3383            .field("get_parent", &self.get_parent)
3384            .field("prefix_matches", &self.prefix_matches)
3385            .field("get_relative_path", &self.get_relative_path)
3386            .field("resolve_relative_path", &self.resolve_relative_path)
3387            .field(
3388                "get_child_for_display_name",
3389                &self.get_child_for_display_name,
3390            )
3391            .field("enumerate_children", &self.enumerate_children)
3392            .field("enumerate_children_async", &self.enumerate_children_async)
3393            .field("enumerate_children_finish", &self.enumerate_children_finish)
3394            .field("query_info", &self.query_info)
3395            .field("query_info_async", &self.query_info_async)
3396            .field("query_info_finish", &self.query_info_finish)
3397            .field("query_filesystem_info", &self.query_filesystem_info)
3398            .field(
3399                "query_filesystem_info_async",
3400                &self.query_filesystem_info_async,
3401            )
3402            .field(
3403                "query_filesystem_info_finish",
3404                &self.query_filesystem_info_finish,
3405            )
3406            .field("find_enclosing_mount", &self.find_enclosing_mount)
3407            .field(
3408                "find_enclosing_mount_async",
3409                &self.find_enclosing_mount_async,
3410            )
3411            .field(
3412                "find_enclosing_mount_finish",
3413                &self.find_enclosing_mount_finish,
3414            )
3415            .field("set_display_name", &self.set_display_name)
3416            .field("set_display_name_async", &self.set_display_name_async)
3417            .field("set_display_name_finish", &self.set_display_name_finish)
3418            .field("query_settable_attributes", &self.query_settable_attributes)
3419            .field(
3420                "_query_settable_attributes_async",
3421                &self._query_settable_attributes_async,
3422            )
3423            .field(
3424                "_query_settable_attributes_finish",
3425                &self._query_settable_attributes_finish,
3426            )
3427            .field("query_writable_namespaces", &self.query_writable_namespaces)
3428            .field(
3429                "_query_writable_namespaces_async",
3430                &self._query_writable_namespaces_async,
3431            )
3432            .field(
3433                "_query_writable_namespaces_finish",
3434                &self._query_writable_namespaces_finish,
3435            )
3436            .field("set_attribute", &self.set_attribute)
3437            .field("set_attributes_from_info", &self.set_attributes_from_info)
3438            .field("set_attributes_async", &self.set_attributes_async)
3439            .field("set_attributes_finish", &self.set_attributes_finish)
3440            .field("read_fn", &self.read_fn)
3441            .field("read_async", &self.read_async)
3442            .field("read_finish", &self.read_finish)
3443            .field("append_to", &self.append_to)
3444            .field("append_to_async", &self.append_to_async)
3445            .field("append_to_finish", &self.append_to_finish)
3446            .field("create", &self.create)
3447            .field("create_async", &self.create_async)
3448            .field("create_finish", &self.create_finish)
3449            .field("replace", &self.replace)
3450            .field("replace_async", &self.replace_async)
3451            .field("replace_finish", &self.replace_finish)
3452            .field("delete_file", &self.delete_file)
3453            .field("delete_file_async", &self.delete_file_async)
3454            .field("delete_file_finish", &self.delete_file_finish)
3455            .field("trash", &self.trash)
3456            .field("trash_async", &self.trash_async)
3457            .field("trash_finish", &self.trash_finish)
3458            .field("make_directory", &self.make_directory)
3459            .field("make_directory_async", &self.make_directory_async)
3460            .field("make_directory_finish", &self.make_directory_finish)
3461            .field("make_symbolic_link", &self.make_symbolic_link)
3462            .field("make_symbolic_link_async", &self.make_symbolic_link_async)
3463            .field("make_symbolic_link_finish", &self.make_symbolic_link_finish)
3464            .field("copy", &self.copy)
3465            .field("copy_async", &self.copy_async)
3466            .field("copy_finish", &self.copy_finish)
3467            .field("move_", &self.move_)
3468            .field("move_async", &self.move_async)
3469            .field("move_finish", &self.move_finish)
3470            .field("mount_mountable", &self.mount_mountable)
3471            .field("mount_mountable_finish", &self.mount_mountable_finish)
3472            .field("unmount_mountable", &self.unmount_mountable)
3473            .field("unmount_mountable_finish", &self.unmount_mountable_finish)
3474            .field("eject_mountable", &self.eject_mountable)
3475            .field("eject_mountable_finish", &self.eject_mountable_finish)
3476            .field("mount_enclosing_volume", &self.mount_enclosing_volume)
3477            .field(
3478                "mount_enclosing_volume_finish",
3479                &self.mount_enclosing_volume_finish,
3480            )
3481            .field("monitor_dir", &self.monitor_dir)
3482            .field("monitor_file", &self.monitor_file)
3483            .field("open_readwrite", &self.open_readwrite)
3484            .field("open_readwrite_async", &self.open_readwrite_async)
3485            .field("open_readwrite_finish", &self.open_readwrite_finish)
3486            .field("create_readwrite", &self.create_readwrite)
3487            .field("create_readwrite_async", &self.create_readwrite_async)
3488            .field("create_readwrite_finish", &self.create_readwrite_finish)
3489            .field("replace_readwrite", &self.replace_readwrite)
3490            .field("replace_readwrite_async", &self.replace_readwrite_async)
3491            .field("replace_readwrite_finish", &self.replace_readwrite_finish)
3492            .field("start_mountable", &self.start_mountable)
3493            .field("start_mountable_finish", &self.start_mountable_finish)
3494            .field("stop_mountable", &self.stop_mountable)
3495            .field("stop_mountable_finish", &self.stop_mountable_finish)
3496            .field("supports_thread_contexts", &self.supports_thread_contexts)
3497            .field(
3498                "unmount_mountable_with_operation",
3499                &self.unmount_mountable_with_operation,
3500            )
3501            .field(
3502                "unmount_mountable_with_operation_finish",
3503                &self.unmount_mountable_with_operation_finish,
3504            )
3505            .field(
3506                "eject_mountable_with_operation",
3507                &self.eject_mountable_with_operation,
3508            )
3509            .field(
3510                "eject_mountable_with_operation_finish",
3511                &self.eject_mountable_with_operation_finish,
3512            )
3513            .field("poll_mountable", &self.poll_mountable)
3514            .field("poll_mountable_finish", &self.poll_mountable_finish)
3515            .field("measure_disk_usage", &self.measure_disk_usage)
3516            .field("measure_disk_usage_async", &self.measure_disk_usage_async)
3517            .field("measure_disk_usage_finish", &self.measure_disk_usage_finish)
3518            .field("query_exists", &self.query_exists)
3519            .finish()
3520    }
3521}
3522
3523#[repr(C)]
3524#[allow(dead_code)]
3525pub struct _GFileInfoClass {
3526    _data: [u8; 0],
3527    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3528}
3529
3530pub type GFileInfoClass = _GFileInfoClass;
3531
3532#[derive(Copy, Clone)]
3533#[repr(C)]
3534pub struct GFileInputStreamClass {
3535    pub parent_class: GInputStreamClass,
3536    pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>,
3537    pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>,
3538    pub seek: Option<
3539        unsafe extern "C" fn(
3540            *mut GFileInputStream,
3541            i64,
3542            glib::GSeekType,
3543            *mut GCancellable,
3544            *mut *mut glib::GError,
3545        ) -> gboolean,
3546    >,
3547    pub query_info: Option<
3548        unsafe extern "C" fn(
3549            *mut GFileInputStream,
3550            *const c_char,
3551            *mut GCancellable,
3552            *mut *mut glib::GError,
3553        ) -> *mut GFileInfo,
3554    >,
3555    pub query_info_async: Option<
3556        unsafe extern "C" fn(
3557            *mut GFileInputStream,
3558            *const c_char,
3559            c_int,
3560            *mut GCancellable,
3561            GAsyncReadyCallback,
3562            gpointer,
3563        ),
3564    >,
3565    pub query_info_finish: Option<
3566        unsafe extern "C" fn(
3567            *mut GFileInputStream,
3568            *mut GAsyncResult,
3569            *mut *mut glib::GError,
3570        ) -> *mut GFileInfo,
3571    >,
3572    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3573    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3574    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3575    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3576    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3577}
3578
3579impl ::std::fmt::Debug for GFileInputStreamClass {
3580    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3581        f.debug_struct(&format!("GFileInputStreamClass @ {self:p}"))
3582            .field("parent_class", &self.parent_class)
3583            .field("tell", &self.tell)
3584            .field("can_seek", &self.can_seek)
3585            .field("seek", &self.seek)
3586            .field("query_info", &self.query_info)
3587            .field("query_info_async", &self.query_info_async)
3588            .field("query_info_finish", &self.query_info_finish)
3589            .field("_g_reserved1", &self._g_reserved1)
3590            .field("_g_reserved2", &self._g_reserved2)
3591            .field("_g_reserved3", &self._g_reserved3)
3592            .field("_g_reserved4", &self._g_reserved4)
3593            .field("_g_reserved5", &self._g_reserved5)
3594            .finish()
3595    }
3596}
3597
3598#[repr(C)]
3599#[allow(dead_code)]
3600pub struct _GFileInputStreamPrivate {
3601    _data: [u8; 0],
3602    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3603}
3604
3605pub type GFileInputStreamPrivate = _GFileInputStreamPrivate;
3606
3607#[derive(Copy, Clone)]
3608#[repr(C)]
3609pub struct GFileMonitorClass {
3610    pub parent_class: gobject::GObjectClass,
3611    pub changed:
3612        Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>,
3613    pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>,
3614    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3615    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3616    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3617    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3618    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3619}
3620
3621impl ::std::fmt::Debug for GFileMonitorClass {
3622    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3623        f.debug_struct(&format!("GFileMonitorClass @ {self:p}"))
3624            .field("parent_class", &self.parent_class)
3625            .field("changed", &self.changed)
3626            .field("cancel", &self.cancel)
3627            .field("_g_reserved1", &self._g_reserved1)
3628            .field("_g_reserved2", &self._g_reserved2)
3629            .field("_g_reserved3", &self._g_reserved3)
3630            .field("_g_reserved4", &self._g_reserved4)
3631            .field("_g_reserved5", &self._g_reserved5)
3632            .finish()
3633    }
3634}
3635
3636#[repr(C)]
3637#[allow(dead_code)]
3638pub struct _GFileMonitorPrivate {
3639    _data: [u8; 0],
3640    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3641}
3642
3643pub type GFileMonitorPrivate = _GFileMonitorPrivate;
3644
3645#[derive(Copy, Clone)]
3646#[repr(C)]
3647pub struct GFileOutputStreamClass {
3648    pub parent_class: GOutputStreamClass,
3649    pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>,
3650    pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3651    pub seek: Option<
3652        unsafe extern "C" fn(
3653            *mut GFileOutputStream,
3654            i64,
3655            glib::GSeekType,
3656            *mut GCancellable,
3657            *mut *mut glib::GError,
3658        ) -> gboolean,
3659    >,
3660    pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>,
3661    pub truncate_fn: Option<
3662        unsafe extern "C" fn(
3663            *mut GFileOutputStream,
3664            i64,
3665            *mut GCancellable,
3666            *mut *mut glib::GError,
3667        ) -> gboolean,
3668    >,
3669    pub query_info: Option<
3670        unsafe extern "C" fn(
3671            *mut GFileOutputStream,
3672            *const c_char,
3673            *mut GCancellable,
3674            *mut *mut glib::GError,
3675        ) -> *mut GFileInfo,
3676    >,
3677    pub query_info_async: Option<
3678        unsafe extern "C" fn(
3679            *mut GFileOutputStream,
3680            *const c_char,
3681            c_int,
3682            *mut GCancellable,
3683            GAsyncReadyCallback,
3684            gpointer,
3685        ),
3686    >,
3687    pub query_info_finish: Option<
3688        unsafe extern "C" fn(
3689            *mut GFileOutputStream,
3690            *mut GAsyncResult,
3691            *mut *mut glib::GError,
3692        ) -> *mut GFileInfo,
3693    >,
3694    pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>,
3695    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3696    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3697    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3698    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3699    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3700}
3701
3702impl ::std::fmt::Debug for GFileOutputStreamClass {
3703    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3704        f.debug_struct(&format!("GFileOutputStreamClass @ {self:p}"))
3705            .field("parent_class", &self.parent_class)
3706            .field("tell", &self.tell)
3707            .field("can_seek", &self.can_seek)
3708            .field("seek", &self.seek)
3709            .field("can_truncate", &self.can_truncate)
3710            .field("truncate_fn", &self.truncate_fn)
3711            .field("query_info", &self.query_info)
3712            .field("query_info_async", &self.query_info_async)
3713            .field("query_info_finish", &self.query_info_finish)
3714            .field("get_etag", &self.get_etag)
3715            .field("_g_reserved1", &self._g_reserved1)
3716            .field("_g_reserved2", &self._g_reserved2)
3717            .field("_g_reserved3", &self._g_reserved3)
3718            .field("_g_reserved4", &self._g_reserved4)
3719            .field("_g_reserved5", &self._g_reserved5)
3720            .finish()
3721    }
3722}
3723
3724#[repr(C)]
3725#[allow(dead_code)]
3726pub struct _GFileOutputStreamPrivate {
3727    _data: [u8; 0],
3728    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3729}
3730
3731pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate;
3732
3733#[derive(Copy, Clone)]
3734#[repr(C)]
3735pub struct GFilenameCompleterClass {
3736    pub parent_class: gobject::GObjectClass,
3737    pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>,
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}
3742
3743impl ::std::fmt::Debug for GFilenameCompleterClass {
3744    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3745        f.debug_struct(&format!("GFilenameCompleterClass @ {self:p}"))
3746            .field("parent_class", &self.parent_class)
3747            .field("got_completion_data", &self.got_completion_data)
3748            .field("_g_reserved1", &self._g_reserved1)
3749            .field("_g_reserved2", &self._g_reserved2)
3750            .field("_g_reserved3", &self._g_reserved3)
3751            .finish()
3752    }
3753}
3754
3755#[derive(Copy, Clone)]
3756#[repr(C)]
3757pub struct GFilterInputStreamClass {
3758    pub parent_class: GInputStreamClass,
3759    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3760    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3761    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3762}
3763
3764impl ::std::fmt::Debug for GFilterInputStreamClass {
3765    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3766        f.debug_struct(&format!("GFilterInputStreamClass @ {self:p}"))
3767            .field("parent_class", &self.parent_class)
3768            .field("_g_reserved1", &self._g_reserved1)
3769            .field("_g_reserved2", &self._g_reserved2)
3770            .field("_g_reserved3", &self._g_reserved3)
3771            .finish()
3772    }
3773}
3774
3775#[derive(Copy, Clone)]
3776#[repr(C)]
3777pub struct GFilterOutputStreamClass {
3778    pub parent_class: GOutputStreamClass,
3779    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3780    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3781    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3782}
3783
3784impl ::std::fmt::Debug for GFilterOutputStreamClass {
3785    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3786        f.debug_struct(&format!("GFilterOutputStreamClass @ {self:p}"))
3787            .field("parent_class", &self.parent_class)
3788            .field("_g_reserved1", &self._g_reserved1)
3789            .field("_g_reserved2", &self._g_reserved2)
3790            .field("_g_reserved3", &self._g_reserved3)
3791            .finish()
3792    }
3793}
3794
3795#[repr(C)]
3796#[allow(dead_code)]
3797pub struct _GIOExtension {
3798    _data: [u8; 0],
3799    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3800}
3801
3802pub type GIOExtension = _GIOExtension;
3803
3804#[repr(C)]
3805#[allow(dead_code)]
3806pub struct _GIOExtensionPoint {
3807    _data: [u8; 0],
3808    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3809}
3810
3811pub type GIOExtensionPoint = _GIOExtensionPoint;
3812
3813#[repr(C)]
3814#[allow(dead_code)]
3815pub struct _GIOModuleClass {
3816    _data: [u8; 0],
3817    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3818}
3819
3820pub type GIOModuleClass = _GIOModuleClass;
3821
3822#[repr(C)]
3823#[allow(dead_code)]
3824pub struct _GIOModuleScope {
3825    _data: [u8; 0],
3826    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3827}
3828
3829pub type GIOModuleScope = _GIOModuleScope;
3830
3831#[repr(C)]
3832#[allow(dead_code)]
3833pub struct _GIOSchedulerJob {
3834    _data: [u8; 0],
3835    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3836}
3837
3838pub type GIOSchedulerJob = _GIOSchedulerJob;
3839
3840#[repr(C)]
3841#[allow(dead_code)]
3842pub struct _GIOStreamAdapter {
3843    _data: [u8; 0],
3844    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3845}
3846
3847pub type GIOStreamAdapter = _GIOStreamAdapter;
3848
3849#[derive(Copy, Clone)]
3850#[repr(C)]
3851pub struct GIOStreamClass {
3852    pub parent_class: gobject::GObjectClass,
3853    pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>,
3854    pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>,
3855    pub close_fn: Option<
3856        unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
3857    >,
3858    pub close_async: Option<
3859        unsafe extern "C" fn(
3860            *mut GIOStream,
3861            c_int,
3862            *mut GCancellable,
3863            GAsyncReadyCallback,
3864            gpointer,
3865        ),
3866    >,
3867    pub close_finish: Option<
3868        unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
3869    >,
3870    pub _g_reserved1: Option<unsafe extern "C" fn()>,
3871    pub _g_reserved2: Option<unsafe extern "C" fn()>,
3872    pub _g_reserved3: Option<unsafe extern "C" fn()>,
3873    pub _g_reserved4: Option<unsafe extern "C" fn()>,
3874    pub _g_reserved5: Option<unsafe extern "C" fn()>,
3875    pub _g_reserved6: Option<unsafe extern "C" fn()>,
3876    pub _g_reserved7: Option<unsafe extern "C" fn()>,
3877    pub _g_reserved8: Option<unsafe extern "C" fn()>,
3878    pub _g_reserved9: Option<unsafe extern "C" fn()>,
3879    pub _g_reserved10: Option<unsafe extern "C" fn()>,
3880}
3881
3882impl ::std::fmt::Debug for GIOStreamClass {
3883    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3884        f.debug_struct(&format!("GIOStreamClass @ {self:p}"))
3885            .field("parent_class", &self.parent_class)
3886            .field("get_input_stream", &self.get_input_stream)
3887            .field("get_output_stream", &self.get_output_stream)
3888            .field("close_fn", &self.close_fn)
3889            .field("close_async", &self.close_async)
3890            .field("close_finish", &self.close_finish)
3891            .field("_g_reserved1", &self._g_reserved1)
3892            .field("_g_reserved2", &self._g_reserved2)
3893            .field("_g_reserved3", &self._g_reserved3)
3894            .field("_g_reserved4", &self._g_reserved4)
3895            .field("_g_reserved5", &self._g_reserved5)
3896            .field("_g_reserved6", &self._g_reserved6)
3897            .field("_g_reserved7", &self._g_reserved7)
3898            .field("_g_reserved8", &self._g_reserved8)
3899            .field("_g_reserved9", &self._g_reserved9)
3900            .field("_g_reserved10", &self._g_reserved10)
3901            .finish()
3902    }
3903}
3904
3905#[repr(C)]
3906#[allow(dead_code)]
3907pub struct _GIOStreamPrivate {
3908    _data: [u8; 0],
3909    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3910}
3911
3912pub type GIOStreamPrivate = _GIOStreamPrivate;
3913
3914#[derive(Copy, Clone)]
3915#[repr(C)]
3916pub struct GIconIface {
3917    pub g_iface: gobject::GTypeInterface,
3918    pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>,
3919    pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>,
3920    pub to_tokens:
3921        Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>,
3922    pub from_tokens: Option<
3923        unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon,
3924    >,
3925    pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>,
3926}
3927
3928impl ::std::fmt::Debug for GIconIface {
3929    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3930        f.debug_struct(&format!("GIconIface @ {self:p}"))
3931            .field("g_iface", &self.g_iface)
3932            .field("hash", &self.hash)
3933            .field("equal", &self.equal)
3934            .field("to_tokens", &self.to_tokens)
3935            .field("from_tokens", &self.from_tokens)
3936            .field("serialize", &self.serialize)
3937            .finish()
3938    }
3939}
3940
3941#[derive(Copy, Clone)]
3942#[repr(C)]
3943pub struct GInetAddressClass {
3944    pub parent_class: gobject::GObjectClass,
3945    pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>,
3946    pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>,
3947}
3948
3949impl ::std::fmt::Debug for GInetAddressClass {
3950    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3951        f.debug_struct(&format!("GInetAddressClass @ {self:p}"))
3952            .field("parent_class", &self.parent_class)
3953            .field("to_string", &self.to_string)
3954            .field("to_bytes", &self.to_bytes)
3955            .finish()
3956    }
3957}
3958
3959#[derive(Copy, Clone)]
3960#[repr(C)]
3961pub struct GInetAddressMaskClass {
3962    pub parent_class: gobject::GObjectClass,
3963}
3964
3965impl ::std::fmt::Debug for GInetAddressMaskClass {
3966    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3967        f.debug_struct(&format!("GInetAddressMaskClass @ {self:p}"))
3968            .field("parent_class", &self.parent_class)
3969            .finish()
3970    }
3971}
3972
3973#[repr(C)]
3974#[allow(dead_code)]
3975pub struct _GInetAddressMaskPrivate {
3976    _data: [u8; 0],
3977    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3978}
3979
3980pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate;
3981
3982#[repr(C)]
3983#[allow(dead_code)]
3984pub struct _GInetAddressPrivate {
3985    _data: [u8; 0],
3986    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3987}
3988
3989pub type GInetAddressPrivate = _GInetAddressPrivate;
3990
3991#[derive(Copy, Clone)]
3992#[repr(C)]
3993pub struct GInetSocketAddressClass {
3994    pub parent_class: GSocketAddressClass,
3995}
3996
3997impl ::std::fmt::Debug for GInetSocketAddressClass {
3998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3999        f.debug_struct(&format!("GInetSocketAddressClass @ {self:p}"))
4000            .field("parent_class", &self.parent_class)
4001            .finish()
4002    }
4003}
4004
4005#[repr(C)]
4006#[allow(dead_code)]
4007pub struct _GInetSocketAddressPrivate {
4008    _data: [u8; 0],
4009    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4010}
4011
4012pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate;
4013
4014#[derive(Copy, Clone)]
4015#[repr(C)]
4016pub struct GInitableIface {
4017    pub g_iface: gobject::GTypeInterface,
4018    pub init: Option<
4019        unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean,
4020    >,
4021}
4022
4023impl ::std::fmt::Debug for GInitableIface {
4024    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4025        f.debug_struct(&format!("GInitableIface @ {self:p}"))
4026            .field("g_iface", &self.g_iface)
4027            .field("init", &self.init)
4028            .finish()
4029    }
4030}
4031
4032#[derive(Copy, Clone)]
4033#[repr(C)]
4034pub struct GInputMessage {
4035    pub address: *mut *mut GSocketAddress,
4036    pub vectors: *mut GInputVector,
4037    pub num_vectors: c_uint,
4038    pub bytes_received: size_t,
4039    pub flags: c_int,
4040    pub control_messages: *mut *mut *mut GSocketControlMessage,
4041    pub num_control_messages: *mut c_uint,
4042}
4043
4044impl ::std::fmt::Debug for GInputMessage {
4045    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4046        f.debug_struct(&format!("GInputMessage @ {self:p}"))
4047            .field("address", &self.address)
4048            .field("vectors", &self.vectors)
4049            .field("num_vectors", &self.num_vectors)
4050            .field("bytes_received", &self.bytes_received)
4051            .field("flags", &self.flags)
4052            .field("control_messages", &self.control_messages)
4053            .field("num_control_messages", &self.num_control_messages)
4054            .finish()
4055    }
4056}
4057
4058#[derive(Copy, Clone)]
4059#[repr(C)]
4060pub struct GInputStreamClass {
4061    pub parent_class: gobject::GObjectClass,
4062    pub read_fn: Option<
4063        unsafe extern "C" fn(
4064            *mut GInputStream,
4065            *mut c_void,
4066            size_t,
4067            *mut GCancellable,
4068            *mut *mut glib::GError,
4069        ) -> ssize_t,
4070    >,
4071    pub skip: Option<
4072        unsafe extern "C" fn(
4073            *mut GInputStream,
4074            size_t,
4075            *mut GCancellable,
4076            *mut *mut glib::GError,
4077        ) -> ssize_t,
4078    >,
4079    pub close_fn: Option<
4080        unsafe extern "C" fn(
4081            *mut GInputStream,
4082            *mut GCancellable,
4083            *mut *mut glib::GError,
4084        ) -> gboolean,
4085    >,
4086    pub read_async: Option<
4087        unsafe extern "C" fn(
4088            *mut GInputStream,
4089            *mut u8,
4090            size_t,
4091            c_int,
4092            *mut GCancellable,
4093            GAsyncReadyCallback,
4094            gpointer,
4095        ),
4096    >,
4097    pub read_finish: Option<
4098        unsafe extern "C" fn(
4099            *mut GInputStream,
4100            *mut GAsyncResult,
4101            *mut *mut glib::GError,
4102        ) -> ssize_t,
4103    >,
4104    pub skip_async: Option<
4105        unsafe extern "C" fn(
4106            *mut GInputStream,
4107            size_t,
4108            c_int,
4109            *mut GCancellable,
4110            GAsyncReadyCallback,
4111            gpointer,
4112        ),
4113    >,
4114    pub skip_finish: Option<
4115        unsafe extern "C" fn(
4116            *mut GInputStream,
4117            *mut GAsyncResult,
4118            *mut *mut glib::GError,
4119        ) -> ssize_t,
4120    >,
4121    pub close_async: Option<
4122        unsafe extern "C" fn(
4123            *mut GInputStream,
4124            c_int,
4125            *mut GCancellable,
4126            GAsyncReadyCallback,
4127            gpointer,
4128        ),
4129    >,
4130    pub close_finish: Option<
4131        unsafe extern "C" fn(
4132            *mut GInputStream,
4133            *mut GAsyncResult,
4134            *mut *mut glib::GError,
4135        ) -> gboolean,
4136    >,
4137    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4138    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4139    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4140    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4141    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4142}
4143
4144impl ::std::fmt::Debug for GInputStreamClass {
4145    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4146        f.debug_struct(&format!("GInputStreamClass @ {self:p}"))
4147            .field("parent_class", &self.parent_class)
4148            .field("read_fn", &self.read_fn)
4149            .field("skip", &self.skip)
4150            .field("close_fn", &self.close_fn)
4151            .field("read_async", &self.read_async)
4152            .field("read_finish", &self.read_finish)
4153            .field("skip_async", &self.skip_async)
4154            .field("skip_finish", &self.skip_finish)
4155            .field("close_async", &self.close_async)
4156            .field("close_finish", &self.close_finish)
4157            .field("_g_reserved1", &self._g_reserved1)
4158            .field("_g_reserved2", &self._g_reserved2)
4159            .field("_g_reserved3", &self._g_reserved3)
4160            .field("_g_reserved4", &self._g_reserved4)
4161            .field("_g_reserved5", &self._g_reserved5)
4162            .finish()
4163    }
4164}
4165
4166#[repr(C)]
4167#[allow(dead_code)]
4168pub struct _GInputStreamPrivate {
4169    _data: [u8; 0],
4170    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4171}
4172
4173pub type GInputStreamPrivate = _GInputStreamPrivate;
4174
4175#[derive(Copy, Clone)]
4176#[repr(C)]
4177pub struct GInputVector {
4178    pub buffer: gpointer,
4179    pub size: size_t,
4180}
4181
4182impl ::std::fmt::Debug for GInputVector {
4183    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4184        f.debug_struct(&format!("GInputVector @ {self:p}"))
4185            .field("buffer", &self.buffer)
4186            .field("size", &self.size)
4187            .finish()
4188    }
4189}
4190
4191#[derive(Copy, Clone)]
4192#[repr(C)]
4193pub struct GListModelInterface {
4194    pub g_iface: gobject::GTypeInterface,
4195    pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>,
4196    pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>,
4197    pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>,
4198}
4199
4200impl ::std::fmt::Debug for GListModelInterface {
4201    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4202        f.debug_struct(&format!("GListModelInterface @ {self:p}"))
4203            .field("g_iface", &self.g_iface)
4204            .field("get_item_type", &self.get_item_type)
4205            .field("get_n_items", &self.get_n_items)
4206            .field("get_item", &self.get_item)
4207            .finish()
4208    }
4209}
4210
4211#[derive(Copy, Clone)]
4212#[repr(C)]
4213pub struct GListStoreClass {
4214    pub parent_class: gobject::GObjectClass,
4215}
4216
4217impl ::std::fmt::Debug for GListStoreClass {
4218    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4219        f.debug_struct(&format!("GListStoreClass @ {self:p}"))
4220            .field("parent_class", &self.parent_class)
4221            .finish()
4222    }
4223}
4224
4225#[derive(Copy, Clone)]
4226#[repr(C)]
4227pub struct GLoadableIconIface {
4228    pub g_iface: gobject::GTypeInterface,
4229    pub load: Option<
4230        unsafe extern "C" fn(
4231            *mut GLoadableIcon,
4232            c_int,
4233            *mut *mut c_char,
4234            *mut GCancellable,
4235            *mut *mut glib::GError,
4236        ) -> *mut GInputStream,
4237    >,
4238    pub load_async: Option<
4239        unsafe extern "C" fn(
4240            *mut GLoadableIcon,
4241            c_int,
4242            *mut GCancellable,
4243            GAsyncReadyCallback,
4244            gpointer,
4245        ),
4246    >,
4247    pub load_finish: Option<
4248        unsafe extern "C" fn(
4249            *mut GLoadableIcon,
4250            *mut GAsyncResult,
4251            *mut *mut c_char,
4252            *mut *mut glib::GError,
4253        ) -> *mut GInputStream,
4254    >,
4255}
4256
4257impl ::std::fmt::Debug for GLoadableIconIface {
4258    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4259        f.debug_struct(&format!("GLoadableIconIface @ {self:p}"))
4260            .field("g_iface", &self.g_iface)
4261            .field("load", &self.load)
4262            .field("load_async", &self.load_async)
4263            .field("load_finish", &self.load_finish)
4264            .finish()
4265    }
4266}
4267
4268#[derive(Copy, Clone)]
4269#[repr(C)]
4270pub struct GMemoryInputStreamClass {
4271    pub parent_class: GInputStreamClass,
4272    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4273    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4274    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4275    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4276    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4277}
4278
4279impl ::std::fmt::Debug for GMemoryInputStreamClass {
4280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4281        f.debug_struct(&format!("GMemoryInputStreamClass @ {self:p}"))
4282            .field("parent_class", &self.parent_class)
4283            .field("_g_reserved1", &self._g_reserved1)
4284            .field("_g_reserved2", &self._g_reserved2)
4285            .field("_g_reserved3", &self._g_reserved3)
4286            .field("_g_reserved4", &self._g_reserved4)
4287            .field("_g_reserved5", &self._g_reserved5)
4288            .finish()
4289    }
4290}
4291
4292#[repr(C)]
4293#[allow(dead_code)]
4294pub struct _GMemoryInputStreamPrivate {
4295    _data: [u8; 0],
4296    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4297}
4298
4299pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate;
4300
4301#[derive(Copy, Clone)]
4302#[repr(C)]
4303pub struct GMemoryMonitorInterface {
4304    pub g_iface: gobject::GTypeInterface,
4305    pub low_memory_warning:
4306        Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>,
4307}
4308
4309impl ::std::fmt::Debug for GMemoryMonitorInterface {
4310    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4311        f.debug_struct(&format!("GMemoryMonitorInterface @ {self:p}"))
4312            .field("low_memory_warning", &self.low_memory_warning)
4313            .finish()
4314    }
4315}
4316
4317#[derive(Copy, Clone)]
4318#[repr(C)]
4319pub struct GMemoryOutputStreamClass {
4320    pub parent_class: GOutputStreamClass,
4321    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4322    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4323    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4324    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4325    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4326}
4327
4328impl ::std::fmt::Debug for GMemoryOutputStreamClass {
4329    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4330        f.debug_struct(&format!("GMemoryOutputStreamClass @ {self:p}"))
4331            .field("parent_class", &self.parent_class)
4332            .field("_g_reserved1", &self._g_reserved1)
4333            .field("_g_reserved2", &self._g_reserved2)
4334            .field("_g_reserved3", &self._g_reserved3)
4335            .field("_g_reserved4", &self._g_reserved4)
4336            .field("_g_reserved5", &self._g_reserved5)
4337            .finish()
4338    }
4339}
4340
4341#[repr(C)]
4342#[allow(dead_code)]
4343pub struct _GMemoryOutputStreamPrivate {
4344    _data: [u8; 0],
4345    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4346}
4347
4348pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate;
4349
4350#[derive(Copy, Clone)]
4351#[repr(C)]
4352pub struct GMenuAttributeIterClass {
4353    pub parent_class: gobject::GObjectClass,
4354    pub get_next: Option<
4355        unsafe extern "C" fn(
4356            *mut GMenuAttributeIter,
4357            *mut *const c_char,
4358            *mut *mut glib::GVariant,
4359        ) -> gboolean,
4360    >,
4361}
4362
4363impl ::std::fmt::Debug for GMenuAttributeIterClass {
4364    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4365        f.debug_struct(&format!("GMenuAttributeIterClass @ {self:p}"))
4366            .field("parent_class", &self.parent_class)
4367            .field("get_next", &self.get_next)
4368            .finish()
4369    }
4370}
4371
4372#[repr(C)]
4373#[allow(dead_code)]
4374pub struct _GMenuAttributeIterPrivate {
4375    _data: [u8; 0],
4376    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4377}
4378
4379pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate;
4380
4381#[derive(Copy, Clone)]
4382#[repr(C)]
4383pub struct GMenuLinkIterClass {
4384    pub parent_class: gobject::GObjectClass,
4385    pub get_next: Option<
4386        unsafe extern "C" fn(
4387            *mut GMenuLinkIter,
4388            *mut *const c_char,
4389            *mut *mut GMenuModel,
4390        ) -> gboolean,
4391    >,
4392}
4393
4394impl ::std::fmt::Debug for GMenuLinkIterClass {
4395    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4396        f.debug_struct(&format!("GMenuLinkIterClass @ {self:p}"))
4397            .field("parent_class", &self.parent_class)
4398            .field("get_next", &self.get_next)
4399            .finish()
4400    }
4401}
4402
4403#[repr(C)]
4404#[allow(dead_code)]
4405pub struct _GMenuLinkIterPrivate {
4406    _data: [u8; 0],
4407    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4408}
4409
4410pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate;
4411
4412#[derive(Copy, Clone)]
4413#[repr(C)]
4414pub struct GMenuModelClass {
4415    pub parent_class: gobject::GObjectClass,
4416    pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>,
4417    pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>,
4418    pub get_item_attributes:
4419        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4420    pub iterate_item_attributes:
4421        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>,
4422    pub get_item_attribute_value: Option<
4423        unsafe extern "C" fn(
4424            *mut GMenuModel,
4425            c_int,
4426            *const c_char,
4427            *const glib::GVariantType,
4428        ) -> *mut glib::GVariant,
4429    >,
4430    pub get_item_links:
4431        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>,
4432    pub iterate_item_links:
4433        Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>,
4434    pub get_item_link:
4435        Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>,
4436}
4437
4438impl ::std::fmt::Debug for GMenuModelClass {
4439    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4440        f.debug_struct(&format!("GMenuModelClass @ {self:p}"))
4441            .field("parent_class", &self.parent_class)
4442            .field("is_mutable", &self.is_mutable)
4443            .field("get_n_items", &self.get_n_items)
4444            .field("get_item_attributes", &self.get_item_attributes)
4445            .field("iterate_item_attributes", &self.iterate_item_attributes)
4446            .field("get_item_attribute_value", &self.get_item_attribute_value)
4447            .field("get_item_links", &self.get_item_links)
4448            .field("iterate_item_links", &self.iterate_item_links)
4449            .field("get_item_link", &self.get_item_link)
4450            .finish()
4451    }
4452}
4453
4454#[repr(C)]
4455#[allow(dead_code)]
4456pub struct _GMenuModelPrivate {
4457    _data: [u8; 0],
4458    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4459}
4460
4461pub type GMenuModelPrivate = _GMenuModelPrivate;
4462
4463#[derive(Copy, Clone)]
4464#[repr(C)]
4465pub struct GMountIface {
4466    pub g_iface: gobject::GTypeInterface,
4467    pub changed: Option<unsafe extern "C" fn(*mut GMount)>,
4468    pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>,
4469    pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4470    pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4471    pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4472    pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4473    pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>,
4474    pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>,
4475    pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4476    pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>,
4477    pub unmount: Option<
4478        unsafe extern "C" fn(
4479            *mut GMount,
4480            GMountUnmountFlags,
4481            *mut GCancellable,
4482            GAsyncReadyCallback,
4483            gpointer,
4484        ),
4485    >,
4486    pub unmount_finish: Option<
4487        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4488    >,
4489    pub eject: Option<
4490        unsafe extern "C" fn(
4491            *mut GMount,
4492            GMountUnmountFlags,
4493            *mut GCancellable,
4494            GAsyncReadyCallback,
4495            gpointer,
4496        ),
4497    >,
4498    pub eject_finish: Option<
4499        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4500    >,
4501    pub remount: Option<
4502        unsafe extern "C" fn(
4503            *mut GMount,
4504            GMountMountFlags,
4505            *mut GMountOperation,
4506            *mut GCancellable,
4507            GAsyncReadyCallback,
4508            gpointer,
4509        ),
4510    >,
4511    pub remount_finish: Option<
4512        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4513    >,
4514    pub guess_content_type: Option<
4515        unsafe extern "C" fn(
4516            *mut GMount,
4517            gboolean,
4518            *mut GCancellable,
4519            GAsyncReadyCallback,
4520            gpointer,
4521        ),
4522    >,
4523    pub guess_content_type_finish: Option<
4524        unsafe extern "C" fn(
4525            *mut GMount,
4526            *mut GAsyncResult,
4527            *mut *mut glib::GError,
4528        ) -> *mut *mut c_char,
4529    >,
4530    pub guess_content_type_sync: Option<
4531        unsafe extern "C" fn(
4532            *mut GMount,
4533            gboolean,
4534            *mut GCancellable,
4535            *mut *mut glib::GError,
4536        ) -> *mut *mut c_char,
4537    >,
4538    pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>,
4539    pub unmount_with_operation: Option<
4540        unsafe extern "C" fn(
4541            *mut GMount,
4542            GMountUnmountFlags,
4543            *mut GMountOperation,
4544            *mut GCancellable,
4545            GAsyncReadyCallback,
4546            gpointer,
4547        ),
4548    >,
4549    pub unmount_with_operation_finish: Option<
4550        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4551    >,
4552    pub eject_with_operation: Option<
4553        unsafe extern "C" fn(
4554            *mut GMount,
4555            GMountUnmountFlags,
4556            *mut GMountOperation,
4557            *mut GCancellable,
4558            GAsyncReadyCallback,
4559            gpointer,
4560        ),
4561    >,
4562    pub eject_with_operation_finish: Option<
4563        unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
4564    >,
4565    pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>,
4566    pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>,
4567    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>,
4568}
4569
4570impl ::std::fmt::Debug for GMountIface {
4571    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4572        f.debug_struct(&format!("GMountIface @ {self:p}"))
4573            .field("g_iface", &self.g_iface)
4574            .field("changed", &self.changed)
4575            .field("unmounted", &self.unmounted)
4576            .field("get_root", &self.get_root)
4577            .field("get_name", &self.get_name)
4578            .field("get_icon", &self.get_icon)
4579            .field("get_uuid", &self.get_uuid)
4580            .field("get_volume", &self.get_volume)
4581            .field("get_drive", &self.get_drive)
4582            .field("can_unmount", &self.can_unmount)
4583            .field("can_eject", &self.can_eject)
4584            .field("unmount", &self.unmount)
4585            .field("unmount_finish", &self.unmount_finish)
4586            .field("eject", &self.eject)
4587            .field("eject_finish", &self.eject_finish)
4588            .field("remount", &self.remount)
4589            .field("remount_finish", &self.remount_finish)
4590            .field("guess_content_type", &self.guess_content_type)
4591            .field("guess_content_type_finish", &self.guess_content_type_finish)
4592            .field("guess_content_type_sync", &self.guess_content_type_sync)
4593            .field("pre_unmount", &self.pre_unmount)
4594            .field("unmount_with_operation", &self.unmount_with_operation)
4595            .field(
4596                "unmount_with_operation_finish",
4597                &self.unmount_with_operation_finish,
4598            )
4599            .field("eject_with_operation", &self.eject_with_operation)
4600            .field(
4601                "eject_with_operation_finish",
4602                &self.eject_with_operation_finish,
4603            )
4604            .field("get_default_location", &self.get_default_location)
4605            .field("get_sort_key", &self.get_sort_key)
4606            .field("get_symbolic_icon", &self.get_symbolic_icon)
4607            .finish()
4608    }
4609}
4610
4611#[derive(Copy, Clone)]
4612#[repr(C)]
4613pub struct GMountOperationClass {
4614    pub parent_class: gobject::GObjectClass,
4615    pub ask_password: Option<
4616        unsafe extern "C" fn(
4617            *mut GMountOperation,
4618            *const c_char,
4619            *const c_char,
4620            *const c_char,
4621            GAskPasswordFlags,
4622        ),
4623    >,
4624    pub ask_question:
4625        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>,
4626    pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>,
4627    pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>,
4628    pub show_processes: Option<
4629        unsafe extern "C" fn(
4630            *mut GMountOperation,
4631            *const c_char,
4632            *mut glib::GArray,
4633            *mut *const c_char,
4634        ),
4635    >,
4636    pub show_unmount_progress:
4637        Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>,
4638    pub _g_reserved1: Option<unsafe extern "C" fn()>,
4639    pub _g_reserved2: Option<unsafe extern "C" fn()>,
4640    pub _g_reserved3: Option<unsafe extern "C" fn()>,
4641    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4642    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4643    pub _g_reserved6: Option<unsafe extern "C" fn()>,
4644    pub _g_reserved7: Option<unsafe extern "C" fn()>,
4645    pub _g_reserved8: Option<unsafe extern "C" fn()>,
4646    pub _g_reserved9: Option<unsafe extern "C" fn()>,
4647}
4648
4649impl ::std::fmt::Debug for GMountOperationClass {
4650    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4651        f.debug_struct(&format!("GMountOperationClass @ {self:p}"))
4652            .field("parent_class", &self.parent_class)
4653            .field("ask_password", &self.ask_password)
4654            .field("ask_question", &self.ask_question)
4655            .field("reply", &self.reply)
4656            .field("aborted", &self.aborted)
4657            .field("show_processes", &self.show_processes)
4658            .field("show_unmount_progress", &self.show_unmount_progress)
4659            .field("_g_reserved1", &self._g_reserved1)
4660            .field("_g_reserved2", &self._g_reserved2)
4661            .field("_g_reserved3", &self._g_reserved3)
4662            .field("_g_reserved4", &self._g_reserved4)
4663            .field("_g_reserved5", &self._g_reserved5)
4664            .field("_g_reserved6", &self._g_reserved6)
4665            .field("_g_reserved7", &self._g_reserved7)
4666            .field("_g_reserved8", &self._g_reserved8)
4667            .field("_g_reserved9", &self._g_reserved9)
4668            .finish()
4669    }
4670}
4671
4672#[repr(C)]
4673#[allow(dead_code)]
4674pub struct _GMountOperationPrivate {
4675    _data: [u8; 0],
4676    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4677}
4678
4679pub type GMountOperationPrivate = _GMountOperationPrivate;
4680
4681#[derive(Copy, Clone)]
4682#[repr(C)]
4683pub struct GNativeSocketAddressClass {
4684    pub parent_class: GSocketAddressClass,
4685}
4686
4687impl ::std::fmt::Debug for GNativeSocketAddressClass {
4688    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4689        f.debug_struct(&format!("GNativeSocketAddressClass @ {self:p}"))
4690            .field("parent_class", &self.parent_class)
4691            .finish()
4692    }
4693}
4694
4695#[repr(C)]
4696#[allow(dead_code)]
4697pub struct _GNativeSocketAddressPrivate {
4698    _data: [u8; 0],
4699    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4700}
4701
4702pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate;
4703
4704#[derive(Copy, Clone)]
4705#[repr(C)]
4706pub struct GNativeVolumeMonitorClass {
4707    pub parent_class: GVolumeMonitorClass,
4708    pub get_mount_for_mount_path:
4709        Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>,
4710}
4711
4712impl ::std::fmt::Debug for GNativeVolumeMonitorClass {
4713    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4714        f.debug_struct(&format!("GNativeVolumeMonitorClass @ {self:p}"))
4715            .field("parent_class", &self.parent_class)
4716            .field("get_mount_for_mount_path", &self.get_mount_for_mount_path)
4717            .finish()
4718    }
4719}
4720
4721#[derive(Copy, Clone)]
4722#[repr(C)]
4723pub struct GNetworkAddressClass {
4724    pub parent_class: gobject::GObjectClass,
4725}
4726
4727impl ::std::fmt::Debug for GNetworkAddressClass {
4728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4729        f.debug_struct(&format!("GNetworkAddressClass @ {self:p}"))
4730            .field("parent_class", &self.parent_class)
4731            .finish()
4732    }
4733}
4734
4735#[repr(C)]
4736#[allow(dead_code)]
4737pub struct _GNetworkAddressPrivate {
4738    _data: [u8; 0],
4739    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4740}
4741
4742pub type GNetworkAddressPrivate = _GNetworkAddressPrivate;
4743
4744#[derive(Copy, Clone)]
4745#[repr(C)]
4746pub struct GNetworkMonitorInterface {
4747    pub g_iface: gobject::GTypeInterface,
4748    pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>,
4749    pub can_reach: Option<
4750        unsafe extern "C" fn(
4751            *mut GNetworkMonitor,
4752            *mut GSocketConnectable,
4753            *mut GCancellable,
4754            *mut *mut glib::GError,
4755        ) -> gboolean,
4756    >,
4757    pub can_reach_async: Option<
4758        unsafe extern "C" fn(
4759            *mut GNetworkMonitor,
4760            *mut GSocketConnectable,
4761            *mut GCancellable,
4762            GAsyncReadyCallback,
4763            gpointer,
4764        ),
4765    >,
4766    pub can_reach_finish: Option<
4767        unsafe extern "C" fn(
4768            *mut GNetworkMonitor,
4769            *mut GAsyncResult,
4770            *mut *mut glib::GError,
4771        ) -> gboolean,
4772    >,
4773}
4774
4775impl ::std::fmt::Debug for GNetworkMonitorInterface {
4776    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4777        f.debug_struct(&format!("GNetworkMonitorInterface @ {self:p}"))
4778            .field("g_iface", &self.g_iface)
4779            .field("network_changed", &self.network_changed)
4780            .field("can_reach", &self.can_reach)
4781            .field("can_reach_async", &self.can_reach_async)
4782            .field("can_reach_finish", &self.can_reach_finish)
4783            .finish()
4784    }
4785}
4786
4787#[derive(Copy, Clone)]
4788#[repr(C)]
4789pub struct GNetworkServiceClass {
4790    pub parent_class: gobject::GObjectClass,
4791}
4792
4793impl ::std::fmt::Debug for GNetworkServiceClass {
4794    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4795        f.debug_struct(&format!("GNetworkServiceClass @ {self:p}"))
4796            .field("parent_class", &self.parent_class)
4797            .finish()
4798    }
4799}
4800
4801#[repr(C)]
4802#[allow(dead_code)]
4803pub struct _GNetworkServicePrivate {
4804    _data: [u8; 0],
4805    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4806}
4807
4808pub type GNetworkServicePrivate = _GNetworkServicePrivate;
4809
4810#[derive(Copy, Clone)]
4811#[repr(C)]
4812pub struct GOutputMessage {
4813    pub address: *mut GSocketAddress,
4814    pub vectors: *mut GOutputVector,
4815    pub num_vectors: c_uint,
4816    pub bytes_sent: c_uint,
4817    pub control_messages: *mut *mut GSocketControlMessage,
4818    pub num_control_messages: c_uint,
4819}
4820
4821impl ::std::fmt::Debug for GOutputMessage {
4822    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4823        f.debug_struct(&format!("GOutputMessage @ {self:p}"))
4824            .field("address", &self.address)
4825            .field("vectors", &self.vectors)
4826            .field("num_vectors", &self.num_vectors)
4827            .field("bytes_sent", &self.bytes_sent)
4828            .field("control_messages", &self.control_messages)
4829            .field("num_control_messages", &self.num_control_messages)
4830            .finish()
4831    }
4832}
4833
4834#[derive(Copy, Clone)]
4835#[repr(C)]
4836pub struct GOutputStreamClass {
4837    pub parent_class: gobject::GObjectClass,
4838    pub write_fn: Option<
4839        unsafe extern "C" fn(
4840            *mut GOutputStream,
4841            *mut u8,
4842            size_t,
4843            *mut GCancellable,
4844            *mut *mut glib::GError,
4845        ) -> ssize_t,
4846    >,
4847    pub splice: Option<
4848        unsafe extern "C" fn(
4849            *mut GOutputStream,
4850            *mut GInputStream,
4851            GOutputStreamSpliceFlags,
4852            *mut GCancellable,
4853            *mut *mut glib::GError,
4854        ) -> ssize_t,
4855    >,
4856    pub flush: Option<
4857        unsafe extern "C" fn(
4858            *mut GOutputStream,
4859            *mut GCancellable,
4860            *mut *mut glib::GError,
4861        ) -> gboolean,
4862    >,
4863    pub close_fn: Option<
4864        unsafe extern "C" fn(
4865            *mut GOutputStream,
4866            *mut GCancellable,
4867            *mut *mut glib::GError,
4868        ) -> gboolean,
4869    >,
4870    pub write_async: Option<
4871        unsafe extern "C" fn(
4872            *mut GOutputStream,
4873            *mut u8,
4874            size_t,
4875            c_int,
4876            *mut GCancellable,
4877            GAsyncReadyCallback,
4878            gpointer,
4879        ),
4880    >,
4881    pub write_finish: Option<
4882        unsafe extern "C" fn(
4883            *mut GOutputStream,
4884            *mut GAsyncResult,
4885            *mut *mut glib::GError,
4886        ) -> ssize_t,
4887    >,
4888    pub splice_async: Option<
4889        unsafe extern "C" fn(
4890            *mut GOutputStream,
4891            *mut GInputStream,
4892            GOutputStreamSpliceFlags,
4893            c_int,
4894            *mut GCancellable,
4895            GAsyncReadyCallback,
4896            gpointer,
4897        ),
4898    >,
4899    pub splice_finish: Option<
4900        unsafe extern "C" fn(
4901            *mut GOutputStream,
4902            *mut GAsyncResult,
4903            *mut *mut glib::GError,
4904        ) -> ssize_t,
4905    >,
4906    pub flush_async: Option<
4907        unsafe extern "C" fn(
4908            *mut GOutputStream,
4909            c_int,
4910            *mut GCancellable,
4911            GAsyncReadyCallback,
4912            gpointer,
4913        ),
4914    >,
4915    pub flush_finish: Option<
4916        unsafe extern "C" fn(
4917            *mut GOutputStream,
4918            *mut GAsyncResult,
4919            *mut *mut glib::GError,
4920        ) -> gboolean,
4921    >,
4922    pub close_async: Option<
4923        unsafe extern "C" fn(
4924            *mut GOutputStream,
4925            c_int,
4926            *mut GCancellable,
4927            GAsyncReadyCallback,
4928            gpointer,
4929        ),
4930    >,
4931    pub close_finish: Option<
4932        unsafe extern "C" fn(
4933            *mut GOutputStream,
4934            *mut GAsyncResult,
4935            *mut *mut glib::GError,
4936        ) -> gboolean,
4937    >,
4938    pub writev_fn: Option<
4939        unsafe extern "C" fn(
4940            *mut GOutputStream,
4941            *const GOutputVector,
4942            size_t,
4943            *mut size_t,
4944            *mut GCancellable,
4945            *mut *mut glib::GError,
4946        ) -> gboolean,
4947    >,
4948    pub writev_async: Option<
4949        unsafe extern "C" fn(
4950            *mut GOutputStream,
4951            *const GOutputVector,
4952            size_t,
4953            c_int,
4954            *mut GCancellable,
4955            GAsyncReadyCallback,
4956            gpointer,
4957        ),
4958    >,
4959    pub writev_finish: Option<
4960        unsafe extern "C" fn(
4961            *mut GOutputStream,
4962            *mut GAsyncResult,
4963            *mut size_t,
4964            *mut *mut glib::GError,
4965        ) -> gboolean,
4966    >,
4967    pub _g_reserved4: Option<unsafe extern "C" fn()>,
4968    pub _g_reserved5: Option<unsafe extern "C" fn()>,
4969    pub _g_reserved6: Option<unsafe extern "C" fn()>,
4970    pub _g_reserved7: Option<unsafe extern "C" fn()>,
4971    pub _g_reserved8: Option<unsafe extern "C" fn()>,
4972}
4973
4974impl ::std::fmt::Debug for GOutputStreamClass {
4975    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4976        f.debug_struct(&format!("GOutputStreamClass @ {self:p}"))
4977            .field("parent_class", &self.parent_class)
4978            .field("write_fn", &self.write_fn)
4979            .field("splice", &self.splice)
4980            .field("flush", &self.flush)
4981            .field("close_fn", &self.close_fn)
4982            .field("write_async", &self.write_async)
4983            .field("write_finish", &self.write_finish)
4984            .field("splice_async", &self.splice_async)
4985            .field("splice_finish", &self.splice_finish)
4986            .field("flush_async", &self.flush_async)
4987            .field("flush_finish", &self.flush_finish)
4988            .field("close_async", &self.close_async)
4989            .field("close_finish", &self.close_finish)
4990            .field("writev_fn", &self.writev_fn)
4991            .field("writev_async", &self.writev_async)
4992            .field("writev_finish", &self.writev_finish)
4993            .field("_g_reserved4", &self._g_reserved4)
4994            .field("_g_reserved5", &self._g_reserved5)
4995            .field("_g_reserved6", &self._g_reserved6)
4996            .field("_g_reserved7", &self._g_reserved7)
4997            .field("_g_reserved8", &self._g_reserved8)
4998            .finish()
4999    }
5000}
5001
5002#[repr(C)]
5003#[allow(dead_code)]
5004pub struct _GOutputStreamPrivate {
5005    _data: [u8; 0],
5006    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5007}
5008
5009pub type GOutputStreamPrivate = _GOutputStreamPrivate;
5010
5011#[derive(Copy, Clone)]
5012#[repr(C)]
5013pub struct GOutputVector {
5014    pub buffer: gconstpointer,
5015    pub size: size_t,
5016}
5017
5018impl ::std::fmt::Debug for GOutputVector {
5019    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5020        f.debug_struct(&format!("GOutputVector @ {self:p}"))
5021            .field("buffer", &self.buffer)
5022            .field("size", &self.size)
5023            .finish()
5024    }
5025}
5026
5027#[derive(Copy, Clone)]
5028#[repr(C)]
5029pub struct GPermissionClass {
5030    pub parent_class: gobject::GObjectClass,
5031    pub acquire: Option<
5032        unsafe extern "C" fn(
5033            *mut GPermission,
5034            *mut GCancellable,
5035            *mut *mut glib::GError,
5036        ) -> gboolean,
5037    >,
5038    pub acquire_async: Option<
5039        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5040    >,
5041    pub acquire_finish: Option<
5042        unsafe extern "C" fn(
5043            *mut GPermission,
5044            *mut GAsyncResult,
5045            *mut *mut glib::GError,
5046        ) -> gboolean,
5047    >,
5048    pub release: Option<
5049        unsafe extern "C" fn(
5050            *mut GPermission,
5051            *mut GCancellable,
5052            *mut *mut glib::GError,
5053        ) -> gboolean,
5054    >,
5055    pub release_async: Option<
5056        unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer),
5057    >,
5058    pub release_finish: Option<
5059        unsafe extern "C" fn(
5060            *mut GPermission,
5061            *mut GAsyncResult,
5062            *mut *mut glib::GError,
5063        ) -> gboolean,
5064    >,
5065    pub reserved: [gpointer; 16],
5066}
5067
5068impl ::std::fmt::Debug for GPermissionClass {
5069    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5070        f.debug_struct(&format!("GPermissionClass @ {self:p}"))
5071            .field("parent_class", &self.parent_class)
5072            .field("acquire", &self.acquire)
5073            .field("acquire_async", &self.acquire_async)
5074            .field("acquire_finish", &self.acquire_finish)
5075            .field("release", &self.release)
5076            .field("release_async", &self.release_async)
5077            .field("release_finish", &self.release_finish)
5078            .field("reserved", &self.reserved)
5079            .finish()
5080    }
5081}
5082
5083#[repr(C)]
5084#[allow(dead_code)]
5085pub struct _GPermissionPrivate {
5086    _data: [u8; 0],
5087    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5088}
5089
5090pub type GPermissionPrivate = _GPermissionPrivate;
5091
5092#[derive(Copy, Clone)]
5093#[repr(C)]
5094pub struct GPollableInputStreamInterface {
5095    pub g_iface: gobject::GTypeInterface,
5096    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5097    pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>,
5098    pub create_source: Option<
5099        unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource,
5100    >,
5101    pub read_nonblocking: Option<
5102        unsafe extern "C" fn(
5103            *mut GPollableInputStream,
5104            *mut u8,
5105            size_t,
5106            *mut *mut glib::GError,
5107        ) -> ssize_t,
5108    >,
5109}
5110
5111impl ::std::fmt::Debug for GPollableInputStreamInterface {
5112    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5113        f.debug_struct(&format!("GPollableInputStreamInterface @ {self:p}"))
5114            .field("g_iface", &self.g_iface)
5115            .field("can_poll", &self.can_poll)
5116            .field("is_readable", &self.is_readable)
5117            .field("create_source", &self.create_source)
5118            .field("read_nonblocking", &self.read_nonblocking)
5119            .finish()
5120    }
5121}
5122
5123#[derive(Copy, Clone)]
5124#[repr(C)]
5125pub struct GPollableOutputStreamInterface {
5126    pub g_iface: gobject::GTypeInterface,
5127    pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5128    pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>,
5129    pub create_source: Option<
5130        unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource,
5131    >,
5132    pub write_nonblocking: Option<
5133        unsafe extern "C" fn(
5134            *mut GPollableOutputStream,
5135            *mut u8,
5136            size_t,
5137            *mut *mut glib::GError,
5138        ) -> ssize_t,
5139    >,
5140    pub writev_nonblocking: Option<
5141        unsafe extern "C" fn(
5142            *mut GPollableOutputStream,
5143            *const GOutputVector,
5144            size_t,
5145            *mut size_t,
5146            *mut *mut glib::GError,
5147        ) -> GPollableReturn,
5148    >,
5149}
5150
5151impl ::std::fmt::Debug for GPollableOutputStreamInterface {
5152    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5153        f.debug_struct(&format!("GPollableOutputStreamInterface @ {self:p}"))
5154            .field("g_iface", &self.g_iface)
5155            .field("can_poll", &self.can_poll)
5156            .field("is_writable", &self.is_writable)
5157            .field("create_source", &self.create_source)
5158            .field("write_nonblocking", &self.write_nonblocking)
5159            .field("writev_nonblocking", &self.writev_nonblocking)
5160            .finish()
5161    }
5162}
5163
5164#[derive(Copy, Clone)]
5165#[repr(C)]
5166pub struct GPowerProfileMonitorInterface {
5167    pub g_iface: gobject::GTypeInterface,
5168}
5169
5170impl ::std::fmt::Debug for GPowerProfileMonitorInterface {
5171    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5172        f.debug_struct(&format!("GPowerProfileMonitorInterface @ {self:p}"))
5173            .finish()
5174    }
5175}
5176
5177#[derive(Copy, Clone)]
5178#[repr(C)]
5179pub struct GProxyAddressClass {
5180    pub parent_class: GInetSocketAddressClass,
5181}
5182
5183impl ::std::fmt::Debug for GProxyAddressClass {
5184    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5185        f.debug_struct(&format!("GProxyAddressClass @ {self:p}"))
5186            .field("parent_class", &self.parent_class)
5187            .finish()
5188    }
5189}
5190
5191#[derive(Copy, Clone)]
5192#[repr(C)]
5193pub struct GProxyAddressEnumeratorClass {
5194    pub parent_class: GSocketAddressEnumeratorClass,
5195    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5196    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5197    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5198    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5199    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5200    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5201    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5202}
5203
5204impl ::std::fmt::Debug for GProxyAddressEnumeratorClass {
5205    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5206        f.debug_struct(&format!("GProxyAddressEnumeratorClass @ {self:p}"))
5207            .field("_g_reserved1", &self._g_reserved1)
5208            .field("_g_reserved2", &self._g_reserved2)
5209            .field("_g_reserved3", &self._g_reserved3)
5210            .field("_g_reserved4", &self._g_reserved4)
5211            .field("_g_reserved5", &self._g_reserved5)
5212            .field("_g_reserved6", &self._g_reserved6)
5213            .field("_g_reserved7", &self._g_reserved7)
5214            .finish()
5215    }
5216}
5217
5218#[repr(C)]
5219#[allow(dead_code)]
5220pub struct _GProxyAddressEnumeratorPrivate {
5221    _data: [u8; 0],
5222    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5223}
5224
5225pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate;
5226
5227#[repr(C)]
5228#[allow(dead_code)]
5229pub struct _GProxyAddressPrivate {
5230    _data: [u8; 0],
5231    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5232}
5233
5234pub type GProxyAddressPrivate = _GProxyAddressPrivate;
5235
5236#[derive(Copy, Clone)]
5237#[repr(C)]
5238pub struct GProxyInterface {
5239    pub g_iface: gobject::GTypeInterface,
5240    pub connect: Option<
5241        unsafe extern "C" fn(
5242            *mut GProxy,
5243            *mut GIOStream,
5244            *mut GProxyAddress,
5245            *mut GCancellable,
5246            *mut *mut glib::GError,
5247        ) -> *mut GIOStream,
5248    >,
5249    pub connect_async: Option<
5250        unsafe extern "C" fn(
5251            *mut GProxy,
5252            *mut GIOStream,
5253            *mut GProxyAddress,
5254            *mut GCancellable,
5255            GAsyncReadyCallback,
5256            gpointer,
5257        ),
5258    >,
5259    pub connect_finish: Option<
5260        unsafe extern "C" fn(
5261            *mut GProxy,
5262            *mut GAsyncResult,
5263            *mut *mut glib::GError,
5264        ) -> *mut GIOStream,
5265    >,
5266    pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>,
5267}
5268
5269impl ::std::fmt::Debug for GProxyInterface {
5270    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5271        f.debug_struct(&format!("GProxyInterface @ {self:p}"))
5272            .field("g_iface", &self.g_iface)
5273            .field("connect", &self.connect)
5274            .field("connect_async", &self.connect_async)
5275            .field("connect_finish", &self.connect_finish)
5276            .field("supports_hostname", &self.supports_hostname)
5277            .finish()
5278    }
5279}
5280
5281#[derive(Copy, Clone)]
5282#[repr(C)]
5283pub struct GProxyResolverInterface {
5284    pub g_iface: gobject::GTypeInterface,
5285    pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>,
5286    pub lookup: Option<
5287        unsafe extern "C" fn(
5288            *mut GProxyResolver,
5289            *const c_char,
5290            *mut GCancellable,
5291            *mut *mut glib::GError,
5292        ) -> *mut *mut c_char,
5293    >,
5294    pub lookup_async: Option<
5295        unsafe extern "C" fn(
5296            *mut GProxyResolver,
5297            *const c_char,
5298            *mut GCancellable,
5299            GAsyncReadyCallback,
5300            gpointer,
5301        ),
5302    >,
5303    pub lookup_finish: Option<
5304        unsafe extern "C" fn(
5305            *mut GProxyResolver,
5306            *mut GAsyncResult,
5307            *mut *mut glib::GError,
5308        ) -> *mut *mut c_char,
5309    >,
5310}
5311
5312impl ::std::fmt::Debug for GProxyResolverInterface {
5313    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5314        f.debug_struct(&format!("GProxyResolverInterface @ {self:p}"))
5315            .field("g_iface", &self.g_iface)
5316            .field("is_supported", &self.is_supported)
5317            .field("lookup", &self.lookup)
5318            .field("lookup_async", &self.lookup_async)
5319            .field("lookup_finish", &self.lookup_finish)
5320            .finish()
5321    }
5322}
5323
5324#[derive(Copy, Clone)]
5325#[repr(C)]
5326pub struct GRemoteActionGroupInterface {
5327    pub g_iface: gobject::GTypeInterface,
5328    pub activate_action_full: Option<
5329        unsafe extern "C" fn(
5330            *mut GRemoteActionGroup,
5331            *const c_char,
5332            *mut glib::GVariant,
5333            *mut glib::GVariant,
5334        ),
5335    >,
5336    pub change_action_state_full: Option<
5337        unsafe extern "C" fn(
5338            *mut GRemoteActionGroup,
5339            *const c_char,
5340            *mut glib::GVariant,
5341            *mut glib::GVariant,
5342        ),
5343    >,
5344}
5345
5346impl ::std::fmt::Debug for GRemoteActionGroupInterface {
5347    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5348        f.debug_struct(&format!("GRemoteActionGroupInterface @ {self:p}"))
5349            .field("g_iface", &self.g_iface)
5350            .field("activate_action_full", &self.activate_action_full)
5351            .field("change_action_state_full", &self.change_action_state_full)
5352            .finish()
5353    }
5354}
5355
5356#[derive(Copy, Clone)]
5357#[repr(C)]
5358pub struct GResolverClass {
5359    pub parent_class: gobject::GObjectClass,
5360    pub reload: Option<unsafe extern "C" fn(*mut GResolver)>,
5361    pub lookup_by_name: Option<
5362        unsafe extern "C" fn(
5363            *mut GResolver,
5364            *const c_char,
5365            *mut GCancellable,
5366            *mut *mut glib::GError,
5367        ) -> *mut glib::GList,
5368    >,
5369    pub lookup_by_name_async: Option<
5370        unsafe extern "C" fn(
5371            *mut GResolver,
5372            *const c_char,
5373            *mut GCancellable,
5374            GAsyncReadyCallback,
5375            gpointer,
5376        ),
5377    >,
5378    pub lookup_by_name_finish: Option<
5379        unsafe extern "C" fn(
5380            *mut GResolver,
5381            *mut GAsyncResult,
5382            *mut *mut glib::GError,
5383        ) -> *mut glib::GList,
5384    >,
5385    pub lookup_by_address: Option<
5386        unsafe extern "C" fn(
5387            *mut GResolver,
5388            *mut GInetAddress,
5389            *mut GCancellable,
5390            *mut *mut glib::GError,
5391        ) -> *mut c_char,
5392    >,
5393    pub lookup_by_address_async: Option<
5394        unsafe extern "C" fn(
5395            *mut GResolver,
5396            *mut GInetAddress,
5397            *mut GCancellable,
5398            GAsyncReadyCallback,
5399            gpointer,
5400        ),
5401    >,
5402    pub lookup_by_address_finish: Option<
5403        unsafe extern "C" fn(
5404            *mut GResolver,
5405            *mut GAsyncResult,
5406            *mut *mut glib::GError,
5407        ) -> *mut c_char,
5408    >,
5409    pub lookup_service: Option<
5410        unsafe extern "C" fn(
5411            *mut GResolver,
5412            *const c_char,
5413            *mut GCancellable,
5414            *mut *mut glib::GError,
5415        ) -> *mut glib::GList,
5416    >,
5417    pub lookup_service_async: Option<
5418        unsafe extern "C" fn(
5419            *mut GResolver,
5420            *const c_char,
5421            *mut GCancellable,
5422            GAsyncReadyCallback,
5423            gpointer,
5424        ),
5425    >,
5426    pub lookup_service_finish: Option<
5427        unsafe extern "C" fn(
5428            *mut GResolver,
5429            *mut GAsyncResult,
5430            *mut *mut glib::GError,
5431        ) -> *mut glib::GList,
5432    >,
5433    pub lookup_records: Option<
5434        unsafe extern "C" fn(
5435            *mut GResolver,
5436            *const c_char,
5437            GResolverRecordType,
5438            *mut GCancellable,
5439            *mut *mut glib::GError,
5440        ) -> *mut glib::GList,
5441    >,
5442    pub lookup_records_async: Option<
5443        unsafe extern "C" fn(
5444            *mut GResolver,
5445            *const c_char,
5446            GResolverRecordType,
5447            *mut GCancellable,
5448            GAsyncReadyCallback,
5449            gpointer,
5450        ),
5451    >,
5452    pub lookup_records_finish: Option<
5453        unsafe extern "C" fn(
5454            *mut GResolver,
5455            *mut GAsyncResult,
5456            *mut *mut glib::GError,
5457        ) -> *mut glib::GList,
5458    >,
5459    pub lookup_by_name_with_flags_async: Option<
5460        unsafe extern "C" fn(
5461            *mut GResolver,
5462            *const c_char,
5463            GResolverNameLookupFlags,
5464            *mut GCancellable,
5465            GAsyncReadyCallback,
5466            gpointer,
5467        ),
5468    >,
5469    pub lookup_by_name_with_flags_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_by_name_with_flags: Option<
5477        unsafe extern "C" fn(
5478            *mut GResolver,
5479            *const c_char,
5480            GResolverNameLookupFlags,
5481            *mut GCancellable,
5482            *mut *mut glib::GError,
5483        ) -> *mut glib::GList,
5484    >,
5485}
5486
5487impl ::std::fmt::Debug for GResolverClass {
5488    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5489        f.debug_struct(&format!("GResolverClass @ {self:p}"))
5490            .field("parent_class", &self.parent_class)
5491            .field("reload", &self.reload)
5492            .field("lookup_by_name", &self.lookup_by_name)
5493            .field("lookup_by_name_async", &self.lookup_by_name_async)
5494            .field("lookup_by_name_finish", &self.lookup_by_name_finish)
5495            .field("lookup_by_address", &self.lookup_by_address)
5496            .field("lookup_by_address_async", &self.lookup_by_address_async)
5497            .field("lookup_by_address_finish", &self.lookup_by_address_finish)
5498            .field("lookup_service", &self.lookup_service)
5499            .field("lookup_service_async", &self.lookup_service_async)
5500            .field("lookup_service_finish", &self.lookup_service_finish)
5501            .field("lookup_records", &self.lookup_records)
5502            .field("lookup_records_async", &self.lookup_records_async)
5503            .field("lookup_records_finish", &self.lookup_records_finish)
5504            .field(
5505                "lookup_by_name_with_flags_async",
5506                &self.lookup_by_name_with_flags_async,
5507            )
5508            .field(
5509                "lookup_by_name_with_flags_finish",
5510                &self.lookup_by_name_with_flags_finish,
5511            )
5512            .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags)
5513            .finish()
5514    }
5515}
5516
5517#[repr(C)]
5518#[allow(dead_code)]
5519pub struct _GResolverPrivate {
5520    _data: [u8; 0],
5521    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5522}
5523
5524pub type GResolverPrivate = _GResolverPrivate;
5525
5526#[repr(C)]
5527#[allow(dead_code)]
5528pub struct GResource {
5529    _data: [u8; 0],
5530    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5531}
5532
5533impl ::std::fmt::Debug for GResource {
5534    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5535        f.debug_struct(&format!("GResource @ {self:p}")).finish()
5536    }
5537}
5538
5539#[derive(Copy, Clone)]
5540#[repr(C)]
5541pub struct GSeekableIface {
5542    pub g_iface: gobject::GTypeInterface,
5543    pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>,
5544    pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5545    pub seek: Option<
5546        unsafe extern "C" fn(
5547            *mut GSeekable,
5548            i64,
5549            glib::GSeekType,
5550            *mut GCancellable,
5551            *mut *mut glib::GError,
5552        ) -> gboolean,
5553    >,
5554    pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>,
5555    pub truncate_fn: Option<
5556        unsafe extern "C" fn(
5557            *mut GSeekable,
5558            i64,
5559            *mut GCancellable,
5560            *mut *mut glib::GError,
5561        ) -> gboolean,
5562    >,
5563}
5564
5565impl ::std::fmt::Debug for GSeekableIface {
5566    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5567        f.debug_struct(&format!("GSeekableIface @ {self:p}"))
5568            .field("g_iface", &self.g_iface)
5569            .field("tell", &self.tell)
5570            .field("can_seek", &self.can_seek)
5571            .field("seek", &self.seek)
5572            .field("can_truncate", &self.can_truncate)
5573            .field("truncate_fn", &self.truncate_fn)
5574            .finish()
5575    }
5576}
5577
5578#[derive(Copy, Clone)]
5579#[repr(C)]
5580pub struct GSettingsBackendClass {
5581    pub parent_class: gobject::GObjectClass,
5582    pub read: Option<
5583        unsafe extern "C" fn(
5584            *mut GSettingsBackend,
5585            *const c_char,
5586            *const glib::GVariantType,
5587            gboolean,
5588        ) -> *mut glib::GVariant,
5589    >,
5590    pub get_writable:
5591        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>,
5592    pub write: Option<
5593        unsafe extern "C" fn(
5594            *mut GSettingsBackend,
5595            *const c_char,
5596            *mut glib::GVariant,
5597            gpointer,
5598        ) -> gboolean,
5599    >,
5600    pub write_tree:
5601        Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>,
5602    pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>,
5603    pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5604    pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>,
5605    pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>,
5606    pub get_permission:
5607        Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>,
5608    pub read_user_value: Option<
5609        unsafe extern "C" fn(
5610            *mut GSettingsBackend,
5611            *const c_char,
5612            *const glib::GVariantType,
5613        ) -> *mut glib::GVariant,
5614    >,
5615    pub padding: [gpointer; 23],
5616}
5617
5618impl ::std::fmt::Debug for GSettingsBackendClass {
5619    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5620        f.debug_struct(&format!("GSettingsBackendClass @ {self:p}"))
5621            .field("parent_class", &self.parent_class)
5622            .field("read", &self.read)
5623            .field("get_writable", &self.get_writable)
5624            .field("write", &self.write)
5625            .field("write_tree", &self.write_tree)
5626            .field("reset", &self.reset)
5627            .field("subscribe", &self.subscribe)
5628            .field("unsubscribe", &self.unsubscribe)
5629            .field("sync", &self.sync)
5630            .field("get_permission", &self.get_permission)
5631            .field("read_user_value", &self.read_user_value)
5632            .finish()
5633    }
5634}
5635
5636#[repr(C)]
5637#[allow(dead_code)]
5638pub struct _GSettingsBackendPrivate {
5639    _data: [u8; 0],
5640    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5641}
5642
5643pub type GSettingsBackendPrivate = _GSettingsBackendPrivate;
5644
5645#[derive(Copy, Clone)]
5646#[repr(C)]
5647pub struct GSettingsClass {
5648    pub parent_class: gobject::GObjectClass,
5649    pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5650    pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>,
5651    pub writable_change_event:
5652        Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>,
5653    pub change_event:
5654        Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>,
5655    pub padding: [gpointer; 20],
5656}
5657
5658impl ::std::fmt::Debug for GSettingsClass {
5659    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5660        f.debug_struct(&format!("GSettingsClass @ {self:p}"))
5661            .field("parent_class", &self.parent_class)
5662            .field("writable_changed", &self.writable_changed)
5663            .field("changed", &self.changed)
5664            .field("writable_change_event", &self.writable_change_event)
5665            .field("change_event", &self.change_event)
5666            .field("padding", &self.padding)
5667            .finish()
5668    }
5669}
5670
5671#[repr(C)]
5672#[allow(dead_code)]
5673pub struct _GSettingsPrivate {
5674    _data: [u8; 0],
5675    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5676}
5677
5678pub type GSettingsPrivate = _GSettingsPrivate;
5679
5680#[repr(C)]
5681#[allow(dead_code)]
5682pub struct GSettingsSchema {
5683    _data: [u8; 0],
5684    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5685}
5686
5687impl ::std::fmt::Debug for GSettingsSchema {
5688    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5689        f.debug_struct(&format!("GSettingsSchema @ {self:p}"))
5690            .finish()
5691    }
5692}
5693
5694#[repr(C)]
5695#[allow(dead_code)]
5696pub struct GSettingsSchemaKey {
5697    _data: [u8; 0],
5698    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5699}
5700
5701impl ::std::fmt::Debug for GSettingsSchemaKey {
5702    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5703        f.debug_struct(&format!("GSettingsSchemaKey @ {self:p}"))
5704            .finish()
5705    }
5706}
5707
5708#[repr(C)]
5709#[allow(dead_code)]
5710pub struct GSettingsSchemaSource {
5711    _data: [u8; 0],
5712    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5713}
5714
5715impl ::std::fmt::Debug for GSettingsSchemaSource {
5716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5717        f.debug_struct(&format!("GSettingsSchemaSource @ {self:p}"))
5718            .finish()
5719    }
5720}
5721
5722#[derive(Copy, Clone)]
5723#[repr(C)]
5724pub struct GSimpleActionGroupClass {
5725    pub parent_class: gobject::GObjectClass,
5726    pub padding: [gpointer; 12],
5727}
5728
5729impl ::std::fmt::Debug for GSimpleActionGroupClass {
5730    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5731        f.debug_struct(&format!("GSimpleActionGroupClass @ {self:p}"))
5732            .finish()
5733    }
5734}
5735
5736#[repr(C)]
5737#[allow(dead_code)]
5738pub struct _GSimpleActionGroupPrivate {
5739    _data: [u8; 0],
5740    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5741}
5742
5743pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate;
5744
5745#[repr(C)]
5746#[allow(dead_code)]
5747pub struct _GSimpleAsyncResultClass {
5748    _data: [u8; 0],
5749    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5750}
5751
5752pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass;
5753
5754#[derive(Copy, Clone)]
5755#[repr(C)]
5756pub struct GSimpleProxyResolverClass {
5757    pub parent_class: gobject::GObjectClass,
5758    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5759    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5760    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5761    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5762    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5763}
5764
5765impl ::std::fmt::Debug for GSimpleProxyResolverClass {
5766    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5767        f.debug_struct(&format!("GSimpleProxyResolverClass @ {self:p}"))
5768            .field("parent_class", &self.parent_class)
5769            .field("_g_reserved1", &self._g_reserved1)
5770            .field("_g_reserved2", &self._g_reserved2)
5771            .field("_g_reserved3", &self._g_reserved3)
5772            .field("_g_reserved4", &self._g_reserved4)
5773            .field("_g_reserved5", &self._g_reserved5)
5774            .finish()
5775    }
5776}
5777
5778#[repr(C)]
5779#[allow(dead_code)]
5780pub struct _GSimpleProxyResolverPrivate {
5781    _data: [u8; 0],
5782    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5783}
5784
5785pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate;
5786
5787#[derive(Copy, Clone)]
5788#[repr(C)]
5789pub struct GSocketAddressClass {
5790    pub parent_class: gobject::GObjectClass,
5791    pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>,
5792    pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>,
5793    pub to_native: Option<
5794        unsafe extern "C" fn(
5795            *mut GSocketAddress,
5796            gpointer,
5797            size_t,
5798            *mut *mut glib::GError,
5799        ) -> gboolean,
5800    >,
5801}
5802
5803impl ::std::fmt::Debug for GSocketAddressClass {
5804    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5805        f.debug_struct(&format!("GSocketAddressClass @ {self:p}"))
5806            .field("parent_class", &self.parent_class)
5807            .field("get_family", &self.get_family)
5808            .field("get_native_size", &self.get_native_size)
5809            .field("to_native", &self.to_native)
5810            .finish()
5811    }
5812}
5813
5814#[derive(Copy, Clone)]
5815#[repr(C)]
5816pub struct GSocketAddressEnumeratorClass {
5817    pub parent_class: gobject::GObjectClass,
5818    pub next: Option<
5819        unsafe extern "C" fn(
5820            *mut GSocketAddressEnumerator,
5821            *mut GCancellable,
5822            *mut *mut glib::GError,
5823        ) -> *mut GSocketAddress,
5824    >,
5825    pub next_async: Option<
5826        unsafe extern "C" fn(
5827            *mut GSocketAddressEnumerator,
5828            *mut GCancellable,
5829            GAsyncReadyCallback,
5830            gpointer,
5831        ),
5832    >,
5833    pub next_finish: Option<
5834        unsafe extern "C" fn(
5835            *mut GSocketAddressEnumerator,
5836            *mut GAsyncResult,
5837            *mut *mut glib::GError,
5838        ) -> *mut GSocketAddress,
5839    >,
5840}
5841
5842impl ::std::fmt::Debug for GSocketAddressEnumeratorClass {
5843    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5844        f.debug_struct(&format!("GSocketAddressEnumeratorClass @ {self:p}"))
5845            .field("next", &self.next)
5846            .field("next_async", &self.next_async)
5847            .field("next_finish", &self.next_finish)
5848            .finish()
5849    }
5850}
5851
5852#[derive(Copy, Clone)]
5853#[repr(C)]
5854pub struct GSocketClass {
5855    pub parent_class: gobject::GObjectClass,
5856    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5857    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5858    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5859    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5860    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5861    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5862    pub _g_reserved7: Option<unsafe extern "C" fn()>,
5863    pub _g_reserved8: Option<unsafe extern "C" fn()>,
5864    pub _g_reserved9: Option<unsafe extern "C" fn()>,
5865    pub _g_reserved10: Option<unsafe extern "C" fn()>,
5866}
5867
5868impl ::std::fmt::Debug for GSocketClass {
5869    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5870        f.debug_struct(&format!("GSocketClass @ {self:p}"))
5871            .field("parent_class", &self.parent_class)
5872            .field("_g_reserved1", &self._g_reserved1)
5873            .field("_g_reserved2", &self._g_reserved2)
5874            .field("_g_reserved3", &self._g_reserved3)
5875            .field("_g_reserved4", &self._g_reserved4)
5876            .field("_g_reserved5", &self._g_reserved5)
5877            .field("_g_reserved6", &self._g_reserved6)
5878            .field("_g_reserved7", &self._g_reserved7)
5879            .field("_g_reserved8", &self._g_reserved8)
5880            .field("_g_reserved9", &self._g_reserved9)
5881            .field("_g_reserved10", &self._g_reserved10)
5882            .finish()
5883    }
5884}
5885
5886#[derive(Copy, Clone)]
5887#[repr(C)]
5888pub struct GSocketClientClass {
5889    pub parent_class: gobject::GObjectClass,
5890    pub event: Option<
5891        unsafe extern "C" fn(
5892            *mut GSocketClient,
5893            GSocketClientEvent,
5894            *mut GSocketConnectable,
5895            *mut GIOStream,
5896        ),
5897    >,
5898    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5899    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5900    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5901    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5902}
5903
5904impl ::std::fmt::Debug for GSocketClientClass {
5905    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5906        f.debug_struct(&format!("GSocketClientClass @ {self:p}"))
5907            .field("parent_class", &self.parent_class)
5908            .field("event", &self.event)
5909            .field("_g_reserved1", &self._g_reserved1)
5910            .field("_g_reserved2", &self._g_reserved2)
5911            .field("_g_reserved3", &self._g_reserved3)
5912            .field("_g_reserved4", &self._g_reserved4)
5913            .finish()
5914    }
5915}
5916
5917#[repr(C)]
5918#[allow(dead_code)]
5919pub struct _GSocketClientPrivate {
5920    _data: [u8; 0],
5921    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5922}
5923
5924pub type GSocketClientPrivate = _GSocketClientPrivate;
5925
5926#[derive(Copy, Clone)]
5927#[repr(C)]
5928pub struct GSocketConnectableIface {
5929    pub g_iface: gobject::GTypeInterface,
5930    pub enumerate:
5931        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5932    pub proxy_enumerate:
5933        Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>,
5934    pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>,
5935}
5936
5937impl ::std::fmt::Debug for GSocketConnectableIface {
5938    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5939        f.debug_struct(&format!("GSocketConnectableIface @ {self:p}"))
5940            .field("g_iface", &self.g_iface)
5941            .field("enumerate", &self.enumerate)
5942            .field("proxy_enumerate", &self.proxy_enumerate)
5943            .field("to_string", &self.to_string)
5944            .finish()
5945    }
5946}
5947
5948#[derive(Copy, Clone)]
5949#[repr(C)]
5950pub struct GSocketConnectionClass {
5951    pub parent_class: GIOStreamClass,
5952    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5953    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5954    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5955    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5956    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5957    pub _g_reserved6: Option<unsafe extern "C" fn()>,
5958}
5959
5960impl ::std::fmt::Debug for GSocketConnectionClass {
5961    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5962        f.debug_struct(&format!("GSocketConnectionClass @ {self:p}"))
5963            .field("parent_class", &self.parent_class)
5964            .field("_g_reserved1", &self._g_reserved1)
5965            .field("_g_reserved2", &self._g_reserved2)
5966            .field("_g_reserved3", &self._g_reserved3)
5967            .field("_g_reserved4", &self._g_reserved4)
5968            .field("_g_reserved5", &self._g_reserved5)
5969            .field("_g_reserved6", &self._g_reserved6)
5970            .finish()
5971    }
5972}
5973
5974#[repr(C)]
5975#[allow(dead_code)]
5976pub struct _GSocketConnectionPrivate {
5977    _data: [u8; 0],
5978    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
5979}
5980
5981pub type GSocketConnectionPrivate = _GSocketConnectionPrivate;
5982
5983#[derive(Copy, Clone)]
5984#[repr(C)]
5985pub struct GSocketControlMessageClass {
5986    pub parent_class: gobject::GObjectClass,
5987    pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>,
5988    pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
5989    pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>,
5990    pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>,
5991    pub deserialize:
5992        Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>,
5993    pub _g_reserved1: Option<unsafe extern "C" fn()>,
5994    pub _g_reserved2: Option<unsafe extern "C" fn()>,
5995    pub _g_reserved3: Option<unsafe extern "C" fn()>,
5996    pub _g_reserved4: Option<unsafe extern "C" fn()>,
5997    pub _g_reserved5: Option<unsafe extern "C" fn()>,
5998}
5999
6000impl ::std::fmt::Debug for GSocketControlMessageClass {
6001    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6002        f.debug_struct(&format!("GSocketControlMessageClass @ {self:p}"))
6003            .field("parent_class", &self.parent_class)
6004            .field("get_size", &self.get_size)
6005            .field("get_level", &self.get_level)
6006            .field("get_type", &self.get_type)
6007            .field("serialize", &self.serialize)
6008            .field("deserialize", &self.deserialize)
6009            .field("_g_reserved1", &self._g_reserved1)
6010            .field("_g_reserved2", &self._g_reserved2)
6011            .field("_g_reserved3", &self._g_reserved3)
6012            .field("_g_reserved4", &self._g_reserved4)
6013            .field("_g_reserved5", &self._g_reserved5)
6014            .finish()
6015    }
6016}
6017
6018#[repr(C)]
6019#[allow(dead_code)]
6020pub struct _GSocketControlMessagePrivate {
6021    _data: [u8; 0],
6022    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6023}
6024
6025pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate;
6026
6027#[derive(Copy, Clone)]
6028#[repr(C)]
6029pub struct GSocketListenerClass {
6030    pub parent_class: gobject::GObjectClass,
6031    pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>,
6032    pub event:
6033        Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>,
6034    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6035    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6036    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6037    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6038    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6039}
6040
6041impl ::std::fmt::Debug for GSocketListenerClass {
6042    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6043        f.debug_struct(&format!("GSocketListenerClass @ {self:p}"))
6044            .field("parent_class", &self.parent_class)
6045            .field("changed", &self.changed)
6046            .field("event", &self.event)
6047            .field("_g_reserved2", &self._g_reserved2)
6048            .field("_g_reserved3", &self._g_reserved3)
6049            .field("_g_reserved4", &self._g_reserved4)
6050            .field("_g_reserved5", &self._g_reserved5)
6051            .field("_g_reserved6", &self._g_reserved6)
6052            .finish()
6053    }
6054}
6055
6056#[repr(C)]
6057#[allow(dead_code)]
6058pub struct _GSocketListenerPrivate {
6059    _data: [u8; 0],
6060    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6061}
6062
6063pub type GSocketListenerPrivate = _GSocketListenerPrivate;
6064
6065#[repr(C)]
6066#[allow(dead_code)]
6067pub struct _GSocketPrivate {
6068    _data: [u8; 0],
6069    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6070}
6071
6072pub type GSocketPrivate = _GSocketPrivate;
6073
6074#[derive(Copy, Clone)]
6075#[repr(C)]
6076pub struct GSocketServiceClass {
6077    pub parent_class: GSocketListenerClass,
6078    pub incoming: Option<
6079        unsafe extern "C" fn(
6080            *mut GSocketService,
6081            *mut GSocketConnection,
6082            *mut gobject::GObject,
6083        ) -> gboolean,
6084    >,
6085    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6086    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6087    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6088    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6089    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6090    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6091}
6092
6093impl ::std::fmt::Debug for GSocketServiceClass {
6094    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6095        f.debug_struct(&format!("GSocketServiceClass @ {self:p}"))
6096            .field("parent_class", &self.parent_class)
6097            .field("incoming", &self.incoming)
6098            .field("_g_reserved1", &self._g_reserved1)
6099            .field("_g_reserved2", &self._g_reserved2)
6100            .field("_g_reserved3", &self._g_reserved3)
6101            .field("_g_reserved4", &self._g_reserved4)
6102            .field("_g_reserved5", &self._g_reserved5)
6103            .field("_g_reserved6", &self._g_reserved6)
6104            .finish()
6105    }
6106}
6107
6108#[repr(C)]
6109#[allow(dead_code)]
6110pub struct _GSocketServicePrivate {
6111    _data: [u8; 0],
6112    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6113}
6114
6115pub type GSocketServicePrivate = _GSocketServicePrivate;
6116
6117#[repr(C)]
6118#[allow(dead_code)]
6119pub struct GSrvTarget {
6120    _data: [u8; 0],
6121    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6122}
6123
6124impl ::std::fmt::Debug for GSrvTarget {
6125    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6126        f.debug_struct(&format!("GSrvTarget @ {self:p}")).finish()
6127    }
6128}
6129
6130#[derive(Copy, Clone)]
6131#[repr(C)]
6132pub struct GStaticResource {
6133    pub data: *const u8,
6134    pub data_len: size_t,
6135    pub resource: *mut GResource,
6136    pub next: *mut GStaticResource,
6137    pub padding: gpointer,
6138}
6139
6140impl ::std::fmt::Debug for GStaticResource {
6141    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6142        f.debug_struct(&format!("GStaticResource @ {self:p}"))
6143            .finish()
6144    }
6145}
6146
6147#[repr(C)]
6148#[allow(dead_code)]
6149pub struct _GTaskClass {
6150    _data: [u8; 0],
6151    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6152}
6153
6154pub type GTaskClass = _GTaskClass;
6155
6156#[derive(Copy, Clone)]
6157#[repr(C)]
6158pub struct GTcpConnectionClass {
6159    pub parent_class: GSocketConnectionClass,
6160}
6161
6162impl ::std::fmt::Debug for GTcpConnectionClass {
6163    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6164        f.debug_struct(&format!("GTcpConnectionClass @ {self:p}"))
6165            .field("parent_class", &self.parent_class)
6166            .finish()
6167    }
6168}
6169
6170#[repr(C)]
6171#[allow(dead_code)]
6172pub struct _GTcpConnectionPrivate {
6173    _data: [u8; 0],
6174    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6175}
6176
6177pub type GTcpConnectionPrivate = _GTcpConnectionPrivate;
6178
6179#[derive(Copy, Clone)]
6180#[repr(C)]
6181pub struct GTcpWrapperConnectionClass {
6182    pub parent_class: GTcpConnectionClass,
6183}
6184
6185impl ::std::fmt::Debug for GTcpWrapperConnectionClass {
6186    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6187        f.debug_struct(&format!("GTcpWrapperConnectionClass @ {self:p}"))
6188            .field("parent_class", &self.parent_class)
6189            .finish()
6190    }
6191}
6192
6193#[repr(C)]
6194#[allow(dead_code)]
6195pub struct _GTcpWrapperConnectionPrivate {
6196    _data: [u8; 0],
6197    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6198}
6199
6200pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate;
6201
6202#[repr(C)]
6203#[allow(dead_code)]
6204pub struct _GThemedIconClass {
6205    _data: [u8; 0],
6206    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6207}
6208
6209pub type GThemedIconClass = _GThemedIconClass;
6210
6211#[derive(Copy, Clone)]
6212#[repr(C)]
6213pub struct GThreadedSocketServiceClass {
6214    pub parent_class: GSocketServiceClass,
6215    pub run: Option<
6216        unsafe extern "C" fn(
6217            *mut GThreadedSocketService,
6218            *mut GSocketConnection,
6219            *mut gobject::GObject,
6220        ) -> gboolean,
6221    >,
6222    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6223    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6224    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6225    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6226    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6227}
6228
6229impl ::std::fmt::Debug for GThreadedSocketServiceClass {
6230    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6231        f.debug_struct(&format!("GThreadedSocketServiceClass @ {self:p}"))
6232            .field("parent_class", &self.parent_class)
6233            .field("run", &self.run)
6234            .field("_g_reserved1", &self._g_reserved1)
6235            .field("_g_reserved2", &self._g_reserved2)
6236            .field("_g_reserved3", &self._g_reserved3)
6237            .field("_g_reserved4", &self._g_reserved4)
6238            .field("_g_reserved5", &self._g_reserved5)
6239            .finish()
6240    }
6241}
6242
6243#[repr(C)]
6244#[allow(dead_code)]
6245pub struct _GThreadedSocketServicePrivate {
6246    _data: [u8; 0],
6247    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6248}
6249
6250pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate;
6251
6252#[derive(Copy, Clone)]
6253#[repr(C)]
6254pub struct GTlsBackendInterface {
6255    pub g_iface: gobject::GTypeInterface,
6256    pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6257    pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>,
6258    pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6259    pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6260    pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>,
6261    pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>,
6262    pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>,
6263    pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
6264    pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
6265}
6266
6267impl ::std::fmt::Debug for GTlsBackendInterface {
6268    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6269        f.debug_struct(&format!("GTlsBackendInterface @ {self:p}"))
6270            .field("g_iface", &self.g_iface)
6271            .field("supports_tls", &self.supports_tls)
6272            .field("get_certificate_type", &self.get_certificate_type)
6273            .field(
6274                "get_client_connection_type",
6275                &self.get_client_connection_type,
6276            )
6277            .field(
6278                "get_server_connection_type",
6279                &self.get_server_connection_type,
6280            )
6281            .field("get_file_database_type", &self.get_file_database_type)
6282            .field("get_default_database", &self.get_default_database)
6283            .field("supports_dtls", &self.supports_dtls)
6284            .field(
6285                "get_dtls_client_connection_type",
6286                &self.get_dtls_client_connection_type,
6287            )
6288            .field(
6289                "get_dtls_server_connection_type",
6290                &self.get_dtls_server_connection_type,
6291            )
6292            .finish()
6293    }
6294}
6295
6296#[derive(Copy, Clone)]
6297#[repr(C)]
6298pub struct GTlsCertificateClass {
6299    pub parent_class: gobject::GObjectClass,
6300    pub verify: Option<
6301        unsafe extern "C" fn(
6302            *mut GTlsCertificate,
6303            *mut GSocketConnectable,
6304            *mut GTlsCertificate,
6305        ) -> GTlsCertificateFlags,
6306    >,
6307    pub padding: [gpointer; 8],
6308}
6309
6310impl ::std::fmt::Debug for GTlsCertificateClass {
6311    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6312        f.debug_struct(&format!("GTlsCertificateClass @ {self:p}"))
6313            .field("parent_class", &self.parent_class)
6314            .field("verify", &self.verify)
6315            .finish()
6316    }
6317}
6318
6319#[repr(C)]
6320#[allow(dead_code)]
6321pub struct _GTlsCertificatePrivate {
6322    _data: [u8; 0],
6323    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6324}
6325
6326pub type GTlsCertificatePrivate = _GTlsCertificatePrivate;
6327
6328#[derive(Copy, Clone)]
6329#[repr(C)]
6330pub struct GTlsClientConnectionInterface {
6331    pub g_iface: gobject::GTypeInterface,
6332    pub copy_session_state:
6333        Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>,
6334}
6335
6336impl ::std::fmt::Debug for GTlsClientConnectionInterface {
6337    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6338        f.debug_struct(&format!("GTlsClientConnectionInterface @ {self:p}"))
6339            .field("g_iface", &self.g_iface)
6340            .field("copy_session_state", &self.copy_session_state)
6341            .finish()
6342    }
6343}
6344
6345#[derive(Copy, Clone)]
6346#[repr(C)]
6347pub struct GTlsConnectionClass {
6348    pub parent_class: GIOStreamClass,
6349    pub accept_certificate: Option<
6350        unsafe extern "C" fn(
6351            *mut GTlsConnection,
6352            *mut GTlsCertificate,
6353            GTlsCertificateFlags,
6354        ) -> gboolean,
6355    >,
6356    pub handshake: Option<
6357        unsafe extern "C" fn(
6358            *mut GTlsConnection,
6359            *mut GCancellable,
6360            *mut *mut glib::GError,
6361        ) -> gboolean,
6362    >,
6363    pub handshake_async: Option<
6364        unsafe extern "C" fn(
6365            *mut GTlsConnection,
6366            c_int,
6367            *mut GCancellable,
6368            GAsyncReadyCallback,
6369            gpointer,
6370        ),
6371    >,
6372    pub handshake_finish: Option<
6373        unsafe extern "C" fn(
6374            *mut GTlsConnection,
6375            *mut GAsyncResult,
6376            *mut *mut glib::GError,
6377        ) -> gboolean,
6378    >,
6379    pub get_binding_data: Option<
6380        unsafe extern "C" fn(
6381            *mut GTlsConnection,
6382            GTlsChannelBindingType,
6383            *mut glib::GByteArray,
6384            *mut *mut glib::GError,
6385        ) -> gboolean,
6386    >,
6387    pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut GTlsConnection) -> *const c_char>,
6388    pub padding: [gpointer; 6],
6389}
6390
6391impl ::std::fmt::Debug for GTlsConnectionClass {
6392    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6393        f.debug_struct(&format!("GTlsConnectionClass @ {self:p}"))
6394            .field("parent_class", &self.parent_class)
6395            .field("accept_certificate", &self.accept_certificate)
6396            .field("handshake", &self.handshake)
6397            .field("handshake_async", &self.handshake_async)
6398            .field("handshake_finish", &self.handshake_finish)
6399            .field("get_binding_data", &self.get_binding_data)
6400            .field("get_negotiated_protocol", &self.get_negotiated_protocol)
6401            .finish()
6402    }
6403}
6404
6405#[repr(C)]
6406#[allow(dead_code)]
6407pub struct _GTlsConnectionPrivate {
6408    _data: [u8; 0],
6409    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6410}
6411
6412pub type GTlsConnectionPrivate = _GTlsConnectionPrivate;
6413
6414#[derive(Copy, Clone)]
6415#[repr(C)]
6416pub struct GTlsDatabaseClass {
6417    pub parent_class: gobject::GObjectClass,
6418    pub verify_chain: Option<
6419        unsafe extern "C" fn(
6420            *mut GTlsDatabase,
6421            *mut GTlsCertificate,
6422            *const c_char,
6423            *mut GSocketConnectable,
6424            *mut GTlsInteraction,
6425            GTlsDatabaseVerifyFlags,
6426            *mut GCancellable,
6427            *mut *mut glib::GError,
6428        ) -> GTlsCertificateFlags,
6429    >,
6430    pub verify_chain_async: Option<
6431        unsafe extern "C" fn(
6432            *mut GTlsDatabase,
6433            *mut GTlsCertificate,
6434            *const c_char,
6435            *mut GSocketConnectable,
6436            *mut GTlsInteraction,
6437            GTlsDatabaseVerifyFlags,
6438            *mut GCancellable,
6439            GAsyncReadyCallback,
6440            gpointer,
6441        ),
6442    >,
6443    pub verify_chain_finish: Option<
6444        unsafe extern "C" fn(
6445            *mut GTlsDatabase,
6446            *mut GAsyncResult,
6447            *mut *mut glib::GError,
6448        ) -> GTlsCertificateFlags,
6449    >,
6450    pub create_certificate_handle:
6451        Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>,
6452    pub lookup_certificate_for_handle: Option<
6453        unsafe extern "C" fn(
6454            *mut GTlsDatabase,
6455            *const c_char,
6456            *mut GTlsInteraction,
6457            GTlsDatabaseLookupFlags,
6458            *mut GCancellable,
6459            *mut *mut glib::GError,
6460        ) -> *mut GTlsCertificate,
6461    >,
6462    pub lookup_certificate_for_handle_async: Option<
6463        unsafe extern "C" fn(
6464            *mut GTlsDatabase,
6465            *const c_char,
6466            *mut GTlsInteraction,
6467            GTlsDatabaseLookupFlags,
6468            *mut GCancellable,
6469            GAsyncReadyCallback,
6470            gpointer,
6471        ),
6472    >,
6473    pub lookup_certificate_for_handle_finish: Option<
6474        unsafe extern "C" fn(
6475            *mut GTlsDatabase,
6476            *mut GAsyncResult,
6477            *mut *mut glib::GError,
6478        ) -> *mut GTlsCertificate,
6479    >,
6480    pub lookup_certificate_issuer: Option<
6481        unsafe extern "C" fn(
6482            *mut GTlsDatabase,
6483            *mut GTlsCertificate,
6484            *mut GTlsInteraction,
6485            GTlsDatabaseLookupFlags,
6486            *mut GCancellable,
6487            *mut *mut glib::GError,
6488        ) -> *mut GTlsCertificate,
6489    >,
6490    pub lookup_certificate_issuer_async: Option<
6491        unsafe extern "C" fn(
6492            *mut GTlsDatabase,
6493            *mut GTlsCertificate,
6494            *mut GTlsInteraction,
6495            GTlsDatabaseLookupFlags,
6496            *mut GCancellable,
6497            GAsyncReadyCallback,
6498            gpointer,
6499        ),
6500    >,
6501    pub lookup_certificate_issuer_finish: Option<
6502        unsafe extern "C" fn(
6503            *mut GTlsDatabase,
6504            *mut GAsyncResult,
6505            *mut *mut glib::GError,
6506        ) -> *mut GTlsCertificate,
6507    >,
6508    pub lookup_certificates_issued_by: Option<
6509        unsafe extern "C" fn(
6510            *mut GTlsDatabase,
6511            *mut glib::GByteArray,
6512            *mut GTlsInteraction,
6513            GTlsDatabaseLookupFlags,
6514            *mut GCancellable,
6515            *mut *mut glib::GError,
6516        ) -> *mut glib::GList,
6517    >,
6518    pub lookup_certificates_issued_by_async: Option<
6519        unsafe extern "C" fn(
6520            *mut GTlsDatabase,
6521            *mut glib::GByteArray,
6522            *mut GTlsInteraction,
6523            GTlsDatabaseLookupFlags,
6524            *mut GCancellable,
6525            GAsyncReadyCallback,
6526            gpointer,
6527        ),
6528    >,
6529    pub lookup_certificates_issued_by_finish: Option<
6530        unsafe extern "C" fn(
6531            *mut GTlsDatabase,
6532            *mut GAsyncResult,
6533            *mut *mut glib::GError,
6534        ) -> *mut glib::GList,
6535    >,
6536    pub padding: [gpointer; 16],
6537}
6538
6539impl ::std::fmt::Debug for GTlsDatabaseClass {
6540    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6541        f.debug_struct(&format!("GTlsDatabaseClass @ {self:p}"))
6542            .field("parent_class", &self.parent_class)
6543            .field("verify_chain", &self.verify_chain)
6544            .field("verify_chain_async", &self.verify_chain_async)
6545            .field("verify_chain_finish", &self.verify_chain_finish)
6546            .field("create_certificate_handle", &self.create_certificate_handle)
6547            .field(
6548                "lookup_certificate_for_handle",
6549                &self.lookup_certificate_for_handle,
6550            )
6551            .field(
6552                "lookup_certificate_for_handle_async",
6553                &self.lookup_certificate_for_handle_async,
6554            )
6555            .field(
6556                "lookup_certificate_for_handle_finish",
6557                &self.lookup_certificate_for_handle_finish,
6558            )
6559            .field("lookup_certificate_issuer", &self.lookup_certificate_issuer)
6560            .field(
6561                "lookup_certificate_issuer_async",
6562                &self.lookup_certificate_issuer_async,
6563            )
6564            .field(
6565                "lookup_certificate_issuer_finish",
6566                &self.lookup_certificate_issuer_finish,
6567            )
6568            .field(
6569                "lookup_certificates_issued_by",
6570                &self.lookup_certificates_issued_by,
6571            )
6572            .field(
6573                "lookup_certificates_issued_by_async",
6574                &self.lookup_certificates_issued_by_async,
6575            )
6576            .field(
6577                "lookup_certificates_issued_by_finish",
6578                &self.lookup_certificates_issued_by_finish,
6579            )
6580            .finish()
6581    }
6582}
6583
6584#[repr(C)]
6585#[allow(dead_code)]
6586pub struct _GTlsDatabasePrivate {
6587    _data: [u8; 0],
6588    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6589}
6590
6591pub type GTlsDatabasePrivate = _GTlsDatabasePrivate;
6592
6593#[derive(Copy, Clone)]
6594#[repr(C)]
6595pub struct GTlsFileDatabaseInterface {
6596    pub g_iface: gobject::GTypeInterface,
6597    pub padding: [gpointer; 8],
6598}
6599
6600impl ::std::fmt::Debug for GTlsFileDatabaseInterface {
6601    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6602        f.debug_struct(&format!("GTlsFileDatabaseInterface @ {self:p}"))
6603            .field("g_iface", &self.g_iface)
6604            .finish()
6605    }
6606}
6607
6608#[derive(Copy, Clone)]
6609#[repr(C)]
6610pub struct GTlsInteractionClass {
6611    pub parent_class: gobject::GObjectClass,
6612    pub ask_password: Option<
6613        unsafe extern "C" fn(
6614            *mut GTlsInteraction,
6615            *mut GTlsPassword,
6616            *mut GCancellable,
6617            *mut *mut glib::GError,
6618        ) -> GTlsInteractionResult,
6619    >,
6620    pub ask_password_async: Option<
6621        unsafe extern "C" fn(
6622            *mut GTlsInteraction,
6623            *mut GTlsPassword,
6624            *mut GCancellable,
6625            GAsyncReadyCallback,
6626            gpointer,
6627        ),
6628    >,
6629    pub ask_password_finish: Option<
6630        unsafe extern "C" fn(
6631            *mut GTlsInteraction,
6632            *mut GAsyncResult,
6633            *mut *mut glib::GError,
6634        ) -> GTlsInteractionResult,
6635    >,
6636    pub request_certificate: Option<
6637        unsafe extern "C" fn(
6638            *mut GTlsInteraction,
6639            *mut GTlsConnection,
6640            GTlsCertificateRequestFlags,
6641            *mut GCancellable,
6642            *mut *mut glib::GError,
6643        ) -> GTlsInteractionResult,
6644    >,
6645    pub request_certificate_async: Option<
6646        unsafe extern "C" fn(
6647            *mut GTlsInteraction,
6648            *mut GTlsConnection,
6649            GTlsCertificateRequestFlags,
6650            *mut GCancellable,
6651            GAsyncReadyCallback,
6652            gpointer,
6653        ),
6654    >,
6655    pub request_certificate_finish: Option<
6656        unsafe extern "C" fn(
6657            *mut GTlsInteraction,
6658            *mut GAsyncResult,
6659            *mut *mut glib::GError,
6660        ) -> GTlsInteractionResult,
6661    >,
6662    pub padding: [gpointer; 21],
6663}
6664
6665impl ::std::fmt::Debug for GTlsInteractionClass {
6666    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6667        f.debug_struct(&format!("GTlsInteractionClass @ {self:p}"))
6668            .field("ask_password", &self.ask_password)
6669            .field("ask_password_async", &self.ask_password_async)
6670            .field("ask_password_finish", &self.ask_password_finish)
6671            .field("request_certificate", &self.request_certificate)
6672            .field("request_certificate_async", &self.request_certificate_async)
6673            .field(
6674                "request_certificate_finish",
6675                &self.request_certificate_finish,
6676            )
6677            .finish()
6678    }
6679}
6680
6681#[repr(C)]
6682#[allow(dead_code)]
6683pub struct _GTlsInteractionPrivate {
6684    _data: [u8; 0],
6685    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6686}
6687
6688pub type GTlsInteractionPrivate = _GTlsInteractionPrivate;
6689
6690#[derive(Copy, Clone)]
6691#[repr(C)]
6692pub struct GTlsPasswordClass {
6693    pub parent_class: gobject::GObjectClass,
6694    pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>,
6695    pub set_value:
6696        Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>,
6697    pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>,
6698    pub padding: [gpointer; 4],
6699}
6700
6701impl ::std::fmt::Debug for GTlsPasswordClass {
6702    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6703        f.debug_struct(&format!("GTlsPasswordClass @ {self:p}"))
6704            .field("parent_class", &self.parent_class)
6705            .field("get_value", &self.get_value)
6706            .field("set_value", &self.set_value)
6707            .field("get_default_warning", &self.get_default_warning)
6708            .finish()
6709    }
6710}
6711
6712#[repr(C)]
6713#[allow(dead_code)]
6714pub struct _GTlsPasswordPrivate {
6715    _data: [u8; 0],
6716    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6717}
6718
6719pub type GTlsPasswordPrivate = _GTlsPasswordPrivate;
6720
6721#[derive(Copy, Clone)]
6722#[repr(C)]
6723pub struct GTlsServerConnectionInterface {
6724    pub g_iface: gobject::GTypeInterface,
6725}
6726
6727impl ::std::fmt::Debug for GTlsServerConnectionInterface {
6728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6729        f.debug_struct(&format!("GTlsServerConnectionInterface @ {self:p}"))
6730            .field("g_iface", &self.g_iface)
6731            .finish()
6732    }
6733}
6734
6735#[derive(Copy, Clone)]
6736#[repr(C)]
6737pub struct GUnixConnectionClass {
6738    pub parent_class: GSocketConnectionClass,
6739}
6740
6741impl ::std::fmt::Debug for GUnixConnectionClass {
6742    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6743        f.debug_struct(&format!("GUnixConnectionClass @ {self:p}"))
6744            .field("parent_class", &self.parent_class)
6745            .finish()
6746    }
6747}
6748
6749#[repr(C)]
6750#[allow(dead_code)]
6751pub struct _GUnixConnectionPrivate {
6752    _data: [u8; 0],
6753    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6754}
6755
6756pub type GUnixConnectionPrivate = _GUnixConnectionPrivate;
6757
6758#[derive(Copy, Clone)]
6759#[repr(C)]
6760pub struct GUnixCredentialsMessageClass {
6761    pub parent_class: GSocketControlMessageClass,
6762    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6763    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6764}
6765
6766impl ::std::fmt::Debug for GUnixCredentialsMessageClass {
6767    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6768        f.debug_struct(&format!("GUnixCredentialsMessageClass @ {self:p}"))
6769            .field("parent_class", &self.parent_class)
6770            .field("_g_reserved1", &self._g_reserved1)
6771            .field("_g_reserved2", &self._g_reserved2)
6772            .finish()
6773    }
6774}
6775
6776#[repr(C)]
6777#[allow(dead_code)]
6778pub struct _GUnixCredentialsMessagePrivate {
6779    _data: [u8; 0],
6780    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6781}
6782
6783pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate;
6784
6785#[derive(Copy, Clone)]
6786#[repr(C)]
6787pub struct GUnixFDListClass {
6788    pub parent_class: gobject::GObjectClass,
6789    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6790    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6791    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6792    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6793    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6794}
6795
6796impl ::std::fmt::Debug for GUnixFDListClass {
6797    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6798        f.debug_struct(&format!("GUnixFDListClass @ {self:p}"))
6799            .field("parent_class", &self.parent_class)
6800            .field("_g_reserved1", &self._g_reserved1)
6801            .field("_g_reserved2", &self._g_reserved2)
6802            .field("_g_reserved3", &self._g_reserved3)
6803            .field("_g_reserved4", &self._g_reserved4)
6804            .field("_g_reserved5", &self._g_reserved5)
6805            .finish()
6806    }
6807}
6808
6809#[repr(C)]
6810#[allow(dead_code)]
6811pub struct _GUnixFDListPrivate {
6812    _data: [u8; 0],
6813    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6814}
6815
6816pub type GUnixFDListPrivate = _GUnixFDListPrivate;
6817
6818#[derive(Copy, Clone)]
6819#[repr(C)]
6820pub struct GUnixSocketAddressClass {
6821    pub parent_class: GSocketAddressClass,
6822}
6823
6824impl ::std::fmt::Debug for GUnixSocketAddressClass {
6825    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6826        f.debug_struct(&format!("GUnixSocketAddressClass @ {self:p}"))
6827            .field("parent_class", &self.parent_class)
6828            .finish()
6829    }
6830}
6831
6832#[repr(C)]
6833#[allow(dead_code)]
6834pub struct _GUnixSocketAddressPrivate {
6835    _data: [u8; 0],
6836    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
6837}
6838
6839pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate;
6840
6841#[derive(Copy, Clone)]
6842#[repr(C)]
6843pub struct GVfsClass {
6844    pub parent_class: gobject::GObjectClass,
6845    pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>,
6846    pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6847    pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6848    pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>,
6849    pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>,
6850    pub local_file_add_info: Option<
6851        unsafe extern "C" fn(
6852            *mut GVfs,
6853            *const c_char,
6854            u64,
6855            *mut GFileAttributeMatcher,
6856            *mut GFileInfo,
6857            *mut GCancellable,
6858            *mut gpointer,
6859            *mut glib::GDestroyNotify,
6860        ),
6861    >,
6862    pub add_writable_namespaces:
6863        Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>,
6864    pub local_file_set_attributes: Option<
6865        unsafe extern "C" fn(
6866            *mut GVfs,
6867            *const c_char,
6868            *mut GFileInfo,
6869            GFileQueryInfoFlags,
6870            *mut GCancellable,
6871            *mut *mut glib::GError,
6872        ) -> gboolean,
6873    >,
6874    pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>,
6875    pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>,
6876    pub deserialize_icon:
6877        Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>,
6878    pub _g_reserved1: Option<unsafe extern "C" fn()>,
6879    pub _g_reserved2: Option<unsafe extern "C" fn()>,
6880    pub _g_reserved3: Option<unsafe extern "C" fn()>,
6881    pub _g_reserved4: Option<unsafe extern "C" fn()>,
6882    pub _g_reserved5: Option<unsafe extern "C" fn()>,
6883    pub _g_reserved6: Option<unsafe extern "C" fn()>,
6884}
6885
6886impl ::std::fmt::Debug for GVfsClass {
6887    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6888        f.debug_struct(&format!("GVfsClass @ {self:p}"))
6889            .field("parent_class", &self.parent_class)
6890            .field("is_active", &self.is_active)
6891            .field("get_file_for_path", &self.get_file_for_path)
6892            .field("get_file_for_uri", &self.get_file_for_uri)
6893            .field("get_supported_uri_schemes", &self.get_supported_uri_schemes)
6894            .field("parse_name", &self.parse_name)
6895            .field("local_file_add_info", &self.local_file_add_info)
6896            .field("add_writable_namespaces", &self.add_writable_namespaces)
6897            .field("local_file_set_attributes", &self.local_file_set_attributes)
6898            .field("local_file_removed", &self.local_file_removed)
6899            .field("local_file_moved", &self.local_file_moved)
6900            .field("deserialize_icon", &self.deserialize_icon)
6901            .field("_g_reserved1", &self._g_reserved1)
6902            .field("_g_reserved2", &self._g_reserved2)
6903            .field("_g_reserved3", &self._g_reserved3)
6904            .field("_g_reserved4", &self._g_reserved4)
6905            .field("_g_reserved5", &self._g_reserved5)
6906            .field("_g_reserved6", &self._g_reserved6)
6907            .finish()
6908    }
6909}
6910
6911#[derive(Copy, Clone)]
6912#[repr(C)]
6913pub struct GVolumeIface {
6914    pub g_iface: gobject::GTypeInterface,
6915    pub changed: Option<unsafe extern "C" fn(*mut GVolume)>,
6916    pub removed: Option<unsafe extern "C" fn(*mut GVolume)>,
6917    pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6918    pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
6919    pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6920    pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>,
6921    pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>,
6922    pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6923    pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6924    pub mount_fn: Option<
6925        unsafe extern "C" fn(
6926            *mut GVolume,
6927            GMountMountFlags,
6928            *mut GMountOperation,
6929            *mut GCancellable,
6930            GAsyncReadyCallback,
6931            gpointer,
6932        ),
6933    >,
6934    pub mount_finish: Option<
6935        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
6936    >,
6937    pub eject: Option<
6938        unsafe extern "C" fn(
6939            *mut GVolume,
6940            GMountUnmountFlags,
6941            *mut GCancellable,
6942            GAsyncReadyCallback,
6943            gpointer,
6944        ),
6945    >,
6946    pub eject_finish: Option<
6947        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
6948    >,
6949    pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>,
6950    pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>,
6951    pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>,
6952    pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>,
6953    pub eject_with_operation: Option<
6954        unsafe extern "C" fn(
6955            *mut GVolume,
6956            GMountUnmountFlags,
6957            *mut GMountOperation,
6958            *mut GCancellable,
6959            GAsyncReadyCallback,
6960            gpointer,
6961        ),
6962    >,
6963    pub eject_with_operation_finish: Option<
6964        unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean,
6965    >,
6966    pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>,
6967    pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>,
6968}
6969
6970impl ::std::fmt::Debug for GVolumeIface {
6971    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6972        f.debug_struct(&format!("GVolumeIface @ {self:p}"))
6973            .field("g_iface", &self.g_iface)
6974            .field("changed", &self.changed)
6975            .field("removed", &self.removed)
6976            .field("get_name", &self.get_name)
6977            .field("get_icon", &self.get_icon)
6978            .field("get_uuid", &self.get_uuid)
6979            .field("get_drive", &self.get_drive)
6980            .field("get_mount", &self.get_mount)
6981            .field("can_mount", &self.can_mount)
6982            .field("can_eject", &self.can_eject)
6983            .field("mount_fn", &self.mount_fn)
6984            .field("mount_finish", &self.mount_finish)
6985            .field("eject", &self.eject)
6986            .field("eject_finish", &self.eject_finish)
6987            .field("get_identifier", &self.get_identifier)
6988            .field("enumerate_identifiers", &self.enumerate_identifiers)
6989            .field("should_automount", &self.should_automount)
6990            .field("get_activation_root", &self.get_activation_root)
6991            .field("eject_with_operation", &self.eject_with_operation)
6992            .field(
6993                "eject_with_operation_finish",
6994                &self.eject_with_operation_finish,
6995            )
6996            .field("get_sort_key", &self.get_sort_key)
6997            .field("get_symbolic_icon", &self.get_symbolic_icon)
6998            .finish()
6999    }
7000}
7001
7002#[derive(Copy, Clone)]
7003#[repr(C)]
7004pub struct GVolumeMonitorClass {
7005    pub parent_class: gobject::GObjectClass,
7006    pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7007    pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7008    pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>,
7009    pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7010    pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7011    pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7012    pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>,
7013    pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7014    pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7015    pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7016    pub is_supported: Option<unsafe extern "C" fn() -> gboolean>,
7017    pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7018    pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7019    pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>,
7020    pub get_volume_for_uuid:
7021        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>,
7022    pub get_mount_for_uuid:
7023        Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>,
7024    pub adopt_orphan_mount:
7025        Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>,
7026    pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7027    pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>,
7028    pub _g_reserved1: Option<unsafe extern "C" fn()>,
7029    pub _g_reserved2: Option<unsafe extern "C" fn()>,
7030    pub _g_reserved3: Option<unsafe extern "C" fn()>,
7031    pub _g_reserved4: Option<unsafe extern "C" fn()>,
7032    pub _g_reserved5: Option<unsafe extern "C" fn()>,
7033    pub _g_reserved6: Option<unsafe extern "C" fn()>,
7034}
7035
7036impl ::std::fmt::Debug for GVolumeMonitorClass {
7037    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7038        f.debug_struct(&format!("GVolumeMonitorClass @ {self:p}"))
7039            .field("parent_class", &self.parent_class)
7040            .field("volume_added", &self.volume_added)
7041            .field("volume_removed", &self.volume_removed)
7042            .field("volume_changed", &self.volume_changed)
7043            .field("mount_added", &self.mount_added)
7044            .field("mount_removed", &self.mount_removed)
7045            .field("mount_pre_unmount", &self.mount_pre_unmount)
7046            .field("mount_changed", &self.mount_changed)
7047            .field("drive_connected", &self.drive_connected)
7048            .field("drive_disconnected", &self.drive_disconnected)
7049            .field("drive_changed", &self.drive_changed)
7050            .field("is_supported", &self.is_supported)
7051            .field("get_connected_drives", &self.get_connected_drives)
7052            .field("get_volumes", &self.get_volumes)
7053            .field("get_mounts", &self.get_mounts)
7054            .field("get_volume_for_uuid", &self.get_volume_for_uuid)
7055            .field("get_mount_for_uuid", &self.get_mount_for_uuid)
7056            .field("adopt_orphan_mount", &self.adopt_orphan_mount)
7057            .field("drive_eject_button", &self.drive_eject_button)
7058            .field("drive_stop_button", &self.drive_stop_button)
7059            .field("_g_reserved1", &self._g_reserved1)
7060            .field("_g_reserved2", &self._g_reserved2)
7061            .field("_g_reserved3", &self._g_reserved3)
7062            .field("_g_reserved4", &self._g_reserved4)
7063            .field("_g_reserved5", &self._g_reserved5)
7064            .field("_g_reserved6", &self._g_reserved6)
7065            .finish()
7066    }
7067}
7068
7069#[derive(Copy, Clone)]
7070#[repr(C)]
7071pub struct GZlibCompressorClass {
7072    pub parent_class: gobject::GObjectClass,
7073}
7074
7075impl ::std::fmt::Debug for GZlibCompressorClass {
7076    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7077        f.debug_struct(&format!("GZlibCompressorClass @ {self:p}"))
7078            .field("parent_class", &self.parent_class)
7079            .finish()
7080    }
7081}
7082
7083#[derive(Copy, Clone)]
7084#[repr(C)]
7085pub struct GZlibDecompressorClass {
7086    pub parent_class: gobject::GObjectClass,
7087}
7088
7089impl ::std::fmt::Debug for GZlibDecompressorClass {
7090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7091        f.debug_struct(&format!("GZlibDecompressorClass @ {self:p}"))
7092            .field("parent_class", &self.parent_class)
7093            .finish()
7094    }
7095}
7096
7097// Classes
7098#[repr(C)]
7099#[allow(dead_code)]
7100pub struct GAppInfoMonitor {
7101    _data: [u8; 0],
7102    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7103}
7104
7105impl ::std::fmt::Debug for GAppInfoMonitor {
7106    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7107        f.debug_struct(&format!("GAppInfoMonitor @ {self:p}"))
7108            .finish()
7109    }
7110}
7111
7112#[derive(Copy, Clone)]
7113#[repr(C)]
7114pub struct GAppLaunchContext {
7115    pub parent_instance: gobject::GObject,
7116    pub priv_: *mut GAppLaunchContextPrivate,
7117}
7118
7119impl ::std::fmt::Debug for GAppLaunchContext {
7120    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7121        f.debug_struct(&format!("GAppLaunchContext @ {self:p}"))
7122            .field("parent_instance", &self.parent_instance)
7123            .finish()
7124    }
7125}
7126
7127#[derive(Copy, Clone)]
7128#[repr(C)]
7129pub struct GApplication {
7130    pub parent_instance: gobject::GObject,
7131    pub priv_: *mut GApplicationPrivate,
7132}
7133
7134impl ::std::fmt::Debug for GApplication {
7135    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7136        f.debug_struct(&format!("GApplication @ {self:p}")).finish()
7137    }
7138}
7139
7140#[derive(Copy, Clone)]
7141#[repr(C)]
7142pub struct GApplicationCommandLine {
7143    pub parent_instance: gobject::GObject,
7144    pub priv_: *mut GApplicationCommandLinePrivate,
7145}
7146
7147impl ::std::fmt::Debug for GApplicationCommandLine {
7148    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7149        f.debug_struct(&format!("GApplicationCommandLine @ {self:p}"))
7150            .finish()
7151    }
7152}
7153
7154#[derive(Copy, Clone)]
7155#[repr(C)]
7156pub struct GBufferedInputStream {
7157    pub parent_instance: GFilterInputStream,
7158    pub priv_: *mut GBufferedInputStreamPrivate,
7159}
7160
7161impl ::std::fmt::Debug for GBufferedInputStream {
7162    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7163        f.debug_struct(&format!("GBufferedInputStream @ {self:p}"))
7164            .field("parent_instance", &self.parent_instance)
7165            .finish()
7166    }
7167}
7168
7169#[derive(Copy, Clone)]
7170#[repr(C)]
7171pub struct GBufferedOutputStream {
7172    pub parent_instance: GFilterOutputStream,
7173    pub priv_: *mut GBufferedOutputStreamPrivate,
7174}
7175
7176impl ::std::fmt::Debug for GBufferedOutputStream {
7177    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7178        f.debug_struct(&format!("GBufferedOutputStream @ {self:p}"))
7179            .field("parent_instance", &self.parent_instance)
7180            .field("priv_", &self.priv_)
7181            .finish()
7182    }
7183}
7184
7185#[repr(C)]
7186#[allow(dead_code)]
7187pub struct GBytesIcon {
7188    _data: [u8; 0],
7189    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7190}
7191
7192impl ::std::fmt::Debug for GBytesIcon {
7193    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7194        f.debug_struct(&format!("GBytesIcon @ {self:p}")).finish()
7195    }
7196}
7197
7198#[derive(Copy, Clone)]
7199#[repr(C)]
7200pub struct GCancellable {
7201    pub parent_instance: gobject::GObject,
7202    pub priv_: *mut GCancellablePrivate,
7203}
7204
7205impl ::std::fmt::Debug for GCancellable {
7206    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7207        f.debug_struct(&format!("GCancellable @ {self:p}"))
7208            .field("parent_instance", &self.parent_instance)
7209            .finish()
7210    }
7211}
7212
7213#[repr(C)]
7214#[allow(dead_code)]
7215pub struct GCharsetConverter {
7216    _data: [u8; 0],
7217    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7218}
7219
7220impl ::std::fmt::Debug for GCharsetConverter {
7221    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7222        f.debug_struct(&format!("GCharsetConverter @ {self:p}"))
7223            .finish()
7224    }
7225}
7226
7227#[derive(Copy, Clone)]
7228#[repr(C)]
7229pub struct GConverterInputStream {
7230    pub parent_instance: GFilterInputStream,
7231    pub priv_: *mut GConverterInputStreamPrivate,
7232}
7233
7234impl ::std::fmt::Debug for GConverterInputStream {
7235    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7236        f.debug_struct(&format!("GConverterInputStream @ {self:p}"))
7237            .field("parent_instance", &self.parent_instance)
7238            .finish()
7239    }
7240}
7241
7242#[derive(Copy, Clone)]
7243#[repr(C)]
7244pub struct GConverterOutputStream {
7245    pub parent_instance: GFilterOutputStream,
7246    pub priv_: *mut GConverterOutputStreamPrivate,
7247}
7248
7249impl ::std::fmt::Debug for GConverterOutputStream {
7250    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7251        f.debug_struct(&format!("GConverterOutputStream @ {self:p}"))
7252            .field("parent_instance", &self.parent_instance)
7253            .finish()
7254    }
7255}
7256
7257#[repr(C)]
7258#[allow(dead_code)]
7259pub struct GCredentials {
7260    _data: [u8; 0],
7261    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7262}
7263
7264impl ::std::fmt::Debug for GCredentials {
7265    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7266        f.debug_struct(&format!("GCredentials @ {self:p}")).finish()
7267    }
7268}
7269
7270#[repr(C)]
7271#[allow(dead_code)]
7272pub struct GDBusActionGroup {
7273    _data: [u8; 0],
7274    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7275}
7276
7277impl ::std::fmt::Debug for GDBusActionGroup {
7278    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7279        f.debug_struct(&format!("GDBusActionGroup @ {self:p}"))
7280            .finish()
7281    }
7282}
7283
7284#[repr(C)]
7285#[allow(dead_code)]
7286pub struct GDBusAuthObserver {
7287    _data: [u8; 0],
7288    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7289}
7290
7291impl ::std::fmt::Debug for GDBusAuthObserver {
7292    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7293        f.debug_struct(&format!("GDBusAuthObserver @ {self:p}"))
7294            .finish()
7295    }
7296}
7297
7298#[repr(C)]
7299#[allow(dead_code)]
7300pub struct GDBusConnection {
7301    _data: [u8; 0],
7302    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7303}
7304
7305impl ::std::fmt::Debug for GDBusConnection {
7306    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7307        f.debug_struct(&format!("GDBusConnection @ {self:p}"))
7308            .finish()
7309    }
7310}
7311
7312#[derive(Copy, Clone)]
7313#[repr(C)]
7314pub struct GDBusInterfaceSkeleton {
7315    pub parent_instance: gobject::GObject,
7316    pub priv_: *mut GDBusInterfaceSkeletonPrivate,
7317}
7318
7319impl ::std::fmt::Debug for GDBusInterfaceSkeleton {
7320    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7321        f.debug_struct(&format!("GDBusInterfaceSkeleton @ {self:p}"))
7322            .finish()
7323    }
7324}
7325
7326#[repr(C)]
7327#[allow(dead_code)]
7328pub struct GDBusMenuModel {
7329    _data: [u8; 0],
7330    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7331}
7332
7333impl ::std::fmt::Debug for GDBusMenuModel {
7334    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7335        f.debug_struct(&format!("GDBusMenuModel @ {self:p}"))
7336            .finish()
7337    }
7338}
7339
7340#[repr(C)]
7341#[allow(dead_code)]
7342pub struct GDBusMessage {
7343    _data: [u8; 0],
7344    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7345}
7346
7347impl ::std::fmt::Debug for GDBusMessage {
7348    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7349        f.debug_struct(&format!("GDBusMessage @ {self:p}")).finish()
7350    }
7351}
7352
7353#[repr(C)]
7354#[allow(dead_code)]
7355pub struct GDBusMethodInvocation {
7356    _data: [u8; 0],
7357    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7358}
7359
7360impl ::std::fmt::Debug for GDBusMethodInvocation {
7361    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7362        f.debug_struct(&format!("GDBusMethodInvocation @ {self:p}"))
7363            .finish()
7364    }
7365}
7366
7367#[derive(Copy, Clone)]
7368#[repr(C)]
7369pub struct GDBusObjectManagerClient {
7370    pub parent_instance: gobject::GObject,
7371    pub priv_: *mut GDBusObjectManagerClientPrivate,
7372}
7373
7374impl ::std::fmt::Debug for GDBusObjectManagerClient {
7375    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7376        f.debug_struct(&format!("GDBusObjectManagerClient @ {self:p}"))
7377            .finish()
7378    }
7379}
7380
7381#[derive(Copy, Clone)]
7382#[repr(C)]
7383pub struct GDBusObjectManagerServer {
7384    pub parent_instance: gobject::GObject,
7385    pub priv_: *mut GDBusObjectManagerServerPrivate,
7386}
7387
7388impl ::std::fmt::Debug for GDBusObjectManagerServer {
7389    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7390        f.debug_struct(&format!("GDBusObjectManagerServer @ {self:p}"))
7391            .finish()
7392    }
7393}
7394
7395#[derive(Copy, Clone)]
7396#[repr(C)]
7397pub struct GDBusObjectProxy {
7398    pub parent_instance: gobject::GObject,
7399    pub priv_: *mut GDBusObjectProxyPrivate,
7400}
7401
7402impl ::std::fmt::Debug for GDBusObjectProxy {
7403    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7404        f.debug_struct(&format!("GDBusObjectProxy @ {self:p}"))
7405            .finish()
7406    }
7407}
7408
7409#[derive(Copy, Clone)]
7410#[repr(C)]
7411pub struct GDBusObjectSkeleton {
7412    pub parent_instance: gobject::GObject,
7413    pub priv_: *mut GDBusObjectSkeletonPrivate,
7414}
7415
7416impl ::std::fmt::Debug for GDBusObjectSkeleton {
7417    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7418        f.debug_struct(&format!("GDBusObjectSkeleton @ {self:p}"))
7419            .finish()
7420    }
7421}
7422
7423#[derive(Copy, Clone)]
7424#[repr(C)]
7425pub struct GDBusProxy {
7426    pub parent_instance: gobject::GObject,
7427    pub priv_: *mut GDBusProxyPrivate,
7428}
7429
7430impl ::std::fmt::Debug for GDBusProxy {
7431    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7432        f.debug_struct(&format!("GDBusProxy @ {self:p}")).finish()
7433    }
7434}
7435
7436#[repr(C)]
7437#[allow(dead_code)]
7438pub struct GDBusServer {
7439    _data: [u8; 0],
7440    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7441}
7442
7443impl ::std::fmt::Debug for GDBusServer {
7444    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7445        f.debug_struct(&format!("GDBusServer @ {self:p}")).finish()
7446    }
7447}
7448
7449#[derive(Copy, Clone)]
7450#[repr(C)]
7451pub struct GDataInputStream {
7452    pub parent_instance: GBufferedInputStream,
7453    pub priv_: *mut GDataInputStreamPrivate,
7454}
7455
7456impl ::std::fmt::Debug for GDataInputStream {
7457    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7458        f.debug_struct(&format!("GDataInputStream @ {self:p}"))
7459            .field("parent_instance", &self.parent_instance)
7460            .finish()
7461    }
7462}
7463
7464#[derive(Copy, Clone)]
7465#[repr(C)]
7466pub struct GDataOutputStream {
7467    pub parent_instance: GFilterOutputStream,
7468    pub priv_: *mut GDataOutputStreamPrivate,
7469}
7470
7471impl ::std::fmt::Debug for GDataOutputStream {
7472    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7473        f.debug_struct(&format!("GDataOutputStream @ {self:p}"))
7474            .field("parent_instance", &self.parent_instance)
7475            .finish()
7476    }
7477}
7478
7479#[derive(Copy, Clone)]
7480#[repr(C)]
7481pub struct GDebugControllerDBus {
7482    pub parent_instance: gobject::GObject,
7483}
7484
7485impl ::std::fmt::Debug for GDebugControllerDBus {
7486    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7487        f.debug_struct(&format!("GDebugControllerDBus @ {self:p}"))
7488            .field("parent_instance", &self.parent_instance)
7489            .finish()
7490    }
7491}
7492
7493#[repr(C)]
7494#[allow(dead_code)]
7495pub struct GEmblem {
7496    _data: [u8; 0],
7497    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7498}
7499
7500impl ::std::fmt::Debug for GEmblem {
7501    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7502        f.debug_struct(&format!("GEmblem @ {self:p}")).finish()
7503    }
7504}
7505
7506#[derive(Copy, Clone)]
7507#[repr(C)]
7508pub struct GEmblemedIcon {
7509    pub parent_instance: gobject::GObject,
7510    pub priv_: *mut GEmblemedIconPrivate,
7511}
7512
7513impl ::std::fmt::Debug for GEmblemedIcon {
7514    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7515        f.debug_struct(&format!("GEmblemedIcon @ {self:p}"))
7516            .field("parent_instance", &self.parent_instance)
7517            .finish()
7518    }
7519}
7520
7521#[derive(Copy, Clone)]
7522#[repr(C)]
7523pub struct GFileEnumerator {
7524    pub parent_instance: gobject::GObject,
7525    pub priv_: *mut GFileEnumeratorPrivate,
7526}
7527
7528impl ::std::fmt::Debug for GFileEnumerator {
7529    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7530        f.debug_struct(&format!("GFileEnumerator @ {self:p}"))
7531            .field("parent_instance", &self.parent_instance)
7532            .finish()
7533    }
7534}
7535
7536#[derive(Copy, Clone)]
7537#[repr(C)]
7538pub struct GFileIOStream {
7539    pub parent_instance: GIOStream,
7540    pub priv_: *mut GFileIOStreamPrivate,
7541}
7542
7543impl ::std::fmt::Debug for GFileIOStream {
7544    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7545        f.debug_struct(&format!("GFileIOStream @ {self:p}"))
7546            .field("parent_instance", &self.parent_instance)
7547            .finish()
7548    }
7549}
7550
7551#[repr(C)]
7552#[allow(dead_code)]
7553pub struct GFileIcon {
7554    _data: [u8; 0],
7555    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7556}
7557
7558impl ::std::fmt::Debug for GFileIcon {
7559    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7560        f.debug_struct(&format!("GFileIcon @ {self:p}")).finish()
7561    }
7562}
7563
7564#[repr(C)]
7565#[allow(dead_code)]
7566pub struct GFileInfo {
7567    _data: [u8; 0],
7568    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7569}
7570
7571impl ::std::fmt::Debug for GFileInfo {
7572    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7573        f.debug_struct(&format!("GFileInfo @ {self:p}")).finish()
7574    }
7575}
7576
7577#[derive(Copy, Clone)]
7578#[repr(C)]
7579pub struct GFileInputStream {
7580    pub parent_instance: GInputStream,
7581    pub priv_: *mut GFileInputStreamPrivate,
7582}
7583
7584impl ::std::fmt::Debug for GFileInputStream {
7585    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7586        f.debug_struct(&format!("GFileInputStream @ {self:p}"))
7587            .field("parent_instance", &self.parent_instance)
7588            .finish()
7589    }
7590}
7591
7592#[derive(Copy, Clone)]
7593#[repr(C)]
7594pub struct GFileMonitor {
7595    pub parent_instance: gobject::GObject,
7596    pub priv_: *mut GFileMonitorPrivate,
7597}
7598
7599impl ::std::fmt::Debug for GFileMonitor {
7600    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7601        f.debug_struct(&format!("GFileMonitor @ {self:p}"))
7602            .field("parent_instance", &self.parent_instance)
7603            .finish()
7604    }
7605}
7606
7607#[derive(Copy, Clone)]
7608#[repr(C)]
7609pub struct GFileOutputStream {
7610    pub parent_instance: GOutputStream,
7611    pub priv_: *mut GFileOutputStreamPrivate,
7612}
7613
7614impl ::std::fmt::Debug for GFileOutputStream {
7615    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7616        f.debug_struct(&format!("GFileOutputStream @ {self:p}"))
7617            .field("parent_instance", &self.parent_instance)
7618            .finish()
7619    }
7620}
7621
7622#[repr(C)]
7623#[allow(dead_code)]
7624pub struct GFilenameCompleter {
7625    _data: [u8; 0],
7626    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7627}
7628
7629impl ::std::fmt::Debug for GFilenameCompleter {
7630    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7631        f.debug_struct(&format!("GFilenameCompleter @ {self:p}"))
7632            .finish()
7633    }
7634}
7635
7636#[derive(Copy, Clone)]
7637#[repr(C)]
7638pub struct GFilterInputStream {
7639    pub parent_instance: GInputStream,
7640    pub base_stream: *mut GInputStream,
7641}
7642
7643impl ::std::fmt::Debug for GFilterInputStream {
7644    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7645        f.debug_struct(&format!("GFilterInputStream @ {self:p}"))
7646            .field("parent_instance", &self.parent_instance)
7647            .field("base_stream", &self.base_stream)
7648            .finish()
7649    }
7650}
7651
7652#[derive(Copy, Clone)]
7653#[repr(C)]
7654pub struct GFilterOutputStream {
7655    pub parent_instance: GOutputStream,
7656    pub base_stream: *mut GOutputStream,
7657}
7658
7659impl ::std::fmt::Debug for GFilterOutputStream {
7660    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7661        f.debug_struct(&format!("GFilterOutputStream @ {self:p}"))
7662            .field("parent_instance", &self.parent_instance)
7663            .field("base_stream", &self.base_stream)
7664            .finish()
7665    }
7666}
7667
7668#[repr(C)]
7669#[allow(dead_code)]
7670pub struct GIOModule {
7671    _data: [u8; 0],
7672    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7673}
7674
7675impl ::std::fmt::Debug for GIOModule {
7676    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7677        f.debug_struct(&format!("GIOModule @ {self:p}")).finish()
7678    }
7679}
7680
7681#[derive(Copy, Clone)]
7682#[repr(C)]
7683pub struct GIOStream {
7684    pub parent_instance: gobject::GObject,
7685    pub priv_: *mut GIOStreamPrivate,
7686}
7687
7688impl ::std::fmt::Debug for GIOStream {
7689    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7690        f.debug_struct(&format!("GIOStream @ {self:p}"))
7691            .field("parent_instance", &self.parent_instance)
7692            .finish()
7693    }
7694}
7695
7696#[derive(Copy, Clone)]
7697#[repr(C)]
7698pub struct GInetAddress {
7699    pub parent_instance: gobject::GObject,
7700    pub priv_: *mut GInetAddressPrivate,
7701}
7702
7703impl ::std::fmt::Debug for GInetAddress {
7704    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7705        f.debug_struct(&format!("GInetAddress @ {self:p}"))
7706            .field("parent_instance", &self.parent_instance)
7707            .finish()
7708    }
7709}
7710
7711#[derive(Copy, Clone)]
7712#[repr(C)]
7713pub struct GInetAddressMask {
7714    pub parent_instance: gobject::GObject,
7715    pub priv_: *mut GInetAddressMaskPrivate,
7716}
7717
7718impl ::std::fmt::Debug for GInetAddressMask {
7719    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7720        f.debug_struct(&format!("GInetAddressMask @ {self:p}"))
7721            .field("parent_instance", &self.parent_instance)
7722            .finish()
7723    }
7724}
7725
7726#[derive(Copy, Clone)]
7727#[repr(C)]
7728pub struct GInetSocketAddress {
7729    pub parent_instance: GSocketAddress,
7730    pub priv_: *mut GInetSocketAddressPrivate,
7731}
7732
7733impl ::std::fmt::Debug for GInetSocketAddress {
7734    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7735        f.debug_struct(&format!("GInetSocketAddress @ {self:p}"))
7736            .field("parent_instance", &self.parent_instance)
7737            .finish()
7738    }
7739}
7740
7741#[derive(Copy, Clone)]
7742#[repr(C)]
7743pub struct GInputStream {
7744    pub parent_instance: gobject::GObject,
7745    pub priv_: *mut GInputStreamPrivate,
7746}
7747
7748impl ::std::fmt::Debug for GInputStream {
7749    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7750        f.debug_struct(&format!("GInputStream @ {self:p}"))
7751            .field("parent_instance", &self.parent_instance)
7752            .finish()
7753    }
7754}
7755
7756#[repr(C)]
7757#[allow(dead_code)]
7758pub struct GListStore {
7759    _data: [u8; 0],
7760    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7761}
7762
7763impl ::std::fmt::Debug for GListStore {
7764    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7765        f.debug_struct(&format!("GListStore @ {self:p}")).finish()
7766    }
7767}
7768
7769#[derive(Copy, Clone)]
7770#[repr(C)]
7771pub struct GMemoryInputStream {
7772    pub parent_instance: GInputStream,
7773    pub priv_: *mut GMemoryInputStreamPrivate,
7774}
7775
7776impl ::std::fmt::Debug for GMemoryInputStream {
7777    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7778        f.debug_struct(&format!("GMemoryInputStream @ {self:p}"))
7779            .field("parent_instance", &self.parent_instance)
7780            .finish()
7781    }
7782}
7783
7784#[derive(Copy, Clone)]
7785#[repr(C)]
7786pub struct GMemoryOutputStream {
7787    pub parent_instance: GOutputStream,
7788    pub priv_: *mut GMemoryOutputStreamPrivate,
7789}
7790
7791impl ::std::fmt::Debug for GMemoryOutputStream {
7792    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7793        f.debug_struct(&format!("GMemoryOutputStream @ {self:p}"))
7794            .field("parent_instance", &self.parent_instance)
7795            .finish()
7796    }
7797}
7798
7799#[repr(C)]
7800#[allow(dead_code)]
7801pub struct GMenu {
7802    _data: [u8; 0],
7803    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7804}
7805
7806impl ::std::fmt::Debug for GMenu {
7807    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7808        f.debug_struct(&format!("GMenu @ {self:p}")).finish()
7809    }
7810}
7811
7812#[derive(Copy, Clone)]
7813#[repr(C)]
7814pub struct GMenuAttributeIter {
7815    pub parent_instance: gobject::GObject,
7816    pub priv_: *mut GMenuAttributeIterPrivate,
7817}
7818
7819impl ::std::fmt::Debug for GMenuAttributeIter {
7820    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7821        f.debug_struct(&format!("GMenuAttributeIter @ {self:p}"))
7822            .field("parent_instance", &self.parent_instance)
7823            .field("priv_", &self.priv_)
7824            .finish()
7825    }
7826}
7827
7828#[repr(C)]
7829#[allow(dead_code)]
7830pub struct GMenuItem {
7831    _data: [u8; 0],
7832    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7833}
7834
7835impl ::std::fmt::Debug for GMenuItem {
7836    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7837        f.debug_struct(&format!("GMenuItem @ {self:p}")).finish()
7838    }
7839}
7840
7841#[derive(Copy, Clone)]
7842#[repr(C)]
7843pub struct GMenuLinkIter {
7844    pub parent_instance: gobject::GObject,
7845    pub priv_: *mut GMenuLinkIterPrivate,
7846}
7847
7848impl ::std::fmt::Debug for GMenuLinkIter {
7849    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7850        f.debug_struct(&format!("GMenuLinkIter @ {self:p}"))
7851            .field("parent_instance", &self.parent_instance)
7852            .field("priv_", &self.priv_)
7853            .finish()
7854    }
7855}
7856
7857#[derive(Copy, Clone)]
7858#[repr(C)]
7859pub struct GMenuModel {
7860    pub parent_instance: gobject::GObject,
7861    pub priv_: *mut GMenuModelPrivate,
7862}
7863
7864impl ::std::fmt::Debug for GMenuModel {
7865    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7866        f.debug_struct(&format!("GMenuModel @ {self:p}"))
7867            .field("parent_instance", &self.parent_instance)
7868            .field("priv_", &self.priv_)
7869            .finish()
7870    }
7871}
7872
7873#[derive(Copy, Clone)]
7874#[repr(C)]
7875pub struct GMountOperation {
7876    pub parent_instance: gobject::GObject,
7877    pub priv_: *mut GMountOperationPrivate,
7878}
7879
7880impl ::std::fmt::Debug for GMountOperation {
7881    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7882        f.debug_struct(&format!("GMountOperation @ {self:p}"))
7883            .field("parent_instance", &self.parent_instance)
7884            .field("priv_", &self.priv_)
7885            .finish()
7886    }
7887}
7888
7889#[derive(Copy, Clone)]
7890#[repr(C)]
7891pub struct GNativeSocketAddress {
7892    pub parent_instance: GSocketAddress,
7893    pub priv_: *mut GNativeSocketAddressPrivate,
7894}
7895
7896impl ::std::fmt::Debug for GNativeSocketAddress {
7897    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7898        f.debug_struct(&format!("GNativeSocketAddress @ {self:p}"))
7899            .field("parent_instance", &self.parent_instance)
7900            .finish()
7901    }
7902}
7903
7904#[derive(Copy, Clone)]
7905#[repr(C)]
7906pub struct GNativeVolumeMonitor {
7907    pub parent_instance: GVolumeMonitor,
7908}
7909
7910impl ::std::fmt::Debug for GNativeVolumeMonitor {
7911    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7912        f.debug_struct(&format!("GNativeVolumeMonitor @ {self:p}"))
7913            .field("parent_instance", &self.parent_instance)
7914            .finish()
7915    }
7916}
7917
7918#[derive(Copy, Clone)]
7919#[repr(C)]
7920pub struct GNetworkAddress {
7921    pub parent_instance: gobject::GObject,
7922    pub priv_: *mut GNetworkAddressPrivate,
7923}
7924
7925impl ::std::fmt::Debug for GNetworkAddress {
7926    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7927        f.debug_struct(&format!("GNetworkAddress @ {self:p}"))
7928            .field("parent_instance", &self.parent_instance)
7929            .finish()
7930    }
7931}
7932
7933#[derive(Copy, Clone)]
7934#[repr(C)]
7935pub struct GNetworkService {
7936    pub parent_instance: gobject::GObject,
7937    pub priv_: *mut GNetworkServicePrivate,
7938}
7939
7940impl ::std::fmt::Debug for GNetworkService {
7941    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7942        f.debug_struct(&format!("GNetworkService @ {self:p}"))
7943            .field("parent_instance", &self.parent_instance)
7944            .finish()
7945    }
7946}
7947
7948#[repr(C)]
7949#[allow(dead_code)]
7950pub struct GNotification {
7951    _data: [u8; 0],
7952    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7953}
7954
7955impl ::std::fmt::Debug for GNotification {
7956    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7957        f.debug_struct(&format!("GNotification @ {self:p}"))
7958            .finish()
7959    }
7960}
7961
7962#[derive(Copy, Clone)]
7963#[repr(C)]
7964pub struct GOutputStream {
7965    pub parent_instance: gobject::GObject,
7966    pub priv_: *mut GOutputStreamPrivate,
7967}
7968
7969impl ::std::fmt::Debug for GOutputStream {
7970    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7971        f.debug_struct(&format!("GOutputStream @ {self:p}"))
7972            .field("parent_instance", &self.parent_instance)
7973            .finish()
7974    }
7975}
7976
7977#[derive(Copy, Clone)]
7978#[repr(C)]
7979pub struct GPermission {
7980    pub parent_instance: gobject::GObject,
7981    pub priv_: *mut GPermissionPrivate,
7982}
7983
7984impl ::std::fmt::Debug for GPermission {
7985    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7986        f.debug_struct(&format!("GPermission @ {self:p}"))
7987            .field("parent_instance", &self.parent_instance)
7988            .finish()
7989    }
7990}
7991
7992#[repr(C)]
7993#[allow(dead_code)]
7994pub struct GPropertyAction {
7995    _data: [u8; 0],
7996    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
7997}
7998
7999impl ::std::fmt::Debug for GPropertyAction {
8000    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8001        f.debug_struct(&format!("GPropertyAction @ {self:p}"))
8002            .finish()
8003    }
8004}
8005
8006#[derive(Copy, Clone)]
8007#[repr(C)]
8008pub struct GProxyAddress {
8009    pub parent_instance: GInetSocketAddress,
8010    pub priv_: *mut GProxyAddressPrivate,
8011}
8012
8013impl ::std::fmt::Debug for GProxyAddress {
8014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8015        f.debug_struct(&format!("GProxyAddress @ {self:p}"))
8016            .field("parent_instance", &self.parent_instance)
8017            .finish()
8018    }
8019}
8020
8021#[derive(Copy, Clone)]
8022#[repr(C)]
8023pub struct GProxyAddressEnumerator {
8024    pub parent_instance: GSocketAddressEnumerator,
8025    pub priv_: *mut GProxyAddressEnumeratorPrivate,
8026}
8027
8028impl ::std::fmt::Debug for GProxyAddressEnumerator {
8029    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8030        f.debug_struct(&format!("GProxyAddressEnumerator @ {self:p}"))
8031            .finish()
8032    }
8033}
8034
8035#[derive(Copy, Clone)]
8036#[repr(C)]
8037pub struct GResolver {
8038    pub parent_instance: gobject::GObject,
8039    pub priv_: *mut GResolverPrivate,
8040}
8041
8042impl ::std::fmt::Debug for GResolver {
8043    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8044        f.debug_struct(&format!("GResolver @ {self:p}"))
8045            .field("parent_instance", &self.parent_instance)
8046            .field("priv_", &self.priv_)
8047            .finish()
8048    }
8049}
8050
8051#[derive(Copy, Clone)]
8052#[repr(C)]
8053pub struct GSettings {
8054    pub parent_instance: gobject::GObject,
8055    pub priv_: *mut GSettingsPrivate,
8056}
8057
8058impl ::std::fmt::Debug for GSettings {
8059    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8060        f.debug_struct(&format!("GSettings @ {self:p}"))
8061            .field("parent_instance", &self.parent_instance)
8062            .field("priv_", &self.priv_)
8063            .finish()
8064    }
8065}
8066
8067#[derive(Copy, Clone)]
8068#[repr(C)]
8069pub struct GSettingsBackend {
8070    pub parent_instance: gobject::GObject,
8071    pub priv_: *mut GSettingsBackendPrivate,
8072}
8073
8074impl ::std::fmt::Debug for GSettingsBackend {
8075    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8076        f.debug_struct(&format!("GSettingsBackend @ {self:p}"))
8077            .field("parent_instance", &self.parent_instance)
8078            .finish()
8079    }
8080}
8081
8082#[repr(C)]
8083#[allow(dead_code)]
8084pub struct GSimpleAction {
8085    _data: [u8; 0],
8086    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8087}
8088
8089impl ::std::fmt::Debug for GSimpleAction {
8090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8091        f.debug_struct(&format!("GSimpleAction @ {self:p}"))
8092            .finish()
8093    }
8094}
8095
8096#[derive(Copy, Clone)]
8097#[repr(C)]
8098pub struct GSimpleActionGroup {
8099    pub parent_instance: gobject::GObject,
8100    pub priv_: *mut GSimpleActionGroupPrivate,
8101}
8102
8103impl ::std::fmt::Debug for GSimpleActionGroup {
8104    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8105        f.debug_struct(&format!("GSimpleActionGroup @ {self:p}"))
8106            .finish()
8107    }
8108}
8109
8110#[repr(C)]
8111#[allow(dead_code)]
8112pub struct GSimpleAsyncResult {
8113    _data: [u8; 0],
8114    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8115}
8116
8117impl ::std::fmt::Debug for GSimpleAsyncResult {
8118    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8119        f.debug_struct(&format!("GSimpleAsyncResult @ {self:p}"))
8120            .finish()
8121    }
8122}
8123
8124#[repr(C)]
8125#[allow(dead_code)]
8126pub struct GSimpleIOStream {
8127    _data: [u8; 0],
8128    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8129}
8130
8131impl ::std::fmt::Debug for GSimpleIOStream {
8132    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8133        f.debug_struct(&format!("GSimpleIOStream @ {self:p}"))
8134            .finish()
8135    }
8136}
8137
8138#[repr(C)]
8139#[allow(dead_code)]
8140pub struct GSimplePermission {
8141    _data: [u8; 0],
8142    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8143}
8144
8145impl ::std::fmt::Debug for GSimplePermission {
8146    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8147        f.debug_struct(&format!("GSimplePermission @ {self:p}"))
8148            .finish()
8149    }
8150}
8151
8152#[derive(Copy, Clone)]
8153#[repr(C)]
8154pub struct GSimpleProxyResolver {
8155    pub parent_instance: gobject::GObject,
8156    pub priv_: *mut GSimpleProxyResolverPrivate,
8157}
8158
8159impl ::std::fmt::Debug for GSimpleProxyResolver {
8160    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8161        f.debug_struct(&format!("GSimpleProxyResolver @ {self:p}"))
8162            .field("parent_instance", &self.parent_instance)
8163            .finish()
8164    }
8165}
8166
8167#[derive(Copy, Clone)]
8168#[repr(C)]
8169pub struct GSocket {
8170    pub parent_instance: gobject::GObject,
8171    pub priv_: *mut GSocketPrivate,
8172}
8173
8174impl ::std::fmt::Debug for GSocket {
8175    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8176        f.debug_struct(&format!("GSocket @ {self:p}"))
8177            .field("parent_instance", &self.parent_instance)
8178            .field("priv_", &self.priv_)
8179            .finish()
8180    }
8181}
8182
8183#[derive(Copy, Clone)]
8184#[repr(C)]
8185pub struct GSocketAddress {
8186    pub parent_instance: gobject::GObject,
8187}
8188
8189impl ::std::fmt::Debug for GSocketAddress {
8190    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8191        f.debug_struct(&format!("GSocketAddress @ {self:p}"))
8192            .field("parent_instance", &self.parent_instance)
8193            .finish()
8194    }
8195}
8196
8197#[derive(Copy, Clone)]
8198#[repr(C)]
8199pub struct GSocketAddressEnumerator {
8200    pub parent_instance: gobject::GObject,
8201}
8202
8203impl ::std::fmt::Debug for GSocketAddressEnumerator {
8204    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8205        f.debug_struct(&format!("GSocketAddressEnumerator @ {self:p}"))
8206            .finish()
8207    }
8208}
8209
8210#[derive(Copy, Clone)]
8211#[repr(C)]
8212pub struct GSocketClient {
8213    pub parent_instance: gobject::GObject,
8214    pub priv_: *mut GSocketClientPrivate,
8215}
8216
8217impl ::std::fmt::Debug for GSocketClient {
8218    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8219        f.debug_struct(&format!("GSocketClient @ {self:p}"))
8220            .field("parent_instance", &self.parent_instance)
8221            .field("priv_", &self.priv_)
8222            .finish()
8223    }
8224}
8225
8226#[derive(Copy, Clone)]
8227#[repr(C)]
8228pub struct GSocketConnection {
8229    pub parent_instance: GIOStream,
8230    pub priv_: *mut GSocketConnectionPrivate,
8231}
8232
8233impl ::std::fmt::Debug for GSocketConnection {
8234    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8235        f.debug_struct(&format!("GSocketConnection @ {self:p}"))
8236            .field("parent_instance", &self.parent_instance)
8237            .field("priv_", &self.priv_)
8238            .finish()
8239    }
8240}
8241
8242#[derive(Copy, Clone)]
8243#[repr(C)]
8244pub struct GSocketControlMessage {
8245    pub parent_instance: gobject::GObject,
8246    pub priv_: *mut GSocketControlMessagePrivate,
8247}
8248
8249impl ::std::fmt::Debug for GSocketControlMessage {
8250    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8251        f.debug_struct(&format!("GSocketControlMessage @ {self:p}"))
8252            .field("parent_instance", &self.parent_instance)
8253            .field("priv_", &self.priv_)
8254            .finish()
8255    }
8256}
8257
8258#[derive(Copy, Clone)]
8259#[repr(C)]
8260pub struct GSocketListener {
8261    pub parent_instance: gobject::GObject,
8262    pub priv_: *mut GSocketListenerPrivate,
8263}
8264
8265impl ::std::fmt::Debug for GSocketListener {
8266    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8267        f.debug_struct(&format!("GSocketListener @ {self:p}"))
8268            .field("parent_instance", &self.parent_instance)
8269            .field("priv_", &self.priv_)
8270            .finish()
8271    }
8272}
8273
8274#[derive(Copy, Clone)]
8275#[repr(C)]
8276pub struct GSocketService {
8277    pub parent_instance: GSocketListener,
8278    pub priv_: *mut GSocketServicePrivate,
8279}
8280
8281impl ::std::fmt::Debug for GSocketService {
8282    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8283        f.debug_struct(&format!("GSocketService @ {self:p}"))
8284            .field("parent_instance", &self.parent_instance)
8285            .field("priv_", &self.priv_)
8286            .finish()
8287    }
8288}
8289
8290#[repr(C)]
8291#[allow(dead_code)]
8292pub struct GSubprocess {
8293    _data: [u8; 0],
8294    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8295}
8296
8297impl ::std::fmt::Debug for GSubprocess {
8298    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8299        f.debug_struct(&format!("GSubprocess @ {self:p}")).finish()
8300    }
8301}
8302
8303#[repr(C)]
8304#[allow(dead_code)]
8305pub struct GSubprocessLauncher {
8306    _data: [u8; 0],
8307    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8308}
8309
8310impl ::std::fmt::Debug for GSubprocessLauncher {
8311    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8312        f.debug_struct(&format!("GSubprocessLauncher @ {self:p}"))
8313            .finish()
8314    }
8315}
8316
8317#[repr(C)]
8318#[allow(dead_code)]
8319pub struct GTask {
8320    _data: [u8; 0],
8321    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8322}
8323
8324impl ::std::fmt::Debug for GTask {
8325    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8326        f.debug_struct(&format!("GTask @ {self:p}")).finish()
8327    }
8328}
8329
8330#[derive(Copy, Clone)]
8331#[repr(C)]
8332pub struct GTcpConnection {
8333    pub parent_instance: GSocketConnection,
8334    pub priv_: *mut GTcpConnectionPrivate,
8335}
8336
8337impl ::std::fmt::Debug for GTcpConnection {
8338    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8339        f.debug_struct(&format!("GTcpConnection @ {self:p}"))
8340            .field("parent_instance", &self.parent_instance)
8341            .field("priv_", &self.priv_)
8342            .finish()
8343    }
8344}
8345
8346#[derive(Copy, Clone)]
8347#[repr(C)]
8348pub struct GTcpWrapperConnection {
8349    pub parent_instance: GTcpConnection,
8350    pub priv_: *mut GTcpWrapperConnectionPrivate,
8351}
8352
8353impl ::std::fmt::Debug for GTcpWrapperConnection {
8354    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8355        f.debug_struct(&format!("GTcpWrapperConnection @ {self:p}"))
8356            .field("parent_instance", &self.parent_instance)
8357            .field("priv_", &self.priv_)
8358            .finish()
8359    }
8360}
8361
8362#[repr(C)]
8363#[allow(dead_code)]
8364pub struct GTestDBus {
8365    _data: [u8; 0],
8366    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8367}
8368
8369impl ::std::fmt::Debug for GTestDBus {
8370    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8371        f.debug_struct(&format!("GTestDBus @ {self:p}")).finish()
8372    }
8373}
8374
8375#[repr(C)]
8376#[allow(dead_code)]
8377pub struct GThemedIcon {
8378    _data: [u8; 0],
8379    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8380}
8381
8382impl ::std::fmt::Debug for GThemedIcon {
8383    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8384        f.debug_struct(&format!("GThemedIcon @ {self:p}")).finish()
8385    }
8386}
8387
8388#[repr(C)]
8389#[allow(dead_code)]
8390pub struct GThreadedResolver {
8391    _data: [u8; 0],
8392    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8393}
8394
8395impl ::std::fmt::Debug for GThreadedResolver {
8396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8397        f.debug_struct(&format!("GThreadedResolver @ {self:p}"))
8398            .finish()
8399    }
8400}
8401
8402#[derive(Copy, Clone)]
8403#[repr(C)]
8404pub struct GThreadedSocketService {
8405    pub parent_instance: GSocketService,
8406    pub priv_: *mut GThreadedSocketServicePrivate,
8407}
8408
8409impl ::std::fmt::Debug for GThreadedSocketService {
8410    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8411        f.debug_struct(&format!("GThreadedSocketService @ {self:p}"))
8412            .field("parent_instance", &self.parent_instance)
8413            .field("priv_", &self.priv_)
8414            .finish()
8415    }
8416}
8417
8418#[derive(Copy, Clone)]
8419#[repr(C)]
8420pub struct GTlsCertificate {
8421    pub parent_instance: gobject::GObject,
8422    pub priv_: *mut GTlsCertificatePrivate,
8423}
8424
8425impl ::std::fmt::Debug for GTlsCertificate {
8426    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8427        f.debug_struct(&format!("GTlsCertificate @ {self:p}"))
8428            .field("parent_instance", &self.parent_instance)
8429            .field("priv_", &self.priv_)
8430            .finish()
8431    }
8432}
8433
8434#[derive(Copy, Clone)]
8435#[repr(C)]
8436pub struct GTlsConnection {
8437    pub parent_instance: GIOStream,
8438    pub priv_: *mut GTlsConnectionPrivate,
8439}
8440
8441impl ::std::fmt::Debug for GTlsConnection {
8442    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8443        f.debug_struct(&format!("GTlsConnection @ {self:p}"))
8444            .field("parent_instance", &self.parent_instance)
8445            .field("priv_", &self.priv_)
8446            .finish()
8447    }
8448}
8449
8450#[derive(Copy, Clone)]
8451#[repr(C)]
8452pub struct GTlsDatabase {
8453    pub parent_instance: gobject::GObject,
8454    pub priv_: *mut GTlsDatabasePrivate,
8455}
8456
8457impl ::std::fmt::Debug for GTlsDatabase {
8458    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8459        f.debug_struct(&format!("GTlsDatabase @ {self:p}"))
8460            .field("parent_instance", &self.parent_instance)
8461            .field("priv_", &self.priv_)
8462            .finish()
8463    }
8464}
8465
8466#[derive(Copy, Clone)]
8467#[repr(C)]
8468pub struct GTlsInteraction {
8469    pub parent_instance: gobject::GObject,
8470    pub priv_: *mut GTlsInteractionPrivate,
8471}
8472
8473impl ::std::fmt::Debug for GTlsInteraction {
8474    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8475        f.debug_struct(&format!("GTlsInteraction @ {self:p}"))
8476            .finish()
8477    }
8478}
8479
8480#[derive(Copy, Clone)]
8481#[repr(C)]
8482pub struct GTlsPassword {
8483    pub parent_instance: gobject::GObject,
8484    pub priv_: *mut GTlsPasswordPrivate,
8485}
8486
8487impl ::std::fmt::Debug for GTlsPassword {
8488    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8489        f.debug_struct(&format!("GTlsPassword @ {self:p}"))
8490            .field("parent_instance", &self.parent_instance)
8491            .field("priv_", &self.priv_)
8492            .finish()
8493    }
8494}
8495
8496#[derive(Copy, Clone)]
8497#[repr(C)]
8498pub struct GUnixConnection {
8499    pub parent_instance: GSocketConnection,
8500    pub priv_: *mut GUnixConnectionPrivate,
8501}
8502
8503impl ::std::fmt::Debug for GUnixConnection {
8504    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8505        f.debug_struct(&format!("GUnixConnection @ {self:p}"))
8506            .field("parent_instance", &self.parent_instance)
8507            .field("priv_", &self.priv_)
8508            .finish()
8509    }
8510}
8511
8512#[derive(Copy, Clone)]
8513#[repr(C)]
8514pub struct GUnixCredentialsMessage {
8515    pub parent_instance: GSocketControlMessage,
8516    pub priv_: *mut GUnixCredentialsMessagePrivate,
8517}
8518
8519impl ::std::fmt::Debug for GUnixCredentialsMessage {
8520    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8521        f.debug_struct(&format!("GUnixCredentialsMessage @ {self:p}"))
8522            .field("parent_instance", &self.parent_instance)
8523            .field("priv_", &self.priv_)
8524            .finish()
8525    }
8526}
8527
8528#[derive(Copy, Clone)]
8529#[repr(C)]
8530pub struct GUnixFDList {
8531    pub parent_instance: gobject::GObject,
8532    pub priv_: *mut GUnixFDListPrivate,
8533}
8534
8535impl ::std::fmt::Debug for GUnixFDList {
8536    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8537        f.debug_struct(&format!("GUnixFDList @ {self:p}"))
8538            .field("parent_instance", &self.parent_instance)
8539            .field("priv_", &self.priv_)
8540            .finish()
8541    }
8542}
8543
8544#[derive(Copy, Clone)]
8545#[repr(C)]
8546pub struct GUnixSocketAddress {
8547    pub parent_instance: GSocketAddress,
8548    pub priv_: *mut GUnixSocketAddressPrivate,
8549}
8550
8551impl ::std::fmt::Debug for GUnixSocketAddress {
8552    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8553        f.debug_struct(&format!("GUnixSocketAddress @ {self:p}"))
8554            .field("parent_instance", &self.parent_instance)
8555            .finish()
8556    }
8557}
8558
8559#[derive(Copy, Clone)]
8560#[repr(C)]
8561pub struct GVfs {
8562    pub parent_instance: gobject::GObject,
8563}
8564
8565impl ::std::fmt::Debug for GVfs {
8566    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8567        f.debug_struct(&format!("GVfs @ {self:p}"))
8568            .field("parent_instance", &self.parent_instance)
8569            .finish()
8570    }
8571}
8572
8573#[derive(Copy, Clone)]
8574#[repr(C)]
8575pub struct GVolumeMonitor {
8576    pub parent_instance: gobject::GObject,
8577    pub priv_: gpointer,
8578}
8579
8580impl ::std::fmt::Debug for GVolumeMonitor {
8581    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8582        f.debug_struct(&format!("GVolumeMonitor @ {self:p}"))
8583            .field("parent_instance", &self.parent_instance)
8584            .finish()
8585    }
8586}
8587
8588#[repr(C)]
8589#[allow(dead_code)]
8590pub struct GZlibCompressor {
8591    _data: [u8; 0],
8592    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8593}
8594
8595impl ::std::fmt::Debug for GZlibCompressor {
8596    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8597        f.debug_struct(&format!("GZlibCompressor @ {self:p}"))
8598            .finish()
8599    }
8600}
8601
8602#[repr(C)]
8603#[allow(dead_code)]
8604pub struct GZlibDecompressor {
8605    _data: [u8; 0],
8606    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8607}
8608
8609impl ::std::fmt::Debug for GZlibDecompressor {
8610    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8611        f.debug_struct(&format!("GZlibDecompressor @ {self:p}"))
8612            .finish()
8613    }
8614}
8615
8616// Interfaces
8617#[repr(C)]
8618#[allow(dead_code)]
8619pub struct GAction {
8620    _data: [u8; 0],
8621    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8622}
8623
8624impl ::std::fmt::Debug for GAction {
8625    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8626        write!(f, "GAction @ {self:p}")
8627    }
8628}
8629
8630#[repr(C)]
8631#[allow(dead_code)]
8632pub struct GActionGroup {
8633    _data: [u8; 0],
8634    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8635}
8636
8637impl ::std::fmt::Debug for GActionGroup {
8638    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8639        write!(f, "GActionGroup @ {self:p}")
8640    }
8641}
8642
8643#[repr(C)]
8644#[allow(dead_code)]
8645pub struct GActionMap {
8646    _data: [u8; 0],
8647    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8648}
8649
8650impl ::std::fmt::Debug for GActionMap {
8651    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8652        write!(f, "GActionMap @ {self:p}")
8653    }
8654}
8655
8656#[repr(C)]
8657#[allow(dead_code)]
8658pub struct GAppInfo {
8659    _data: [u8; 0],
8660    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8661}
8662
8663impl ::std::fmt::Debug for GAppInfo {
8664    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8665        write!(f, "GAppInfo @ {self:p}")
8666    }
8667}
8668
8669#[repr(C)]
8670#[allow(dead_code)]
8671pub struct GAsyncInitable {
8672    _data: [u8; 0],
8673    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8674}
8675
8676impl ::std::fmt::Debug for GAsyncInitable {
8677    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8678        write!(f, "GAsyncInitable @ {self:p}")
8679    }
8680}
8681
8682#[repr(C)]
8683#[allow(dead_code)]
8684pub struct GAsyncResult {
8685    _data: [u8; 0],
8686    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8687}
8688
8689impl ::std::fmt::Debug for GAsyncResult {
8690    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8691        write!(f, "GAsyncResult @ {self:p}")
8692    }
8693}
8694
8695#[repr(C)]
8696#[allow(dead_code)]
8697pub struct GConverter {
8698    _data: [u8; 0],
8699    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8700}
8701
8702impl ::std::fmt::Debug for GConverter {
8703    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8704        write!(f, "GConverter @ {self:p}")
8705    }
8706}
8707
8708#[repr(C)]
8709#[allow(dead_code)]
8710pub struct GDBusInterface {
8711    _data: [u8; 0],
8712    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8713}
8714
8715impl ::std::fmt::Debug for GDBusInterface {
8716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8717        write!(f, "GDBusInterface @ {self:p}")
8718    }
8719}
8720
8721#[repr(C)]
8722#[allow(dead_code)]
8723pub struct GDBusObject {
8724    _data: [u8; 0],
8725    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8726}
8727
8728impl ::std::fmt::Debug for GDBusObject {
8729    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8730        write!(f, "GDBusObject @ {self:p}")
8731    }
8732}
8733
8734#[repr(C)]
8735#[allow(dead_code)]
8736pub struct GDBusObjectManager {
8737    _data: [u8; 0],
8738    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8739}
8740
8741impl ::std::fmt::Debug for GDBusObjectManager {
8742    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8743        write!(f, "GDBusObjectManager @ {self:p}")
8744    }
8745}
8746
8747#[repr(C)]
8748#[allow(dead_code)]
8749pub struct GDatagramBased {
8750    _data: [u8; 0],
8751    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8752}
8753
8754impl ::std::fmt::Debug for GDatagramBased {
8755    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8756        write!(f, "GDatagramBased @ {self:p}")
8757    }
8758}
8759
8760#[repr(C)]
8761#[allow(dead_code)]
8762pub struct GDebugController {
8763    _data: [u8; 0],
8764    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8765}
8766
8767impl ::std::fmt::Debug for GDebugController {
8768    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8769        write!(f, "GDebugController @ {self:p}")
8770    }
8771}
8772
8773#[repr(C)]
8774#[allow(dead_code)]
8775pub struct GDrive {
8776    _data: [u8; 0],
8777    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8778}
8779
8780impl ::std::fmt::Debug for GDrive {
8781    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8782        write!(f, "GDrive @ {self:p}")
8783    }
8784}
8785
8786#[repr(C)]
8787#[allow(dead_code)]
8788pub struct GDtlsClientConnection {
8789    _data: [u8; 0],
8790    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8791}
8792
8793impl ::std::fmt::Debug for GDtlsClientConnection {
8794    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8795        write!(f, "GDtlsClientConnection @ {self:p}")
8796    }
8797}
8798
8799#[repr(C)]
8800#[allow(dead_code)]
8801pub struct GDtlsConnection {
8802    _data: [u8; 0],
8803    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8804}
8805
8806impl ::std::fmt::Debug for GDtlsConnection {
8807    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8808        write!(f, "GDtlsConnection @ {self:p}")
8809    }
8810}
8811
8812#[repr(C)]
8813#[allow(dead_code)]
8814pub struct GDtlsServerConnection {
8815    _data: [u8; 0],
8816    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8817}
8818
8819impl ::std::fmt::Debug for GDtlsServerConnection {
8820    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8821        write!(f, "GDtlsServerConnection @ {self:p}")
8822    }
8823}
8824
8825#[repr(C)]
8826#[allow(dead_code)]
8827pub struct GFile {
8828    _data: [u8; 0],
8829    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8830}
8831
8832impl ::std::fmt::Debug for GFile {
8833    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8834        write!(f, "GFile @ {self:p}")
8835    }
8836}
8837
8838#[repr(C)]
8839#[allow(dead_code)]
8840pub struct GIcon {
8841    _data: [u8; 0],
8842    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8843}
8844
8845impl ::std::fmt::Debug for GIcon {
8846    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8847        write!(f, "GIcon @ {self:p}")
8848    }
8849}
8850
8851#[repr(C)]
8852#[allow(dead_code)]
8853pub struct GInitable {
8854    _data: [u8; 0],
8855    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8856}
8857
8858impl ::std::fmt::Debug for GInitable {
8859    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8860        write!(f, "GInitable @ {self:p}")
8861    }
8862}
8863
8864#[repr(C)]
8865#[allow(dead_code)]
8866pub struct GListModel {
8867    _data: [u8; 0],
8868    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8869}
8870
8871impl ::std::fmt::Debug for GListModel {
8872    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8873        write!(f, "GListModel @ {self:p}")
8874    }
8875}
8876
8877#[repr(C)]
8878#[allow(dead_code)]
8879pub struct GLoadableIcon {
8880    _data: [u8; 0],
8881    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8882}
8883
8884impl ::std::fmt::Debug for GLoadableIcon {
8885    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8886        write!(f, "GLoadableIcon @ {self:p}")
8887    }
8888}
8889
8890#[repr(C)]
8891#[allow(dead_code)]
8892pub struct GMemoryMonitor {
8893    _data: [u8; 0],
8894    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8895}
8896
8897impl ::std::fmt::Debug for GMemoryMonitor {
8898    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8899        write!(f, "GMemoryMonitor @ {self:p}")
8900    }
8901}
8902
8903#[repr(C)]
8904#[allow(dead_code)]
8905pub struct GMount {
8906    _data: [u8; 0],
8907    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8908}
8909
8910impl ::std::fmt::Debug for GMount {
8911    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8912        write!(f, "GMount @ {self:p}")
8913    }
8914}
8915
8916#[repr(C)]
8917#[allow(dead_code)]
8918pub struct GNetworkMonitor {
8919    _data: [u8; 0],
8920    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8921}
8922
8923impl ::std::fmt::Debug for GNetworkMonitor {
8924    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8925        write!(f, "GNetworkMonitor @ {self:p}")
8926    }
8927}
8928
8929#[repr(C)]
8930#[allow(dead_code)]
8931pub struct GPollableInputStream {
8932    _data: [u8; 0],
8933    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8934}
8935
8936impl ::std::fmt::Debug for GPollableInputStream {
8937    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8938        write!(f, "GPollableInputStream @ {self:p}")
8939    }
8940}
8941
8942#[repr(C)]
8943#[allow(dead_code)]
8944pub struct GPollableOutputStream {
8945    _data: [u8; 0],
8946    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8947}
8948
8949impl ::std::fmt::Debug for GPollableOutputStream {
8950    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8951        write!(f, "GPollableOutputStream @ {self:p}")
8952    }
8953}
8954
8955#[repr(C)]
8956#[allow(dead_code)]
8957pub struct GPowerProfileMonitor {
8958    _data: [u8; 0],
8959    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8960}
8961
8962impl ::std::fmt::Debug for GPowerProfileMonitor {
8963    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8964        write!(f, "GPowerProfileMonitor @ {self:p}")
8965    }
8966}
8967
8968#[repr(C)]
8969#[allow(dead_code)]
8970pub struct GProxy {
8971    _data: [u8; 0],
8972    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8973}
8974
8975impl ::std::fmt::Debug for GProxy {
8976    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8977        write!(f, "GProxy @ {self:p}")
8978    }
8979}
8980
8981#[repr(C)]
8982#[allow(dead_code)]
8983pub struct GProxyResolver {
8984    _data: [u8; 0],
8985    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8986}
8987
8988impl ::std::fmt::Debug for GProxyResolver {
8989    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8990        write!(f, "GProxyResolver @ {self:p}")
8991    }
8992}
8993
8994#[repr(C)]
8995#[allow(dead_code)]
8996pub struct GRemoteActionGroup {
8997    _data: [u8; 0],
8998    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
8999}
9000
9001impl ::std::fmt::Debug for GRemoteActionGroup {
9002    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9003        write!(f, "GRemoteActionGroup @ {self:p}")
9004    }
9005}
9006
9007#[repr(C)]
9008#[allow(dead_code)]
9009pub struct GSeekable {
9010    _data: [u8; 0],
9011    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9012}
9013
9014impl ::std::fmt::Debug for GSeekable {
9015    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9016        write!(f, "GSeekable @ {self:p}")
9017    }
9018}
9019
9020#[repr(C)]
9021#[allow(dead_code)]
9022pub struct GSocketConnectable {
9023    _data: [u8; 0],
9024    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9025}
9026
9027impl ::std::fmt::Debug for GSocketConnectable {
9028    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9029        write!(f, "GSocketConnectable @ {self:p}")
9030    }
9031}
9032
9033#[repr(C)]
9034#[allow(dead_code)]
9035pub struct GTlsBackend {
9036    _data: [u8; 0],
9037    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9038}
9039
9040impl ::std::fmt::Debug for GTlsBackend {
9041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9042        write!(f, "GTlsBackend @ {self:p}")
9043    }
9044}
9045
9046#[repr(C)]
9047#[allow(dead_code)]
9048pub struct GTlsClientConnection {
9049    _data: [u8; 0],
9050    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9051}
9052
9053impl ::std::fmt::Debug for GTlsClientConnection {
9054    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9055        write!(f, "GTlsClientConnection @ {self:p}")
9056    }
9057}
9058
9059#[repr(C)]
9060#[allow(dead_code)]
9061pub struct GTlsFileDatabase {
9062    _data: [u8; 0],
9063    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9064}
9065
9066impl ::std::fmt::Debug for GTlsFileDatabase {
9067    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9068        write!(f, "GTlsFileDatabase @ {self:p}")
9069    }
9070}
9071
9072#[repr(C)]
9073#[allow(dead_code)]
9074pub struct GTlsServerConnection {
9075    _data: [u8; 0],
9076    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9077}
9078
9079impl ::std::fmt::Debug for GTlsServerConnection {
9080    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9081        write!(f, "GTlsServerConnection @ {self:p}")
9082    }
9083}
9084
9085#[repr(C)]
9086#[allow(dead_code)]
9087pub struct GVolume {
9088    _data: [u8; 0],
9089    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
9090}
9091
9092impl ::std::fmt::Debug for GVolume {
9093    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9094        write!(f, "GVolume @ {self:p}")
9095    }
9096}
9097
9098extern "C" {
9099
9100    //=========================================================================
9101    // GBusType
9102    //=========================================================================
9103    pub fn g_bus_type_get_type() -> GType;
9104
9105    //=========================================================================
9106    // GConverterResult
9107    //=========================================================================
9108    pub fn g_converter_result_get_type() -> GType;
9109
9110    //=========================================================================
9111    // GCredentialsType
9112    //=========================================================================
9113    pub fn g_credentials_type_get_type() -> GType;
9114
9115    //=========================================================================
9116    // GDBusError
9117    //=========================================================================
9118    pub fn g_dbus_error_get_type() -> GType;
9119    pub fn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char;
9120    pub fn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char;
9121    pub fn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean;
9122    pub fn g_dbus_error_new_for_dbus_error(
9123        dbus_error_name: *const c_char,
9124        dbus_error_message: *const c_char,
9125    ) -> *mut glib::GError;
9126    pub fn g_dbus_error_quark() -> glib::GQuark;
9127    pub fn g_dbus_error_register_error(
9128        error_domain: glib::GQuark,
9129        error_code: c_int,
9130        dbus_error_name: *const c_char,
9131    ) -> gboolean;
9132    pub fn g_dbus_error_register_error_domain(
9133        error_domain_quark_name: *const c_char,
9134        quark_volatile: *mut size_t,
9135        entries: *const GDBusErrorEntry,
9136        num_entries: c_uint,
9137    );
9138    pub fn g_dbus_error_set_dbus_error(
9139        error: *mut *mut glib::GError,
9140        dbus_error_name: *const c_char,
9141        dbus_error_message: *const c_char,
9142        format: *const c_char,
9143        ...
9144    );
9145    //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);
9146    pub fn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean;
9147    pub fn g_dbus_error_unregister_error(
9148        error_domain: glib::GQuark,
9149        error_code: c_int,
9150        dbus_error_name: *const c_char,
9151    ) -> gboolean;
9152
9153    //=========================================================================
9154    // GDBusMessageByteOrder
9155    //=========================================================================
9156    pub fn g_dbus_message_byte_order_get_type() -> GType;
9157
9158    //=========================================================================
9159    // GDBusMessageHeaderField
9160    //=========================================================================
9161    pub fn g_dbus_message_header_field_get_type() -> GType;
9162
9163    //=========================================================================
9164    // GDBusMessageType
9165    //=========================================================================
9166    pub fn g_dbus_message_type_get_type() -> GType;
9167
9168    //=========================================================================
9169    // GDataStreamByteOrder
9170    //=========================================================================
9171    pub fn g_data_stream_byte_order_get_type() -> GType;
9172
9173    //=========================================================================
9174    // GDataStreamNewlineType
9175    //=========================================================================
9176    pub fn g_data_stream_newline_type_get_type() -> GType;
9177
9178    //=========================================================================
9179    // GDriveStartStopType
9180    //=========================================================================
9181    pub fn g_drive_start_stop_type_get_type() -> GType;
9182
9183    //=========================================================================
9184    // GEmblemOrigin
9185    //=========================================================================
9186    pub fn g_emblem_origin_get_type() -> GType;
9187
9188    //=========================================================================
9189    // GFileAttributeStatus
9190    //=========================================================================
9191    pub fn g_file_attribute_status_get_type() -> GType;
9192
9193    //=========================================================================
9194    // GFileAttributeType
9195    //=========================================================================
9196    pub fn g_file_attribute_type_get_type() -> GType;
9197
9198    //=========================================================================
9199    // GFileMonitorEvent
9200    //=========================================================================
9201    pub fn g_file_monitor_event_get_type() -> GType;
9202
9203    //=========================================================================
9204    // GFileType
9205    //=========================================================================
9206    pub fn g_file_type_get_type() -> GType;
9207
9208    //=========================================================================
9209    // GFilesystemPreviewType
9210    //=========================================================================
9211    pub fn g_filesystem_preview_type_get_type() -> GType;
9212
9213    //=========================================================================
9214    // GIOErrorEnum
9215    //=========================================================================
9216    pub fn g_io_error_enum_get_type() -> GType;
9217
9218    //=========================================================================
9219    // GMemoryMonitorWarningLevel
9220    //=========================================================================
9221    #[cfg(feature = "v2_64")]
9222    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
9223    pub fn g_memory_monitor_warning_level_get_type() -> GType;
9224
9225    //=========================================================================
9226    // GMountOperationResult
9227    //=========================================================================
9228    pub fn g_mount_operation_result_get_type() -> GType;
9229
9230    //=========================================================================
9231    // GNetworkConnectivity
9232    //=========================================================================
9233    pub fn g_network_connectivity_get_type() -> GType;
9234
9235    //=========================================================================
9236    // GNotificationPriority
9237    //=========================================================================
9238    pub fn g_notification_priority_get_type() -> GType;
9239
9240    //=========================================================================
9241    // GPasswordSave
9242    //=========================================================================
9243    pub fn g_password_save_get_type() -> GType;
9244
9245    //=========================================================================
9246    // GPollableReturn
9247    //=========================================================================
9248    #[cfg(feature = "v2_60")]
9249    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9250    pub fn g_pollable_return_get_type() -> GType;
9251
9252    //=========================================================================
9253    // GResolverError
9254    //=========================================================================
9255    pub fn g_resolver_error_get_type() -> GType;
9256    pub fn g_resolver_error_quark() -> glib::GQuark;
9257
9258    //=========================================================================
9259    // GResolverRecordType
9260    //=========================================================================
9261    pub fn g_resolver_record_type_get_type() -> GType;
9262
9263    //=========================================================================
9264    // GResourceError
9265    //=========================================================================
9266    pub fn g_resource_error_get_type() -> GType;
9267    pub fn g_resource_error_quark() -> glib::GQuark;
9268
9269    //=========================================================================
9270    // GSocketClientEvent
9271    //=========================================================================
9272    pub fn g_socket_client_event_get_type() -> GType;
9273
9274    //=========================================================================
9275    // GSocketFamily
9276    //=========================================================================
9277    pub fn g_socket_family_get_type() -> GType;
9278
9279    //=========================================================================
9280    // GSocketListenerEvent
9281    //=========================================================================
9282    pub fn g_socket_listener_event_get_type() -> GType;
9283
9284    //=========================================================================
9285    // GSocketProtocol
9286    //=========================================================================
9287    pub fn g_socket_protocol_get_type() -> GType;
9288
9289    //=========================================================================
9290    // GSocketType
9291    //=========================================================================
9292    pub fn g_socket_type_get_type() -> GType;
9293
9294    //=========================================================================
9295    // GTlsAuthenticationMode
9296    //=========================================================================
9297    pub fn g_tls_authentication_mode_get_type() -> GType;
9298
9299    //=========================================================================
9300    // GTlsChannelBindingError
9301    //=========================================================================
9302    #[cfg(feature = "v2_66")]
9303    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9304    pub fn g_tls_channel_binding_error_get_type() -> GType;
9305    #[cfg(feature = "v2_66")]
9306    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9307    pub fn g_tls_channel_binding_error_quark() -> glib::GQuark;
9308
9309    //=========================================================================
9310    // GTlsChannelBindingType
9311    //=========================================================================
9312    #[cfg(feature = "v2_66")]
9313    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
9314    pub fn g_tls_channel_binding_type_get_type() -> GType;
9315
9316    //=========================================================================
9317    // GTlsError
9318    //=========================================================================
9319    pub fn g_tls_error_get_type() -> GType;
9320    pub fn g_tls_error_quark() -> glib::GQuark;
9321
9322    //=========================================================================
9323    // GTlsInteractionResult
9324    //=========================================================================
9325    pub fn g_tls_interaction_result_get_type() -> GType;
9326
9327    //=========================================================================
9328    // GTlsProtocolVersion
9329    //=========================================================================
9330    #[cfg(feature = "v2_70")]
9331    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
9332    pub fn g_tls_protocol_version_get_type() -> GType;
9333
9334    //=========================================================================
9335    // GTlsRehandshakeMode
9336    //=========================================================================
9337    pub fn g_tls_rehandshake_mode_get_type() -> GType;
9338
9339    //=========================================================================
9340    // GUnixSocketAddressType
9341    //=========================================================================
9342    pub fn g_unix_socket_address_type_get_type() -> GType;
9343
9344    //=========================================================================
9345    // GZlibCompressorFormat
9346    //=========================================================================
9347    pub fn g_zlib_compressor_format_get_type() -> GType;
9348
9349    //=========================================================================
9350    // GAppInfoCreateFlags
9351    //=========================================================================
9352    pub fn g_app_info_create_flags_get_type() -> GType;
9353
9354    //=========================================================================
9355    // GApplicationFlags
9356    //=========================================================================
9357    pub fn g_application_flags_get_type() -> GType;
9358
9359    //=========================================================================
9360    // GAskPasswordFlags
9361    //=========================================================================
9362    pub fn g_ask_password_flags_get_type() -> GType;
9363
9364    //=========================================================================
9365    // GBusNameOwnerFlags
9366    //=========================================================================
9367    pub fn g_bus_name_owner_flags_get_type() -> GType;
9368
9369    //=========================================================================
9370    // GBusNameWatcherFlags
9371    //=========================================================================
9372    pub fn g_bus_name_watcher_flags_get_type() -> GType;
9373
9374    //=========================================================================
9375    // GConverterFlags
9376    //=========================================================================
9377    pub fn g_converter_flags_get_type() -> GType;
9378
9379    //=========================================================================
9380    // GDBusCallFlags
9381    //=========================================================================
9382    pub fn g_dbus_call_flags_get_type() -> GType;
9383
9384    //=========================================================================
9385    // GDBusCapabilityFlags
9386    //=========================================================================
9387    pub fn g_dbus_capability_flags_get_type() -> GType;
9388
9389    //=========================================================================
9390    // GDBusConnectionFlags
9391    //=========================================================================
9392    pub fn g_dbus_connection_flags_get_type() -> GType;
9393
9394    //=========================================================================
9395    // GDBusInterfaceSkeletonFlags
9396    //=========================================================================
9397    pub fn g_dbus_interface_skeleton_flags_get_type() -> GType;
9398
9399    //=========================================================================
9400    // GDBusMessageFlags
9401    //=========================================================================
9402    pub fn g_dbus_message_flags_get_type() -> GType;
9403
9404    //=========================================================================
9405    // GDBusObjectManagerClientFlags
9406    //=========================================================================
9407    pub fn g_dbus_object_manager_client_flags_get_type() -> GType;
9408
9409    //=========================================================================
9410    // GDBusPropertyInfoFlags
9411    //=========================================================================
9412    pub fn g_dbus_property_info_flags_get_type() -> GType;
9413
9414    //=========================================================================
9415    // GDBusProxyFlags
9416    //=========================================================================
9417    pub fn g_dbus_proxy_flags_get_type() -> GType;
9418
9419    //=========================================================================
9420    // GDBusSendMessageFlags
9421    //=========================================================================
9422    pub fn g_dbus_send_message_flags_get_type() -> GType;
9423
9424    //=========================================================================
9425    // GDBusServerFlags
9426    //=========================================================================
9427    pub fn g_dbus_server_flags_get_type() -> GType;
9428
9429    //=========================================================================
9430    // GDBusSignalFlags
9431    //=========================================================================
9432    pub fn g_dbus_signal_flags_get_type() -> GType;
9433
9434    //=========================================================================
9435    // GDBusSubtreeFlags
9436    //=========================================================================
9437    pub fn g_dbus_subtree_flags_get_type() -> GType;
9438
9439    //=========================================================================
9440    // GDriveStartFlags
9441    //=========================================================================
9442    pub fn g_drive_start_flags_get_type() -> GType;
9443
9444    //=========================================================================
9445    // GFileAttributeInfoFlags
9446    //=========================================================================
9447    pub fn g_file_attribute_info_flags_get_type() -> GType;
9448
9449    //=========================================================================
9450    // GFileCopyFlags
9451    //=========================================================================
9452    pub fn g_file_copy_flags_get_type() -> GType;
9453
9454    //=========================================================================
9455    // GFileCreateFlags
9456    //=========================================================================
9457    pub fn g_file_create_flags_get_type() -> GType;
9458
9459    //=========================================================================
9460    // GFileMeasureFlags
9461    //=========================================================================
9462    pub fn g_file_measure_flags_get_type() -> GType;
9463
9464    //=========================================================================
9465    // GFileMonitorFlags
9466    //=========================================================================
9467    pub fn g_file_monitor_flags_get_type() -> GType;
9468
9469    //=========================================================================
9470    // GFileQueryInfoFlags
9471    //=========================================================================
9472    pub fn g_file_query_info_flags_get_type() -> GType;
9473
9474    //=========================================================================
9475    // GIOModuleScopeFlags
9476    //=========================================================================
9477    pub fn g_io_module_scope_flags_get_type() -> GType;
9478
9479    //=========================================================================
9480    // GIOStreamSpliceFlags
9481    //=========================================================================
9482    pub fn g_io_stream_splice_flags_get_type() -> GType;
9483
9484    //=========================================================================
9485    // GMountMountFlags
9486    //=========================================================================
9487    pub fn g_mount_mount_flags_get_type() -> GType;
9488
9489    //=========================================================================
9490    // GMountUnmountFlags
9491    //=========================================================================
9492    pub fn g_mount_unmount_flags_get_type() -> GType;
9493
9494    //=========================================================================
9495    // GOutputStreamSpliceFlags
9496    //=========================================================================
9497    pub fn g_output_stream_splice_flags_get_type() -> GType;
9498
9499    //=========================================================================
9500    // GResolverNameLookupFlags
9501    //=========================================================================
9502    #[cfg(feature = "v2_60")]
9503    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
9504    pub fn g_resolver_name_lookup_flags_get_type() -> GType;
9505
9506    //=========================================================================
9507    // GResourceFlags
9508    //=========================================================================
9509    pub fn g_resource_flags_get_type() -> GType;
9510
9511    //=========================================================================
9512    // GResourceLookupFlags
9513    //=========================================================================
9514    pub fn g_resource_lookup_flags_get_type() -> GType;
9515
9516    //=========================================================================
9517    // GSettingsBindFlags
9518    //=========================================================================
9519    pub fn g_settings_bind_flags_get_type() -> GType;
9520
9521    //=========================================================================
9522    // GSocketMsgFlags
9523    //=========================================================================
9524    pub fn g_socket_msg_flags_get_type() -> GType;
9525
9526    //=========================================================================
9527    // GSubprocessFlags
9528    //=========================================================================
9529    pub fn g_subprocess_flags_get_type() -> GType;
9530
9531    //=========================================================================
9532    // GTestDBusFlags
9533    //=========================================================================
9534    pub fn g_test_dbus_flags_get_type() -> GType;
9535
9536    //=========================================================================
9537    // GTlsCertificateFlags
9538    //=========================================================================
9539    pub fn g_tls_certificate_flags_get_type() -> GType;
9540
9541    //=========================================================================
9542    // GTlsCertificateRequestFlags
9543    //=========================================================================
9544    pub fn g_tls_certificate_request_flags_get_type() -> GType;
9545
9546    //=========================================================================
9547    // GTlsDatabaseLookupFlags
9548    //=========================================================================
9549    pub fn g_tls_database_lookup_flags_get_type() -> GType;
9550
9551    //=========================================================================
9552    // GTlsDatabaseVerifyFlags
9553    //=========================================================================
9554    pub fn g_tls_database_verify_flags_get_type() -> GType;
9555
9556    //=========================================================================
9557    // GTlsPasswordFlags
9558    //=========================================================================
9559    pub fn g_tls_password_flags_get_type() -> GType;
9560
9561    //=========================================================================
9562    // GDBusAnnotationInfo
9563    //=========================================================================
9564    pub fn g_dbus_annotation_info_get_type() -> GType;
9565    pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo;
9566    pub fn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo);
9567    pub fn g_dbus_annotation_info_lookup(
9568        annotations: *mut *mut GDBusAnnotationInfo,
9569        name: *const c_char,
9570    ) -> *const c_char;
9571
9572    //=========================================================================
9573    // GDBusArgInfo
9574    //=========================================================================
9575    pub fn g_dbus_arg_info_get_type() -> GType;
9576    pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo;
9577    pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo);
9578
9579    //=========================================================================
9580    // GDBusInterfaceInfo
9581    //=========================================================================
9582    pub fn g_dbus_interface_info_get_type() -> GType;
9583    pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo);
9584    pub fn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo);
9585    pub fn g_dbus_interface_info_generate_xml(
9586        info: *mut GDBusInterfaceInfo,
9587        indent: c_uint,
9588        string_builder: *mut glib::GString,
9589    );
9590    pub fn g_dbus_interface_info_lookup_method(
9591        info: *mut GDBusInterfaceInfo,
9592        name: *const c_char,
9593    ) -> *mut GDBusMethodInfo;
9594    pub fn g_dbus_interface_info_lookup_property(
9595        info: *mut GDBusInterfaceInfo,
9596        name: *const c_char,
9597    ) -> *mut GDBusPropertyInfo;
9598    pub fn g_dbus_interface_info_lookup_signal(
9599        info: *mut GDBusInterfaceInfo,
9600        name: *const c_char,
9601    ) -> *mut GDBusSignalInfo;
9602    pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo;
9603    pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo);
9604
9605    //=========================================================================
9606    // GDBusMethodInfo
9607    //=========================================================================
9608    pub fn g_dbus_method_info_get_type() -> GType;
9609    pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo;
9610    pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo);
9611
9612    //=========================================================================
9613    // GDBusNodeInfo
9614    //=========================================================================
9615    pub fn g_dbus_node_info_get_type() -> GType;
9616    pub fn g_dbus_node_info_new_for_xml(
9617        xml_data: *const c_char,
9618        error: *mut *mut glib::GError,
9619    ) -> *mut GDBusNodeInfo;
9620    pub fn g_dbus_node_info_generate_xml(
9621        info: *mut GDBusNodeInfo,
9622        indent: c_uint,
9623        string_builder: *mut glib::GString,
9624    );
9625    pub fn g_dbus_node_info_lookup_interface(
9626        info: *mut GDBusNodeInfo,
9627        name: *const c_char,
9628    ) -> *mut GDBusInterfaceInfo;
9629    pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo;
9630    pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo);
9631
9632    //=========================================================================
9633    // GDBusPropertyInfo
9634    //=========================================================================
9635    pub fn g_dbus_property_info_get_type() -> GType;
9636    pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo;
9637    pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo);
9638
9639    //=========================================================================
9640    // GDBusSignalInfo
9641    //=========================================================================
9642    pub fn g_dbus_signal_info_get_type() -> GType;
9643    pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo;
9644    pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo);
9645
9646    //=========================================================================
9647    // GFileAttributeInfoList
9648    //=========================================================================
9649    pub fn g_file_attribute_info_list_get_type() -> GType;
9650    pub fn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList;
9651    pub fn g_file_attribute_info_list_add(
9652        list: *mut GFileAttributeInfoList,
9653        name: *const c_char,
9654        type_: GFileAttributeType,
9655        flags: GFileAttributeInfoFlags,
9656    );
9657    pub fn g_file_attribute_info_list_dup(
9658        list: *mut GFileAttributeInfoList,
9659    ) -> *mut GFileAttributeInfoList;
9660    pub fn g_file_attribute_info_list_lookup(
9661        list: *mut GFileAttributeInfoList,
9662        name: *const c_char,
9663    ) -> *const GFileAttributeInfo;
9664    pub fn g_file_attribute_info_list_ref(
9665        list: *mut GFileAttributeInfoList,
9666    ) -> *mut GFileAttributeInfoList;
9667    pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList);
9668
9669    //=========================================================================
9670    // GFileAttributeMatcher
9671    //=========================================================================
9672    pub fn g_file_attribute_matcher_get_type() -> GType;
9673    pub fn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher;
9674    pub fn g_file_attribute_matcher_enumerate_namespace(
9675        matcher: *mut GFileAttributeMatcher,
9676        ns: *const c_char,
9677    ) -> gboolean;
9678    pub fn g_file_attribute_matcher_enumerate_next(
9679        matcher: *mut GFileAttributeMatcher,
9680    ) -> *const c_char;
9681    pub fn g_file_attribute_matcher_matches(
9682        matcher: *mut GFileAttributeMatcher,
9683        attribute: *const c_char,
9684    ) -> gboolean;
9685    pub fn g_file_attribute_matcher_matches_only(
9686        matcher: *mut GFileAttributeMatcher,
9687        attribute: *const c_char,
9688    ) -> gboolean;
9689    pub fn g_file_attribute_matcher_ref(
9690        matcher: *mut GFileAttributeMatcher,
9691    ) -> *mut GFileAttributeMatcher;
9692    pub fn g_file_attribute_matcher_subtract(
9693        matcher: *mut GFileAttributeMatcher,
9694        subtract: *mut GFileAttributeMatcher,
9695    ) -> *mut GFileAttributeMatcher;
9696    pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char;
9697    pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher);
9698
9699    //=========================================================================
9700    // GIOExtension
9701    //=========================================================================
9702    pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char;
9703    pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int;
9704    pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType;
9705    pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass;
9706
9707    //=========================================================================
9708    // GIOExtensionPoint
9709    //=========================================================================
9710    pub fn g_io_extension_point_get_extension_by_name(
9711        extension_point: *mut GIOExtensionPoint,
9712        name: *const c_char,
9713    ) -> *mut GIOExtension;
9714    pub fn g_io_extension_point_get_extensions(
9715        extension_point: *mut GIOExtensionPoint,
9716    ) -> *mut glib::GList;
9717    pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint)
9718        -> GType;
9719    pub fn g_io_extension_point_set_required_type(
9720        extension_point: *mut GIOExtensionPoint,
9721        type_: GType,
9722    );
9723    pub fn g_io_extension_point_implement(
9724        extension_point_name: *const c_char,
9725        type_: GType,
9726        extension_name: *const c_char,
9727        priority: c_int,
9728    ) -> *mut GIOExtension;
9729    pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint;
9730    pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint;
9731
9732    //=========================================================================
9733    // GIOModuleScope
9734    //=========================================================================
9735    pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char);
9736    pub fn g_io_module_scope_free(scope: *mut GIOModuleScope);
9737    pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope;
9738
9739    //=========================================================================
9740    // GIOSchedulerJob
9741    //=========================================================================
9742    pub fn g_io_scheduler_job_send_to_mainloop(
9743        job: *mut GIOSchedulerJob,
9744        func: glib::GSourceFunc,
9745        user_data: gpointer,
9746        notify: glib::GDestroyNotify,
9747    ) -> gboolean;
9748    pub fn g_io_scheduler_job_send_to_mainloop_async(
9749        job: *mut GIOSchedulerJob,
9750        func: glib::GSourceFunc,
9751        user_data: gpointer,
9752        notify: glib::GDestroyNotify,
9753    );
9754
9755    //=========================================================================
9756    // GResource
9757    //=========================================================================
9758    pub fn g_resource_get_type() -> GType;
9759    pub fn g_resource_new_from_data(
9760        data: *mut glib::GBytes,
9761        error: *mut *mut glib::GError,
9762    ) -> *mut GResource;
9763    pub fn g_resource_enumerate_children(
9764        resource: *mut GResource,
9765        path: *const c_char,
9766        lookup_flags: GResourceLookupFlags,
9767        error: *mut *mut glib::GError,
9768    ) -> *mut *mut c_char;
9769    pub fn g_resource_get_info(
9770        resource: *mut GResource,
9771        path: *const c_char,
9772        lookup_flags: GResourceLookupFlags,
9773        size: *mut size_t,
9774        flags: *mut u32,
9775        error: *mut *mut glib::GError,
9776    ) -> gboolean;
9777    #[cfg(feature = "v2_84")]
9778    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
9779    pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean;
9780    pub fn g_resource_lookup_data(
9781        resource: *mut GResource,
9782        path: *const c_char,
9783        lookup_flags: GResourceLookupFlags,
9784        error: *mut *mut glib::GError,
9785    ) -> *mut glib::GBytes;
9786    pub fn g_resource_open_stream(
9787        resource: *mut GResource,
9788        path: *const c_char,
9789        lookup_flags: GResourceLookupFlags,
9790        error: *mut *mut glib::GError,
9791    ) -> *mut GInputStream;
9792    pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource;
9793    pub fn g_resource_unref(resource: *mut GResource);
9794    pub fn g_resource_load(
9795        filename: *const c_char,
9796        error: *mut *mut glib::GError,
9797    ) -> *mut GResource;
9798
9799    //=========================================================================
9800    // GSettingsSchema
9801    //=========================================================================
9802    pub fn g_settings_schema_get_type() -> GType;
9803    pub fn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char;
9804    pub fn g_settings_schema_get_key(
9805        schema: *mut GSettingsSchema,
9806        name: *const c_char,
9807    ) -> *mut GSettingsSchemaKey;
9808    pub fn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char;
9809    pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char)
9810        -> gboolean;
9811    pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9812    pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char;
9813    pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema;
9814    pub fn g_settings_schema_unref(schema: *mut GSettingsSchema);
9815
9816    //=========================================================================
9817    // GSettingsSchemaKey
9818    //=========================================================================
9819    pub fn g_settings_schema_key_get_type() -> GType;
9820    pub fn g_settings_schema_key_get_default_value(
9821        key: *mut GSettingsSchemaKey,
9822    ) -> *mut glib::GVariant;
9823    pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char;
9824    pub fn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char;
9825    pub fn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant;
9826    pub fn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char;
9827    pub fn g_settings_schema_key_get_value_type(
9828        key: *mut GSettingsSchemaKey,
9829    ) -> *const glib::GVariantType;
9830    pub fn g_settings_schema_key_range_check(
9831        key: *mut GSettingsSchemaKey,
9832        value: *mut glib::GVariant,
9833    ) -> gboolean;
9834    pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey;
9835    pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey);
9836
9837    //=========================================================================
9838    // GSettingsSchemaSource
9839    //=========================================================================
9840    pub fn g_settings_schema_source_get_type() -> GType;
9841    pub fn g_settings_schema_source_new_from_directory(
9842        directory: *const c_char,
9843        parent: *mut GSettingsSchemaSource,
9844        trusted: gboolean,
9845        error: *mut *mut glib::GError,
9846    ) -> *mut GSettingsSchemaSource;
9847    pub fn g_settings_schema_source_list_schemas(
9848        source: *mut GSettingsSchemaSource,
9849        recursive: gboolean,
9850        non_relocatable: *mut *mut *mut c_char,
9851        relocatable: *mut *mut *mut c_char,
9852    );
9853    pub fn g_settings_schema_source_lookup(
9854        source: *mut GSettingsSchemaSource,
9855        schema_id: *const c_char,
9856        recursive: gboolean,
9857    ) -> *mut GSettingsSchema;
9858    pub fn g_settings_schema_source_ref(
9859        source: *mut GSettingsSchemaSource,
9860    ) -> *mut GSettingsSchemaSource;
9861    pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource);
9862    pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource;
9863
9864    //=========================================================================
9865    // GSrvTarget
9866    //=========================================================================
9867    pub fn g_srv_target_get_type() -> GType;
9868    pub fn g_srv_target_new(
9869        hostname: *const c_char,
9870        port: u16,
9871        priority: u16,
9872        weight: u16,
9873    ) -> *mut GSrvTarget;
9874    pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget;
9875    pub fn g_srv_target_free(target: *mut GSrvTarget);
9876    pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char;
9877    pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16;
9878    pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16;
9879    pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16;
9880    pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList;
9881
9882    //=========================================================================
9883    // GStaticResource
9884    //=========================================================================
9885    pub fn g_static_resource_fini(static_resource: *mut GStaticResource);
9886    pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource;
9887    pub fn g_static_resource_init(static_resource: *mut GStaticResource);
9888
9889    //=========================================================================
9890    // GAppInfoMonitor
9891    //=========================================================================
9892    pub fn g_app_info_monitor_get_type() -> GType;
9893    pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor;
9894
9895    //=========================================================================
9896    // GAppLaunchContext
9897    //=========================================================================
9898    pub fn g_app_launch_context_get_type() -> GType;
9899    pub fn g_app_launch_context_new() -> *mut GAppLaunchContext;
9900    pub fn g_app_launch_context_get_display(
9901        context: *mut GAppLaunchContext,
9902        info: *mut GAppInfo,
9903        files: *mut glib::GList,
9904    ) -> *mut c_char;
9905    pub fn g_app_launch_context_get_environment(
9906        context: *mut GAppLaunchContext,
9907    ) -> *mut *mut c_char;
9908    pub fn g_app_launch_context_get_startup_notify_id(
9909        context: *mut GAppLaunchContext,
9910        info: *mut GAppInfo,
9911        files: *mut glib::GList,
9912    ) -> *mut c_char;
9913    pub fn g_app_launch_context_launch_failed(
9914        context: *mut GAppLaunchContext,
9915        startup_notify_id: *const c_char,
9916    );
9917    pub fn g_app_launch_context_setenv(
9918        context: *mut GAppLaunchContext,
9919        variable: *const c_char,
9920        value: *const c_char,
9921    );
9922    pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char);
9923
9924    //=========================================================================
9925    // GApplication
9926    //=========================================================================
9927    pub fn g_application_get_type() -> GType;
9928    pub fn g_application_new(
9929        application_id: *const c_char,
9930        flags: GApplicationFlags,
9931    ) -> *mut GApplication;
9932    pub fn g_application_get_default() -> *mut GApplication;
9933    pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean;
9934    pub fn g_application_activate(application: *mut GApplication);
9935    pub fn g_application_add_main_option(
9936        application: *mut GApplication,
9937        long_name: *const c_char,
9938        short_name: c_char,
9939        flags: glib::GOptionFlags,
9940        arg: glib::GOptionArg,
9941        description: *const c_char,
9942        arg_description: *const c_char,
9943    );
9944    pub fn g_application_add_main_option_entries(
9945        application: *mut GApplication,
9946        entries: *const glib::GOptionEntry,
9947    );
9948    pub fn g_application_add_option_group(
9949        application: *mut GApplication,
9950        group: *mut glib::GOptionGroup,
9951    );
9952    pub fn g_application_bind_busy_property(
9953        application: *mut GApplication,
9954        object: *mut gobject::GObject,
9955        property: *const c_char,
9956    );
9957    pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char;
9958    pub fn g_application_get_dbus_connection(
9959        application: *mut GApplication,
9960    ) -> *mut GDBusConnection;
9961    pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char;
9962    pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags;
9963    pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint;
9964    pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean;
9965    pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean;
9966    pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean;
9967    pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char;
9968    #[cfg(feature = "v2_80")]
9969    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
9970    pub fn g_application_get_version(application: *mut GApplication) -> *const c_char;
9971    pub fn g_application_hold(application: *mut GApplication);
9972    pub fn g_application_mark_busy(application: *mut GApplication);
9973    pub fn g_application_open(
9974        application: *mut GApplication,
9975        files: *mut *mut GFile,
9976        n_files: c_int,
9977        hint: *const c_char,
9978    );
9979    pub fn g_application_quit(application: *mut GApplication);
9980    pub fn g_application_register(
9981        application: *mut GApplication,
9982        cancellable: *mut GCancellable,
9983        error: *mut *mut glib::GError,
9984    ) -> gboolean;
9985    pub fn g_application_release(application: *mut GApplication);
9986    pub fn g_application_run(
9987        application: *mut GApplication,
9988        argc: c_int,
9989        argv: *mut *mut c_char,
9990    ) -> c_int;
9991    pub fn g_application_send_notification(
9992        application: *mut GApplication,
9993        id: *const c_char,
9994        notification: *mut GNotification,
9995    );
9996    pub fn g_application_set_action_group(
9997        application: *mut GApplication,
9998        action_group: *mut GActionGroup,
9999    );
10000    pub fn g_application_set_application_id(
10001        application: *mut GApplication,
10002        application_id: *const c_char,
10003    );
10004    pub fn g_application_set_default(application: *mut GApplication);
10005    pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags);
10006    pub fn g_application_set_inactivity_timeout(
10007        application: *mut GApplication,
10008        inactivity_timeout: c_uint,
10009    );
10010    pub fn g_application_set_option_context_description(
10011        application: *mut GApplication,
10012        description: *const c_char,
10013    );
10014    pub fn g_application_set_option_context_parameter_string(
10015        application: *mut GApplication,
10016        parameter_string: *const c_char,
10017    );
10018    pub fn g_application_set_option_context_summary(
10019        application: *mut GApplication,
10020        summary: *const c_char,
10021    );
10022    pub fn g_application_set_resource_base_path(
10023        application: *mut GApplication,
10024        resource_path: *const c_char,
10025    );
10026    #[cfg(feature = "v2_80")]
10027    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10028    pub fn g_application_set_version(application: *mut GApplication, version: *const c_char);
10029    pub fn g_application_unbind_busy_property(
10030        application: *mut GApplication,
10031        object: *mut gobject::GObject,
10032        property: *const c_char,
10033    );
10034    pub fn g_application_unmark_busy(application: *mut GApplication);
10035    pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char);
10036
10037    //=========================================================================
10038    // GApplicationCommandLine
10039    //=========================================================================
10040    pub fn g_application_command_line_get_type() -> GType;
10041    pub fn g_application_command_line_create_file_for_arg(
10042        cmdline: *mut GApplicationCommandLine,
10043        arg: *const c_char,
10044    ) -> *mut GFile;
10045    #[cfg(feature = "v2_80")]
10046    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10047    pub fn g_application_command_line_done(cmdline: *mut GApplicationCommandLine);
10048    pub fn g_application_command_line_get_arguments(
10049        cmdline: *mut GApplicationCommandLine,
10050        argc: *mut c_int,
10051    ) -> *mut *mut c_char;
10052    pub fn g_application_command_line_get_cwd(
10053        cmdline: *mut GApplicationCommandLine,
10054    ) -> *const c_char;
10055    pub fn g_application_command_line_get_environ(
10056        cmdline: *mut GApplicationCommandLine,
10057    ) -> *const *const c_char;
10058    pub fn g_application_command_line_get_exit_status(
10059        cmdline: *mut GApplicationCommandLine,
10060    ) -> c_int;
10061    pub fn g_application_command_line_get_is_remote(
10062        cmdline: *mut GApplicationCommandLine,
10063    ) -> gboolean;
10064    pub fn g_application_command_line_get_options_dict(
10065        cmdline: *mut GApplicationCommandLine,
10066    ) -> *mut glib::GVariantDict;
10067    pub fn g_application_command_line_get_platform_data(
10068        cmdline: *mut GApplicationCommandLine,
10069    ) -> *mut glib::GVariant;
10070    pub fn g_application_command_line_get_stdin(
10071        cmdline: *mut GApplicationCommandLine,
10072    ) -> *mut GInputStream;
10073    pub fn g_application_command_line_getenv(
10074        cmdline: *mut GApplicationCommandLine,
10075        name: *const c_char,
10076    ) -> *const c_char;
10077    pub fn g_application_command_line_print(
10078        cmdline: *mut GApplicationCommandLine,
10079        format: *const c_char,
10080        ...
10081    );
10082    #[cfg(feature = "v2_80")]
10083    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10084    pub fn g_application_command_line_print_literal(
10085        cmdline: *mut GApplicationCommandLine,
10086        message: *const c_char,
10087    );
10088    pub fn g_application_command_line_printerr(
10089        cmdline: *mut GApplicationCommandLine,
10090        format: *const c_char,
10091        ...
10092    );
10093    #[cfg(feature = "v2_80")]
10094    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10095    pub fn g_application_command_line_printerr_literal(
10096        cmdline: *mut GApplicationCommandLine,
10097        message: *const c_char,
10098    );
10099    pub fn g_application_command_line_set_exit_status(
10100        cmdline: *mut GApplicationCommandLine,
10101        exit_status: c_int,
10102    );
10103
10104    //=========================================================================
10105    // GBufferedInputStream
10106    //=========================================================================
10107    pub fn g_buffered_input_stream_get_type() -> GType;
10108    pub fn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream;
10109    pub fn g_buffered_input_stream_new_sized(
10110        base_stream: *mut GInputStream,
10111        size: size_t,
10112    ) -> *mut GInputStream;
10113    pub fn g_buffered_input_stream_fill(
10114        stream: *mut GBufferedInputStream,
10115        count: ssize_t,
10116        cancellable: *mut GCancellable,
10117        error: *mut *mut glib::GError,
10118    ) -> ssize_t;
10119    pub fn g_buffered_input_stream_fill_async(
10120        stream: *mut GBufferedInputStream,
10121        count: ssize_t,
10122        io_priority: c_int,
10123        cancellable: *mut GCancellable,
10124        callback: GAsyncReadyCallback,
10125        user_data: gpointer,
10126    );
10127    pub fn g_buffered_input_stream_fill_finish(
10128        stream: *mut GBufferedInputStream,
10129        result: *mut GAsyncResult,
10130        error: *mut *mut glib::GError,
10131    ) -> ssize_t;
10132    pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t;
10133    pub fn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t;
10134    pub fn g_buffered_input_stream_peek(
10135        stream: *mut GBufferedInputStream,
10136        buffer: *mut u8,
10137        offset: size_t,
10138        count: size_t,
10139    ) -> size_t;
10140    pub fn g_buffered_input_stream_peek_buffer(
10141        stream: *mut GBufferedInputStream,
10142        count: *mut size_t,
10143    ) -> *mut u8;
10144    pub fn g_buffered_input_stream_read_byte(
10145        stream: *mut GBufferedInputStream,
10146        cancellable: *mut GCancellable,
10147        error: *mut *mut glib::GError,
10148    ) -> c_int;
10149    pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t);
10150
10151    //=========================================================================
10152    // GBufferedOutputStream
10153    //=========================================================================
10154    pub fn g_buffered_output_stream_get_type() -> GType;
10155    pub fn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream;
10156    pub fn g_buffered_output_stream_new_sized(
10157        base_stream: *mut GOutputStream,
10158        size: size_t,
10159    ) -> *mut GOutputStream;
10160    pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean;
10161    pub fn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t;
10162    pub fn g_buffered_output_stream_set_auto_grow(
10163        stream: *mut GBufferedOutputStream,
10164        auto_grow: gboolean,
10165    );
10166    pub fn g_buffered_output_stream_set_buffer_size(
10167        stream: *mut GBufferedOutputStream,
10168        size: size_t,
10169    );
10170
10171    //=========================================================================
10172    // GBytesIcon
10173    //=========================================================================
10174    pub fn g_bytes_icon_get_type() -> GType;
10175    pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon;
10176    pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes;
10177
10178    //=========================================================================
10179    // GCancellable
10180    //=========================================================================
10181    pub fn g_cancellable_get_type() -> GType;
10182    pub fn g_cancellable_new() -> *mut GCancellable;
10183    pub fn g_cancellable_get_current() -> *mut GCancellable;
10184    pub fn g_cancellable_cancel(cancellable: *mut GCancellable);
10185    pub fn g_cancellable_connect(
10186        cancellable: *mut GCancellable,
10187        callback: gobject::GCallback,
10188        data: gpointer,
10189        data_destroy_func: glib::GDestroyNotify,
10190    ) -> c_ulong;
10191    pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong);
10192    pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int;
10193    pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean;
10194    pub fn g_cancellable_make_pollfd(
10195        cancellable: *mut GCancellable,
10196        pollfd: *mut glib::GPollFD,
10197    ) -> gboolean;
10198    pub fn g_cancellable_pop_current(cancellable: *mut GCancellable);
10199    pub fn g_cancellable_push_current(cancellable: *mut GCancellable);
10200    pub fn g_cancellable_release_fd(cancellable: *mut GCancellable);
10201    pub fn g_cancellable_reset(cancellable: *mut GCancellable);
10202    pub fn g_cancellable_set_error_if_cancelled(
10203        cancellable: *mut GCancellable,
10204        error: *mut *mut glib::GError,
10205    ) -> gboolean;
10206    pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource;
10207
10208    //=========================================================================
10209    // GCharsetConverter
10210    //=========================================================================
10211    pub fn g_charset_converter_get_type() -> GType;
10212    pub fn g_charset_converter_new(
10213        to_charset: *const c_char,
10214        from_charset: *const c_char,
10215        error: *mut *mut glib::GError,
10216    ) -> *mut GCharsetConverter;
10217    pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint;
10218    pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean;
10219    pub fn g_charset_converter_set_use_fallback(
10220        converter: *mut GCharsetConverter,
10221        use_fallback: gboolean,
10222    );
10223
10224    //=========================================================================
10225    // GConverterInputStream
10226    //=========================================================================
10227    pub fn g_converter_input_stream_get_type() -> GType;
10228    pub fn g_converter_input_stream_new(
10229        base_stream: *mut GInputStream,
10230        converter: *mut GConverter,
10231    ) -> *mut GInputStream;
10232    pub fn g_converter_input_stream_get_converter(
10233        converter_stream: *mut GConverterInputStream,
10234    ) -> *mut GConverter;
10235
10236    //=========================================================================
10237    // GConverterOutputStream
10238    //=========================================================================
10239    pub fn g_converter_output_stream_get_type() -> GType;
10240    pub fn g_converter_output_stream_new(
10241        base_stream: *mut GOutputStream,
10242        converter: *mut GConverter,
10243    ) -> *mut GOutputStream;
10244    pub fn g_converter_output_stream_get_converter(
10245        converter_stream: *mut GConverterOutputStream,
10246    ) -> *mut GConverter;
10247
10248    //=========================================================================
10249    // GCredentials
10250    //=========================================================================
10251    pub fn g_credentials_get_type() -> GType;
10252    pub fn g_credentials_new() -> *mut GCredentials;
10253    pub fn g_credentials_get_native(
10254        credentials: *mut GCredentials,
10255        native_type: GCredentialsType,
10256    ) -> gpointer;
10257    #[cfg(unix)]
10258    #[cfg_attr(docsrs, doc(cfg(unix)))]
10259    pub fn g_credentials_get_unix_pid(
10260        credentials: *mut GCredentials,
10261        error: *mut *mut glib::GError,
10262    ) -> pid_t;
10263    #[cfg(unix)]
10264    #[cfg_attr(docsrs, doc(cfg(unix)))]
10265    pub fn g_credentials_get_unix_user(
10266        credentials: *mut GCredentials,
10267        error: *mut *mut glib::GError,
10268    ) -> uid_t;
10269    pub fn g_credentials_is_same_user(
10270        credentials: *mut GCredentials,
10271        other_credentials: *mut GCredentials,
10272        error: *mut *mut glib::GError,
10273    ) -> gboolean;
10274    pub fn g_credentials_set_native(
10275        credentials: *mut GCredentials,
10276        native_type: GCredentialsType,
10277        native: gpointer,
10278    );
10279    #[cfg(unix)]
10280    #[cfg_attr(docsrs, doc(cfg(unix)))]
10281    pub fn g_credentials_set_unix_user(
10282        credentials: *mut GCredentials,
10283        uid: uid_t,
10284        error: *mut *mut glib::GError,
10285    ) -> gboolean;
10286    pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char;
10287
10288    //=========================================================================
10289    // GDBusActionGroup
10290    //=========================================================================
10291    pub fn g_dbus_action_group_get_type() -> GType;
10292    pub fn g_dbus_action_group_get(
10293        connection: *mut GDBusConnection,
10294        bus_name: *const c_char,
10295        object_path: *const c_char,
10296    ) -> *mut GDBusActionGroup;
10297
10298    //=========================================================================
10299    // GDBusAuthObserver
10300    //=========================================================================
10301    pub fn g_dbus_auth_observer_get_type() -> GType;
10302    pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver;
10303    pub fn g_dbus_auth_observer_allow_mechanism(
10304        observer: *mut GDBusAuthObserver,
10305        mechanism: *const c_char,
10306    ) -> gboolean;
10307    pub fn g_dbus_auth_observer_authorize_authenticated_peer(
10308        observer: *mut GDBusAuthObserver,
10309        stream: *mut GIOStream,
10310        credentials: *mut GCredentials,
10311    ) -> gboolean;
10312
10313    //=========================================================================
10314    // GDBusConnection
10315    //=========================================================================
10316    pub fn g_dbus_connection_get_type() -> GType;
10317    pub fn g_dbus_connection_new_finish(
10318        res: *mut GAsyncResult,
10319        error: *mut *mut glib::GError,
10320    ) -> *mut GDBusConnection;
10321    pub fn g_dbus_connection_new_for_address_finish(
10322        res: *mut GAsyncResult,
10323        error: *mut *mut glib::GError,
10324    ) -> *mut GDBusConnection;
10325    pub fn g_dbus_connection_new_for_address_sync(
10326        address: *const c_char,
10327        flags: GDBusConnectionFlags,
10328        observer: *mut GDBusAuthObserver,
10329        cancellable: *mut GCancellable,
10330        error: *mut *mut glib::GError,
10331    ) -> *mut GDBusConnection;
10332    pub fn g_dbus_connection_new_sync(
10333        stream: *mut GIOStream,
10334        guid: *const c_char,
10335        flags: GDBusConnectionFlags,
10336        observer: *mut GDBusAuthObserver,
10337        cancellable: *mut GCancellable,
10338        error: *mut *mut glib::GError,
10339    ) -> *mut GDBusConnection;
10340    pub fn g_dbus_connection_new(
10341        stream: *mut GIOStream,
10342        guid: *const c_char,
10343        flags: GDBusConnectionFlags,
10344        observer: *mut GDBusAuthObserver,
10345        cancellable: *mut GCancellable,
10346        callback: GAsyncReadyCallback,
10347        user_data: gpointer,
10348    );
10349    pub fn g_dbus_connection_new_for_address(
10350        address: *const c_char,
10351        flags: GDBusConnectionFlags,
10352        observer: *mut GDBusAuthObserver,
10353        cancellable: *mut GCancellable,
10354        callback: GAsyncReadyCallback,
10355        user_data: gpointer,
10356    );
10357    pub fn g_dbus_connection_add_filter(
10358        connection: *mut GDBusConnection,
10359        filter_function: GDBusMessageFilterFunction,
10360        user_data: gpointer,
10361        user_data_free_func: glib::GDestroyNotify,
10362    ) -> c_uint;
10363    pub fn g_dbus_connection_call(
10364        connection: *mut GDBusConnection,
10365        bus_name: *const c_char,
10366        object_path: *const c_char,
10367        interface_name: *const c_char,
10368        method_name: *const c_char,
10369        parameters: *mut glib::GVariant,
10370        reply_type: *const glib::GVariantType,
10371        flags: GDBusCallFlags,
10372        timeout_msec: c_int,
10373        cancellable: *mut GCancellable,
10374        callback: GAsyncReadyCallback,
10375        user_data: gpointer,
10376    );
10377    pub fn g_dbus_connection_call_finish(
10378        connection: *mut GDBusConnection,
10379        res: *mut GAsyncResult,
10380        error: *mut *mut glib::GError,
10381    ) -> *mut glib::GVariant;
10382    pub fn g_dbus_connection_call_sync(
10383        connection: *mut GDBusConnection,
10384        bus_name: *const c_char,
10385        object_path: *const c_char,
10386        interface_name: *const c_char,
10387        method_name: *const c_char,
10388        parameters: *mut glib::GVariant,
10389        reply_type: *const glib::GVariantType,
10390        flags: GDBusCallFlags,
10391        timeout_msec: c_int,
10392        cancellable: *mut GCancellable,
10393        error: *mut *mut glib::GError,
10394    ) -> *mut glib::GVariant;
10395    pub fn g_dbus_connection_call_with_unix_fd_list(
10396        connection: *mut GDBusConnection,
10397        bus_name: *const c_char,
10398        object_path: *const c_char,
10399        interface_name: *const c_char,
10400        method_name: *const c_char,
10401        parameters: *mut glib::GVariant,
10402        reply_type: *const glib::GVariantType,
10403        flags: GDBusCallFlags,
10404        timeout_msec: c_int,
10405        fd_list: *mut GUnixFDList,
10406        cancellable: *mut GCancellable,
10407        callback: GAsyncReadyCallback,
10408        user_data: gpointer,
10409    );
10410    pub fn g_dbus_connection_call_with_unix_fd_list_finish(
10411        connection: *mut GDBusConnection,
10412        out_fd_list: *mut *mut GUnixFDList,
10413        res: *mut GAsyncResult,
10414        error: *mut *mut glib::GError,
10415    ) -> *mut glib::GVariant;
10416    pub fn g_dbus_connection_call_with_unix_fd_list_sync(
10417        connection: *mut GDBusConnection,
10418        bus_name: *const c_char,
10419        object_path: *const c_char,
10420        interface_name: *const c_char,
10421        method_name: *const c_char,
10422        parameters: *mut glib::GVariant,
10423        reply_type: *const glib::GVariantType,
10424        flags: GDBusCallFlags,
10425        timeout_msec: c_int,
10426        fd_list: *mut GUnixFDList,
10427        out_fd_list: *mut *mut GUnixFDList,
10428        cancellable: *mut GCancellable,
10429        error: *mut *mut glib::GError,
10430    ) -> *mut glib::GVariant;
10431    pub fn g_dbus_connection_close(
10432        connection: *mut GDBusConnection,
10433        cancellable: *mut GCancellable,
10434        callback: GAsyncReadyCallback,
10435        user_data: gpointer,
10436    );
10437    pub fn g_dbus_connection_close_finish(
10438        connection: *mut GDBusConnection,
10439        res: *mut GAsyncResult,
10440        error: *mut *mut glib::GError,
10441    ) -> gboolean;
10442    pub fn g_dbus_connection_close_sync(
10443        connection: *mut GDBusConnection,
10444        cancellable: *mut GCancellable,
10445        error: *mut *mut glib::GError,
10446    ) -> gboolean;
10447    pub fn g_dbus_connection_emit_signal(
10448        connection: *mut GDBusConnection,
10449        destination_bus_name: *const c_char,
10450        object_path: *const c_char,
10451        interface_name: *const c_char,
10452        signal_name: *const c_char,
10453        parameters: *mut glib::GVariant,
10454        error: *mut *mut glib::GError,
10455    ) -> gboolean;
10456    pub fn g_dbus_connection_export_action_group(
10457        connection: *mut GDBusConnection,
10458        object_path: *const c_char,
10459        action_group: *mut GActionGroup,
10460        error: *mut *mut glib::GError,
10461    ) -> c_uint;
10462    pub fn g_dbus_connection_export_menu_model(
10463        connection: *mut GDBusConnection,
10464        object_path: *const c_char,
10465        menu: *mut GMenuModel,
10466        error: *mut *mut glib::GError,
10467    ) -> c_uint;
10468    pub fn g_dbus_connection_flush(
10469        connection: *mut GDBusConnection,
10470        cancellable: *mut GCancellable,
10471        callback: GAsyncReadyCallback,
10472        user_data: gpointer,
10473    );
10474    pub fn g_dbus_connection_flush_finish(
10475        connection: *mut GDBusConnection,
10476        res: *mut GAsyncResult,
10477        error: *mut *mut glib::GError,
10478    ) -> gboolean;
10479    pub fn g_dbus_connection_flush_sync(
10480        connection: *mut GDBusConnection,
10481        cancellable: *mut GCancellable,
10482        error: *mut *mut glib::GError,
10483    ) -> gboolean;
10484    pub fn g_dbus_connection_get_capabilities(
10485        connection: *mut GDBusConnection,
10486    ) -> GDBusCapabilityFlags;
10487    pub fn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean;
10488    #[cfg(feature = "v2_60")]
10489    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
10490    pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags;
10491    pub fn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char;
10492    pub fn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32;
10493    pub fn g_dbus_connection_get_peer_credentials(
10494        connection: *mut GDBusConnection,
10495    ) -> *mut GCredentials;
10496    pub fn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream;
10497    pub fn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char;
10498    pub fn g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean;
10499    pub fn g_dbus_connection_register_object(
10500        connection: *mut GDBusConnection,
10501        object_path: *const c_char,
10502        interface_info: *mut GDBusInterfaceInfo,
10503        vtable: *const GDBusInterfaceVTable,
10504        user_data: gpointer,
10505        user_data_free_func: glib::GDestroyNotify,
10506        error: *mut *mut glib::GError,
10507    ) -> c_uint;
10508    pub fn g_dbus_connection_register_object_with_closures(
10509        connection: *mut GDBusConnection,
10510        object_path: *const c_char,
10511        interface_info: *mut GDBusInterfaceInfo,
10512        method_call_closure: *mut gobject::GClosure,
10513        get_property_closure: *mut gobject::GClosure,
10514        set_property_closure: *mut gobject::GClosure,
10515        error: *mut *mut glib::GError,
10516    ) -> c_uint;
10517    #[cfg(feature = "v2_84")]
10518    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10519    pub fn g_dbus_connection_register_object_with_closures2(
10520        connection: *mut GDBusConnection,
10521        object_path: *const c_char,
10522        interface_info: *mut GDBusInterfaceInfo,
10523        method_call_closure: *mut gobject::GClosure,
10524        get_property_closure: *mut gobject::GClosure,
10525        set_property_closure: *mut gobject::GClosure,
10526        error: *mut *mut glib::GError,
10527    ) -> c_uint;
10528    pub fn g_dbus_connection_register_subtree(
10529        connection: *mut GDBusConnection,
10530        object_path: *const c_char,
10531        vtable: *const GDBusSubtreeVTable,
10532        flags: GDBusSubtreeFlags,
10533        user_data: gpointer,
10534        user_data_free_func: glib::GDestroyNotify,
10535        error: *mut *mut glib::GError,
10536    ) -> c_uint;
10537    pub fn g_dbus_connection_remove_filter(connection: *mut GDBusConnection, filter_id: c_uint);
10538    pub fn g_dbus_connection_send_message(
10539        connection: *mut GDBusConnection,
10540        message: *mut GDBusMessage,
10541        flags: GDBusSendMessageFlags,
10542        out_serial: *mut u32,
10543        error: *mut *mut glib::GError,
10544    ) -> gboolean;
10545    pub fn g_dbus_connection_send_message_with_reply(
10546        connection: *mut GDBusConnection,
10547        message: *mut GDBusMessage,
10548        flags: GDBusSendMessageFlags,
10549        timeout_msec: c_int,
10550        out_serial: *mut u32,
10551        cancellable: *mut GCancellable,
10552        callback: GAsyncReadyCallback,
10553        user_data: gpointer,
10554    );
10555    pub fn g_dbus_connection_send_message_with_reply_finish(
10556        connection: *mut GDBusConnection,
10557        res: *mut GAsyncResult,
10558        error: *mut *mut glib::GError,
10559    ) -> *mut GDBusMessage;
10560    pub fn g_dbus_connection_send_message_with_reply_sync(
10561        connection: *mut GDBusConnection,
10562        message: *mut GDBusMessage,
10563        flags: GDBusSendMessageFlags,
10564        timeout_msec: c_int,
10565        out_serial: *mut u32,
10566        cancellable: *mut GCancellable,
10567        error: *mut *mut glib::GError,
10568    ) -> *mut GDBusMessage;
10569    pub fn g_dbus_connection_set_exit_on_close(
10570        connection: *mut GDBusConnection,
10571        exit_on_close: gboolean,
10572    );
10573    pub fn g_dbus_connection_signal_subscribe(
10574        connection: *mut GDBusConnection,
10575        sender: *const c_char,
10576        interface_name: *const c_char,
10577        member: *const c_char,
10578        object_path: *const c_char,
10579        arg0: *const c_char,
10580        flags: GDBusSignalFlags,
10581        callback: GDBusSignalCallback,
10582        user_data: gpointer,
10583        user_data_free_func: glib::GDestroyNotify,
10584    ) -> c_uint;
10585    pub fn g_dbus_connection_signal_unsubscribe(
10586        connection: *mut GDBusConnection,
10587        subscription_id: c_uint,
10588    );
10589    pub fn g_dbus_connection_start_message_processing(connection: *mut GDBusConnection);
10590    pub fn g_dbus_connection_unexport_action_group(
10591        connection: *mut GDBusConnection,
10592        export_id: c_uint,
10593    );
10594    pub fn g_dbus_connection_unexport_menu_model(
10595        connection: *mut GDBusConnection,
10596        export_id: c_uint,
10597    );
10598    pub fn g_dbus_connection_unregister_object(
10599        connection: *mut GDBusConnection,
10600        registration_id: c_uint,
10601    ) -> gboolean;
10602    pub fn g_dbus_connection_unregister_subtree(
10603        connection: *mut GDBusConnection,
10604        registration_id: c_uint,
10605    ) -> gboolean;
10606
10607    //=========================================================================
10608    // GDBusInterfaceSkeleton
10609    //=========================================================================
10610    pub fn g_dbus_interface_skeleton_get_type() -> GType;
10611    pub fn g_dbus_interface_skeleton_export(
10612        interface_: *mut GDBusInterfaceSkeleton,
10613        connection: *mut GDBusConnection,
10614        object_path: *const c_char,
10615        error: *mut *mut glib::GError,
10616    ) -> gboolean;
10617    pub fn g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton);
10618    pub fn g_dbus_interface_skeleton_get_connection(
10619        interface_: *mut GDBusInterfaceSkeleton,
10620    ) -> *mut GDBusConnection;
10621    pub fn g_dbus_interface_skeleton_get_connections(
10622        interface_: *mut GDBusInterfaceSkeleton,
10623    ) -> *mut glib::GList;
10624    pub fn g_dbus_interface_skeleton_get_flags(
10625        interface_: *mut GDBusInterfaceSkeleton,
10626    ) -> GDBusInterfaceSkeletonFlags;
10627    pub fn g_dbus_interface_skeleton_get_info(
10628        interface_: *mut GDBusInterfaceSkeleton,
10629    ) -> *mut GDBusInterfaceInfo;
10630    pub fn g_dbus_interface_skeleton_get_object_path(
10631        interface_: *mut GDBusInterfaceSkeleton,
10632    ) -> *const c_char;
10633    pub fn g_dbus_interface_skeleton_get_properties(
10634        interface_: *mut GDBusInterfaceSkeleton,
10635    ) -> *mut glib::GVariant;
10636    pub fn g_dbus_interface_skeleton_get_vtable(
10637        interface_: *mut GDBusInterfaceSkeleton,
10638    ) -> *mut GDBusInterfaceVTable;
10639    pub fn g_dbus_interface_skeleton_has_connection(
10640        interface_: *mut GDBusInterfaceSkeleton,
10641        connection: *mut GDBusConnection,
10642    ) -> gboolean;
10643    pub fn g_dbus_interface_skeleton_set_flags(
10644        interface_: *mut GDBusInterfaceSkeleton,
10645        flags: GDBusInterfaceSkeletonFlags,
10646    );
10647    pub fn g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton);
10648    pub fn g_dbus_interface_skeleton_unexport_from_connection(
10649        interface_: *mut GDBusInterfaceSkeleton,
10650        connection: *mut GDBusConnection,
10651    );
10652
10653    //=========================================================================
10654    // GDBusMenuModel
10655    //=========================================================================
10656    pub fn g_dbus_menu_model_get_type() -> GType;
10657    pub fn g_dbus_menu_model_get(
10658        connection: *mut GDBusConnection,
10659        bus_name: *const c_char,
10660        object_path: *const c_char,
10661    ) -> *mut GDBusMenuModel;
10662
10663    //=========================================================================
10664    // GDBusMessage
10665    //=========================================================================
10666    pub fn g_dbus_message_get_type() -> GType;
10667    pub fn g_dbus_message_new() -> *mut GDBusMessage;
10668    pub fn g_dbus_message_new_from_blob(
10669        blob: *mut u8,
10670        blob_len: size_t,
10671        capabilities: GDBusCapabilityFlags,
10672        error: *mut *mut glib::GError,
10673    ) -> *mut GDBusMessage;
10674    pub fn g_dbus_message_new_method_call(
10675        name: *const c_char,
10676        path: *const c_char,
10677        interface_: *const c_char,
10678        method: *const c_char,
10679    ) -> *mut GDBusMessage;
10680    pub fn g_dbus_message_new_signal(
10681        path: *const c_char,
10682        interface_: *const c_char,
10683        signal: *const c_char,
10684    ) -> *mut GDBusMessage;
10685    pub fn g_dbus_message_bytes_needed(
10686        blob: *mut u8,
10687        blob_len: size_t,
10688        error: *mut *mut glib::GError,
10689    ) -> ssize_t;
10690    pub fn g_dbus_message_copy(
10691        message: *mut GDBusMessage,
10692        error: *mut *mut glib::GError,
10693    ) -> *mut GDBusMessage;
10694    pub fn g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const c_char;
10695    #[cfg(feature = "v2_80")]
10696    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
10697    pub fn g_dbus_message_get_arg0_path(message: *mut GDBusMessage) -> *const c_char;
10698    pub fn g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut glib::GVariant;
10699    pub fn g_dbus_message_get_byte_order(message: *mut GDBusMessage) -> GDBusMessageByteOrder;
10700    pub fn g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const c_char;
10701    pub fn g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const c_char;
10702    pub fn g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags;
10703    pub fn g_dbus_message_get_header(
10704        message: *mut GDBusMessage,
10705        header_field: GDBusMessageHeaderField,
10706    ) -> *mut glib::GVariant;
10707    pub fn g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut u8;
10708    pub fn g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const c_char;
10709    pub fn g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean;
10710    pub fn g_dbus_message_get_member(message: *mut GDBusMessage) -> *const c_char;
10711    pub fn g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType;
10712    pub fn g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> u32;
10713    pub fn g_dbus_message_get_path(message: *mut GDBusMessage) -> *const c_char;
10714    pub fn g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> u32;
10715    pub fn g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const c_char;
10716    pub fn g_dbus_message_get_serial(message: *mut GDBusMessage) -> u32;
10717    pub fn g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const c_char;
10718    pub fn g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList;
10719    pub fn g_dbus_message_lock(message: *mut GDBusMessage);
10720    pub fn g_dbus_message_new_method_error(
10721        method_call_message: *mut GDBusMessage,
10722        error_name: *const c_char,
10723        error_message_format: *const c_char,
10724        ...
10725    ) -> *mut GDBusMessage;
10726    pub fn g_dbus_message_new_method_error_literal(
10727        method_call_message: *mut GDBusMessage,
10728        error_name: *const c_char,
10729        error_message: *const c_char,
10730    ) -> *mut GDBusMessage;
10731    //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;
10732    pub fn g_dbus_message_new_method_reply(
10733        method_call_message: *mut GDBusMessage,
10734    ) -> *mut GDBusMessage;
10735    pub fn g_dbus_message_print(message: *mut GDBusMessage, indent: c_uint) -> *mut c_char;
10736    pub fn g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut glib::GVariant);
10737    pub fn g_dbus_message_set_byte_order(
10738        message: *mut GDBusMessage,
10739        byte_order: GDBusMessageByteOrder,
10740    );
10741    pub fn g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const c_char);
10742    pub fn g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const c_char);
10743    pub fn g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags);
10744    pub fn g_dbus_message_set_header(
10745        message: *mut GDBusMessage,
10746        header_field: GDBusMessageHeaderField,
10747        value: *mut glib::GVariant,
10748    );
10749    pub fn g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const c_char);
10750    pub fn g_dbus_message_set_member(message: *mut GDBusMessage, value: *const c_char);
10751    pub fn g_dbus_message_set_message_type(message: *mut GDBusMessage, type_: GDBusMessageType);
10752    pub fn g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: u32);
10753    pub fn g_dbus_message_set_path(message: *mut GDBusMessage, value: *const c_char);
10754    pub fn g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: u32);
10755    pub fn g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const c_char);
10756    pub fn g_dbus_message_set_serial(message: *mut GDBusMessage, serial: u32);
10757    pub fn g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const c_char);
10758    pub fn g_dbus_message_set_unix_fd_list(message: *mut GDBusMessage, fd_list: *mut GUnixFDList);
10759    pub fn g_dbus_message_to_blob(
10760        message: *mut GDBusMessage,
10761        out_size: *mut size_t,
10762        capabilities: GDBusCapabilityFlags,
10763        error: *mut *mut glib::GError,
10764    ) -> *mut u8;
10765    pub fn g_dbus_message_to_gerror(
10766        message: *mut GDBusMessage,
10767        error: *mut *mut glib::GError,
10768    ) -> gboolean;
10769
10770    //=========================================================================
10771    // GDBusMethodInvocation
10772    //=========================================================================
10773    pub fn g_dbus_method_invocation_get_type() -> GType;
10774    pub fn g_dbus_method_invocation_get_connection(
10775        invocation: *mut GDBusMethodInvocation,
10776    ) -> *mut GDBusConnection;
10777    pub fn g_dbus_method_invocation_get_interface_name(
10778        invocation: *mut GDBusMethodInvocation,
10779    ) -> *const c_char;
10780    pub fn g_dbus_method_invocation_get_message(
10781        invocation: *mut GDBusMethodInvocation,
10782    ) -> *mut GDBusMessage;
10783    pub fn g_dbus_method_invocation_get_method_info(
10784        invocation: *mut GDBusMethodInvocation,
10785    ) -> *const GDBusMethodInfo;
10786    pub fn g_dbus_method_invocation_get_method_name(
10787        invocation: *mut GDBusMethodInvocation,
10788    ) -> *const c_char;
10789    pub fn g_dbus_method_invocation_get_object_path(
10790        invocation: *mut GDBusMethodInvocation,
10791    ) -> *const c_char;
10792    pub fn g_dbus_method_invocation_get_parameters(
10793        invocation: *mut GDBusMethodInvocation,
10794    ) -> *mut glib::GVariant;
10795    pub fn g_dbus_method_invocation_get_property_info(
10796        invocation: *mut GDBusMethodInvocation,
10797    ) -> *const GDBusPropertyInfo;
10798    pub fn g_dbus_method_invocation_get_sender(
10799        invocation: *mut GDBusMethodInvocation,
10800    ) -> *const c_char;
10801    pub fn g_dbus_method_invocation_get_user_data(
10802        invocation: *mut GDBusMethodInvocation,
10803    ) -> gpointer;
10804    pub fn g_dbus_method_invocation_return_dbus_error(
10805        invocation: *mut GDBusMethodInvocation,
10806        error_name: *const c_char,
10807        error_message: *const c_char,
10808    );
10809    pub fn g_dbus_method_invocation_return_error(
10810        invocation: *mut GDBusMethodInvocation,
10811        domain: glib::GQuark,
10812        code: c_int,
10813        format: *const c_char,
10814        ...
10815    );
10816    pub fn g_dbus_method_invocation_return_error_literal(
10817        invocation: *mut GDBusMethodInvocation,
10818        domain: glib::GQuark,
10819        code: c_int,
10820        message: *const c_char,
10821    );
10822    //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);
10823    pub fn g_dbus_method_invocation_return_gerror(
10824        invocation: *mut GDBusMethodInvocation,
10825        error: *const glib::GError,
10826    );
10827    pub fn g_dbus_method_invocation_return_value(
10828        invocation: *mut GDBusMethodInvocation,
10829        parameters: *mut glib::GVariant,
10830    );
10831    pub fn g_dbus_method_invocation_return_value_with_unix_fd_list(
10832        invocation: *mut GDBusMethodInvocation,
10833        parameters: *mut glib::GVariant,
10834        fd_list: *mut GUnixFDList,
10835    );
10836    pub fn g_dbus_method_invocation_take_error(
10837        invocation: *mut GDBusMethodInvocation,
10838        error: *mut glib::GError,
10839    );
10840
10841    //=========================================================================
10842    // GDBusObjectManagerClient
10843    //=========================================================================
10844    pub fn g_dbus_object_manager_client_get_type() -> GType;
10845    pub fn g_dbus_object_manager_client_new_finish(
10846        res: *mut GAsyncResult,
10847        error: *mut *mut glib::GError,
10848    ) -> *mut GDBusObjectManagerClient;
10849    pub fn g_dbus_object_manager_client_new_for_bus_finish(
10850        res: *mut GAsyncResult,
10851        error: *mut *mut glib::GError,
10852    ) -> *mut GDBusObjectManagerClient;
10853    pub fn g_dbus_object_manager_client_new_for_bus_sync(
10854        bus_type: GBusType,
10855        flags: GDBusObjectManagerClientFlags,
10856        name: *const c_char,
10857        object_path: *const c_char,
10858        get_proxy_type_func: GDBusProxyTypeFunc,
10859        get_proxy_type_user_data: gpointer,
10860        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10861        cancellable: *mut GCancellable,
10862        error: *mut *mut glib::GError,
10863    ) -> *mut GDBusObjectManagerClient;
10864    pub fn g_dbus_object_manager_client_new_sync(
10865        connection: *mut GDBusConnection,
10866        flags: GDBusObjectManagerClientFlags,
10867        name: *const c_char,
10868        object_path: *const c_char,
10869        get_proxy_type_func: GDBusProxyTypeFunc,
10870        get_proxy_type_user_data: gpointer,
10871        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10872        cancellable: *mut GCancellable,
10873        error: *mut *mut glib::GError,
10874    ) -> *mut GDBusObjectManagerClient;
10875    pub fn g_dbus_object_manager_client_new(
10876        connection: *mut GDBusConnection,
10877        flags: GDBusObjectManagerClientFlags,
10878        name: *const c_char,
10879        object_path: *const c_char,
10880        get_proxy_type_func: GDBusProxyTypeFunc,
10881        get_proxy_type_user_data: gpointer,
10882        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10883        cancellable: *mut GCancellable,
10884        callback: GAsyncReadyCallback,
10885        user_data: gpointer,
10886    );
10887    pub fn g_dbus_object_manager_client_new_for_bus(
10888        bus_type: GBusType,
10889        flags: GDBusObjectManagerClientFlags,
10890        name: *const c_char,
10891        object_path: *const c_char,
10892        get_proxy_type_func: GDBusProxyTypeFunc,
10893        get_proxy_type_user_data: gpointer,
10894        get_proxy_type_destroy_notify: glib::GDestroyNotify,
10895        cancellable: *mut GCancellable,
10896        callback: GAsyncReadyCallback,
10897        user_data: gpointer,
10898    );
10899    pub fn g_dbus_object_manager_client_get_connection(
10900        manager: *mut GDBusObjectManagerClient,
10901    ) -> *mut GDBusConnection;
10902    pub fn g_dbus_object_manager_client_get_flags(
10903        manager: *mut GDBusObjectManagerClient,
10904    ) -> GDBusObjectManagerClientFlags;
10905    pub fn g_dbus_object_manager_client_get_name(
10906        manager: *mut GDBusObjectManagerClient,
10907    ) -> *const c_char;
10908    pub fn g_dbus_object_manager_client_get_name_owner(
10909        manager: *mut GDBusObjectManagerClient,
10910    ) -> *mut c_char;
10911
10912    //=========================================================================
10913    // GDBusObjectManagerServer
10914    //=========================================================================
10915    pub fn g_dbus_object_manager_server_get_type() -> GType;
10916    pub fn g_dbus_object_manager_server_new(
10917        object_path: *const c_char,
10918    ) -> *mut GDBusObjectManagerServer;
10919    pub fn g_dbus_object_manager_server_export(
10920        manager: *mut GDBusObjectManagerServer,
10921        object: *mut GDBusObjectSkeleton,
10922    );
10923    pub fn g_dbus_object_manager_server_export_uniquely(
10924        manager: *mut GDBusObjectManagerServer,
10925        object: *mut GDBusObjectSkeleton,
10926    );
10927    pub fn g_dbus_object_manager_server_get_connection(
10928        manager: *mut GDBusObjectManagerServer,
10929    ) -> *mut GDBusConnection;
10930    pub fn g_dbus_object_manager_server_is_exported(
10931        manager: *mut GDBusObjectManagerServer,
10932        object: *mut GDBusObjectSkeleton,
10933    ) -> gboolean;
10934    pub fn g_dbus_object_manager_server_set_connection(
10935        manager: *mut GDBusObjectManagerServer,
10936        connection: *mut GDBusConnection,
10937    );
10938    pub fn g_dbus_object_manager_server_unexport(
10939        manager: *mut GDBusObjectManagerServer,
10940        object_path: *const c_char,
10941    ) -> gboolean;
10942
10943    //=========================================================================
10944    // GDBusObjectProxy
10945    //=========================================================================
10946    pub fn g_dbus_object_proxy_get_type() -> GType;
10947    pub fn g_dbus_object_proxy_new(
10948        connection: *mut GDBusConnection,
10949        object_path: *const c_char,
10950    ) -> *mut GDBusObjectProxy;
10951    pub fn g_dbus_object_proxy_get_connection(proxy: *mut GDBusObjectProxy)
10952        -> *mut GDBusConnection;
10953
10954    //=========================================================================
10955    // GDBusObjectSkeleton
10956    //=========================================================================
10957    pub fn g_dbus_object_skeleton_get_type() -> GType;
10958    pub fn g_dbus_object_skeleton_new(object_path: *const c_char) -> *mut GDBusObjectSkeleton;
10959    pub fn g_dbus_object_skeleton_add_interface(
10960        object: *mut GDBusObjectSkeleton,
10961        interface_: *mut GDBusInterfaceSkeleton,
10962    );
10963    pub fn g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton);
10964    pub fn g_dbus_object_skeleton_remove_interface(
10965        object: *mut GDBusObjectSkeleton,
10966        interface_: *mut GDBusInterfaceSkeleton,
10967    );
10968    pub fn g_dbus_object_skeleton_remove_interface_by_name(
10969        object: *mut GDBusObjectSkeleton,
10970        interface_name: *const c_char,
10971    );
10972    pub fn g_dbus_object_skeleton_set_object_path(
10973        object: *mut GDBusObjectSkeleton,
10974        object_path: *const c_char,
10975    );
10976
10977    //=========================================================================
10978    // GDBusProxy
10979    //=========================================================================
10980    pub fn g_dbus_proxy_get_type() -> GType;
10981    pub fn g_dbus_proxy_new_finish(
10982        res: *mut GAsyncResult,
10983        error: *mut *mut glib::GError,
10984    ) -> *mut GDBusProxy;
10985    pub fn g_dbus_proxy_new_for_bus_finish(
10986        res: *mut GAsyncResult,
10987        error: *mut *mut glib::GError,
10988    ) -> *mut GDBusProxy;
10989    pub fn g_dbus_proxy_new_for_bus_sync(
10990        bus_type: GBusType,
10991        flags: GDBusProxyFlags,
10992        info: *mut GDBusInterfaceInfo,
10993        name: *const c_char,
10994        object_path: *const c_char,
10995        interface_name: *const c_char,
10996        cancellable: *mut GCancellable,
10997        error: *mut *mut glib::GError,
10998    ) -> *mut GDBusProxy;
10999    pub fn g_dbus_proxy_new_sync(
11000        connection: *mut GDBusConnection,
11001        flags: GDBusProxyFlags,
11002        info: *mut GDBusInterfaceInfo,
11003        name: *const c_char,
11004        object_path: *const c_char,
11005        interface_name: *const c_char,
11006        cancellable: *mut GCancellable,
11007        error: *mut *mut glib::GError,
11008    ) -> *mut GDBusProxy;
11009    pub fn g_dbus_proxy_new(
11010        connection: *mut GDBusConnection,
11011        flags: GDBusProxyFlags,
11012        info: *mut GDBusInterfaceInfo,
11013        name: *const c_char,
11014        object_path: *const c_char,
11015        interface_name: *const c_char,
11016        cancellable: *mut GCancellable,
11017        callback: GAsyncReadyCallback,
11018        user_data: gpointer,
11019    );
11020    pub fn g_dbus_proxy_new_for_bus(
11021        bus_type: GBusType,
11022        flags: GDBusProxyFlags,
11023        info: *mut GDBusInterfaceInfo,
11024        name: *const c_char,
11025        object_path: *const c_char,
11026        interface_name: *const c_char,
11027        cancellable: *mut GCancellable,
11028        callback: GAsyncReadyCallback,
11029        user_data: gpointer,
11030    );
11031    pub fn g_dbus_proxy_call(
11032        proxy: *mut GDBusProxy,
11033        method_name: *const c_char,
11034        parameters: *mut glib::GVariant,
11035        flags: GDBusCallFlags,
11036        timeout_msec: c_int,
11037        cancellable: *mut GCancellable,
11038        callback: GAsyncReadyCallback,
11039        user_data: gpointer,
11040    );
11041    pub fn g_dbus_proxy_call_finish(
11042        proxy: *mut GDBusProxy,
11043        res: *mut GAsyncResult,
11044        error: *mut *mut glib::GError,
11045    ) -> *mut glib::GVariant;
11046    pub fn g_dbus_proxy_call_sync(
11047        proxy: *mut GDBusProxy,
11048        method_name: *const c_char,
11049        parameters: *mut glib::GVariant,
11050        flags: GDBusCallFlags,
11051        timeout_msec: c_int,
11052        cancellable: *mut GCancellable,
11053        error: *mut *mut glib::GError,
11054    ) -> *mut glib::GVariant;
11055    pub fn g_dbus_proxy_call_with_unix_fd_list(
11056        proxy: *mut GDBusProxy,
11057        method_name: *const c_char,
11058        parameters: *mut glib::GVariant,
11059        flags: GDBusCallFlags,
11060        timeout_msec: c_int,
11061        fd_list: *mut GUnixFDList,
11062        cancellable: *mut GCancellable,
11063        callback: GAsyncReadyCallback,
11064        user_data: gpointer,
11065    );
11066    pub fn g_dbus_proxy_call_with_unix_fd_list_finish(
11067        proxy: *mut GDBusProxy,
11068        out_fd_list: *mut *mut GUnixFDList,
11069        res: *mut GAsyncResult,
11070        error: *mut *mut glib::GError,
11071    ) -> *mut glib::GVariant;
11072    pub fn g_dbus_proxy_call_with_unix_fd_list_sync(
11073        proxy: *mut GDBusProxy,
11074        method_name: *const c_char,
11075        parameters: *mut glib::GVariant,
11076        flags: GDBusCallFlags,
11077        timeout_msec: c_int,
11078        fd_list: *mut GUnixFDList,
11079        out_fd_list: *mut *mut GUnixFDList,
11080        cancellable: *mut GCancellable,
11081        error: *mut *mut glib::GError,
11082    ) -> *mut glib::GVariant;
11083    pub fn g_dbus_proxy_get_cached_property(
11084        proxy: *mut GDBusProxy,
11085        property_name: *const c_char,
11086    ) -> *mut glib::GVariant;
11087    pub fn g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy) -> *mut *mut c_char;
11088    pub fn g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection;
11089    pub fn g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> c_int;
11090    pub fn g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags;
11091    pub fn g_dbus_proxy_get_interface_info(proxy: *mut GDBusProxy) -> *mut GDBusInterfaceInfo;
11092    pub fn g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const c_char;
11093    pub fn g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const c_char;
11094    pub fn g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut c_char;
11095    pub fn g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const c_char;
11096    pub fn g_dbus_proxy_set_cached_property(
11097        proxy: *mut GDBusProxy,
11098        property_name: *const c_char,
11099        value: *mut glib::GVariant,
11100    );
11101    pub fn g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: c_int);
11102    pub fn g_dbus_proxy_set_interface_info(proxy: *mut GDBusProxy, info: *mut GDBusInterfaceInfo);
11103
11104    //=========================================================================
11105    // GDBusServer
11106    //=========================================================================
11107    pub fn g_dbus_server_get_type() -> GType;
11108    pub fn g_dbus_server_new_sync(
11109        address: *const c_char,
11110        flags: GDBusServerFlags,
11111        guid: *const c_char,
11112        observer: *mut GDBusAuthObserver,
11113        cancellable: *mut GCancellable,
11114        error: *mut *mut glib::GError,
11115    ) -> *mut GDBusServer;
11116    pub fn g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const c_char;
11117    pub fn g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags;
11118    pub fn g_dbus_server_get_guid(server: *mut GDBusServer) -> *const c_char;
11119    pub fn g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean;
11120    pub fn g_dbus_server_start(server: *mut GDBusServer);
11121    pub fn g_dbus_server_stop(server: *mut GDBusServer);
11122
11123    //=========================================================================
11124    // GDataInputStream
11125    //=========================================================================
11126    pub fn g_data_input_stream_get_type() -> GType;
11127    pub fn g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream;
11128    pub fn g_data_input_stream_get_byte_order(
11129        stream: *mut GDataInputStream,
11130    ) -> GDataStreamByteOrder;
11131    pub fn g_data_input_stream_get_newline_type(
11132        stream: *mut GDataInputStream,
11133    ) -> GDataStreamNewlineType;
11134    pub fn g_data_input_stream_read_byte(
11135        stream: *mut GDataInputStream,
11136        cancellable: *mut GCancellable,
11137        error: *mut *mut glib::GError,
11138    ) -> c_uchar;
11139    pub fn g_data_input_stream_read_int16(
11140        stream: *mut GDataInputStream,
11141        cancellable: *mut GCancellable,
11142        error: *mut *mut glib::GError,
11143    ) -> i16;
11144    pub fn g_data_input_stream_read_int32(
11145        stream: *mut GDataInputStream,
11146        cancellable: *mut GCancellable,
11147        error: *mut *mut glib::GError,
11148    ) -> i32;
11149    pub fn g_data_input_stream_read_int64(
11150        stream: *mut GDataInputStream,
11151        cancellable: *mut GCancellable,
11152        error: *mut *mut glib::GError,
11153    ) -> i64;
11154    pub fn g_data_input_stream_read_line(
11155        stream: *mut GDataInputStream,
11156        length: *mut size_t,
11157        cancellable: *mut GCancellable,
11158        error: *mut *mut glib::GError,
11159    ) -> *mut u8;
11160    pub fn g_data_input_stream_read_line_async(
11161        stream: *mut GDataInputStream,
11162        io_priority: c_int,
11163        cancellable: *mut GCancellable,
11164        callback: GAsyncReadyCallback,
11165        user_data: gpointer,
11166    );
11167    pub fn g_data_input_stream_read_line_finish(
11168        stream: *mut GDataInputStream,
11169        result: *mut GAsyncResult,
11170        length: *mut size_t,
11171        error: *mut *mut glib::GError,
11172    ) -> *mut u8;
11173    pub fn g_data_input_stream_read_line_finish_utf8(
11174        stream: *mut GDataInputStream,
11175        result: *mut GAsyncResult,
11176        length: *mut size_t,
11177        error: *mut *mut glib::GError,
11178    ) -> *mut c_char;
11179    pub fn g_data_input_stream_read_line_utf8(
11180        stream: *mut GDataInputStream,
11181        length: *mut size_t,
11182        cancellable: *mut GCancellable,
11183        error: *mut *mut glib::GError,
11184    ) -> *mut c_char;
11185    pub fn g_data_input_stream_read_uint16(
11186        stream: *mut GDataInputStream,
11187        cancellable: *mut GCancellable,
11188        error: *mut *mut glib::GError,
11189    ) -> u16;
11190    pub fn g_data_input_stream_read_uint32(
11191        stream: *mut GDataInputStream,
11192        cancellable: *mut GCancellable,
11193        error: *mut *mut glib::GError,
11194    ) -> u32;
11195    pub fn g_data_input_stream_read_uint64(
11196        stream: *mut GDataInputStream,
11197        cancellable: *mut GCancellable,
11198        error: *mut *mut glib::GError,
11199    ) -> u64;
11200    pub fn g_data_input_stream_read_until(
11201        stream: *mut GDataInputStream,
11202        stop_chars: *const c_char,
11203        length: *mut size_t,
11204        cancellable: *mut GCancellable,
11205        error: *mut *mut glib::GError,
11206    ) -> *mut c_char;
11207    pub fn g_data_input_stream_read_until_async(
11208        stream: *mut GDataInputStream,
11209        stop_chars: *const c_char,
11210        io_priority: c_int,
11211        cancellable: *mut GCancellable,
11212        callback: GAsyncReadyCallback,
11213        user_data: gpointer,
11214    );
11215    pub fn g_data_input_stream_read_until_finish(
11216        stream: *mut GDataInputStream,
11217        result: *mut GAsyncResult,
11218        length: *mut size_t,
11219        error: *mut *mut glib::GError,
11220    ) -> *mut c_char;
11221    pub fn g_data_input_stream_read_upto(
11222        stream: *mut GDataInputStream,
11223        stop_chars: *const c_char,
11224        stop_chars_len: ssize_t,
11225        length: *mut size_t,
11226        cancellable: *mut GCancellable,
11227        error: *mut *mut glib::GError,
11228    ) -> *mut c_char;
11229    pub fn g_data_input_stream_read_upto_async(
11230        stream: *mut GDataInputStream,
11231        stop_chars: *const c_char,
11232        stop_chars_len: ssize_t,
11233        io_priority: c_int,
11234        cancellable: *mut GCancellable,
11235        callback: GAsyncReadyCallback,
11236        user_data: gpointer,
11237    );
11238    pub fn g_data_input_stream_read_upto_finish(
11239        stream: *mut GDataInputStream,
11240        result: *mut GAsyncResult,
11241        length: *mut size_t,
11242        error: *mut *mut glib::GError,
11243    ) -> *mut c_char;
11244    pub fn g_data_input_stream_set_byte_order(
11245        stream: *mut GDataInputStream,
11246        order: GDataStreamByteOrder,
11247    );
11248    pub fn g_data_input_stream_set_newline_type(
11249        stream: *mut GDataInputStream,
11250        type_: GDataStreamNewlineType,
11251    );
11252
11253    //=========================================================================
11254    // GDataOutputStream
11255    //=========================================================================
11256    pub fn g_data_output_stream_get_type() -> GType;
11257    pub fn g_data_output_stream_new(base_stream: *mut GOutputStream) -> *mut GDataOutputStream;
11258    pub fn g_data_output_stream_get_byte_order(
11259        stream: *mut GDataOutputStream,
11260    ) -> GDataStreamByteOrder;
11261    pub fn g_data_output_stream_put_byte(
11262        stream: *mut GDataOutputStream,
11263        data: c_uchar,
11264        cancellable: *mut GCancellable,
11265        error: *mut *mut glib::GError,
11266    ) -> gboolean;
11267    pub fn g_data_output_stream_put_int16(
11268        stream: *mut GDataOutputStream,
11269        data: i16,
11270        cancellable: *mut GCancellable,
11271        error: *mut *mut glib::GError,
11272    ) -> gboolean;
11273    pub fn g_data_output_stream_put_int32(
11274        stream: *mut GDataOutputStream,
11275        data: i32,
11276        cancellable: *mut GCancellable,
11277        error: *mut *mut glib::GError,
11278    ) -> gboolean;
11279    pub fn g_data_output_stream_put_int64(
11280        stream: *mut GDataOutputStream,
11281        data: i64,
11282        cancellable: *mut GCancellable,
11283        error: *mut *mut glib::GError,
11284    ) -> gboolean;
11285    pub fn g_data_output_stream_put_string(
11286        stream: *mut GDataOutputStream,
11287        str: *const c_char,
11288        cancellable: *mut GCancellable,
11289        error: *mut *mut glib::GError,
11290    ) -> gboolean;
11291    pub fn g_data_output_stream_put_uint16(
11292        stream: *mut GDataOutputStream,
11293        data: u16,
11294        cancellable: *mut GCancellable,
11295        error: *mut *mut glib::GError,
11296    ) -> gboolean;
11297    pub fn g_data_output_stream_put_uint32(
11298        stream: *mut GDataOutputStream,
11299        data: u32,
11300        cancellable: *mut GCancellable,
11301        error: *mut *mut glib::GError,
11302    ) -> gboolean;
11303    pub fn g_data_output_stream_put_uint64(
11304        stream: *mut GDataOutputStream,
11305        data: u64,
11306        cancellable: *mut GCancellable,
11307        error: *mut *mut glib::GError,
11308    ) -> gboolean;
11309    pub fn g_data_output_stream_set_byte_order(
11310        stream: *mut GDataOutputStream,
11311        order: GDataStreamByteOrder,
11312    );
11313
11314    //=========================================================================
11315    // GDebugControllerDBus
11316    //=========================================================================
11317    #[cfg(feature = "v2_72")]
11318    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11319    pub fn g_debug_controller_dbus_get_type() -> GType;
11320    #[cfg(feature = "v2_72")]
11321    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11322    pub fn g_debug_controller_dbus_new(
11323        connection: *mut GDBusConnection,
11324        cancellable: *mut GCancellable,
11325        error: *mut *mut glib::GError,
11326    ) -> *mut GDebugControllerDBus;
11327    #[cfg(feature = "v2_72")]
11328    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
11329    pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus);
11330
11331    //=========================================================================
11332    // GEmblem
11333    //=========================================================================
11334    pub fn g_emblem_get_type() -> GType;
11335    pub fn g_emblem_new(icon: *mut GIcon) -> *mut GEmblem;
11336    pub fn g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin) -> *mut GEmblem;
11337    pub fn g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon;
11338    pub fn g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin;
11339
11340    //=========================================================================
11341    // GEmblemedIcon
11342    //=========================================================================
11343    pub fn g_emblemed_icon_get_type() -> GType;
11344    pub fn g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GEmblemedIcon;
11345    pub fn g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem);
11346    pub fn g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon);
11347    pub fn g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut glib::GList;
11348    pub fn g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon;
11349
11350    //=========================================================================
11351    // GFileEnumerator
11352    //=========================================================================
11353    pub fn g_file_enumerator_get_type() -> GType;
11354    pub fn g_file_enumerator_close(
11355        enumerator: *mut GFileEnumerator,
11356        cancellable: *mut GCancellable,
11357        error: *mut *mut glib::GError,
11358    ) -> gboolean;
11359    pub fn g_file_enumerator_close_async(
11360        enumerator: *mut GFileEnumerator,
11361        io_priority: c_int,
11362        cancellable: *mut GCancellable,
11363        callback: GAsyncReadyCallback,
11364        user_data: gpointer,
11365    );
11366    pub fn g_file_enumerator_close_finish(
11367        enumerator: *mut GFileEnumerator,
11368        result: *mut GAsyncResult,
11369        error: *mut *mut glib::GError,
11370    ) -> gboolean;
11371    pub fn g_file_enumerator_get_child(
11372        enumerator: *mut GFileEnumerator,
11373        info: *mut GFileInfo,
11374    ) -> *mut GFile;
11375    pub fn g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile;
11376    pub fn g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean;
11377    pub fn g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean;
11378    pub fn g_file_enumerator_iterate(
11379        direnum: *mut GFileEnumerator,
11380        out_info: *mut *mut GFileInfo,
11381        out_child: *mut *mut GFile,
11382        cancellable: *mut GCancellable,
11383        error: *mut *mut glib::GError,
11384    ) -> gboolean;
11385    pub fn g_file_enumerator_next_file(
11386        enumerator: *mut GFileEnumerator,
11387        cancellable: *mut GCancellable,
11388        error: *mut *mut glib::GError,
11389    ) -> *mut GFileInfo;
11390    pub fn g_file_enumerator_next_files_async(
11391        enumerator: *mut GFileEnumerator,
11392        num_files: c_int,
11393        io_priority: c_int,
11394        cancellable: *mut GCancellable,
11395        callback: GAsyncReadyCallback,
11396        user_data: gpointer,
11397    );
11398    pub fn g_file_enumerator_next_files_finish(
11399        enumerator: *mut GFileEnumerator,
11400        result: *mut GAsyncResult,
11401        error: *mut *mut glib::GError,
11402    ) -> *mut glib::GList;
11403    pub fn g_file_enumerator_set_pending(enumerator: *mut GFileEnumerator, pending: gboolean);
11404
11405    //=========================================================================
11406    // GFileIOStream
11407    //=========================================================================
11408    pub fn g_file_io_stream_get_type() -> GType;
11409    pub fn g_file_io_stream_get_etag(stream: *mut GFileIOStream) -> *mut c_char;
11410    pub fn g_file_io_stream_query_info(
11411        stream: *mut GFileIOStream,
11412        attributes: *const c_char,
11413        cancellable: *mut GCancellable,
11414        error: *mut *mut glib::GError,
11415    ) -> *mut GFileInfo;
11416    pub fn g_file_io_stream_query_info_async(
11417        stream: *mut GFileIOStream,
11418        attributes: *const c_char,
11419        io_priority: c_int,
11420        cancellable: *mut GCancellable,
11421        callback: GAsyncReadyCallback,
11422        user_data: gpointer,
11423    );
11424    pub fn g_file_io_stream_query_info_finish(
11425        stream: *mut GFileIOStream,
11426        result: *mut GAsyncResult,
11427        error: *mut *mut glib::GError,
11428    ) -> *mut GFileInfo;
11429
11430    //=========================================================================
11431    // GFileIcon
11432    //=========================================================================
11433    pub fn g_file_icon_get_type() -> GType;
11434    pub fn g_file_icon_new(file: *mut GFile) -> *mut GFileIcon;
11435    pub fn g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile;
11436
11437    //=========================================================================
11438    // GFileInfo
11439    //=========================================================================
11440    pub fn g_file_info_get_type() -> GType;
11441    pub fn g_file_info_new() -> *mut GFileInfo;
11442    pub fn g_file_info_clear_status(info: *mut GFileInfo);
11443    pub fn g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo);
11444    pub fn g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo;
11445    #[cfg(feature = "v2_70")]
11446    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11447    pub fn g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11448    pub fn g_file_info_get_attribute_as_string(
11449        info: *mut GFileInfo,
11450        attribute: *const c_char,
11451    ) -> *mut c_char;
11452    pub fn g_file_info_get_attribute_boolean(
11453        info: *mut GFileInfo,
11454        attribute: *const c_char,
11455    ) -> gboolean;
11456    pub fn g_file_info_get_attribute_byte_string(
11457        info: *mut GFileInfo,
11458        attribute: *const c_char,
11459    ) -> *const c_char;
11460    pub fn g_file_info_get_attribute_data(
11461        info: *mut GFileInfo,
11462        attribute: *const c_char,
11463        type_: *mut GFileAttributeType,
11464        value_pp: *mut gpointer,
11465        status: *mut GFileAttributeStatus,
11466    ) -> gboolean;
11467    #[cfg(feature = "v2_78")]
11468    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11469    pub fn g_file_info_get_attribute_file_path(
11470        info: *mut GFileInfo,
11471        attribute: *const c_char,
11472    ) -> *const c_char;
11473    pub fn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32;
11474    pub fn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64;
11475    pub fn g_file_info_get_attribute_object(
11476        info: *mut GFileInfo,
11477        attribute: *const c_char,
11478    ) -> *mut gobject::GObject;
11479    pub fn g_file_info_get_attribute_status(
11480        info: *mut GFileInfo,
11481        attribute: *const c_char,
11482    ) -> GFileAttributeStatus;
11483    pub fn g_file_info_get_attribute_string(
11484        info: *mut GFileInfo,
11485        attribute: *const c_char,
11486    ) -> *const c_char;
11487    pub fn g_file_info_get_attribute_stringv(
11488        info: *mut GFileInfo,
11489        attribute: *const c_char,
11490    ) -> *mut *mut c_char;
11491    pub fn g_file_info_get_attribute_type(
11492        info: *mut GFileInfo,
11493        attribute: *const c_char,
11494    ) -> GFileAttributeType;
11495    pub fn g_file_info_get_attribute_uint32(info: *mut GFileInfo, attribute: *const c_char) -> u32;
11496    pub fn g_file_info_get_attribute_uint64(info: *mut GFileInfo, attribute: *const c_char) -> u64;
11497    pub fn g_file_info_get_content_type(info: *mut GFileInfo) -> *const c_char;
11498    #[cfg(feature = "v2_70")]
11499    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11500    pub fn g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11501    pub fn g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut glib::GDateTime;
11502    pub fn g_file_info_get_display_name(info: *mut GFileInfo) -> *const c_char;
11503    pub fn g_file_info_get_edit_name(info: *mut GFileInfo) -> *const c_char;
11504    pub fn g_file_info_get_etag(info: *mut GFileInfo) -> *const c_char;
11505    pub fn g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType;
11506    pub fn g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon;
11507    pub fn g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean;
11508    pub fn g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean;
11509    pub fn g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean;
11510    #[cfg(feature = "v2_62")]
11511    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11512    pub fn g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime;
11513    pub fn g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut glib::GTimeVal);
11514    pub fn g_file_info_get_name(info: *mut GFileInfo) -> *const c_char;
11515    pub fn g_file_info_get_size(info: *mut GFileInfo) -> i64;
11516    pub fn g_file_info_get_sort_order(info: *mut GFileInfo) -> i32;
11517    pub fn g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon;
11518    pub fn g_file_info_get_symlink_target(info: *mut GFileInfo) -> *const c_char;
11519    pub fn g_file_info_has_attribute(info: *mut GFileInfo, attribute: *const c_char) -> gboolean;
11520    pub fn g_file_info_has_namespace(info: *mut GFileInfo, name_space: *const c_char) -> gboolean;
11521    pub fn g_file_info_list_attributes(
11522        info: *mut GFileInfo,
11523        name_space: *const c_char,
11524    ) -> *mut *mut c_char;
11525    pub fn g_file_info_remove_attribute(info: *mut GFileInfo, attribute: *const c_char);
11526    #[cfg(feature = "v2_70")]
11527    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11528    pub fn g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut glib::GDateTime);
11529    pub fn g_file_info_set_attribute(
11530        info: *mut GFileInfo,
11531        attribute: *const c_char,
11532        type_: GFileAttributeType,
11533        value_p: gpointer,
11534    );
11535    pub fn g_file_info_set_attribute_boolean(
11536        info: *mut GFileInfo,
11537        attribute: *const c_char,
11538        attr_value: gboolean,
11539    );
11540    pub fn g_file_info_set_attribute_byte_string(
11541        info: *mut GFileInfo,
11542        attribute: *const c_char,
11543        attr_value: *const c_char,
11544    );
11545    #[cfg(feature = "v2_78")]
11546    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11547    pub fn g_file_info_set_attribute_file_path(
11548        info: *mut GFileInfo,
11549        attribute: *const c_char,
11550        attr_value: *const c_char,
11551    );
11552    pub fn g_file_info_set_attribute_int32(
11553        info: *mut GFileInfo,
11554        attribute: *const c_char,
11555        attr_value: i32,
11556    );
11557    pub fn g_file_info_set_attribute_int64(
11558        info: *mut GFileInfo,
11559        attribute: *const c_char,
11560        attr_value: i64,
11561    );
11562    pub fn g_file_info_set_attribute_mask(info: *mut GFileInfo, mask: *mut GFileAttributeMatcher);
11563    pub fn g_file_info_set_attribute_object(
11564        info: *mut GFileInfo,
11565        attribute: *const c_char,
11566        attr_value: *mut gobject::GObject,
11567    );
11568    pub fn g_file_info_set_attribute_status(
11569        info: *mut GFileInfo,
11570        attribute: *const c_char,
11571        status: GFileAttributeStatus,
11572    ) -> gboolean;
11573    pub fn g_file_info_set_attribute_string(
11574        info: *mut GFileInfo,
11575        attribute: *const c_char,
11576        attr_value: *const c_char,
11577    );
11578    pub fn g_file_info_set_attribute_stringv(
11579        info: *mut GFileInfo,
11580        attribute: *const c_char,
11581        attr_value: *mut *mut c_char,
11582    );
11583    pub fn g_file_info_set_attribute_uint32(
11584        info: *mut GFileInfo,
11585        attribute: *const c_char,
11586        attr_value: u32,
11587    );
11588    pub fn g_file_info_set_attribute_uint64(
11589        info: *mut GFileInfo,
11590        attribute: *const c_char,
11591        attr_value: u64,
11592    );
11593    pub fn g_file_info_set_content_type(info: *mut GFileInfo, content_type: *const c_char);
11594    #[cfg(feature = "v2_70")]
11595    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
11596    pub fn g_file_info_set_creation_date_time(
11597        info: *mut GFileInfo,
11598        creation_time: *mut glib::GDateTime,
11599    );
11600    pub fn g_file_info_set_display_name(info: *mut GFileInfo, display_name: *const c_char);
11601    pub fn g_file_info_set_edit_name(info: *mut GFileInfo, edit_name: *const c_char);
11602    pub fn g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType);
11603    pub fn g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon);
11604    pub fn g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean);
11605    pub fn g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean);
11606    #[cfg(feature = "v2_62")]
11607    #[cfg_attr(docsrs, doc(cfg(feature = "v2_62")))]
11608    pub fn g_file_info_set_modification_date_time(
11609        info: *mut GFileInfo,
11610        mtime: *mut glib::GDateTime,
11611    );
11612    pub fn g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut glib::GTimeVal);
11613    pub fn g_file_info_set_name(info: *mut GFileInfo, name: *const c_char);
11614    pub fn g_file_info_set_size(info: *mut GFileInfo, size: i64);
11615    pub fn g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: i32);
11616    pub fn g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon);
11617    pub fn g_file_info_set_symlink_target(info: *mut GFileInfo, symlink_target: *const c_char);
11618    pub fn g_file_info_unset_attribute_mask(info: *mut GFileInfo);
11619
11620    //=========================================================================
11621    // GFileInputStream
11622    //=========================================================================
11623    pub fn g_file_input_stream_get_type() -> GType;
11624    pub fn g_file_input_stream_query_info(
11625        stream: *mut GFileInputStream,
11626        attributes: *const c_char,
11627        cancellable: *mut GCancellable,
11628        error: *mut *mut glib::GError,
11629    ) -> *mut GFileInfo;
11630    pub fn g_file_input_stream_query_info_async(
11631        stream: *mut GFileInputStream,
11632        attributes: *const c_char,
11633        io_priority: c_int,
11634        cancellable: *mut GCancellable,
11635        callback: GAsyncReadyCallback,
11636        user_data: gpointer,
11637    );
11638    pub fn g_file_input_stream_query_info_finish(
11639        stream: *mut GFileInputStream,
11640        result: *mut GAsyncResult,
11641        error: *mut *mut glib::GError,
11642    ) -> *mut GFileInfo;
11643
11644    //=========================================================================
11645    // GFileMonitor
11646    //=========================================================================
11647    pub fn g_file_monitor_get_type() -> GType;
11648    pub fn g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean;
11649    pub fn g_file_monitor_emit_event(
11650        monitor: *mut GFileMonitor,
11651        child: *mut GFile,
11652        other_file: *mut GFile,
11653        event_type: GFileMonitorEvent,
11654    );
11655    pub fn g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean;
11656    pub fn g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: c_int);
11657
11658    //=========================================================================
11659    // GFileOutputStream
11660    //=========================================================================
11661    pub fn g_file_output_stream_get_type() -> GType;
11662    pub fn g_file_output_stream_get_etag(stream: *mut GFileOutputStream) -> *mut c_char;
11663    pub fn g_file_output_stream_query_info(
11664        stream: *mut GFileOutputStream,
11665        attributes: *const c_char,
11666        cancellable: *mut GCancellable,
11667        error: *mut *mut glib::GError,
11668    ) -> *mut GFileInfo;
11669    pub fn g_file_output_stream_query_info_async(
11670        stream: *mut GFileOutputStream,
11671        attributes: *const c_char,
11672        io_priority: c_int,
11673        cancellable: *mut GCancellable,
11674        callback: GAsyncReadyCallback,
11675        user_data: gpointer,
11676    );
11677    pub fn g_file_output_stream_query_info_finish(
11678        stream: *mut GFileOutputStream,
11679        result: *mut GAsyncResult,
11680        error: *mut *mut glib::GError,
11681    ) -> *mut GFileInfo;
11682
11683    //=========================================================================
11684    // GFilenameCompleter
11685    //=========================================================================
11686    pub fn g_filename_completer_get_type() -> GType;
11687    pub fn g_filename_completer_new() -> *mut GFilenameCompleter;
11688    pub fn g_filename_completer_get_completion_suffix(
11689        completer: *mut GFilenameCompleter,
11690        initial_text: *const c_char,
11691    ) -> *mut c_char;
11692    pub fn g_filename_completer_get_completions(
11693        completer: *mut GFilenameCompleter,
11694        initial_text: *const c_char,
11695    ) -> *mut *mut c_char;
11696    pub fn g_filename_completer_set_dirs_only(
11697        completer: *mut GFilenameCompleter,
11698        dirs_only: gboolean,
11699    );
11700
11701    //=========================================================================
11702    // GFilterInputStream
11703    //=========================================================================
11704    pub fn g_filter_input_stream_get_type() -> GType;
11705    pub fn g_filter_input_stream_get_base_stream(
11706        stream: *mut GFilterInputStream,
11707    ) -> *mut GInputStream;
11708    pub fn g_filter_input_stream_get_close_base_stream(stream: *mut GFilterInputStream)
11709        -> gboolean;
11710    pub fn g_filter_input_stream_set_close_base_stream(
11711        stream: *mut GFilterInputStream,
11712        close_base: gboolean,
11713    );
11714
11715    //=========================================================================
11716    // GFilterOutputStream
11717    //=========================================================================
11718    pub fn g_filter_output_stream_get_type() -> GType;
11719    pub fn g_filter_output_stream_get_base_stream(
11720        stream: *mut GFilterOutputStream,
11721    ) -> *mut GOutputStream;
11722    pub fn g_filter_output_stream_get_close_base_stream(
11723        stream: *mut GFilterOutputStream,
11724    ) -> gboolean;
11725    pub fn g_filter_output_stream_set_close_base_stream(
11726        stream: *mut GFilterOutputStream,
11727        close_base: gboolean,
11728    );
11729
11730    //=========================================================================
11731    // GIOModule
11732    //=========================================================================
11733    pub fn g_io_module_get_type() -> GType;
11734    pub fn g_io_module_new(filename: *const c_char) -> *mut GIOModule;
11735    pub fn g_io_module_query() -> *mut *mut c_char;
11736    pub fn g_io_module_load(module: *mut GIOModule);
11737    pub fn g_io_module_unload(module: *mut GIOModule);
11738
11739    //=========================================================================
11740    // GIOStream
11741    //=========================================================================
11742    pub fn g_io_stream_get_type() -> GType;
11743    pub fn g_io_stream_splice_finish(
11744        result: *mut GAsyncResult,
11745        error: *mut *mut glib::GError,
11746    ) -> gboolean;
11747    pub fn g_io_stream_clear_pending(stream: *mut GIOStream);
11748    pub fn g_io_stream_close(
11749        stream: *mut GIOStream,
11750        cancellable: *mut GCancellable,
11751        error: *mut *mut glib::GError,
11752    ) -> gboolean;
11753    pub fn g_io_stream_close_async(
11754        stream: *mut GIOStream,
11755        io_priority: c_int,
11756        cancellable: *mut GCancellable,
11757        callback: GAsyncReadyCallback,
11758        user_data: gpointer,
11759    );
11760    pub fn g_io_stream_close_finish(
11761        stream: *mut GIOStream,
11762        result: *mut GAsyncResult,
11763        error: *mut *mut glib::GError,
11764    ) -> gboolean;
11765    pub fn g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream;
11766    pub fn g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream;
11767    pub fn g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean;
11768    pub fn g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean;
11769    pub fn g_io_stream_set_pending(
11770        stream: *mut GIOStream,
11771        error: *mut *mut glib::GError,
11772    ) -> gboolean;
11773    pub fn g_io_stream_splice_async(
11774        stream1: *mut GIOStream,
11775        stream2: *mut GIOStream,
11776        flags: GIOStreamSpliceFlags,
11777        io_priority: c_int,
11778        cancellable: *mut GCancellable,
11779        callback: GAsyncReadyCallback,
11780        user_data: gpointer,
11781    );
11782
11783    //=========================================================================
11784    // GInetAddress
11785    //=========================================================================
11786    pub fn g_inet_address_get_type() -> GType;
11787    pub fn g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress;
11788    pub fn g_inet_address_new_from_bytes(
11789        bytes: *const u8,
11790        family: GSocketFamily,
11791    ) -> *mut GInetAddress;
11792    #[cfg(feature = "v2_86")]
11793    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11794    pub fn g_inet_address_new_from_bytes_with_ipv6_info(
11795        bytes: *const u8,
11796        family: GSocketFamily,
11797        flowinfo: u32,
11798        scope_id: u32,
11799    ) -> *mut GInetAddress;
11800    pub fn g_inet_address_new_from_string(string: *const c_char) -> *mut GInetAddress;
11801    pub fn g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress;
11802    pub fn g_inet_address_equal(
11803        address: *mut GInetAddress,
11804        other_address: *mut GInetAddress,
11805    ) -> gboolean;
11806    pub fn g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily;
11807    #[cfg(feature = "v2_86")]
11808    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11809    pub fn g_inet_address_get_flowinfo(address: *mut GInetAddress) -> u32;
11810    pub fn g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean;
11811    pub fn g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean;
11812    pub fn g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean;
11813    pub fn g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean;
11814    pub fn g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean;
11815    pub fn g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean;
11816    pub fn g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean;
11817    pub fn g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean;
11818    pub fn g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean;
11819    pub fn g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean;
11820    pub fn g_inet_address_get_native_size(address: *mut GInetAddress) -> size_t;
11821    #[cfg(feature = "v2_86")]
11822    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
11823    pub fn g_inet_address_get_scope_id(address: *mut GInetAddress) -> u32;
11824    pub fn g_inet_address_to_bytes(address: *mut GInetAddress) -> *const u8;
11825    pub fn g_inet_address_to_string(address: *mut GInetAddress) -> *mut c_char;
11826
11827    //=========================================================================
11828    // GInetAddressMask
11829    //=========================================================================
11830    pub fn g_inet_address_mask_get_type() -> GType;
11831    pub fn g_inet_address_mask_new(
11832        addr: *mut GInetAddress,
11833        length: c_uint,
11834        error: *mut *mut glib::GError,
11835    ) -> *mut GInetAddressMask;
11836    pub fn g_inet_address_mask_new_from_string(
11837        mask_string: *const c_char,
11838        error: *mut *mut glib::GError,
11839    ) -> *mut GInetAddressMask;
11840    pub fn g_inet_address_mask_equal(
11841        mask: *mut GInetAddressMask,
11842        mask2: *mut GInetAddressMask,
11843    ) -> gboolean;
11844    pub fn g_inet_address_mask_get_address(mask: *mut GInetAddressMask) -> *mut GInetAddress;
11845    pub fn g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily;
11846    pub fn g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> c_uint;
11847    pub fn g_inet_address_mask_matches(
11848        mask: *mut GInetAddressMask,
11849        address: *mut GInetAddress,
11850    ) -> gboolean;
11851    pub fn g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut c_char;
11852
11853    //=========================================================================
11854    // GInetSocketAddress
11855    //=========================================================================
11856    pub fn g_inet_socket_address_get_type() -> GType;
11857    pub fn g_inet_socket_address_new(address: *mut GInetAddress, port: u16) -> *mut GSocketAddress;
11858    pub fn g_inet_socket_address_new_from_string(
11859        address: *const c_char,
11860        port: c_uint,
11861    ) -> *mut GSocketAddress;
11862    pub fn g_inet_socket_address_get_address(address: *mut GInetSocketAddress)
11863        -> *mut GInetAddress;
11864    pub fn g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> u32;
11865    pub fn g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> u16;
11866    pub fn g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> u32;
11867
11868    //=========================================================================
11869    // GInputStream
11870    //=========================================================================
11871    pub fn g_input_stream_get_type() -> GType;
11872    pub fn g_input_stream_clear_pending(stream: *mut GInputStream);
11873    pub fn g_input_stream_close(
11874        stream: *mut GInputStream,
11875        cancellable: *mut GCancellable,
11876        error: *mut *mut glib::GError,
11877    ) -> gboolean;
11878    pub fn g_input_stream_close_async(
11879        stream: *mut GInputStream,
11880        io_priority: c_int,
11881        cancellable: *mut GCancellable,
11882        callback: GAsyncReadyCallback,
11883        user_data: gpointer,
11884    );
11885    pub fn g_input_stream_close_finish(
11886        stream: *mut GInputStream,
11887        result: *mut GAsyncResult,
11888        error: *mut *mut glib::GError,
11889    ) -> gboolean;
11890    pub fn g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean;
11891    pub fn g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean;
11892    pub fn g_input_stream_read(
11893        stream: *mut GInputStream,
11894        buffer: *mut u8,
11895        count: size_t,
11896        cancellable: *mut GCancellable,
11897        error: *mut *mut glib::GError,
11898    ) -> ssize_t;
11899    pub fn g_input_stream_read_all(
11900        stream: *mut GInputStream,
11901        buffer: *mut u8,
11902        count: size_t,
11903        bytes_read: *mut size_t,
11904        cancellable: *mut GCancellable,
11905        error: *mut *mut glib::GError,
11906    ) -> gboolean;
11907    pub fn g_input_stream_read_all_async(
11908        stream: *mut GInputStream,
11909        buffer: *mut u8,
11910        count: size_t,
11911        io_priority: c_int,
11912        cancellable: *mut GCancellable,
11913        callback: GAsyncReadyCallback,
11914        user_data: gpointer,
11915    );
11916    pub fn g_input_stream_read_all_finish(
11917        stream: *mut GInputStream,
11918        result: *mut GAsyncResult,
11919        bytes_read: *mut size_t,
11920        error: *mut *mut glib::GError,
11921    ) -> gboolean;
11922    pub fn g_input_stream_read_async(
11923        stream: *mut GInputStream,
11924        buffer: *mut u8,
11925        count: size_t,
11926        io_priority: c_int,
11927        cancellable: *mut GCancellable,
11928        callback: GAsyncReadyCallback,
11929        user_data: gpointer,
11930    );
11931    pub fn g_input_stream_read_bytes(
11932        stream: *mut GInputStream,
11933        count: size_t,
11934        cancellable: *mut GCancellable,
11935        error: *mut *mut glib::GError,
11936    ) -> *mut glib::GBytes;
11937    pub fn g_input_stream_read_bytes_async(
11938        stream: *mut GInputStream,
11939        count: size_t,
11940        io_priority: c_int,
11941        cancellable: *mut GCancellable,
11942        callback: GAsyncReadyCallback,
11943        user_data: gpointer,
11944    );
11945    pub fn g_input_stream_read_bytes_finish(
11946        stream: *mut GInputStream,
11947        result: *mut GAsyncResult,
11948        error: *mut *mut glib::GError,
11949    ) -> *mut glib::GBytes;
11950    pub fn g_input_stream_read_finish(
11951        stream: *mut GInputStream,
11952        result: *mut GAsyncResult,
11953        error: *mut *mut glib::GError,
11954    ) -> ssize_t;
11955    pub fn g_input_stream_set_pending(
11956        stream: *mut GInputStream,
11957        error: *mut *mut glib::GError,
11958    ) -> gboolean;
11959    pub fn g_input_stream_skip(
11960        stream: *mut GInputStream,
11961        count: size_t,
11962        cancellable: *mut GCancellable,
11963        error: *mut *mut glib::GError,
11964    ) -> ssize_t;
11965    pub fn g_input_stream_skip_async(
11966        stream: *mut GInputStream,
11967        count: size_t,
11968        io_priority: c_int,
11969        cancellable: *mut GCancellable,
11970        callback: GAsyncReadyCallback,
11971        user_data: gpointer,
11972    );
11973    pub fn g_input_stream_skip_finish(
11974        stream: *mut GInputStream,
11975        result: *mut GAsyncResult,
11976        error: *mut *mut glib::GError,
11977    ) -> ssize_t;
11978
11979    //=========================================================================
11980    // GListStore
11981    //=========================================================================
11982    pub fn g_list_store_get_type() -> GType;
11983    pub fn g_list_store_new(item_type: GType) -> *mut GListStore;
11984    pub fn g_list_store_append(store: *mut GListStore, item: *mut gobject::GObject);
11985    #[cfg(feature = "v2_64")]
11986    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
11987    pub fn g_list_store_find(
11988        store: *mut GListStore,
11989        item: *mut gobject::GObject,
11990        position: *mut c_uint,
11991    ) -> gboolean;
11992    #[cfg(feature = "v2_64")]
11993    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
11994    pub fn g_list_store_find_with_equal_func(
11995        store: *mut GListStore,
11996        item: *mut gobject::GObject,
11997        equal_func: glib::GEqualFunc,
11998        position: *mut c_uint,
11999    ) -> gboolean;
12000    #[cfg(feature = "v2_74")]
12001    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
12002    pub fn g_list_store_find_with_equal_func_full(
12003        store: *mut GListStore,
12004        item: *mut gobject::GObject,
12005        equal_func: glib::GEqualFuncFull,
12006        user_data: gpointer,
12007        position: *mut c_uint,
12008    ) -> gboolean;
12009    pub fn g_list_store_insert(
12010        store: *mut GListStore,
12011        position: c_uint,
12012        item: *mut gobject::GObject,
12013    );
12014    pub fn g_list_store_insert_sorted(
12015        store: *mut GListStore,
12016        item: *mut gobject::GObject,
12017        compare_func: glib::GCompareDataFunc,
12018        user_data: gpointer,
12019    ) -> c_uint;
12020    pub fn g_list_store_remove(store: *mut GListStore, position: c_uint);
12021    pub fn g_list_store_remove_all(store: *mut GListStore);
12022    pub fn g_list_store_sort(
12023        store: *mut GListStore,
12024        compare_func: glib::GCompareDataFunc,
12025        user_data: gpointer,
12026    );
12027    pub fn g_list_store_splice(
12028        store: *mut GListStore,
12029        position: c_uint,
12030        n_removals: c_uint,
12031        additions: *mut *mut gobject::GObject,
12032        n_additions: c_uint,
12033    );
12034
12035    //=========================================================================
12036    // GMemoryInputStream
12037    //=========================================================================
12038    pub fn g_memory_input_stream_get_type() -> GType;
12039    pub fn g_memory_input_stream_new() -> *mut GInputStream;
12040    pub fn g_memory_input_stream_new_from_bytes(bytes: *mut glib::GBytes) -> *mut GInputStream;
12041    pub fn g_memory_input_stream_new_from_data(
12042        data: *mut u8,
12043        len: ssize_t,
12044        destroy: glib::GDestroyNotify,
12045    ) -> *mut GInputStream;
12046    pub fn g_memory_input_stream_add_bytes(
12047        stream: *mut GMemoryInputStream,
12048        bytes: *mut glib::GBytes,
12049    );
12050    pub fn g_memory_input_stream_add_data(
12051        stream: *mut GMemoryInputStream,
12052        data: *mut u8,
12053        len: ssize_t,
12054        destroy: glib::GDestroyNotify,
12055    );
12056
12057    //=========================================================================
12058    // GMemoryOutputStream
12059    //=========================================================================
12060    pub fn g_memory_output_stream_get_type() -> GType;
12061    pub fn g_memory_output_stream_new(
12062        data: gpointer,
12063        size: size_t,
12064        realloc_function: GReallocFunc,
12065        destroy_function: glib::GDestroyNotify,
12066    ) -> *mut GOutputStream;
12067    pub fn g_memory_output_stream_new_resizable() -> *mut GOutputStream;
12068    pub fn g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12069    pub fn g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> size_t;
12070    pub fn g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> size_t;
12071    pub fn g_memory_output_stream_steal_as_bytes(
12072        ostream: *mut GMemoryOutputStream,
12073    ) -> *mut glib::GBytes;
12074    pub fn g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer;
12075
12076    //=========================================================================
12077    // GMenu
12078    //=========================================================================
12079    pub fn g_menu_get_type() -> GType;
12080    pub fn g_menu_new() -> *mut GMenu;
12081    pub fn g_menu_append(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12082    pub fn g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem);
12083    pub fn g_menu_append_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12084    pub fn g_menu_append_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12085    pub fn g_menu_freeze(menu: *mut GMenu);
12086    pub fn g_menu_insert(
12087        menu: *mut GMenu,
12088        position: c_int,
12089        label: *const c_char,
12090        detailed_action: *const c_char,
12091    );
12092    pub fn g_menu_insert_item(menu: *mut GMenu, position: c_int, item: *mut GMenuItem);
12093    pub fn g_menu_insert_section(
12094        menu: *mut GMenu,
12095        position: c_int,
12096        label: *const c_char,
12097        section: *mut GMenuModel,
12098    );
12099    pub fn g_menu_insert_submenu(
12100        menu: *mut GMenu,
12101        position: c_int,
12102        label: *const c_char,
12103        submenu: *mut GMenuModel,
12104    );
12105    pub fn g_menu_prepend(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char);
12106    pub fn g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem);
12107    pub fn g_menu_prepend_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel);
12108    pub fn g_menu_prepend_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel);
12109    pub fn g_menu_remove(menu: *mut GMenu, position: c_int);
12110    pub fn g_menu_remove_all(menu: *mut GMenu);
12111
12112    //=========================================================================
12113    // GMenuAttributeIter
12114    //=========================================================================
12115    pub fn g_menu_attribute_iter_get_type() -> GType;
12116    pub fn g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const c_char;
12117    pub fn g_menu_attribute_iter_get_next(
12118        iter: *mut GMenuAttributeIter,
12119        out_name: *mut *const c_char,
12120        value: *mut *mut glib::GVariant,
12121    ) -> gboolean;
12122    pub fn g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut glib::GVariant;
12123    pub fn g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean;
12124
12125    //=========================================================================
12126    // GMenuItem
12127    //=========================================================================
12128    pub fn g_menu_item_get_type() -> GType;
12129    pub fn g_menu_item_new(label: *const c_char, detailed_action: *const c_char) -> *mut GMenuItem;
12130    pub fn g_menu_item_new_from_model(model: *mut GMenuModel, item_index: c_int) -> *mut GMenuItem;
12131    pub fn g_menu_item_new_section(
12132        label: *const c_char,
12133        section: *mut GMenuModel,
12134    ) -> *mut GMenuItem;
12135    pub fn g_menu_item_new_submenu(
12136        label: *const c_char,
12137        submenu: *mut GMenuModel,
12138    ) -> *mut GMenuItem;
12139    pub fn g_menu_item_get_attribute(
12140        menu_item: *mut GMenuItem,
12141        attribute: *const c_char,
12142        format_string: *const c_char,
12143        ...
12144    ) -> gboolean;
12145    pub fn g_menu_item_get_attribute_value(
12146        menu_item: *mut GMenuItem,
12147        attribute: *const c_char,
12148        expected_type: *const glib::GVariantType,
12149    ) -> *mut glib::GVariant;
12150    pub fn g_menu_item_get_link(menu_item: *mut GMenuItem, link: *const c_char) -> *mut GMenuModel;
12151    pub fn g_menu_item_set_action_and_target(
12152        menu_item: *mut GMenuItem,
12153        action: *const c_char,
12154        format_string: *const c_char,
12155        ...
12156    );
12157    pub fn g_menu_item_set_action_and_target_value(
12158        menu_item: *mut GMenuItem,
12159        action: *const c_char,
12160        target_value: *mut glib::GVariant,
12161    );
12162    pub fn g_menu_item_set_attribute(
12163        menu_item: *mut GMenuItem,
12164        attribute: *const c_char,
12165        format_string: *const c_char,
12166        ...
12167    );
12168    pub fn g_menu_item_set_attribute_value(
12169        menu_item: *mut GMenuItem,
12170        attribute: *const c_char,
12171        value: *mut glib::GVariant,
12172    );
12173    pub fn g_menu_item_set_detailed_action(
12174        menu_item: *mut GMenuItem,
12175        detailed_action: *const c_char,
12176    );
12177    pub fn g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon);
12178    pub fn g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const c_char);
12179    pub fn g_menu_item_set_link(
12180        menu_item: *mut GMenuItem,
12181        link: *const c_char,
12182        model: *mut GMenuModel,
12183    );
12184    pub fn g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel);
12185    pub fn g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel);
12186
12187    //=========================================================================
12188    // GMenuLinkIter
12189    //=========================================================================
12190    pub fn g_menu_link_iter_get_type() -> GType;
12191    pub fn g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const c_char;
12192    pub fn g_menu_link_iter_get_next(
12193        iter: *mut GMenuLinkIter,
12194        out_link: *mut *const c_char,
12195        value: *mut *mut GMenuModel,
12196    ) -> gboolean;
12197    pub fn g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel;
12198    pub fn g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean;
12199
12200    //=========================================================================
12201    // GMenuModel
12202    //=========================================================================
12203    pub fn g_menu_model_get_type() -> GType;
12204    pub fn g_menu_model_get_item_attribute(
12205        model: *mut GMenuModel,
12206        item_index: c_int,
12207        attribute: *const c_char,
12208        format_string: *const c_char,
12209        ...
12210    ) -> gboolean;
12211    pub fn g_menu_model_get_item_attribute_value(
12212        model: *mut GMenuModel,
12213        item_index: c_int,
12214        attribute: *const c_char,
12215        expected_type: *const glib::GVariantType,
12216    ) -> *mut glib::GVariant;
12217    pub fn g_menu_model_get_item_link(
12218        model: *mut GMenuModel,
12219        item_index: c_int,
12220        link: *const c_char,
12221    ) -> *mut GMenuModel;
12222    pub fn g_menu_model_get_n_items(model: *mut GMenuModel) -> c_int;
12223    pub fn g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean;
12224    pub fn g_menu_model_items_changed(
12225        model: *mut GMenuModel,
12226        position: c_int,
12227        removed: c_int,
12228        added: c_int,
12229    );
12230    pub fn g_menu_model_iterate_item_attributes(
12231        model: *mut GMenuModel,
12232        item_index: c_int,
12233    ) -> *mut GMenuAttributeIter;
12234    pub fn g_menu_model_iterate_item_links(
12235        model: *mut GMenuModel,
12236        item_index: c_int,
12237    ) -> *mut GMenuLinkIter;
12238
12239    //=========================================================================
12240    // GMountOperation
12241    //=========================================================================
12242    pub fn g_mount_operation_get_type() -> GType;
12243    pub fn g_mount_operation_new() -> *mut GMountOperation;
12244    pub fn g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean;
12245    pub fn g_mount_operation_get_choice(op: *mut GMountOperation) -> c_int;
12246    pub fn g_mount_operation_get_domain(op: *mut GMountOperation) -> *const c_char;
12247    #[cfg(feature = "v2_58")]
12248    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12249    pub fn g_mount_operation_get_is_tcrypt_hidden_volume(op: *mut GMountOperation) -> gboolean;
12250    #[cfg(feature = "v2_58")]
12251    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12252    pub fn g_mount_operation_get_is_tcrypt_system_volume(op: *mut GMountOperation) -> gboolean;
12253    pub fn g_mount_operation_get_password(op: *mut GMountOperation) -> *const c_char;
12254    pub fn g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave;
12255    #[cfg(feature = "v2_58")]
12256    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12257    pub fn g_mount_operation_get_pim(op: *mut GMountOperation) -> c_uint;
12258    pub fn g_mount_operation_get_username(op: *mut GMountOperation) -> *const c_char;
12259    pub fn g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult);
12260    pub fn g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean);
12261    pub fn g_mount_operation_set_choice(op: *mut GMountOperation, choice: c_int);
12262    pub fn g_mount_operation_set_domain(op: *mut GMountOperation, domain: *const c_char);
12263    #[cfg(feature = "v2_58")]
12264    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12265    pub fn g_mount_operation_set_is_tcrypt_hidden_volume(
12266        op: *mut GMountOperation,
12267        hidden_volume: gboolean,
12268    );
12269    #[cfg(feature = "v2_58")]
12270    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12271    pub fn g_mount_operation_set_is_tcrypt_system_volume(
12272        op: *mut GMountOperation,
12273        system_volume: gboolean,
12274    );
12275    pub fn g_mount_operation_set_password(op: *mut GMountOperation, password: *const c_char);
12276    pub fn g_mount_operation_set_password_save(op: *mut GMountOperation, save: GPasswordSave);
12277    #[cfg(feature = "v2_58")]
12278    #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
12279    pub fn g_mount_operation_set_pim(op: *mut GMountOperation, pim: c_uint);
12280    pub fn g_mount_operation_set_username(op: *mut GMountOperation, username: *const c_char);
12281
12282    //=========================================================================
12283    // GNativeSocketAddress
12284    //=========================================================================
12285    pub fn g_native_socket_address_get_type() -> GType;
12286    pub fn g_native_socket_address_new(native: gpointer, len: size_t) -> *mut GSocketAddress;
12287
12288    //=========================================================================
12289    // GNativeVolumeMonitor
12290    //=========================================================================
12291    pub fn g_native_volume_monitor_get_type() -> GType;
12292
12293    //=========================================================================
12294    // GNetworkAddress
12295    //=========================================================================
12296    pub fn g_network_address_get_type() -> GType;
12297    pub fn g_network_address_new(hostname: *const c_char, port: u16) -> *mut GNetworkAddress;
12298    pub fn g_network_address_new_loopback(port: u16) -> *mut GNetworkAddress;
12299    pub fn g_network_address_parse(
12300        host_and_port: *const c_char,
12301        default_port: u16,
12302        error: *mut *mut glib::GError,
12303    ) -> *mut GNetworkAddress;
12304    pub fn g_network_address_parse_uri(
12305        uri: *const c_char,
12306        default_port: u16,
12307        error: *mut *mut glib::GError,
12308    ) -> *mut GNetworkAddress;
12309    pub fn g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const c_char;
12310    pub fn g_network_address_get_port(addr: *mut GNetworkAddress) -> u16;
12311    pub fn g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const c_char;
12312
12313    //=========================================================================
12314    // GNetworkService
12315    //=========================================================================
12316    pub fn g_network_service_get_type() -> GType;
12317    pub fn g_network_service_new(
12318        service: *const c_char,
12319        protocol: *const c_char,
12320        domain: *const c_char,
12321    ) -> *mut GNetworkService;
12322    pub fn g_network_service_get_domain(srv: *mut GNetworkService) -> *const c_char;
12323    pub fn g_network_service_get_protocol(srv: *mut GNetworkService) -> *const c_char;
12324    pub fn g_network_service_get_scheme(srv: *mut GNetworkService) -> *const c_char;
12325    pub fn g_network_service_get_service(srv: *mut GNetworkService) -> *const c_char;
12326    pub fn g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const c_char);
12327
12328    //=========================================================================
12329    // GNotification
12330    //=========================================================================
12331    pub fn g_notification_get_type() -> GType;
12332    pub fn g_notification_new(title: *const c_char) -> *mut GNotification;
12333    pub fn g_notification_add_button(
12334        notification: *mut GNotification,
12335        label: *const c_char,
12336        detailed_action: *const c_char,
12337    );
12338    pub fn g_notification_add_button_with_target(
12339        notification: *mut GNotification,
12340        label: *const c_char,
12341        action: *const c_char,
12342        target_format: *const c_char,
12343        ...
12344    );
12345    pub fn g_notification_add_button_with_target_value(
12346        notification: *mut GNotification,
12347        label: *const c_char,
12348        action: *const c_char,
12349        target: *mut glib::GVariant,
12350    );
12351    pub fn g_notification_set_body(notification: *mut GNotification, body: *const c_char);
12352    #[cfg(feature = "v2_70")]
12353    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
12354    pub fn g_notification_set_category(notification: *mut GNotification, category: *const c_char);
12355    pub fn g_notification_set_default_action(
12356        notification: *mut GNotification,
12357        detailed_action: *const c_char,
12358    );
12359    pub fn g_notification_set_default_action_and_target(
12360        notification: *mut GNotification,
12361        action: *const c_char,
12362        target_format: *const c_char,
12363        ...
12364    );
12365    pub fn g_notification_set_default_action_and_target_value(
12366        notification: *mut GNotification,
12367        action: *const c_char,
12368        target: *mut glib::GVariant,
12369    );
12370    pub fn g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon);
12371    pub fn g_notification_set_priority(
12372        notification: *mut GNotification,
12373        priority: GNotificationPriority,
12374    );
12375    pub fn g_notification_set_title(notification: *mut GNotification, title: *const c_char);
12376    pub fn g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean);
12377
12378    //=========================================================================
12379    // GOutputStream
12380    //=========================================================================
12381    pub fn g_output_stream_get_type() -> GType;
12382    pub fn g_output_stream_clear_pending(stream: *mut GOutputStream);
12383    pub fn g_output_stream_close(
12384        stream: *mut GOutputStream,
12385        cancellable: *mut GCancellable,
12386        error: *mut *mut glib::GError,
12387    ) -> gboolean;
12388    pub fn g_output_stream_close_async(
12389        stream: *mut GOutputStream,
12390        io_priority: c_int,
12391        cancellable: *mut GCancellable,
12392        callback: GAsyncReadyCallback,
12393        user_data: gpointer,
12394    );
12395    pub fn g_output_stream_close_finish(
12396        stream: *mut GOutputStream,
12397        result: *mut GAsyncResult,
12398        error: *mut *mut glib::GError,
12399    ) -> gboolean;
12400    pub fn g_output_stream_flush(
12401        stream: *mut GOutputStream,
12402        cancellable: *mut GCancellable,
12403        error: *mut *mut glib::GError,
12404    ) -> gboolean;
12405    pub fn g_output_stream_flush_async(
12406        stream: *mut GOutputStream,
12407        io_priority: c_int,
12408        cancellable: *mut GCancellable,
12409        callback: GAsyncReadyCallback,
12410        user_data: gpointer,
12411    );
12412    pub fn g_output_stream_flush_finish(
12413        stream: *mut GOutputStream,
12414        result: *mut GAsyncResult,
12415        error: *mut *mut glib::GError,
12416    ) -> gboolean;
12417    pub fn g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean;
12418    pub fn g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean;
12419    pub fn g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean;
12420    pub fn g_output_stream_printf(
12421        stream: *mut GOutputStream,
12422        bytes_written: *mut size_t,
12423        cancellable: *mut GCancellable,
12424        error: *mut *mut glib::GError,
12425        format: *const c_char,
12426        ...
12427    ) -> gboolean;
12428    pub fn g_output_stream_set_pending(
12429        stream: *mut GOutputStream,
12430        error: *mut *mut glib::GError,
12431    ) -> gboolean;
12432    pub fn g_output_stream_splice(
12433        stream: *mut GOutputStream,
12434        source: *mut GInputStream,
12435        flags: GOutputStreamSpliceFlags,
12436        cancellable: *mut GCancellable,
12437        error: *mut *mut glib::GError,
12438    ) -> ssize_t;
12439    pub fn g_output_stream_splice_async(
12440        stream: *mut GOutputStream,
12441        source: *mut GInputStream,
12442        flags: GOutputStreamSpliceFlags,
12443        io_priority: c_int,
12444        cancellable: *mut GCancellable,
12445        callback: GAsyncReadyCallback,
12446        user_data: gpointer,
12447    );
12448    pub fn g_output_stream_splice_finish(
12449        stream: *mut GOutputStream,
12450        result: *mut GAsyncResult,
12451        error: *mut *mut glib::GError,
12452    ) -> ssize_t;
12453    //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;
12454    pub fn g_output_stream_write(
12455        stream: *mut GOutputStream,
12456        buffer: *mut u8,
12457        count: size_t,
12458        cancellable: *mut GCancellable,
12459        error: *mut *mut glib::GError,
12460    ) -> ssize_t;
12461    pub fn g_output_stream_write_all(
12462        stream: *mut GOutputStream,
12463        buffer: *mut u8,
12464        count: size_t,
12465        bytes_written: *mut size_t,
12466        cancellable: *mut GCancellable,
12467        error: *mut *mut glib::GError,
12468    ) -> gboolean;
12469    pub fn g_output_stream_write_all_async(
12470        stream: *mut GOutputStream,
12471        buffer: *mut u8,
12472        count: size_t,
12473        io_priority: c_int,
12474        cancellable: *mut GCancellable,
12475        callback: GAsyncReadyCallback,
12476        user_data: gpointer,
12477    );
12478    pub fn g_output_stream_write_all_finish(
12479        stream: *mut GOutputStream,
12480        result: *mut GAsyncResult,
12481        bytes_written: *mut size_t,
12482        error: *mut *mut glib::GError,
12483    ) -> gboolean;
12484    pub fn g_output_stream_write_async(
12485        stream: *mut GOutputStream,
12486        buffer: *mut u8,
12487        count: size_t,
12488        io_priority: c_int,
12489        cancellable: *mut GCancellable,
12490        callback: GAsyncReadyCallback,
12491        user_data: gpointer,
12492    );
12493    pub fn g_output_stream_write_bytes(
12494        stream: *mut GOutputStream,
12495        bytes: *mut glib::GBytes,
12496        cancellable: *mut GCancellable,
12497        error: *mut *mut glib::GError,
12498    ) -> ssize_t;
12499    pub fn g_output_stream_write_bytes_async(
12500        stream: *mut GOutputStream,
12501        bytes: *mut glib::GBytes,
12502        io_priority: c_int,
12503        cancellable: *mut GCancellable,
12504        callback: GAsyncReadyCallback,
12505        user_data: gpointer,
12506    );
12507    pub fn g_output_stream_write_bytes_finish(
12508        stream: *mut GOutputStream,
12509        result: *mut GAsyncResult,
12510        error: *mut *mut glib::GError,
12511    ) -> ssize_t;
12512    pub fn g_output_stream_write_finish(
12513        stream: *mut GOutputStream,
12514        result: *mut GAsyncResult,
12515        error: *mut *mut glib::GError,
12516    ) -> ssize_t;
12517    #[cfg(feature = "v2_60")]
12518    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12519    pub fn g_output_stream_writev(
12520        stream: *mut GOutputStream,
12521        vectors: *const GOutputVector,
12522        n_vectors: size_t,
12523        bytes_written: *mut size_t,
12524        cancellable: *mut GCancellable,
12525        error: *mut *mut glib::GError,
12526    ) -> gboolean;
12527    #[cfg(feature = "v2_60")]
12528    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12529    pub fn g_output_stream_writev_all(
12530        stream: *mut GOutputStream,
12531        vectors: *mut GOutputVector,
12532        n_vectors: size_t,
12533        bytes_written: *mut size_t,
12534        cancellable: *mut GCancellable,
12535        error: *mut *mut glib::GError,
12536    ) -> gboolean;
12537    #[cfg(feature = "v2_60")]
12538    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12539    pub fn g_output_stream_writev_all_async(
12540        stream: *mut GOutputStream,
12541        vectors: *mut GOutputVector,
12542        n_vectors: size_t,
12543        io_priority: c_int,
12544        cancellable: *mut GCancellable,
12545        callback: GAsyncReadyCallback,
12546        user_data: gpointer,
12547    );
12548    #[cfg(feature = "v2_60")]
12549    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12550    pub fn g_output_stream_writev_all_finish(
12551        stream: *mut GOutputStream,
12552        result: *mut GAsyncResult,
12553        bytes_written: *mut size_t,
12554        error: *mut *mut glib::GError,
12555    ) -> gboolean;
12556    #[cfg(feature = "v2_60")]
12557    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12558    pub fn g_output_stream_writev_async(
12559        stream: *mut GOutputStream,
12560        vectors: *const GOutputVector,
12561        n_vectors: size_t,
12562        io_priority: c_int,
12563        cancellable: *mut GCancellable,
12564        callback: GAsyncReadyCallback,
12565        user_data: gpointer,
12566    );
12567    #[cfg(feature = "v2_60")]
12568    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12569    pub fn g_output_stream_writev_finish(
12570        stream: *mut GOutputStream,
12571        result: *mut GAsyncResult,
12572        bytes_written: *mut size_t,
12573        error: *mut *mut glib::GError,
12574    ) -> gboolean;
12575
12576    //=========================================================================
12577    // GPermission
12578    //=========================================================================
12579    pub fn g_permission_get_type() -> GType;
12580    pub fn g_permission_acquire(
12581        permission: *mut GPermission,
12582        cancellable: *mut GCancellable,
12583        error: *mut *mut glib::GError,
12584    ) -> gboolean;
12585    pub fn g_permission_acquire_async(
12586        permission: *mut GPermission,
12587        cancellable: *mut GCancellable,
12588        callback: GAsyncReadyCallback,
12589        user_data: gpointer,
12590    );
12591    pub fn g_permission_acquire_finish(
12592        permission: *mut GPermission,
12593        result: *mut GAsyncResult,
12594        error: *mut *mut glib::GError,
12595    ) -> gboolean;
12596    pub fn g_permission_get_allowed(permission: *mut GPermission) -> gboolean;
12597    pub fn g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean;
12598    pub fn g_permission_get_can_release(permission: *mut GPermission) -> gboolean;
12599    pub fn g_permission_impl_update(
12600        permission: *mut GPermission,
12601        allowed: gboolean,
12602        can_acquire: gboolean,
12603        can_release: gboolean,
12604    );
12605    pub fn g_permission_release(
12606        permission: *mut GPermission,
12607        cancellable: *mut GCancellable,
12608        error: *mut *mut glib::GError,
12609    ) -> gboolean;
12610    pub fn g_permission_release_async(
12611        permission: *mut GPermission,
12612        cancellable: *mut GCancellable,
12613        callback: GAsyncReadyCallback,
12614        user_data: gpointer,
12615    );
12616    pub fn g_permission_release_finish(
12617        permission: *mut GPermission,
12618        result: *mut GAsyncResult,
12619        error: *mut *mut glib::GError,
12620    ) -> gboolean;
12621
12622    //=========================================================================
12623    // GPropertyAction
12624    //=========================================================================
12625    pub fn g_property_action_get_type() -> GType;
12626    pub fn g_property_action_new(
12627        name: *const c_char,
12628        object: *mut gobject::GObject,
12629        property_name: *const c_char,
12630    ) -> *mut GPropertyAction;
12631
12632    //=========================================================================
12633    // GProxyAddress
12634    //=========================================================================
12635    pub fn g_proxy_address_get_type() -> GType;
12636    pub fn g_proxy_address_new(
12637        inetaddr: *mut GInetAddress,
12638        port: u16,
12639        protocol: *const c_char,
12640        dest_hostname: *const c_char,
12641        dest_port: u16,
12642        username: *const c_char,
12643        password: *const c_char,
12644    ) -> *mut GSocketAddress;
12645    pub fn g_proxy_address_get_destination_hostname(proxy: *mut GProxyAddress) -> *const c_char;
12646    pub fn g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> u16;
12647    pub fn g_proxy_address_get_destination_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12648    pub fn g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const c_char;
12649    pub fn g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const c_char;
12650    pub fn g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const c_char;
12651    pub fn g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const c_char;
12652
12653    //=========================================================================
12654    // GProxyAddressEnumerator
12655    //=========================================================================
12656    pub fn g_proxy_address_enumerator_get_type() -> GType;
12657
12658    //=========================================================================
12659    // GResolver
12660    //=========================================================================
12661    pub fn g_resolver_get_type() -> GType;
12662    pub fn g_resolver_free_addresses(addresses: *mut glib::GList);
12663    pub fn g_resolver_free_targets(targets: *mut glib::GList);
12664    pub fn g_resolver_get_default() -> *mut GResolver;
12665    #[cfg(feature = "v2_78")]
12666    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12667    pub fn g_resolver_get_timeout(resolver: *mut GResolver) -> c_uint;
12668    pub fn g_resolver_lookup_by_address(
12669        resolver: *mut GResolver,
12670        address: *mut GInetAddress,
12671        cancellable: *mut GCancellable,
12672        error: *mut *mut glib::GError,
12673    ) -> *mut c_char;
12674    pub fn g_resolver_lookup_by_address_async(
12675        resolver: *mut GResolver,
12676        address: *mut GInetAddress,
12677        cancellable: *mut GCancellable,
12678        callback: GAsyncReadyCallback,
12679        user_data: gpointer,
12680    );
12681    pub fn g_resolver_lookup_by_address_finish(
12682        resolver: *mut GResolver,
12683        result: *mut GAsyncResult,
12684        error: *mut *mut glib::GError,
12685    ) -> *mut c_char;
12686    pub fn g_resolver_lookup_by_name(
12687        resolver: *mut GResolver,
12688        hostname: *const c_char,
12689        cancellable: *mut GCancellable,
12690        error: *mut *mut glib::GError,
12691    ) -> *mut glib::GList;
12692    pub fn g_resolver_lookup_by_name_async(
12693        resolver: *mut GResolver,
12694        hostname: *const c_char,
12695        cancellable: *mut GCancellable,
12696        callback: GAsyncReadyCallback,
12697        user_data: gpointer,
12698    );
12699    pub fn g_resolver_lookup_by_name_finish(
12700        resolver: *mut GResolver,
12701        result: *mut GAsyncResult,
12702        error: *mut *mut glib::GError,
12703    ) -> *mut glib::GList;
12704    #[cfg(feature = "v2_60")]
12705    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12706    pub fn g_resolver_lookup_by_name_with_flags(
12707        resolver: *mut GResolver,
12708        hostname: *const c_char,
12709        flags: GResolverNameLookupFlags,
12710        cancellable: *mut GCancellable,
12711        error: *mut *mut glib::GError,
12712    ) -> *mut glib::GList;
12713    #[cfg(feature = "v2_60")]
12714    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12715    pub fn g_resolver_lookup_by_name_with_flags_async(
12716        resolver: *mut GResolver,
12717        hostname: *const c_char,
12718        flags: GResolverNameLookupFlags,
12719        cancellable: *mut GCancellable,
12720        callback: GAsyncReadyCallback,
12721        user_data: gpointer,
12722    );
12723    #[cfg(feature = "v2_60")]
12724    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
12725    pub fn g_resolver_lookup_by_name_with_flags_finish(
12726        resolver: *mut GResolver,
12727        result: *mut GAsyncResult,
12728        error: *mut *mut glib::GError,
12729    ) -> *mut glib::GList;
12730    pub fn g_resolver_lookup_records(
12731        resolver: *mut GResolver,
12732        rrname: *const c_char,
12733        record_type: GResolverRecordType,
12734        cancellable: *mut GCancellable,
12735        error: *mut *mut glib::GError,
12736    ) -> *mut glib::GList;
12737    pub fn g_resolver_lookup_records_async(
12738        resolver: *mut GResolver,
12739        rrname: *const c_char,
12740        record_type: GResolverRecordType,
12741        cancellable: *mut GCancellable,
12742        callback: GAsyncReadyCallback,
12743        user_data: gpointer,
12744    );
12745    pub fn g_resolver_lookup_records_finish(
12746        resolver: *mut GResolver,
12747        result: *mut GAsyncResult,
12748        error: *mut *mut glib::GError,
12749    ) -> *mut glib::GList;
12750    pub fn g_resolver_lookup_service(
12751        resolver: *mut GResolver,
12752        service: *const c_char,
12753        protocol: *const c_char,
12754        domain: *const c_char,
12755        cancellable: *mut GCancellable,
12756        error: *mut *mut glib::GError,
12757    ) -> *mut glib::GList;
12758    pub fn g_resolver_lookup_service_async(
12759        resolver: *mut GResolver,
12760        service: *const c_char,
12761        protocol: *const c_char,
12762        domain: *const c_char,
12763        cancellable: *mut GCancellable,
12764        callback: GAsyncReadyCallback,
12765        user_data: gpointer,
12766    );
12767    pub fn g_resolver_lookup_service_finish(
12768        resolver: *mut GResolver,
12769        result: *mut GAsyncResult,
12770        error: *mut *mut glib::GError,
12771    ) -> *mut glib::GList;
12772    pub fn g_resolver_set_default(resolver: *mut GResolver);
12773    #[cfg(feature = "v2_78")]
12774    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12775    pub fn g_resolver_set_timeout(resolver: *mut GResolver, timeout_ms: c_uint);
12776
12777    //=========================================================================
12778    // GSettings
12779    //=========================================================================
12780    pub fn g_settings_get_type() -> GType;
12781    pub fn g_settings_new(schema_id: *const c_char) -> *mut GSettings;
12782    pub fn g_settings_new_full(
12783        schema: *mut GSettingsSchema,
12784        backend: *mut GSettingsBackend,
12785        path: *const c_char,
12786    ) -> *mut GSettings;
12787    pub fn g_settings_new_with_backend(
12788        schema_id: *const c_char,
12789        backend: *mut GSettingsBackend,
12790    ) -> *mut GSettings;
12791    pub fn g_settings_new_with_backend_and_path(
12792        schema_id: *const c_char,
12793        backend: *mut GSettingsBackend,
12794        path: *const c_char,
12795    ) -> *mut GSettings;
12796    pub fn g_settings_new_with_path(
12797        schema_id: *const c_char,
12798        path: *const c_char,
12799    ) -> *mut GSettings;
12800    pub fn g_settings_list_relocatable_schemas() -> *const *const c_char;
12801    pub fn g_settings_list_schemas() -> *const *const c_char;
12802    pub fn g_settings_sync();
12803    pub fn g_settings_unbind(object: *mut gobject::GObject, property: *const c_char);
12804    pub fn g_settings_apply(settings: *mut GSettings);
12805    pub fn g_settings_bind(
12806        settings: *mut GSettings,
12807        key: *const c_char,
12808        object: *mut gobject::GObject,
12809        property: *const c_char,
12810        flags: GSettingsBindFlags,
12811    );
12812    pub fn g_settings_bind_with_mapping(
12813        settings: *mut GSettings,
12814        key: *const c_char,
12815        object: *mut gobject::GObject,
12816        property: *const c_char,
12817        flags: GSettingsBindFlags,
12818        get_mapping: GSettingsBindGetMapping,
12819        set_mapping: GSettingsBindSetMapping,
12820        user_data: gpointer,
12821        destroy: glib::GDestroyNotify,
12822    );
12823    #[cfg(feature = "v2_82")]
12824    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
12825    pub fn g_settings_bind_with_mapping_closures(
12826        settings: *mut GSettings,
12827        key: *const c_char,
12828        object: *mut gobject::GObject,
12829        property: *const c_char,
12830        flags: GSettingsBindFlags,
12831        get_mapping: *mut gobject::GClosure,
12832        set_mapping: *mut gobject::GClosure,
12833    );
12834    pub fn g_settings_bind_writable(
12835        settings: *mut GSettings,
12836        key: *const c_char,
12837        object: *mut gobject::GObject,
12838        property: *const c_char,
12839        inverted: gboolean,
12840    );
12841    pub fn g_settings_create_action(settings: *mut GSettings, key: *const c_char) -> *mut GAction;
12842    pub fn g_settings_delay(settings: *mut GSettings);
12843    pub fn g_settings_get(settings: *mut GSettings, key: *const c_char, format: *const c_char, ...);
12844    pub fn g_settings_get_boolean(settings: *mut GSettings, key: *const c_char) -> gboolean;
12845    pub fn g_settings_get_child(settings: *mut GSettings, name: *const c_char) -> *mut GSettings;
12846    pub fn g_settings_get_default_value(
12847        settings: *mut GSettings,
12848        key: *const c_char,
12849    ) -> *mut glib::GVariant;
12850    pub fn g_settings_get_double(settings: *mut GSettings, key: *const c_char) -> c_double;
12851    pub fn g_settings_get_enum(settings: *mut GSettings, key: *const c_char) -> c_int;
12852    pub fn g_settings_get_flags(settings: *mut GSettings, key: *const c_char) -> c_uint;
12853    pub fn g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean;
12854    pub fn g_settings_get_int(settings: *mut GSettings, key: *const c_char) -> c_int;
12855    pub fn g_settings_get_int64(settings: *mut GSettings, key: *const c_char) -> i64;
12856    pub fn g_settings_get_mapped(
12857        settings: *mut GSettings,
12858        key: *const c_char,
12859        mapping: GSettingsGetMapping,
12860        user_data: gpointer,
12861    ) -> gpointer;
12862    pub fn g_settings_get_range(
12863        settings: *mut GSettings,
12864        key: *const c_char,
12865    ) -> *mut glib::GVariant;
12866    pub fn g_settings_get_string(settings: *mut GSettings, key: *const c_char) -> *mut c_char;
12867    pub fn g_settings_get_strv(settings: *mut GSettings, key: *const c_char) -> *mut *mut c_char;
12868    pub fn g_settings_get_uint(settings: *mut GSettings, key: *const c_char) -> c_uint;
12869    pub fn g_settings_get_uint64(settings: *mut GSettings, key: *const c_char) -> u64;
12870    pub fn g_settings_get_user_value(
12871        settings: *mut GSettings,
12872        key: *const c_char,
12873    ) -> *mut glib::GVariant;
12874    pub fn g_settings_get_value(
12875        settings: *mut GSettings,
12876        key: *const c_char,
12877    ) -> *mut glib::GVariant;
12878    pub fn g_settings_is_writable(settings: *mut GSettings, name: *const c_char) -> gboolean;
12879    pub fn g_settings_list_children(settings: *mut GSettings) -> *mut *mut c_char;
12880    pub fn g_settings_list_keys(settings: *mut GSettings) -> *mut *mut c_char;
12881    pub fn g_settings_range_check(
12882        settings: *mut GSettings,
12883        key: *const c_char,
12884        value: *mut glib::GVariant,
12885    ) -> gboolean;
12886    pub fn g_settings_reset(settings: *mut GSettings, key: *const c_char);
12887    pub fn g_settings_revert(settings: *mut GSettings);
12888    pub fn g_settings_set(
12889        settings: *mut GSettings,
12890        key: *const c_char,
12891        format: *const c_char,
12892        ...
12893    ) -> gboolean;
12894    pub fn g_settings_set_boolean(
12895        settings: *mut GSettings,
12896        key: *const c_char,
12897        value: gboolean,
12898    ) -> gboolean;
12899    pub fn g_settings_set_double(
12900        settings: *mut GSettings,
12901        key: *const c_char,
12902        value: c_double,
12903    ) -> gboolean;
12904    pub fn g_settings_set_enum(
12905        settings: *mut GSettings,
12906        key: *const c_char,
12907        value: c_int,
12908    ) -> gboolean;
12909    pub fn g_settings_set_flags(
12910        settings: *mut GSettings,
12911        key: *const c_char,
12912        value: c_uint,
12913    ) -> gboolean;
12914    pub fn g_settings_set_int(
12915        settings: *mut GSettings,
12916        key: *const c_char,
12917        value: c_int,
12918    ) -> gboolean;
12919    pub fn g_settings_set_int64(
12920        settings: *mut GSettings,
12921        key: *const c_char,
12922        value: i64,
12923    ) -> gboolean;
12924    pub fn g_settings_set_string(
12925        settings: *mut GSettings,
12926        key: *const c_char,
12927        value: *const c_char,
12928    ) -> gboolean;
12929    pub fn g_settings_set_strv(
12930        settings: *mut GSettings,
12931        key: *const c_char,
12932        value: *const *const c_char,
12933    ) -> gboolean;
12934    pub fn g_settings_set_uint(
12935        settings: *mut GSettings,
12936        key: *const c_char,
12937        value: c_uint,
12938    ) -> gboolean;
12939    pub fn g_settings_set_uint64(
12940        settings: *mut GSettings,
12941        key: *const c_char,
12942        value: u64,
12943    ) -> gboolean;
12944    pub fn g_settings_set_value(
12945        settings: *mut GSettings,
12946        key: *const c_char,
12947        value: *mut glib::GVariant,
12948    ) -> gboolean;
12949
12950    //=========================================================================
12951    // GSettingsBackend
12952    //=========================================================================
12953    pub fn g_settings_backend_get_type() -> GType;
12954    pub fn g_settings_backend_flatten_tree(
12955        tree: *mut glib::GTree,
12956        path: *mut *mut c_char,
12957        keys: *mut *mut *const c_char,
12958        values: *mut *mut *mut glib::GVariant,
12959    );
12960    pub fn g_settings_backend_get_default() -> *mut GSettingsBackend;
12961    pub fn g_settings_backend_changed(
12962        backend: *mut GSettingsBackend,
12963        key: *const c_char,
12964        origin_tag: gpointer,
12965    );
12966    pub fn g_settings_backend_changed_tree(
12967        backend: *mut GSettingsBackend,
12968        tree: *mut glib::GTree,
12969        origin_tag: gpointer,
12970    );
12971    pub fn g_settings_backend_keys_changed(
12972        backend: *mut GSettingsBackend,
12973        path: *const c_char,
12974        items: *const *const c_char,
12975        origin_tag: gpointer,
12976    );
12977    pub fn g_settings_backend_path_changed(
12978        backend: *mut GSettingsBackend,
12979        path: *const c_char,
12980        origin_tag: gpointer,
12981    );
12982    pub fn g_settings_backend_path_writable_changed(
12983        backend: *mut GSettingsBackend,
12984        path: *const c_char,
12985    );
12986    pub fn g_settings_backend_writable_changed(backend: *mut GSettingsBackend, key: *const c_char);
12987
12988    //=========================================================================
12989    // GSimpleAction
12990    //=========================================================================
12991    pub fn g_simple_action_get_type() -> GType;
12992    pub fn g_simple_action_new(
12993        name: *const c_char,
12994        parameter_type: *const glib::GVariantType,
12995    ) -> *mut GSimpleAction;
12996    pub fn g_simple_action_new_stateful(
12997        name: *const c_char,
12998        parameter_type: *const glib::GVariantType,
12999        state: *mut glib::GVariant,
13000    ) -> *mut GSimpleAction;
13001    pub fn g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean);
13002    pub fn g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut glib::GVariant);
13003    pub fn g_simple_action_set_state_hint(
13004        simple: *mut GSimpleAction,
13005        state_hint: *mut glib::GVariant,
13006    );
13007
13008    //=========================================================================
13009    // GSimpleActionGroup
13010    //=========================================================================
13011    pub fn g_simple_action_group_get_type() -> GType;
13012    pub fn g_simple_action_group_new() -> *mut GSimpleActionGroup;
13013    pub fn g_simple_action_group_add_entries(
13014        simple: *mut GSimpleActionGroup,
13015        entries: *const GActionEntry,
13016        n_entries: c_int,
13017        user_data: gpointer,
13018    );
13019    pub fn g_simple_action_group_insert(simple: *mut GSimpleActionGroup, action: *mut GAction);
13020    pub fn g_simple_action_group_lookup(
13021        simple: *mut GSimpleActionGroup,
13022        action_name: *const c_char,
13023    ) -> *mut GAction;
13024    pub fn g_simple_action_group_remove(
13025        simple: *mut GSimpleActionGroup,
13026        action_name: *const c_char,
13027    );
13028
13029    //=========================================================================
13030    // GSimpleAsyncResult
13031    //=========================================================================
13032    pub fn g_simple_async_result_get_type() -> GType;
13033    pub fn g_simple_async_result_new(
13034        source_object: *mut gobject::GObject,
13035        callback: GAsyncReadyCallback,
13036        user_data: gpointer,
13037        source_tag: gpointer,
13038    ) -> *mut GSimpleAsyncResult;
13039    pub fn g_simple_async_result_new_error(
13040        source_object: *mut gobject::GObject,
13041        callback: GAsyncReadyCallback,
13042        user_data: gpointer,
13043        domain: glib::GQuark,
13044        code: c_int,
13045        format: *const c_char,
13046        ...
13047    ) -> *mut GSimpleAsyncResult;
13048    pub fn g_simple_async_result_new_from_error(
13049        source_object: *mut gobject::GObject,
13050        callback: GAsyncReadyCallback,
13051        user_data: gpointer,
13052        error: *const glib::GError,
13053    ) -> *mut GSimpleAsyncResult;
13054    pub fn g_simple_async_result_new_take_error(
13055        source_object: *mut gobject::GObject,
13056        callback: GAsyncReadyCallback,
13057        user_data: gpointer,
13058        error: *mut glib::GError,
13059    ) -> *mut GSimpleAsyncResult;
13060    pub fn g_simple_async_result_is_valid(
13061        result: *mut GAsyncResult,
13062        source: *mut gobject::GObject,
13063        source_tag: gpointer,
13064    ) -> gboolean;
13065    pub fn g_simple_async_result_complete(simple: *mut GSimpleAsyncResult);
13066    pub fn g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult);
13067    pub fn g_simple_async_result_get_op_res_gboolean(simple: *mut GSimpleAsyncResult) -> gboolean;
13068    pub fn g_simple_async_result_get_op_res_gpointer(simple: *mut GSimpleAsyncResult) -> gpointer;
13069    pub fn g_simple_async_result_get_op_res_gssize(simple: *mut GSimpleAsyncResult) -> ssize_t;
13070    pub fn g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult) -> gpointer;
13071    pub fn g_simple_async_result_propagate_error(
13072        simple: *mut GSimpleAsyncResult,
13073        error: *mut *mut glib::GError,
13074    ) -> gboolean;
13075    pub fn g_simple_async_result_run_in_thread(
13076        simple: *mut GSimpleAsyncResult,
13077        func: GSimpleAsyncThreadFunc,
13078        io_priority: c_int,
13079        cancellable: *mut GCancellable,
13080    );
13081    pub fn g_simple_async_result_set_check_cancellable(
13082        simple: *mut GSimpleAsyncResult,
13083        check_cancellable: *mut GCancellable,
13084    );
13085    pub fn g_simple_async_result_set_error(
13086        simple: *mut GSimpleAsyncResult,
13087        domain: glib::GQuark,
13088        code: c_int,
13089        format: *const c_char,
13090        ...
13091    );
13092    //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);
13093    pub fn g_simple_async_result_set_from_error(
13094        simple: *mut GSimpleAsyncResult,
13095        error: *const glib::GError,
13096    );
13097    pub fn g_simple_async_result_set_handle_cancellation(
13098        simple: *mut GSimpleAsyncResult,
13099        handle_cancellation: gboolean,
13100    );
13101    pub fn g_simple_async_result_set_op_res_gboolean(
13102        simple: *mut GSimpleAsyncResult,
13103        op_res: gboolean,
13104    );
13105    pub fn g_simple_async_result_set_op_res_gpointer(
13106        simple: *mut GSimpleAsyncResult,
13107        op_res: gpointer,
13108        destroy_op_res: glib::GDestroyNotify,
13109    );
13110    pub fn g_simple_async_result_set_op_res_gssize(
13111        simple: *mut GSimpleAsyncResult,
13112        op_res: ssize_t,
13113    );
13114    pub fn g_simple_async_result_take_error(
13115        simple: *mut GSimpleAsyncResult,
13116        error: *mut glib::GError,
13117    );
13118
13119    //=========================================================================
13120    // GSimpleIOStream
13121    //=========================================================================
13122    pub fn g_simple_io_stream_get_type() -> GType;
13123    pub fn g_simple_io_stream_new(
13124        input_stream: *mut GInputStream,
13125        output_stream: *mut GOutputStream,
13126    ) -> *mut GIOStream;
13127
13128    //=========================================================================
13129    // GSimplePermission
13130    //=========================================================================
13131    pub fn g_simple_permission_get_type() -> GType;
13132    pub fn g_simple_permission_new(allowed: gboolean) -> *mut GPermission;
13133
13134    //=========================================================================
13135    // GSimpleProxyResolver
13136    //=========================================================================
13137    pub fn g_simple_proxy_resolver_get_type() -> GType;
13138    pub fn g_simple_proxy_resolver_new(
13139        default_proxy: *const c_char,
13140        ignore_hosts: *mut *mut c_char,
13141    ) -> *mut GProxyResolver;
13142    pub fn g_simple_proxy_resolver_set_default_proxy(
13143        resolver: *mut GSimpleProxyResolver,
13144        default_proxy: *const c_char,
13145    );
13146    pub fn g_simple_proxy_resolver_set_ignore_hosts(
13147        resolver: *mut GSimpleProxyResolver,
13148        ignore_hosts: *mut *mut c_char,
13149    );
13150    pub fn g_simple_proxy_resolver_set_uri_proxy(
13151        resolver: *mut GSimpleProxyResolver,
13152        uri_scheme: *const c_char,
13153        proxy: *const c_char,
13154    );
13155
13156    //=========================================================================
13157    // GSocket
13158    //=========================================================================
13159    pub fn g_socket_get_type() -> GType;
13160    pub fn g_socket_new(
13161        family: GSocketFamily,
13162        type_: GSocketType,
13163        protocol: GSocketProtocol,
13164        error: *mut *mut glib::GError,
13165    ) -> *mut GSocket;
13166    pub fn g_socket_new_from_fd(fd: c_int, error: *mut *mut glib::GError) -> *mut GSocket;
13167    pub fn g_socket_accept(
13168        socket: *mut GSocket,
13169        cancellable: *mut GCancellable,
13170        error: *mut *mut glib::GError,
13171    ) -> *mut GSocket;
13172    pub fn g_socket_bind(
13173        socket: *mut GSocket,
13174        address: *mut GSocketAddress,
13175        allow_reuse: gboolean,
13176        error: *mut *mut glib::GError,
13177    ) -> gboolean;
13178    pub fn g_socket_check_connect_result(
13179        socket: *mut GSocket,
13180        error: *mut *mut glib::GError,
13181    ) -> gboolean;
13182    pub fn g_socket_close(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13183    pub fn g_socket_condition_check(
13184        socket: *mut GSocket,
13185        condition: glib::GIOCondition,
13186    ) -> glib::GIOCondition;
13187    pub fn g_socket_condition_timed_wait(
13188        socket: *mut GSocket,
13189        condition: glib::GIOCondition,
13190        timeout_us: i64,
13191        cancellable: *mut GCancellable,
13192        error: *mut *mut glib::GError,
13193    ) -> gboolean;
13194    pub fn g_socket_condition_wait(
13195        socket: *mut GSocket,
13196        condition: glib::GIOCondition,
13197        cancellable: *mut GCancellable,
13198        error: *mut *mut glib::GError,
13199    ) -> gboolean;
13200    pub fn g_socket_connect(
13201        socket: *mut GSocket,
13202        address: *mut GSocketAddress,
13203        cancellable: *mut GCancellable,
13204        error: *mut *mut glib::GError,
13205    ) -> gboolean;
13206    pub fn g_socket_connection_factory_create_connection(
13207        socket: *mut GSocket,
13208    ) -> *mut GSocketConnection;
13209    pub fn g_socket_create_source(
13210        socket: *mut GSocket,
13211        condition: glib::GIOCondition,
13212        cancellable: *mut GCancellable,
13213    ) -> *mut glib::GSource;
13214    pub fn g_socket_get_available_bytes(socket: *mut GSocket) -> ssize_t;
13215    pub fn g_socket_get_blocking(socket: *mut GSocket) -> gboolean;
13216    pub fn g_socket_get_broadcast(socket: *mut GSocket) -> gboolean;
13217    pub fn g_socket_get_credentials(
13218        socket: *mut GSocket,
13219        error: *mut *mut glib::GError,
13220    ) -> *mut GCredentials;
13221    pub fn g_socket_get_family(socket: *mut GSocket) -> GSocketFamily;
13222    pub fn g_socket_get_fd(socket: *mut GSocket) -> c_int;
13223    pub fn g_socket_get_keepalive(socket: *mut GSocket) -> gboolean;
13224    pub fn g_socket_get_listen_backlog(socket: *mut GSocket) -> c_int;
13225    pub fn g_socket_get_local_address(
13226        socket: *mut GSocket,
13227        error: *mut *mut glib::GError,
13228    ) -> *mut GSocketAddress;
13229    pub fn g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean;
13230    pub fn g_socket_get_multicast_ttl(socket: *mut GSocket) -> c_uint;
13231    pub fn g_socket_get_option(
13232        socket: *mut GSocket,
13233        level: c_int,
13234        optname: c_int,
13235        value: *mut c_int,
13236        error: *mut *mut glib::GError,
13237    ) -> gboolean;
13238    pub fn g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol;
13239    pub fn g_socket_get_remote_address(
13240        socket: *mut GSocket,
13241        error: *mut *mut glib::GError,
13242    ) -> *mut GSocketAddress;
13243    pub fn g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType;
13244    pub fn g_socket_get_timeout(socket: *mut GSocket) -> c_uint;
13245    pub fn g_socket_get_ttl(socket: *mut GSocket) -> c_uint;
13246    pub fn g_socket_is_closed(socket: *mut GSocket) -> gboolean;
13247    pub fn g_socket_is_connected(socket: *mut GSocket) -> gboolean;
13248    pub fn g_socket_join_multicast_group(
13249        socket: *mut GSocket,
13250        group: *mut GInetAddress,
13251        source_specific: gboolean,
13252        iface: *const c_char,
13253        error: *mut *mut glib::GError,
13254    ) -> gboolean;
13255    pub fn g_socket_join_multicast_group_ssm(
13256        socket: *mut GSocket,
13257        group: *mut GInetAddress,
13258        source_specific: *mut GInetAddress,
13259        iface: *const c_char,
13260        error: *mut *mut glib::GError,
13261    ) -> gboolean;
13262    pub fn g_socket_leave_multicast_group(
13263        socket: *mut GSocket,
13264        group: *mut GInetAddress,
13265        source_specific: gboolean,
13266        iface: *const c_char,
13267        error: *mut *mut glib::GError,
13268    ) -> gboolean;
13269    pub fn g_socket_leave_multicast_group_ssm(
13270        socket: *mut GSocket,
13271        group: *mut GInetAddress,
13272        source_specific: *mut GInetAddress,
13273        iface: *const c_char,
13274        error: *mut *mut glib::GError,
13275    ) -> gboolean;
13276    pub fn g_socket_listen(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean;
13277    pub fn g_socket_receive(
13278        socket: *mut GSocket,
13279        buffer: *mut u8,
13280        size: size_t,
13281        cancellable: *mut GCancellable,
13282        error: *mut *mut glib::GError,
13283    ) -> ssize_t;
13284    #[cfg(feature = "v2_80")]
13285    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13286    pub fn g_socket_receive_bytes(
13287        socket: *mut GSocket,
13288        size: size_t,
13289        timeout_us: i64,
13290        cancellable: *mut GCancellable,
13291        error: *mut *mut glib::GError,
13292    ) -> *mut glib::GBytes;
13293    #[cfg(feature = "v2_80")]
13294    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13295    pub fn g_socket_receive_bytes_from(
13296        socket: *mut GSocket,
13297        address: *mut *mut GSocketAddress,
13298        size: size_t,
13299        timeout_us: i64,
13300        cancellable: *mut GCancellable,
13301        error: *mut *mut glib::GError,
13302    ) -> *mut glib::GBytes;
13303    pub fn g_socket_receive_from(
13304        socket: *mut GSocket,
13305        address: *mut *mut GSocketAddress,
13306        buffer: *mut u8,
13307        size: size_t,
13308        cancellable: *mut GCancellable,
13309        error: *mut *mut glib::GError,
13310    ) -> ssize_t;
13311    pub fn g_socket_receive_message(
13312        socket: *mut GSocket,
13313        address: *mut *mut GSocketAddress,
13314        vectors: *mut GInputVector,
13315        num_vectors: c_int,
13316        messages: *mut *mut *mut GSocketControlMessage,
13317        num_messages: *mut c_int,
13318        flags: *mut c_int,
13319        cancellable: *mut GCancellable,
13320        error: *mut *mut glib::GError,
13321    ) -> ssize_t;
13322    pub fn g_socket_receive_messages(
13323        socket: *mut GSocket,
13324        messages: *mut GInputMessage,
13325        num_messages: c_uint,
13326        flags: c_int,
13327        cancellable: *mut GCancellable,
13328        error: *mut *mut glib::GError,
13329    ) -> c_int;
13330    pub fn g_socket_receive_with_blocking(
13331        socket: *mut GSocket,
13332        buffer: *mut u8,
13333        size: size_t,
13334        blocking: gboolean,
13335        cancellable: *mut GCancellable,
13336        error: *mut *mut glib::GError,
13337    ) -> ssize_t;
13338    pub fn g_socket_send(
13339        socket: *mut GSocket,
13340        buffer: *const u8,
13341        size: size_t,
13342        cancellable: *mut GCancellable,
13343        error: *mut *mut glib::GError,
13344    ) -> ssize_t;
13345    pub fn g_socket_send_message(
13346        socket: *mut GSocket,
13347        address: *mut GSocketAddress,
13348        vectors: *mut GOutputVector,
13349        num_vectors: c_int,
13350        messages: *mut *mut GSocketControlMessage,
13351        num_messages: c_int,
13352        flags: c_int,
13353        cancellable: *mut GCancellable,
13354        error: *mut *mut glib::GError,
13355    ) -> ssize_t;
13356    #[cfg(feature = "v2_60")]
13357    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13358    pub fn g_socket_send_message_with_timeout(
13359        socket: *mut GSocket,
13360        address: *mut GSocketAddress,
13361        vectors: *const GOutputVector,
13362        num_vectors: c_int,
13363        messages: *mut *mut GSocketControlMessage,
13364        num_messages: c_int,
13365        flags: c_int,
13366        timeout_us: i64,
13367        bytes_written: *mut size_t,
13368        cancellable: *mut GCancellable,
13369        error: *mut *mut glib::GError,
13370    ) -> GPollableReturn;
13371    pub fn g_socket_send_messages(
13372        socket: *mut GSocket,
13373        messages: *mut GOutputMessage,
13374        num_messages: c_uint,
13375        flags: c_int,
13376        cancellable: *mut GCancellable,
13377        error: *mut *mut glib::GError,
13378    ) -> c_int;
13379    pub fn g_socket_send_to(
13380        socket: *mut GSocket,
13381        address: *mut GSocketAddress,
13382        buffer: *const u8,
13383        size: size_t,
13384        cancellable: *mut GCancellable,
13385        error: *mut *mut glib::GError,
13386    ) -> ssize_t;
13387    pub fn g_socket_send_with_blocking(
13388        socket: *mut GSocket,
13389        buffer: *const u8,
13390        size: size_t,
13391        blocking: gboolean,
13392        cancellable: *mut GCancellable,
13393        error: *mut *mut glib::GError,
13394    ) -> ssize_t;
13395    pub fn g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean);
13396    pub fn g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean);
13397    pub fn g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean);
13398    pub fn g_socket_set_listen_backlog(socket: *mut GSocket, backlog: c_int);
13399    pub fn g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean);
13400    pub fn g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: c_uint);
13401    pub fn g_socket_set_option(
13402        socket: *mut GSocket,
13403        level: c_int,
13404        optname: c_int,
13405        value: c_int,
13406        error: *mut *mut glib::GError,
13407    ) -> gboolean;
13408    pub fn g_socket_set_timeout(socket: *mut GSocket, timeout: c_uint);
13409    pub fn g_socket_set_ttl(socket: *mut GSocket, ttl: c_uint);
13410    pub fn g_socket_shutdown(
13411        socket: *mut GSocket,
13412        shutdown_read: gboolean,
13413        shutdown_write: gboolean,
13414        error: *mut *mut glib::GError,
13415    ) -> gboolean;
13416    pub fn g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean;
13417
13418    //=========================================================================
13419    // GSocketAddress
13420    //=========================================================================
13421    pub fn g_socket_address_get_type() -> GType;
13422    pub fn g_socket_address_new_from_native(native: gpointer, len: size_t) -> *mut GSocketAddress;
13423    pub fn g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily;
13424    pub fn g_socket_address_get_native_size(address: *mut GSocketAddress) -> ssize_t;
13425    pub fn g_socket_address_to_native(
13426        address: *mut GSocketAddress,
13427        dest: gpointer,
13428        destlen: size_t,
13429        error: *mut *mut glib::GError,
13430    ) -> gboolean;
13431
13432    //=========================================================================
13433    // GSocketAddressEnumerator
13434    //=========================================================================
13435    pub fn g_socket_address_enumerator_get_type() -> GType;
13436    pub fn g_socket_address_enumerator_next(
13437        enumerator: *mut GSocketAddressEnumerator,
13438        cancellable: *mut GCancellable,
13439        error: *mut *mut glib::GError,
13440    ) -> *mut GSocketAddress;
13441    pub fn g_socket_address_enumerator_next_async(
13442        enumerator: *mut GSocketAddressEnumerator,
13443        cancellable: *mut GCancellable,
13444        callback: GAsyncReadyCallback,
13445        user_data: gpointer,
13446    );
13447    pub fn g_socket_address_enumerator_next_finish(
13448        enumerator: *mut GSocketAddressEnumerator,
13449        result: *mut GAsyncResult,
13450        error: *mut *mut glib::GError,
13451    ) -> *mut GSocketAddress;
13452
13453    //=========================================================================
13454    // GSocketClient
13455    //=========================================================================
13456    pub fn g_socket_client_get_type() -> GType;
13457    pub fn g_socket_client_new() -> *mut GSocketClient;
13458    pub fn g_socket_client_add_application_proxy(
13459        client: *mut GSocketClient,
13460        protocol: *const c_char,
13461    );
13462    pub fn g_socket_client_connect(
13463        client: *mut GSocketClient,
13464        connectable: *mut GSocketConnectable,
13465        cancellable: *mut GCancellable,
13466        error: *mut *mut glib::GError,
13467    ) -> *mut GSocketConnection;
13468    pub fn g_socket_client_connect_async(
13469        client: *mut GSocketClient,
13470        connectable: *mut GSocketConnectable,
13471        cancellable: *mut GCancellable,
13472        callback: GAsyncReadyCallback,
13473        user_data: gpointer,
13474    );
13475    pub fn g_socket_client_connect_finish(
13476        client: *mut GSocketClient,
13477        result: *mut GAsyncResult,
13478        error: *mut *mut glib::GError,
13479    ) -> *mut GSocketConnection;
13480    pub fn g_socket_client_connect_to_host(
13481        client: *mut GSocketClient,
13482        host_and_port: *const c_char,
13483        default_port: u16,
13484        cancellable: *mut GCancellable,
13485        error: *mut *mut glib::GError,
13486    ) -> *mut GSocketConnection;
13487    pub fn g_socket_client_connect_to_host_async(
13488        client: *mut GSocketClient,
13489        host_and_port: *const c_char,
13490        default_port: u16,
13491        cancellable: *mut GCancellable,
13492        callback: GAsyncReadyCallback,
13493        user_data: gpointer,
13494    );
13495    pub fn g_socket_client_connect_to_host_finish(
13496        client: *mut GSocketClient,
13497        result: *mut GAsyncResult,
13498        error: *mut *mut glib::GError,
13499    ) -> *mut GSocketConnection;
13500    pub fn g_socket_client_connect_to_service(
13501        client: *mut GSocketClient,
13502        domain: *const c_char,
13503        service: *const c_char,
13504        cancellable: *mut GCancellable,
13505        error: *mut *mut glib::GError,
13506    ) -> *mut GSocketConnection;
13507    pub fn g_socket_client_connect_to_service_async(
13508        client: *mut GSocketClient,
13509        domain: *const c_char,
13510        service: *const c_char,
13511        cancellable: *mut GCancellable,
13512        callback: GAsyncReadyCallback,
13513        user_data: gpointer,
13514    );
13515    pub fn g_socket_client_connect_to_service_finish(
13516        client: *mut GSocketClient,
13517        result: *mut GAsyncResult,
13518        error: *mut *mut glib::GError,
13519    ) -> *mut GSocketConnection;
13520    pub fn g_socket_client_connect_to_uri(
13521        client: *mut GSocketClient,
13522        uri: *const c_char,
13523        default_port: u16,
13524        cancellable: *mut GCancellable,
13525        error: *mut *mut glib::GError,
13526    ) -> *mut GSocketConnection;
13527    pub fn g_socket_client_connect_to_uri_async(
13528        client: *mut GSocketClient,
13529        uri: *const c_char,
13530        default_port: u16,
13531        cancellable: *mut GCancellable,
13532        callback: GAsyncReadyCallback,
13533        user_data: gpointer,
13534    );
13535    pub fn g_socket_client_connect_to_uri_finish(
13536        client: *mut GSocketClient,
13537        result: *mut GAsyncResult,
13538        error: *mut *mut glib::GError,
13539    ) -> *mut GSocketConnection;
13540    pub fn g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean;
13541    pub fn g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily;
13542    pub fn g_socket_client_get_local_address(client: *mut GSocketClient) -> *mut GSocketAddress;
13543    pub fn g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol;
13544    pub fn g_socket_client_get_proxy_resolver(client: *mut GSocketClient) -> *mut GProxyResolver;
13545    pub fn g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType;
13546    pub fn g_socket_client_get_timeout(client: *mut GSocketClient) -> c_uint;
13547    pub fn g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean;
13548    pub fn g_socket_client_get_tls_validation_flags(
13549        client: *mut GSocketClient,
13550    ) -> GTlsCertificateFlags;
13551    pub fn g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean);
13552    pub fn g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily);
13553    pub fn g_socket_client_set_local_address(
13554        client: *mut GSocketClient,
13555        address: *mut GSocketAddress,
13556    );
13557    pub fn g_socket_client_set_protocol(client: *mut GSocketClient, protocol: GSocketProtocol);
13558    pub fn g_socket_client_set_proxy_resolver(
13559        client: *mut GSocketClient,
13560        proxy_resolver: *mut GProxyResolver,
13561    );
13562    pub fn g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType);
13563    pub fn g_socket_client_set_timeout(client: *mut GSocketClient, timeout: c_uint);
13564    pub fn g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean);
13565    pub fn g_socket_client_set_tls_validation_flags(
13566        client: *mut GSocketClient,
13567        flags: GTlsCertificateFlags,
13568    );
13569
13570    //=========================================================================
13571    // GSocketConnection
13572    //=========================================================================
13573    pub fn g_socket_connection_get_type() -> GType;
13574    pub fn g_socket_connection_factory_lookup_type(
13575        family: GSocketFamily,
13576        type_: GSocketType,
13577        protocol_id: c_int,
13578    ) -> GType;
13579    pub fn g_socket_connection_factory_register_type(
13580        g_type: GType,
13581        family: GSocketFamily,
13582        type_: GSocketType,
13583        protocol: c_int,
13584    );
13585    pub fn g_socket_connection_connect(
13586        connection: *mut GSocketConnection,
13587        address: *mut GSocketAddress,
13588        cancellable: *mut GCancellable,
13589        error: *mut *mut glib::GError,
13590    ) -> gboolean;
13591    pub fn g_socket_connection_connect_async(
13592        connection: *mut GSocketConnection,
13593        address: *mut GSocketAddress,
13594        cancellable: *mut GCancellable,
13595        callback: GAsyncReadyCallback,
13596        user_data: gpointer,
13597    );
13598    pub fn g_socket_connection_connect_finish(
13599        connection: *mut GSocketConnection,
13600        result: *mut GAsyncResult,
13601        error: *mut *mut glib::GError,
13602    ) -> gboolean;
13603    pub fn g_socket_connection_get_local_address(
13604        connection: *mut GSocketConnection,
13605        error: *mut *mut glib::GError,
13606    ) -> *mut GSocketAddress;
13607    pub fn g_socket_connection_get_remote_address(
13608        connection: *mut GSocketConnection,
13609        error: *mut *mut glib::GError,
13610    ) -> *mut GSocketAddress;
13611    pub fn g_socket_connection_get_socket(connection: *mut GSocketConnection) -> *mut GSocket;
13612    pub fn g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean;
13613
13614    //=========================================================================
13615    // GSocketControlMessage
13616    //=========================================================================
13617    pub fn g_socket_control_message_get_type() -> GType;
13618    pub fn g_socket_control_message_deserialize(
13619        level: c_int,
13620        type_: c_int,
13621        size: size_t,
13622        data: gpointer,
13623    ) -> *mut GSocketControlMessage;
13624    pub fn g_socket_control_message_get_level(message: *mut GSocketControlMessage) -> c_int;
13625    pub fn g_socket_control_message_get_msg_type(message: *mut GSocketControlMessage) -> c_int;
13626    pub fn g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> size_t;
13627    pub fn g_socket_control_message_serialize(message: *mut GSocketControlMessage, data: gpointer);
13628
13629    //=========================================================================
13630    // GSocketListener
13631    //=========================================================================
13632    pub fn g_socket_listener_get_type() -> GType;
13633    pub fn g_socket_listener_new() -> *mut GSocketListener;
13634    pub fn g_socket_listener_accept(
13635        listener: *mut GSocketListener,
13636        source_object: *mut *mut gobject::GObject,
13637        cancellable: *mut GCancellable,
13638        error: *mut *mut glib::GError,
13639    ) -> *mut GSocketConnection;
13640    pub fn g_socket_listener_accept_async(
13641        listener: *mut GSocketListener,
13642        cancellable: *mut GCancellable,
13643        callback: GAsyncReadyCallback,
13644        user_data: gpointer,
13645    );
13646    pub fn g_socket_listener_accept_finish(
13647        listener: *mut GSocketListener,
13648        result: *mut GAsyncResult,
13649        source_object: *mut *mut gobject::GObject,
13650        error: *mut *mut glib::GError,
13651    ) -> *mut GSocketConnection;
13652    pub fn g_socket_listener_accept_socket(
13653        listener: *mut GSocketListener,
13654        source_object: *mut *mut gobject::GObject,
13655        cancellable: *mut GCancellable,
13656        error: *mut *mut glib::GError,
13657    ) -> *mut GSocket;
13658    pub fn g_socket_listener_accept_socket_async(
13659        listener: *mut GSocketListener,
13660        cancellable: *mut GCancellable,
13661        callback: GAsyncReadyCallback,
13662        user_data: gpointer,
13663    );
13664    pub fn g_socket_listener_accept_socket_finish(
13665        listener: *mut GSocketListener,
13666        result: *mut GAsyncResult,
13667        source_object: *mut *mut gobject::GObject,
13668        error: *mut *mut glib::GError,
13669    ) -> *mut GSocket;
13670    pub fn g_socket_listener_add_address(
13671        listener: *mut GSocketListener,
13672        address: *mut GSocketAddress,
13673        type_: GSocketType,
13674        protocol: GSocketProtocol,
13675        source_object: *mut gobject::GObject,
13676        effective_address: *mut *mut GSocketAddress,
13677        error: *mut *mut glib::GError,
13678    ) -> gboolean;
13679    pub fn g_socket_listener_add_any_inet_port(
13680        listener: *mut GSocketListener,
13681        source_object: *mut gobject::GObject,
13682        error: *mut *mut glib::GError,
13683    ) -> u16;
13684    pub fn g_socket_listener_add_inet_port(
13685        listener: *mut GSocketListener,
13686        port: u16,
13687        source_object: *mut gobject::GObject,
13688        error: *mut *mut glib::GError,
13689    ) -> gboolean;
13690    pub fn g_socket_listener_add_socket(
13691        listener: *mut GSocketListener,
13692        socket: *mut GSocket,
13693        source_object: *mut gobject::GObject,
13694        error: *mut *mut glib::GError,
13695    ) -> gboolean;
13696    pub fn g_socket_listener_close(listener: *mut GSocketListener);
13697    pub fn g_socket_listener_set_backlog(listener: *mut GSocketListener, listen_backlog: c_int);
13698
13699    //=========================================================================
13700    // GSocketService
13701    //=========================================================================
13702    pub fn g_socket_service_get_type() -> GType;
13703    pub fn g_socket_service_new() -> *mut GSocketService;
13704    pub fn g_socket_service_is_active(service: *mut GSocketService) -> gboolean;
13705    pub fn g_socket_service_start(service: *mut GSocketService);
13706    pub fn g_socket_service_stop(service: *mut GSocketService);
13707
13708    //=========================================================================
13709    // GSubprocess
13710    //=========================================================================
13711    pub fn g_subprocess_get_type() -> GType;
13712    pub fn g_subprocess_new(
13713        flags: GSubprocessFlags,
13714        error: *mut *mut glib::GError,
13715        argv0: *const c_char,
13716        ...
13717    ) -> *mut GSubprocess;
13718    pub fn g_subprocess_newv(
13719        argv: *const *const c_char,
13720        flags: GSubprocessFlags,
13721        error: *mut *mut glib::GError,
13722    ) -> *mut GSubprocess;
13723    pub fn g_subprocess_communicate(
13724        subprocess: *mut GSubprocess,
13725        stdin_buf: *mut glib::GBytes,
13726        cancellable: *mut GCancellable,
13727        stdout_buf: *mut *mut glib::GBytes,
13728        stderr_buf: *mut *mut glib::GBytes,
13729        error: *mut *mut glib::GError,
13730    ) -> gboolean;
13731    pub fn g_subprocess_communicate_async(
13732        subprocess: *mut GSubprocess,
13733        stdin_buf: *mut glib::GBytes,
13734        cancellable: *mut GCancellable,
13735        callback: GAsyncReadyCallback,
13736        user_data: gpointer,
13737    );
13738    pub fn g_subprocess_communicate_finish(
13739        subprocess: *mut GSubprocess,
13740        result: *mut GAsyncResult,
13741        stdout_buf: *mut *mut glib::GBytes,
13742        stderr_buf: *mut *mut glib::GBytes,
13743        error: *mut *mut glib::GError,
13744    ) -> gboolean;
13745    pub fn g_subprocess_communicate_utf8(
13746        subprocess: *mut GSubprocess,
13747        stdin_buf: *const c_char,
13748        cancellable: *mut GCancellable,
13749        stdout_buf: *mut *mut c_char,
13750        stderr_buf: *mut *mut c_char,
13751        error: *mut *mut glib::GError,
13752    ) -> gboolean;
13753    pub fn g_subprocess_communicate_utf8_async(
13754        subprocess: *mut GSubprocess,
13755        stdin_buf: *const c_char,
13756        cancellable: *mut GCancellable,
13757        callback: GAsyncReadyCallback,
13758        user_data: gpointer,
13759    );
13760    pub fn g_subprocess_communicate_utf8_finish(
13761        subprocess: *mut GSubprocess,
13762        result: *mut GAsyncResult,
13763        stdout_buf: *mut *mut c_char,
13764        stderr_buf: *mut *mut c_char,
13765        error: *mut *mut glib::GError,
13766    ) -> gboolean;
13767    pub fn g_subprocess_force_exit(subprocess: *mut GSubprocess);
13768    pub fn g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> c_int;
13769    pub fn g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const c_char;
13770    pub fn g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean;
13771    pub fn g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean;
13772    pub fn g_subprocess_get_status(subprocess: *mut GSubprocess) -> c_int;
13773    pub fn g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13774    pub fn g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream;
13775    pub fn g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
13776    pub fn g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean;
13777    pub fn g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> c_int;
13778    pub fn g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: c_int);
13779    pub fn g_subprocess_wait(
13780        subprocess: *mut GSubprocess,
13781        cancellable: *mut GCancellable,
13782        error: *mut *mut glib::GError,
13783    ) -> gboolean;
13784    pub fn g_subprocess_wait_async(
13785        subprocess: *mut GSubprocess,
13786        cancellable: *mut GCancellable,
13787        callback: GAsyncReadyCallback,
13788        user_data: gpointer,
13789    );
13790    pub fn g_subprocess_wait_check(
13791        subprocess: *mut GSubprocess,
13792        cancellable: *mut GCancellable,
13793        error: *mut *mut glib::GError,
13794    ) -> gboolean;
13795    pub fn g_subprocess_wait_check_async(
13796        subprocess: *mut GSubprocess,
13797        cancellable: *mut GCancellable,
13798        callback: GAsyncReadyCallback,
13799        user_data: gpointer,
13800    );
13801    pub fn g_subprocess_wait_check_finish(
13802        subprocess: *mut GSubprocess,
13803        result: *mut GAsyncResult,
13804        error: *mut *mut glib::GError,
13805    ) -> gboolean;
13806    pub fn g_subprocess_wait_finish(
13807        subprocess: *mut GSubprocess,
13808        result: *mut GAsyncResult,
13809        error: *mut *mut glib::GError,
13810    ) -> gboolean;
13811
13812    //=========================================================================
13813    // GSubprocessLauncher
13814    //=========================================================================
13815    pub fn g_subprocess_launcher_get_type() -> GType;
13816    pub fn g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher;
13817    #[cfg(feature = "v2_68")]
13818    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
13819    #[cfg(unix)]
13820    #[cfg_attr(docsrs, doc(cfg(unix)))]
13821    pub fn g_subprocess_launcher_close(self_: *mut GSubprocessLauncher);
13822    pub fn g_subprocess_launcher_getenv(
13823        self_: *mut GSubprocessLauncher,
13824        variable: *const c_char,
13825    ) -> *const c_char;
13826    #[cfg(unix)]
13827    #[cfg_attr(docsrs, doc(cfg(unix)))]
13828    pub fn g_subprocess_launcher_set_child_setup(
13829        self_: *mut GSubprocessLauncher,
13830        child_setup: glib::GSpawnChildSetupFunc,
13831        user_data: gpointer,
13832        destroy_notify: glib::GDestroyNotify,
13833    );
13834    pub fn g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const c_char);
13835    pub fn g_subprocess_launcher_set_environ(
13836        self_: *mut GSubprocessLauncher,
13837        env: *mut *mut c_char,
13838    );
13839    pub fn g_subprocess_launcher_set_flags(
13840        self_: *mut GSubprocessLauncher,
13841        flags: GSubprocessFlags,
13842    );
13843    #[cfg(unix)]
13844    #[cfg_attr(docsrs, doc(cfg(unix)))]
13845    pub fn g_subprocess_launcher_set_stderr_file_path(
13846        self_: *mut GSubprocessLauncher,
13847        path: *const c_char,
13848    );
13849    #[cfg(unix)]
13850    #[cfg_attr(docsrs, doc(cfg(unix)))]
13851    pub fn g_subprocess_launcher_set_stdin_file_path(
13852        self_: *mut GSubprocessLauncher,
13853        path: *const c_char,
13854    );
13855    #[cfg(unix)]
13856    #[cfg_attr(docsrs, doc(cfg(unix)))]
13857    pub fn g_subprocess_launcher_set_stdout_file_path(
13858        self_: *mut GSubprocessLauncher,
13859        path: *const c_char,
13860    );
13861    pub fn g_subprocess_launcher_setenv(
13862        self_: *mut GSubprocessLauncher,
13863        variable: *const c_char,
13864        value: *const c_char,
13865        overwrite: gboolean,
13866    );
13867    pub fn g_subprocess_launcher_spawn(
13868        self_: *mut GSubprocessLauncher,
13869        error: *mut *mut glib::GError,
13870        argv0: *const c_char,
13871        ...
13872    ) -> *mut GSubprocess;
13873    pub fn g_subprocess_launcher_spawnv(
13874        self_: *mut GSubprocessLauncher,
13875        argv: *const *const c_char,
13876        error: *mut *mut glib::GError,
13877    ) -> *mut GSubprocess;
13878    #[cfg(unix)]
13879    #[cfg_attr(docsrs, doc(cfg(unix)))]
13880    pub fn g_subprocess_launcher_take_fd(
13881        self_: *mut GSubprocessLauncher,
13882        source_fd: c_int,
13883        target_fd: c_int,
13884    );
13885    #[cfg(unix)]
13886    #[cfg_attr(docsrs, doc(cfg(unix)))]
13887    pub fn g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: c_int);
13888    #[cfg(unix)]
13889    #[cfg_attr(docsrs, doc(cfg(unix)))]
13890    pub fn g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: c_int);
13891    #[cfg(unix)]
13892    #[cfg_attr(docsrs, doc(cfg(unix)))]
13893    pub fn g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: c_int);
13894    pub fn g_subprocess_launcher_unsetenv(self_: *mut GSubprocessLauncher, variable: *const c_char);
13895
13896    //=========================================================================
13897    // GTask
13898    //=========================================================================
13899    pub fn g_task_get_type() -> GType;
13900    pub fn g_task_new(
13901        source_object: *mut gobject::GObject,
13902        cancellable: *mut GCancellable,
13903        callback: GAsyncReadyCallback,
13904        callback_data: gpointer,
13905    ) -> *mut GTask;
13906    pub fn g_task_is_valid(
13907        result: *mut GAsyncResult,
13908        source_object: *mut gobject::GObject,
13909    ) -> gboolean;
13910    pub fn g_task_report_error(
13911        source_object: *mut gobject::GObject,
13912        callback: GAsyncReadyCallback,
13913        callback_data: gpointer,
13914        source_tag: gpointer,
13915        error: *mut glib::GError,
13916    );
13917    pub fn g_task_report_new_error(
13918        source_object: *mut gobject::GObject,
13919        callback: GAsyncReadyCallback,
13920        callback_data: gpointer,
13921        source_tag: gpointer,
13922        domain: glib::GQuark,
13923        code: c_int,
13924        format: *const c_char,
13925        ...
13926    );
13927    pub fn g_task_attach_source(
13928        task: *mut GTask,
13929        source: *mut glib::GSource,
13930        callback: glib::GSourceFunc,
13931    );
13932    pub fn g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable;
13933    pub fn g_task_get_check_cancellable(task: *mut GTask) -> gboolean;
13934    pub fn g_task_get_completed(task: *mut GTask) -> gboolean;
13935    pub fn g_task_get_context(task: *mut GTask) -> *mut glib::GMainContext;
13936    #[cfg(feature = "v2_60")]
13937    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13938    pub fn g_task_get_name(task: *mut GTask) -> *const c_char;
13939    pub fn g_task_get_priority(task: *mut GTask) -> c_int;
13940    pub fn g_task_get_return_on_cancel(task: *mut GTask) -> gboolean;
13941    pub fn g_task_get_source_object(task: *mut GTask) -> *mut gobject::GObject;
13942    pub fn g_task_get_source_tag(task: *mut GTask) -> gpointer;
13943    pub fn g_task_get_task_data(task: *mut GTask) -> gpointer;
13944    pub fn g_task_had_error(task: *mut GTask) -> gboolean;
13945    pub fn g_task_propagate_boolean(task: *mut GTask, error: *mut *mut glib::GError) -> gboolean;
13946    pub fn g_task_propagate_int(task: *mut GTask, error: *mut *mut glib::GError) -> ssize_t;
13947    pub fn g_task_propagate_pointer(task: *mut GTask, error: *mut *mut glib::GError) -> gpointer;
13948    #[cfg(feature = "v2_64")]
13949    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
13950    pub fn g_task_propagate_value(
13951        task: *mut GTask,
13952        value: *mut gobject::GValue,
13953        error: *mut *mut glib::GError,
13954    ) -> gboolean;
13955    pub fn g_task_return_boolean(task: *mut GTask, result: gboolean);
13956    pub fn g_task_return_error(task: *mut GTask, error: *mut glib::GError);
13957    pub fn g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean;
13958    pub fn g_task_return_int(task: *mut GTask, result: ssize_t);
13959    pub fn g_task_return_new_error(
13960        task: *mut GTask,
13961        domain: glib::GQuark,
13962        code: c_int,
13963        format: *const c_char,
13964        ...
13965    );
13966    #[cfg(feature = "v2_80")]
13967    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13968    pub fn g_task_return_new_error_literal(
13969        task: *mut GTask,
13970        domain: glib::GQuark,
13971        code: c_int,
13972        message: *const c_char,
13973    );
13974    pub fn g_task_return_pointer(
13975        task: *mut GTask,
13976        result: gpointer,
13977        result_destroy: glib::GDestroyNotify,
13978    );
13979    #[cfg(feature = "v2_80")]
13980    #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
13981    pub fn g_task_return_prefixed_error(
13982        task: *mut GTask,
13983        error: *mut glib::GError,
13984        format: *const c_char,
13985        ...
13986    );
13987    #[cfg(feature = "v2_64")]
13988    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
13989    pub fn g_task_return_value(task: *mut GTask, result: *mut gobject::GValue);
13990    pub fn g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc);
13991    pub fn g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc);
13992    pub fn g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean);
13993    #[cfg(feature = "v2_60")]
13994    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
13995    pub fn g_task_set_name(task: *mut GTask, name: *const c_char);
13996    pub fn g_task_set_priority(task: *mut GTask, priority: c_int);
13997    pub fn g_task_set_return_on_cancel(task: *mut GTask, return_on_cancel: gboolean) -> gboolean;
13998    pub fn g_task_set_source_tag(task: *mut GTask, source_tag: gpointer);
13999    #[cfg(feature = "v2_76")]
14000    #[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
14001    pub fn g_task_set_static_name(task: *mut GTask, name: *const c_char);
14002    pub fn g_task_set_task_data(
14003        task: *mut GTask,
14004        task_data: gpointer,
14005        task_data_destroy: glib::GDestroyNotify,
14006    );
14007
14008    //=========================================================================
14009    // GTcpConnection
14010    //=========================================================================
14011    pub fn g_tcp_connection_get_type() -> GType;
14012    pub fn g_tcp_connection_get_graceful_disconnect(connection: *mut GTcpConnection) -> gboolean;
14013    pub fn g_tcp_connection_set_graceful_disconnect(
14014        connection: *mut GTcpConnection,
14015        graceful_disconnect: gboolean,
14016    );
14017
14018    //=========================================================================
14019    // GTcpWrapperConnection
14020    //=========================================================================
14021    pub fn g_tcp_wrapper_connection_get_type() -> GType;
14022    pub fn g_tcp_wrapper_connection_new(
14023        base_io_stream: *mut GIOStream,
14024        socket: *mut GSocket,
14025    ) -> *mut GSocketConnection;
14026    pub fn g_tcp_wrapper_connection_get_base_io_stream(
14027        conn: *mut GTcpWrapperConnection,
14028    ) -> *mut GIOStream;
14029
14030    //=========================================================================
14031    // GTestDBus
14032    //=========================================================================
14033    pub fn g_test_dbus_get_type() -> GType;
14034    pub fn g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus;
14035    pub fn g_test_dbus_unset();
14036    pub fn g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const c_char);
14037    pub fn g_test_dbus_down(self_: *mut GTestDBus);
14038    pub fn g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const c_char;
14039    pub fn g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags;
14040    pub fn g_test_dbus_stop(self_: *mut GTestDBus);
14041    pub fn g_test_dbus_up(self_: *mut GTestDBus);
14042
14043    //=========================================================================
14044    // GThemedIcon
14045    //=========================================================================
14046    pub fn g_themed_icon_get_type() -> GType;
14047    pub fn g_themed_icon_new(iconname: *const c_char) -> *mut GThemedIcon;
14048    pub fn g_themed_icon_new_from_names(
14049        iconnames: *mut *mut c_char,
14050        len: c_int,
14051    ) -> *mut GThemedIcon;
14052    pub fn g_themed_icon_new_with_default_fallbacks(iconname: *const c_char) -> *mut GThemedIcon;
14053    pub fn g_themed_icon_append_name(icon: *mut GThemedIcon, iconname: *const c_char);
14054    pub fn g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const c_char;
14055    pub fn g_themed_icon_prepend_name(icon: *mut GThemedIcon, iconname: *const c_char);
14056
14057    //=========================================================================
14058    // GThreadedResolver
14059    //=========================================================================
14060    pub fn g_threaded_resolver_get_type() -> GType;
14061
14062    //=========================================================================
14063    // GThreadedSocketService
14064    //=========================================================================
14065    pub fn g_threaded_socket_service_get_type() -> GType;
14066    pub fn g_threaded_socket_service_new(max_threads: c_int) -> *mut GSocketService;
14067
14068    //=========================================================================
14069    // GTlsCertificate
14070    //=========================================================================
14071    pub fn g_tls_certificate_get_type() -> GType;
14072    pub fn g_tls_certificate_new_from_file(
14073        file: *const c_char,
14074        error: *mut *mut glib::GError,
14075    ) -> *mut GTlsCertificate;
14076    #[cfg(feature = "v2_72")]
14077    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14078    pub fn g_tls_certificate_new_from_file_with_password(
14079        file: *const c_char,
14080        password: *const c_char,
14081        error: *mut *mut glib::GError,
14082    ) -> *mut GTlsCertificate;
14083    pub fn g_tls_certificate_new_from_files(
14084        cert_file: *const c_char,
14085        key_file: *const c_char,
14086        error: *mut *mut glib::GError,
14087    ) -> *mut GTlsCertificate;
14088    pub fn g_tls_certificate_new_from_pem(
14089        data: *const c_char,
14090        length: ssize_t,
14091        error: *mut *mut glib::GError,
14092    ) -> *mut GTlsCertificate;
14093    #[cfg(feature = "v2_68")]
14094    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
14095    pub fn g_tls_certificate_new_from_pkcs11_uris(
14096        pkcs11_uri: *const c_char,
14097        private_key_pkcs11_uri: *const c_char,
14098        error: *mut *mut glib::GError,
14099    ) -> *mut GTlsCertificate;
14100    #[cfg(feature = "v2_72")]
14101    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14102    pub fn g_tls_certificate_new_from_pkcs12(
14103        data: *const u8,
14104        length: size_t,
14105        password: *const c_char,
14106        error: *mut *mut glib::GError,
14107    ) -> *mut GTlsCertificate;
14108    pub fn g_tls_certificate_list_new_from_file(
14109        file: *const c_char,
14110        error: *mut *mut glib::GError,
14111    ) -> *mut glib::GList;
14112    #[cfg(feature = "v2_70")]
14113    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14114    pub fn g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14115    #[cfg(feature = "v2_70")]
14116    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14117    pub fn g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray;
14118    pub fn g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate;
14119    #[cfg(feature = "v2_70")]
14120    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14121    pub fn g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut c_char;
14122    #[cfg(feature = "v2_70")]
14123    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14124    pub fn g_tls_certificate_get_not_valid_after(
14125        cert: *mut GTlsCertificate,
14126    ) -> *mut glib::GDateTime;
14127    #[cfg(feature = "v2_70")]
14128    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14129    pub fn g_tls_certificate_get_not_valid_before(
14130        cert: *mut GTlsCertificate,
14131    ) -> *mut glib::GDateTime;
14132    #[cfg(feature = "v2_70")]
14133    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14134    pub fn g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut c_char;
14135    pub fn g_tls_certificate_is_same(
14136        cert_one: *mut GTlsCertificate,
14137        cert_two: *mut GTlsCertificate,
14138    ) -> gboolean;
14139    pub fn g_tls_certificate_verify(
14140        cert: *mut GTlsCertificate,
14141        identity: *mut GSocketConnectable,
14142        trusted_ca: *mut GTlsCertificate,
14143    ) -> GTlsCertificateFlags;
14144
14145    //=========================================================================
14146    // GTlsConnection
14147    //=========================================================================
14148    pub fn g_tls_connection_get_type() -> GType;
14149    pub fn g_tls_connection_emit_accept_certificate(
14150        conn: *mut GTlsConnection,
14151        peer_cert: *mut GTlsCertificate,
14152        errors: GTlsCertificateFlags,
14153    ) -> gboolean;
14154    pub fn g_tls_connection_get_certificate(conn: *mut GTlsConnection) -> *mut GTlsCertificate;
14155    #[cfg(feature = "v2_66")]
14156    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
14157    pub fn g_tls_connection_get_channel_binding_data(
14158        conn: *mut GTlsConnection,
14159        type_: GTlsChannelBindingType,
14160        data: *mut glib::GByteArray,
14161        error: *mut *mut glib::GError,
14162    ) -> gboolean;
14163    #[cfg(feature = "v2_70")]
14164    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14165    pub fn g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut c_char;
14166    pub fn g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase;
14167    pub fn g_tls_connection_get_interaction(conn: *mut GTlsConnection) -> *mut GTlsInteraction;
14168    #[cfg(feature = "v2_60")]
14169    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14170    pub fn g_tls_connection_get_negotiated_protocol(conn: *mut GTlsConnection) -> *const c_char;
14171    pub fn g_tls_connection_get_peer_certificate(conn: *mut GTlsConnection)
14172        -> *mut GTlsCertificate;
14173    pub fn g_tls_connection_get_peer_certificate_errors(
14174        conn: *mut GTlsConnection,
14175    ) -> GTlsCertificateFlags;
14176    #[cfg(feature = "v2_70")]
14177    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
14178    pub fn g_tls_connection_get_protocol_version(conn: *mut GTlsConnection) -> GTlsProtocolVersion;
14179    pub fn g_tls_connection_get_rehandshake_mode(conn: *mut GTlsConnection) -> GTlsRehandshakeMode;
14180    pub fn g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean;
14181    pub fn g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean;
14182    pub fn g_tls_connection_handshake(
14183        conn: *mut GTlsConnection,
14184        cancellable: *mut GCancellable,
14185        error: *mut *mut glib::GError,
14186    ) -> gboolean;
14187    pub fn g_tls_connection_handshake_async(
14188        conn: *mut GTlsConnection,
14189        io_priority: c_int,
14190        cancellable: *mut GCancellable,
14191        callback: GAsyncReadyCallback,
14192        user_data: gpointer,
14193    );
14194    pub fn g_tls_connection_handshake_finish(
14195        conn: *mut GTlsConnection,
14196        result: *mut GAsyncResult,
14197        error: *mut *mut glib::GError,
14198    ) -> gboolean;
14199    #[cfg(feature = "v2_60")]
14200    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14201    pub fn g_tls_connection_set_advertised_protocols(
14202        conn: *mut GTlsConnection,
14203        protocols: *const *const c_char,
14204    );
14205    pub fn g_tls_connection_set_certificate(
14206        conn: *mut GTlsConnection,
14207        certificate: *mut GTlsCertificate,
14208    );
14209    pub fn g_tls_connection_set_database(conn: *mut GTlsConnection, database: *mut GTlsDatabase);
14210    pub fn g_tls_connection_set_interaction(
14211        conn: *mut GTlsConnection,
14212        interaction: *mut GTlsInteraction,
14213    );
14214    pub fn g_tls_connection_set_rehandshake_mode(
14215        conn: *mut GTlsConnection,
14216        mode: GTlsRehandshakeMode,
14217    );
14218    pub fn g_tls_connection_set_require_close_notify(
14219        conn: *mut GTlsConnection,
14220        require_close_notify: gboolean,
14221    );
14222    pub fn g_tls_connection_set_use_system_certdb(
14223        conn: *mut GTlsConnection,
14224        use_system_certdb: gboolean,
14225    );
14226
14227    //=========================================================================
14228    // GTlsDatabase
14229    //=========================================================================
14230    pub fn g_tls_database_get_type() -> GType;
14231    pub fn g_tls_database_create_certificate_handle(
14232        self_: *mut GTlsDatabase,
14233        certificate: *mut GTlsCertificate,
14234    ) -> *mut c_char;
14235    pub fn g_tls_database_lookup_certificate_for_handle(
14236        self_: *mut GTlsDatabase,
14237        handle: *const c_char,
14238        interaction: *mut GTlsInteraction,
14239        flags: GTlsDatabaseLookupFlags,
14240        cancellable: *mut GCancellable,
14241        error: *mut *mut glib::GError,
14242    ) -> *mut GTlsCertificate;
14243    pub fn g_tls_database_lookup_certificate_for_handle_async(
14244        self_: *mut GTlsDatabase,
14245        handle: *const c_char,
14246        interaction: *mut GTlsInteraction,
14247        flags: GTlsDatabaseLookupFlags,
14248        cancellable: *mut GCancellable,
14249        callback: GAsyncReadyCallback,
14250        user_data: gpointer,
14251    );
14252    pub fn g_tls_database_lookup_certificate_for_handle_finish(
14253        self_: *mut GTlsDatabase,
14254        result: *mut GAsyncResult,
14255        error: *mut *mut glib::GError,
14256    ) -> *mut GTlsCertificate;
14257    pub fn g_tls_database_lookup_certificate_issuer(
14258        self_: *mut GTlsDatabase,
14259        certificate: *mut GTlsCertificate,
14260        interaction: *mut GTlsInteraction,
14261        flags: GTlsDatabaseLookupFlags,
14262        cancellable: *mut GCancellable,
14263        error: *mut *mut glib::GError,
14264    ) -> *mut GTlsCertificate;
14265    pub fn g_tls_database_lookup_certificate_issuer_async(
14266        self_: *mut GTlsDatabase,
14267        certificate: *mut GTlsCertificate,
14268        interaction: *mut GTlsInteraction,
14269        flags: GTlsDatabaseLookupFlags,
14270        cancellable: *mut GCancellable,
14271        callback: GAsyncReadyCallback,
14272        user_data: gpointer,
14273    );
14274    pub fn g_tls_database_lookup_certificate_issuer_finish(
14275        self_: *mut GTlsDatabase,
14276        result: *mut GAsyncResult,
14277        error: *mut *mut glib::GError,
14278    ) -> *mut GTlsCertificate;
14279    pub fn g_tls_database_lookup_certificates_issued_by(
14280        self_: *mut GTlsDatabase,
14281        issuer_raw_dn: *mut glib::GByteArray,
14282        interaction: *mut GTlsInteraction,
14283        flags: GTlsDatabaseLookupFlags,
14284        cancellable: *mut GCancellable,
14285        error: *mut *mut glib::GError,
14286    ) -> *mut glib::GList;
14287    pub fn g_tls_database_lookup_certificates_issued_by_async(
14288        self_: *mut GTlsDatabase,
14289        issuer_raw_dn: *mut glib::GByteArray,
14290        interaction: *mut GTlsInteraction,
14291        flags: GTlsDatabaseLookupFlags,
14292        cancellable: *mut GCancellable,
14293        callback: GAsyncReadyCallback,
14294        user_data: gpointer,
14295    );
14296    pub fn g_tls_database_lookup_certificates_issued_by_finish(
14297        self_: *mut GTlsDatabase,
14298        result: *mut GAsyncResult,
14299        error: *mut *mut glib::GError,
14300    ) -> *mut glib::GList;
14301    pub fn g_tls_database_verify_chain(
14302        self_: *mut GTlsDatabase,
14303        chain: *mut GTlsCertificate,
14304        purpose: *const c_char,
14305        identity: *mut GSocketConnectable,
14306        interaction: *mut GTlsInteraction,
14307        flags: GTlsDatabaseVerifyFlags,
14308        cancellable: *mut GCancellable,
14309        error: *mut *mut glib::GError,
14310    ) -> GTlsCertificateFlags;
14311    pub fn g_tls_database_verify_chain_async(
14312        self_: *mut GTlsDatabase,
14313        chain: *mut GTlsCertificate,
14314        purpose: *const c_char,
14315        identity: *mut GSocketConnectable,
14316        interaction: *mut GTlsInteraction,
14317        flags: GTlsDatabaseVerifyFlags,
14318        cancellable: *mut GCancellable,
14319        callback: GAsyncReadyCallback,
14320        user_data: gpointer,
14321    );
14322    pub fn g_tls_database_verify_chain_finish(
14323        self_: *mut GTlsDatabase,
14324        result: *mut GAsyncResult,
14325        error: *mut *mut glib::GError,
14326    ) -> GTlsCertificateFlags;
14327
14328    //=========================================================================
14329    // GTlsInteraction
14330    //=========================================================================
14331    pub fn g_tls_interaction_get_type() -> GType;
14332    pub fn g_tls_interaction_ask_password(
14333        interaction: *mut GTlsInteraction,
14334        password: *mut GTlsPassword,
14335        cancellable: *mut GCancellable,
14336        error: *mut *mut glib::GError,
14337    ) -> GTlsInteractionResult;
14338    pub fn g_tls_interaction_ask_password_async(
14339        interaction: *mut GTlsInteraction,
14340        password: *mut GTlsPassword,
14341        cancellable: *mut GCancellable,
14342        callback: GAsyncReadyCallback,
14343        user_data: gpointer,
14344    );
14345    pub fn g_tls_interaction_ask_password_finish(
14346        interaction: *mut GTlsInteraction,
14347        result: *mut GAsyncResult,
14348        error: *mut *mut glib::GError,
14349    ) -> GTlsInteractionResult;
14350    pub fn g_tls_interaction_invoke_ask_password(
14351        interaction: *mut GTlsInteraction,
14352        password: *mut GTlsPassword,
14353        cancellable: *mut GCancellable,
14354        error: *mut *mut glib::GError,
14355    ) -> GTlsInteractionResult;
14356    pub fn g_tls_interaction_invoke_request_certificate(
14357        interaction: *mut GTlsInteraction,
14358        connection: *mut GTlsConnection,
14359        flags: GTlsCertificateRequestFlags,
14360        cancellable: *mut GCancellable,
14361        error: *mut *mut glib::GError,
14362    ) -> GTlsInteractionResult;
14363    pub fn g_tls_interaction_request_certificate(
14364        interaction: *mut GTlsInteraction,
14365        connection: *mut GTlsConnection,
14366        flags: GTlsCertificateRequestFlags,
14367        cancellable: *mut GCancellable,
14368        error: *mut *mut glib::GError,
14369    ) -> GTlsInteractionResult;
14370    pub fn g_tls_interaction_request_certificate_async(
14371        interaction: *mut GTlsInteraction,
14372        connection: *mut GTlsConnection,
14373        flags: GTlsCertificateRequestFlags,
14374        cancellable: *mut GCancellable,
14375        callback: GAsyncReadyCallback,
14376        user_data: gpointer,
14377    );
14378    pub fn g_tls_interaction_request_certificate_finish(
14379        interaction: *mut GTlsInteraction,
14380        result: *mut GAsyncResult,
14381        error: *mut *mut glib::GError,
14382    ) -> GTlsInteractionResult;
14383
14384    //=========================================================================
14385    // GTlsPassword
14386    //=========================================================================
14387    pub fn g_tls_password_get_type() -> GType;
14388    pub fn g_tls_password_new(
14389        flags: GTlsPasswordFlags,
14390        description: *const c_char,
14391    ) -> *mut GTlsPassword;
14392    pub fn g_tls_password_get_description(password: *mut GTlsPassword) -> *const c_char;
14393    pub fn g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags;
14394    pub fn g_tls_password_get_value(password: *mut GTlsPassword, length: *mut size_t) -> *const u8;
14395    pub fn g_tls_password_get_warning(password: *mut GTlsPassword) -> *const c_char;
14396    pub fn g_tls_password_set_description(password: *mut GTlsPassword, description: *const c_char);
14397    pub fn g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags);
14398    pub fn g_tls_password_set_value(password: *mut GTlsPassword, value: *const u8, length: ssize_t);
14399    pub fn g_tls_password_set_value_full(
14400        password: *mut GTlsPassword,
14401        value: *mut u8,
14402        length: ssize_t,
14403        destroy: glib::GDestroyNotify,
14404    );
14405    pub fn g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const c_char);
14406
14407    //=========================================================================
14408    // GUnixConnection
14409    //=========================================================================
14410    pub fn g_unix_connection_get_type() -> GType;
14411    pub fn g_unix_connection_receive_credentials(
14412        connection: *mut GUnixConnection,
14413        cancellable: *mut GCancellable,
14414        error: *mut *mut glib::GError,
14415    ) -> *mut GCredentials;
14416    pub fn g_unix_connection_receive_credentials_async(
14417        connection: *mut GUnixConnection,
14418        cancellable: *mut GCancellable,
14419        callback: GAsyncReadyCallback,
14420        user_data: gpointer,
14421    );
14422    pub fn g_unix_connection_receive_credentials_finish(
14423        connection: *mut GUnixConnection,
14424        result: *mut GAsyncResult,
14425        error: *mut *mut glib::GError,
14426    ) -> *mut GCredentials;
14427    pub fn g_unix_connection_receive_fd(
14428        connection: *mut GUnixConnection,
14429        cancellable: *mut GCancellable,
14430        error: *mut *mut glib::GError,
14431    ) -> c_int;
14432    pub fn g_unix_connection_send_credentials(
14433        connection: *mut GUnixConnection,
14434        cancellable: *mut GCancellable,
14435        error: *mut *mut glib::GError,
14436    ) -> gboolean;
14437    pub fn g_unix_connection_send_credentials_async(
14438        connection: *mut GUnixConnection,
14439        cancellable: *mut GCancellable,
14440        callback: GAsyncReadyCallback,
14441        user_data: gpointer,
14442    );
14443    pub fn g_unix_connection_send_credentials_finish(
14444        connection: *mut GUnixConnection,
14445        result: *mut GAsyncResult,
14446        error: *mut *mut glib::GError,
14447    ) -> gboolean;
14448    pub fn g_unix_connection_send_fd(
14449        connection: *mut GUnixConnection,
14450        fd: c_int,
14451        cancellable: *mut GCancellable,
14452        error: *mut *mut glib::GError,
14453    ) -> gboolean;
14454
14455    //=========================================================================
14456    // GUnixCredentialsMessage
14457    //=========================================================================
14458    pub fn g_unix_credentials_message_get_type() -> GType;
14459    pub fn g_unix_credentials_message_new() -> *mut GSocketControlMessage;
14460    pub fn g_unix_credentials_message_new_with_credentials(
14461        credentials: *mut GCredentials,
14462    ) -> *mut GSocketControlMessage;
14463    pub fn g_unix_credentials_message_is_supported() -> gboolean;
14464    pub fn g_unix_credentials_message_get_credentials(
14465        message: *mut GUnixCredentialsMessage,
14466    ) -> *mut GCredentials;
14467
14468    //=========================================================================
14469    // GUnixFDList
14470    //=========================================================================
14471    pub fn g_unix_fd_list_get_type() -> GType;
14472    pub fn g_unix_fd_list_new() -> *mut GUnixFDList;
14473    pub fn g_unix_fd_list_new_from_array(fds: *const c_int, n_fds: c_int) -> *mut GUnixFDList;
14474    pub fn g_unix_fd_list_append(
14475        list: *mut GUnixFDList,
14476        fd: c_int,
14477        error: *mut *mut glib::GError,
14478    ) -> c_int;
14479    pub fn g_unix_fd_list_get(
14480        list: *mut GUnixFDList,
14481        index_: c_int,
14482        error: *mut *mut glib::GError,
14483    ) -> c_int;
14484    pub fn g_unix_fd_list_get_length(list: *mut GUnixFDList) -> c_int;
14485    pub fn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int;
14486    pub fn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int;
14487
14488    //=========================================================================
14489    // GUnixSocketAddress
14490    //=========================================================================
14491    pub fn g_unix_socket_address_get_type() -> GType;
14492    pub fn g_unix_socket_address_new(path: *const c_char) -> *mut GSocketAddress;
14493    pub fn g_unix_socket_address_new_abstract(
14494        path: *const c_char,
14495        path_len: c_int,
14496    ) -> *mut GSocketAddress;
14497    pub fn g_unix_socket_address_new_with_type(
14498        path: *const c_char,
14499        path_len: c_int,
14500        type_: GUnixSocketAddressType,
14501    ) -> *mut GSocketAddress;
14502    pub fn g_unix_socket_address_abstract_names_supported() -> gboolean;
14503    pub fn g_unix_socket_address_get_address_type(
14504        address: *mut GUnixSocketAddress,
14505    ) -> GUnixSocketAddressType;
14506    pub fn g_unix_socket_address_get_is_abstract(address: *mut GUnixSocketAddress) -> gboolean;
14507    pub fn g_unix_socket_address_get_path(address: *mut GUnixSocketAddress) -> *const c_char;
14508    pub fn g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> size_t;
14509
14510    //=========================================================================
14511    // GVfs
14512    //=========================================================================
14513    pub fn g_vfs_get_type() -> GType;
14514    pub fn g_vfs_get_default() -> *mut GVfs;
14515    pub fn g_vfs_get_local() -> *mut GVfs;
14516    pub fn g_vfs_get_file_for_path(vfs: *mut GVfs, path: *const c_char) -> *mut GFile;
14517    pub fn g_vfs_get_file_for_uri(vfs: *mut GVfs, uri: *const c_char) -> *mut GFile;
14518    pub fn g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const c_char;
14519    pub fn g_vfs_is_active(vfs: *mut GVfs) -> gboolean;
14520    pub fn g_vfs_parse_name(vfs: *mut GVfs, parse_name: *const c_char) -> *mut GFile;
14521    pub fn g_vfs_register_uri_scheme(
14522        vfs: *mut GVfs,
14523        scheme: *const c_char,
14524        uri_func: GVfsFileLookupFunc,
14525        uri_data: gpointer,
14526        uri_destroy: glib::GDestroyNotify,
14527        parse_name_func: GVfsFileLookupFunc,
14528        parse_name_data: gpointer,
14529        parse_name_destroy: glib::GDestroyNotify,
14530    ) -> gboolean;
14531    pub fn g_vfs_unregister_uri_scheme(vfs: *mut GVfs, scheme: *const c_char) -> gboolean;
14532
14533    //=========================================================================
14534    // GVolumeMonitor
14535    //=========================================================================
14536    pub fn g_volume_monitor_get_type() -> GType;
14537    pub fn g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume;
14538    pub fn g_volume_monitor_get() -> *mut GVolumeMonitor;
14539    pub fn g_volume_monitor_get_connected_drives(
14540        volume_monitor: *mut GVolumeMonitor,
14541    ) -> *mut glib::GList;
14542    pub fn g_volume_monitor_get_mount_for_uuid(
14543        volume_monitor: *mut GVolumeMonitor,
14544        uuid: *const c_char,
14545    ) -> *mut GMount;
14546    pub fn g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14547    pub fn g_volume_monitor_get_volume_for_uuid(
14548        volume_monitor: *mut GVolumeMonitor,
14549        uuid: *const c_char,
14550    ) -> *mut GVolume;
14551    pub fn g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList;
14552
14553    //=========================================================================
14554    // GZlibCompressor
14555    //=========================================================================
14556    pub fn g_zlib_compressor_get_type() -> GType;
14557    pub fn g_zlib_compressor_new(
14558        format: GZlibCompressorFormat,
14559        level: c_int,
14560    ) -> *mut GZlibCompressor;
14561    pub fn g_zlib_compressor_get_file_info(compressor: *mut GZlibCompressor) -> *mut GFileInfo;
14562    #[cfg(feature = "v2_86")]
14563    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14564    pub fn g_zlib_compressor_get_os(compressor: *mut GZlibCompressor) -> c_int;
14565    pub fn g_zlib_compressor_set_file_info(
14566        compressor: *mut GZlibCompressor,
14567        file_info: *mut GFileInfo,
14568    );
14569    #[cfg(feature = "v2_86")]
14570    #[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
14571    pub fn g_zlib_compressor_set_os(compressor: *mut GZlibCompressor, os: c_int);
14572
14573    //=========================================================================
14574    // GZlibDecompressor
14575    //=========================================================================
14576    pub fn g_zlib_decompressor_get_type() -> GType;
14577    pub fn g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor;
14578    pub fn g_zlib_decompressor_get_file_info(
14579        decompressor: *mut GZlibDecompressor,
14580    ) -> *mut GFileInfo;
14581
14582    //=========================================================================
14583    // GAction
14584    //=========================================================================
14585    pub fn g_action_get_type() -> GType;
14586    pub fn g_action_name_is_valid(action_name: *const c_char) -> gboolean;
14587    pub fn g_action_parse_detailed_name(
14588        detailed_name: *const c_char,
14589        action_name: *mut *mut c_char,
14590        target_value: *mut *mut glib::GVariant,
14591        error: *mut *mut glib::GError,
14592    ) -> gboolean;
14593    pub fn g_action_print_detailed_name(
14594        action_name: *const c_char,
14595        target_value: *mut glib::GVariant,
14596    ) -> *mut c_char;
14597    pub fn g_action_activate(action: *mut GAction, parameter: *mut glib::GVariant);
14598    pub fn g_action_change_state(action: *mut GAction, value: *mut glib::GVariant);
14599    pub fn g_action_get_enabled(action: *mut GAction) -> gboolean;
14600    pub fn g_action_get_name(action: *mut GAction) -> *const c_char;
14601    pub fn g_action_get_parameter_type(action: *mut GAction) -> *const glib::GVariantType;
14602    pub fn g_action_get_state(action: *mut GAction) -> *mut glib::GVariant;
14603    pub fn g_action_get_state_hint(action: *mut GAction) -> *mut glib::GVariant;
14604    pub fn g_action_get_state_type(action: *mut GAction) -> *const glib::GVariantType;
14605
14606    //=========================================================================
14607    // GActionGroup
14608    //=========================================================================
14609    pub fn g_action_group_get_type() -> GType;
14610    pub fn g_action_group_action_added(action_group: *mut GActionGroup, action_name: *const c_char);
14611    pub fn g_action_group_action_enabled_changed(
14612        action_group: *mut GActionGroup,
14613        action_name: *const c_char,
14614        enabled: gboolean,
14615    );
14616    pub fn g_action_group_action_removed(
14617        action_group: *mut GActionGroup,
14618        action_name: *const c_char,
14619    );
14620    pub fn g_action_group_action_state_changed(
14621        action_group: *mut GActionGroup,
14622        action_name: *const c_char,
14623        state: *mut glib::GVariant,
14624    );
14625    pub fn g_action_group_activate_action(
14626        action_group: *mut GActionGroup,
14627        action_name: *const c_char,
14628        parameter: *mut glib::GVariant,
14629    );
14630    pub fn g_action_group_change_action_state(
14631        action_group: *mut GActionGroup,
14632        action_name: *const c_char,
14633        value: *mut glib::GVariant,
14634    );
14635    pub fn g_action_group_get_action_enabled(
14636        action_group: *mut GActionGroup,
14637        action_name: *const c_char,
14638    ) -> gboolean;
14639    pub fn g_action_group_get_action_parameter_type(
14640        action_group: *mut GActionGroup,
14641        action_name: *const c_char,
14642    ) -> *const glib::GVariantType;
14643    pub fn g_action_group_get_action_state(
14644        action_group: *mut GActionGroup,
14645        action_name: *const c_char,
14646    ) -> *mut glib::GVariant;
14647    pub fn g_action_group_get_action_state_hint(
14648        action_group: *mut GActionGroup,
14649        action_name: *const c_char,
14650    ) -> *mut glib::GVariant;
14651    pub fn g_action_group_get_action_state_type(
14652        action_group: *mut GActionGroup,
14653        action_name: *const c_char,
14654    ) -> *const glib::GVariantType;
14655    pub fn g_action_group_has_action(
14656        action_group: *mut GActionGroup,
14657        action_name: *const c_char,
14658    ) -> gboolean;
14659    pub fn g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut c_char;
14660    pub fn g_action_group_query_action(
14661        action_group: *mut GActionGroup,
14662        action_name: *const c_char,
14663        enabled: *mut gboolean,
14664        parameter_type: *mut *const glib::GVariantType,
14665        state_type: *mut *const glib::GVariantType,
14666        state_hint: *mut *mut glib::GVariant,
14667        state: *mut *mut glib::GVariant,
14668    ) -> gboolean;
14669
14670    //=========================================================================
14671    // GActionMap
14672    //=========================================================================
14673    pub fn g_action_map_get_type() -> GType;
14674    pub fn g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction);
14675    pub fn g_action_map_add_action_entries(
14676        action_map: *mut GActionMap,
14677        entries: *const GActionEntry,
14678        n_entries: c_int,
14679        user_data: gpointer,
14680    );
14681    pub fn g_action_map_lookup_action(
14682        action_map: *mut GActionMap,
14683        action_name: *const c_char,
14684    ) -> *mut GAction;
14685    pub fn g_action_map_remove_action(action_map: *mut GActionMap, action_name: *const c_char);
14686    #[cfg(feature = "v2_78")]
14687    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
14688    pub fn g_action_map_remove_action_entries(
14689        action_map: *mut GActionMap,
14690        entries: *const GActionEntry,
14691        n_entries: c_int,
14692    );
14693
14694    //=========================================================================
14695    // GAppInfo
14696    //=========================================================================
14697    pub fn g_app_info_get_type() -> GType;
14698    pub fn g_app_info_create_from_commandline(
14699        commandline: *const c_char,
14700        application_name: *const c_char,
14701        flags: GAppInfoCreateFlags,
14702        error: *mut *mut glib::GError,
14703    ) -> *mut GAppInfo;
14704    pub fn g_app_info_get_all() -> *mut glib::GList;
14705    pub fn g_app_info_get_all_for_type(content_type: *const c_char) -> *mut glib::GList;
14706    pub fn g_app_info_get_default_for_type(
14707        content_type: *const c_char,
14708        must_support_uris: gboolean,
14709    ) -> *mut GAppInfo;
14710    #[cfg(feature = "v2_74")]
14711    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14712    pub fn g_app_info_get_default_for_type_async(
14713        content_type: *const c_char,
14714        must_support_uris: gboolean,
14715        cancellable: *mut GCancellable,
14716        callback: GAsyncReadyCallback,
14717        user_data: gpointer,
14718    );
14719    #[cfg(feature = "v2_74")]
14720    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14721    pub fn g_app_info_get_default_for_type_finish(
14722        result: *mut GAsyncResult,
14723        error: *mut *mut glib::GError,
14724    ) -> *mut GAppInfo;
14725    pub fn g_app_info_get_default_for_uri_scheme(uri_scheme: *const c_char) -> *mut GAppInfo;
14726    #[cfg(feature = "v2_74")]
14727    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14728    pub fn g_app_info_get_default_for_uri_scheme_async(
14729        uri_scheme: *const c_char,
14730        cancellable: *mut GCancellable,
14731        callback: GAsyncReadyCallback,
14732        user_data: gpointer,
14733    );
14734    #[cfg(feature = "v2_74")]
14735    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
14736    pub fn g_app_info_get_default_for_uri_scheme_finish(
14737        result: *mut GAsyncResult,
14738        error: *mut *mut glib::GError,
14739    ) -> *mut GAppInfo;
14740    pub fn g_app_info_get_fallback_for_type(content_type: *const c_char) -> *mut glib::GList;
14741    pub fn g_app_info_get_recommended_for_type(content_type: *const c_char) -> *mut glib::GList;
14742    pub fn g_app_info_launch_default_for_uri(
14743        uri: *const c_char,
14744        context: *mut GAppLaunchContext,
14745        error: *mut *mut glib::GError,
14746    ) -> gboolean;
14747    pub fn g_app_info_launch_default_for_uri_async(
14748        uri: *const c_char,
14749        context: *mut GAppLaunchContext,
14750        cancellable: *mut GCancellable,
14751        callback: GAsyncReadyCallback,
14752        user_data: gpointer,
14753    );
14754    pub fn g_app_info_launch_default_for_uri_finish(
14755        result: *mut GAsyncResult,
14756        error: *mut *mut glib::GError,
14757    ) -> gboolean;
14758    pub fn g_app_info_reset_type_associations(content_type: *const c_char);
14759    pub fn g_app_info_add_supports_type(
14760        appinfo: *mut GAppInfo,
14761        content_type: *const c_char,
14762        error: *mut *mut glib::GError,
14763    ) -> gboolean;
14764    pub fn g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean;
14765    pub fn g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean;
14766    pub fn g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean;
14767    pub fn g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo;
14768    pub fn g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean;
14769    pub fn g_app_info_get_commandline(appinfo: *mut GAppInfo) -> *const c_char;
14770    pub fn g_app_info_get_description(appinfo: *mut GAppInfo) -> *const c_char;
14771    pub fn g_app_info_get_display_name(appinfo: *mut GAppInfo) -> *const c_char;
14772    pub fn g_app_info_get_executable(appinfo: *mut GAppInfo) -> *const c_char;
14773    pub fn g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon;
14774    pub fn g_app_info_get_id(appinfo: *mut GAppInfo) -> *const c_char;
14775    pub fn g_app_info_get_name(appinfo: *mut GAppInfo) -> *const c_char;
14776    pub fn g_app_info_get_supported_types(appinfo: *mut GAppInfo) -> *mut *const c_char;
14777    pub fn g_app_info_launch(
14778        appinfo: *mut GAppInfo,
14779        files: *mut glib::GList,
14780        context: *mut GAppLaunchContext,
14781        error: *mut *mut glib::GError,
14782    ) -> gboolean;
14783    pub fn g_app_info_launch_uris(
14784        appinfo: *mut GAppInfo,
14785        uris: *mut glib::GList,
14786        context: *mut GAppLaunchContext,
14787        error: *mut *mut glib::GError,
14788    ) -> gboolean;
14789    #[cfg(feature = "v2_60")]
14790    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14791    pub fn g_app_info_launch_uris_async(
14792        appinfo: *mut GAppInfo,
14793        uris: *mut glib::GList,
14794        context: *mut GAppLaunchContext,
14795        cancellable: *mut GCancellable,
14796        callback: GAsyncReadyCallback,
14797        user_data: gpointer,
14798    );
14799    #[cfg(feature = "v2_60")]
14800    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
14801    pub fn g_app_info_launch_uris_finish(
14802        appinfo: *mut GAppInfo,
14803        result: *mut GAsyncResult,
14804        error: *mut *mut glib::GError,
14805    ) -> gboolean;
14806    pub fn g_app_info_remove_supports_type(
14807        appinfo: *mut GAppInfo,
14808        content_type: *const c_char,
14809        error: *mut *mut glib::GError,
14810    ) -> gboolean;
14811    pub fn g_app_info_set_as_default_for_extension(
14812        appinfo: *mut GAppInfo,
14813        extension: *const c_char,
14814        error: *mut *mut glib::GError,
14815    ) -> gboolean;
14816    pub fn g_app_info_set_as_default_for_type(
14817        appinfo: *mut GAppInfo,
14818        content_type: *const c_char,
14819        error: *mut *mut glib::GError,
14820    ) -> gboolean;
14821    pub fn g_app_info_set_as_last_used_for_type(
14822        appinfo: *mut GAppInfo,
14823        content_type: *const c_char,
14824        error: *mut *mut glib::GError,
14825    ) -> gboolean;
14826    pub fn g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean;
14827    pub fn g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean;
14828    pub fn g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean;
14829
14830    //=========================================================================
14831    // GAsyncInitable
14832    //=========================================================================
14833    pub fn g_async_initable_get_type() -> GType;
14834    pub fn g_async_initable_new_async(
14835        object_type: GType,
14836        io_priority: c_int,
14837        cancellable: *mut GCancellable,
14838        callback: GAsyncReadyCallback,
14839        user_data: gpointer,
14840        first_property_name: *const c_char,
14841        ...
14842    );
14843    //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);
14844    pub fn g_async_initable_newv_async(
14845        object_type: GType,
14846        n_parameters: c_uint,
14847        parameters: *mut gobject::GParameter,
14848        io_priority: c_int,
14849        cancellable: *mut GCancellable,
14850        callback: GAsyncReadyCallback,
14851        user_data: gpointer,
14852    );
14853    pub fn g_async_initable_init_async(
14854        initable: *mut GAsyncInitable,
14855        io_priority: c_int,
14856        cancellable: *mut GCancellable,
14857        callback: GAsyncReadyCallback,
14858        user_data: gpointer,
14859    );
14860    pub fn g_async_initable_init_finish(
14861        initable: *mut GAsyncInitable,
14862        res: *mut GAsyncResult,
14863        error: *mut *mut glib::GError,
14864    ) -> gboolean;
14865    pub fn g_async_initable_new_finish(
14866        initable: *mut GAsyncInitable,
14867        res: *mut GAsyncResult,
14868        error: *mut *mut glib::GError,
14869    ) -> *mut gobject::GObject;
14870
14871    //=========================================================================
14872    // GAsyncResult
14873    //=========================================================================
14874    pub fn g_async_result_get_type() -> GType;
14875    pub fn g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut gobject::GObject;
14876    pub fn g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer;
14877    pub fn g_async_result_is_tagged(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean;
14878    pub fn g_async_result_legacy_propagate_error(
14879        res: *mut GAsyncResult,
14880        error: *mut *mut glib::GError,
14881    ) -> gboolean;
14882
14883    //=========================================================================
14884    // GConverter
14885    //=========================================================================
14886    pub fn g_converter_get_type() -> GType;
14887    pub fn g_converter_convert(
14888        converter: *mut GConverter,
14889        inbuf: *mut u8,
14890        inbuf_size: size_t,
14891        outbuf: *mut u8,
14892        outbuf_size: size_t,
14893        flags: GConverterFlags,
14894        bytes_read: *mut size_t,
14895        bytes_written: *mut size_t,
14896        error: *mut *mut glib::GError,
14897    ) -> GConverterResult;
14898    #[cfg(feature = "v2_82")]
14899    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
14900    pub fn g_converter_convert_bytes(
14901        converter: *mut GConverter,
14902        bytes: *mut glib::GBytes,
14903        error: *mut *mut glib::GError,
14904    ) -> *mut glib::GBytes;
14905    pub fn g_converter_reset(converter: *mut GConverter);
14906
14907    //=========================================================================
14908    // GDBusInterface
14909    //=========================================================================
14910    pub fn g_dbus_interface_get_type() -> GType;
14911    pub fn g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
14912    pub fn g_dbus_interface_get_info(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo;
14913    pub fn g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
14914    pub fn g_dbus_interface_set_object(interface_: *mut GDBusInterface, object: *mut GDBusObject);
14915
14916    //=========================================================================
14917    // GDBusObject
14918    //=========================================================================
14919    pub fn g_dbus_object_get_type() -> GType;
14920    pub fn g_dbus_object_get_interface(
14921        object: *mut GDBusObject,
14922        interface_name: *const c_char,
14923    ) -> *mut GDBusInterface;
14924    pub fn g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut glib::GList;
14925    pub fn g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const c_char;
14926
14927    //=========================================================================
14928    // GDBusObjectManager
14929    //=========================================================================
14930    pub fn g_dbus_object_manager_get_type() -> GType;
14931    pub fn g_dbus_object_manager_get_interface(
14932        manager: *mut GDBusObjectManager,
14933        object_path: *const c_char,
14934        interface_name: *const c_char,
14935    ) -> *mut GDBusInterface;
14936    pub fn g_dbus_object_manager_get_object(
14937        manager: *mut GDBusObjectManager,
14938        object_path: *const c_char,
14939    ) -> *mut GDBusObject;
14940    pub fn g_dbus_object_manager_get_object_path(manager: *mut GDBusObjectManager)
14941        -> *const c_char;
14942    pub fn g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager) -> *mut glib::GList;
14943
14944    //=========================================================================
14945    // GDatagramBased
14946    //=========================================================================
14947    pub fn g_datagram_based_get_type() -> GType;
14948    pub fn g_datagram_based_condition_check(
14949        datagram_based: *mut GDatagramBased,
14950        condition: glib::GIOCondition,
14951    ) -> glib::GIOCondition;
14952    pub fn g_datagram_based_condition_wait(
14953        datagram_based: *mut GDatagramBased,
14954        condition: glib::GIOCondition,
14955        timeout: i64,
14956        cancellable: *mut GCancellable,
14957        error: *mut *mut glib::GError,
14958    ) -> gboolean;
14959    pub fn g_datagram_based_create_source(
14960        datagram_based: *mut GDatagramBased,
14961        condition: glib::GIOCondition,
14962        cancellable: *mut GCancellable,
14963    ) -> *mut glib::GSource;
14964    pub fn g_datagram_based_receive_messages(
14965        datagram_based: *mut GDatagramBased,
14966        messages: *mut GInputMessage,
14967        num_messages: c_uint,
14968        flags: c_int,
14969        timeout: i64,
14970        cancellable: *mut GCancellable,
14971        error: *mut *mut glib::GError,
14972    ) -> c_int;
14973    pub fn g_datagram_based_send_messages(
14974        datagram_based: *mut GDatagramBased,
14975        messages: *mut GOutputMessage,
14976        num_messages: c_uint,
14977        flags: c_int,
14978        timeout: i64,
14979        cancellable: *mut GCancellable,
14980        error: *mut *mut glib::GError,
14981    ) -> c_int;
14982
14983    //=========================================================================
14984    // GDebugController
14985    //=========================================================================
14986    #[cfg(feature = "v2_72")]
14987    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14988    pub fn g_debug_controller_get_type() -> GType;
14989    #[cfg(feature = "v2_72")]
14990    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14991    pub fn g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean;
14992    #[cfg(feature = "v2_72")]
14993    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
14994    pub fn g_debug_controller_set_debug_enabled(
14995        self_: *mut GDebugController,
14996        debug_enabled: gboolean,
14997    );
14998
14999    //=========================================================================
15000    // GDrive
15001    //=========================================================================
15002    pub fn g_drive_get_type() -> GType;
15003    pub fn g_drive_can_eject(drive: *mut GDrive) -> gboolean;
15004    pub fn g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean;
15005    pub fn g_drive_can_start(drive: *mut GDrive) -> gboolean;
15006    pub fn g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean;
15007    pub fn g_drive_can_stop(drive: *mut GDrive) -> gboolean;
15008    pub fn g_drive_eject(
15009        drive: *mut GDrive,
15010        flags: GMountUnmountFlags,
15011        cancellable: *mut GCancellable,
15012        callback: GAsyncReadyCallback,
15013        user_data: gpointer,
15014    );
15015    pub fn g_drive_eject_finish(
15016        drive: *mut GDrive,
15017        result: *mut GAsyncResult,
15018        error: *mut *mut glib::GError,
15019    ) -> gboolean;
15020    pub fn g_drive_eject_with_operation(
15021        drive: *mut GDrive,
15022        flags: GMountUnmountFlags,
15023        mount_operation: *mut GMountOperation,
15024        cancellable: *mut GCancellable,
15025        callback: GAsyncReadyCallback,
15026        user_data: gpointer,
15027    );
15028    pub fn g_drive_eject_with_operation_finish(
15029        drive: *mut GDrive,
15030        result: *mut GAsyncResult,
15031        error: *mut *mut glib::GError,
15032    ) -> gboolean;
15033    pub fn g_drive_enumerate_identifiers(drive: *mut GDrive) -> *mut *mut c_char;
15034    pub fn g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon;
15035    pub fn g_drive_get_identifier(drive: *mut GDrive, kind: *const c_char) -> *mut c_char;
15036    pub fn g_drive_get_name(drive: *mut GDrive) -> *mut c_char;
15037    pub fn g_drive_get_sort_key(drive: *mut GDrive) -> *const c_char;
15038    pub fn g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType;
15039    pub fn g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon;
15040    pub fn g_drive_get_volumes(drive: *mut GDrive) -> *mut glib::GList;
15041    pub fn g_drive_has_media(drive: *mut GDrive) -> gboolean;
15042    pub fn g_drive_has_volumes(drive: *mut GDrive) -> gboolean;
15043    pub fn g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean;
15044    pub fn g_drive_is_media_removable(drive: *mut GDrive) -> gboolean;
15045    pub fn g_drive_is_removable(drive: *mut GDrive) -> gboolean;
15046    pub fn g_drive_poll_for_media(
15047        drive: *mut GDrive,
15048        cancellable: *mut GCancellable,
15049        callback: GAsyncReadyCallback,
15050        user_data: gpointer,
15051    );
15052    pub fn g_drive_poll_for_media_finish(
15053        drive: *mut GDrive,
15054        result: *mut GAsyncResult,
15055        error: *mut *mut glib::GError,
15056    ) -> gboolean;
15057    pub fn g_drive_start(
15058        drive: *mut GDrive,
15059        flags: GDriveStartFlags,
15060        mount_operation: *mut GMountOperation,
15061        cancellable: *mut GCancellable,
15062        callback: GAsyncReadyCallback,
15063        user_data: gpointer,
15064    );
15065    pub fn g_drive_start_finish(
15066        drive: *mut GDrive,
15067        result: *mut GAsyncResult,
15068        error: *mut *mut glib::GError,
15069    ) -> gboolean;
15070    pub fn g_drive_stop(
15071        drive: *mut GDrive,
15072        flags: GMountUnmountFlags,
15073        mount_operation: *mut GMountOperation,
15074        cancellable: *mut GCancellable,
15075        callback: GAsyncReadyCallback,
15076        user_data: gpointer,
15077    );
15078    pub fn g_drive_stop_finish(
15079        drive: *mut GDrive,
15080        result: *mut GAsyncResult,
15081        error: *mut *mut glib::GError,
15082    ) -> gboolean;
15083
15084    //=========================================================================
15085    // GDtlsClientConnection
15086    //=========================================================================
15087    pub fn g_dtls_client_connection_get_type() -> GType;
15088    pub fn g_dtls_client_connection_new(
15089        base_socket: *mut GDatagramBased,
15090        server_identity: *mut GSocketConnectable,
15091        error: *mut *mut glib::GError,
15092    ) -> *mut GDtlsClientConnection;
15093    pub fn g_dtls_client_connection_get_accepted_cas(
15094        conn: *mut GDtlsClientConnection,
15095    ) -> *mut glib::GList;
15096    pub fn g_dtls_client_connection_get_server_identity(
15097        conn: *mut GDtlsClientConnection,
15098    ) -> *mut GSocketConnectable;
15099    pub fn g_dtls_client_connection_get_validation_flags(
15100        conn: *mut GDtlsClientConnection,
15101    ) -> GTlsCertificateFlags;
15102    pub fn g_dtls_client_connection_set_server_identity(
15103        conn: *mut GDtlsClientConnection,
15104        identity: *mut GSocketConnectable,
15105    );
15106    pub fn g_dtls_client_connection_set_validation_flags(
15107        conn: *mut GDtlsClientConnection,
15108        flags: GTlsCertificateFlags,
15109    );
15110
15111    //=========================================================================
15112    // GDtlsConnection
15113    //=========================================================================
15114    pub fn g_dtls_connection_get_type() -> GType;
15115    pub fn g_dtls_connection_close(
15116        conn: *mut GDtlsConnection,
15117        cancellable: *mut GCancellable,
15118        error: *mut *mut glib::GError,
15119    ) -> gboolean;
15120    pub fn g_dtls_connection_close_async(
15121        conn: *mut GDtlsConnection,
15122        io_priority: c_int,
15123        cancellable: *mut GCancellable,
15124        callback: GAsyncReadyCallback,
15125        user_data: gpointer,
15126    );
15127    pub fn g_dtls_connection_close_finish(
15128        conn: *mut GDtlsConnection,
15129        result: *mut GAsyncResult,
15130        error: *mut *mut glib::GError,
15131    ) -> gboolean;
15132    pub fn g_dtls_connection_emit_accept_certificate(
15133        conn: *mut GDtlsConnection,
15134        peer_cert: *mut GTlsCertificate,
15135        errors: GTlsCertificateFlags,
15136    ) -> gboolean;
15137    pub fn g_dtls_connection_get_certificate(conn: *mut GDtlsConnection) -> *mut GTlsCertificate;
15138    #[cfg(feature = "v2_66")]
15139    #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))]
15140    pub fn g_dtls_connection_get_channel_binding_data(
15141        conn: *mut GDtlsConnection,
15142        type_: GTlsChannelBindingType,
15143        data: *mut glib::GByteArray,
15144        error: *mut *mut glib::GError,
15145    ) -> gboolean;
15146    #[cfg(feature = "v2_70")]
15147    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15148    pub fn g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut c_char;
15149    pub fn g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase;
15150    pub fn g_dtls_connection_get_interaction(conn: *mut GDtlsConnection) -> *mut GTlsInteraction;
15151    #[cfg(feature = "v2_60")]
15152    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15153    pub fn g_dtls_connection_get_negotiated_protocol(conn: *mut GDtlsConnection) -> *const c_char;
15154    pub fn g_dtls_connection_get_peer_certificate(
15155        conn: *mut GDtlsConnection,
15156    ) -> *mut GTlsCertificate;
15157    pub fn g_dtls_connection_get_peer_certificate_errors(
15158        conn: *mut GDtlsConnection,
15159    ) -> GTlsCertificateFlags;
15160    #[cfg(feature = "v2_70")]
15161    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
15162    pub fn g_dtls_connection_get_protocol_version(
15163        conn: *mut GDtlsConnection,
15164    ) -> GTlsProtocolVersion;
15165    pub fn g_dtls_connection_get_rehandshake_mode(
15166        conn: *mut GDtlsConnection,
15167    ) -> GTlsRehandshakeMode;
15168    pub fn g_dtls_connection_get_require_close_notify(conn: *mut GDtlsConnection) -> gboolean;
15169    pub fn g_dtls_connection_handshake(
15170        conn: *mut GDtlsConnection,
15171        cancellable: *mut GCancellable,
15172        error: *mut *mut glib::GError,
15173    ) -> gboolean;
15174    pub fn g_dtls_connection_handshake_async(
15175        conn: *mut GDtlsConnection,
15176        io_priority: c_int,
15177        cancellable: *mut GCancellable,
15178        callback: GAsyncReadyCallback,
15179        user_data: gpointer,
15180    );
15181    pub fn g_dtls_connection_handshake_finish(
15182        conn: *mut GDtlsConnection,
15183        result: *mut GAsyncResult,
15184        error: *mut *mut glib::GError,
15185    ) -> gboolean;
15186    #[cfg(feature = "v2_60")]
15187    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15188    pub fn g_dtls_connection_set_advertised_protocols(
15189        conn: *mut GDtlsConnection,
15190        protocols: *const *const c_char,
15191    );
15192    pub fn g_dtls_connection_set_certificate(
15193        conn: *mut GDtlsConnection,
15194        certificate: *mut GTlsCertificate,
15195    );
15196    pub fn g_dtls_connection_set_database(conn: *mut GDtlsConnection, database: *mut GTlsDatabase);
15197    pub fn g_dtls_connection_set_interaction(
15198        conn: *mut GDtlsConnection,
15199        interaction: *mut GTlsInteraction,
15200    );
15201    pub fn g_dtls_connection_set_rehandshake_mode(
15202        conn: *mut GDtlsConnection,
15203        mode: GTlsRehandshakeMode,
15204    );
15205    pub fn g_dtls_connection_set_require_close_notify(
15206        conn: *mut GDtlsConnection,
15207        require_close_notify: gboolean,
15208    );
15209    pub fn g_dtls_connection_shutdown(
15210        conn: *mut GDtlsConnection,
15211        shutdown_read: gboolean,
15212        shutdown_write: gboolean,
15213        cancellable: *mut GCancellable,
15214        error: *mut *mut glib::GError,
15215    ) -> gboolean;
15216    pub fn g_dtls_connection_shutdown_async(
15217        conn: *mut GDtlsConnection,
15218        shutdown_read: gboolean,
15219        shutdown_write: gboolean,
15220        io_priority: c_int,
15221        cancellable: *mut GCancellable,
15222        callback: GAsyncReadyCallback,
15223        user_data: gpointer,
15224    );
15225    pub fn g_dtls_connection_shutdown_finish(
15226        conn: *mut GDtlsConnection,
15227        result: *mut GAsyncResult,
15228        error: *mut *mut glib::GError,
15229    ) -> gboolean;
15230
15231    //=========================================================================
15232    // GDtlsServerConnection
15233    //=========================================================================
15234    pub fn g_dtls_server_connection_get_type() -> GType;
15235    pub fn g_dtls_server_connection_new(
15236        base_socket: *mut GDatagramBased,
15237        certificate: *mut GTlsCertificate,
15238        error: *mut *mut glib::GError,
15239    ) -> *mut GDtlsServerConnection;
15240
15241    //=========================================================================
15242    // GFile
15243    //=========================================================================
15244    pub fn g_file_get_type() -> GType;
15245    pub fn g_file_new_build_filename(first_element: *const c_char, ...) -> *mut GFile;
15246    #[cfg(feature = "v2_78")]
15247    #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
15248    pub fn g_file_new_build_filenamev(args: *const *const c_char) -> *mut GFile;
15249    pub fn g_file_new_for_commandline_arg(arg: *const c_char) -> *mut GFile;
15250    pub fn g_file_new_for_commandline_arg_and_cwd(
15251        arg: *const c_char,
15252        cwd: *const c_char,
15253    ) -> *mut GFile;
15254    pub fn g_file_new_for_path(path: *const c_char) -> *mut GFile;
15255    pub fn g_file_new_for_uri(uri: *const c_char) -> *mut GFile;
15256    pub fn g_file_new_tmp(
15257        tmpl: *const c_char,
15258        iostream: *mut *mut GFileIOStream,
15259        error: *mut *mut glib::GError,
15260    ) -> *mut GFile;
15261    #[cfg(feature = "v2_74")]
15262    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15263    pub fn g_file_new_tmp_async(
15264        tmpl: *const c_char,
15265        io_priority: c_int,
15266        cancellable: *mut GCancellable,
15267        callback: GAsyncReadyCallback,
15268        user_data: gpointer,
15269    );
15270    #[cfg(feature = "v2_74")]
15271    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15272    pub fn g_file_new_tmp_dir_async(
15273        tmpl: *const c_char,
15274        io_priority: c_int,
15275        cancellable: *mut GCancellable,
15276        callback: GAsyncReadyCallback,
15277        user_data: gpointer,
15278    );
15279    #[cfg(feature = "v2_74")]
15280    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15281    pub fn g_file_new_tmp_dir_finish(
15282        result: *mut GAsyncResult,
15283        error: *mut *mut glib::GError,
15284    ) -> *mut GFile;
15285    #[cfg(feature = "v2_74")]
15286    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15287    pub fn g_file_new_tmp_finish(
15288        result: *mut GAsyncResult,
15289        iostream: *mut *mut GFileIOStream,
15290        error: *mut *mut glib::GError,
15291    ) -> *mut GFile;
15292    pub fn g_file_parse_name(parse_name: *const c_char) -> *mut GFile;
15293    pub fn g_file_append_to(
15294        file: *mut GFile,
15295        flags: GFileCreateFlags,
15296        cancellable: *mut GCancellable,
15297        error: *mut *mut glib::GError,
15298    ) -> *mut GFileOutputStream;
15299    pub fn g_file_append_to_async(
15300        file: *mut GFile,
15301        flags: GFileCreateFlags,
15302        io_priority: c_int,
15303        cancellable: *mut GCancellable,
15304        callback: GAsyncReadyCallback,
15305        user_data: gpointer,
15306    );
15307    pub fn g_file_append_to_finish(
15308        file: *mut GFile,
15309        res: *mut GAsyncResult,
15310        error: *mut *mut glib::GError,
15311    ) -> *mut GFileOutputStream;
15312    #[cfg(feature = "v2_68")]
15313    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
15314    pub fn g_file_build_attribute_list_for_copy(
15315        file: *mut GFile,
15316        flags: GFileCopyFlags,
15317        cancellable: *mut GCancellable,
15318        error: *mut *mut glib::GError,
15319    ) -> *mut c_char;
15320    pub fn g_file_copy(
15321        source: *mut GFile,
15322        destination: *mut GFile,
15323        flags: GFileCopyFlags,
15324        cancellable: *mut GCancellable,
15325        progress_callback: GFileProgressCallback,
15326        progress_callback_data: gpointer,
15327        error: *mut *mut glib::GError,
15328    ) -> gboolean;
15329    pub fn g_file_copy_async(
15330        source: *mut GFile,
15331        destination: *mut GFile,
15332        flags: GFileCopyFlags,
15333        io_priority: c_int,
15334        cancellable: *mut GCancellable,
15335        progress_callback: GFileProgressCallback,
15336        progress_callback_data: gpointer,
15337        callback: GAsyncReadyCallback,
15338        user_data: gpointer,
15339    );
15340    #[cfg(feature = "v2_82")]
15341    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15342    pub fn g_file_copy_async_with_closures(
15343        source: *mut GFile,
15344        destination: *mut GFile,
15345        flags: GFileCopyFlags,
15346        io_priority: c_int,
15347        cancellable: *mut GCancellable,
15348        progress_callback_closure: *mut gobject::GClosure,
15349        ready_callback_closure: *mut gobject::GClosure,
15350    );
15351    pub fn g_file_copy_attributes(
15352        source: *mut GFile,
15353        destination: *mut GFile,
15354        flags: GFileCopyFlags,
15355        cancellable: *mut GCancellable,
15356        error: *mut *mut glib::GError,
15357    ) -> gboolean;
15358    pub fn g_file_copy_finish(
15359        file: *mut GFile,
15360        res: *mut GAsyncResult,
15361        error: *mut *mut glib::GError,
15362    ) -> gboolean;
15363    pub fn g_file_create(
15364        file: *mut GFile,
15365        flags: GFileCreateFlags,
15366        cancellable: *mut GCancellable,
15367        error: *mut *mut glib::GError,
15368    ) -> *mut GFileOutputStream;
15369    pub fn g_file_create_async(
15370        file: *mut GFile,
15371        flags: GFileCreateFlags,
15372        io_priority: c_int,
15373        cancellable: *mut GCancellable,
15374        callback: GAsyncReadyCallback,
15375        user_data: gpointer,
15376    );
15377    pub fn g_file_create_finish(
15378        file: *mut GFile,
15379        res: *mut GAsyncResult,
15380        error: *mut *mut glib::GError,
15381    ) -> *mut GFileOutputStream;
15382    pub fn g_file_create_readwrite(
15383        file: *mut GFile,
15384        flags: GFileCreateFlags,
15385        cancellable: *mut GCancellable,
15386        error: *mut *mut glib::GError,
15387    ) -> *mut GFileIOStream;
15388    pub fn g_file_create_readwrite_async(
15389        file: *mut GFile,
15390        flags: GFileCreateFlags,
15391        io_priority: c_int,
15392        cancellable: *mut GCancellable,
15393        callback: GAsyncReadyCallback,
15394        user_data: gpointer,
15395    );
15396    pub fn g_file_create_readwrite_finish(
15397        file: *mut GFile,
15398        res: *mut GAsyncResult,
15399        error: *mut *mut glib::GError,
15400    ) -> *mut GFileIOStream;
15401    pub fn g_file_delete(
15402        file: *mut GFile,
15403        cancellable: *mut GCancellable,
15404        error: *mut *mut glib::GError,
15405    ) -> gboolean;
15406    pub fn g_file_delete_async(
15407        file: *mut GFile,
15408        io_priority: c_int,
15409        cancellable: *mut GCancellable,
15410        callback: GAsyncReadyCallback,
15411        user_data: gpointer,
15412    );
15413    pub fn g_file_delete_finish(
15414        file: *mut GFile,
15415        result: *mut GAsyncResult,
15416        error: *mut *mut glib::GError,
15417    ) -> gboolean;
15418    pub fn g_file_dup(file: *mut GFile) -> *mut GFile;
15419    pub fn g_file_eject_mountable(
15420        file: *mut GFile,
15421        flags: GMountUnmountFlags,
15422        cancellable: *mut GCancellable,
15423        callback: GAsyncReadyCallback,
15424        user_data: gpointer,
15425    );
15426    pub fn g_file_eject_mountable_finish(
15427        file: *mut GFile,
15428        result: *mut GAsyncResult,
15429        error: *mut *mut glib::GError,
15430    ) -> gboolean;
15431    pub fn g_file_eject_mountable_with_operation(
15432        file: *mut GFile,
15433        flags: GMountUnmountFlags,
15434        mount_operation: *mut GMountOperation,
15435        cancellable: *mut GCancellable,
15436        callback: GAsyncReadyCallback,
15437        user_data: gpointer,
15438    );
15439    pub fn g_file_eject_mountable_with_operation_finish(
15440        file: *mut GFile,
15441        result: *mut GAsyncResult,
15442        error: *mut *mut glib::GError,
15443    ) -> gboolean;
15444    pub fn g_file_enumerate_children(
15445        file: *mut GFile,
15446        attributes: *const c_char,
15447        flags: GFileQueryInfoFlags,
15448        cancellable: *mut GCancellable,
15449        error: *mut *mut glib::GError,
15450    ) -> *mut GFileEnumerator;
15451    pub fn g_file_enumerate_children_async(
15452        file: *mut GFile,
15453        attributes: *const c_char,
15454        flags: GFileQueryInfoFlags,
15455        io_priority: c_int,
15456        cancellable: *mut GCancellable,
15457        callback: GAsyncReadyCallback,
15458        user_data: gpointer,
15459    );
15460    pub fn g_file_enumerate_children_finish(
15461        file: *mut GFile,
15462        res: *mut GAsyncResult,
15463        error: *mut *mut glib::GError,
15464    ) -> *mut GFileEnumerator;
15465    pub fn g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean;
15466    pub fn g_file_find_enclosing_mount(
15467        file: *mut GFile,
15468        cancellable: *mut GCancellable,
15469        error: *mut *mut glib::GError,
15470    ) -> *mut GMount;
15471    pub fn g_file_find_enclosing_mount_async(
15472        file: *mut GFile,
15473        io_priority: c_int,
15474        cancellable: *mut GCancellable,
15475        callback: GAsyncReadyCallback,
15476        user_data: gpointer,
15477    );
15478    pub fn g_file_find_enclosing_mount_finish(
15479        file: *mut GFile,
15480        res: *mut GAsyncResult,
15481        error: *mut *mut glib::GError,
15482    ) -> *mut GMount;
15483    pub fn g_file_get_basename(file: *mut GFile) -> *mut c_char;
15484    pub fn g_file_get_child(file: *mut GFile, name: *const c_char) -> *mut GFile;
15485    pub fn g_file_get_child_for_display_name(
15486        file: *mut GFile,
15487        display_name: *const c_char,
15488        error: *mut *mut glib::GError,
15489    ) -> *mut GFile;
15490    pub fn g_file_get_parent(file: *mut GFile) -> *mut GFile;
15491    pub fn g_file_get_parse_name(file: *mut GFile) -> *mut c_char;
15492    pub fn g_file_get_path(file: *mut GFile) -> *mut c_char;
15493    pub fn g_file_get_relative_path(parent: *mut GFile, descendant: *mut GFile) -> *mut c_char;
15494    pub fn g_file_get_uri(file: *mut GFile) -> *mut c_char;
15495    pub fn g_file_get_uri_scheme(file: *mut GFile) -> *mut c_char;
15496    pub fn g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean;
15497    pub fn g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean;
15498    pub fn g_file_has_uri_scheme(file: *mut GFile, uri_scheme: *const c_char) -> gboolean;
15499    pub fn g_file_hash(file: gconstpointer) -> c_uint;
15500    pub fn g_file_is_native(file: *mut GFile) -> gboolean;
15501    pub fn g_file_load_bytes(
15502        file: *mut GFile,
15503        cancellable: *mut GCancellable,
15504        etag_out: *mut *mut c_char,
15505        error: *mut *mut glib::GError,
15506    ) -> *mut glib::GBytes;
15507    pub fn g_file_load_bytes_async(
15508        file: *mut GFile,
15509        cancellable: *mut GCancellable,
15510        callback: GAsyncReadyCallback,
15511        user_data: gpointer,
15512    );
15513    pub fn g_file_load_bytes_finish(
15514        file: *mut GFile,
15515        result: *mut GAsyncResult,
15516        etag_out: *mut *mut c_char,
15517        error: *mut *mut glib::GError,
15518    ) -> *mut glib::GBytes;
15519    pub fn g_file_load_contents(
15520        file: *mut GFile,
15521        cancellable: *mut GCancellable,
15522        contents: *mut *mut u8,
15523        length: *mut size_t,
15524        etag_out: *mut *mut c_char,
15525        error: *mut *mut glib::GError,
15526    ) -> gboolean;
15527    pub fn g_file_load_contents_async(
15528        file: *mut GFile,
15529        cancellable: *mut GCancellable,
15530        callback: GAsyncReadyCallback,
15531        user_data: gpointer,
15532    );
15533    pub fn g_file_load_contents_finish(
15534        file: *mut GFile,
15535        res: *mut GAsyncResult,
15536        contents: *mut *mut u8,
15537        length: *mut size_t,
15538        etag_out: *mut *mut c_char,
15539        error: *mut *mut glib::GError,
15540    ) -> gboolean;
15541    pub fn g_file_load_partial_contents_async(
15542        file: *mut GFile,
15543        cancellable: *mut GCancellable,
15544        read_more_callback: GFileReadMoreCallback,
15545        callback: GAsyncReadyCallback,
15546        user_data: gpointer,
15547    );
15548    pub fn g_file_load_partial_contents_finish(
15549        file: *mut GFile,
15550        res: *mut GAsyncResult,
15551        contents: *mut *mut u8,
15552        length: *mut size_t,
15553        etag_out: *mut *mut c_char,
15554        error: *mut *mut glib::GError,
15555    ) -> gboolean;
15556    pub fn g_file_make_directory(
15557        file: *mut GFile,
15558        cancellable: *mut GCancellable,
15559        error: *mut *mut glib::GError,
15560    ) -> gboolean;
15561    pub fn g_file_make_directory_async(
15562        file: *mut GFile,
15563        io_priority: c_int,
15564        cancellable: *mut GCancellable,
15565        callback: GAsyncReadyCallback,
15566        user_data: gpointer,
15567    );
15568    pub fn g_file_make_directory_finish(
15569        file: *mut GFile,
15570        result: *mut GAsyncResult,
15571        error: *mut *mut glib::GError,
15572    ) -> gboolean;
15573    pub fn g_file_make_directory_with_parents(
15574        file: *mut GFile,
15575        cancellable: *mut GCancellable,
15576        error: *mut *mut glib::GError,
15577    ) -> gboolean;
15578    pub fn g_file_make_symbolic_link(
15579        file: *mut GFile,
15580        symlink_value: *const c_char,
15581        cancellable: *mut GCancellable,
15582        error: *mut *mut glib::GError,
15583    ) -> gboolean;
15584    #[cfg(feature = "v2_74")]
15585    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15586    pub fn g_file_make_symbolic_link_async(
15587        file: *mut GFile,
15588        symlink_value: *const c_char,
15589        io_priority: c_int,
15590        cancellable: *mut GCancellable,
15591        callback: GAsyncReadyCallback,
15592        user_data: gpointer,
15593    );
15594    #[cfg(feature = "v2_74")]
15595    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
15596    pub fn g_file_make_symbolic_link_finish(
15597        file: *mut GFile,
15598        result: *mut GAsyncResult,
15599        error: *mut *mut glib::GError,
15600    ) -> gboolean;
15601    pub fn g_file_measure_disk_usage(
15602        file: *mut GFile,
15603        flags: GFileMeasureFlags,
15604        cancellable: *mut GCancellable,
15605        progress_callback: GFileMeasureProgressCallback,
15606        progress_data: gpointer,
15607        disk_usage: *mut u64,
15608        num_dirs: *mut u64,
15609        num_files: *mut u64,
15610        error: *mut *mut glib::GError,
15611    ) -> gboolean;
15612    pub fn g_file_measure_disk_usage_async(
15613        file: *mut GFile,
15614        flags: GFileMeasureFlags,
15615        io_priority: c_int,
15616        cancellable: *mut GCancellable,
15617        progress_callback: GFileMeasureProgressCallback,
15618        progress_data: gpointer,
15619        callback: GAsyncReadyCallback,
15620        user_data: gpointer,
15621    );
15622    pub fn g_file_measure_disk_usage_finish(
15623        file: *mut GFile,
15624        result: *mut GAsyncResult,
15625        disk_usage: *mut u64,
15626        num_dirs: *mut u64,
15627        num_files: *mut u64,
15628        error: *mut *mut glib::GError,
15629    ) -> gboolean;
15630    pub fn g_file_monitor(
15631        file: *mut GFile,
15632        flags: GFileMonitorFlags,
15633        cancellable: *mut GCancellable,
15634        error: *mut *mut glib::GError,
15635    ) -> *mut GFileMonitor;
15636    pub fn g_file_monitor_directory(
15637        file: *mut GFile,
15638        flags: GFileMonitorFlags,
15639        cancellable: *mut GCancellable,
15640        error: *mut *mut glib::GError,
15641    ) -> *mut GFileMonitor;
15642    pub fn g_file_monitor_file(
15643        file: *mut GFile,
15644        flags: GFileMonitorFlags,
15645        cancellable: *mut GCancellable,
15646        error: *mut *mut glib::GError,
15647    ) -> *mut GFileMonitor;
15648    pub fn g_file_mount_enclosing_volume(
15649        location: *mut GFile,
15650        flags: GMountMountFlags,
15651        mount_operation: *mut GMountOperation,
15652        cancellable: *mut GCancellable,
15653        callback: GAsyncReadyCallback,
15654        user_data: gpointer,
15655    );
15656    pub fn g_file_mount_enclosing_volume_finish(
15657        location: *mut GFile,
15658        result: *mut GAsyncResult,
15659        error: *mut *mut glib::GError,
15660    ) -> gboolean;
15661    pub fn g_file_mount_mountable(
15662        file: *mut GFile,
15663        flags: GMountMountFlags,
15664        mount_operation: *mut GMountOperation,
15665        cancellable: *mut GCancellable,
15666        callback: GAsyncReadyCallback,
15667        user_data: gpointer,
15668    );
15669    pub fn g_file_mount_mountable_finish(
15670        file: *mut GFile,
15671        result: *mut GAsyncResult,
15672        error: *mut *mut glib::GError,
15673    ) -> *mut GFile;
15674    pub fn g_file_move(
15675        source: *mut GFile,
15676        destination: *mut GFile,
15677        flags: GFileCopyFlags,
15678        cancellable: *mut GCancellable,
15679        progress_callback: GFileProgressCallback,
15680        progress_callback_data: gpointer,
15681        error: *mut *mut glib::GError,
15682    ) -> gboolean;
15683    #[cfg(feature = "v2_72")]
15684    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15685    pub fn g_file_move_async(
15686        source: *mut GFile,
15687        destination: *mut GFile,
15688        flags: GFileCopyFlags,
15689        io_priority: c_int,
15690        cancellable: *mut GCancellable,
15691        progress_callback: GFileProgressCallback,
15692        progress_callback_data: gpointer,
15693        callback: GAsyncReadyCallback,
15694        user_data: gpointer,
15695    );
15696    #[cfg(feature = "v2_82")]
15697    #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
15698    pub fn g_file_move_async_with_closures(
15699        source: *mut GFile,
15700        destination: *mut GFile,
15701        flags: GFileCopyFlags,
15702        io_priority: c_int,
15703        cancellable: *mut GCancellable,
15704        progress_callback_closure: *mut gobject::GClosure,
15705        ready_callback_closure: *mut gobject::GClosure,
15706    );
15707    #[cfg(feature = "v2_72")]
15708    #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
15709    pub fn g_file_move_finish(
15710        file: *mut GFile,
15711        result: *mut GAsyncResult,
15712        error: *mut *mut glib::GError,
15713    ) -> gboolean;
15714    pub fn g_file_open_readwrite(
15715        file: *mut GFile,
15716        cancellable: *mut GCancellable,
15717        error: *mut *mut glib::GError,
15718    ) -> *mut GFileIOStream;
15719    pub fn g_file_open_readwrite_async(
15720        file: *mut GFile,
15721        io_priority: c_int,
15722        cancellable: *mut GCancellable,
15723        callback: GAsyncReadyCallback,
15724        user_data: gpointer,
15725    );
15726    pub fn g_file_open_readwrite_finish(
15727        file: *mut GFile,
15728        res: *mut GAsyncResult,
15729        error: *mut *mut glib::GError,
15730    ) -> *mut GFileIOStream;
15731    pub fn g_file_peek_path(file: *mut GFile) -> *const c_char;
15732    pub fn g_file_poll_mountable(
15733        file: *mut GFile,
15734        cancellable: *mut GCancellable,
15735        callback: GAsyncReadyCallback,
15736        user_data: gpointer,
15737    );
15738    pub fn g_file_poll_mountable_finish(
15739        file: *mut GFile,
15740        result: *mut GAsyncResult,
15741        error: *mut *mut glib::GError,
15742    ) -> gboolean;
15743    pub fn g_file_query_default_handler(
15744        file: *mut GFile,
15745        cancellable: *mut GCancellable,
15746        error: *mut *mut glib::GError,
15747    ) -> *mut GAppInfo;
15748    #[cfg(feature = "v2_60")]
15749    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15750    pub fn g_file_query_default_handler_async(
15751        file: *mut GFile,
15752        io_priority: c_int,
15753        cancellable: *mut GCancellable,
15754        callback: GAsyncReadyCallback,
15755        user_data: gpointer,
15756    );
15757    #[cfg(feature = "v2_60")]
15758    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
15759    pub fn g_file_query_default_handler_finish(
15760        file: *mut GFile,
15761        result: *mut GAsyncResult,
15762        error: *mut *mut glib::GError,
15763    ) -> *mut GAppInfo;
15764    pub fn g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable) -> gboolean;
15765    pub fn g_file_query_file_type(
15766        file: *mut GFile,
15767        flags: GFileQueryInfoFlags,
15768        cancellable: *mut GCancellable,
15769    ) -> GFileType;
15770    pub fn g_file_query_filesystem_info(
15771        file: *mut GFile,
15772        attributes: *const c_char,
15773        cancellable: *mut GCancellable,
15774        error: *mut *mut glib::GError,
15775    ) -> *mut GFileInfo;
15776    pub fn g_file_query_filesystem_info_async(
15777        file: *mut GFile,
15778        attributes: *const c_char,
15779        io_priority: c_int,
15780        cancellable: *mut GCancellable,
15781        callback: GAsyncReadyCallback,
15782        user_data: gpointer,
15783    );
15784    pub fn g_file_query_filesystem_info_finish(
15785        file: *mut GFile,
15786        res: *mut GAsyncResult,
15787        error: *mut *mut glib::GError,
15788    ) -> *mut GFileInfo;
15789    pub fn g_file_query_info(
15790        file: *mut GFile,
15791        attributes: *const c_char,
15792        flags: GFileQueryInfoFlags,
15793        cancellable: *mut GCancellable,
15794        error: *mut *mut glib::GError,
15795    ) -> *mut GFileInfo;
15796    pub fn g_file_query_info_async(
15797        file: *mut GFile,
15798        attributes: *const c_char,
15799        flags: GFileQueryInfoFlags,
15800        io_priority: c_int,
15801        cancellable: *mut GCancellable,
15802        callback: GAsyncReadyCallback,
15803        user_data: gpointer,
15804    );
15805    pub fn g_file_query_info_finish(
15806        file: *mut GFile,
15807        res: *mut GAsyncResult,
15808        error: *mut *mut glib::GError,
15809    ) -> *mut GFileInfo;
15810    pub fn g_file_query_settable_attributes(
15811        file: *mut GFile,
15812        cancellable: *mut GCancellable,
15813        error: *mut *mut glib::GError,
15814    ) -> *mut GFileAttributeInfoList;
15815    pub fn g_file_query_writable_namespaces(
15816        file: *mut GFile,
15817        cancellable: *mut GCancellable,
15818        error: *mut *mut glib::GError,
15819    ) -> *mut GFileAttributeInfoList;
15820    pub fn g_file_read(
15821        file: *mut GFile,
15822        cancellable: *mut GCancellable,
15823        error: *mut *mut glib::GError,
15824    ) -> *mut GFileInputStream;
15825    pub fn g_file_read_async(
15826        file: *mut GFile,
15827        io_priority: c_int,
15828        cancellable: *mut GCancellable,
15829        callback: GAsyncReadyCallback,
15830        user_data: gpointer,
15831    );
15832    pub fn g_file_read_finish(
15833        file: *mut GFile,
15834        res: *mut GAsyncResult,
15835        error: *mut *mut glib::GError,
15836    ) -> *mut GFileInputStream;
15837    pub fn g_file_replace(
15838        file: *mut GFile,
15839        etag: *const c_char,
15840        make_backup: gboolean,
15841        flags: GFileCreateFlags,
15842        cancellable: *mut GCancellable,
15843        error: *mut *mut glib::GError,
15844    ) -> *mut GFileOutputStream;
15845    pub fn g_file_replace_async(
15846        file: *mut GFile,
15847        etag: *const c_char,
15848        make_backup: gboolean,
15849        flags: GFileCreateFlags,
15850        io_priority: c_int,
15851        cancellable: *mut GCancellable,
15852        callback: GAsyncReadyCallback,
15853        user_data: gpointer,
15854    );
15855    pub fn g_file_replace_contents(
15856        file: *mut GFile,
15857        contents: *const u8,
15858        length: size_t,
15859        etag: *const c_char,
15860        make_backup: gboolean,
15861        flags: GFileCreateFlags,
15862        new_etag: *mut *mut c_char,
15863        cancellable: *mut GCancellable,
15864        error: *mut *mut glib::GError,
15865    ) -> gboolean;
15866    pub fn g_file_replace_contents_async(
15867        file: *mut GFile,
15868        contents: *const u8,
15869        length: size_t,
15870        etag: *const c_char,
15871        make_backup: gboolean,
15872        flags: GFileCreateFlags,
15873        cancellable: *mut GCancellable,
15874        callback: GAsyncReadyCallback,
15875        user_data: gpointer,
15876    );
15877    pub fn g_file_replace_contents_bytes_async(
15878        file: *mut GFile,
15879        contents: *mut glib::GBytes,
15880        etag: *const c_char,
15881        make_backup: gboolean,
15882        flags: GFileCreateFlags,
15883        cancellable: *mut GCancellable,
15884        callback: GAsyncReadyCallback,
15885        user_data: gpointer,
15886    );
15887    pub fn g_file_replace_contents_finish(
15888        file: *mut GFile,
15889        res: *mut GAsyncResult,
15890        new_etag: *mut *mut c_char,
15891        error: *mut *mut glib::GError,
15892    ) -> gboolean;
15893    pub fn g_file_replace_finish(
15894        file: *mut GFile,
15895        res: *mut GAsyncResult,
15896        error: *mut *mut glib::GError,
15897    ) -> *mut GFileOutputStream;
15898    pub fn g_file_replace_readwrite(
15899        file: *mut GFile,
15900        etag: *const c_char,
15901        make_backup: gboolean,
15902        flags: GFileCreateFlags,
15903        cancellable: *mut GCancellable,
15904        error: *mut *mut glib::GError,
15905    ) -> *mut GFileIOStream;
15906    pub fn g_file_replace_readwrite_async(
15907        file: *mut GFile,
15908        etag: *const c_char,
15909        make_backup: gboolean,
15910        flags: GFileCreateFlags,
15911        io_priority: c_int,
15912        cancellable: *mut GCancellable,
15913        callback: GAsyncReadyCallback,
15914        user_data: gpointer,
15915    );
15916    pub fn g_file_replace_readwrite_finish(
15917        file: *mut GFile,
15918        res: *mut GAsyncResult,
15919        error: *mut *mut glib::GError,
15920    ) -> *mut GFileIOStream;
15921    pub fn g_file_resolve_relative_path(
15922        file: *mut GFile,
15923        relative_path: *const c_char,
15924    ) -> *mut GFile;
15925    pub fn g_file_set_attribute(
15926        file: *mut GFile,
15927        attribute: *const c_char,
15928        type_: GFileAttributeType,
15929        value_p: gpointer,
15930        flags: GFileQueryInfoFlags,
15931        cancellable: *mut GCancellable,
15932        error: *mut *mut glib::GError,
15933    ) -> gboolean;
15934    pub fn g_file_set_attribute_byte_string(
15935        file: *mut GFile,
15936        attribute: *const c_char,
15937        value: *const c_char,
15938        flags: GFileQueryInfoFlags,
15939        cancellable: *mut GCancellable,
15940        error: *mut *mut glib::GError,
15941    ) -> gboolean;
15942    pub fn g_file_set_attribute_int32(
15943        file: *mut GFile,
15944        attribute: *const c_char,
15945        value: i32,
15946        flags: GFileQueryInfoFlags,
15947        cancellable: *mut GCancellable,
15948        error: *mut *mut glib::GError,
15949    ) -> gboolean;
15950    pub fn g_file_set_attribute_int64(
15951        file: *mut GFile,
15952        attribute: *const c_char,
15953        value: i64,
15954        flags: GFileQueryInfoFlags,
15955        cancellable: *mut GCancellable,
15956        error: *mut *mut glib::GError,
15957    ) -> gboolean;
15958    pub fn g_file_set_attribute_string(
15959        file: *mut GFile,
15960        attribute: *const c_char,
15961        value: *const c_char,
15962        flags: GFileQueryInfoFlags,
15963        cancellable: *mut GCancellable,
15964        error: *mut *mut glib::GError,
15965    ) -> gboolean;
15966    pub fn g_file_set_attribute_uint32(
15967        file: *mut GFile,
15968        attribute: *const c_char,
15969        value: u32,
15970        flags: GFileQueryInfoFlags,
15971        cancellable: *mut GCancellable,
15972        error: *mut *mut glib::GError,
15973    ) -> gboolean;
15974    pub fn g_file_set_attribute_uint64(
15975        file: *mut GFile,
15976        attribute: *const c_char,
15977        value: u64,
15978        flags: GFileQueryInfoFlags,
15979        cancellable: *mut GCancellable,
15980        error: *mut *mut glib::GError,
15981    ) -> gboolean;
15982    pub fn g_file_set_attributes_async(
15983        file: *mut GFile,
15984        info: *mut GFileInfo,
15985        flags: GFileQueryInfoFlags,
15986        io_priority: c_int,
15987        cancellable: *mut GCancellable,
15988        callback: GAsyncReadyCallback,
15989        user_data: gpointer,
15990    );
15991    pub fn g_file_set_attributes_finish(
15992        file: *mut GFile,
15993        result: *mut GAsyncResult,
15994        info: *mut *mut GFileInfo,
15995        error: *mut *mut glib::GError,
15996    ) -> gboolean;
15997    pub fn g_file_set_attributes_from_info(
15998        file: *mut GFile,
15999        info: *mut GFileInfo,
16000        flags: GFileQueryInfoFlags,
16001        cancellable: *mut GCancellable,
16002        error: *mut *mut glib::GError,
16003    ) -> gboolean;
16004    pub fn g_file_set_display_name(
16005        file: *mut GFile,
16006        display_name: *const c_char,
16007        cancellable: *mut GCancellable,
16008        error: *mut *mut glib::GError,
16009    ) -> *mut GFile;
16010    pub fn g_file_set_display_name_async(
16011        file: *mut GFile,
16012        display_name: *const c_char,
16013        io_priority: c_int,
16014        cancellable: *mut GCancellable,
16015        callback: GAsyncReadyCallback,
16016        user_data: gpointer,
16017    );
16018    pub fn g_file_set_display_name_finish(
16019        file: *mut GFile,
16020        res: *mut GAsyncResult,
16021        error: *mut *mut glib::GError,
16022    ) -> *mut GFile;
16023    pub fn g_file_start_mountable(
16024        file: *mut GFile,
16025        flags: GDriveStartFlags,
16026        start_operation: *mut GMountOperation,
16027        cancellable: *mut GCancellable,
16028        callback: GAsyncReadyCallback,
16029        user_data: gpointer,
16030    );
16031    pub fn g_file_start_mountable_finish(
16032        file: *mut GFile,
16033        result: *mut GAsyncResult,
16034        error: *mut *mut glib::GError,
16035    ) -> gboolean;
16036    pub fn g_file_stop_mountable(
16037        file: *mut GFile,
16038        flags: GMountUnmountFlags,
16039        mount_operation: *mut GMountOperation,
16040        cancellable: *mut GCancellable,
16041        callback: GAsyncReadyCallback,
16042        user_data: gpointer,
16043    );
16044    pub fn g_file_stop_mountable_finish(
16045        file: *mut GFile,
16046        result: *mut GAsyncResult,
16047        error: *mut *mut glib::GError,
16048    ) -> gboolean;
16049    pub fn g_file_supports_thread_contexts(file: *mut GFile) -> gboolean;
16050    pub fn g_file_trash(
16051        file: *mut GFile,
16052        cancellable: *mut GCancellable,
16053        error: *mut *mut glib::GError,
16054    ) -> gboolean;
16055    pub fn g_file_trash_async(
16056        file: *mut GFile,
16057        io_priority: c_int,
16058        cancellable: *mut GCancellable,
16059        callback: GAsyncReadyCallback,
16060        user_data: gpointer,
16061    );
16062    pub fn g_file_trash_finish(
16063        file: *mut GFile,
16064        result: *mut GAsyncResult,
16065        error: *mut *mut glib::GError,
16066    ) -> gboolean;
16067    pub fn g_file_unmount_mountable(
16068        file: *mut GFile,
16069        flags: GMountUnmountFlags,
16070        cancellable: *mut GCancellable,
16071        callback: GAsyncReadyCallback,
16072        user_data: gpointer,
16073    );
16074    pub fn g_file_unmount_mountable_finish(
16075        file: *mut GFile,
16076        result: *mut GAsyncResult,
16077        error: *mut *mut glib::GError,
16078    ) -> gboolean;
16079    pub fn g_file_unmount_mountable_with_operation(
16080        file: *mut GFile,
16081        flags: GMountUnmountFlags,
16082        mount_operation: *mut GMountOperation,
16083        cancellable: *mut GCancellable,
16084        callback: GAsyncReadyCallback,
16085        user_data: gpointer,
16086    );
16087    pub fn g_file_unmount_mountable_with_operation_finish(
16088        file: *mut GFile,
16089        result: *mut GAsyncResult,
16090        error: *mut *mut glib::GError,
16091    ) -> gboolean;
16092
16093    //=========================================================================
16094    // GIcon
16095    //=========================================================================
16096    pub fn g_icon_get_type() -> GType;
16097    pub fn g_icon_deserialize(value: *mut glib::GVariant) -> *mut GIcon;
16098    pub fn g_icon_new_for_string(str: *const c_char, error: *mut *mut glib::GError) -> *mut GIcon;
16099    pub fn g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean;
16100    pub fn g_icon_hash(icon: gconstpointer) -> c_uint;
16101    pub fn g_icon_serialize(icon: *mut GIcon) -> *mut glib::GVariant;
16102    pub fn g_icon_to_string(icon: *mut GIcon) -> *mut c_char;
16103
16104    //=========================================================================
16105    // GInitable
16106    //=========================================================================
16107    pub fn g_initable_get_type() -> GType;
16108    pub fn g_initable_new(
16109        object_type: GType,
16110        cancellable: *mut GCancellable,
16111        error: *mut *mut glib::GError,
16112        first_property_name: *const c_char,
16113        ...
16114    ) -> *mut gobject::GObject;
16115    //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;
16116    pub fn g_initable_newv(
16117        object_type: GType,
16118        n_parameters: c_uint,
16119        parameters: *mut gobject::GParameter,
16120        cancellable: *mut GCancellable,
16121        error: *mut *mut glib::GError,
16122    ) -> *mut gobject::GObject;
16123    pub fn g_initable_init(
16124        initable: *mut GInitable,
16125        cancellable: *mut GCancellable,
16126        error: *mut *mut glib::GError,
16127    ) -> gboolean;
16128
16129    //=========================================================================
16130    // GListModel
16131    //=========================================================================
16132    pub fn g_list_model_get_type() -> GType;
16133    pub fn g_list_model_get_item(list: *mut GListModel, position: c_uint) -> gpointer;
16134    pub fn g_list_model_get_item_type(list: *mut GListModel) -> GType;
16135    pub fn g_list_model_get_n_items(list: *mut GListModel) -> c_uint;
16136    pub fn g_list_model_get_object(
16137        list: *mut GListModel,
16138        position: c_uint,
16139    ) -> *mut gobject::GObject;
16140    pub fn g_list_model_items_changed(
16141        list: *mut GListModel,
16142        position: c_uint,
16143        removed: c_uint,
16144        added: c_uint,
16145    );
16146
16147    //=========================================================================
16148    // GLoadableIcon
16149    //=========================================================================
16150    pub fn g_loadable_icon_get_type() -> GType;
16151    pub fn g_loadable_icon_load(
16152        icon: *mut GLoadableIcon,
16153        size: c_int,
16154        type_: *mut *mut c_char,
16155        cancellable: *mut GCancellable,
16156        error: *mut *mut glib::GError,
16157    ) -> *mut GInputStream;
16158    pub fn g_loadable_icon_load_async(
16159        icon: *mut GLoadableIcon,
16160        size: c_int,
16161        cancellable: *mut GCancellable,
16162        callback: GAsyncReadyCallback,
16163        user_data: gpointer,
16164    );
16165    pub fn g_loadable_icon_load_finish(
16166        icon: *mut GLoadableIcon,
16167        res: *mut GAsyncResult,
16168        type_: *mut *mut c_char,
16169        error: *mut *mut glib::GError,
16170    ) -> *mut GInputStream;
16171
16172    //=========================================================================
16173    // GMemoryMonitor
16174    //=========================================================================
16175    #[cfg(feature = "v2_64")]
16176    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16177    pub fn g_memory_monitor_get_type() -> GType;
16178    #[cfg(feature = "v2_64")]
16179    #[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
16180    pub fn g_memory_monitor_dup_default() -> *mut GMemoryMonitor;
16181
16182    //=========================================================================
16183    // GMount
16184    //=========================================================================
16185    pub fn g_mount_get_type() -> GType;
16186    pub fn g_mount_can_eject(mount: *mut GMount) -> gboolean;
16187    pub fn g_mount_can_unmount(mount: *mut GMount) -> gboolean;
16188    pub fn g_mount_eject(
16189        mount: *mut GMount,
16190        flags: GMountUnmountFlags,
16191        cancellable: *mut GCancellable,
16192        callback: GAsyncReadyCallback,
16193        user_data: gpointer,
16194    );
16195    pub fn g_mount_eject_finish(
16196        mount: *mut GMount,
16197        result: *mut GAsyncResult,
16198        error: *mut *mut glib::GError,
16199    ) -> gboolean;
16200    pub fn g_mount_eject_with_operation(
16201        mount: *mut GMount,
16202        flags: GMountUnmountFlags,
16203        mount_operation: *mut GMountOperation,
16204        cancellable: *mut GCancellable,
16205        callback: GAsyncReadyCallback,
16206        user_data: gpointer,
16207    );
16208    pub fn g_mount_eject_with_operation_finish(
16209        mount: *mut GMount,
16210        result: *mut GAsyncResult,
16211        error: *mut *mut glib::GError,
16212    ) -> gboolean;
16213    pub fn g_mount_get_default_location(mount: *mut GMount) -> *mut GFile;
16214    pub fn g_mount_get_drive(mount: *mut GMount) -> *mut GDrive;
16215    pub fn g_mount_get_icon(mount: *mut GMount) -> *mut GIcon;
16216    pub fn g_mount_get_name(mount: *mut GMount) -> *mut c_char;
16217    pub fn g_mount_get_root(mount: *mut GMount) -> *mut GFile;
16218    pub fn g_mount_get_sort_key(mount: *mut GMount) -> *const c_char;
16219    pub fn g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon;
16220    pub fn g_mount_get_uuid(mount: *mut GMount) -> *mut c_char;
16221    pub fn g_mount_get_volume(mount: *mut GMount) -> *mut GVolume;
16222    pub fn g_mount_guess_content_type(
16223        mount: *mut GMount,
16224        force_rescan: gboolean,
16225        cancellable: *mut GCancellable,
16226        callback: GAsyncReadyCallback,
16227        user_data: gpointer,
16228    );
16229    pub fn g_mount_guess_content_type_finish(
16230        mount: *mut GMount,
16231        result: *mut GAsyncResult,
16232        error: *mut *mut glib::GError,
16233    ) -> *mut *mut c_char;
16234    pub fn g_mount_guess_content_type_sync(
16235        mount: *mut GMount,
16236        force_rescan: gboolean,
16237        cancellable: *mut GCancellable,
16238        error: *mut *mut glib::GError,
16239    ) -> *mut *mut c_char;
16240    pub fn g_mount_is_shadowed(mount: *mut GMount) -> gboolean;
16241    pub fn g_mount_remount(
16242        mount: *mut GMount,
16243        flags: GMountMountFlags,
16244        mount_operation: *mut GMountOperation,
16245        cancellable: *mut GCancellable,
16246        callback: GAsyncReadyCallback,
16247        user_data: gpointer,
16248    );
16249    pub fn g_mount_remount_finish(
16250        mount: *mut GMount,
16251        result: *mut GAsyncResult,
16252        error: *mut *mut glib::GError,
16253    ) -> gboolean;
16254    pub fn g_mount_shadow(mount: *mut GMount);
16255    pub fn g_mount_unmount(
16256        mount: *mut GMount,
16257        flags: GMountUnmountFlags,
16258        cancellable: *mut GCancellable,
16259        callback: GAsyncReadyCallback,
16260        user_data: gpointer,
16261    );
16262    pub fn g_mount_unmount_finish(
16263        mount: *mut GMount,
16264        result: *mut GAsyncResult,
16265        error: *mut *mut glib::GError,
16266    ) -> gboolean;
16267    pub fn g_mount_unmount_with_operation(
16268        mount: *mut GMount,
16269        flags: GMountUnmountFlags,
16270        mount_operation: *mut GMountOperation,
16271        cancellable: *mut GCancellable,
16272        callback: GAsyncReadyCallback,
16273        user_data: gpointer,
16274    );
16275    pub fn g_mount_unmount_with_operation_finish(
16276        mount: *mut GMount,
16277        result: *mut GAsyncResult,
16278        error: *mut *mut glib::GError,
16279    ) -> gboolean;
16280    pub fn g_mount_unshadow(mount: *mut GMount);
16281
16282    //=========================================================================
16283    // GNetworkMonitor
16284    //=========================================================================
16285    pub fn g_network_monitor_get_type() -> GType;
16286    pub fn g_network_monitor_get_default() -> *mut GNetworkMonitor;
16287    pub fn g_network_monitor_can_reach(
16288        monitor: *mut GNetworkMonitor,
16289        connectable: *mut GSocketConnectable,
16290        cancellable: *mut GCancellable,
16291        error: *mut *mut glib::GError,
16292    ) -> gboolean;
16293    pub fn g_network_monitor_can_reach_async(
16294        monitor: *mut GNetworkMonitor,
16295        connectable: *mut GSocketConnectable,
16296        cancellable: *mut GCancellable,
16297        callback: GAsyncReadyCallback,
16298        user_data: gpointer,
16299    );
16300    pub fn g_network_monitor_can_reach_finish(
16301        monitor: *mut GNetworkMonitor,
16302        result: *mut GAsyncResult,
16303        error: *mut *mut glib::GError,
16304    ) -> gboolean;
16305    pub fn g_network_monitor_get_connectivity(
16306        monitor: *mut GNetworkMonitor,
16307    ) -> GNetworkConnectivity;
16308    pub fn g_network_monitor_get_network_available(monitor: *mut GNetworkMonitor) -> gboolean;
16309    pub fn g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean;
16310
16311    //=========================================================================
16312    // GPollableInputStream
16313    //=========================================================================
16314    pub fn g_pollable_input_stream_get_type() -> GType;
16315    pub fn g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean;
16316    pub fn g_pollable_input_stream_create_source(
16317        stream: *mut GPollableInputStream,
16318        cancellable: *mut GCancellable,
16319    ) -> *mut glib::GSource;
16320    pub fn g_pollable_input_stream_is_readable(stream: *mut GPollableInputStream) -> gboolean;
16321    pub fn g_pollable_input_stream_read_nonblocking(
16322        stream: *mut GPollableInputStream,
16323        buffer: *mut u8,
16324        count: size_t,
16325        cancellable: *mut GCancellable,
16326        error: *mut *mut glib::GError,
16327    ) -> ssize_t;
16328
16329    //=========================================================================
16330    // GPollableOutputStream
16331    //=========================================================================
16332    pub fn g_pollable_output_stream_get_type() -> GType;
16333    pub fn g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream) -> gboolean;
16334    pub fn g_pollable_output_stream_create_source(
16335        stream: *mut GPollableOutputStream,
16336        cancellable: *mut GCancellable,
16337    ) -> *mut glib::GSource;
16338    pub fn g_pollable_output_stream_is_writable(stream: *mut GPollableOutputStream) -> gboolean;
16339    pub fn g_pollable_output_stream_write_nonblocking(
16340        stream: *mut GPollableOutputStream,
16341        buffer: *mut u8,
16342        count: size_t,
16343        cancellable: *mut GCancellable,
16344        error: *mut *mut glib::GError,
16345    ) -> ssize_t;
16346    #[cfg(feature = "v2_60")]
16347    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16348    pub fn g_pollable_output_stream_writev_nonblocking(
16349        stream: *mut GPollableOutputStream,
16350        vectors: *const GOutputVector,
16351        n_vectors: size_t,
16352        bytes_written: *mut size_t,
16353        cancellable: *mut GCancellable,
16354        error: *mut *mut glib::GError,
16355    ) -> GPollableReturn;
16356
16357    //=========================================================================
16358    // GPowerProfileMonitor
16359    //=========================================================================
16360    #[cfg(feature = "v2_70")]
16361    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16362    pub fn g_power_profile_monitor_get_type() -> GType;
16363    #[cfg(feature = "v2_70")]
16364    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16365    pub fn g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor;
16366    #[cfg(feature = "v2_70")]
16367    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16368    pub fn g_power_profile_monitor_get_power_saver_enabled(
16369        monitor: *mut GPowerProfileMonitor,
16370    ) -> gboolean;
16371
16372    //=========================================================================
16373    // GProxy
16374    //=========================================================================
16375    pub fn g_proxy_get_type() -> GType;
16376    pub fn g_proxy_get_default_for_protocol(protocol: *const c_char) -> *mut GProxy;
16377    pub fn g_proxy_connect(
16378        proxy: *mut GProxy,
16379        connection: *mut GIOStream,
16380        proxy_address: *mut GProxyAddress,
16381        cancellable: *mut GCancellable,
16382        error: *mut *mut glib::GError,
16383    ) -> *mut GIOStream;
16384    pub fn g_proxy_connect_async(
16385        proxy: *mut GProxy,
16386        connection: *mut GIOStream,
16387        proxy_address: *mut GProxyAddress,
16388        cancellable: *mut GCancellable,
16389        callback: GAsyncReadyCallback,
16390        user_data: gpointer,
16391    );
16392    pub fn g_proxy_connect_finish(
16393        proxy: *mut GProxy,
16394        result: *mut GAsyncResult,
16395        error: *mut *mut glib::GError,
16396    ) -> *mut GIOStream;
16397    pub fn g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean;
16398
16399    //=========================================================================
16400    // GProxyResolver
16401    //=========================================================================
16402    pub fn g_proxy_resolver_get_type() -> GType;
16403    pub fn g_proxy_resolver_get_default() -> *mut GProxyResolver;
16404    pub fn g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean;
16405    pub fn g_proxy_resolver_lookup(
16406        resolver: *mut GProxyResolver,
16407        uri: *const c_char,
16408        cancellable: *mut GCancellable,
16409        error: *mut *mut glib::GError,
16410    ) -> *mut *mut c_char;
16411    pub fn g_proxy_resolver_lookup_async(
16412        resolver: *mut GProxyResolver,
16413        uri: *const c_char,
16414        cancellable: *mut GCancellable,
16415        callback: GAsyncReadyCallback,
16416        user_data: gpointer,
16417    );
16418    pub fn g_proxy_resolver_lookup_finish(
16419        resolver: *mut GProxyResolver,
16420        result: *mut GAsyncResult,
16421        error: *mut *mut glib::GError,
16422    ) -> *mut *mut c_char;
16423
16424    //=========================================================================
16425    // GRemoteActionGroup
16426    //=========================================================================
16427    pub fn g_remote_action_group_get_type() -> GType;
16428    pub fn g_remote_action_group_activate_action_full(
16429        remote: *mut GRemoteActionGroup,
16430        action_name: *const c_char,
16431        parameter: *mut glib::GVariant,
16432        platform_data: *mut glib::GVariant,
16433    );
16434    pub fn g_remote_action_group_change_action_state_full(
16435        remote: *mut GRemoteActionGroup,
16436        action_name: *const c_char,
16437        value: *mut glib::GVariant,
16438        platform_data: *mut glib::GVariant,
16439    );
16440
16441    //=========================================================================
16442    // GSeekable
16443    //=========================================================================
16444    pub fn g_seekable_get_type() -> GType;
16445    pub fn g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean;
16446    pub fn g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean;
16447    pub fn g_seekable_seek(
16448        seekable: *mut GSeekable,
16449        offset: i64,
16450        type_: glib::GSeekType,
16451        cancellable: *mut GCancellable,
16452        error: *mut *mut glib::GError,
16453    ) -> gboolean;
16454    pub fn g_seekable_tell(seekable: *mut GSeekable) -> i64;
16455    pub fn g_seekable_truncate(
16456        seekable: *mut GSeekable,
16457        offset: i64,
16458        cancellable: *mut GCancellable,
16459        error: *mut *mut glib::GError,
16460    ) -> gboolean;
16461
16462    //=========================================================================
16463    // GSocketConnectable
16464    //=========================================================================
16465    pub fn g_socket_connectable_get_type() -> GType;
16466    pub fn g_socket_connectable_enumerate(
16467        connectable: *mut GSocketConnectable,
16468    ) -> *mut GSocketAddressEnumerator;
16469    pub fn g_socket_connectable_proxy_enumerate(
16470        connectable: *mut GSocketConnectable,
16471    ) -> *mut GSocketAddressEnumerator;
16472    pub fn g_socket_connectable_to_string(connectable: *mut GSocketConnectable) -> *mut c_char;
16473
16474    //=========================================================================
16475    // GTlsBackend
16476    //=========================================================================
16477    pub fn g_tls_backend_get_type() -> GType;
16478    pub fn g_tls_backend_get_default() -> *mut GTlsBackend;
16479    pub fn g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType;
16480    pub fn g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType;
16481    pub fn g_tls_backend_get_default_database(backend: *mut GTlsBackend) -> *mut GTlsDatabase;
16482    pub fn g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend) -> GType;
16483    pub fn g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend) -> GType;
16484    pub fn g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType;
16485    pub fn g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType;
16486    #[cfg(feature = "v2_60")]
16487    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16488    pub fn g_tls_backend_set_default_database(
16489        backend: *mut GTlsBackend,
16490        database: *mut GTlsDatabase,
16491    );
16492    pub fn g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean;
16493    pub fn g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean;
16494
16495    //=========================================================================
16496    // GTlsClientConnection
16497    //=========================================================================
16498    pub fn g_tls_client_connection_get_type() -> GType;
16499    pub fn g_tls_client_connection_new(
16500        base_io_stream: *mut GIOStream,
16501        server_identity: *mut GSocketConnectable,
16502        error: *mut *mut glib::GError,
16503    ) -> *mut GTlsClientConnection;
16504    pub fn g_tls_client_connection_copy_session_state(
16505        conn: *mut GTlsClientConnection,
16506        source: *mut GTlsClientConnection,
16507    );
16508    pub fn g_tls_client_connection_get_accepted_cas(
16509        conn: *mut GTlsClientConnection,
16510    ) -> *mut glib::GList;
16511    pub fn g_tls_client_connection_get_server_identity(
16512        conn: *mut GTlsClientConnection,
16513    ) -> *mut GSocketConnectable;
16514    pub fn g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection) -> gboolean;
16515    pub fn g_tls_client_connection_get_validation_flags(
16516        conn: *mut GTlsClientConnection,
16517    ) -> GTlsCertificateFlags;
16518    pub fn g_tls_client_connection_set_server_identity(
16519        conn: *mut GTlsClientConnection,
16520        identity: *mut GSocketConnectable,
16521    );
16522    pub fn g_tls_client_connection_set_use_ssl3(
16523        conn: *mut GTlsClientConnection,
16524        use_ssl3: gboolean,
16525    );
16526    pub fn g_tls_client_connection_set_validation_flags(
16527        conn: *mut GTlsClientConnection,
16528        flags: GTlsCertificateFlags,
16529    );
16530
16531    //=========================================================================
16532    // GTlsFileDatabase
16533    //=========================================================================
16534    pub fn g_tls_file_database_get_type() -> GType;
16535    pub fn g_tls_file_database_new(
16536        anchors: *const c_char,
16537        error: *mut *mut glib::GError,
16538    ) -> *mut GTlsFileDatabase;
16539
16540    //=========================================================================
16541    // GTlsServerConnection
16542    //=========================================================================
16543    pub fn g_tls_server_connection_get_type() -> GType;
16544    pub fn g_tls_server_connection_new(
16545        base_io_stream: *mut GIOStream,
16546        certificate: *mut GTlsCertificate,
16547        error: *mut *mut glib::GError,
16548    ) -> *mut GTlsServerConnection;
16549
16550    //=========================================================================
16551    // GVolume
16552    //=========================================================================
16553    pub fn g_volume_get_type() -> GType;
16554    pub fn g_volume_can_eject(volume: *mut GVolume) -> gboolean;
16555    pub fn g_volume_can_mount(volume: *mut GVolume) -> gboolean;
16556    pub fn g_volume_eject(
16557        volume: *mut GVolume,
16558        flags: GMountUnmountFlags,
16559        cancellable: *mut GCancellable,
16560        callback: GAsyncReadyCallback,
16561        user_data: gpointer,
16562    );
16563    pub fn g_volume_eject_finish(
16564        volume: *mut GVolume,
16565        result: *mut GAsyncResult,
16566        error: *mut *mut glib::GError,
16567    ) -> gboolean;
16568    pub fn g_volume_eject_with_operation(
16569        volume: *mut GVolume,
16570        flags: GMountUnmountFlags,
16571        mount_operation: *mut GMountOperation,
16572        cancellable: *mut GCancellable,
16573        callback: GAsyncReadyCallback,
16574        user_data: gpointer,
16575    );
16576    pub fn g_volume_eject_with_operation_finish(
16577        volume: *mut GVolume,
16578        result: *mut GAsyncResult,
16579        error: *mut *mut glib::GError,
16580    ) -> gboolean;
16581    pub fn g_volume_enumerate_identifiers(volume: *mut GVolume) -> *mut *mut c_char;
16582    pub fn g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile;
16583    pub fn g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive;
16584    pub fn g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon;
16585    pub fn g_volume_get_identifier(volume: *mut GVolume, kind: *const c_char) -> *mut c_char;
16586    pub fn g_volume_get_mount(volume: *mut GVolume) -> *mut GMount;
16587    pub fn g_volume_get_name(volume: *mut GVolume) -> *mut c_char;
16588    pub fn g_volume_get_sort_key(volume: *mut GVolume) -> *const c_char;
16589    pub fn g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon;
16590    pub fn g_volume_get_uuid(volume: *mut GVolume) -> *mut c_char;
16591    pub fn g_volume_mount(
16592        volume: *mut GVolume,
16593        flags: GMountMountFlags,
16594        mount_operation: *mut GMountOperation,
16595        cancellable: *mut GCancellable,
16596        callback: GAsyncReadyCallback,
16597        user_data: gpointer,
16598    );
16599    pub fn g_volume_mount_finish(
16600        volume: *mut GVolume,
16601        result: *mut GAsyncResult,
16602        error: *mut *mut glib::GError,
16603    ) -> gboolean;
16604    pub fn g_volume_should_automount(volume: *mut GVolume) -> gboolean;
16605
16606    //=========================================================================
16607    // Other functions
16608    //=========================================================================
16609    pub fn g_bus_get(
16610        bus_type: GBusType,
16611        cancellable: *mut GCancellable,
16612        callback: GAsyncReadyCallback,
16613        user_data: gpointer,
16614    );
16615    pub fn g_bus_get_finish(
16616        res: *mut GAsyncResult,
16617        error: *mut *mut glib::GError,
16618    ) -> *mut GDBusConnection;
16619    pub fn g_bus_get_sync(
16620        bus_type: GBusType,
16621        cancellable: *mut GCancellable,
16622        error: *mut *mut glib::GError,
16623    ) -> *mut GDBusConnection;
16624    pub fn g_bus_own_name(
16625        bus_type: GBusType,
16626        name: *const c_char,
16627        flags: GBusNameOwnerFlags,
16628        bus_acquired_handler: GBusAcquiredCallback,
16629        name_acquired_handler: GBusNameAcquiredCallback,
16630        name_lost_handler: GBusNameLostCallback,
16631        user_data: gpointer,
16632        user_data_free_func: glib::GDestroyNotify,
16633    ) -> c_uint;
16634    pub fn g_bus_own_name_on_connection(
16635        connection: *mut GDBusConnection,
16636        name: *const c_char,
16637        flags: GBusNameOwnerFlags,
16638        name_acquired_handler: GBusNameAcquiredCallback,
16639        name_lost_handler: GBusNameLostCallback,
16640        user_data: gpointer,
16641        user_data_free_func: glib::GDestroyNotify,
16642    ) -> c_uint;
16643    pub fn g_bus_own_name_on_connection_with_closures(
16644        connection: *mut GDBusConnection,
16645        name: *const c_char,
16646        flags: GBusNameOwnerFlags,
16647        name_acquired_closure: *mut gobject::GClosure,
16648        name_lost_closure: *mut gobject::GClosure,
16649    ) -> c_uint;
16650    pub fn g_bus_own_name_with_closures(
16651        bus_type: GBusType,
16652        name: *const c_char,
16653        flags: GBusNameOwnerFlags,
16654        bus_acquired_closure: *mut gobject::GClosure,
16655        name_acquired_closure: *mut gobject::GClosure,
16656        name_lost_closure: *mut gobject::GClosure,
16657    ) -> c_uint;
16658    pub fn g_bus_unown_name(owner_id: c_uint);
16659    pub fn g_bus_unwatch_name(watcher_id: c_uint);
16660    pub fn g_bus_watch_name(
16661        bus_type: GBusType,
16662        name: *const c_char,
16663        flags: GBusNameWatcherFlags,
16664        name_appeared_handler: GBusNameAppearedCallback,
16665        name_vanished_handler: GBusNameVanishedCallback,
16666        user_data: gpointer,
16667        user_data_free_func: glib::GDestroyNotify,
16668    ) -> c_uint;
16669    pub fn g_bus_watch_name_on_connection(
16670        connection: *mut GDBusConnection,
16671        name: *const c_char,
16672        flags: GBusNameWatcherFlags,
16673        name_appeared_handler: GBusNameAppearedCallback,
16674        name_vanished_handler: GBusNameVanishedCallback,
16675        user_data: gpointer,
16676        user_data_free_func: glib::GDestroyNotify,
16677    ) -> c_uint;
16678    pub fn g_bus_watch_name_on_connection_with_closures(
16679        connection: *mut GDBusConnection,
16680        name: *const c_char,
16681        flags: GBusNameWatcherFlags,
16682        name_appeared_closure: *mut gobject::GClosure,
16683        name_vanished_closure: *mut gobject::GClosure,
16684    ) -> c_uint;
16685    pub fn g_bus_watch_name_with_closures(
16686        bus_type: GBusType,
16687        name: *const c_char,
16688        flags: GBusNameWatcherFlags,
16689        name_appeared_closure: *mut gobject::GClosure,
16690        name_vanished_closure: *mut gobject::GClosure,
16691    ) -> c_uint;
16692    pub fn g_content_type_can_be_executable(type_: *const c_char) -> gboolean;
16693    pub fn g_content_type_equals(type1: *const c_char, type2: *const c_char) -> gboolean;
16694    pub fn g_content_type_from_mime_type(mime_type: *const c_char) -> *mut c_char;
16695    pub fn g_content_type_get_description(type_: *const c_char) -> *mut c_char;
16696    pub fn g_content_type_get_generic_icon_name(type_: *const c_char) -> *mut c_char;
16697    pub fn g_content_type_get_icon(type_: *const c_char) -> *mut GIcon;
16698    #[cfg(feature = "v2_60")]
16699    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16700    pub fn g_content_type_get_mime_dirs() -> *const *const c_char;
16701    pub fn g_content_type_get_mime_type(type_: *const c_char) -> *mut c_char;
16702    pub fn g_content_type_get_symbolic_icon(type_: *const c_char) -> *mut GIcon;
16703    pub fn g_content_type_guess(
16704        filename: *const c_char,
16705        data: *const u8,
16706        data_size: size_t,
16707        result_uncertain: *mut gboolean,
16708    ) -> *mut c_char;
16709    pub fn g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut c_char;
16710    pub fn g_content_type_is_a(type_: *const c_char, supertype: *const c_char) -> gboolean;
16711    pub fn g_content_type_is_mime_type(type_: *const c_char, mime_type: *const c_char) -> gboolean;
16712    pub fn g_content_type_is_unknown(type_: *const c_char) -> gboolean;
16713    #[cfg(feature = "v2_60")]
16714    #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
16715    pub fn g_content_type_set_mime_dirs(dirs: *const *const c_char);
16716    pub fn g_content_types_get_registered() -> *mut glib::GList;
16717    pub fn g_dbus_address_escape_value(string: *const c_char) -> *mut c_char;
16718    pub fn g_dbus_address_get_for_bus_sync(
16719        bus_type: GBusType,
16720        cancellable: *mut GCancellable,
16721        error: *mut *mut glib::GError,
16722    ) -> *mut c_char;
16723    pub fn g_dbus_address_get_stream(
16724        address: *const c_char,
16725        cancellable: *mut GCancellable,
16726        callback: GAsyncReadyCallback,
16727        user_data: gpointer,
16728    );
16729    pub fn g_dbus_address_get_stream_finish(
16730        res: *mut GAsyncResult,
16731        out_guid: *mut *mut c_char,
16732        error: *mut *mut glib::GError,
16733    ) -> *mut GIOStream;
16734    pub fn g_dbus_address_get_stream_sync(
16735        address: *const c_char,
16736        out_guid: *mut *mut c_char,
16737        cancellable: *mut GCancellable,
16738        error: *mut *mut glib::GError,
16739    ) -> *mut GIOStream;
16740    #[cfg(feature = "v2_68")]
16741    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16742    pub fn g_dbus_escape_object_path(s: *const c_char) -> *mut c_char;
16743    #[cfg(feature = "v2_68")]
16744    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16745    pub fn g_dbus_escape_object_path_bytestring(bytes: *const u8) -> *mut c_char;
16746    pub fn g_dbus_generate_guid() -> *mut c_char;
16747    pub fn g_dbus_gvalue_to_gvariant(
16748        gvalue: *const gobject::GValue,
16749        type_: *const glib::GVariantType,
16750    ) -> *mut glib::GVariant;
16751    pub fn g_dbus_gvariant_to_gvalue(value: *mut glib::GVariant, out_gvalue: *mut gobject::GValue);
16752    pub fn g_dbus_is_address(string: *const c_char) -> gboolean;
16753    #[cfg(feature = "v2_70")]
16754    #[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
16755    pub fn g_dbus_is_error_name(string: *const c_char) -> gboolean;
16756    pub fn g_dbus_is_guid(string: *const c_char) -> gboolean;
16757    pub fn g_dbus_is_interface_name(string: *const c_char) -> gboolean;
16758    pub fn g_dbus_is_member_name(string: *const c_char) -> gboolean;
16759    pub fn g_dbus_is_name(string: *const c_char) -> gboolean;
16760    pub fn g_dbus_is_supported_address(
16761        string: *const c_char,
16762        error: *mut *mut glib::GError,
16763    ) -> gboolean;
16764    pub fn g_dbus_is_unique_name(string: *const c_char) -> gboolean;
16765    #[cfg(feature = "v2_68")]
16766    #[cfg_attr(docsrs, doc(cfg(feature = "v2_68")))]
16767    pub fn g_dbus_unescape_object_path(s: *const c_char) -> *mut u8;
16768    pub fn g_io_error_from_errno(err_no: c_int) -> GIOErrorEnum;
16769    #[cfg(feature = "v2_74")]
16770    #[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
16771    pub fn g_io_error_from_file_error(file_error: glib::GFileError) -> GIOErrorEnum;
16772    pub fn g_io_error_quark() -> glib::GQuark;
16773    pub fn g_io_modules_load_all_in_directory(dirname: *const c_char) -> *mut glib::GList;
16774    pub fn g_io_modules_load_all_in_directory_with_scope(
16775        dirname: *const c_char,
16776        scope: *mut GIOModuleScope,
16777    ) -> *mut glib::GList;
16778    pub fn g_io_modules_scan_all_in_directory(dirname: *const c_char);
16779    pub fn g_io_modules_scan_all_in_directory_with_scope(
16780        dirname: *const c_char,
16781        scope: *mut GIOModuleScope,
16782    );
16783    pub fn g_io_scheduler_cancel_all_jobs();
16784    pub fn g_io_scheduler_push_job(
16785        job_func: GIOSchedulerJobFunc,
16786        user_data: gpointer,
16787        notify: glib::GDestroyNotify,
16788        io_priority: c_int,
16789        cancellable: *mut GCancellable,
16790    );
16791    pub fn g_keyfile_settings_backend_new(
16792        filename: *const c_char,
16793        root_path: *const c_char,
16794        root_group: *const c_char,
16795    ) -> *mut GSettingsBackend;
16796    pub fn g_memory_settings_backend_new() -> *mut GSettingsBackend;
16797    pub fn g_networking_init();
16798    pub fn g_null_settings_backend_new() -> *mut GSettingsBackend;
16799    pub fn g_pollable_source_new(pollable_stream: *mut gobject::GObject) -> *mut glib::GSource;
16800    pub fn g_pollable_source_new_full(
16801        pollable_stream: *mut gobject::GObject,
16802        child_source: *mut glib::GSource,
16803        cancellable: *mut GCancellable,
16804    ) -> *mut glib::GSource;
16805    pub fn g_pollable_stream_read(
16806        stream: *mut GInputStream,
16807        buffer: *mut u8,
16808        count: size_t,
16809        blocking: gboolean,
16810        cancellable: *mut GCancellable,
16811        error: *mut *mut glib::GError,
16812    ) -> ssize_t;
16813    pub fn g_pollable_stream_write(
16814        stream: *mut GOutputStream,
16815        buffer: *mut u8,
16816        count: size_t,
16817        blocking: gboolean,
16818        cancellable: *mut GCancellable,
16819        error: *mut *mut glib::GError,
16820    ) -> ssize_t;
16821    pub fn g_pollable_stream_write_all(
16822        stream: *mut GOutputStream,
16823        buffer: *mut u8,
16824        count: size_t,
16825        blocking: gboolean,
16826        bytes_written: *mut size_t,
16827        cancellable: *mut GCancellable,
16828        error: *mut *mut glib::GError,
16829    ) -> gboolean;
16830    pub fn g_resources_enumerate_children(
16831        path: *const c_char,
16832        lookup_flags: GResourceLookupFlags,
16833        error: *mut *mut glib::GError,
16834    ) -> *mut *mut c_char;
16835    pub fn g_resources_get_info(
16836        path: *const c_char,
16837        lookup_flags: GResourceLookupFlags,
16838        size: *mut size_t,
16839        flags: *mut u32,
16840        error: *mut *mut glib::GError,
16841    ) -> gboolean;
16842    #[cfg(feature = "v2_84")]
16843    #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
16844    pub fn g_resources_has_children(path: *const c_char) -> gboolean;
16845    pub fn g_resources_lookup_data(
16846        path: *const c_char,
16847        lookup_flags: GResourceLookupFlags,
16848        error: *mut *mut glib::GError,
16849    ) -> *mut glib::GBytes;
16850    pub fn g_resources_open_stream(
16851        path: *const c_char,
16852        lookup_flags: GResourceLookupFlags,
16853        error: *mut *mut glib::GError,
16854    ) -> *mut GInputStream;
16855    pub fn g_resources_register(resource: *mut GResource);
16856    pub fn g_resources_unregister(resource: *mut GResource);
16857    pub fn g_simple_async_report_error_in_idle(
16858        object: *mut gobject::GObject,
16859        callback: GAsyncReadyCallback,
16860        user_data: gpointer,
16861        domain: glib::GQuark,
16862        code: c_int,
16863        format: *const c_char,
16864        ...
16865    );
16866    pub fn g_simple_async_report_gerror_in_idle(
16867        object: *mut gobject::GObject,
16868        callback: GAsyncReadyCallback,
16869        user_data: gpointer,
16870        error: *const glib::GError,
16871    );
16872    pub fn g_simple_async_report_take_gerror_in_idle(
16873        object: *mut gobject::GObject,
16874        callback: GAsyncReadyCallback,
16875        user_data: gpointer,
16876        error: *mut glib::GError,
16877    );
16878
16879}