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 | |
14 | use glib_sys as glib; |
15 | use gobject_sys as gobject; |
16 | |
17 | mod manual; |
18 | |
19 | pub use manual::*; |
20 | |
21 | #[cfg (unix)] |
22 | #[allow (unused_imports)] |
23 | use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; |
24 | #[allow (unused_imports)] |
25 | use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; |
26 | #[allow (unused_imports)] |
27 | use 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)] |
32 | use glib::{gboolean, gconstpointer, gpointer, GType}; |
33 | |
34 | // Enums |
35 | pub type GBusType = c_int; |
36 | pub const G_BUS_TYPE_STARTER: GBusType = -1; |
37 | pub const G_BUS_TYPE_NONE: GBusType = 0; |
38 | pub const G_BUS_TYPE_SYSTEM: GBusType = 1; |
39 | pub const G_BUS_TYPE_SESSION: GBusType = 2; |
40 | |
41 | pub type GConverterResult = c_int; |
42 | pub const G_CONVERTER_ERROR: GConverterResult = 0; |
43 | pub const G_CONVERTER_CONVERTED: GConverterResult = 1; |
44 | pub const G_CONVERTER_FINISHED: GConverterResult = 2; |
45 | pub const G_CONVERTER_FLUSHED: GConverterResult = 3; |
46 | |
47 | pub type GCredentialsType = c_int; |
48 | pub const G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0; |
49 | pub const G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1; |
50 | pub const G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2; |
51 | pub const G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3; |
52 | pub const G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4; |
53 | pub const G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5; |
54 | pub const G_CREDENTIALS_TYPE_APPLE_XUCRED: GCredentialsType = 6; |
55 | pub const G_CREDENTIALS_TYPE_WIN32_PID: GCredentialsType = 7; |
56 | |
57 | pub type GDBusError = c_int; |
58 | pub const G_DBUS_ERROR_FAILED: GDBusError = 0; |
59 | pub const G_DBUS_ERROR_NO_MEMORY: GDBusError = 1; |
60 | pub const G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2; |
61 | pub const G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3; |
62 | pub const G_DBUS_ERROR_NO_REPLY: GDBusError = 4; |
63 | pub const G_DBUS_ERROR_IO_ERROR: GDBusError = 5; |
64 | pub const G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6; |
65 | pub const G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7; |
66 | pub const G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8; |
67 | pub const G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9; |
68 | pub const G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10; |
69 | pub const G_DBUS_ERROR_NO_SERVER: GDBusError = 11; |
70 | pub const G_DBUS_ERROR_TIMEOUT: GDBusError = 12; |
71 | pub const G_DBUS_ERROR_NO_NETWORK: GDBusError = 13; |
72 | pub const G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14; |
73 | pub const G_DBUS_ERROR_DISCONNECTED: GDBusError = 15; |
74 | pub const G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16; |
75 | pub const G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17; |
76 | pub const G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18; |
77 | pub const G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19; |
78 | pub const G_DBUS_ERROR_TIMED_OUT: GDBusError = 20; |
79 | pub const G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21; |
80 | pub const G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22; |
81 | pub const G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23; |
82 | pub const G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24; |
83 | pub const G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25; |
84 | pub const G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26; |
85 | pub const G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27; |
86 | pub const G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28; |
87 | pub const G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29; |
88 | pub const G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30; |
89 | pub const G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31; |
90 | pub const G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32; |
91 | pub const G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33; |
92 | pub const G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34; |
93 | pub const G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35; |
94 | pub const G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36; |
95 | pub const G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37; |
96 | pub const G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38; |
97 | pub const G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39; |
98 | pub const G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40; |
99 | pub const G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41; |
100 | pub const G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42; |
101 | pub const G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43; |
102 | pub const G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44; |
103 | |
104 | pub type GDBusMessageByteOrder = c_int; |
105 | pub const G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66; |
106 | pub const G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder = 108; |
107 | |
108 | pub type GDBusMessageHeaderField = c_int; |
109 | pub const G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0; |
110 | pub const G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1; |
111 | pub const G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField = 2; |
112 | pub const G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3; |
113 | pub const G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField = 4; |
114 | pub const G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: GDBusMessageHeaderField = 5; |
115 | pub const G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField = 6; |
116 | pub const G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7; |
117 | pub const G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField = 8; |
118 | pub const G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: GDBusMessageHeaderField = 9; |
119 | |
120 | pub type GDBusMessageType = c_int; |
121 | pub const G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0; |
122 | pub const G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1; |
123 | pub const G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2; |
124 | pub const G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3; |
125 | pub const G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4; |
126 | |
127 | pub type GDataStreamByteOrder = c_int; |
128 | pub const G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0; |
129 | pub const G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1; |
130 | pub const G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2; |
131 | |
132 | pub type GDataStreamNewlineType = c_int; |
133 | pub const G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0; |
134 | pub const G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1; |
135 | pub const G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2; |
136 | pub const G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3; |
137 | |
138 | pub type GDriveStartStopType = c_int; |
139 | pub const G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0; |
140 | pub const G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1; |
141 | pub const G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2; |
142 | pub const G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3; |
143 | pub const G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4; |
144 | |
145 | pub type GEmblemOrigin = c_int; |
146 | pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0; |
147 | pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1; |
148 | pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2; |
149 | pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3; |
150 | |
151 | pub type GFileAttributeStatus = c_int; |
152 | pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0; |
153 | pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1; |
154 | pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2; |
155 | |
156 | pub type GFileAttributeType = c_int; |
157 | pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0; |
158 | pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1; |
159 | pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2; |
160 | pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3; |
161 | pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4; |
162 | pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5; |
163 | pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6; |
164 | pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7; |
165 | pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8; |
166 | pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9; |
167 | |
168 | pub type GFileMonitorEvent = c_int; |
169 | pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0; |
170 | pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1; |
171 | pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2; |
172 | pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3; |
173 | pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4; |
174 | pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5; |
175 | pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6; |
176 | pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7; |
177 | pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8; |
178 | pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9; |
179 | pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10; |
180 | |
181 | pub type GFileType = c_int; |
182 | pub const G_FILE_TYPE_UNKNOWN: GFileType = 0; |
183 | pub const G_FILE_TYPE_REGULAR: GFileType = 1; |
184 | pub const G_FILE_TYPE_DIRECTORY: GFileType = 2; |
185 | pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3; |
186 | pub const G_FILE_TYPE_SPECIAL: GFileType = 4; |
187 | pub const G_FILE_TYPE_SHORTCUT: GFileType = 5; |
188 | pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6; |
189 | |
190 | pub type GFilesystemPreviewType = c_int; |
191 | pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0; |
192 | pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1; |
193 | pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2; |
194 | |
195 | pub type GIOErrorEnum = c_int; |
196 | pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0; |
197 | pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1; |
198 | pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2; |
199 | pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3; |
200 | pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4; |
201 | pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5; |
202 | pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6; |
203 | pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7; |
204 | pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8; |
205 | pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9; |
206 | pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10; |
207 | pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11; |
208 | pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12; |
209 | pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13; |
210 | pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14; |
211 | pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15; |
212 | pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16; |
213 | pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17; |
214 | pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18; |
215 | pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19; |
216 | pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20; |
217 | pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21; |
218 | pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22; |
219 | pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23; |
220 | pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24; |
221 | pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25; |
222 | pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26; |
223 | pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27; |
224 | pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28; |
225 | pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29; |
226 | pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30; |
227 | pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31; |
228 | pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32; |
229 | pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33; |
230 | pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34; |
231 | pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35; |
232 | pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36; |
233 | pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37; |
234 | pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38; |
235 | pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39; |
236 | pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40; |
237 | pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41; |
238 | pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42; |
239 | pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43; |
240 | pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44; |
241 | pub const G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44; |
242 | pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45; |
243 | pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46; |
244 | pub const G_IO_ERROR_NO_SUCH_DEVICE: GIOErrorEnum = 47; |
245 | pub const G_IO_ERROR_DESTINATION_UNSET: GIOErrorEnum = 48; |
246 | |
247 | pub type GIOModuleScopeFlags = c_int; |
248 | pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0; |
249 | pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1; |
250 | |
251 | pub type GMemoryMonitorWarningLevel = c_int; |
252 | pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50; |
253 | pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100; |
254 | pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255; |
255 | |
256 | pub type GMountOperationResult = c_int; |
257 | pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0; |
258 | pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1; |
259 | pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2; |
260 | |
261 | pub type GNetworkConnectivity = c_int; |
262 | pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1; |
263 | pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2; |
264 | pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3; |
265 | pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4; |
266 | |
267 | pub type GNotificationPriority = c_int; |
268 | pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0; |
269 | pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1; |
270 | pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2; |
271 | pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3; |
272 | |
273 | pub type GPasswordSave = c_int; |
274 | pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0; |
275 | pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1; |
276 | pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2; |
277 | |
278 | pub type GPollableReturn = c_int; |
279 | pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0; |
280 | pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1; |
281 | pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27; |
282 | |
283 | pub type GResolverError = c_int; |
284 | pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0; |
285 | pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1; |
286 | pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2; |
287 | |
288 | pub type GResolverRecordType = c_int; |
289 | pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1; |
290 | pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2; |
291 | pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3; |
292 | pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4; |
293 | pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5; |
294 | |
295 | pub type GResourceError = c_int; |
296 | pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0; |
297 | pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1; |
298 | |
299 | pub type GSocketClientEvent = c_int; |
300 | pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0; |
301 | pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1; |
302 | pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2; |
303 | pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3; |
304 | pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4; |
305 | pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5; |
306 | pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6; |
307 | pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7; |
308 | pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8; |
309 | |
310 | pub type GSocketListenerEvent = c_int; |
311 | pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0; |
312 | pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1; |
313 | pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2; |
314 | pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3; |
315 | |
316 | pub type GSocketProtocol = c_int; |
317 | pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1; |
318 | pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0; |
319 | pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6; |
320 | pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17; |
321 | pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132; |
322 | |
323 | pub type GSocketType = c_int; |
324 | pub const G_SOCKET_TYPE_INVALID: GSocketType = 0; |
325 | pub const G_SOCKET_TYPE_STREAM: GSocketType = 1; |
326 | pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2; |
327 | pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3; |
328 | |
329 | pub type GTlsAuthenticationMode = c_int; |
330 | pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0; |
331 | pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1; |
332 | pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2; |
333 | |
334 | pub type GTlsCertificateRequestFlags = c_int; |
335 | pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0; |
336 | |
337 | pub type GTlsChannelBindingError = c_int; |
338 | pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0; |
339 | pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1; |
340 | pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2; |
341 | pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3; |
342 | pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4; |
343 | |
344 | pub type GTlsChannelBindingType = c_int; |
345 | pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0; |
346 | pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1; |
347 | pub const G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2; |
348 | |
349 | pub type GTlsDatabaseLookupFlags = c_int; |
350 | pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0; |
351 | pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1; |
352 | |
353 | pub type GTlsError = c_int; |
354 | pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0; |
355 | pub const G_TLS_ERROR_MISC: GTlsError = 1; |
356 | pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2; |
357 | pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3; |
358 | pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4; |
359 | pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5; |
360 | pub const G_TLS_ERROR_EOF: GTlsError = 6; |
361 | pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7; |
362 | pub const G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8; |
363 | |
364 | pub type GTlsInteractionResult = c_int; |
365 | pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0; |
366 | pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1; |
367 | pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2; |
368 | |
369 | pub type GTlsProtocolVersion = c_int; |
370 | pub const G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0; |
371 | pub const G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1; |
372 | pub const G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2; |
373 | pub const G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3; |
374 | pub const G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4; |
375 | pub const G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5; |
376 | pub const G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201; |
377 | pub const G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202; |
378 | |
379 | pub type GTlsRehandshakeMode = c_int; |
380 | pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0; |
381 | pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1; |
382 | pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2; |
383 | |
384 | pub type GUnixSocketAddressType = c_int; |
385 | pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0; |
386 | pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1; |
387 | pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2; |
388 | pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3; |
389 | pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4; |
390 | |
391 | pub type GZlibCompressorFormat = c_int; |
392 | pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0; |
393 | pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1; |
394 | pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2; |
395 | |
396 | // Constants |
397 | pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE; |
398 | pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE; |
399 | pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller \0" ; |
400 | pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: &[u8] = b"gio-desktop-app-info-lookup \0" ; |
401 | pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device \0" ; |
402 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete \0" ; |
403 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute \0" ; |
404 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8] = b"access::can-read \0" ; |
405 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8] = b"access::can-rename \0" ; |
406 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8] = b"access::can-trash \0" ; |
407 | pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8] = b"access::can-write \0" ; |
408 | pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8] = b"dos::is-archive \0" ; |
409 | pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8] = b"dos::is-mountpoint \0" ; |
410 | pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8] = b"dos::is-system \0" ; |
411 | pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8] = b"dos::reparse-point-tag \0" ; |
412 | pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8] = b"etag::value \0" ; |
413 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8] = b"filesystem::free \0" ; |
414 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8] = b"filesystem::readonly \0" ; |
415 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8] = b"filesystem::remote \0" ; |
416 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8] = b"filesystem::size \0" ; |
417 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8] = b"filesystem::type \0" ; |
418 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8] = b"filesystem::used \0" ; |
419 | pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8] = b"filesystem::use-preview \0" ; |
420 | pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8] = b"gvfs::backend \0" ; |
421 | pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8] = b"id::file \0" ; |
422 | pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8] = b"id::filesystem \0" ; |
423 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8] = b"mountable::can-eject \0" ; |
424 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8] = b"mountable::can-mount \0" ; |
425 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8] = b"mountable::can-poll \0" ; |
426 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8] = b"mountable::can-start \0" ; |
427 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8] = b"mountable::can-start-degraded \0" ; |
428 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8] = b"mountable::can-stop \0" ; |
429 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8] = b"mountable::can-unmount \0" ; |
430 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8] = b"mountable::hal-udi \0" ; |
431 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8] = |
432 | b"mountable::is-media-check-automatic \0" ; |
433 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8] = b"mountable::start-stop-type \0" ; |
434 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8] = b"mountable::unix-device \0" ; |
435 | pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8] = b"mountable::unix-device-file \0" ; |
436 | pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8] = b"owner::group \0" ; |
437 | pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8] = b"owner::user \0" ; |
438 | pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8] = b"owner::user-real \0" ; |
439 | pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8] = b"preview::icon \0" ; |
440 | pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8] = b"recent::modified \0" ; |
441 | pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8] = b"selinux::context \0" ; |
442 | pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8] = b"standard::allocated-size \0" ; |
443 | pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8] = b"standard::content-type \0" ; |
444 | pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8] = b"standard::copy-name \0" ; |
445 | pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8] = b"standard::description \0" ; |
446 | pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8] = b"standard::display-name \0" ; |
447 | pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8] = b"standard::edit-name \0" ; |
448 | pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8] = b"standard::fast-content-type \0" ; |
449 | pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8] = b"standard::icon \0" ; |
450 | pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8] = b"standard::is-backup \0" ; |
451 | pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8] = b"standard::is-hidden \0" ; |
452 | pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8] = b"standard::is-symlink \0" ; |
453 | pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8] = b"standard::is-virtual \0" ; |
454 | pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8] = b"standard::is-volatile \0" ; |
455 | pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8] = b"standard::name \0" ; |
456 | pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8] = b"standard::size \0" ; |
457 | pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8] = b"standard::sort-order \0" ; |
458 | pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8] = b"standard::symbolic-icon \0" ; |
459 | pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8] = b"standard::symlink-target \0" ; |
460 | pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8] = b"standard::target-uri \0" ; |
461 | pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8] = b"standard::type \0" ; |
462 | pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8] = b"thumbnail::failed \0" ; |
463 | pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &[u8] = b"thumbnail::failed-large \0" ; |
464 | pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &[u8] = b"thumbnail::failed-normal \0" ; |
465 | pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &[u8] = b"thumbnail::failed-xlarge \0" ; |
466 | pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &[u8] = b"thumbnail::failed-xxlarge \0" ; |
467 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8] = b"thumbnail::is-valid \0" ; |
468 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &[u8] = b"thumbnail::is-valid-large \0" ; |
469 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &[u8] = b"thumbnail::is-valid-normal \0" ; |
470 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &[u8] = b"thumbnail::is-valid-xlarge \0" ; |
471 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &[u8] = b"thumbnail::is-valid-xxlarge \0" ; |
472 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8] = b"thumbnail::path \0" ; |
473 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &[u8] = b"thumbnail::path-large \0" ; |
474 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &[u8] = b"thumbnail::path-normal \0" ; |
475 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &[u8] = b"thumbnail::path-xlarge \0" ; |
476 | pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &[u8] = b"thumbnail::path-xxlarge \0" ; |
477 | pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8] = b"time::access \0" ; |
478 | pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8] = b"time::access-nsec \0" ; |
479 | pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8] = b"time::access-usec \0" ; |
480 | pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8] = b"time::changed \0" ; |
481 | pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8] = b"time::changed-nsec \0" ; |
482 | pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8] = b"time::changed-usec \0" ; |
483 | pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8] = b"time::created \0" ; |
484 | pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8] = b"time::created-nsec \0" ; |
485 | pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8] = b"time::created-usec \0" ; |
486 | pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8] = b"time::modified \0" ; |
487 | pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8] = b"time::modified-nsec \0" ; |
488 | pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8] = b"time::modified-usec \0" ; |
489 | pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8] = b"trash::deletion-date \0" ; |
490 | pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8] = b"trash::item-count \0" ; |
491 | pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8] = b"trash::orig-path \0" ; |
492 | pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8] = b"unix::blocks \0" ; |
493 | pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8] = b"unix::block-size \0" ; |
494 | pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8] = b"unix::device \0" ; |
495 | pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8] = b"unix::gid \0" ; |
496 | pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8] = b"unix::inode \0" ; |
497 | pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8] = b"unix::is-mountpoint \0" ; |
498 | pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8] = b"unix::mode \0" ; |
499 | pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8] = b"unix::nlink \0" ; |
500 | pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8] = b"unix::rdev \0" ; |
501 | pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8] = b"unix::uid \0" ; |
502 | pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-memory-monitor \0" ; |
503 | pub const G_MENU_ATTRIBUTE_ACTION: &[u8] = b"action \0" ; |
504 | pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8] = b"action-namespace \0" ; |
505 | pub const G_MENU_ATTRIBUTE_ICON: &[u8] = b"icon \0" ; |
506 | pub const G_MENU_ATTRIBUTE_LABEL: &[u8] = b"label \0" ; |
507 | pub const G_MENU_ATTRIBUTE_TARGET: &[u8] = b"target \0" ; |
508 | pub const G_MENU_EXPORTER_MAX_SECTION_SIZE: c_int = 1000; |
509 | pub const G_MENU_LINK_SECTION: &[u8] = b"section \0" ; |
510 | pub const G_MENU_LINK_SUBMENU: &[u8] = b"submenu \0" ; |
511 | pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-native-volume-monitor \0" ; |
512 | pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-network-monitor \0" ; |
513 | pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-power-profile-monitor \0" ; |
514 | pub const G_PROXY_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy \0" ; |
515 | pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8] = b"gio-proxy-resolver \0" ; |
516 | pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gsettings-backend \0" ; |
517 | pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8] = b"gio-tls-backend \0" ; |
518 | pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8] = b"1.3.6.1.5.5.7.3.2 \0" ; |
519 | pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8] = b"1.3.6.1.5.5.7.3.1 \0" ; |
520 | pub const G_VFS_EXTENSION_POINT_NAME: &[u8] = b"gio-vfs \0" ; |
521 | pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8] = b"class \0" ; |
522 | pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: &[u8] = b"hal-udi \0" ; |
523 | pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8] = b"label \0" ; |
524 | pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8] = b"nfs-mount \0" ; |
525 | pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device \0" ; |
526 | pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8] = b"uuid \0" ; |
527 | pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8] = b"gio-volume-monitor \0" ; |
528 | |
529 | // Flags |
530 | pub type GAppInfoCreateFlags = c_uint; |
531 | pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0; |
532 | pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1; |
533 | pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2; |
534 | pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4; |
535 | |
536 | pub type GApplicationFlags = c_uint; |
537 | pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0; |
538 | #[cfg (feature = "v2_74" )] |
539 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
540 | pub const G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0; |
541 | pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1; |
542 | pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2; |
543 | pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4; |
544 | pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8; |
545 | pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16; |
546 | pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32; |
547 | pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64; |
548 | pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128; |
549 | pub const G_APPLICATION_REPLACE: GApplicationFlags = 256; |
550 | |
551 | pub type GAskPasswordFlags = c_uint; |
552 | pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1; |
553 | pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2; |
554 | pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4; |
555 | pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8; |
556 | pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16; |
557 | pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32; |
558 | |
559 | pub type GBusNameOwnerFlags = c_uint; |
560 | pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0; |
561 | pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1; |
562 | pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2; |
563 | pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4; |
564 | |
565 | pub type GBusNameWatcherFlags = c_uint; |
566 | pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0; |
567 | pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1; |
568 | |
569 | pub type GConverterFlags = c_uint; |
570 | pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0; |
571 | pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1; |
572 | pub const G_CONVERTER_FLUSH: GConverterFlags = 2; |
573 | |
574 | pub type GDBusCallFlags = c_uint; |
575 | pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0; |
576 | pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1; |
577 | pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2; |
578 | |
579 | pub type GDBusCapabilityFlags = c_uint; |
580 | pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0; |
581 | pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1; |
582 | |
583 | pub type GDBusConnectionFlags = c_uint; |
584 | pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0; |
585 | pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1; |
586 | pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2; |
587 | pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4; |
588 | pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8; |
589 | pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16; |
590 | pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusConnectionFlags = 32; |
591 | pub const G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64; |
592 | |
593 | pub type GDBusInterfaceSkeletonFlags = c_uint; |
594 | pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0; |
595 | pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: |
596 | GDBusInterfaceSkeletonFlags = 1; |
597 | |
598 | pub type GDBusMessageFlags = c_uint; |
599 | pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0; |
600 | pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1; |
601 | pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2; |
602 | pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4; |
603 | |
604 | pub type GDBusObjectManagerClientFlags = c_uint; |
605 | pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0; |
606 | pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1; |
607 | |
608 | pub type GDBusPropertyInfoFlags = c_uint; |
609 | pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0; |
610 | pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1; |
611 | pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2; |
612 | |
613 | pub type GDBusProxyFlags = c_uint; |
614 | pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0; |
615 | pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1; |
616 | pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2; |
617 | pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4; |
618 | pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8; |
619 | pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16; |
620 | pub const G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32; |
621 | |
622 | pub type GDBusSendMessageFlags = c_uint; |
623 | pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0; |
624 | pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1; |
625 | |
626 | pub type GDBusServerFlags = c_uint; |
627 | pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0; |
628 | pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1; |
629 | pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2; |
630 | pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags = 4; |
631 | |
632 | pub type GDBusSignalFlags = c_uint; |
633 | pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0; |
634 | pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1; |
635 | pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2; |
636 | pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4; |
637 | |
638 | pub type GDBusSubtreeFlags = c_uint; |
639 | pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0; |
640 | pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1; |
641 | |
642 | pub type GDriveStartFlags = c_uint; |
643 | pub const G_DRIVE_START_NONE: GDriveStartFlags = 0; |
644 | |
645 | pub type GFileAttributeInfoFlags = c_uint; |
646 | pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0; |
647 | pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1; |
648 | pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2; |
649 | |
650 | pub type GFileCopyFlags = c_uint; |
651 | pub const G_FILE_COPY_NONE: GFileCopyFlags = 0; |
652 | pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1; |
653 | pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2; |
654 | pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4; |
655 | pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8; |
656 | pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16; |
657 | pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32; |
658 | pub const G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME: GFileCopyFlags = 64; |
659 | |
660 | pub type GFileCreateFlags = c_uint; |
661 | pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0; |
662 | pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1; |
663 | pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2; |
664 | |
665 | pub type GFileMeasureFlags = c_uint; |
666 | pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0; |
667 | pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2; |
668 | pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4; |
669 | pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8; |
670 | |
671 | pub type GFileMonitorFlags = c_uint; |
672 | pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0; |
673 | pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1; |
674 | pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2; |
675 | pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4; |
676 | pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8; |
677 | |
678 | pub type GFileQueryInfoFlags = c_uint; |
679 | pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0; |
680 | pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1; |
681 | |
682 | pub type GIOStreamSpliceFlags = c_uint; |
683 | pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0; |
684 | pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1; |
685 | pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2; |
686 | pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4; |
687 | |
688 | pub type GMountMountFlags = c_uint; |
689 | pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0; |
690 | |
691 | pub type GMountUnmountFlags = c_uint; |
692 | pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0; |
693 | pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1; |
694 | |
695 | pub type GOutputStreamSpliceFlags = c_uint; |
696 | pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0; |
697 | pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1; |
698 | pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2; |
699 | |
700 | pub type GResolverNameLookupFlags = c_uint; |
701 | pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0; |
702 | pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1; |
703 | pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2; |
704 | |
705 | pub type GResourceFlags = c_uint; |
706 | pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0; |
707 | pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1; |
708 | |
709 | pub type GResourceLookupFlags = c_uint; |
710 | pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0; |
711 | |
712 | pub type GSettingsBindFlags = c_uint; |
713 | pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0; |
714 | pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1; |
715 | pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2; |
716 | pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4; |
717 | pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8; |
718 | pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16; |
719 | |
720 | pub type GSubprocessFlags = c_uint; |
721 | pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0; |
722 | pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1; |
723 | pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2; |
724 | pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4; |
725 | pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8; |
726 | pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16; |
727 | pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32; |
728 | pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64; |
729 | pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128; |
730 | pub const G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256; |
731 | |
732 | pub type GTestDBusFlags = c_uint; |
733 | pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0; |
734 | |
735 | pub type GTlsCertificateFlags = c_uint; |
736 | pub const G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0; |
737 | pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1; |
738 | pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2; |
739 | pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4; |
740 | pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8; |
741 | pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16; |
742 | pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32; |
743 | pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64; |
744 | pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127; |
745 | |
746 | pub type GTlsDatabaseVerifyFlags = c_uint; |
747 | pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0; |
748 | |
749 | pub type GTlsPasswordFlags = c_uint; |
750 | pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0; |
751 | pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2; |
752 | pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4; |
753 | pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8; |
754 | pub const G_TLS_PASSWORD_PKCS11_USER: GTlsPasswordFlags = 16; |
755 | pub const G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: GTlsPasswordFlags = 32; |
756 | pub const G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: GTlsPasswordFlags = 64; |
757 | |
758 | // Callbacks |
759 | pub type GAsyncReadyCallback = |
760 | Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>; |
761 | pub type GBusAcquiredCallback = |
762 | Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; |
763 | pub type GBusNameAcquiredCallback = |
764 | Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; |
765 | pub type GBusNameAppearedCallback = |
766 | Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>; |
767 | pub type GBusNameLostCallback = |
768 | Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; |
769 | pub type GBusNameVanishedCallback = |
770 | Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; |
771 | pub type GCancellableSourceFunc = |
772 | Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>; |
773 | pub type GDBusInterfaceGetPropertyFunc = Option< |
774 | unsafe extern "C" fn( |
775 | *mut GDBusConnection, |
776 | *const c_char, |
777 | *const c_char, |
778 | *const c_char, |
779 | *const c_char, |
780 | *mut *mut glib::GError, |
781 | gpointer, |
782 | ) -> *mut glib::GVariant, |
783 | >; |
784 | pub type GDBusInterfaceMethodCallFunc = Option< |
785 | unsafe extern "C" fn( |
786 | *mut GDBusConnection, |
787 | *const c_char, |
788 | *const c_char, |
789 | *const c_char, |
790 | *const c_char, |
791 | *mut glib::GVariant, |
792 | *mut GDBusMethodInvocation, |
793 | gpointer, |
794 | ), |
795 | >; |
796 | pub type GDBusInterfaceSetPropertyFunc = Option< |
797 | unsafe extern "C" fn( |
798 | *mut GDBusConnection, |
799 | *const c_char, |
800 | *const c_char, |
801 | *const c_char, |
802 | *const c_char, |
803 | *mut glib::GVariant, |
804 | *mut *mut glib::GError, |
805 | gpointer, |
806 | ) -> gboolean, |
807 | >; |
808 | pub type GDBusMessageFilterFunction = Option< |
809 | unsafe extern "C" fn( |
810 | *mut GDBusConnection, |
811 | *mut GDBusMessage, |
812 | gboolean, |
813 | gpointer, |
814 | ) -> *mut GDBusMessage, |
815 | >; |
816 | pub type GDBusProxyTypeFunc = Option< |
817 | unsafe extern "C" fn( |
818 | *mut GDBusObjectManagerClient, |
819 | *const c_char, |
820 | *const c_char, |
821 | gpointer, |
822 | ) -> GType, |
823 | >; |
824 | pub type GDBusSignalCallback = Option< |
825 | unsafe extern "C" fn( |
826 | *mut GDBusConnection, |
827 | *const c_char, |
828 | *const c_char, |
829 | *const c_char, |
830 | *const c_char, |
831 | *mut glib::GVariant, |
832 | gpointer, |
833 | ), |
834 | >; |
835 | pub type GDBusSubtreeDispatchFunc = Option< |
836 | unsafe extern "C" fn( |
837 | *mut GDBusConnection, |
838 | *const c_char, |
839 | *const c_char, |
840 | *const c_char, |
841 | *const c_char, |
842 | *mut gpointer, |
843 | gpointer, |
844 | ) -> *const GDBusInterfaceVTable, |
845 | >; |
846 | pub type GDBusSubtreeEnumerateFunc = Option< |
847 | unsafe extern "C" fn( |
848 | *mut GDBusConnection, |
849 | *const c_char, |
850 | *const c_char, |
851 | gpointer, |
852 | ) -> *mut *mut c_char, |
853 | >; |
854 | pub type GDBusSubtreeIntrospectFunc = Option< |
855 | unsafe extern "C" fn( |
856 | *mut GDBusConnection, |
857 | *const c_char, |
858 | *const c_char, |
859 | *const c_char, |
860 | gpointer, |
861 | ) -> *mut *mut GDBusInterfaceInfo, |
862 | >; |
863 | pub type GDatagramBasedSourceFunc = |
864 | Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>; |
865 | pub type GDesktopAppLaunchCallback = |
866 | Option<unsafe extern "C" fn(*mut GDesktopAppInfo, glib::GPid, gpointer)>; |
867 | pub type GFileMeasureProgressCallback = |
868 | Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>; |
869 | pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>; |
870 | pub type GFileReadMoreCallback = |
871 | Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>; |
872 | pub type GIOSchedulerJobFunc = |
873 | Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>; |
874 | pub type GPollableSourceFunc = |
875 | Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>; |
876 | pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>; |
877 | pub type GSettingsBindGetMapping = |
878 | Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>; |
879 | pub type GSettingsBindSetMapping = Option< |
880 | unsafe extern "C" fn( |
881 | *const gobject::GValue, |
882 | *const glib::GVariantType, |
883 | gpointer, |
884 | ) -> *mut glib::GVariant, |
885 | >; |
886 | pub type GSettingsGetMapping = |
887 | Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>; |
888 | pub type GSimpleAsyncThreadFunc = |
889 | Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>; |
890 | pub type GSocketSourceFunc = |
891 | Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>; |
892 | pub type GTaskThreadFunc = |
893 | Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>; |
894 | pub type GVfsFileLookupFunc = |
895 | Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>; |
896 | |
897 | // Records |
898 | #[derive (Copy, Clone)] |
899 | #[repr (C)] |
900 | pub struct GActionEntry { |
901 | pub name: *const c_char, |
902 | pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, |
903 | pub parameter_type: *const c_char, |
904 | pub state: *const c_char, |
905 | pub change_state: |
906 | Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, |
907 | pub padding: [size_t; 3], |
908 | } |
909 | |
910 | impl ::std::fmt::Debug for GActionEntry { |
911 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
912 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GActionEntry @ {self:p}" )) |
913 | .field("name" , &self.name) |
914 | .field("activate" , &self.activate) |
915 | .field("parameter_type" , &self.parameter_type) |
916 | .field("state" , &self.state) |
917 | .field(name:"change_state" , &self.change_state) |
918 | .finish() |
919 | } |
920 | } |
921 | |
922 | #[derive (Copy, Clone)] |
923 | #[repr (C)] |
924 | pub struct GActionGroupInterface { |
925 | pub g_iface: gobject::GTypeInterface, |
926 | pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, |
927 | pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>, |
928 | pub get_action_enabled: |
929 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, |
930 | pub get_action_parameter_type: |
931 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, |
932 | pub get_action_state_type: |
933 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, |
934 | pub get_action_state_hint: |
935 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, |
936 | pub get_action_state: |
937 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, |
938 | pub change_action_state: |
939 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, |
940 | pub activate_action: |
941 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, |
942 | pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, |
943 | pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, |
944 | pub action_enabled_changed: |
945 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>, |
946 | pub action_state_changed: |
947 | Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, |
948 | pub query_action: Option< |
949 | unsafe extern "C" fn( |
950 | *mut GActionGroup, |
951 | *const c_char, |
952 | *mut gboolean, |
953 | *mut *const glib::GVariantType, |
954 | *mut *const glib::GVariantType, |
955 | *mut *mut glib::GVariant, |
956 | *mut *mut glib::GVariant, |
957 | ) -> gboolean, |
958 | >, |
959 | } |
960 | |
961 | impl ::std::fmt::Debug for GActionGroupInterface { |
962 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
963 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GActionGroupInterface @ {self:p}" )) |
964 | .field("g_iface" , &self.g_iface) |
965 | .field("has_action" , &self.has_action) |
966 | .field("list_actions" , &self.list_actions) |
967 | .field("get_action_enabled" , &self.get_action_enabled) |
968 | .field("get_action_parameter_type" , &self.get_action_parameter_type) |
969 | .field("get_action_state_type" , &self.get_action_state_type) |
970 | .field("get_action_state_hint" , &self.get_action_state_hint) |
971 | .field("get_action_state" , &self.get_action_state) |
972 | .field("change_action_state" , &self.change_action_state) |
973 | .field("activate_action" , &self.activate_action) |
974 | .field("action_added" , &self.action_added) |
975 | .field("action_removed" , &self.action_removed) |
976 | .field("action_enabled_changed" , &self.action_enabled_changed) |
977 | .field("action_state_changed" , &self.action_state_changed) |
978 | .field(name:"query_action" , &self.query_action) |
979 | .finish() |
980 | } |
981 | } |
982 | |
983 | #[derive (Copy, Clone)] |
984 | #[repr (C)] |
985 | pub struct GActionInterface { |
986 | pub g_iface: gobject::GTypeInterface, |
987 | pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>, |
988 | pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, |
989 | pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, |
990 | pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, |
991 | pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>, |
992 | pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, |
993 | pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, |
994 | pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, |
995 | } |
996 | |
997 | impl ::std::fmt::Debug for GActionInterface { |
998 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
999 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GActionInterface @ {self:p}" )) |
1000 | .field("g_iface" , &self.g_iface) |
1001 | .field("get_name" , &self.get_name) |
1002 | .field("get_parameter_type" , &self.get_parameter_type) |
1003 | .field("get_state_type" , &self.get_state_type) |
1004 | .field("get_state_hint" , &self.get_state_hint) |
1005 | .field("get_enabled" , &self.get_enabled) |
1006 | .field("get_state" , &self.get_state) |
1007 | .field("change_state" , &self.change_state) |
1008 | .field(name:"activate" , &self.activate) |
1009 | .finish() |
1010 | } |
1011 | } |
1012 | |
1013 | #[derive (Copy, Clone)] |
1014 | #[repr (C)] |
1015 | pub struct GActionMapInterface { |
1016 | pub g_iface: gobject::GTypeInterface, |
1017 | pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>, |
1018 | pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>, |
1019 | pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>, |
1020 | } |
1021 | |
1022 | impl ::std::fmt::Debug for GActionMapInterface { |
1023 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1024 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GActionMapInterface @ {self:p}" )) |
1025 | .field("g_iface" , &self.g_iface) |
1026 | .field("lookup_action" , &self.lookup_action) |
1027 | .field("add_action" , &self.add_action) |
1028 | .field(name:"remove_action" , &self.remove_action) |
1029 | .finish() |
1030 | } |
1031 | } |
1032 | |
1033 | #[derive (Copy, Clone)] |
1034 | #[repr (C)] |
1035 | pub struct GAppInfoIface { |
1036 | pub g_iface: gobject::GTypeInterface, |
1037 | pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>, |
1038 | pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>, |
1039 | pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1040 | pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1041 | pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1042 | pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1043 | pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>, |
1044 | pub launch: Option< |
1045 | unsafe extern "C" fn( |
1046 | *mut GAppInfo, |
1047 | *mut glib::GList, |
1048 | *mut GAppLaunchContext, |
1049 | *mut *mut glib::GError, |
1050 | ) -> gboolean, |
1051 | >, |
1052 | pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1053 | pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1054 | pub launch_uris: Option< |
1055 | unsafe extern "C" fn( |
1056 | *mut GAppInfo, |
1057 | *mut glib::GList, |
1058 | *mut GAppLaunchContext, |
1059 | *mut *mut glib::GError, |
1060 | ) -> gboolean, |
1061 | >, |
1062 | pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1063 | pub set_as_default_for_type: Option< |
1064 | unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, |
1065 | >, |
1066 | pub set_as_default_for_extension: Option< |
1067 | unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, |
1068 | >, |
1069 | pub add_supports_type: Option< |
1070 | unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, |
1071 | >, |
1072 | pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1073 | pub remove_supports_type: Option< |
1074 | unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, |
1075 | >, |
1076 | pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1077 | pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, |
1078 | pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1079 | pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, |
1080 | pub set_as_last_used_for_type: Option< |
1081 | unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, |
1082 | >, |
1083 | pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>, |
1084 | pub launch_uris_async: Option< |
1085 | unsafe extern "C" fn( |
1086 | *mut GAppInfo, |
1087 | *mut glib::GList, |
1088 | *mut GAppLaunchContext, |
1089 | *mut GCancellable, |
1090 | GAsyncReadyCallback, |
1091 | gpointer, |
1092 | ), |
1093 | >, |
1094 | pub launch_uris_finish: Option< |
1095 | unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
1096 | >, |
1097 | } |
1098 | |
1099 | impl ::std::fmt::Debug for GAppInfoIface { |
1100 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1101 | f.debug_struct(&format!("GAppInfoIface @ {self:p}" )) |
1102 | .field("g_iface" , &self.g_iface) |
1103 | .field("dup" , &self.dup) |
1104 | .field("equal" , &self.equal) |
1105 | .field("get_id" , &self.get_id) |
1106 | .field("get_name" , &self.get_name) |
1107 | .field("get_description" , &self.get_description) |
1108 | .field("get_executable" , &self.get_executable) |
1109 | .field("get_icon" , &self.get_icon) |
1110 | .field("launch" , &self.launch) |
1111 | .field("supports_uris" , &self.supports_uris) |
1112 | .field("supports_files" , &self.supports_files) |
1113 | .field("launch_uris" , &self.launch_uris) |
1114 | .field("should_show" , &self.should_show) |
1115 | .field("set_as_default_for_type" , &self.set_as_default_for_type) |
1116 | .field( |
1117 | "set_as_default_for_extension" , |
1118 | &self.set_as_default_for_extension, |
1119 | ) |
1120 | .field("add_supports_type" , &self.add_supports_type) |
1121 | .field("can_remove_supports_type" , &self.can_remove_supports_type) |
1122 | .field("remove_supports_type" , &self.remove_supports_type) |
1123 | .field("can_delete" , &self.can_delete) |
1124 | .field("do_delete" , &self.do_delete) |
1125 | .field("get_commandline" , &self.get_commandline) |
1126 | .field("get_display_name" , &self.get_display_name) |
1127 | .field("set_as_last_used_for_type" , &self.set_as_last_used_for_type) |
1128 | .field("get_supported_types" , &self.get_supported_types) |
1129 | .field("launch_uris_async" , &self.launch_uris_async) |
1130 | .field("launch_uris_finish" , &self.launch_uris_finish) |
1131 | .finish() |
1132 | } |
1133 | } |
1134 | |
1135 | #[derive (Copy, Clone)] |
1136 | #[repr (C)] |
1137 | pub struct GAppLaunchContextClass { |
1138 | pub parent_class: gobject::GObjectClass, |
1139 | pub get_display: Option< |
1140 | unsafe extern "C" fn( |
1141 | *mut GAppLaunchContext, |
1142 | *mut GAppInfo, |
1143 | *mut glib::GList, |
1144 | ) -> *mut c_char, |
1145 | >, |
1146 | pub get_startup_notify_id: Option< |
1147 | unsafe extern "C" fn( |
1148 | *mut GAppLaunchContext, |
1149 | *mut GAppInfo, |
1150 | *mut glib::GList, |
1151 | ) -> *mut c_char, |
1152 | >, |
1153 | pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>, |
1154 | pub launched: |
1155 | Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>, |
1156 | pub launch_started: |
1157 | Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>, |
1158 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1159 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1160 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
1161 | } |
1162 | |
1163 | impl ::std::fmt::Debug for GAppLaunchContextClass { |
1164 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1165 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GAppLaunchContextClass @ {self:p}" )) |
1166 | .field("parent_class" , &self.parent_class) |
1167 | .field("get_display" , &self.get_display) |
1168 | .field("get_startup_notify_id" , &self.get_startup_notify_id) |
1169 | .field("launch_failed" , &self.launch_failed) |
1170 | .field("launched" , &self.launched) |
1171 | .field("launch_started" , &self.launch_started) |
1172 | .field("_g_reserved1" , &self._g_reserved1) |
1173 | .field("_g_reserved2" , &self._g_reserved2) |
1174 | .field(name:"_g_reserved3" , &self._g_reserved3) |
1175 | .finish() |
1176 | } |
1177 | } |
1178 | |
1179 | #[repr (C)] |
1180 | #[allow (dead_code)] |
1181 | pub struct _GAppLaunchContextPrivate { |
1182 | _data: [u8; 0], |
1183 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1184 | } |
1185 | |
1186 | pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate; |
1187 | |
1188 | #[derive (Copy, Clone)] |
1189 | #[repr (C)] |
1190 | pub struct GApplicationClass { |
1191 | pub parent_class: gobject::GObjectClass, |
1192 | pub startup: Option<unsafe extern "C" fn(*mut GApplication)>, |
1193 | pub activate: Option<unsafe extern "C" fn(*mut GApplication)>, |
1194 | pub open: |
1195 | Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>, |
1196 | pub command_line: |
1197 | Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>, |
1198 | pub local_command_line: Option< |
1199 | unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean, |
1200 | >, |
1201 | pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, |
1202 | pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, |
1203 | pub add_platform_data: |
1204 | Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>, |
1205 | pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, |
1206 | pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, |
1207 | pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>, |
1208 | pub dbus_register: Option< |
1209 | unsafe extern "C" fn( |
1210 | *mut GApplication, |
1211 | *mut GDBusConnection, |
1212 | *const c_char, |
1213 | *mut *mut glib::GError, |
1214 | ) -> gboolean, |
1215 | >, |
1216 | pub dbus_unregister: |
1217 | Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>, |
1218 | pub handle_local_options: |
1219 | Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>, |
1220 | pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>, |
1221 | pub padding: [gpointer; 7], |
1222 | } |
1223 | |
1224 | impl ::std::fmt::Debug for GApplicationClass { |
1225 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1226 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GApplicationClass @ {self:p}" )) |
1227 | .field("startup" , &self.startup) |
1228 | .field("activate" , &self.activate) |
1229 | .field("open" , &self.open) |
1230 | .field("command_line" , &self.command_line) |
1231 | .field("local_command_line" , &self.local_command_line) |
1232 | .field("before_emit" , &self.before_emit) |
1233 | .field("after_emit" , &self.after_emit) |
1234 | .field("add_platform_data" , &self.add_platform_data) |
1235 | .field("quit_mainloop" , &self.quit_mainloop) |
1236 | .field("run_mainloop" , &self.run_mainloop) |
1237 | .field("shutdown" , &self.shutdown) |
1238 | .field("dbus_register" , &self.dbus_register) |
1239 | .field("dbus_unregister" , &self.dbus_unregister) |
1240 | .field("handle_local_options" , &self.handle_local_options) |
1241 | .field(name:"name_lost" , &self.name_lost) |
1242 | .finish() |
1243 | } |
1244 | } |
1245 | |
1246 | #[derive (Copy, Clone)] |
1247 | #[repr (C)] |
1248 | pub struct GApplicationCommandLineClass { |
1249 | pub parent_class: gobject::GObjectClass, |
1250 | pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, |
1251 | pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, |
1252 | pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>, |
1253 | pub done: Option<unsafe extern "C" fn(*mut GApplicationCommandLine)>, |
1254 | pub padding: [gpointer; 10], |
1255 | } |
1256 | |
1257 | impl ::std::fmt::Debug for GApplicationCommandLineClass { |
1258 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1259 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GApplicationCommandLineClass @ {self:p}" )) |
1260 | .field("print_literal" , &self.print_literal) |
1261 | .field("printerr_literal" , &self.printerr_literal) |
1262 | .field("get_stdin" , &self.get_stdin) |
1263 | .field(name:"done" , &self.done) |
1264 | .finish() |
1265 | } |
1266 | } |
1267 | |
1268 | #[repr (C)] |
1269 | #[allow (dead_code)] |
1270 | pub struct _GApplicationCommandLinePrivate { |
1271 | _data: [u8; 0], |
1272 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1273 | } |
1274 | |
1275 | pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate; |
1276 | |
1277 | #[repr (C)] |
1278 | #[allow (dead_code)] |
1279 | pub struct _GApplicationPrivate { |
1280 | _data: [u8; 0], |
1281 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1282 | } |
1283 | |
1284 | pub type GApplicationPrivate = _GApplicationPrivate; |
1285 | |
1286 | #[derive (Copy, Clone)] |
1287 | #[repr (C)] |
1288 | pub struct GAsyncInitableIface { |
1289 | pub g_iface: gobject::GTypeInterface, |
1290 | pub init_async: Option< |
1291 | unsafe extern "C" fn( |
1292 | *mut GAsyncInitable, |
1293 | c_int, |
1294 | *mut GCancellable, |
1295 | GAsyncReadyCallback, |
1296 | gpointer, |
1297 | ), |
1298 | >, |
1299 | pub init_finish: Option< |
1300 | unsafe extern "C" fn( |
1301 | *mut GAsyncInitable, |
1302 | *mut GAsyncResult, |
1303 | *mut *mut glib::GError, |
1304 | ) -> gboolean, |
1305 | >, |
1306 | } |
1307 | |
1308 | impl ::std::fmt::Debug for GAsyncInitableIface { |
1309 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1310 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GAsyncInitableIface @ {self:p}" )) |
1311 | .field("g_iface" , &self.g_iface) |
1312 | .field("init_async" , &self.init_async) |
1313 | .field(name:"init_finish" , &self.init_finish) |
1314 | .finish() |
1315 | } |
1316 | } |
1317 | |
1318 | #[derive (Copy, Clone)] |
1319 | #[repr (C)] |
1320 | pub struct GAsyncResultIface { |
1321 | pub g_iface: gobject::GTypeInterface, |
1322 | pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>, |
1323 | pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>, |
1324 | pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>, |
1325 | } |
1326 | |
1327 | impl ::std::fmt::Debug for GAsyncResultIface { |
1328 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1329 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GAsyncResultIface @ {self:p}" )) |
1330 | .field("g_iface" , &self.g_iface) |
1331 | .field("get_user_data" , &self.get_user_data) |
1332 | .field("get_source_object" , &self.get_source_object) |
1333 | .field(name:"is_tagged" , &self.is_tagged) |
1334 | .finish() |
1335 | } |
1336 | } |
1337 | |
1338 | #[derive (Copy, Clone)] |
1339 | #[repr (C)] |
1340 | pub struct GBufferedInputStreamClass { |
1341 | pub parent_class: GFilterInputStreamClass, |
1342 | pub fill: Option< |
1343 | unsafe extern "C" fn( |
1344 | *mut GBufferedInputStream, |
1345 | ssize_t, |
1346 | *mut GCancellable, |
1347 | *mut *mut glib::GError, |
1348 | ) -> ssize_t, |
1349 | >, |
1350 | pub fill_async: Option< |
1351 | unsafe extern "C" fn( |
1352 | *mut GBufferedInputStream, |
1353 | ssize_t, |
1354 | c_int, |
1355 | *mut GCancellable, |
1356 | GAsyncReadyCallback, |
1357 | gpointer, |
1358 | ), |
1359 | >, |
1360 | pub fill_finish: Option< |
1361 | unsafe extern "C" fn( |
1362 | *mut GBufferedInputStream, |
1363 | *mut GAsyncResult, |
1364 | *mut *mut glib::GError, |
1365 | ) -> ssize_t, |
1366 | >, |
1367 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1368 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1369 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
1370 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
1371 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
1372 | } |
1373 | |
1374 | impl ::std::fmt::Debug for GBufferedInputStreamClass { |
1375 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1376 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GBufferedInputStreamClass @ {self:p}" )) |
1377 | .field("parent_class" , &self.parent_class) |
1378 | .field("fill" , &self.fill) |
1379 | .field("fill_async" , &self.fill_async) |
1380 | .field("fill_finish" , &self.fill_finish) |
1381 | .field("_g_reserved1" , &self._g_reserved1) |
1382 | .field("_g_reserved2" , &self._g_reserved2) |
1383 | .field("_g_reserved3" , &self._g_reserved3) |
1384 | .field("_g_reserved4" , &self._g_reserved4) |
1385 | .field(name:"_g_reserved5" , &self._g_reserved5) |
1386 | .finish() |
1387 | } |
1388 | } |
1389 | |
1390 | #[repr (C)] |
1391 | #[allow (dead_code)] |
1392 | pub struct _GBufferedInputStreamPrivate { |
1393 | _data: [u8; 0], |
1394 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1395 | } |
1396 | |
1397 | pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate; |
1398 | |
1399 | #[derive (Copy, Clone)] |
1400 | #[repr (C)] |
1401 | pub struct GBufferedOutputStreamClass { |
1402 | pub parent_class: GFilterOutputStreamClass, |
1403 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1404 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1405 | } |
1406 | |
1407 | impl ::std::fmt::Debug for GBufferedOutputStreamClass { |
1408 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1409 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GBufferedOutputStreamClass @ {self:p}" )) |
1410 | .field("parent_class" , &self.parent_class) |
1411 | .field("_g_reserved1" , &self._g_reserved1) |
1412 | .field(name:"_g_reserved2" , &self._g_reserved2) |
1413 | .finish() |
1414 | } |
1415 | } |
1416 | |
1417 | #[repr (C)] |
1418 | #[allow (dead_code)] |
1419 | pub struct _GBufferedOutputStreamPrivate { |
1420 | _data: [u8; 0], |
1421 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1422 | } |
1423 | |
1424 | pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate; |
1425 | |
1426 | #[derive (Copy, Clone)] |
1427 | #[repr (C)] |
1428 | pub struct GCancellableClass { |
1429 | pub parent_class: gobject::GObjectClass, |
1430 | pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>, |
1431 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1432 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1433 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
1434 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
1435 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
1436 | } |
1437 | |
1438 | impl ::std::fmt::Debug for GCancellableClass { |
1439 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1440 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GCancellableClass @ {self:p}" )) |
1441 | .field("parent_class" , &self.parent_class) |
1442 | .field("cancelled" , &self.cancelled) |
1443 | .field("_g_reserved1" , &self._g_reserved1) |
1444 | .field("_g_reserved2" , &self._g_reserved2) |
1445 | .field("_g_reserved3" , &self._g_reserved3) |
1446 | .field("_g_reserved4" , &self._g_reserved4) |
1447 | .field(name:"_g_reserved5" , &self._g_reserved5) |
1448 | .finish() |
1449 | } |
1450 | } |
1451 | |
1452 | #[repr (C)] |
1453 | #[allow (dead_code)] |
1454 | pub struct _GCancellablePrivate { |
1455 | _data: [u8; 0], |
1456 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1457 | } |
1458 | |
1459 | pub type GCancellablePrivate = _GCancellablePrivate; |
1460 | |
1461 | #[derive (Copy, Clone)] |
1462 | #[repr (C)] |
1463 | pub struct GCharsetConverterClass { |
1464 | pub parent_class: gobject::GObjectClass, |
1465 | } |
1466 | |
1467 | impl ::std::fmt::Debug for GCharsetConverterClass { |
1468 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1469 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GCharsetConverterClass @ {self:p}" )) |
1470 | .field(name:"parent_class" , &self.parent_class) |
1471 | .finish() |
1472 | } |
1473 | } |
1474 | |
1475 | #[derive (Copy, Clone)] |
1476 | #[repr (C)] |
1477 | pub struct GConverterIface { |
1478 | pub g_iface: gobject::GTypeInterface, |
1479 | pub convert: Option< |
1480 | unsafe extern "C" fn( |
1481 | *mut GConverter, |
1482 | *mut u8, |
1483 | size_t, |
1484 | *mut u8, |
1485 | size_t, |
1486 | GConverterFlags, |
1487 | *mut size_t, |
1488 | *mut size_t, |
1489 | *mut *mut glib::GError, |
1490 | ) -> GConverterResult, |
1491 | >, |
1492 | pub reset: Option<unsafe extern "C" fn(*mut GConverter)>, |
1493 | } |
1494 | |
1495 | impl ::std::fmt::Debug for GConverterIface { |
1496 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1497 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GConverterIface @ {self:p}" )) |
1498 | .field("g_iface" , &self.g_iface) |
1499 | .field("convert" , &self.convert) |
1500 | .field(name:"reset" , &self.reset) |
1501 | .finish() |
1502 | } |
1503 | } |
1504 | |
1505 | #[derive (Copy, Clone)] |
1506 | #[repr (C)] |
1507 | pub struct GConverterInputStreamClass { |
1508 | pub parent_class: GFilterInputStreamClass, |
1509 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1510 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1511 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
1512 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
1513 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
1514 | } |
1515 | |
1516 | impl ::std::fmt::Debug for GConverterInputStreamClass { |
1517 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1518 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GConverterInputStreamClass @ {self:p}" )) |
1519 | .field("parent_class" , &self.parent_class) |
1520 | .field("_g_reserved1" , &self._g_reserved1) |
1521 | .field("_g_reserved2" , &self._g_reserved2) |
1522 | .field("_g_reserved3" , &self._g_reserved3) |
1523 | .field("_g_reserved4" , &self._g_reserved4) |
1524 | .field(name:"_g_reserved5" , &self._g_reserved5) |
1525 | .finish() |
1526 | } |
1527 | } |
1528 | |
1529 | #[repr (C)] |
1530 | #[allow (dead_code)] |
1531 | pub struct _GConverterInputStreamPrivate { |
1532 | _data: [u8; 0], |
1533 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1534 | } |
1535 | |
1536 | pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate; |
1537 | |
1538 | #[derive (Copy, Clone)] |
1539 | #[repr (C)] |
1540 | pub struct GConverterOutputStreamClass { |
1541 | pub parent_class: GFilterOutputStreamClass, |
1542 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
1543 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
1544 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
1545 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
1546 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
1547 | } |
1548 | |
1549 | impl ::std::fmt::Debug for GConverterOutputStreamClass { |
1550 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1551 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GConverterOutputStreamClass @ {self:p}" )) |
1552 | .field("parent_class" , &self.parent_class) |
1553 | .field("_g_reserved1" , &self._g_reserved1) |
1554 | .field("_g_reserved2" , &self._g_reserved2) |
1555 | .field("_g_reserved3" , &self._g_reserved3) |
1556 | .field("_g_reserved4" , &self._g_reserved4) |
1557 | .field(name:"_g_reserved5" , &self._g_reserved5) |
1558 | .finish() |
1559 | } |
1560 | } |
1561 | |
1562 | #[repr (C)] |
1563 | #[allow (dead_code)] |
1564 | pub struct _GConverterOutputStreamPrivate { |
1565 | _data: [u8; 0], |
1566 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1567 | } |
1568 | |
1569 | pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate; |
1570 | |
1571 | #[repr (C)] |
1572 | #[allow (dead_code)] |
1573 | pub struct _GCredentialsClass { |
1574 | _data: [u8; 0], |
1575 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1576 | } |
1577 | |
1578 | pub type GCredentialsClass = _GCredentialsClass; |
1579 | |
1580 | #[derive (Copy, Clone)] |
1581 | #[repr (C)] |
1582 | pub struct GDBusAnnotationInfo { |
1583 | pub ref_count: c_int, |
1584 | pub key: *mut c_char, |
1585 | pub value: *mut c_char, |
1586 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1587 | } |
1588 | |
1589 | impl ::std::fmt::Debug for GDBusAnnotationInfo { |
1590 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1591 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusAnnotationInfo @ {self:p}" )) |
1592 | .field("ref_count" , &self.ref_count) |
1593 | .field("key" , &self.key) |
1594 | .field("value" , &self.value) |
1595 | .field(name:"annotations" , &self.annotations) |
1596 | .finish() |
1597 | } |
1598 | } |
1599 | |
1600 | #[derive (Copy, Clone)] |
1601 | #[repr (C)] |
1602 | pub struct GDBusArgInfo { |
1603 | pub ref_count: c_int, |
1604 | pub name: *mut c_char, |
1605 | pub signature: *mut c_char, |
1606 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1607 | } |
1608 | |
1609 | impl ::std::fmt::Debug for GDBusArgInfo { |
1610 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1611 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusArgInfo @ {self:p}" )) |
1612 | .field("ref_count" , &self.ref_count) |
1613 | .field("name" , &self.name) |
1614 | .field("signature" , &self.signature) |
1615 | .field(name:"annotations" , &self.annotations) |
1616 | .finish() |
1617 | } |
1618 | } |
1619 | |
1620 | #[derive (Copy, Clone)] |
1621 | #[repr (C)] |
1622 | pub struct GDBusErrorEntry { |
1623 | pub error_code: c_int, |
1624 | pub dbus_error_name: *const c_char, |
1625 | } |
1626 | |
1627 | impl ::std::fmt::Debug for GDBusErrorEntry { |
1628 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1629 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusErrorEntry @ {self:p}" )) |
1630 | .field("error_code" , &self.error_code) |
1631 | .field(name:"dbus_error_name" , &self.dbus_error_name) |
1632 | .finish() |
1633 | } |
1634 | } |
1635 | |
1636 | #[derive (Copy, Clone)] |
1637 | #[repr (C)] |
1638 | pub struct GDBusInterfaceIface { |
1639 | pub parent_iface: gobject::GTypeInterface, |
1640 | pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>, |
1641 | pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, |
1642 | pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>, |
1643 | pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, |
1644 | } |
1645 | |
1646 | impl ::std::fmt::Debug for GDBusInterfaceIface { |
1647 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1648 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusInterfaceIface @ {self:p}" )) |
1649 | .field("parent_iface" , &self.parent_iface) |
1650 | .field("get_info" , &self.get_info) |
1651 | .field("get_object" , &self.get_object) |
1652 | .field("set_object" , &self.set_object) |
1653 | .field(name:"dup_object" , &self.dup_object) |
1654 | .finish() |
1655 | } |
1656 | } |
1657 | |
1658 | #[derive (Copy, Clone)] |
1659 | #[repr (C)] |
1660 | pub struct GDBusInterfaceInfo { |
1661 | pub ref_count: c_int, |
1662 | pub name: *mut c_char, |
1663 | pub methods: *mut *mut GDBusMethodInfo, |
1664 | pub signals: *mut *mut GDBusSignalInfo, |
1665 | pub properties: *mut *mut GDBusPropertyInfo, |
1666 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1667 | } |
1668 | |
1669 | impl ::std::fmt::Debug for GDBusInterfaceInfo { |
1670 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1671 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusInterfaceInfo @ {self:p}" )) |
1672 | .field("ref_count" , &self.ref_count) |
1673 | .field("name" , &self.name) |
1674 | .field("methods" , &self.methods) |
1675 | .field("signals" , &self.signals) |
1676 | .field("properties" , &self.properties) |
1677 | .field(name:"annotations" , &self.annotations) |
1678 | .finish() |
1679 | } |
1680 | } |
1681 | |
1682 | #[derive (Copy, Clone)] |
1683 | #[repr (C)] |
1684 | pub struct GDBusInterfaceSkeletonClass { |
1685 | pub parent_class: gobject::GObjectClass, |
1686 | pub get_info: |
1687 | Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>, |
1688 | pub get_vtable: |
1689 | Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>, |
1690 | pub get_properties: |
1691 | Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>, |
1692 | pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>, |
1693 | pub vfunc_padding: [gpointer; 8], |
1694 | pub g_authorize_method: Option< |
1695 | unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean, |
1696 | >, |
1697 | pub signal_padding: [gpointer; 8], |
1698 | } |
1699 | |
1700 | impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass { |
1701 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1702 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {self:p}" )) |
1703 | .field("parent_class" , &self.parent_class) |
1704 | .field("get_info" , &self.get_info) |
1705 | .field("get_vtable" , &self.get_vtable) |
1706 | .field("get_properties" , &self.get_properties) |
1707 | .field("flush" , &self.flush) |
1708 | .field(name:"g_authorize_method" , &self.g_authorize_method) |
1709 | .finish() |
1710 | } |
1711 | } |
1712 | |
1713 | #[repr (C)] |
1714 | #[allow (dead_code)] |
1715 | pub struct _GDBusInterfaceSkeletonPrivate { |
1716 | _data: [u8; 0], |
1717 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1718 | } |
1719 | |
1720 | pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate; |
1721 | |
1722 | #[derive (Copy, Clone)] |
1723 | #[repr (C)] |
1724 | pub struct GDBusInterfaceVTable { |
1725 | pub method_call: GDBusInterfaceMethodCallFunc, |
1726 | pub get_property: GDBusInterfaceGetPropertyFunc, |
1727 | pub set_property: GDBusInterfaceSetPropertyFunc, |
1728 | pub padding: [gpointer; 8], |
1729 | } |
1730 | |
1731 | impl ::std::fmt::Debug for GDBusInterfaceVTable { |
1732 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1733 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusInterfaceVTable @ {self:p}" )) |
1734 | .field("method_call" , &self.method_call) |
1735 | .field("get_property" , &self.get_property) |
1736 | .field(name:"set_property" , &self.set_property) |
1737 | .finish() |
1738 | } |
1739 | } |
1740 | |
1741 | #[derive (Copy, Clone)] |
1742 | #[repr (C)] |
1743 | pub struct GDBusMethodInfo { |
1744 | pub ref_count: c_int, |
1745 | pub name: *mut c_char, |
1746 | pub in_args: *mut *mut GDBusArgInfo, |
1747 | pub out_args: *mut *mut GDBusArgInfo, |
1748 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1749 | } |
1750 | |
1751 | impl ::std::fmt::Debug for GDBusMethodInfo { |
1752 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1753 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusMethodInfo @ {self:p}" )) |
1754 | .field("ref_count" , &self.ref_count) |
1755 | .field("name" , &self.name) |
1756 | .field("in_args" , &self.in_args) |
1757 | .field("out_args" , &self.out_args) |
1758 | .field(name:"annotations" , &self.annotations) |
1759 | .finish() |
1760 | } |
1761 | } |
1762 | |
1763 | #[derive (Copy, Clone)] |
1764 | #[repr (C)] |
1765 | pub struct GDBusNodeInfo { |
1766 | pub ref_count: c_int, |
1767 | pub path: *mut c_char, |
1768 | pub interfaces: *mut *mut GDBusInterfaceInfo, |
1769 | pub nodes: *mut *mut GDBusNodeInfo, |
1770 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1771 | } |
1772 | |
1773 | impl ::std::fmt::Debug for GDBusNodeInfo { |
1774 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1775 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusNodeInfo @ {self:p}" )) |
1776 | .field("ref_count" , &self.ref_count) |
1777 | .field("path" , &self.path) |
1778 | .field("interfaces" , &self.interfaces) |
1779 | .field("nodes" , &self.nodes) |
1780 | .field(name:"annotations" , &self.annotations) |
1781 | .finish() |
1782 | } |
1783 | } |
1784 | |
1785 | #[derive (Copy, Clone)] |
1786 | #[repr (C)] |
1787 | pub struct GDBusObjectIface { |
1788 | pub parent_iface: gobject::GTypeInterface, |
1789 | pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>, |
1790 | pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>, |
1791 | pub get_interface: |
1792 | Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>, |
1793 | pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, |
1794 | pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, |
1795 | } |
1796 | |
1797 | impl ::std::fmt::Debug for GDBusObjectIface { |
1798 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1799 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectIface @ {self:p}" )) |
1800 | .field("parent_iface" , &self.parent_iface) |
1801 | .field("get_object_path" , &self.get_object_path) |
1802 | .field("get_interfaces" , &self.get_interfaces) |
1803 | .field("get_interface" , &self.get_interface) |
1804 | .field("interface_added" , &self.interface_added) |
1805 | .field(name:"interface_removed" , &self.interface_removed) |
1806 | .finish() |
1807 | } |
1808 | } |
1809 | |
1810 | #[derive (Copy, Clone)] |
1811 | #[repr (C)] |
1812 | pub struct GDBusObjectManagerClientClass { |
1813 | pub parent_class: gobject::GObjectClass, |
1814 | pub interface_proxy_signal: Option< |
1815 | unsafe extern "C" fn( |
1816 | *mut GDBusObjectManagerClient, |
1817 | *mut GDBusObjectProxy, |
1818 | *mut GDBusProxy, |
1819 | *const c_char, |
1820 | *const c_char, |
1821 | *mut glib::GVariant, |
1822 | ), |
1823 | >, |
1824 | pub interface_proxy_properties_changed: Option< |
1825 | unsafe extern "C" fn( |
1826 | *mut GDBusObjectManagerClient, |
1827 | *mut GDBusObjectProxy, |
1828 | *mut GDBusProxy, |
1829 | *mut glib::GVariant, |
1830 | *const *const c_char, |
1831 | ), |
1832 | >, |
1833 | pub padding: [gpointer; 8], |
1834 | } |
1835 | |
1836 | impl ::std::fmt::Debug for GDBusObjectManagerClientClass { |
1837 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1838 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectManagerClientClass @ {self:p}" )) |
1839 | .field("parent_class" , &self.parent_class) |
1840 | .field("interface_proxy_signal" , &self.interface_proxy_signal) |
1841 | .field( |
1842 | name:"interface_proxy_properties_changed" , |
1843 | &self.interface_proxy_properties_changed, |
1844 | ) |
1845 | .finish() |
1846 | } |
1847 | } |
1848 | |
1849 | #[repr (C)] |
1850 | #[allow (dead_code)] |
1851 | pub struct _GDBusObjectManagerClientPrivate { |
1852 | _data: [u8; 0], |
1853 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1854 | } |
1855 | |
1856 | pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate; |
1857 | |
1858 | #[derive (Copy, Clone)] |
1859 | #[repr (C)] |
1860 | pub struct GDBusObjectManagerIface { |
1861 | pub parent_iface: gobject::GTypeInterface, |
1862 | pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>, |
1863 | pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>, |
1864 | pub get_object: |
1865 | Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>, |
1866 | pub get_interface: Option< |
1867 | unsafe extern "C" fn( |
1868 | *mut GDBusObjectManager, |
1869 | *const c_char, |
1870 | *const c_char, |
1871 | ) -> *mut GDBusInterface, |
1872 | >, |
1873 | pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, |
1874 | pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, |
1875 | pub interface_added: Option< |
1876 | unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), |
1877 | >, |
1878 | pub interface_removed: Option< |
1879 | unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), |
1880 | >, |
1881 | } |
1882 | |
1883 | impl ::std::fmt::Debug for GDBusObjectManagerIface { |
1884 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1885 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectManagerIface @ {self:p}" )) |
1886 | .field("parent_iface" , &self.parent_iface) |
1887 | .field("get_object_path" , &self.get_object_path) |
1888 | .field("get_objects" , &self.get_objects) |
1889 | .field("get_object" , &self.get_object) |
1890 | .field("get_interface" , &self.get_interface) |
1891 | .field("object_added" , &self.object_added) |
1892 | .field("object_removed" , &self.object_removed) |
1893 | .field("interface_added" , &self.interface_added) |
1894 | .field(name:"interface_removed" , &self.interface_removed) |
1895 | .finish() |
1896 | } |
1897 | } |
1898 | |
1899 | #[derive (Copy, Clone)] |
1900 | #[repr (C)] |
1901 | pub struct GDBusObjectManagerServerClass { |
1902 | pub parent_class: gobject::GObjectClass, |
1903 | pub padding: [gpointer; 8], |
1904 | } |
1905 | |
1906 | impl ::std::fmt::Debug for GDBusObjectManagerServerClass { |
1907 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1908 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectManagerServerClass @ {self:p}" )) |
1909 | .field(name:"parent_class" , &self.parent_class) |
1910 | .finish() |
1911 | } |
1912 | } |
1913 | |
1914 | #[repr (C)] |
1915 | #[allow (dead_code)] |
1916 | pub struct _GDBusObjectManagerServerPrivate { |
1917 | _data: [u8; 0], |
1918 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1919 | } |
1920 | |
1921 | pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate; |
1922 | |
1923 | #[derive (Copy, Clone)] |
1924 | #[repr (C)] |
1925 | pub struct GDBusObjectProxyClass { |
1926 | pub parent_class: gobject::GObjectClass, |
1927 | pub padding: [gpointer; 8], |
1928 | } |
1929 | |
1930 | impl ::std::fmt::Debug for GDBusObjectProxyClass { |
1931 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1932 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectProxyClass @ {self:p}" )) |
1933 | .field(name:"parent_class" , &self.parent_class) |
1934 | .finish() |
1935 | } |
1936 | } |
1937 | |
1938 | #[repr (C)] |
1939 | #[allow (dead_code)] |
1940 | pub struct _GDBusObjectProxyPrivate { |
1941 | _data: [u8; 0], |
1942 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1943 | } |
1944 | |
1945 | pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate; |
1946 | |
1947 | #[derive (Copy, Clone)] |
1948 | #[repr (C)] |
1949 | pub struct GDBusObjectSkeletonClass { |
1950 | pub parent_class: gobject::GObjectClass, |
1951 | pub authorize_method: Option< |
1952 | unsafe extern "C" fn( |
1953 | *mut GDBusObjectSkeleton, |
1954 | *mut GDBusInterfaceSkeleton, |
1955 | *mut GDBusMethodInvocation, |
1956 | ) -> gboolean, |
1957 | >, |
1958 | pub padding: [gpointer; 8], |
1959 | } |
1960 | |
1961 | impl ::std::fmt::Debug for GDBusObjectSkeletonClass { |
1962 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1963 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectSkeletonClass @ {self:p}" )) |
1964 | .field("parent_class" , &self.parent_class) |
1965 | .field(name:"authorize_method" , &self.authorize_method) |
1966 | .finish() |
1967 | } |
1968 | } |
1969 | |
1970 | #[repr (C)] |
1971 | #[allow (dead_code)] |
1972 | pub struct _GDBusObjectSkeletonPrivate { |
1973 | _data: [u8; 0], |
1974 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
1975 | } |
1976 | |
1977 | pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate; |
1978 | |
1979 | #[derive (Copy, Clone)] |
1980 | #[repr (C)] |
1981 | pub struct GDBusPropertyInfo { |
1982 | pub ref_count: c_int, |
1983 | pub name: *mut c_char, |
1984 | pub signature: *mut c_char, |
1985 | pub flags: GDBusPropertyInfoFlags, |
1986 | pub annotations: *mut *mut GDBusAnnotationInfo, |
1987 | } |
1988 | |
1989 | impl ::std::fmt::Debug for GDBusPropertyInfo { |
1990 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
1991 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusPropertyInfo @ {self:p}" )) |
1992 | .field("ref_count" , &self.ref_count) |
1993 | .field("name" , &self.name) |
1994 | .field("signature" , &self.signature) |
1995 | .field("flags" , &self.flags) |
1996 | .field(name:"annotations" , &self.annotations) |
1997 | .finish() |
1998 | } |
1999 | } |
2000 | |
2001 | #[derive (Copy, Clone)] |
2002 | #[repr (C)] |
2003 | pub struct GDBusProxyClass { |
2004 | pub parent_class: gobject::GObjectClass, |
2005 | pub g_properties_changed: |
2006 | Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>, |
2007 | pub g_signal: Option< |
2008 | unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant), |
2009 | >, |
2010 | pub padding: [gpointer; 32], |
2011 | } |
2012 | |
2013 | impl ::std::fmt::Debug for GDBusProxyClass { |
2014 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2015 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusProxyClass @ {self:p}" )) |
2016 | .field("g_properties_changed" , &self.g_properties_changed) |
2017 | .field(name:"g_signal" , &self.g_signal) |
2018 | .finish() |
2019 | } |
2020 | } |
2021 | |
2022 | #[repr (C)] |
2023 | #[allow (dead_code)] |
2024 | pub struct _GDBusProxyPrivate { |
2025 | _data: [u8; 0], |
2026 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2027 | } |
2028 | |
2029 | pub type GDBusProxyPrivate = _GDBusProxyPrivate; |
2030 | |
2031 | #[derive (Copy, Clone)] |
2032 | #[repr (C)] |
2033 | pub struct GDBusSignalInfo { |
2034 | pub ref_count: c_int, |
2035 | pub name: *mut c_char, |
2036 | pub args: *mut *mut GDBusArgInfo, |
2037 | pub annotations: *mut *mut GDBusAnnotationInfo, |
2038 | } |
2039 | |
2040 | impl ::std::fmt::Debug for GDBusSignalInfo { |
2041 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2042 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusSignalInfo @ {self:p}" )) |
2043 | .field("ref_count" , &self.ref_count) |
2044 | .field("name" , &self.name) |
2045 | .field("args" , &self.args) |
2046 | .field(name:"annotations" , &self.annotations) |
2047 | .finish() |
2048 | } |
2049 | } |
2050 | |
2051 | #[derive (Copy, Clone)] |
2052 | #[repr (C)] |
2053 | pub struct GDBusSubtreeVTable { |
2054 | pub enumerate: GDBusSubtreeEnumerateFunc, |
2055 | pub introspect: GDBusSubtreeIntrospectFunc, |
2056 | pub dispatch: GDBusSubtreeDispatchFunc, |
2057 | pub padding: [gpointer; 8], |
2058 | } |
2059 | |
2060 | impl ::std::fmt::Debug for GDBusSubtreeVTable { |
2061 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2062 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDBusSubtreeVTable @ {self:p}" )) |
2063 | .field("enumerate" , &self.enumerate) |
2064 | .field("introspect" , &self.introspect) |
2065 | .field(name:"dispatch" , &self.dispatch) |
2066 | .finish() |
2067 | } |
2068 | } |
2069 | |
2070 | #[derive (Copy, Clone)] |
2071 | #[repr (C)] |
2072 | pub struct GDataInputStreamClass { |
2073 | pub parent_class: GBufferedInputStreamClass, |
2074 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
2075 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
2076 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
2077 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
2078 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
2079 | } |
2080 | |
2081 | impl ::std::fmt::Debug for GDataInputStreamClass { |
2082 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2083 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDataInputStreamClass @ {self:p}" )) |
2084 | .field("parent_class" , &self.parent_class) |
2085 | .field("_g_reserved1" , &self._g_reserved1) |
2086 | .field("_g_reserved2" , &self._g_reserved2) |
2087 | .field("_g_reserved3" , &self._g_reserved3) |
2088 | .field("_g_reserved4" , &self._g_reserved4) |
2089 | .field(name:"_g_reserved5" , &self._g_reserved5) |
2090 | .finish() |
2091 | } |
2092 | } |
2093 | |
2094 | #[repr (C)] |
2095 | #[allow (dead_code)] |
2096 | pub struct _GDataInputStreamPrivate { |
2097 | _data: [u8; 0], |
2098 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2099 | } |
2100 | |
2101 | pub type GDataInputStreamPrivate = _GDataInputStreamPrivate; |
2102 | |
2103 | #[derive (Copy, Clone)] |
2104 | #[repr (C)] |
2105 | pub struct GDataOutputStreamClass { |
2106 | pub parent_class: GFilterOutputStreamClass, |
2107 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
2108 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
2109 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
2110 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
2111 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
2112 | } |
2113 | |
2114 | impl ::std::fmt::Debug for GDataOutputStreamClass { |
2115 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2116 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDataOutputStreamClass @ {self:p}" )) |
2117 | .field("parent_class" , &self.parent_class) |
2118 | .field("_g_reserved1" , &self._g_reserved1) |
2119 | .field("_g_reserved2" , &self._g_reserved2) |
2120 | .field("_g_reserved3" , &self._g_reserved3) |
2121 | .field("_g_reserved4" , &self._g_reserved4) |
2122 | .field(name:"_g_reserved5" , &self._g_reserved5) |
2123 | .finish() |
2124 | } |
2125 | } |
2126 | |
2127 | #[repr (C)] |
2128 | #[allow (dead_code)] |
2129 | pub struct _GDataOutputStreamPrivate { |
2130 | _data: [u8; 0], |
2131 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2132 | } |
2133 | |
2134 | pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate; |
2135 | |
2136 | #[derive (Copy, Clone)] |
2137 | #[repr (C)] |
2138 | pub struct GDatagramBasedInterface { |
2139 | pub g_iface: gobject::GTypeInterface, |
2140 | pub receive_messages: Option< |
2141 | unsafe extern "C" fn( |
2142 | *mut GDatagramBased, |
2143 | *mut GInputMessage, |
2144 | c_uint, |
2145 | c_int, |
2146 | i64, |
2147 | *mut GCancellable, |
2148 | *mut *mut glib::GError, |
2149 | ) -> c_int, |
2150 | >, |
2151 | pub send_messages: Option< |
2152 | unsafe extern "C" fn( |
2153 | *mut GDatagramBased, |
2154 | *mut GOutputMessage, |
2155 | c_uint, |
2156 | c_int, |
2157 | i64, |
2158 | *mut GCancellable, |
2159 | *mut *mut glib::GError, |
2160 | ) -> c_int, |
2161 | >, |
2162 | pub create_source: Option< |
2163 | unsafe extern "C" fn( |
2164 | *mut GDatagramBased, |
2165 | glib::GIOCondition, |
2166 | *mut GCancellable, |
2167 | ) -> *mut glib::GSource, |
2168 | >, |
2169 | pub condition_check: |
2170 | Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>, |
2171 | pub condition_wait: Option< |
2172 | unsafe extern "C" fn( |
2173 | *mut GDatagramBased, |
2174 | glib::GIOCondition, |
2175 | i64, |
2176 | *mut GCancellable, |
2177 | *mut *mut glib::GError, |
2178 | ) -> gboolean, |
2179 | >, |
2180 | } |
2181 | |
2182 | impl ::std::fmt::Debug for GDatagramBasedInterface { |
2183 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2184 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDatagramBasedInterface @ {self:p}" )) |
2185 | .field("g_iface" , &self.g_iface) |
2186 | .field("receive_messages" , &self.receive_messages) |
2187 | .field("send_messages" , &self.send_messages) |
2188 | .field("create_source" , &self.create_source) |
2189 | .field("condition_check" , &self.condition_check) |
2190 | .field(name:"condition_wait" , &self.condition_wait) |
2191 | .finish() |
2192 | } |
2193 | } |
2194 | |
2195 | #[derive (Copy, Clone)] |
2196 | #[repr (C)] |
2197 | pub struct GDebugControllerDBusClass { |
2198 | pub parent_class: gobject::GObjectClass, |
2199 | pub authorize: Option< |
2200 | unsafe extern "C" fn(*mut GDebugControllerDBus, *mut GDBusMethodInvocation) -> gboolean, |
2201 | >, |
2202 | pub padding: [gpointer; 12], |
2203 | } |
2204 | |
2205 | impl ::std::fmt::Debug for GDebugControllerDBusClass { |
2206 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2207 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDebugControllerDBusClass @ {self:p}" )) |
2208 | .field("parent_class" , &self.parent_class) |
2209 | .field("authorize" , &self.authorize) |
2210 | .field(name:"padding" , &self.padding) |
2211 | .finish() |
2212 | } |
2213 | } |
2214 | |
2215 | #[derive (Copy, Clone)] |
2216 | #[repr (C)] |
2217 | pub struct GDebugControllerInterface { |
2218 | pub g_iface: gobject::GTypeInterface, |
2219 | } |
2220 | |
2221 | impl ::std::fmt::Debug for GDebugControllerInterface { |
2222 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2223 | fDebugStruct<'_, '_>.debug_struct(&format!("GDebugControllerInterface @ {self:p}" )) |
2224 | .finish() |
2225 | } |
2226 | } |
2227 | |
2228 | #[derive (Copy, Clone)] |
2229 | #[repr (C)] |
2230 | pub struct GDesktopAppInfoClass { |
2231 | pub parent_class: gobject::GObjectClass, |
2232 | } |
2233 | |
2234 | impl ::std::fmt::Debug for GDesktopAppInfoClass { |
2235 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2236 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDesktopAppInfoClass @ {self:p}" )) |
2237 | .field(name:"parent_class" , &self.parent_class) |
2238 | .finish() |
2239 | } |
2240 | } |
2241 | |
2242 | #[derive (Copy, Clone)] |
2243 | #[repr (C)] |
2244 | pub struct GDesktopAppInfoLookupIface { |
2245 | pub g_iface: gobject::GTypeInterface, |
2246 | pub get_default_for_uri_scheme: |
2247 | Option<unsafe extern "C" fn(*mut GDesktopAppInfoLookup, *const c_char) -> *mut GAppInfo>, |
2248 | } |
2249 | |
2250 | impl ::std::fmt::Debug for GDesktopAppInfoLookupIface { |
2251 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2252 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDesktopAppInfoLookupIface @ {self:p}" )) |
2253 | .field("g_iface" , &self.g_iface) |
2254 | .field( |
2255 | name:"get_default_for_uri_scheme" , |
2256 | &self.get_default_for_uri_scheme, |
2257 | ) |
2258 | .finish() |
2259 | } |
2260 | } |
2261 | |
2262 | #[derive (Copy, Clone)] |
2263 | #[repr (C)] |
2264 | pub struct GDriveIface { |
2265 | pub g_iface: gobject::GTypeInterface, |
2266 | pub changed: Option<unsafe extern "C" fn(*mut GDrive)>, |
2267 | pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>, |
2268 | pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>, |
2269 | pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, |
2270 | pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, |
2271 | pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2272 | pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>, |
2273 | pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2274 | pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2275 | pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2276 | pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2277 | pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2278 | pub eject: Option< |
2279 | unsafe extern "C" fn( |
2280 | *mut GDrive, |
2281 | GMountUnmountFlags, |
2282 | *mut GCancellable, |
2283 | GAsyncReadyCallback, |
2284 | gpointer, |
2285 | ), |
2286 | >, |
2287 | pub eject_finish: Option< |
2288 | unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
2289 | >, |
2290 | pub poll_for_media: |
2291 | Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>, |
2292 | pub poll_for_media_finish: Option< |
2293 | unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
2294 | >, |
2295 | pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>, |
2296 | pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>, |
2297 | pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>, |
2298 | pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2299 | pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2300 | pub start: Option< |
2301 | unsafe extern "C" fn( |
2302 | *mut GDrive, |
2303 | GDriveStartFlags, |
2304 | *mut GMountOperation, |
2305 | *mut GCancellable, |
2306 | GAsyncReadyCallback, |
2307 | gpointer, |
2308 | ), |
2309 | >, |
2310 | pub start_finish: Option< |
2311 | unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
2312 | >, |
2313 | pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2314 | pub stop: Option< |
2315 | unsafe extern "C" fn( |
2316 | *mut GDrive, |
2317 | GMountUnmountFlags, |
2318 | *mut GMountOperation, |
2319 | *mut GCancellable, |
2320 | GAsyncReadyCallback, |
2321 | gpointer, |
2322 | ), |
2323 | >, |
2324 | pub stop_finish: Option< |
2325 | unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
2326 | >, |
2327 | pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>, |
2328 | pub eject_with_operation: Option< |
2329 | unsafe extern "C" fn( |
2330 | *mut GDrive, |
2331 | GMountUnmountFlags, |
2332 | *mut GMountOperation, |
2333 | *mut GCancellable, |
2334 | GAsyncReadyCallback, |
2335 | gpointer, |
2336 | ), |
2337 | >, |
2338 | pub eject_with_operation_finish: Option< |
2339 | unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
2340 | >, |
2341 | pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, |
2342 | pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, |
2343 | pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, |
2344 | } |
2345 | |
2346 | impl ::std::fmt::Debug for GDriveIface { |
2347 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2348 | f.debug_struct(&format!("GDriveIface @ {self:p}" )) |
2349 | .field("g_iface" , &self.g_iface) |
2350 | .field("changed" , &self.changed) |
2351 | .field("disconnected" , &self.disconnected) |
2352 | .field("eject_button" , &self.eject_button) |
2353 | .field("get_name" , &self.get_name) |
2354 | .field("get_icon" , &self.get_icon) |
2355 | .field("has_volumes" , &self.has_volumes) |
2356 | .field("get_volumes" , &self.get_volumes) |
2357 | .field("is_media_removable" , &self.is_media_removable) |
2358 | .field("has_media" , &self.has_media) |
2359 | .field("is_media_check_automatic" , &self.is_media_check_automatic) |
2360 | .field("can_eject" , &self.can_eject) |
2361 | .field("can_poll_for_media" , &self.can_poll_for_media) |
2362 | .field("eject" , &self.eject) |
2363 | .field("eject_finish" , &self.eject_finish) |
2364 | .field("poll_for_media" , &self.poll_for_media) |
2365 | .field("poll_for_media_finish" , &self.poll_for_media_finish) |
2366 | .field("get_identifier" , &self.get_identifier) |
2367 | .field("enumerate_identifiers" , &self.enumerate_identifiers) |
2368 | .field("get_start_stop_type" , &self.get_start_stop_type) |
2369 | .field("can_start" , &self.can_start) |
2370 | .field("can_start_degraded" , &self.can_start_degraded) |
2371 | .field("start" , &self.start) |
2372 | .field("start_finish" , &self.start_finish) |
2373 | .field("can_stop" , &self.can_stop) |
2374 | .field("stop" , &self.stop) |
2375 | .field("stop_finish" , &self.stop_finish) |
2376 | .field("stop_button" , &self.stop_button) |
2377 | .field("eject_with_operation" , &self.eject_with_operation) |
2378 | .field( |
2379 | "eject_with_operation_finish" , |
2380 | &self.eject_with_operation_finish, |
2381 | ) |
2382 | .field("get_sort_key" , &self.get_sort_key) |
2383 | .field("get_symbolic_icon" , &self.get_symbolic_icon) |
2384 | .field("is_removable" , &self.is_removable) |
2385 | .finish() |
2386 | } |
2387 | } |
2388 | |
2389 | #[derive (Copy, Clone)] |
2390 | #[repr (C)] |
2391 | pub struct GDtlsClientConnectionInterface { |
2392 | pub g_iface: gobject::GTypeInterface, |
2393 | } |
2394 | |
2395 | impl ::std::fmt::Debug for GDtlsClientConnectionInterface { |
2396 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2397 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDtlsClientConnectionInterface @ {self:p}" )) |
2398 | .field(name:"g_iface" , &self.g_iface) |
2399 | .finish() |
2400 | } |
2401 | } |
2402 | |
2403 | #[derive (Copy, Clone)] |
2404 | #[repr (C)] |
2405 | pub struct GDtlsConnectionInterface { |
2406 | pub g_iface: gobject::GTypeInterface, |
2407 | pub accept_certificate: Option< |
2408 | unsafe extern "C" fn( |
2409 | *mut GDtlsConnection, |
2410 | *mut GTlsCertificate, |
2411 | GTlsCertificateFlags, |
2412 | ) -> gboolean, |
2413 | >, |
2414 | pub handshake: Option< |
2415 | unsafe extern "C" fn( |
2416 | *mut GDtlsConnection, |
2417 | *mut GCancellable, |
2418 | *mut *mut glib::GError, |
2419 | ) -> gboolean, |
2420 | >, |
2421 | pub handshake_async: Option< |
2422 | unsafe extern "C" fn( |
2423 | *mut GDtlsConnection, |
2424 | c_int, |
2425 | *mut GCancellable, |
2426 | GAsyncReadyCallback, |
2427 | gpointer, |
2428 | ), |
2429 | >, |
2430 | pub handshake_finish: Option< |
2431 | unsafe extern "C" fn( |
2432 | *mut GDtlsConnection, |
2433 | *mut GAsyncResult, |
2434 | *mut *mut glib::GError, |
2435 | ) -> gboolean, |
2436 | >, |
2437 | pub shutdown: Option< |
2438 | unsafe extern "C" fn( |
2439 | *mut GDtlsConnection, |
2440 | gboolean, |
2441 | gboolean, |
2442 | *mut GCancellable, |
2443 | *mut *mut glib::GError, |
2444 | ) -> gboolean, |
2445 | >, |
2446 | pub shutdown_async: Option< |
2447 | unsafe extern "C" fn( |
2448 | *mut GDtlsConnection, |
2449 | gboolean, |
2450 | gboolean, |
2451 | c_int, |
2452 | *mut GCancellable, |
2453 | GAsyncReadyCallback, |
2454 | gpointer, |
2455 | ), |
2456 | >, |
2457 | pub shutdown_finish: Option< |
2458 | unsafe extern "C" fn( |
2459 | *mut GDtlsConnection, |
2460 | *mut GAsyncResult, |
2461 | *mut *mut glib::GError, |
2462 | ) -> gboolean, |
2463 | >, |
2464 | pub set_advertised_protocols: |
2465 | Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>, |
2466 | pub get_negotiated_protocol: |
2467 | Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>, |
2468 | pub get_binding_data: Option< |
2469 | unsafe extern "C" fn( |
2470 | *mut GDtlsConnection, |
2471 | GTlsChannelBindingType, |
2472 | *mut glib::GByteArray, |
2473 | *mut *mut glib::GError, |
2474 | ) -> gboolean, |
2475 | >, |
2476 | } |
2477 | |
2478 | impl ::std::fmt::Debug for GDtlsConnectionInterface { |
2479 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2480 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDtlsConnectionInterface @ {self:p}" )) |
2481 | .field("g_iface" , &self.g_iface) |
2482 | .field("accept_certificate" , &self.accept_certificate) |
2483 | .field("handshake" , &self.handshake) |
2484 | .field("handshake_async" , &self.handshake_async) |
2485 | .field("handshake_finish" , &self.handshake_finish) |
2486 | .field("shutdown" , &self.shutdown) |
2487 | .field("shutdown_async" , &self.shutdown_async) |
2488 | .field("shutdown_finish" , &self.shutdown_finish) |
2489 | .field("set_advertised_protocols" , &self.set_advertised_protocols) |
2490 | .field("get_negotiated_protocol" , &self.get_negotiated_protocol) |
2491 | .field(name:"get_binding_data" , &self.get_binding_data) |
2492 | .finish() |
2493 | } |
2494 | } |
2495 | |
2496 | #[derive (Copy, Clone)] |
2497 | #[repr (C)] |
2498 | pub struct GDtlsServerConnectionInterface { |
2499 | pub g_iface: gobject::GTypeInterface, |
2500 | } |
2501 | |
2502 | impl ::std::fmt::Debug for GDtlsServerConnectionInterface { |
2503 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2504 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDtlsServerConnectionInterface @ {self:p}" )) |
2505 | .field(name:"g_iface" , &self.g_iface) |
2506 | .finish() |
2507 | } |
2508 | } |
2509 | |
2510 | #[repr (C)] |
2511 | #[allow (dead_code)] |
2512 | pub struct _GEmblemClass { |
2513 | _data: [u8; 0], |
2514 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2515 | } |
2516 | |
2517 | pub type GEmblemClass = _GEmblemClass; |
2518 | |
2519 | #[derive (Copy, Clone)] |
2520 | #[repr (C)] |
2521 | pub struct GEmblemedIconClass { |
2522 | pub parent_class: gobject::GObjectClass, |
2523 | } |
2524 | |
2525 | impl ::std::fmt::Debug for GEmblemedIconClass { |
2526 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2527 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GEmblemedIconClass @ {self:p}" )) |
2528 | .field(name:"parent_class" , &self.parent_class) |
2529 | .finish() |
2530 | } |
2531 | } |
2532 | |
2533 | #[repr (C)] |
2534 | #[allow (dead_code)] |
2535 | pub struct _GEmblemedIconPrivate { |
2536 | _data: [u8; 0], |
2537 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2538 | } |
2539 | |
2540 | pub type GEmblemedIconPrivate = _GEmblemedIconPrivate; |
2541 | |
2542 | #[derive (Copy, Clone)] |
2543 | #[repr (C)] |
2544 | pub struct GFileAttributeInfo { |
2545 | pub name: *mut c_char, |
2546 | pub type_: GFileAttributeType, |
2547 | pub flags: GFileAttributeInfoFlags, |
2548 | } |
2549 | |
2550 | impl ::std::fmt::Debug for GFileAttributeInfo { |
2551 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2552 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileAttributeInfo @ {self:p}" )) |
2553 | .field("name" , &self.name) |
2554 | .field("type_" , &self.type_) |
2555 | .field(name:"flags" , &self.flags) |
2556 | .finish() |
2557 | } |
2558 | } |
2559 | |
2560 | #[derive (Copy, Clone)] |
2561 | #[repr (C)] |
2562 | pub struct GFileAttributeInfoList { |
2563 | pub infos: *mut GFileAttributeInfo, |
2564 | pub n_infos: c_int, |
2565 | } |
2566 | |
2567 | impl ::std::fmt::Debug for GFileAttributeInfoList { |
2568 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2569 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileAttributeInfoList @ {self:p}" )) |
2570 | .field("infos" , &self.infos) |
2571 | .field(name:"n_infos" , &self.n_infos) |
2572 | .finish() |
2573 | } |
2574 | } |
2575 | |
2576 | #[repr (C)] |
2577 | #[allow (dead_code)] |
2578 | pub struct GFileAttributeMatcher { |
2579 | _data: [u8; 0], |
2580 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2581 | } |
2582 | |
2583 | impl ::std::fmt::Debug for GFileAttributeMatcher { |
2584 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2585 | fDebugStruct<'_, '_>.debug_struct(&format!("GFileAttributeMatcher @ {self:p}" )) |
2586 | .finish() |
2587 | } |
2588 | } |
2589 | |
2590 | #[derive (Copy, Clone)] |
2591 | #[repr (C)] |
2592 | pub struct GFileDescriptorBasedIface { |
2593 | pub g_iface: gobject::GTypeInterface, |
2594 | pub get_fd: Option<unsafe extern "C" fn(*mut GFileDescriptorBased) -> c_int>, |
2595 | } |
2596 | |
2597 | impl ::std::fmt::Debug for GFileDescriptorBasedIface { |
2598 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2599 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileDescriptorBasedIface @ {self:p}" )) |
2600 | .field("g_iface" , &self.g_iface) |
2601 | .field(name:"get_fd" , &self.get_fd) |
2602 | .finish() |
2603 | } |
2604 | } |
2605 | |
2606 | #[derive (Copy, Clone)] |
2607 | #[repr (C)] |
2608 | pub struct GFileEnumeratorClass { |
2609 | pub parent_class: gobject::GObjectClass, |
2610 | pub next_file: Option< |
2611 | unsafe extern "C" fn( |
2612 | *mut GFileEnumerator, |
2613 | *mut GCancellable, |
2614 | *mut *mut glib::GError, |
2615 | ) -> *mut GFileInfo, |
2616 | >, |
2617 | pub close_fn: Option< |
2618 | unsafe extern "C" fn( |
2619 | *mut GFileEnumerator, |
2620 | *mut GCancellable, |
2621 | *mut *mut glib::GError, |
2622 | ) -> gboolean, |
2623 | >, |
2624 | pub next_files_async: Option< |
2625 | unsafe extern "C" fn( |
2626 | *mut GFileEnumerator, |
2627 | c_int, |
2628 | c_int, |
2629 | *mut GCancellable, |
2630 | GAsyncReadyCallback, |
2631 | gpointer, |
2632 | ), |
2633 | >, |
2634 | pub next_files_finish: Option< |
2635 | unsafe extern "C" fn( |
2636 | *mut GFileEnumerator, |
2637 | *mut GAsyncResult, |
2638 | *mut *mut glib::GError, |
2639 | ) -> *mut glib::GList, |
2640 | >, |
2641 | pub close_async: Option< |
2642 | unsafe extern "C" fn( |
2643 | *mut GFileEnumerator, |
2644 | c_int, |
2645 | *mut GCancellable, |
2646 | GAsyncReadyCallback, |
2647 | gpointer, |
2648 | ), |
2649 | >, |
2650 | pub close_finish: Option< |
2651 | unsafe extern "C" fn( |
2652 | *mut GFileEnumerator, |
2653 | *mut GAsyncResult, |
2654 | *mut *mut glib::GError, |
2655 | ) -> gboolean, |
2656 | >, |
2657 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
2658 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
2659 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
2660 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
2661 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
2662 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
2663 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
2664 | } |
2665 | |
2666 | impl ::std::fmt::Debug for GFileEnumeratorClass { |
2667 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2668 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileEnumeratorClass @ {self:p}" )) |
2669 | .field("parent_class" , &self.parent_class) |
2670 | .field("next_file" , &self.next_file) |
2671 | .field("close_fn" , &self.close_fn) |
2672 | .field("next_files_async" , &self.next_files_async) |
2673 | .field("next_files_finish" , &self.next_files_finish) |
2674 | .field("close_async" , &self.close_async) |
2675 | .field("close_finish" , &self.close_finish) |
2676 | .field("_g_reserved1" , &self._g_reserved1) |
2677 | .field("_g_reserved2" , &self._g_reserved2) |
2678 | .field("_g_reserved3" , &self._g_reserved3) |
2679 | .field("_g_reserved4" , &self._g_reserved4) |
2680 | .field("_g_reserved5" , &self._g_reserved5) |
2681 | .field("_g_reserved6" , &self._g_reserved6) |
2682 | .field(name:"_g_reserved7" , &self._g_reserved7) |
2683 | .finish() |
2684 | } |
2685 | } |
2686 | |
2687 | #[repr (C)] |
2688 | #[allow (dead_code)] |
2689 | pub struct _GFileEnumeratorPrivate { |
2690 | _data: [u8; 0], |
2691 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2692 | } |
2693 | |
2694 | pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate; |
2695 | |
2696 | #[derive (Copy, Clone)] |
2697 | #[repr (C)] |
2698 | pub struct GFileIOStreamClass { |
2699 | pub parent_class: GIOStreamClass, |
2700 | pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>, |
2701 | pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, |
2702 | pub seek: Option< |
2703 | unsafe extern "C" fn( |
2704 | *mut GFileIOStream, |
2705 | i64, |
2706 | glib::GSeekType, |
2707 | *mut GCancellable, |
2708 | *mut *mut glib::GError, |
2709 | ) -> gboolean, |
2710 | >, |
2711 | pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, |
2712 | pub truncate_fn: Option< |
2713 | unsafe extern "C" fn( |
2714 | *mut GFileIOStream, |
2715 | i64, |
2716 | *mut GCancellable, |
2717 | *mut *mut glib::GError, |
2718 | ) -> gboolean, |
2719 | >, |
2720 | pub query_info: Option< |
2721 | unsafe extern "C" fn( |
2722 | *mut GFileIOStream, |
2723 | *const c_char, |
2724 | *mut GCancellable, |
2725 | *mut *mut glib::GError, |
2726 | ) -> *mut GFileInfo, |
2727 | >, |
2728 | pub query_info_async: Option< |
2729 | unsafe extern "C" fn( |
2730 | *mut GFileIOStream, |
2731 | *const c_char, |
2732 | c_int, |
2733 | *mut GCancellable, |
2734 | GAsyncReadyCallback, |
2735 | gpointer, |
2736 | ), |
2737 | >, |
2738 | pub query_info_finish: Option< |
2739 | unsafe extern "C" fn( |
2740 | *mut GFileIOStream, |
2741 | *mut GAsyncResult, |
2742 | *mut *mut glib::GError, |
2743 | ) -> *mut GFileInfo, |
2744 | >, |
2745 | pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>, |
2746 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
2747 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
2748 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
2749 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
2750 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
2751 | } |
2752 | |
2753 | impl ::std::fmt::Debug for GFileIOStreamClass { |
2754 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
2755 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileIOStreamClass @ {self:p}" )) |
2756 | .field("parent_class" , &self.parent_class) |
2757 | .field("tell" , &self.tell) |
2758 | .field("can_seek" , &self.can_seek) |
2759 | .field("seek" , &self.seek) |
2760 | .field("can_truncate" , &self.can_truncate) |
2761 | .field("truncate_fn" , &self.truncate_fn) |
2762 | .field("query_info" , &self.query_info) |
2763 | .field("query_info_async" , &self.query_info_async) |
2764 | .field("query_info_finish" , &self.query_info_finish) |
2765 | .field("get_etag" , &self.get_etag) |
2766 | .field("_g_reserved1" , &self._g_reserved1) |
2767 | .field("_g_reserved2" , &self._g_reserved2) |
2768 | .field("_g_reserved3" , &self._g_reserved3) |
2769 | .field("_g_reserved4" , &self._g_reserved4) |
2770 | .field(name:"_g_reserved5" , &self._g_reserved5) |
2771 | .finish() |
2772 | } |
2773 | } |
2774 | |
2775 | #[repr (C)] |
2776 | #[allow (dead_code)] |
2777 | pub struct _GFileIOStreamPrivate { |
2778 | _data: [u8; 0], |
2779 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2780 | } |
2781 | |
2782 | pub type GFileIOStreamPrivate = _GFileIOStreamPrivate; |
2783 | |
2784 | #[repr (C)] |
2785 | #[allow (dead_code)] |
2786 | pub struct _GFileIconClass { |
2787 | _data: [u8; 0], |
2788 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
2789 | } |
2790 | |
2791 | pub type GFileIconClass = _GFileIconClass; |
2792 | |
2793 | #[derive (Copy, Clone)] |
2794 | #[repr (C)] |
2795 | pub struct GFileIface { |
2796 | pub g_iface: gobject::GTypeInterface, |
2797 | pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, |
2798 | pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>, |
2799 | pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, |
2800 | pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>, |
2801 | pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>, |
2802 | pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, |
2803 | pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, |
2804 | pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, |
2805 | pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, |
2806 | pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, |
2807 | pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, |
2808 | pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, |
2809 | pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>, |
2810 | pub resolve_relative_path: |
2811 | Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>, |
2812 | pub get_child_for_display_name: Option< |
2813 | unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile, |
2814 | >, |
2815 | pub enumerate_children: Option< |
2816 | unsafe extern "C" fn( |
2817 | *mut GFile, |
2818 | *const c_char, |
2819 | GFileQueryInfoFlags, |
2820 | *mut GCancellable, |
2821 | *mut *mut glib::GError, |
2822 | ) -> *mut GFileEnumerator, |
2823 | >, |
2824 | pub enumerate_children_async: Option< |
2825 | unsafe extern "C" fn( |
2826 | *mut GFile, |
2827 | *const c_char, |
2828 | GFileQueryInfoFlags, |
2829 | c_int, |
2830 | *mut GCancellable, |
2831 | GAsyncReadyCallback, |
2832 | gpointer, |
2833 | ), |
2834 | >, |
2835 | pub enumerate_children_finish: Option< |
2836 | unsafe extern "C" fn( |
2837 | *mut GFile, |
2838 | *mut GAsyncResult, |
2839 | *mut *mut glib::GError, |
2840 | ) -> *mut GFileEnumerator, |
2841 | >, |
2842 | pub query_info: Option< |
2843 | unsafe extern "C" fn( |
2844 | *mut GFile, |
2845 | *const c_char, |
2846 | GFileQueryInfoFlags, |
2847 | *mut GCancellable, |
2848 | *mut *mut glib::GError, |
2849 | ) -> *mut GFileInfo, |
2850 | >, |
2851 | pub query_info_async: Option< |
2852 | unsafe extern "C" fn( |
2853 | *mut GFile, |
2854 | *const c_char, |
2855 | GFileQueryInfoFlags, |
2856 | c_int, |
2857 | *mut GCancellable, |
2858 | GAsyncReadyCallback, |
2859 | gpointer, |
2860 | ), |
2861 | >, |
2862 | pub query_info_finish: Option< |
2863 | unsafe extern "C" fn( |
2864 | *mut GFile, |
2865 | *mut GAsyncResult, |
2866 | *mut *mut glib::GError, |
2867 | ) -> *mut GFileInfo, |
2868 | >, |
2869 | pub query_filesystem_info: Option< |
2870 | unsafe extern "C" fn( |
2871 | *mut GFile, |
2872 | *const c_char, |
2873 | *mut GCancellable, |
2874 | *mut *mut glib::GError, |
2875 | ) -> *mut GFileInfo, |
2876 | >, |
2877 | pub query_filesystem_info_async: Option< |
2878 | unsafe extern "C" fn( |
2879 | *mut GFile, |
2880 | *const c_char, |
2881 | c_int, |
2882 | *mut GCancellable, |
2883 | GAsyncReadyCallback, |
2884 | gpointer, |
2885 | ), |
2886 | >, |
2887 | pub query_filesystem_info_finish: Option< |
2888 | unsafe extern "C" fn( |
2889 | *mut GFile, |
2890 | *mut GAsyncResult, |
2891 | *mut *mut glib::GError, |
2892 | ) -> *mut GFileInfo, |
2893 | >, |
2894 | pub find_enclosing_mount: Option< |
2895 | unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount, |
2896 | >, |
2897 | pub find_enclosing_mount_async: Option< |
2898 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
2899 | >, |
2900 | pub find_enclosing_mount_finish: Option< |
2901 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount, |
2902 | >, |
2903 | pub set_display_name: Option< |
2904 | unsafe extern "C" fn( |
2905 | *mut GFile, |
2906 | *const c_char, |
2907 | *mut GCancellable, |
2908 | *mut *mut glib::GError, |
2909 | ) -> *mut GFile, |
2910 | >, |
2911 | pub set_display_name_async: Option< |
2912 | unsafe extern "C" fn( |
2913 | *mut GFile, |
2914 | *const c_char, |
2915 | c_int, |
2916 | *mut GCancellable, |
2917 | GAsyncReadyCallback, |
2918 | gpointer, |
2919 | ), |
2920 | >, |
2921 | pub set_display_name_finish: Option< |
2922 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, |
2923 | >, |
2924 | pub query_settable_attributes: Option< |
2925 | unsafe extern "C" fn( |
2926 | *mut GFile, |
2927 | *mut GCancellable, |
2928 | *mut *mut glib::GError, |
2929 | ) -> *mut GFileAttributeInfoList, |
2930 | >, |
2931 | pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>, |
2932 | pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>, |
2933 | pub query_writable_namespaces: Option< |
2934 | unsafe extern "C" fn( |
2935 | *mut GFile, |
2936 | *mut GCancellable, |
2937 | *mut *mut glib::GError, |
2938 | ) -> *mut GFileAttributeInfoList, |
2939 | >, |
2940 | pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>, |
2941 | pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>, |
2942 | pub set_attribute: Option< |
2943 | unsafe extern "C" fn( |
2944 | *mut GFile, |
2945 | *const c_char, |
2946 | GFileAttributeType, |
2947 | gpointer, |
2948 | GFileQueryInfoFlags, |
2949 | *mut GCancellable, |
2950 | *mut *mut glib::GError, |
2951 | ) -> gboolean, |
2952 | >, |
2953 | pub set_attributes_from_info: Option< |
2954 | unsafe extern "C" fn( |
2955 | *mut GFile, |
2956 | *mut GFileInfo, |
2957 | GFileQueryInfoFlags, |
2958 | *mut GCancellable, |
2959 | *mut *mut glib::GError, |
2960 | ) -> gboolean, |
2961 | >, |
2962 | pub set_attributes_async: Option< |
2963 | unsafe extern "C" fn( |
2964 | *mut GFile, |
2965 | *mut GFileInfo, |
2966 | GFileQueryInfoFlags, |
2967 | c_int, |
2968 | *mut GCancellable, |
2969 | GAsyncReadyCallback, |
2970 | gpointer, |
2971 | ), |
2972 | >, |
2973 | pub set_attributes_finish: Option< |
2974 | unsafe extern "C" fn( |
2975 | *mut GFile, |
2976 | *mut GAsyncResult, |
2977 | *mut *mut GFileInfo, |
2978 | *mut *mut glib::GError, |
2979 | ) -> gboolean, |
2980 | >, |
2981 | pub read_fn: Option< |
2982 | unsafe extern "C" fn( |
2983 | *mut GFile, |
2984 | *mut GCancellable, |
2985 | *mut *mut glib::GError, |
2986 | ) -> *mut GFileInputStream, |
2987 | >, |
2988 | pub read_async: Option< |
2989 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
2990 | >, |
2991 | pub read_finish: Option< |
2992 | unsafe extern "C" fn( |
2993 | *mut GFile, |
2994 | *mut GAsyncResult, |
2995 | *mut *mut glib::GError, |
2996 | ) -> *mut GFileInputStream, |
2997 | >, |
2998 | pub append_to: Option< |
2999 | unsafe extern "C" fn( |
3000 | *mut GFile, |
3001 | GFileCreateFlags, |
3002 | *mut GCancellable, |
3003 | *mut *mut glib::GError, |
3004 | ) -> *mut GFileOutputStream, |
3005 | >, |
3006 | pub append_to_async: Option< |
3007 | unsafe extern "C" fn( |
3008 | *mut GFile, |
3009 | GFileCreateFlags, |
3010 | c_int, |
3011 | *mut GCancellable, |
3012 | GAsyncReadyCallback, |
3013 | gpointer, |
3014 | ), |
3015 | >, |
3016 | pub append_to_finish: Option< |
3017 | unsafe extern "C" fn( |
3018 | *mut GFile, |
3019 | *mut GAsyncResult, |
3020 | *mut *mut glib::GError, |
3021 | ) -> *mut GFileOutputStream, |
3022 | >, |
3023 | pub create: Option< |
3024 | unsafe extern "C" fn( |
3025 | *mut GFile, |
3026 | GFileCreateFlags, |
3027 | *mut GCancellable, |
3028 | *mut *mut glib::GError, |
3029 | ) -> *mut GFileOutputStream, |
3030 | >, |
3031 | pub create_async: Option< |
3032 | unsafe extern "C" fn( |
3033 | *mut GFile, |
3034 | GFileCreateFlags, |
3035 | c_int, |
3036 | *mut GCancellable, |
3037 | GAsyncReadyCallback, |
3038 | gpointer, |
3039 | ), |
3040 | >, |
3041 | pub create_finish: Option< |
3042 | unsafe extern "C" fn( |
3043 | *mut GFile, |
3044 | *mut GAsyncResult, |
3045 | *mut *mut glib::GError, |
3046 | ) -> *mut GFileOutputStream, |
3047 | >, |
3048 | pub replace: Option< |
3049 | unsafe extern "C" fn( |
3050 | *mut GFile, |
3051 | *const c_char, |
3052 | gboolean, |
3053 | GFileCreateFlags, |
3054 | *mut GCancellable, |
3055 | *mut *mut glib::GError, |
3056 | ) -> *mut GFileOutputStream, |
3057 | >, |
3058 | pub replace_async: Option< |
3059 | unsafe extern "C" fn( |
3060 | *mut GFile, |
3061 | *const c_char, |
3062 | gboolean, |
3063 | GFileCreateFlags, |
3064 | c_int, |
3065 | *mut GCancellable, |
3066 | GAsyncReadyCallback, |
3067 | gpointer, |
3068 | ), |
3069 | >, |
3070 | pub replace_finish: Option< |
3071 | unsafe extern "C" fn( |
3072 | *mut GFile, |
3073 | *mut GAsyncResult, |
3074 | *mut *mut glib::GError, |
3075 | ) -> *mut GFileOutputStream, |
3076 | >, |
3077 | pub delete_file: Option< |
3078 | unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, |
3079 | >, |
3080 | pub delete_file_async: Option< |
3081 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
3082 | >, |
3083 | pub delete_file_finish: Option< |
3084 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3085 | >, |
3086 | pub trash: Option< |
3087 | unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, |
3088 | >, |
3089 | pub trash_async: Option< |
3090 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
3091 | >, |
3092 | pub trash_finish: Option< |
3093 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3094 | >, |
3095 | pub make_directory: Option< |
3096 | unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, |
3097 | >, |
3098 | pub make_directory_async: Option< |
3099 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
3100 | >, |
3101 | pub make_directory_finish: Option< |
3102 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3103 | >, |
3104 | pub make_symbolic_link: Option< |
3105 | unsafe extern "C" fn( |
3106 | *mut GFile, |
3107 | *const c_char, |
3108 | *mut GCancellable, |
3109 | *mut *mut glib::GError, |
3110 | ) -> gboolean, |
3111 | >, |
3112 | pub make_symbolic_link_async: Option< |
3113 | unsafe extern "C" fn( |
3114 | *mut GFile, |
3115 | *const c_char, |
3116 | c_int, |
3117 | *mut GCancellable, |
3118 | GAsyncReadyCallback, |
3119 | gpointer, |
3120 | ), |
3121 | >, |
3122 | pub make_symbolic_link_finish: Option< |
3123 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3124 | >, |
3125 | pub copy: Option< |
3126 | unsafe extern "C" fn( |
3127 | *mut GFile, |
3128 | *mut GFile, |
3129 | GFileCopyFlags, |
3130 | *mut GCancellable, |
3131 | GFileProgressCallback, |
3132 | gpointer, |
3133 | *mut *mut glib::GError, |
3134 | ) -> gboolean, |
3135 | >, |
3136 | pub copy_async: Option< |
3137 | unsafe extern "C" fn( |
3138 | *mut GFile, |
3139 | *mut GFile, |
3140 | GFileCopyFlags, |
3141 | c_int, |
3142 | *mut GCancellable, |
3143 | GFileProgressCallback, |
3144 | gpointer, |
3145 | GAsyncReadyCallback, |
3146 | gpointer, |
3147 | ), |
3148 | >, |
3149 | pub copy_finish: Option< |
3150 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3151 | >, |
3152 | pub move_: Option< |
3153 | unsafe extern "C" fn( |
3154 | *mut GFile, |
3155 | *mut GFile, |
3156 | GFileCopyFlags, |
3157 | *mut GCancellable, |
3158 | GFileProgressCallback, |
3159 | gpointer, |
3160 | *mut *mut glib::GError, |
3161 | ) -> gboolean, |
3162 | >, |
3163 | pub move_async: Option< |
3164 | unsafe extern "C" fn( |
3165 | *mut GFile, |
3166 | *mut GFile, |
3167 | GFileCopyFlags, |
3168 | c_int, |
3169 | *mut GCancellable, |
3170 | GFileProgressCallback, |
3171 | gpointer, |
3172 | GAsyncReadyCallback, |
3173 | gpointer, |
3174 | ), |
3175 | >, |
3176 | pub move_finish: Option< |
3177 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3178 | >, |
3179 | pub mount_mountable: Option< |
3180 | unsafe extern "C" fn( |
3181 | *mut GFile, |
3182 | GMountMountFlags, |
3183 | *mut GMountOperation, |
3184 | *mut GCancellable, |
3185 | GAsyncReadyCallback, |
3186 | gpointer, |
3187 | ), |
3188 | >, |
3189 | pub mount_mountable_finish: Option< |
3190 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, |
3191 | >, |
3192 | pub unmount_mountable: Option< |
3193 | unsafe extern "C" fn( |
3194 | *mut GFile, |
3195 | GMountUnmountFlags, |
3196 | *mut GCancellable, |
3197 | GAsyncReadyCallback, |
3198 | gpointer, |
3199 | ), |
3200 | >, |
3201 | pub unmount_mountable_finish: Option< |
3202 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3203 | >, |
3204 | pub eject_mountable: Option< |
3205 | unsafe extern "C" fn( |
3206 | *mut GFile, |
3207 | GMountUnmountFlags, |
3208 | *mut GCancellable, |
3209 | GAsyncReadyCallback, |
3210 | gpointer, |
3211 | ), |
3212 | >, |
3213 | pub eject_mountable_finish: Option< |
3214 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3215 | >, |
3216 | pub mount_enclosing_volume: Option< |
3217 | unsafe extern "C" fn( |
3218 | *mut GFile, |
3219 | GMountMountFlags, |
3220 | *mut GMountOperation, |
3221 | *mut GCancellable, |
3222 | GAsyncReadyCallback, |
3223 | gpointer, |
3224 | ), |
3225 | >, |
3226 | pub mount_enclosing_volume_finish: Option< |
3227 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3228 | >, |
3229 | pub monitor_dir: Option< |
3230 | unsafe extern "C" fn( |
3231 | *mut GFile, |
3232 | GFileMonitorFlags, |
3233 | *mut GCancellable, |
3234 | *mut *mut glib::GError, |
3235 | ) -> *mut GFileMonitor, |
3236 | >, |
3237 | pub monitor_file: Option< |
3238 | unsafe extern "C" fn( |
3239 | *mut GFile, |
3240 | GFileMonitorFlags, |
3241 | *mut GCancellable, |
3242 | *mut *mut glib::GError, |
3243 | ) -> *mut GFileMonitor, |
3244 | >, |
3245 | pub open_readwrite: Option< |
3246 | unsafe extern "C" fn( |
3247 | *mut GFile, |
3248 | *mut GCancellable, |
3249 | *mut *mut glib::GError, |
3250 | ) -> *mut GFileIOStream, |
3251 | >, |
3252 | pub open_readwrite_async: Option< |
3253 | unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), |
3254 | >, |
3255 | pub open_readwrite_finish: Option< |
3256 | unsafe extern "C" fn( |
3257 | *mut GFile, |
3258 | *mut GAsyncResult, |
3259 | *mut *mut glib::GError, |
3260 | ) -> *mut GFileIOStream, |
3261 | >, |
3262 | pub create_readwrite: Option< |
3263 | unsafe extern "C" fn( |
3264 | *mut GFile, |
3265 | GFileCreateFlags, |
3266 | *mut GCancellable, |
3267 | *mut *mut glib::GError, |
3268 | ) -> *mut GFileIOStream, |
3269 | >, |
3270 | pub create_readwrite_async: Option< |
3271 | unsafe extern "C" fn( |
3272 | *mut GFile, |
3273 | GFileCreateFlags, |
3274 | c_int, |
3275 | *mut GCancellable, |
3276 | GAsyncReadyCallback, |
3277 | gpointer, |
3278 | ), |
3279 | >, |
3280 | pub create_readwrite_finish: Option< |
3281 | unsafe extern "C" fn( |
3282 | *mut GFile, |
3283 | *mut GAsyncResult, |
3284 | *mut *mut glib::GError, |
3285 | ) -> *mut GFileIOStream, |
3286 | >, |
3287 | pub replace_readwrite: Option< |
3288 | unsafe extern "C" fn( |
3289 | *mut GFile, |
3290 | *const c_char, |
3291 | gboolean, |
3292 | GFileCreateFlags, |
3293 | *mut GCancellable, |
3294 | *mut *mut glib::GError, |
3295 | ) -> *mut GFileIOStream, |
3296 | >, |
3297 | pub replace_readwrite_async: Option< |
3298 | unsafe extern "C" fn( |
3299 | *mut GFile, |
3300 | *const c_char, |
3301 | gboolean, |
3302 | GFileCreateFlags, |
3303 | c_int, |
3304 | *mut GCancellable, |
3305 | GAsyncReadyCallback, |
3306 | gpointer, |
3307 | ), |
3308 | >, |
3309 | pub replace_readwrite_finish: Option< |
3310 | unsafe extern "C" fn( |
3311 | *mut GFile, |
3312 | *mut GAsyncResult, |
3313 | *mut *mut glib::GError, |
3314 | ) -> *mut GFileIOStream, |
3315 | >, |
3316 | pub start_mountable: Option< |
3317 | unsafe extern "C" fn( |
3318 | *mut GFile, |
3319 | GDriveStartFlags, |
3320 | *mut GMountOperation, |
3321 | *mut GCancellable, |
3322 | GAsyncReadyCallback, |
3323 | gpointer, |
3324 | ), |
3325 | >, |
3326 | pub start_mountable_finish: Option< |
3327 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3328 | >, |
3329 | pub stop_mountable: Option< |
3330 | unsafe extern "C" fn( |
3331 | *mut GFile, |
3332 | GMountUnmountFlags, |
3333 | *mut GMountOperation, |
3334 | *mut GCancellable, |
3335 | GAsyncReadyCallback, |
3336 | gpointer, |
3337 | ), |
3338 | >, |
3339 | pub stop_mountable_finish: Option< |
3340 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3341 | >, |
3342 | pub supports_thread_contexts: gboolean, |
3343 | pub unmount_mountable_with_operation: Option< |
3344 | unsafe extern "C" fn( |
3345 | *mut GFile, |
3346 | GMountUnmountFlags, |
3347 | *mut GMountOperation, |
3348 | *mut GCancellable, |
3349 | GAsyncReadyCallback, |
3350 | gpointer, |
3351 | ), |
3352 | >, |
3353 | pub unmount_mountable_with_operation_finish: Option< |
3354 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3355 | >, |
3356 | pub eject_mountable_with_operation: Option< |
3357 | unsafe extern "C" fn( |
3358 | *mut GFile, |
3359 | GMountUnmountFlags, |
3360 | *mut GMountOperation, |
3361 | *mut GCancellable, |
3362 | GAsyncReadyCallback, |
3363 | gpointer, |
3364 | ), |
3365 | >, |
3366 | pub eject_mountable_with_operation_finish: Option< |
3367 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3368 | >, |
3369 | pub poll_mountable: |
3370 | Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>, |
3371 | pub poll_mountable_finish: Option< |
3372 | unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3373 | >, |
3374 | pub measure_disk_usage: Option< |
3375 | unsafe extern "C" fn( |
3376 | *mut GFile, |
3377 | GFileMeasureFlags, |
3378 | *mut GCancellable, |
3379 | GFileMeasureProgressCallback, |
3380 | gpointer, |
3381 | *mut u64, |
3382 | *mut u64, |
3383 | *mut u64, |
3384 | *mut *mut glib::GError, |
3385 | ) -> gboolean, |
3386 | >, |
3387 | pub measure_disk_usage_async: Option< |
3388 | unsafe extern "C" fn( |
3389 | *mut GFile, |
3390 | GFileMeasureFlags, |
3391 | c_int, |
3392 | *mut GCancellable, |
3393 | GFileMeasureProgressCallback, |
3394 | gpointer, |
3395 | GAsyncReadyCallback, |
3396 | gpointer, |
3397 | ), |
3398 | >, |
3399 | pub measure_disk_usage_finish: Option< |
3400 | unsafe extern "C" fn( |
3401 | *mut GFile, |
3402 | *mut GAsyncResult, |
3403 | *mut u64, |
3404 | *mut u64, |
3405 | *mut u64, |
3406 | *mut *mut glib::GError, |
3407 | ) -> gboolean, |
3408 | >, |
3409 | pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>, |
3410 | } |
3411 | |
3412 | impl ::std::fmt::Debug for GFileIface { |
3413 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3414 | f.debug_struct(&format!("GFileIface @ {self:p}" )) |
3415 | .field("g_iface" , &self.g_iface) |
3416 | .field("dup" , &self.dup) |
3417 | .field("hash" , &self.hash) |
3418 | .field("equal" , &self.equal) |
3419 | .field("is_native" , &self.is_native) |
3420 | .field("has_uri_scheme" , &self.has_uri_scheme) |
3421 | .field("get_uri_scheme" , &self.get_uri_scheme) |
3422 | .field("get_basename" , &self.get_basename) |
3423 | .field("get_path" , &self.get_path) |
3424 | .field("get_uri" , &self.get_uri) |
3425 | .field("get_parse_name" , &self.get_parse_name) |
3426 | .field("get_parent" , &self.get_parent) |
3427 | .field("prefix_matches" , &self.prefix_matches) |
3428 | .field("get_relative_path" , &self.get_relative_path) |
3429 | .field("resolve_relative_path" , &self.resolve_relative_path) |
3430 | .field( |
3431 | "get_child_for_display_name" , |
3432 | &self.get_child_for_display_name, |
3433 | ) |
3434 | .field("enumerate_children" , &self.enumerate_children) |
3435 | .field("enumerate_children_async" , &self.enumerate_children_async) |
3436 | .field("enumerate_children_finish" , &self.enumerate_children_finish) |
3437 | .field("query_info" , &self.query_info) |
3438 | .field("query_info_async" , &self.query_info_async) |
3439 | .field("query_info_finish" , &self.query_info_finish) |
3440 | .field("query_filesystem_info" , &self.query_filesystem_info) |
3441 | .field( |
3442 | "query_filesystem_info_async" , |
3443 | &self.query_filesystem_info_async, |
3444 | ) |
3445 | .field( |
3446 | "query_filesystem_info_finish" , |
3447 | &self.query_filesystem_info_finish, |
3448 | ) |
3449 | .field("find_enclosing_mount" , &self.find_enclosing_mount) |
3450 | .field( |
3451 | "find_enclosing_mount_async" , |
3452 | &self.find_enclosing_mount_async, |
3453 | ) |
3454 | .field( |
3455 | "find_enclosing_mount_finish" , |
3456 | &self.find_enclosing_mount_finish, |
3457 | ) |
3458 | .field("set_display_name" , &self.set_display_name) |
3459 | .field("set_display_name_async" , &self.set_display_name_async) |
3460 | .field("set_display_name_finish" , &self.set_display_name_finish) |
3461 | .field("query_settable_attributes" , &self.query_settable_attributes) |
3462 | .field( |
3463 | "_query_settable_attributes_async" , |
3464 | &self._query_settable_attributes_async, |
3465 | ) |
3466 | .field( |
3467 | "_query_settable_attributes_finish" , |
3468 | &self._query_settable_attributes_finish, |
3469 | ) |
3470 | .field("query_writable_namespaces" , &self.query_writable_namespaces) |
3471 | .field( |
3472 | "_query_writable_namespaces_async" , |
3473 | &self._query_writable_namespaces_async, |
3474 | ) |
3475 | .field( |
3476 | "_query_writable_namespaces_finish" , |
3477 | &self._query_writable_namespaces_finish, |
3478 | ) |
3479 | .field("set_attribute" , &self.set_attribute) |
3480 | .field("set_attributes_from_info" , &self.set_attributes_from_info) |
3481 | .field("set_attributes_async" , &self.set_attributes_async) |
3482 | .field("set_attributes_finish" , &self.set_attributes_finish) |
3483 | .field("read_fn" , &self.read_fn) |
3484 | .field("read_async" , &self.read_async) |
3485 | .field("read_finish" , &self.read_finish) |
3486 | .field("append_to" , &self.append_to) |
3487 | .field("append_to_async" , &self.append_to_async) |
3488 | .field("append_to_finish" , &self.append_to_finish) |
3489 | .field("create" , &self.create) |
3490 | .field("create_async" , &self.create_async) |
3491 | .field("create_finish" , &self.create_finish) |
3492 | .field("replace" , &self.replace) |
3493 | .field("replace_async" , &self.replace_async) |
3494 | .field("replace_finish" , &self.replace_finish) |
3495 | .field("delete_file" , &self.delete_file) |
3496 | .field("delete_file_async" , &self.delete_file_async) |
3497 | .field("delete_file_finish" , &self.delete_file_finish) |
3498 | .field("trash" , &self.trash) |
3499 | .field("trash_async" , &self.trash_async) |
3500 | .field("trash_finish" , &self.trash_finish) |
3501 | .field("make_directory" , &self.make_directory) |
3502 | .field("make_directory_async" , &self.make_directory_async) |
3503 | .field("make_directory_finish" , &self.make_directory_finish) |
3504 | .field("make_symbolic_link" , &self.make_symbolic_link) |
3505 | .field("make_symbolic_link_async" , &self.make_symbolic_link_async) |
3506 | .field("make_symbolic_link_finish" , &self.make_symbolic_link_finish) |
3507 | .field("copy" , &self.copy) |
3508 | .field("copy_async" , &self.copy_async) |
3509 | .field("copy_finish" , &self.copy_finish) |
3510 | .field("move_" , &self.move_) |
3511 | .field("move_async" , &self.move_async) |
3512 | .field("move_finish" , &self.move_finish) |
3513 | .field("mount_mountable" , &self.mount_mountable) |
3514 | .field("mount_mountable_finish" , &self.mount_mountable_finish) |
3515 | .field("unmount_mountable" , &self.unmount_mountable) |
3516 | .field("unmount_mountable_finish" , &self.unmount_mountable_finish) |
3517 | .field("eject_mountable" , &self.eject_mountable) |
3518 | .field("eject_mountable_finish" , &self.eject_mountable_finish) |
3519 | .field("mount_enclosing_volume" , &self.mount_enclosing_volume) |
3520 | .field( |
3521 | "mount_enclosing_volume_finish" , |
3522 | &self.mount_enclosing_volume_finish, |
3523 | ) |
3524 | .field("monitor_dir" , &self.monitor_dir) |
3525 | .field("monitor_file" , &self.monitor_file) |
3526 | .field("open_readwrite" , &self.open_readwrite) |
3527 | .field("open_readwrite_async" , &self.open_readwrite_async) |
3528 | .field("open_readwrite_finish" , &self.open_readwrite_finish) |
3529 | .field("create_readwrite" , &self.create_readwrite) |
3530 | .field("create_readwrite_async" , &self.create_readwrite_async) |
3531 | .field("create_readwrite_finish" , &self.create_readwrite_finish) |
3532 | .field("replace_readwrite" , &self.replace_readwrite) |
3533 | .field("replace_readwrite_async" , &self.replace_readwrite_async) |
3534 | .field("replace_readwrite_finish" , &self.replace_readwrite_finish) |
3535 | .field("start_mountable" , &self.start_mountable) |
3536 | .field("start_mountable_finish" , &self.start_mountable_finish) |
3537 | .field("stop_mountable" , &self.stop_mountable) |
3538 | .field("stop_mountable_finish" , &self.stop_mountable_finish) |
3539 | .field("supports_thread_contexts" , &self.supports_thread_contexts) |
3540 | .field( |
3541 | "unmount_mountable_with_operation" , |
3542 | &self.unmount_mountable_with_operation, |
3543 | ) |
3544 | .field( |
3545 | "unmount_mountable_with_operation_finish" , |
3546 | &self.unmount_mountable_with_operation_finish, |
3547 | ) |
3548 | .field( |
3549 | "eject_mountable_with_operation" , |
3550 | &self.eject_mountable_with_operation, |
3551 | ) |
3552 | .field( |
3553 | "eject_mountable_with_operation_finish" , |
3554 | &self.eject_mountable_with_operation_finish, |
3555 | ) |
3556 | .field("poll_mountable" , &self.poll_mountable) |
3557 | .field("poll_mountable_finish" , &self.poll_mountable_finish) |
3558 | .field("measure_disk_usage" , &self.measure_disk_usage) |
3559 | .field("measure_disk_usage_async" , &self.measure_disk_usage_async) |
3560 | .field("measure_disk_usage_finish" , &self.measure_disk_usage_finish) |
3561 | .field("query_exists" , &self.query_exists) |
3562 | .finish() |
3563 | } |
3564 | } |
3565 | |
3566 | #[repr (C)] |
3567 | #[allow (dead_code)] |
3568 | pub struct _GFileInfoClass { |
3569 | _data: [u8; 0], |
3570 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3571 | } |
3572 | |
3573 | pub type GFileInfoClass = _GFileInfoClass; |
3574 | |
3575 | #[derive (Copy, Clone)] |
3576 | #[repr (C)] |
3577 | pub struct GFileInputStreamClass { |
3578 | pub parent_class: GInputStreamClass, |
3579 | pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>, |
3580 | pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>, |
3581 | pub seek: Option< |
3582 | unsafe extern "C" fn( |
3583 | *mut GFileInputStream, |
3584 | i64, |
3585 | glib::GSeekType, |
3586 | *mut GCancellable, |
3587 | *mut *mut glib::GError, |
3588 | ) -> gboolean, |
3589 | >, |
3590 | pub query_info: Option< |
3591 | unsafe extern "C" fn( |
3592 | *mut GFileInputStream, |
3593 | *const c_char, |
3594 | *mut GCancellable, |
3595 | *mut *mut glib::GError, |
3596 | ) -> *mut GFileInfo, |
3597 | >, |
3598 | pub query_info_async: Option< |
3599 | unsafe extern "C" fn( |
3600 | *mut GFileInputStream, |
3601 | *const c_char, |
3602 | c_int, |
3603 | *mut GCancellable, |
3604 | GAsyncReadyCallback, |
3605 | gpointer, |
3606 | ), |
3607 | >, |
3608 | pub query_info_finish: Option< |
3609 | unsafe extern "C" fn( |
3610 | *mut GFileInputStream, |
3611 | *mut GAsyncResult, |
3612 | *mut *mut glib::GError, |
3613 | ) -> *mut GFileInfo, |
3614 | >, |
3615 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3616 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3617 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3618 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
3619 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
3620 | } |
3621 | |
3622 | impl ::std::fmt::Debug for GFileInputStreamClass { |
3623 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3624 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileInputStreamClass @ {self:p}" )) |
3625 | .field("parent_class" , &self.parent_class) |
3626 | .field("tell" , &self.tell) |
3627 | .field("can_seek" , &self.can_seek) |
3628 | .field("seek" , &self.seek) |
3629 | .field("query_info" , &self.query_info) |
3630 | .field("query_info_async" , &self.query_info_async) |
3631 | .field("query_info_finish" , &self.query_info_finish) |
3632 | .field("_g_reserved1" , &self._g_reserved1) |
3633 | .field("_g_reserved2" , &self._g_reserved2) |
3634 | .field("_g_reserved3" , &self._g_reserved3) |
3635 | .field("_g_reserved4" , &self._g_reserved4) |
3636 | .field(name:"_g_reserved5" , &self._g_reserved5) |
3637 | .finish() |
3638 | } |
3639 | } |
3640 | |
3641 | #[repr (C)] |
3642 | #[allow (dead_code)] |
3643 | pub struct _GFileInputStreamPrivate { |
3644 | _data: [u8; 0], |
3645 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3646 | } |
3647 | |
3648 | pub type GFileInputStreamPrivate = _GFileInputStreamPrivate; |
3649 | |
3650 | #[derive (Copy, Clone)] |
3651 | #[repr (C)] |
3652 | pub struct GFileMonitorClass { |
3653 | pub parent_class: gobject::GObjectClass, |
3654 | pub changed: |
3655 | Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>, |
3656 | pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>, |
3657 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3658 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3659 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3660 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
3661 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
3662 | } |
3663 | |
3664 | impl ::std::fmt::Debug for GFileMonitorClass { |
3665 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3666 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileMonitorClass @ {self:p}" )) |
3667 | .field("parent_class" , &self.parent_class) |
3668 | .field("changed" , &self.changed) |
3669 | .field("cancel" , &self.cancel) |
3670 | .field("_g_reserved1" , &self._g_reserved1) |
3671 | .field("_g_reserved2" , &self._g_reserved2) |
3672 | .field("_g_reserved3" , &self._g_reserved3) |
3673 | .field("_g_reserved4" , &self._g_reserved4) |
3674 | .field(name:"_g_reserved5" , &self._g_reserved5) |
3675 | .finish() |
3676 | } |
3677 | } |
3678 | |
3679 | #[repr (C)] |
3680 | #[allow (dead_code)] |
3681 | pub struct _GFileMonitorPrivate { |
3682 | _data: [u8; 0], |
3683 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3684 | } |
3685 | |
3686 | pub type GFileMonitorPrivate = _GFileMonitorPrivate; |
3687 | |
3688 | #[derive (Copy, Clone)] |
3689 | #[repr (C)] |
3690 | pub struct GFileOutputStreamClass { |
3691 | pub parent_class: GOutputStreamClass, |
3692 | pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>, |
3693 | pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, |
3694 | pub seek: Option< |
3695 | unsafe extern "C" fn( |
3696 | *mut GFileOutputStream, |
3697 | i64, |
3698 | glib::GSeekType, |
3699 | *mut GCancellable, |
3700 | *mut *mut glib::GError, |
3701 | ) -> gboolean, |
3702 | >, |
3703 | pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, |
3704 | pub truncate_fn: Option< |
3705 | unsafe extern "C" fn( |
3706 | *mut GFileOutputStream, |
3707 | i64, |
3708 | *mut GCancellable, |
3709 | *mut *mut glib::GError, |
3710 | ) -> gboolean, |
3711 | >, |
3712 | pub query_info: Option< |
3713 | unsafe extern "C" fn( |
3714 | *mut GFileOutputStream, |
3715 | *const c_char, |
3716 | *mut GCancellable, |
3717 | *mut *mut glib::GError, |
3718 | ) -> *mut GFileInfo, |
3719 | >, |
3720 | pub query_info_async: Option< |
3721 | unsafe extern "C" fn( |
3722 | *mut GFileOutputStream, |
3723 | *const c_char, |
3724 | c_int, |
3725 | *mut GCancellable, |
3726 | GAsyncReadyCallback, |
3727 | gpointer, |
3728 | ), |
3729 | >, |
3730 | pub query_info_finish: Option< |
3731 | unsafe extern "C" fn( |
3732 | *mut GFileOutputStream, |
3733 | *mut GAsyncResult, |
3734 | *mut *mut glib::GError, |
3735 | ) -> *mut GFileInfo, |
3736 | >, |
3737 | pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>, |
3738 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3739 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3740 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3741 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
3742 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
3743 | } |
3744 | |
3745 | impl ::std::fmt::Debug for GFileOutputStreamClass { |
3746 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3747 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileOutputStreamClass @ {self:p}" )) |
3748 | .field("parent_class" , &self.parent_class) |
3749 | .field("tell" , &self.tell) |
3750 | .field("can_seek" , &self.can_seek) |
3751 | .field("seek" , &self.seek) |
3752 | .field("can_truncate" , &self.can_truncate) |
3753 | .field("truncate_fn" , &self.truncate_fn) |
3754 | .field("query_info" , &self.query_info) |
3755 | .field("query_info_async" , &self.query_info_async) |
3756 | .field("query_info_finish" , &self.query_info_finish) |
3757 | .field("get_etag" , &self.get_etag) |
3758 | .field("_g_reserved1" , &self._g_reserved1) |
3759 | .field("_g_reserved2" , &self._g_reserved2) |
3760 | .field("_g_reserved3" , &self._g_reserved3) |
3761 | .field("_g_reserved4" , &self._g_reserved4) |
3762 | .field(name:"_g_reserved5" , &self._g_reserved5) |
3763 | .finish() |
3764 | } |
3765 | } |
3766 | |
3767 | #[repr (C)] |
3768 | #[allow (dead_code)] |
3769 | pub struct _GFileOutputStreamPrivate { |
3770 | _data: [u8; 0], |
3771 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3772 | } |
3773 | |
3774 | pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate; |
3775 | |
3776 | #[derive (Copy, Clone)] |
3777 | #[repr (C)] |
3778 | pub struct GFilenameCompleterClass { |
3779 | pub parent_class: gobject::GObjectClass, |
3780 | pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>, |
3781 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3782 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3783 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3784 | } |
3785 | |
3786 | impl ::std::fmt::Debug for GFilenameCompleterClass { |
3787 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3788 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFilenameCompleterClass @ {self:p}" )) |
3789 | .field("parent_class" , &self.parent_class) |
3790 | .field("got_completion_data" , &self.got_completion_data) |
3791 | .field("_g_reserved1" , &self._g_reserved1) |
3792 | .field("_g_reserved2" , &self._g_reserved2) |
3793 | .field(name:"_g_reserved3" , &self._g_reserved3) |
3794 | .finish() |
3795 | } |
3796 | } |
3797 | |
3798 | #[derive (Copy, Clone)] |
3799 | #[repr (C)] |
3800 | pub struct GFilterInputStreamClass { |
3801 | pub parent_class: GInputStreamClass, |
3802 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3803 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3804 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3805 | } |
3806 | |
3807 | impl ::std::fmt::Debug for GFilterInputStreamClass { |
3808 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3809 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFilterInputStreamClass @ {self:p}" )) |
3810 | .field("parent_class" , &self.parent_class) |
3811 | .field("_g_reserved1" , &self._g_reserved1) |
3812 | .field("_g_reserved2" , &self._g_reserved2) |
3813 | .field(name:"_g_reserved3" , &self._g_reserved3) |
3814 | .finish() |
3815 | } |
3816 | } |
3817 | |
3818 | #[derive (Copy, Clone)] |
3819 | #[repr (C)] |
3820 | pub struct GFilterOutputStreamClass { |
3821 | pub parent_class: GOutputStreamClass, |
3822 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3823 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3824 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3825 | } |
3826 | |
3827 | impl ::std::fmt::Debug for GFilterOutputStreamClass { |
3828 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3829 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFilterOutputStreamClass @ {self:p}" )) |
3830 | .field("parent_class" , &self.parent_class) |
3831 | .field("_g_reserved1" , &self._g_reserved1) |
3832 | .field("_g_reserved2" , &self._g_reserved2) |
3833 | .field(name:"_g_reserved3" , &self._g_reserved3) |
3834 | .finish() |
3835 | } |
3836 | } |
3837 | |
3838 | #[repr (C)] |
3839 | #[allow (dead_code)] |
3840 | pub struct _GIOExtension { |
3841 | _data: [u8; 0], |
3842 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3843 | } |
3844 | |
3845 | pub type GIOExtension = _GIOExtension; |
3846 | |
3847 | #[repr (C)] |
3848 | #[allow (dead_code)] |
3849 | pub struct _GIOExtensionPoint { |
3850 | _data: [u8; 0], |
3851 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3852 | } |
3853 | |
3854 | pub type GIOExtensionPoint = _GIOExtensionPoint; |
3855 | |
3856 | #[repr (C)] |
3857 | #[allow (dead_code)] |
3858 | pub struct _GIOModuleClass { |
3859 | _data: [u8; 0], |
3860 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3861 | } |
3862 | |
3863 | pub type GIOModuleClass = _GIOModuleClass; |
3864 | |
3865 | #[repr (C)] |
3866 | #[allow (dead_code)] |
3867 | pub struct _GIOModuleScope { |
3868 | _data: [u8; 0], |
3869 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3870 | } |
3871 | |
3872 | pub type GIOModuleScope = _GIOModuleScope; |
3873 | |
3874 | #[repr (C)] |
3875 | #[allow (dead_code)] |
3876 | pub struct _GIOSchedulerJob { |
3877 | _data: [u8; 0], |
3878 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3879 | } |
3880 | |
3881 | pub type GIOSchedulerJob = _GIOSchedulerJob; |
3882 | |
3883 | #[repr (C)] |
3884 | #[allow (dead_code)] |
3885 | pub struct _GIOStreamAdapter { |
3886 | _data: [u8; 0], |
3887 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3888 | } |
3889 | |
3890 | pub type GIOStreamAdapter = _GIOStreamAdapter; |
3891 | |
3892 | #[derive (Copy, Clone)] |
3893 | #[repr (C)] |
3894 | pub struct GIOStreamClass { |
3895 | pub parent_class: gobject::GObjectClass, |
3896 | pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>, |
3897 | pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>, |
3898 | pub close_fn: Option< |
3899 | unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean, |
3900 | >, |
3901 | pub close_async: Option< |
3902 | unsafe extern "C" fn( |
3903 | *mut GIOStream, |
3904 | c_int, |
3905 | *mut GCancellable, |
3906 | GAsyncReadyCallback, |
3907 | gpointer, |
3908 | ), |
3909 | >, |
3910 | pub close_finish: Option< |
3911 | unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
3912 | >, |
3913 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
3914 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
3915 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
3916 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
3917 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
3918 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
3919 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
3920 | pub _g_reserved8: Option<unsafe extern "C" fn()>, |
3921 | pub _g_reserved9: Option<unsafe extern "C" fn()>, |
3922 | pub _g_reserved10: Option<unsafe extern "C" fn()>, |
3923 | } |
3924 | |
3925 | impl ::std::fmt::Debug for GIOStreamClass { |
3926 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3927 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GIOStreamClass @ {self:p}" )) |
3928 | .field("parent_class" , &self.parent_class) |
3929 | .field("get_input_stream" , &self.get_input_stream) |
3930 | .field("get_output_stream" , &self.get_output_stream) |
3931 | .field("close_fn" , &self.close_fn) |
3932 | .field("close_async" , &self.close_async) |
3933 | .field("close_finish" , &self.close_finish) |
3934 | .field("_g_reserved1" , &self._g_reserved1) |
3935 | .field("_g_reserved2" , &self._g_reserved2) |
3936 | .field("_g_reserved3" , &self._g_reserved3) |
3937 | .field("_g_reserved4" , &self._g_reserved4) |
3938 | .field("_g_reserved5" , &self._g_reserved5) |
3939 | .field("_g_reserved6" , &self._g_reserved6) |
3940 | .field("_g_reserved7" , &self._g_reserved7) |
3941 | .field("_g_reserved8" , &self._g_reserved8) |
3942 | .field("_g_reserved9" , &self._g_reserved9) |
3943 | .field(name:"_g_reserved10" , &self._g_reserved10) |
3944 | .finish() |
3945 | } |
3946 | } |
3947 | |
3948 | #[repr (C)] |
3949 | #[allow (dead_code)] |
3950 | pub struct _GIOStreamPrivate { |
3951 | _data: [u8; 0], |
3952 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
3953 | } |
3954 | |
3955 | pub type GIOStreamPrivate = _GIOStreamPrivate; |
3956 | |
3957 | #[derive (Copy, Clone)] |
3958 | #[repr (C)] |
3959 | pub struct GIconIface { |
3960 | pub g_iface: gobject::GTypeInterface, |
3961 | pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>, |
3962 | pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>, |
3963 | pub to_tokens: |
3964 | Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>, |
3965 | pub from_tokens: Option< |
3966 | unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon, |
3967 | >, |
3968 | pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>, |
3969 | } |
3970 | |
3971 | impl ::std::fmt::Debug for GIconIface { |
3972 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3973 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GIconIface @ {self:p}" )) |
3974 | .field("g_iface" , &self.g_iface) |
3975 | .field("hash" , &self.hash) |
3976 | .field("equal" , &self.equal) |
3977 | .field("to_tokens" , &self.to_tokens) |
3978 | .field("from_tokens" , &self.from_tokens) |
3979 | .field(name:"serialize" , &self.serialize) |
3980 | .finish() |
3981 | } |
3982 | } |
3983 | |
3984 | #[derive (Copy, Clone)] |
3985 | #[repr (C)] |
3986 | pub struct GInetAddressClass { |
3987 | pub parent_class: gobject::GObjectClass, |
3988 | pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>, |
3989 | pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>, |
3990 | } |
3991 | |
3992 | impl ::std::fmt::Debug for GInetAddressClass { |
3993 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
3994 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetAddressClass @ {self:p}" )) |
3995 | .field("parent_class" , &self.parent_class) |
3996 | .field("to_string" , &self.to_string) |
3997 | .field(name:"to_bytes" , &self.to_bytes) |
3998 | .finish() |
3999 | } |
4000 | } |
4001 | |
4002 | #[derive (Copy, Clone)] |
4003 | #[repr (C)] |
4004 | pub struct GInetAddressMaskClass { |
4005 | pub parent_class: gobject::GObjectClass, |
4006 | } |
4007 | |
4008 | impl ::std::fmt::Debug for GInetAddressMaskClass { |
4009 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4010 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetAddressMaskClass @ {self:p}" )) |
4011 | .field(name:"parent_class" , &self.parent_class) |
4012 | .finish() |
4013 | } |
4014 | } |
4015 | |
4016 | #[repr (C)] |
4017 | #[allow (dead_code)] |
4018 | pub struct _GInetAddressMaskPrivate { |
4019 | _data: [u8; 0], |
4020 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4021 | } |
4022 | |
4023 | pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate; |
4024 | |
4025 | #[repr (C)] |
4026 | #[allow (dead_code)] |
4027 | pub struct _GInetAddressPrivate { |
4028 | _data: [u8; 0], |
4029 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4030 | } |
4031 | |
4032 | pub type GInetAddressPrivate = _GInetAddressPrivate; |
4033 | |
4034 | #[derive (Copy, Clone)] |
4035 | #[repr (C)] |
4036 | pub struct GInetSocketAddressClass { |
4037 | pub parent_class: GSocketAddressClass, |
4038 | } |
4039 | |
4040 | impl ::std::fmt::Debug for GInetSocketAddressClass { |
4041 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4042 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetSocketAddressClass @ {self:p}" )) |
4043 | .field(name:"parent_class" , &self.parent_class) |
4044 | .finish() |
4045 | } |
4046 | } |
4047 | |
4048 | #[repr (C)] |
4049 | #[allow (dead_code)] |
4050 | pub struct _GInetSocketAddressPrivate { |
4051 | _data: [u8; 0], |
4052 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4053 | } |
4054 | |
4055 | pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate; |
4056 | |
4057 | #[derive (Copy, Clone)] |
4058 | #[repr (C)] |
4059 | pub struct GInitableIface { |
4060 | pub g_iface: gobject::GTypeInterface, |
4061 | pub init: Option< |
4062 | unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean, |
4063 | >, |
4064 | } |
4065 | |
4066 | impl ::std::fmt::Debug for GInitableIface { |
4067 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4068 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInitableIface @ {self:p}" )) |
4069 | .field("g_iface" , &self.g_iface) |
4070 | .field(name:"init" , &self.init) |
4071 | .finish() |
4072 | } |
4073 | } |
4074 | |
4075 | #[derive (Copy, Clone)] |
4076 | #[repr (C)] |
4077 | pub struct GInputMessage { |
4078 | pub address: *mut *mut GSocketAddress, |
4079 | pub vectors: *mut GInputVector, |
4080 | pub num_vectors: c_uint, |
4081 | pub bytes_received: size_t, |
4082 | pub flags: c_int, |
4083 | pub control_messages: *mut *mut *mut GSocketControlMessage, |
4084 | pub num_control_messages: *mut c_uint, |
4085 | } |
4086 | |
4087 | impl ::std::fmt::Debug for GInputMessage { |
4088 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4089 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInputMessage @ {self:p}" )) |
4090 | .field("address" , &self.address) |
4091 | .field("vectors" , &self.vectors) |
4092 | .field("num_vectors" , &self.num_vectors) |
4093 | .field("bytes_received" , &self.bytes_received) |
4094 | .field("flags" , &self.flags) |
4095 | .field("control_messages" , &self.control_messages) |
4096 | .field(name:"num_control_messages" , &self.num_control_messages) |
4097 | .finish() |
4098 | } |
4099 | } |
4100 | |
4101 | #[derive (Copy, Clone)] |
4102 | #[repr (C)] |
4103 | pub struct GInputStreamClass { |
4104 | pub parent_class: gobject::GObjectClass, |
4105 | pub read_fn: Option< |
4106 | unsafe extern "C" fn( |
4107 | *mut GInputStream, |
4108 | *mut c_void, |
4109 | size_t, |
4110 | *mut GCancellable, |
4111 | *mut *mut glib::GError, |
4112 | ) -> ssize_t, |
4113 | >, |
4114 | pub skip: Option< |
4115 | unsafe extern "C" fn( |
4116 | *mut GInputStream, |
4117 | size_t, |
4118 | *mut GCancellable, |
4119 | *mut *mut glib::GError, |
4120 | ) -> ssize_t, |
4121 | >, |
4122 | pub close_fn: Option< |
4123 | unsafe extern "C" fn( |
4124 | *mut GInputStream, |
4125 | *mut GCancellable, |
4126 | *mut *mut glib::GError, |
4127 | ) -> gboolean, |
4128 | >, |
4129 | pub read_async: Option< |
4130 | unsafe extern "C" fn( |
4131 | *mut GInputStream, |
4132 | *mut u8, |
4133 | size_t, |
4134 | c_int, |
4135 | *mut GCancellable, |
4136 | GAsyncReadyCallback, |
4137 | gpointer, |
4138 | ), |
4139 | >, |
4140 | pub read_finish: Option< |
4141 | unsafe extern "C" fn( |
4142 | *mut GInputStream, |
4143 | *mut GAsyncResult, |
4144 | *mut *mut glib::GError, |
4145 | ) -> ssize_t, |
4146 | >, |
4147 | pub skip_async: Option< |
4148 | unsafe extern "C" fn( |
4149 | *mut GInputStream, |
4150 | size_t, |
4151 | c_int, |
4152 | *mut GCancellable, |
4153 | GAsyncReadyCallback, |
4154 | gpointer, |
4155 | ), |
4156 | >, |
4157 | pub skip_finish: Option< |
4158 | unsafe extern "C" fn( |
4159 | *mut GInputStream, |
4160 | *mut GAsyncResult, |
4161 | *mut *mut glib::GError, |
4162 | ) -> ssize_t, |
4163 | >, |
4164 | pub close_async: Option< |
4165 | unsafe extern "C" fn( |
4166 | *mut GInputStream, |
4167 | c_int, |
4168 | *mut GCancellable, |
4169 | GAsyncReadyCallback, |
4170 | gpointer, |
4171 | ), |
4172 | >, |
4173 | pub close_finish: Option< |
4174 | unsafe extern "C" fn( |
4175 | *mut GInputStream, |
4176 | *mut GAsyncResult, |
4177 | *mut *mut glib::GError, |
4178 | ) -> gboolean, |
4179 | >, |
4180 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
4181 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
4182 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
4183 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
4184 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
4185 | } |
4186 | |
4187 | impl ::std::fmt::Debug for GInputStreamClass { |
4188 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4189 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInputStreamClass @ {self:p}" )) |
4190 | .field("parent_class" , &self.parent_class) |
4191 | .field("read_fn" , &self.read_fn) |
4192 | .field("skip" , &self.skip) |
4193 | .field("close_fn" , &self.close_fn) |
4194 | .field("read_async" , &self.read_async) |
4195 | .field("read_finish" , &self.read_finish) |
4196 | .field("skip_async" , &self.skip_async) |
4197 | .field("skip_finish" , &self.skip_finish) |
4198 | .field("close_async" , &self.close_async) |
4199 | .field("close_finish" , &self.close_finish) |
4200 | .field("_g_reserved1" , &self._g_reserved1) |
4201 | .field("_g_reserved2" , &self._g_reserved2) |
4202 | .field("_g_reserved3" , &self._g_reserved3) |
4203 | .field("_g_reserved4" , &self._g_reserved4) |
4204 | .field(name:"_g_reserved5" , &self._g_reserved5) |
4205 | .finish() |
4206 | } |
4207 | } |
4208 | |
4209 | #[repr (C)] |
4210 | #[allow (dead_code)] |
4211 | pub struct _GInputStreamPrivate { |
4212 | _data: [u8; 0], |
4213 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4214 | } |
4215 | |
4216 | pub type GInputStreamPrivate = _GInputStreamPrivate; |
4217 | |
4218 | #[derive (Copy, Clone)] |
4219 | #[repr (C)] |
4220 | pub struct GInputVector { |
4221 | pub buffer: gpointer, |
4222 | pub size: size_t, |
4223 | } |
4224 | |
4225 | impl ::std::fmt::Debug for GInputVector { |
4226 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4227 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInputVector @ {self:p}" )) |
4228 | .field("buffer" , &self.buffer) |
4229 | .field(name:"size" , &self.size) |
4230 | .finish() |
4231 | } |
4232 | } |
4233 | |
4234 | #[derive (Copy, Clone)] |
4235 | #[repr (C)] |
4236 | pub struct GListModelInterface { |
4237 | pub g_iface: gobject::GTypeInterface, |
4238 | pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>, |
4239 | pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>, |
4240 | pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>, |
4241 | } |
4242 | |
4243 | impl ::std::fmt::Debug for GListModelInterface { |
4244 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4245 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GListModelInterface @ {self:p}" )) |
4246 | .field("g_iface" , &self.g_iface) |
4247 | .field("get_item_type" , &self.get_item_type) |
4248 | .field("get_n_items" , &self.get_n_items) |
4249 | .field(name:"get_item" , &self.get_item) |
4250 | .finish() |
4251 | } |
4252 | } |
4253 | |
4254 | #[derive (Copy, Clone)] |
4255 | #[repr (C)] |
4256 | pub struct GListStoreClass { |
4257 | pub parent_class: gobject::GObjectClass, |
4258 | } |
4259 | |
4260 | impl ::std::fmt::Debug for GListStoreClass { |
4261 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4262 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GListStoreClass @ {self:p}" )) |
4263 | .field(name:"parent_class" , &self.parent_class) |
4264 | .finish() |
4265 | } |
4266 | } |
4267 | |
4268 | #[derive (Copy, Clone)] |
4269 | #[repr (C)] |
4270 | pub struct GLoadableIconIface { |
4271 | pub g_iface: gobject::GTypeInterface, |
4272 | pub load: Option< |
4273 | unsafe extern "C" fn( |
4274 | *mut GLoadableIcon, |
4275 | c_int, |
4276 | *mut *mut c_char, |
4277 | *mut GCancellable, |
4278 | *mut *mut glib::GError, |
4279 | ) -> *mut GInputStream, |
4280 | >, |
4281 | pub load_async: Option< |
4282 | unsafe extern "C" fn( |
4283 | *mut GLoadableIcon, |
4284 | c_int, |
4285 | *mut GCancellable, |
4286 | GAsyncReadyCallback, |
4287 | gpointer, |
4288 | ), |
4289 | >, |
4290 | pub load_finish: Option< |
4291 | unsafe extern "C" fn( |
4292 | *mut GLoadableIcon, |
4293 | *mut GAsyncResult, |
4294 | *mut *mut c_char, |
4295 | *mut *mut glib::GError, |
4296 | ) -> *mut GInputStream, |
4297 | >, |
4298 | } |
4299 | |
4300 | impl ::std::fmt::Debug for GLoadableIconIface { |
4301 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4302 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GLoadableIconIface @ {self:p}" )) |
4303 | .field("g_iface" , &self.g_iface) |
4304 | .field("load" , &self.load) |
4305 | .field("load_async" , &self.load_async) |
4306 | .field(name:"load_finish" , &self.load_finish) |
4307 | .finish() |
4308 | } |
4309 | } |
4310 | |
4311 | #[derive (Copy, Clone)] |
4312 | #[repr (C)] |
4313 | pub struct GMemoryInputStreamClass { |
4314 | pub parent_class: GInputStreamClass, |
4315 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
4316 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
4317 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
4318 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
4319 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
4320 | } |
4321 | |
4322 | impl ::std::fmt::Debug for GMemoryInputStreamClass { |
4323 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4324 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMemoryInputStreamClass @ {self:p}" )) |
4325 | .field("parent_class" , &self.parent_class) |
4326 | .field("_g_reserved1" , &self._g_reserved1) |
4327 | .field("_g_reserved2" , &self._g_reserved2) |
4328 | .field("_g_reserved3" , &self._g_reserved3) |
4329 | .field("_g_reserved4" , &self._g_reserved4) |
4330 | .field(name:"_g_reserved5" , &self._g_reserved5) |
4331 | .finish() |
4332 | } |
4333 | } |
4334 | |
4335 | #[repr (C)] |
4336 | #[allow (dead_code)] |
4337 | pub struct _GMemoryInputStreamPrivate { |
4338 | _data: [u8; 0], |
4339 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4340 | } |
4341 | |
4342 | pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate; |
4343 | |
4344 | #[derive (Copy, Clone)] |
4345 | #[repr (C)] |
4346 | pub struct GMemoryMonitorInterface { |
4347 | pub g_iface: gobject::GTypeInterface, |
4348 | pub low_memory_warning: |
4349 | Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>, |
4350 | } |
4351 | |
4352 | impl ::std::fmt::Debug for GMemoryMonitorInterface { |
4353 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4354 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMemoryMonitorInterface @ {self:p}" )) |
4355 | .field(name:"low_memory_warning" , &self.low_memory_warning) |
4356 | .finish() |
4357 | } |
4358 | } |
4359 | |
4360 | #[derive (Copy, Clone)] |
4361 | #[repr (C)] |
4362 | pub struct GMemoryOutputStreamClass { |
4363 | pub parent_class: GOutputStreamClass, |
4364 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
4365 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
4366 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
4367 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
4368 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
4369 | } |
4370 | |
4371 | impl ::std::fmt::Debug for GMemoryOutputStreamClass { |
4372 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4373 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMemoryOutputStreamClass @ {self:p}" )) |
4374 | .field("parent_class" , &self.parent_class) |
4375 | .field("_g_reserved1" , &self._g_reserved1) |
4376 | .field("_g_reserved2" , &self._g_reserved2) |
4377 | .field("_g_reserved3" , &self._g_reserved3) |
4378 | .field("_g_reserved4" , &self._g_reserved4) |
4379 | .field(name:"_g_reserved5" , &self._g_reserved5) |
4380 | .finish() |
4381 | } |
4382 | } |
4383 | |
4384 | #[repr (C)] |
4385 | #[allow (dead_code)] |
4386 | pub struct _GMemoryOutputStreamPrivate { |
4387 | _data: [u8; 0], |
4388 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4389 | } |
4390 | |
4391 | pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate; |
4392 | |
4393 | #[derive (Copy, Clone)] |
4394 | #[repr (C)] |
4395 | pub struct GMenuAttributeIterClass { |
4396 | pub parent_class: gobject::GObjectClass, |
4397 | pub get_next: Option< |
4398 | unsafe extern "C" fn( |
4399 | *mut GMenuAttributeIter, |
4400 | *mut *const c_char, |
4401 | *mut *mut glib::GVariant, |
4402 | ) -> gboolean, |
4403 | >, |
4404 | } |
4405 | |
4406 | impl ::std::fmt::Debug for GMenuAttributeIterClass { |
4407 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4408 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuAttributeIterClass @ {self:p}" )) |
4409 | .field("parent_class" , &self.parent_class) |
4410 | .field(name:"get_next" , &self.get_next) |
4411 | .finish() |
4412 | } |
4413 | } |
4414 | |
4415 | #[repr (C)] |
4416 | #[allow (dead_code)] |
4417 | pub struct _GMenuAttributeIterPrivate { |
4418 | _data: [u8; 0], |
4419 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4420 | } |
4421 | |
4422 | pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate; |
4423 | |
4424 | #[derive (Copy, Clone)] |
4425 | #[repr (C)] |
4426 | pub struct GMenuLinkIterClass { |
4427 | pub parent_class: gobject::GObjectClass, |
4428 | pub get_next: Option< |
4429 | unsafe extern "C" fn( |
4430 | *mut GMenuLinkIter, |
4431 | *mut *const c_char, |
4432 | *mut *mut GMenuModel, |
4433 | ) -> gboolean, |
4434 | >, |
4435 | } |
4436 | |
4437 | impl ::std::fmt::Debug for GMenuLinkIterClass { |
4438 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4439 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuLinkIterClass @ {self:p}" )) |
4440 | .field("parent_class" , &self.parent_class) |
4441 | .field(name:"get_next" , &self.get_next) |
4442 | .finish() |
4443 | } |
4444 | } |
4445 | |
4446 | #[repr (C)] |
4447 | #[allow (dead_code)] |
4448 | pub struct _GMenuLinkIterPrivate { |
4449 | _data: [u8; 0], |
4450 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4451 | } |
4452 | |
4453 | pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate; |
4454 | |
4455 | #[derive (Copy, Clone)] |
4456 | #[repr (C)] |
4457 | pub struct GMenuModelClass { |
4458 | pub parent_class: gobject::GObjectClass, |
4459 | pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>, |
4460 | pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>, |
4461 | pub get_item_attributes: |
4462 | Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, |
4463 | pub iterate_item_attributes: |
4464 | Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>, |
4465 | pub get_item_attribute_value: Option< |
4466 | unsafe extern "C" fn( |
4467 | *mut GMenuModel, |
4468 | c_int, |
4469 | *const c_char, |
4470 | *const glib::GVariantType, |
4471 | ) -> *mut glib::GVariant, |
4472 | >, |
4473 | pub get_item_links: |
4474 | Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, |
4475 | pub iterate_item_links: |
4476 | Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>, |
4477 | pub get_item_link: |
4478 | Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>, |
4479 | } |
4480 | |
4481 | impl ::std::fmt::Debug for GMenuModelClass { |
4482 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4483 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuModelClass @ {self:p}" )) |
4484 | .field("parent_class" , &self.parent_class) |
4485 | .field("is_mutable" , &self.is_mutable) |
4486 | .field("get_n_items" , &self.get_n_items) |
4487 | .field("get_item_attributes" , &self.get_item_attributes) |
4488 | .field("iterate_item_attributes" , &self.iterate_item_attributes) |
4489 | .field("get_item_attribute_value" , &self.get_item_attribute_value) |
4490 | .field("get_item_links" , &self.get_item_links) |
4491 | .field("iterate_item_links" , &self.iterate_item_links) |
4492 | .field(name:"get_item_link" , &self.get_item_link) |
4493 | .finish() |
4494 | } |
4495 | } |
4496 | |
4497 | #[repr (C)] |
4498 | #[allow (dead_code)] |
4499 | pub struct _GMenuModelPrivate { |
4500 | _data: [u8; 0], |
4501 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4502 | } |
4503 | |
4504 | pub type GMenuModelPrivate = _GMenuModelPrivate; |
4505 | |
4506 | #[derive (Copy, Clone)] |
4507 | #[repr (C)] |
4508 | pub struct GMountIface { |
4509 | pub g_iface: gobject::GTypeInterface, |
4510 | pub changed: Option<unsafe extern "C" fn(*mut GMount)>, |
4511 | pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>, |
4512 | pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, |
4513 | pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, |
4514 | pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, |
4515 | pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, |
4516 | pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>, |
4517 | pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>, |
4518 | pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, |
4519 | pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, |
4520 | pub unmount: Option< |
4521 | unsafe extern "C" fn( |
4522 | *mut GMount, |
4523 | GMountUnmountFlags, |
4524 | *mut GCancellable, |
4525 | GAsyncReadyCallback, |
4526 | gpointer, |
4527 | ), |
4528 | >, |
4529 | pub unmount_finish: Option< |
4530 | unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
4531 | >, |
4532 | pub eject: Option< |
4533 | unsafe extern "C" fn( |
4534 | *mut GMount, |
4535 | GMountUnmountFlags, |
4536 | *mut GCancellable, |
4537 | GAsyncReadyCallback, |
4538 | gpointer, |
4539 | ), |
4540 | >, |
4541 | pub eject_finish: Option< |
4542 | unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
4543 | >, |
4544 | pub remount: Option< |
4545 | unsafe extern "C" fn( |
4546 | *mut GMount, |
4547 | GMountMountFlags, |
4548 | *mut GMountOperation, |
4549 | *mut GCancellable, |
4550 | GAsyncReadyCallback, |
4551 | gpointer, |
4552 | ), |
4553 | >, |
4554 | pub remount_finish: Option< |
4555 | unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
4556 | >, |
4557 | pub guess_content_type: Option< |
4558 | unsafe extern "C" fn( |
4559 | *mut GMount, |
4560 | gboolean, |
4561 | *mut GCancellable, |
4562 | GAsyncReadyCallback, |
4563 | gpointer, |
4564 | ), |
4565 | >, |
4566 | pub guess_content_type_finish: Option< |
4567 | unsafe extern "C" fn( |
4568 | *mut GMount, |
4569 | *mut GAsyncResult, |
4570 | *mut *mut glib::GError, |
4571 | ) -> *mut *mut c_char, |
4572 | >, |
4573 | pub guess_content_type_sync: Option< |
4574 | unsafe extern "C" fn( |
4575 | *mut GMount, |
4576 | gboolean, |
4577 | *mut GCancellable, |
4578 | *mut *mut glib::GError, |
4579 | ) -> *mut *mut c_char, |
4580 | >, |
4581 | pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>, |
4582 | pub unmount_with_operation: Option< |
4583 | unsafe extern "C" fn( |
4584 | *mut GMount, |
4585 | GMountUnmountFlags, |
4586 | *mut GMountOperation, |
4587 | *mut GCancellable, |
4588 | GAsyncReadyCallback, |
4589 | gpointer, |
4590 | ), |
4591 | >, |
4592 | pub unmount_with_operation_finish: Option< |
4593 | unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
4594 | >, |
4595 | pub eject_with_operation: Option< |
4596 | unsafe extern "C" fn( |
4597 | *mut GMount, |
4598 | GMountUnmountFlags, |
4599 | *mut GMountOperation, |
4600 | *mut GCancellable, |
4601 | GAsyncReadyCallback, |
4602 | gpointer, |
4603 | ), |
4604 | >, |
4605 | pub eject_with_operation_finish: Option< |
4606 | unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
4607 | >, |
4608 | pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, |
4609 | pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, |
4610 | pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, |
4611 | } |
4612 | |
4613 | impl ::std::fmt::Debug for GMountIface { |
4614 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4615 | f.debug_struct(&format!("GMountIface @ {self:p}" )) |
4616 | .field("g_iface" , &self.g_iface) |
4617 | .field("changed" , &self.changed) |
4618 | .field("unmounted" , &self.unmounted) |
4619 | .field("get_root" , &self.get_root) |
4620 | .field("get_name" , &self.get_name) |
4621 | .field("get_icon" , &self.get_icon) |
4622 | .field("get_uuid" , &self.get_uuid) |
4623 | .field("get_volume" , &self.get_volume) |
4624 | .field("get_drive" , &self.get_drive) |
4625 | .field("can_unmount" , &self.can_unmount) |
4626 | .field("can_eject" , &self.can_eject) |
4627 | .field("unmount" , &self.unmount) |
4628 | .field("unmount_finish" , &self.unmount_finish) |
4629 | .field("eject" , &self.eject) |
4630 | .field("eject_finish" , &self.eject_finish) |
4631 | .field("remount" , &self.remount) |
4632 | .field("remount_finish" , &self.remount_finish) |
4633 | .field("guess_content_type" , &self.guess_content_type) |
4634 | .field("guess_content_type_finish" , &self.guess_content_type_finish) |
4635 | .field("guess_content_type_sync" , &self.guess_content_type_sync) |
4636 | .field("pre_unmount" , &self.pre_unmount) |
4637 | .field("unmount_with_operation" , &self.unmount_with_operation) |
4638 | .field( |
4639 | "unmount_with_operation_finish" , |
4640 | &self.unmount_with_operation_finish, |
4641 | ) |
4642 | .field("eject_with_operation" , &self.eject_with_operation) |
4643 | .field( |
4644 | "eject_with_operation_finish" , |
4645 | &self.eject_with_operation_finish, |
4646 | ) |
4647 | .field("get_default_location" , &self.get_default_location) |
4648 | .field("get_sort_key" , &self.get_sort_key) |
4649 | .field("get_symbolic_icon" , &self.get_symbolic_icon) |
4650 | .finish() |
4651 | } |
4652 | } |
4653 | |
4654 | #[derive (Copy, Clone)] |
4655 | #[repr (C)] |
4656 | pub struct GMountOperationClass { |
4657 | pub parent_class: gobject::GObjectClass, |
4658 | pub ask_password: Option< |
4659 | unsafe extern "C" fn( |
4660 | *mut GMountOperation, |
4661 | *const c_char, |
4662 | *const c_char, |
4663 | *const c_char, |
4664 | GAskPasswordFlags, |
4665 | ), |
4666 | >, |
4667 | pub ask_question: |
4668 | Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>, |
4669 | pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>, |
4670 | pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>, |
4671 | pub show_processes: Option< |
4672 | unsafe extern "C" fn( |
4673 | *mut GMountOperation, |
4674 | *const c_char, |
4675 | *mut glib::GArray, |
4676 | *mut *const c_char, |
4677 | ), |
4678 | >, |
4679 | pub show_unmount_progress: |
4680 | Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>, |
4681 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
4682 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
4683 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
4684 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
4685 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
4686 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
4687 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
4688 | pub _g_reserved8: Option<unsafe extern "C" fn()>, |
4689 | pub _g_reserved9: Option<unsafe extern "C" fn()>, |
4690 | } |
4691 | |
4692 | impl ::std::fmt::Debug for GMountOperationClass { |
4693 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4694 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMountOperationClass @ {self:p}" )) |
4695 | .field("parent_class" , &self.parent_class) |
4696 | .field("ask_password" , &self.ask_password) |
4697 | .field("ask_question" , &self.ask_question) |
4698 | .field("reply" , &self.reply) |
4699 | .field("aborted" , &self.aborted) |
4700 | .field("show_processes" , &self.show_processes) |
4701 | .field("show_unmount_progress" , &self.show_unmount_progress) |
4702 | .field("_g_reserved1" , &self._g_reserved1) |
4703 | .field("_g_reserved2" , &self._g_reserved2) |
4704 | .field("_g_reserved3" , &self._g_reserved3) |
4705 | .field("_g_reserved4" , &self._g_reserved4) |
4706 | .field("_g_reserved5" , &self._g_reserved5) |
4707 | .field("_g_reserved6" , &self._g_reserved6) |
4708 | .field("_g_reserved7" , &self._g_reserved7) |
4709 | .field("_g_reserved8" , &self._g_reserved8) |
4710 | .field(name:"_g_reserved9" , &self._g_reserved9) |
4711 | .finish() |
4712 | } |
4713 | } |
4714 | |
4715 | #[repr (C)] |
4716 | #[allow (dead_code)] |
4717 | pub struct _GMountOperationPrivate { |
4718 | _data: [u8; 0], |
4719 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4720 | } |
4721 | |
4722 | pub type GMountOperationPrivate = _GMountOperationPrivate; |
4723 | |
4724 | #[derive (Copy, Clone)] |
4725 | #[repr (C)] |
4726 | pub struct GNativeSocketAddressClass { |
4727 | pub parent_class: GSocketAddressClass, |
4728 | } |
4729 | |
4730 | impl ::std::fmt::Debug for GNativeSocketAddressClass { |
4731 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4732 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNativeSocketAddressClass @ {self:p}" )) |
4733 | .field(name:"parent_class" , &self.parent_class) |
4734 | .finish() |
4735 | } |
4736 | } |
4737 | |
4738 | #[repr (C)] |
4739 | #[allow (dead_code)] |
4740 | pub struct _GNativeSocketAddressPrivate { |
4741 | _data: [u8; 0], |
4742 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4743 | } |
4744 | |
4745 | pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate; |
4746 | |
4747 | #[derive (Copy, Clone)] |
4748 | #[repr (C)] |
4749 | pub struct GNativeVolumeMonitorClass { |
4750 | pub parent_class: GVolumeMonitorClass, |
4751 | pub get_mount_for_mount_path: |
4752 | Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>, |
4753 | } |
4754 | |
4755 | impl ::std::fmt::Debug for GNativeVolumeMonitorClass { |
4756 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4757 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNativeVolumeMonitorClass @ {self:p}" )) |
4758 | .field("parent_class" , &self.parent_class) |
4759 | .field(name:"get_mount_for_mount_path" , &self.get_mount_for_mount_path) |
4760 | .finish() |
4761 | } |
4762 | } |
4763 | |
4764 | #[derive (Copy, Clone)] |
4765 | #[repr (C)] |
4766 | pub struct GNetworkAddressClass { |
4767 | pub parent_class: gobject::GObjectClass, |
4768 | } |
4769 | |
4770 | impl ::std::fmt::Debug for GNetworkAddressClass { |
4771 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4772 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNetworkAddressClass @ {self:p}" )) |
4773 | .field(name:"parent_class" , &self.parent_class) |
4774 | .finish() |
4775 | } |
4776 | } |
4777 | |
4778 | #[repr (C)] |
4779 | #[allow (dead_code)] |
4780 | pub struct _GNetworkAddressPrivate { |
4781 | _data: [u8; 0], |
4782 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4783 | } |
4784 | |
4785 | pub type GNetworkAddressPrivate = _GNetworkAddressPrivate; |
4786 | |
4787 | #[derive (Copy, Clone)] |
4788 | #[repr (C)] |
4789 | pub struct GNetworkMonitorInterface { |
4790 | pub g_iface: gobject::GTypeInterface, |
4791 | pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>, |
4792 | pub can_reach: Option< |
4793 | unsafe extern "C" fn( |
4794 | *mut GNetworkMonitor, |
4795 | *mut GSocketConnectable, |
4796 | *mut GCancellable, |
4797 | *mut *mut glib::GError, |
4798 | ) -> gboolean, |
4799 | >, |
4800 | pub can_reach_async: Option< |
4801 | unsafe extern "C" fn( |
4802 | *mut GNetworkMonitor, |
4803 | *mut GSocketConnectable, |
4804 | *mut GCancellable, |
4805 | GAsyncReadyCallback, |
4806 | gpointer, |
4807 | ), |
4808 | >, |
4809 | pub can_reach_finish: Option< |
4810 | unsafe extern "C" fn( |
4811 | *mut GNetworkMonitor, |
4812 | *mut GAsyncResult, |
4813 | *mut *mut glib::GError, |
4814 | ) -> gboolean, |
4815 | >, |
4816 | } |
4817 | |
4818 | impl ::std::fmt::Debug for GNetworkMonitorInterface { |
4819 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4820 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNetworkMonitorInterface @ {self:p}" )) |
4821 | .field("g_iface" , &self.g_iface) |
4822 | .field("network_changed" , &self.network_changed) |
4823 | .field("can_reach" , &self.can_reach) |
4824 | .field("can_reach_async" , &self.can_reach_async) |
4825 | .field(name:"can_reach_finish" , &self.can_reach_finish) |
4826 | .finish() |
4827 | } |
4828 | } |
4829 | |
4830 | #[derive (Copy, Clone)] |
4831 | #[repr (C)] |
4832 | pub struct GNetworkServiceClass { |
4833 | pub parent_class: gobject::GObjectClass, |
4834 | } |
4835 | |
4836 | impl ::std::fmt::Debug for GNetworkServiceClass { |
4837 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4838 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNetworkServiceClass @ {self:p}" )) |
4839 | .field(name:"parent_class" , &self.parent_class) |
4840 | .finish() |
4841 | } |
4842 | } |
4843 | |
4844 | #[repr (C)] |
4845 | #[allow (dead_code)] |
4846 | pub struct _GNetworkServicePrivate { |
4847 | _data: [u8; 0], |
4848 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
4849 | } |
4850 | |
4851 | pub type GNetworkServicePrivate = _GNetworkServicePrivate; |
4852 | |
4853 | #[derive (Copy, Clone)] |
4854 | #[repr (C)] |
4855 | pub struct GOutputMessage { |
4856 | pub address: *mut GSocketAddress, |
4857 | pub vectors: *mut GOutputVector, |
4858 | pub num_vectors: c_uint, |
4859 | pub bytes_sent: c_uint, |
4860 | pub control_messages: *mut *mut GSocketControlMessage, |
4861 | pub num_control_messages: c_uint, |
4862 | } |
4863 | |
4864 | impl ::std::fmt::Debug for GOutputMessage { |
4865 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
4866 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GOutputMessage @ {self:p}" )) |
4867 | .field("address" , &self.address) |
4868 | .field("vectors" , &self.vectors) |
4869 | .field("num_vectors" , &self.num_vectors) |
4870 | .field("bytes_sent" , &self.bytes_sent) |
4871 | .field("control_messages" , &self.control_messages) |
4872 | .field(name:"num_control_messages" , &self.num_control_messages) |
4873 | .finish() |
4874 | } |
4875 | } |
4876 | |
4877 | #[derive (Copy, Clone)] |
4878 | #[repr (C)] |
4879 | pub struct GOutputStreamClass { |
4880 | pub parent_class: gobject::GObjectClass, |
4881 | pub write_fn: Option< |
4882 | unsafe extern "C" fn( |
4883 | *mut GOutputStream, |
4884 | *mut u8, |
4885 | size_t, |
4886 | *mut GCancellable, |
4887 | *mut *mut glib::GError, |
4888 | ) -> ssize_t, |
4889 | >, |
4890 | pub splice: Option< |
4891 | unsafe extern "C" fn( |
4892 | *mut GOutputStream, |
4893 | *mut GInputStream, |
4894 | GOutputStreamSpliceFlags, |
4895 | *mut GCancellable, |
4896 | *mut *mut glib::GError, |
4897 | ) -> ssize_t, |
4898 | >, |
4899 | pub flush: Option< |
4900 | unsafe extern "C" fn( |
4901 | *mut GOutputStream, |
4902 | *mut GCancellable, |
4903 | *mut *mut glib::GError, |
4904 | ) -> gboolean, |
4905 | >, |
4906 | pub close_fn: Option< |
4907 | unsafe extern "C" fn( |
4908 | *mut GOutputStream, |
4909 | *mut GCancellable, |
4910 | *mut *mut glib::GError, |
4911 | ) -> gboolean, |
4912 | >, |
4913 | pub write_async: Option< |
4914 | unsafe extern "C" fn( |
4915 | *mut GOutputStream, |
4916 | *mut u8, |
4917 | size_t, |
4918 | c_int, |
4919 | *mut GCancellable, |
4920 | GAsyncReadyCallback, |
4921 | gpointer, |
4922 | ), |
4923 | >, |
4924 | pub write_finish: Option< |
4925 | unsafe extern "C" fn( |
4926 | *mut GOutputStream, |
4927 | *mut GAsyncResult, |
4928 | *mut *mut glib::GError, |
4929 | ) -> ssize_t, |
4930 | >, |
4931 | pub splice_async: Option< |
4932 | unsafe extern "C" fn( |
4933 | *mut GOutputStream, |
4934 | *mut GInputStream, |
4935 | GOutputStreamSpliceFlags, |
4936 | c_int, |
4937 | *mut GCancellable, |
4938 | GAsyncReadyCallback, |
4939 | gpointer, |
4940 | ), |
4941 | >, |
4942 | pub splice_finish: Option< |
4943 | unsafe extern "C" fn( |
4944 | *mut GOutputStream, |
4945 | *mut GAsyncResult, |
4946 | *mut *mut glib::GError, |
4947 | ) -> ssize_t, |
4948 | >, |
4949 | pub flush_async: Option< |
4950 | unsafe extern "C" fn( |
4951 | *mut GOutputStream, |
4952 | c_int, |
4953 | *mut GCancellable, |
4954 | GAsyncReadyCallback, |
4955 | gpointer, |
4956 | ), |
4957 | >, |
4958 | pub flush_finish: Option< |
4959 | unsafe extern "C" fn( |
4960 | *mut GOutputStream, |
4961 | *mut GAsyncResult, |
4962 | *mut *mut glib::GError, |
4963 | ) -> gboolean, |
4964 | >, |
4965 | pub close_async: Option< |
4966 | unsafe extern "C" fn( |
4967 | *mut GOutputStream, |
4968 | c_int, |
4969 | *mut GCancellable, |
4970 | GAsyncReadyCallback, |
4971 | gpointer, |
4972 | ), |
4973 | >, |
4974 | pub close_finish: Option< |
4975 | unsafe extern "C" fn( |
4976 | *mut GOutputStream, |
4977 | *mut GAsyncResult, |
4978 | *mut *mut glib::GError, |
4979 | ) -> gboolean, |
4980 | >, |
4981 | pub writev_fn: Option< |
4982 | unsafe extern "C" fn( |
4983 | *mut GOutputStream, |
4984 | *const GOutputVector, |
4985 | size_t, |
4986 | *mut size_t, |
4987 | *mut GCancellable, |
4988 | *mut *mut glib::GError, |
4989 | ) -> gboolean, |
4990 | >, |
4991 | pub writev_async: Option< |
4992 | unsafe extern "C" fn( |
4993 | *mut GOutputStream, |
4994 | *const GOutputVector, |
4995 | size_t, |
4996 | c_int, |
4997 | *mut GCancellable, |
4998 | GAsyncReadyCallback, |
4999 | gpointer, |
5000 | ), |
5001 | >, |
5002 | pub writev_finish: Option< |
5003 | unsafe extern "C" fn( |
5004 | *mut GOutputStream, |
5005 | *mut GAsyncResult, |
5006 | *mut size_t, |
5007 | *mut *mut glib::GError, |
5008 | ) -> gboolean, |
5009 | >, |
5010 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5011 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
5012 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
5013 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
5014 | pub _g_reserved8: Option<unsafe extern "C" fn()>, |
5015 | } |
5016 | |
5017 | impl ::std::fmt::Debug for GOutputStreamClass { |
5018 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5019 | f.debug_struct(&format!("GOutputStreamClass @ {self:p}" )) |
5020 | .field("parent_class" , &self.parent_class) |
5021 | .field("write_fn" , &self.write_fn) |
5022 | .field("splice" , &self.splice) |
5023 | .field("flush" , &self.flush) |
5024 | .field("close_fn" , &self.close_fn) |
5025 | .field("write_async" , &self.write_async) |
5026 | .field("write_finish" , &self.write_finish) |
5027 | .field("splice_async" , &self.splice_async) |
5028 | .field("splice_finish" , &self.splice_finish) |
5029 | .field("flush_async" , &self.flush_async) |
5030 | .field("flush_finish" , &self.flush_finish) |
5031 | .field("close_async" , &self.close_async) |
5032 | .field("close_finish" , &self.close_finish) |
5033 | .field("writev_fn" , &self.writev_fn) |
5034 | .field("writev_async" , &self.writev_async) |
5035 | .field("writev_finish" , &self.writev_finish) |
5036 | .field("_g_reserved4" , &self._g_reserved4) |
5037 | .field("_g_reserved5" , &self._g_reserved5) |
5038 | .field("_g_reserved6" , &self._g_reserved6) |
5039 | .field("_g_reserved7" , &self._g_reserved7) |
5040 | .field("_g_reserved8" , &self._g_reserved8) |
5041 | .finish() |
5042 | } |
5043 | } |
5044 | |
5045 | #[repr (C)] |
5046 | #[allow (dead_code)] |
5047 | pub struct _GOutputStreamPrivate { |
5048 | _data: [u8; 0], |
5049 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5050 | } |
5051 | |
5052 | pub type GOutputStreamPrivate = _GOutputStreamPrivate; |
5053 | |
5054 | #[derive (Copy, Clone)] |
5055 | #[repr (C)] |
5056 | pub struct GOutputVector { |
5057 | pub buffer: gconstpointer, |
5058 | pub size: size_t, |
5059 | } |
5060 | |
5061 | impl ::std::fmt::Debug for GOutputVector { |
5062 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5063 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GOutputVector @ {self:p}" )) |
5064 | .field("buffer" , &self.buffer) |
5065 | .field(name:"size" , &self.size) |
5066 | .finish() |
5067 | } |
5068 | } |
5069 | |
5070 | #[derive (Copy, Clone)] |
5071 | #[repr (C)] |
5072 | pub struct GPermissionClass { |
5073 | pub parent_class: gobject::GObjectClass, |
5074 | pub acquire: Option< |
5075 | unsafe extern "C" fn( |
5076 | *mut GPermission, |
5077 | *mut GCancellable, |
5078 | *mut *mut glib::GError, |
5079 | ) -> gboolean, |
5080 | >, |
5081 | pub acquire_async: Option< |
5082 | unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), |
5083 | >, |
5084 | pub acquire_finish: Option< |
5085 | unsafe extern "C" fn( |
5086 | *mut GPermission, |
5087 | *mut GAsyncResult, |
5088 | *mut *mut glib::GError, |
5089 | ) -> gboolean, |
5090 | >, |
5091 | pub release: Option< |
5092 | unsafe extern "C" fn( |
5093 | *mut GPermission, |
5094 | *mut GCancellable, |
5095 | *mut *mut glib::GError, |
5096 | ) -> gboolean, |
5097 | >, |
5098 | pub release_async: Option< |
5099 | unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), |
5100 | >, |
5101 | pub release_finish: Option< |
5102 | unsafe extern "C" fn( |
5103 | *mut GPermission, |
5104 | *mut GAsyncResult, |
5105 | *mut *mut glib::GError, |
5106 | ) -> gboolean, |
5107 | >, |
5108 | pub reserved: [gpointer; 16], |
5109 | } |
5110 | |
5111 | impl ::std::fmt::Debug for GPermissionClass { |
5112 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5113 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GPermissionClass @ {self:p}" )) |
5114 | .field("parent_class" , &self.parent_class) |
5115 | .field("acquire" , &self.acquire) |
5116 | .field("acquire_async" , &self.acquire_async) |
5117 | .field("acquire_finish" , &self.acquire_finish) |
5118 | .field("release" , &self.release) |
5119 | .field("release_async" , &self.release_async) |
5120 | .field("release_finish" , &self.release_finish) |
5121 | .field(name:"reserved" , &self.reserved) |
5122 | .finish() |
5123 | } |
5124 | } |
5125 | |
5126 | #[repr (C)] |
5127 | #[allow (dead_code)] |
5128 | pub struct _GPermissionPrivate { |
5129 | _data: [u8; 0], |
5130 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5131 | } |
5132 | |
5133 | pub type GPermissionPrivate = _GPermissionPrivate; |
5134 | |
5135 | #[derive (Copy, Clone)] |
5136 | #[repr (C)] |
5137 | pub struct GPollableInputStreamInterface { |
5138 | pub g_iface: gobject::GTypeInterface, |
5139 | pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, |
5140 | pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, |
5141 | pub create_source: Option< |
5142 | unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource, |
5143 | >, |
5144 | pub read_nonblocking: Option< |
5145 | unsafe extern "C" fn( |
5146 | *mut GPollableInputStream, |
5147 | *mut u8, |
5148 | size_t, |
5149 | *mut *mut glib::GError, |
5150 | ) -> ssize_t, |
5151 | >, |
5152 | } |
5153 | |
5154 | impl ::std::fmt::Debug for GPollableInputStreamInterface { |
5155 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5156 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GPollableInputStreamInterface @ {self:p}" )) |
5157 | .field("g_iface" , &self.g_iface) |
5158 | .field("can_poll" , &self.can_poll) |
5159 | .field("is_readable" , &self.is_readable) |
5160 | .field("create_source" , &self.create_source) |
5161 | .field(name:"read_nonblocking" , &self.read_nonblocking) |
5162 | .finish() |
5163 | } |
5164 | } |
5165 | |
5166 | #[derive (Copy, Clone)] |
5167 | #[repr (C)] |
5168 | pub struct GPollableOutputStreamInterface { |
5169 | pub g_iface: gobject::GTypeInterface, |
5170 | pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, |
5171 | pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, |
5172 | pub create_source: Option< |
5173 | unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource, |
5174 | >, |
5175 | pub write_nonblocking: Option< |
5176 | unsafe extern "C" fn( |
5177 | *mut GPollableOutputStream, |
5178 | *mut u8, |
5179 | size_t, |
5180 | *mut *mut glib::GError, |
5181 | ) -> ssize_t, |
5182 | >, |
5183 | pub writev_nonblocking: Option< |
5184 | unsafe extern "C" fn( |
5185 | *mut GPollableOutputStream, |
5186 | *const GOutputVector, |
5187 | size_t, |
5188 | *mut size_t, |
5189 | *mut *mut glib::GError, |
5190 | ) -> GPollableReturn, |
5191 | >, |
5192 | } |
5193 | |
5194 | impl ::std::fmt::Debug for GPollableOutputStreamInterface { |
5195 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5196 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GPollableOutputStreamInterface @ {self:p}" )) |
5197 | .field("g_iface" , &self.g_iface) |
5198 | .field("can_poll" , &self.can_poll) |
5199 | .field("is_writable" , &self.is_writable) |
5200 | .field("create_source" , &self.create_source) |
5201 | .field("write_nonblocking" , &self.write_nonblocking) |
5202 | .field(name:"writev_nonblocking" , &self.writev_nonblocking) |
5203 | .finish() |
5204 | } |
5205 | } |
5206 | |
5207 | #[derive (Copy, Clone)] |
5208 | #[repr (C)] |
5209 | pub struct GPowerProfileMonitorInterface { |
5210 | pub g_iface: gobject::GTypeInterface, |
5211 | } |
5212 | |
5213 | impl ::std::fmt::Debug for GPowerProfileMonitorInterface { |
5214 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5215 | fDebugStruct<'_, '_>.debug_struct(&format!("GPowerProfileMonitorInterface @ {self:p}" )) |
5216 | .finish() |
5217 | } |
5218 | } |
5219 | |
5220 | #[derive (Copy, Clone)] |
5221 | #[repr (C)] |
5222 | pub struct GProxyAddressClass { |
5223 | pub parent_class: GInetSocketAddressClass, |
5224 | } |
5225 | |
5226 | impl ::std::fmt::Debug for GProxyAddressClass { |
5227 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5228 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GProxyAddressClass @ {self:p}" )) |
5229 | .field(name:"parent_class" , &self.parent_class) |
5230 | .finish() |
5231 | } |
5232 | } |
5233 | |
5234 | #[derive (Copy, Clone)] |
5235 | #[repr (C)] |
5236 | pub struct GProxyAddressEnumeratorClass { |
5237 | pub parent_class: GSocketAddressEnumeratorClass, |
5238 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
5239 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
5240 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
5241 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5242 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
5243 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
5244 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
5245 | } |
5246 | |
5247 | impl ::std::fmt::Debug for GProxyAddressEnumeratorClass { |
5248 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5249 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GProxyAddressEnumeratorClass @ {self:p}" )) |
5250 | .field("_g_reserved1" , &self._g_reserved1) |
5251 | .field("_g_reserved2" , &self._g_reserved2) |
5252 | .field("_g_reserved3" , &self._g_reserved3) |
5253 | .field("_g_reserved4" , &self._g_reserved4) |
5254 | .field("_g_reserved5" , &self._g_reserved5) |
5255 | .field("_g_reserved6" , &self._g_reserved6) |
5256 | .field(name:"_g_reserved7" , &self._g_reserved7) |
5257 | .finish() |
5258 | } |
5259 | } |
5260 | |
5261 | #[repr (C)] |
5262 | #[allow (dead_code)] |
5263 | pub struct _GProxyAddressEnumeratorPrivate { |
5264 | _data: [u8; 0], |
5265 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5266 | } |
5267 | |
5268 | pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate; |
5269 | |
5270 | #[repr (C)] |
5271 | #[allow (dead_code)] |
5272 | pub struct _GProxyAddressPrivate { |
5273 | _data: [u8; 0], |
5274 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5275 | } |
5276 | |
5277 | pub type GProxyAddressPrivate = _GProxyAddressPrivate; |
5278 | |
5279 | #[derive (Copy, Clone)] |
5280 | #[repr (C)] |
5281 | pub struct GProxyInterface { |
5282 | pub g_iface: gobject::GTypeInterface, |
5283 | pub connect: Option< |
5284 | unsafe extern "C" fn( |
5285 | *mut GProxy, |
5286 | *mut GIOStream, |
5287 | *mut GProxyAddress, |
5288 | *mut GCancellable, |
5289 | *mut *mut glib::GError, |
5290 | ) -> *mut GIOStream, |
5291 | >, |
5292 | pub connect_async: Option< |
5293 | unsafe extern "C" fn( |
5294 | *mut GProxy, |
5295 | *mut GIOStream, |
5296 | *mut GProxyAddress, |
5297 | *mut GCancellable, |
5298 | GAsyncReadyCallback, |
5299 | gpointer, |
5300 | ), |
5301 | >, |
5302 | pub connect_finish: Option< |
5303 | unsafe extern "C" fn( |
5304 | *mut GProxy, |
5305 | *mut GAsyncResult, |
5306 | *mut *mut glib::GError, |
5307 | ) -> *mut GIOStream, |
5308 | >, |
5309 | pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>, |
5310 | } |
5311 | |
5312 | impl ::std::fmt::Debug for GProxyInterface { |
5313 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5314 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GProxyInterface @ {self:p}" )) |
5315 | .field("g_iface" , &self.g_iface) |
5316 | .field("connect" , &self.connect) |
5317 | .field("connect_async" , &self.connect_async) |
5318 | .field("connect_finish" , &self.connect_finish) |
5319 | .field(name:"supports_hostname" , &self.supports_hostname) |
5320 | .finish() |
5321 | } |
5322 | } |
5323 | |
5324 | #[derive (Copy, Clone)] |
5325 | #[repr (C)] |
5326 | pub struct GProxyResolverInterface { |
5327 | pub g_iface: gobject::GTypeInterface, |
5328 | pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>, |
5329 | pub lookup: Option< |
5330 | unsafe extern "C" fn( |
5331 | *mut GProxyResolver, |
5332 | *const c_char, |
5333 | *mut GCancellable, |
5334 | *mut *mut glib::GError, |
5335 | ) -> *mut *mut c_char, |
5336 | >, |
5337 | pub lookup_async: Option< |
5338 | unsafe extern "C" fn( |
5339 | *mut GProxyResolver, |
5340 | *const c_char, |
5341 | *mut GCancellable, |
5342 | GAsyncReadyCallback, |
5343 | gpointer, |
5344 | ), |
5345 | >, |
5346 | pub lookup_finish: Option< |
5347 | unsafe extern "C" fn( |
5348 | *mut GProxyResolver, |
5349 | *mut GAsyncResult, |
5350 | *mut *mut glib::GError, |
5351 | ) -> *mut *mut c_char, |
5352 | >, |
5353 | } |
5354 | |
5355 | impl ::std::fmt::Debug for GProxyResolverInterface { |
5356 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5357 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GProxyResolverInterface @ {self:p}" )) |
5358 | .field("g_iface" , &self.g_iface) |
5359 | .field("is_supported" , &self.is_supported) |
5360 | .field("lookup" , &self.lookup) |
5361 | .field("lookup_async" , &self.lookup_async) |
5362 | .field(name:"lookup_finish" , &self.lookup_finish) |
5363 | .finish() |
5364 | } |
5365 | } |
5366 | |
5367 | #[derive (Copy, Clone)] |
5368 | #[repr (C)] |
5369 | pub struct GRemoteActionGroupInterface { |
5370 | pub g_iface: gobject::GTypeInterface, |
5371 | pub activate_action_full: Option< |
5372 | unsafe extern "C" fn( |
5373 | *mut GRemoteActionGroup, |
5374 | *const c_char, |
5375 | *mut glib::GVariant, |
5376 | *mut glib::GVariant, |
5377 | ), |
5378 | >, |
5379 | pub change_action_state_full: Option< |
5380 | unsafe extern "C" fn( |
5381 | *mut GRemoteActionGroup, |
5382 | *const c_char, |
5383 | *mut glib::GVariant, |
5384 | *mut glib::GVariant, |
5385 | ), |
5386 | >, |
5387 | } |
5388 | |
5389 | impl ::std::fmt::Debug for GRemoteActionGroupInterface { |
5390 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5391 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GRemoteActionGroupInterface @ {self:p}" )) |
5392 | .field("g_iface" , &self.g_iface) |
5393 | .field("activate_action_full" , &self.activate_action_full) |
5394 | .field(name:"change_action_state_full" , &self.change_action_state_full) |
5395 | .finish() |
5396 | } |
5397 | } |
5398 | |
5399 | #[derive (Copy, Clone)] |
5400 | #[repr (C)] |
5401 | pub struct GResolverClass { |
5402 | pub parent_class: gobject::GObjectClass, |
5403 | pub reload: Option<unsafe extern "C" fn(*mut GResolver)>, |
5404 | pub lookup_by_name: Option< |
5405 | unsafe extern "C" fn( |
5406 | *mut GResolver, |
5407 | *const c_char, |
5408 | *mut GCancellable, |
5409 | *mut *mut glib::GError, |
5410 | ) -> *mut glib::GList, |
5411 | >, |
5412 | pub lookup_by_name_async: Option< |
5413 | unsafe extern "C" fn( |
5414 | *mut GResolver, |
5415 | *const c_char, |
5416 | *mut GCancellable, |
5417 | GAsyncReadyCallback, |
5418 | gpointer, |
5419 | ), |
5420 | >, |
5421 | pub lookup_by_name_finish: Option< |
5422 | unsafe extern "C" fn( |
5423 | *mut GResolver, |
5424 | *mut GAsyncResult, |
5425 | *mut *mut glib::GError, |
5426 | ) -> *mut glib::GList, |
5427 | >, |
5428 | pub lookup_by_address: Option< |
5429 | unsafe extern "C" fn( |
5430 | *mut GResolver, |
5431 | *mut GInetAddress, |
5432 | *mut GCancellable, |
5433 | *mut *mut glib::GError, |
5434 | ) -> *mut c_char, |
5435 | >, |
5436 | pub lookup_by_address_async: Option< |
5437 | unsafe extern "C" fn( |
5438 | *mut GResolver, |
5439 | *mut GInetAddress, |
5440 | *mut GCancellable, |
5441 | GAsyncReadyCallback, |
5442 | gpointer, |
5443 | ), |
5444 | >, |
5445 | pub lookup_by_address_finish: Option< |
5446 | unsafe extern "C" fn( |
5447 | *mut GResolver, |
5448 | *mut GAsyncResult, |
5449 | *mut *mut glib::GError, |
5450 | ) -> *mut c_char, |
5451 | >, |
5452 | pub lookup_service: Option< |
5453 | unsafe extern "C" fn( |
5454 | *mut GResolver, |
5455 | *const c_char, |
5456 | *mut GCancellable, |
5457 | *mut *mut glib::GError, |
5458 | ) -> *mut glib::GList, |
5459 | >, |
5460 | pub lookup_service_async: Option< |
5461 | unsafe extern "C" fn( |
5462 | *mut GResolver, |
5463 | *const c_char, |
5464 | *mut GCancellable, |
5465 | GAsyncReadyCallback, |
5466 | gpointer, |
5467 | ), |
5468 | >, |
5469 | pub lookup_service_finish: Option< |
5470 | unsafe extern "C" fn( |
5471 | *mut GResolver, |
5472 | *mut GAsyncResult, |
5473 | *mut *mut glib::GError, |
5474 | ) -> *mut glib::GList, |
5475 | >, |
5476 | pub lookup_records: Option< |
5477 | unsafe extern "C" fn( |
5478 | *mut GResolver, |
5479 | *const c_char, |
5480 | GResolverRecordType, |
5481 | *mut GCancellable, |
5482 | *mut *mut glib::GError, |
5483 | ) -> *mut glib::GList, |
5484 | >, |
5485 | pub lookup_records_async: Option< |
5486 | unsafe extern "C" fn( |
5487 | *mut GResolver, |
5488 | *const c_char, |
5489 | GResolverRecordType, |
5490 | *mut GCancellable, |
5491 | GAsyncReadyCallback, |
5492 | gpointer, |
5493 | ), |
5494 | >, |
5495 | pub lookup_records_finish: Option< |
5496 | unsafe extern "C" fn( |
5497 | *mut GResolver, |
5498 | *mut GAsyncResult, |
5499 | *mut *mut glib::GError, |
5500 | ) -> *mut glib::GList, |
5501 | >, |
5502 | pub lookup_by_name_with_flags_async: Option< |
5503 | unsafe extern "C" fn( |
5504 | *mut GResolver, |
5505 | *const c_char, |
5506 | GResolverNameLookupFlags, |
5507 | *mut GCancellable, |
5508 | GAsyncReadyCallback, |
5509 | gpointer, |
5510 | ), |
5511 | >, |
5512 | pub lookup_by_name_with_flags_finish: Option< |
5513 | unsafe extern "C" fn( |
5514 | *mut GResolver, |
5515 | *mut GAsyncResult, |
5516 | *mut *mut glib::GError, |
5517 | ) -> *mut glib::GList, |
5518 | >, |
5519 | pub lookup_by_name_with_flags: Option< |
5520 | unsafe extern "C" fn( |
5521 | *mut GResolver, |
5522 | *const c_char, |
5523 | GResolverNameLookupFlags, |
5524 | *mut GCancellable, |
5525 | *mut *mut glib::GError, |
5526 | ) -> *mut glib::GList, |
5527 | >, |
5528 | } |
5529 | |
5530 | impl ::std::fmt::Debug for GResolverClass { |
5531 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5532 | f.debug_struct(&format!("GResolverClass @ {self:p}" )) |
5533 | .field("parent_class" , &self.parent_class) |
5534 | .field("reload" , &self.reload) |
5535 | .field("lookup_by_name" , &self.lookup_by_name) |
5536 | .field("lookup_by_name_async" , &self.lookup_by_name_async) |
5537 | .field("lookup_by_name_finish" , &self.lookup_by_name_finish) |
5538 | .field("lookup_by_address" , &self.lookup_by_address) |
5539 | .field("lookup_by_address_async" , &self.lookup_by_address_async) |
5540 | .field("lookup_by_address_finish" , &self.lookup_by_address_finish) |
5541 | .field("lookup_service" , &self.lookup_service) |
5542 | .field("lookup_service_async" , &self.lookup_service_async) |
5543 | .field("lookup_service_finish" , &self.lookup_service_finish) |
5544 | .field("lookup_records" , &self.lookup_records) |
5545 | .field("lookup_records_async" , &self.lookup_records_async) |
5546 | .field("lookup_records_finish" , &self.lookup_records_finish) |
5547 | .field( |
5548 | "lookup_by_name_with_flags_async" , |
5549 | &self.lookup_by_name_with_flags_async, |
5550 | ) |
5551 | .field( |
5552 | "lookup_by_name_with_flags_finish" , |
5553 | &self.lookup_by_name_with_flags_finish, |
5554 | ) |
5555 | .field("lookup_by_name_with_flags" , &self.lookup_by_name_with_flags) |
5556 | .finish() |
5557 | } |
5558 | } |
5559 | |
5560 | #[repr (C)] |
5561 | #[allow (dead_code)] |
5562 | pub struct _GResolverPrivate { |
5563 | _data: [u8; 0], |
5564 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5565 | } |
5566 | |
5567 | pub type GResolverPrivate = _GResolverPrivate; |
5568 | |
5569 | #[repr (C)] |
5570 | #[allow (dead_code)] |
5571 | pub struct GResource { |
5572 | _data: [u8; 0], |
5573 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5574 | } |
5575 | |
5576 | impl ::std::fmt::Debug for GResource { |
5577 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5578 | f.debug_struct(&format!("GResource @ {self:p}" )).finish() |
5579 | } |
5580 | } |
5581 | |
5582 | #[derive (Copy, Clone)] |
5583 | #[repr (C)] |
5584 | pub struct GSeekableIface { |
5585 | pub g_iface: gobject::GTypeInterface, |
5586 | pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>, |
5587 | pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, |
5588 | pub seek: Option< |
5589 | unsafe extern "C" fn( |
5590 | *mut GSeekable, |
5591 | i64, |
5592 | glib::GSeekType, |
5593 | *mut GCancellable, |
5594 | *mut *mut glib::GError, |
5595 | ) -> gboolean, |
5596 | >, |
5597 | pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, |
5598 | pub truncate_fn: Option< |
5599 | unsafe extern "C" fn( |
5600 | *mut GSeekable, |
5601 | i64, |
5602 | *mut GCancellable, |
5603 | *mut *mut glib::GError, |
5604 | ) -> gboolean, |
5605 | >, |
5606 | } |
5607 | |
5608 | impl ::std::fmt::Debug for GSeekableIface { |
5609 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5610 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSeekableIface @ {self:p}" )) |
5611 | .field("g_iface" , &self.g_iface) |
5612 | .field("tell" , &self.tell) |
5613 | .field("can_seek" , &self.can_seek) |
5614 | .field("seek" , &self.seek) |
5615 | .field("can_truncate" , &self.can_truncate) |
5616 | .field(name:"truncate_fn" , &self.truncate_fn) |
5617 | .finish() |
5618 | } |
5619 | } |
5620 | |
5621 | #[derive (Copy, Clone)] |
5622 | #[repr (C)] |
5623 | pub struct GSettingsBackendClass { |
5624 | pub parent_class: gobject::GObjectClass, |
5625 | pub read: Option< |
5626 | unsafe extern "C" fn( |
5627 | *mut GSettingsBackend, |
5628 | *const c_char, |
5629 | *const glib::GVariantType, |
5630 | gboolean, |
5631 | ) -> *mut glib::GVariant, |
5632 | >, |
5633 | pub get_writable: |
5634 | Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>, |
5635 | pub write: Option< |
5636 | unsafe extern "C" fn( |
5637 | *mut GSettingsBackend, |
5638 | *const c_char, |
5639 | *mut glib::GVariant, |
5640 | gpointer, |
5641 | ) -> gboolean, |
5642 | >, |
5643 | pub write_tree: |
5644 | Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>, |
5645 | pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>, |
5646 | pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, |
5647 | pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, |
5648 | pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>, |
5649 | pub get_permission: |
5650 | Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>, |
5651 | pub read_user_value: Option< |
5652 | unsafe extern "C" fn( |
5653 | *mut GSettingsBackend, |
5654 | *const c_char, |
5655 | *const glib::GVariantType, |
5656 | ) -> *mut glib::GVariant, |
5657 | >, |
5658 | pub padding: [gpointer; 23], |
5659 | } |
5660 | |
5661 | impl ::std::fmt::Debug for GSettingsBackendClass { |
5662 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5663 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSettingsBackendClass @ {self:p}" )) |
5664 | .field("parent_class" , &self.parent_class) |
5665 | .field("read" , &self.read) |
5666 | .field("get_writable" , &self.get_writable) |
5667 | .field("write" , &self.write) |
5668 | .field("write_tree" , &self.write_tree) |
5669 | .field("reset" , &self.reset) |
5670 | .field("subscribe" , &self.subscribe) |
5671 | .field("unsubscribe" , &self.unsubscribe) |
5672 | .field("sync" , &self.sync) |
5673 | .field("get_permission" , &self.get_permission) |
5674 | .field(name:"read_user_value" , &self.read_user_value) |
5675 | .finish() |
5676 | } |
5677 | } |
5678 | |
5679 | #[repr (C)] |
5680 | #[allow (dead_code)] |
5681 | pub struct _GSettingsBackendPrivate { |
5682 | _data: [u8; 0], |
5683 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5684 | } |
5685 | |
5686 | pub type GSettingsBackendPrivate = _GSettingsBackendPrivate; |
5687 | |
5688 | #[derive (Copy, Clone)] |
5689 | #[repr (C)] |
5690 | pub struct GSettingsClass { |
5691 | pub parent_class: gobject::GObjectClass, |
5692 | pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, |
5693 | pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, |
5694 | pub writable_change_event: |
5695 | Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>, |
5696 | pub change_event: |
5697 | Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>, |
5698 | pub padding: [gpointer; 20], |
5699 | } |
5700 | |
5701 | impl ::std::fmt::Debug for GSettingsClass { |
5702 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5703 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSettingsClass @ {self:p}" )) |
5704 | .field("parent_class" , &self.parent_class) |
5705 | .field("writable_changed" , &self.writable_changed) |
5706 | .field("changed" , &self.changed) |
5707 | .field("writable_change_event" , &self.writable_change_event) |
5708 | .field("change_event" , &self.change_event) |
5709 | .field(name:"padding" , &self.padding) |
5710 | .finish() |
5711 | } |
5712 | } |
5713 | |
5714 | #[repr (C)] |
5715 | #[allow (dead_code)] |
5716 | pub struct _GSettingsPrivate { |
5717 | _data: [u8; 0], |
5718 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5719 | } |
5720 | |
5721 | pub type GSettingsPrivate = _GSettingsPrivate; |
5722 | |
5723 | #[repr (C)] |
5724 | #[allow (dead_code)] |
5725 | pub struct GSettingsSchema { |
5726 | _data: [u8; 0], |
5727 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5728 | } |
5729 | |
5730 | impl ::std::fmt::Debug for GSettingsSchema { |
5731 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5732 | fDebugStruct<'_, '_>.debug_struct(&format!("GSettingsSchema @ {self:p}" )) |
5733 | .finish() |
5734 | } |
5735 | } |
5736 | |
5737 | #[repr (C)] |
5738 | #[allow (dead_code)] |
5739 | pub struct GSettingsSchemaKey { |
5740 | _data: [u8; 0], |
5741 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5742 | } |
5743 | |
5744 | impl ::std::fmt::Debug for GSettingsSchemaKey { |
5745 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5746 | fDebugStruct<'_, '_>.debug_struct(&format!("GSettingsSchemaKey @ {self:p}" )) |
5747 | .finish() |
5748 | } |
5749 | } |
5750 | |
5751 | #[repr (C)] |
5752 | #[allow (dead_code)] |
5753 | pub struct GSettingsSchemaSource { |
5754 | _data: [u8; 0], |
5755 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5756 | } |
5757 | |
5758 | impl ::std::fmt::Debug for GSettingsSchemaSource { |
5759 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5760 | fDebugStruct<'_, '_>.debug_struct(&format!("GSettingsSchemaSource @ {self:p}" )) |
5761 | .finish() |
5762 | } |
5763 | } |
5764 | |
5765 | #[derive (Copy, Clone)] |
5766 | #[repr (C)] |
5767 | pub struct GSimpleActionGroupClass { |
5768 | pub parent_class: gobject::GObjectClass, |
5769 | pub padding: [gpointer; 12], |
5770 | } |
5771 | |
5772 | impl ::std::fmt::Debug for GSimpleActionGroupClass { |
5773 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5774 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimpleActionGroupClass @ {self:p}" )) |
5775 | .finish() |
5776 | } |
5777 | } |
5778 | |
5779 | #[repr (C)] |
5780 | #[allow (dead_code)] |
5781 | pub struct _GSimpleActionGroupPrivate { |
5782 | _data: [u8; 0], |
5783 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5784 | } |
5785 | |
5786 | pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate; |
5787 | |
5788 | #[repr (C)] |
5789 | #[allow (dead_code)] |
5790 | pub struct _GSimpleAsyncResultClass { |
5791 | _data: [u8; 0], |
5792 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5793 | } |
5794 | |
5795 | pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass; |
5796 | |
5797 | #[derive (Copy, Clone)] |
5798 | #[repr (C)] |
5799 | pub struct GSimpleProxyResolverClass { |
5800 | pub parent_class: gobject::GObjectClass, |
5801 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
5802 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
5803 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
5804 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5805 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
5806 | } |
5807 | |
5808 | impl ::std::fmt::Debug for GSimpleProxyResolverClass { |
5809 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5810 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSimpleProxyResolverClass @ {self:p}" )) |
5811 | .field("parent_class" , &self.parent_class) |
5812 | .field("_g_reserved1" , &self._g_reserved1) |
5813 | .field("_g_reserved2" , &self._g_reserved2) |
5814 | .field("_g_reserved3" , &self._g_reserved3) |
5815 | .field("_g_reserved4" , &self._g_reserved4) |
5816 | .field(name:"_g_reserved5" , &self._g_reserved5) |
5817 | .finish() |
5818 | } |
5819 | } |
5820 | |
5821 | #[repr (C)] |
5822 | #[allow (dead_code)] |
5823 | pub struct _GSimpleProxyResolverPrivate { |
5824 | _data: [u8; 0], |
5825 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5826 | } |
5827 | |
5828 | pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate; |
5829 | |
5830 | #[derive (Copy, Clone)] |
5831 | #[repr (C)] |
5832 | pub struct GSocketAddressClass { |
5833 | pub parent_class: gobject::GObjectClass, |
5834 | pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>, |
5835 | pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>, |
5836 | pub to_native: Option< |
5837 | unsafe extern "C" fn( |
5838 | *mut GSocketAddress, |
5839 | gpointer, |
5840 | size_t, |
5841 | *mut *mut glib::GError, |
5842 | ) -> gboolean, |
5843 | >, |
5844 | } |
5845 | |
5846 | impl ::std::fmt::Debug for GSocketAddressClass { |
5847 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5848 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketAddressClass @ {self:p}" )) |
5849 | .field("parent_class" , &self.parent_class) |
5850 | .field("get_family" , &self.get_family) |
5851 | .field("get_native_size" , &self.get_native_size) |
5852 | .field(name:"to_native" , &self.to_native) |
5853 | .finish() |
5854 | } |
5855 | } |
5856 | |
5857 | #[derive (Copy, Clone)] |
5858 | #[repr (C)] |
5859 | pub struct GSocketAddressEnumeratorClass { |
5860 | pub parent_class: gobject::GObjectClass, |
5861 | pub next: Option< |
5862 | unsafe extern "C" fn( |
5863 | *mut GSocketAddressEnumerator, |
5864 | *mut GCancellable, |
5865 | *mut *mut glib::GError, |
5866 | ) -> *mut GSocketAddress, |
5867 | >, |
5868 | pub next_async: Option< |
5869 | unsafe extern "C" fn( |
5870 | *mut GSocketAddressEnumerator, |
5871 | *mut GCancellable, |
5872 | GAsyncReadyCallback, |
5873 | gpointer, |
5874 | ), |
5875 | >, |
5876 | pub next_finish: Option< |
5877 | unsafe extern "C" fn( |
5878 | *mut GSocketAddressEnumerator, |
5879 | *mut GAsyncResult, |
5880 | *mut *mut glib::GError, |
5881 | ) -> *mut GSocketAddress, |
5882 | >, |
5883 | } |
5884 | |
5885 | impl ::std::fmt::Debug for GSocketAddressEnumeratorClass { |
5886 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5887 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketAddressEnumeratorClass @ {self:p}" )) |
5888 | .field("next" , &self.next) |
5889 | .field("next_async" , &self.next_async) |
5890 | .field(name:"next_finish" , &self.next_finish) |
5891 | .finish() |
5892 | } |
5893 | } |
5894 | |
5895 | #[derive (Copy, Clone)] |
5896 | #[repr (C)] |
5897 | pub struct GSocketClass { |
5898 | pub parent_class: gobject::GObjectClass, |
5899 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
5900 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
5901 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
5902 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5903 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
5904 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
5905 | pub _g_reserved7: Option<unsafe extern "C" fn()>, |
5906 | pub _g_reserved8: Option<unsafe extern "C" fn()>, |
5907 | pub _g_reserved9: Option<unsafe extern "C" fn()>, |
5908 | pub _g_reserved10: Option<unsafe extern "C" fn()>, |
5909 | } |
5910 | |
5911 | impl ::std::fmt::Debug for GSocketClass { |
5912 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5913 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketClass @ {self:p}" )) |
5914 | .field("parent_class" , &self.parent_class) |
5915 | .field("_g_reserved1" , &self._g_reserved1) |
5916 | .field("_g_reserved2" , &self._g_reserved2) |
5917 | .field("_g_reserved3" , &self._g_reserved3) |
5918 | .field("_g_reserved4" , &self._g_reserved4) |
5919 | .field("_g_reserved5" , &self._g_reserved5) |
5920 | .field("_g_reserved6" , &self._g_reserved6) |
5921 | .field("_g_reserved7" , &self._g_reserved7) |
5922 | .field("_g_reserved8" , &self._g_reserved8) |
5923 | .field("_g_reserved9" , &self._g_reserved9) |
5924 | .field(name:"_g_reserved10" , &self._g_reserved10) |
5925 | .finish() |
5926 | } |
5927 | } |
5928 | |
5929 | #[derive (Copy, Clone)] |
5930 | #[repr (C)] |
5931 | pub struct GSocketClientClass { |
5932 | pub parent_class: gobject::GObjectClass, |
5933 | pub event: Option< |
5934 | unsafe extern "C" fn( |
5935 | *mut GSocketClient, |
5936 | GSocketClientEvent, |
5937 | *mut GSocketConnectable, |
5938 | *mut GIOStream, |
5939 | ), |
5940 | >, |
5941 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
5942 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
5943 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
5944 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5945 | } |
5946 | |
5947 | impl ::std::fmt::Debug for GSocketClientClass { |
5948 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5949 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketClientClass @ {self:p}" )) |
5950 | .field("parent_class" , &self.parent_class) |
5951 | .field("event" , &self.event) |
5952 | .field("_g_reserved1" , &self._g_reserved1) |
5953 | .field("_g_reserved2" , &self._g_reserved2) |
5954 | .field("_g_reserved3" , &self._g_reserved3) |
5955 | .field(name:"_g_reserved4" , &self._g_reserved4) |
5956 | .finish() |
5957 | } |
5958 | } |
5959 | |
5960 | #[repr (C)] |
5961 | #[allow (dead_code)] |
5962 | pub struct _GSocketClientPrivate { |
5963 | _data: [u8; 0], |
5964 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
5965 | } |
5966 | |
5967 | pub type GSocketClientPrivate = _GSocketClientPrivate; |
5968 | |
5969 | #[derive (Copy, Clone)] |
5970 | #[repr (C)] |
5971 | pub struct GSocketConnectableIface { |
5972 | pub g_iface: gobject::GTypeInterface, |
5973 | pub enumerate: |
5974 | Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, |
5975 | pub proxy_enumerate: |
5976 | Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, |
5977 | pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>, |
5978 | } |
5979 | |
5980 | impl ::std::fmt::Debug for GSocketConnectableIface { |
5981 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
5982 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketConnectableIface @ {self:p}" )) |
5983 | .field("g_iface" , &self.g_iface) |
5984 | .field("enumerate" , &self.enumerate) |
5985 | .field("proxy_enumerate" , &self.proxy_enumerate) |
5986 | .field(name:"to_string" , &self.to_string) |
5987 | .finish() |
5988 | } |
5989 | } |
5990 | |
5991 | #[derive (Copy, Clone)] |
5992 | #[repr (C)] |
5993 | pub struct GSocketConnectionClass { |
5994 | pub parent_class: GIOStreamClass, |
5995 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
5996 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
5997 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
5998 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
5999 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6000 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
6001 | } |
6002 | |
6003 | impl ::std::fmt::Debug for GSocketConnectionClass { |
6004 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6005 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketConnectionClass @ {self:p}" )) |
6006 | .field("parent_class" , &self.parent_class) |
6007 | .field("_g_reserved1" , &self._g_reserved1) |
6008 | .field("_g_reserved2" , &self._g_reserved2) |
6009 | .field("_g_reserved3" , &self._g_reserved3) |
6010 | .field("_g_reserved4" , &self._g_reserved4) |
6011 | .field("_g_reserved5" , &self._g_reserved5) |
6012 | .field(name:"_g_reserved6" , &self._g_reserved6) |
6013 | .finish() |
6014 | } |
6015 | } |
6016 | |
6017 | #[repr (C)] |
6018 | #[allow (dead_code)] |
6019 | pub struct _GSocketConnectionPrivate { |
6020 | _data: [u8; 0], |
6021 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6022 | } |
6023 | |
6024 | pub type GSocketConnectionPrivate = _GSocketConnectionPrivate; |
6025 | |
6026 | #[derive (Copy, Clone)] |
6027 | #[repr (C)] |
6028 | pub struct GSocketControlMessageClass { |
6029 | pub parent_class: gobject::GObjectClass, |
6030 | pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>, |
6031 | pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, |
6032 | pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, |
6033 | pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>, |
6034 | pub deserialize: |
6035 | Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>, |
6036 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6037 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6038 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6039 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6040 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6041 | } |
6042 | |
6043 | impl ::std::fmt::Debug for GSocketControlMessageClass { |
6044 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6045 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketControlMessageClass @ {self:p}" )) |
6046 | .field("parent_class" , &self.parent_class) |
6047 | .field("get_size" , &self.get_size) |
6048 | .field("get_level" , &self.get_level) |
6049 | .field("get_type" , &self.get_type) |
6050 | .field("serialize" , &self.serialize) |
6051 | .field("deserialize" , &self.deserialize) |
6052 | .field("_g_reserved1" , &self._g_reserved1) |
6053 | .field("_g_reserved2" , &self._g_reserved2) |
6054 | .field("_g_reserved3" , &self._g_reserved3) |
6055 | .field("_g_reserved4" , &self._g_reserved4) |
6056 | .field(name:"_g_reserved5" , &self._g_reserved5) |
6057 | .finish() |
6058 | } |
6059 | } |
6060 | |
6061 | #[repr (C)] |
6062 | #[allow (dead_code)] |
6063 | pub struct _GSocketControlMessagePrivate { |
6064 | _data: [u8; 0], |
6065 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6066 | } |
6067 | |
6068 | pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate; |
6069 | |
6070 | #[derive (Copy, Clone)] |
6071 | #[repr (C)] |
6072 | pub struct GSocketListenerClass { |
6073 | pub parent_class: gobject::GObjectClass, |
6074 | pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>, |
6075 | pub event: |
6076 | Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>, |
6077 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6078 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6079 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6080 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6081 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
6082 | } |
6083 | |
6084 | impl ::std::fmt::Debug for GSocketListenerClass { |
6085 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6086 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketListenerClass @ {self:p}" )) |
6087 | .field("parent_class" , &self.parent_class) |
6088 | .field("changed" , &self.changed) |
6089 | .field("event" , &self.event) |
6090 | .field("_g_reserved2" , &self._g_reserved2) |
6091 | .field("_g_reserved3" , &self._g_reserved3) |
6092 | .field("_g_reserved4" , &self._g_reserved4) |
6093 | .field("_g_reserved5" , &self._g_reserved5) |
6094 | .field(name:"_g_reserved6" , &self._g_reserved6) |
6095 | .finish() |
6096 | } |
6097 | } |
6098 | |
6099 | #[repr (C)] |
6100 | #[allow (dead_code)] |
6101 | pub struct _GSocketListenerPrivate { |
6102 | _data: [u8; 0], |
6103 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6104 | } |
6105 | |
6106 | pub type GSocketListenerPrivate = _GSocketListenerPrivate; |
6107 | |
6108 | #[repr (C)] |
6109 | #[allow (dead_code)] |
6110 | pub struct _GSocketPrivate { |
6111 | _data: [u8; 0], |
6112 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6113 | } |
6114 | |
6115 | pub type GSocketPrivate = _GSocketPrivate; |
6116 | |
6117 | #[derive (Copy, Clone)] |
6118 | #[repr (C)] |
6119 | pub struct GSocketServiceClass { |
6120 | pub parent_class: GSocketListenerClass, |
6121 | pub incoming: Option< |
6122 | unsafe extern "C" fn( |
6123 | *mut GSocketService, |
6124 | *mut GSocketConnection, |
6125 | *mut gobject::GObject, |
6126 | ) -> gboolean, |
6127 | >, |
6128 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6129 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6130 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6131 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6132 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6133 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
6134 | } |
6135 | |
6136 | impl ::std::fmt::Debug for GSocketServiceClass { |
6137 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6138 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketServiceClass @ {self:p}" )) |
6139 | .field("parent_class" , &self.parent_class) |
6140 | .field("incoming" , &self.incoming) |
6141 | .field("_g_reserved1" , &self._g_reserved1) |
6142 | .field("_g_reserved2" , &self._g_reserved2) |
6143 | .field("_g_reserved3" , &self._g_reserved3) |
6144 | .field("_g_reserved4" , &self._g_reserved4) |
6145 | .field("_g_reserved5" , &self._g_reserved5) |
6146 | .field(name:"_g_reserved6" , &self._g_reserved6) |
6147 | .finish() |
6148 | } |
6149 | } |
6150 | |
6151 | #[repr (C)] |
6152 | #[allow (dead_code)] |
6153 | pub struct _GSocketServicePrivate { |
6154 | _data: [u8; 0], |
6155 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6156 | } |
6157 | |
6158 | pub type GSocketServicePrivate = _GSocketServicePrivate; |
6159 | |
6160 | #[repr (C)] |
6161 | #[allow (dead_code)] |
6162 | pub struct GSrvTarget { |
6163 | _data: [u8; 0], |
6164 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6165 | } |
6166 | |
6167 | impl ::std::fmt::Debug for GSrvTarget { |
6168 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6169 | f.debug_struct(&format!("GSrvTarget @ {self:p}" )).finish() |
6170 | } |
6171 | } |
6172 | |
6173 | #[derive (Copy, Clone)] |
6174 | #[repr (C)] |
6175 | pub struct GStaticResource { |
6176 | pub data: *const u8, |
6177 | pub data_len: size_t, |
6178 | pub resource: *mut GResource, |
6179 | pub next: *mut GStaticResource, |
6180 | pub padding: gpointer, |
6181 | } |
6182 | |
6183 | impl ::std::fmt::Debug for GStaticResource { |
6184 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6185 | fDebugStruct<'_, '_>.debug_struct(&format!("GStaticResource @ {self:p}" )) |
6186 | .finish() |
6187 | } |
6188 | } |
6189 | |
6190 | #[repr (C)] |
6191 | #[allow (dead_code)] |
6192 | pub struct _GTaskClass { |
6193 | _data: [u8; 0], |
6194 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6195 | } |
6196 | |
6197 | pub type GTaskClass = _GTaskClass; |
6198 | |
6199 | #[derive (Copy, Clone)] |
6200 | #[repr (C)] |
6201 | pub struct GTcpConnectionClass { |
6202 | pub parent_class: GSocketConnectionClass, |
6203 | } |
6204 | |
6205 | impl ::std::fmt::Debug for GTcpConnectionClass { |
6206 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6207 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTcpConnectionClass @ {self:p}" )) |
6208 | .field(name:"parent_class" , &self.parent_class) |
6209 | .finish() |
6210 | } |
6211 | } |
6212 | |
6213 | #[repr (C)] |
6214 | #[allow (dead_code)] |
6215 | pub struct _GTcpConnectionPrivate { |
6216 | _data: [u8; 0], |
6217 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6218 | } |
6219 | |
6220 | pub type GTcpConnectionPrivate = _GTcpConnectionPrivate; |
6221 | |
6222 | #[derive (Copy, Clone)] |
6223 | #[repr (C)] |
6224 | pub struct GTcpWrapperConnectionClass { |
6225 | pub parent_class: GTcpConnectionClass, |
6226 | } |
6227 | |
6228 | impl ::std::fmt::Debug for GTcpWrapperConnectionClass { |
6229 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6230 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTcpWrapperConnectionClass @ {self:p}" )) |
6231 | .field(name:"parent_class" , &self.parent_class) |
6232 | .finish() |
6233 | } |
6234 | } |
6235 | |
6236 | #[repr (C)] |
6237 | #[allow (dead_code)] |
6238 | pub struct _GTcpWrapperConnectionPrivate { |
6239 | _data: [u8; 0], |
6240 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6241 | } |
6242 | |
6243 | pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate; |
6244 | |
6245 | #[repr (C)] |
6246 | #[allow (dead_code)] |
6247 | pub struct _GThemedIconClass { |
6248 | _data: [u8; 0], |
6249 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6250 | } |
6251 | |
6252 | pub type GThemedIconClass = _GThemedIconClass; |
6253 | |
6254 | #[derive (Copy, Clone)] |
6255 | #[repr (C)] |
6256 | pub struct GThreadedSocketServiceClass { |
6257 | pub parent_class: GSocketServiceClass, |
6258 | pub run: Option< |
6259 | unsafe extern "C" fn( |
6260 | *mut GThreadedSocketService, |
6261 | *mut GSocketConnection, |
6262 | *mut gobject::GObject, |
6263 | ) -> gboolean, |
6264 | >, |
6265 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6266 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6267 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6268 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6269 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6270 | } |
6271 | |
6272 | impl ::std::fmt::Debug for GThreadedSocketServiceClass { |
6273 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6274 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GThreadedSocketServiceClass @ {self:p}" )) |
6275 | .field("parent_class" , &self.parent_class) |
6276 | .field("run" , &self.run) |
6277 | .field("_g_reserved1" , &self._g_reserved1) |
6278 | .field("_g_reserved2" , &self._g_reserved2) |
6279 | .field("_g_reserved3" , &self._g_reserved3) |
6280 | .field("_g_reserved4" , &self._g_reserved4) |
6281 | .field(name:"_g_reserved5" , &self._g_reserved5) |
6282 | .finish() |
6283 | } |
6284 | } |
6285 | |
6286 | #[repr (C)] |
6287 | #[allow (dead_code)] |
6288 | pub struct _GThreadedSocketServicePrivate { |
6289 | _data: [u8; 0], |
6290 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6291 | } |
6292 | |
6293 | pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate; |
6294 | |
6295 | #[derive (Copy, Clone)] |
6296 | #[repr (C)] |
6297 | pub struct GTlsBackendInterface { |
6298 | pub g_iface: gobject::GTypeInterface, |
6299 | pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, |
6300 | pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>, |
6301 | pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>, |
6302 | pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>, |
6303 | pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>, |
6304 | pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>, |
6305 | pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, |
6306 | pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>, |
6307 | pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>, |
6308 | } |
6309 | |
6310 | impl ::std::fmt::Debug for GTlsBackendInterface { |
6311 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6312 | f.debug_struct(&format!("GTlsBackendInterface @ {self:p}" )) |
6313 | .field("g_iface" , &self.g_iface) |
6314 | .field("supports_tls" , &self.supports_tls) |
6315 | .field("get_certificate_type" , &self.get_certificate_type) |
6316 | .field( |
6317 | "get_client_connection_type" , |
6318 | &self.get_client_connection_type, |
6319 | ) |
6320 | .field( |
6321 | "get_server_connection_type" , |
6322 | &self.get_server_connection_type, |
6323 | ) |
6324 | .field("get_file_database_type" , &self.get_file_database_type) |
6325 | .field("get_default_database" , &self.get_default_database) |
6326 | .field("supports_dtls" , &self.supports_dtls) |
6327 | .field( |
6328 | "get_dtls_client_connection_type" , |
6329 | &self.get_dtls_client_connection_type, |
6330 | ) |
6331 | .field( |
6332 | "get_dtls_server_connection_type" , |
6333 | &self.get_dtls_server_connection_type, |
6334 | ) |
6335 | .finish() |
6336 | } |
6337 | } |
6338 | |
6339 | #[derive (Copy, Clone)] |
6340 | #[repr (C)] |
6341 | pub struct GTlsCertificateClass { |
6342 | pub parent_class: gobject::GObjectClass, |
6343 | pub verify: Option< |
6344 | unsafe extern "C" fn( |
6345 | *mut GTlsCertificate, |
6346 | *mut GSocketConnectable, |
6347 | *mut GTlsCertificate, |
6348 | ) -> GTlsCertificateFlags, |
6349 | >, |
6350 | pub padding: [gpointer; 8], |
6351 | } |
6352 | |
6353 | impl ::std::fmt::Debug for GTlsCertificateClass { |
6354 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6355 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsCertificateClass @ {self:p}" )) |
6356 | .field("parent_class" , &self.parent_class) |
6357 | .field(name:"verify" , &self.verify) |
6358 | .finish() |
6359 | } |
6360 | } |
6361 | |
6362 | #[repr (C)] |
6363 | #[allow (dead_code)] |
6364 | pub struct _GTlsCertificatePrivate { |
6365 | _data: [u8; 0], |
6366 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6367 | } |
6368 | |
6369 | pub type GTlsCertificatePrivate = _GTlsCertificatePrivate; |
6370 | |
6371 | #[derive (Copy, Clone)] |
6372 | #[repr (C)] |
6373 | pub struct GTlsClientConnectionInterface { |
6374 | pub g_iface: gobject::GTypeInterface, |
6375 | pub copy_session_state: |
6376 | Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>, |
6377 | } |
6378 | |
6379 | impl ::std::fmt::Debug for GTlsClientConnectionInterface { |
6380 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6381 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsClientConnectionInterface @ {self:p}" )) |
6382 | .field("g_iface" , &self.g_iface) |
6383 | .field(name:"copy_session_state" , &self.copy_session_state) |
6384 | .finish() |
6385 | } |
6386 | } |
6387 | |
6388 | #[derive (Copy, Clone)] |
6389 | #[repr (C)] |
6390 | pub struct GTlsConnectionClass { |
6391 | pub parent_class: GIOStreamClass, |
6392 | pub accept_certificate: Option< |
6393 | unsafe extern "C" fn( |
6394 | *mut GTlsConnection, |
6395 | *mut GTlsCertificate, |
6396 | GTlsCertificateFlags, |
6397 | ) -> gboolean, |
6398 | >, |
6399 | pub handshake: Option< |
6400 | unsafe extern "C" fn( |
6401 | *mut GTlsConnection, |
6402 | *mut GCancellable, |
6403 | *mut *mut glib::GError, |
6404 | ) -> gboolean, |
6405 | >, |
6406 | pub handshake_async: Option< |
6407 | unsafe extern "C" fn( |
6408 | *mut GTlsConnection, |
6409 | c_int, |
6410 | *mut GCancellable, |
6411 | GAsyncReadyCallback, |
6412 | gpointer, |
6413 | ), |
6414 | >, |
6415 | pub handshake_finish: Option< |
6416 | unsafe extern "C" fn( |
6417 | *mut GTlsConnection, |
6418 | *mut GAsyncResult, |
6419 | *mut *mut glib::GError, |
6420 | ) -> gboolean, |
6421 | >, |
6422 | pub get_binding_data: Option< |
6423 | unsafe extern "C" fn( |
6424 | *mut GTlsConnection, |
6425 | GTlsChannelBindingType, |
6426 | *mut glib::GByteArray, |
6427 | *mut *mut glib::GError, |
6428 | ) -> gboolean, |
6429 | >, |
6430 | pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut GTlsConnection) -> *const c_char>, |
6431 | pub padding: [gpointer; 6], |
6432 | } |
6433 | |
6434 | impl ::std::fmt::Debug for GTlsConnectionClass { |
6435 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6436 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsConnectionClass @ {self:p}" )) |
6437 | .field("parent_class" , &self.parent_class) |
6438 | .field("accept_certificate" , &self.accept_certificate) |
6439 | .field("handshake" , &self.handshake) |
6440 | .field("handshake_async" , &self.handshake_async) |
6441 | .field("handshake_finish" , &self.handshake_finish) |
6442 | .field("get_binding_data" , &self.get_binding_data) |
6443 | .field(name:"get_negotiated_protocol" , &self.get_negotiated_protocol) |
6444 | .finish() |
6445 | } |
6446 | } |
6447 | |
6448 | #[repr (C)] |
6449 | #[allow (dead_code)] |
6450 | pub struct _GTlsConnectionPrivate { |
6451 | _data: [u8; 0], |
6452 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6453 | } |
6454 | |
6455 | pub type GTlsConnectionPrivate = _GTlsConnectionPrivate; |
6456 | |
6457 | #[derive (Copy, Clone)] |
6458 | #[repr (C)] |
6459 | pub struct GTlsDatabaseClass { |
6460 | pub parent_class: gobject::GObjectClass, |
6461 | pub verify_chain: Option< |
6462 | unsafe extern "C" fn( |
6463 | *mut GTlsDatabase, |
6464 | *mut GTlsCertificate, |
6465 | *const c_char, |
6466 | *mut GSocketConnectable, |
6467 | *mut GTlsInteraction, |
6468 | GTlsDatabaseVerifyFlags, |
6469 | *mut GCancellable, |
6470 | *mut *mut glib::GError, |
6471 | ) -> GTlsCertificateFlags, |
6472 | >, |
6473 | pub verify_chain_async: Option< |
6474 | unsafe extern "C" fn( |
6475 | *mut GTlsDatabase, |
6476 | *mut GTlsCertificate, |
6477 | *const c_char, |
6478 | *mut GSocketConnectable, |
6479 | *mut GTlsInteraction, |
6480 | GTlsDatabaseVerifyFlags, |
6481 | *mut GCancellable, |
6482 | GAsyncReadyCallback, |
6483 | gpointer, |
6484 | ), |
6485 | >, |
6486 | pub verify_chain_finish: Option< |
6487 | unsafe extern "C" fn( |
6488 | *mut GTlsDatabase, |
6489 | *mut GAsyncResult, |
6490 | *mut *mut glib::GError, |
6491 | ) -> GTlsCertificateFlags, |
6492 | >, |
6493 | pub create_certificate_handle: |
6494 | Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>, |
6495 | pub lookup_certificate_for_handle: Option< |
6496 | unsafe extern "C" fn( |
6497 | *mut GTlsDatabase, |
6498 | *const c_char, |
6499 | *mut GTlsInteraction, |
6500 | GTlsDatabaseLookupFlags, |
6501 | *mut GCancellable, |
6502 | *mut *mut glib::GError, |
6503 | ) -> *mut GTlsCertificate, |
6504 | >, |
6505 | pub lookup_certificate_for_handle_async: Option< |
6506 | unsafe extern "C" fn( |
6507 | *mut GTlsDatabase, |
6508 | *const c_char, |
6509 | *mut GTlsInteraction, |
6510 | GTlsDatabaseLookupFlags, |
6511 | *mut GCancellable, |
6512 | GAsyncReadyCallback, |
6513 | gpointer, |
6514 | ), |
6515 | >, |
6516 | pub lookup_certificate_for_handle_finish: Option< |
6517 | unsafe extern "C" fn( |
6518 | *mut GTlsDatabase, |
6519 | *mut GAsyncResult, |
6520 | *mut *mut glib::GError, |
6521 | ) -> *mut GTlsCertificate, |
6522 | >, |
6523 | pub lookup_certificate_issuer: Option< |
6524 | unsafe extern "C" fn( |
6525 | *mut GTlsDatabase, |
6526 | *mut GTlsCertificate, |
6527 | *mut GTlsInteraction, |
6528 | GTlsDatabaseLookupFlags, |
6529 | *mut GCancellable, |
6530 | *mut *mut glib::GError, |
6531 | ) -> *mut GTlsCertificate, |
6532 | >, |
6533 | pub lookup_certificate_issuer_async: Option< |
6534 | unsafe extern "C" fn( |
6535 | *mut GTlsDatabase, |
6536 | *mut GTlsCertificate, |
6537 | *mut GTlsInteraction, |
6538 | GTlsDatabaseLookupFlags, |
6539 | *mut GCancellable, |
6540 | GAsyncReadyCallback, |
6541 | gpointer, |
6542 | ), |
6543 | >, |
6544 | pub lookup_certificate_issuer_finish: Option< |
6545 | unsafe extern "C" fn( |
6546 | *mut GTlsDatabase, |
6547 | *mut GAsyncResult, |
6548 | *mut *mut glib::GError, |
6549 | ) -> *mut GTlsCertificate, |
6550 | >, |
6551 | pub lookup_certificates_issued_by: Option< |
6552 | unsafe extern "C" fn( |
6553 | *mut GTlsDatabase, |
6554 | *mut glib::GByteArray, |
6555 | *mut GTlsInteraction, |
6556 | GTlsDatabaseLookupFlags, |
6557 | *mut GCancellable, |
6558 | *mut *mut glib::GError, |
6559 | ) -> *mut glib::GList, |
6560 | >, |
6561 | pub lookup_certificates_issued_by_async: Option< |
6562 | unsafe extern "C" fn( |
6563 | *mut GTlsDatabase, |
6564 | *mut glib::GByteArray, |
6565 | *mut GTlsInteraction, |
6566 | GTlsDatabaseLookupFlags, |
6567 | *mut GCancellable, |
6568 | GAsyncReadyCallback, |
6569 | gpointer, |
6570 | ), |
6571 | >, |
6572 | pub lookup_certificates_issued_by_finish: Option< |
6573 | unsafe extern "C" fn( |
6574 | *mut GTlsDatabase, |
6575 | *mut GAsyncResult, |
6576 | *mut *mut glib::GError, |
6577 | ) -> *mut glib::GList, |
6578 | >, |
6579 | pub padding: [gpointer; 16], |
6580 | } |
6581 | |
6582 | impl ::std::fmt::Debug for GTlsDatabaseClass { |
6583 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6584 | f.debug_struct(&format!("GTlsDatabaseClass @ {self:p}" )) |
6585 | .field("parent_class" , &self.parent_class) |
6586 | .field("verify_chain" , &self.verify_chain) |
6587 | .field("verify_chain_async" , &self.verify_chain_async) |
6588 | .field("verify_chain_finish" , &self.verify_chain_finish) |
6589 | .field("create_certificate_handle" , &self.create_certificate_handle) |
6590 | .field( |
6591 | "lookup_certificate_for_handle" , |
6592 | &self.lookup_certificate_for_handle, |
6593 | ) |
6594 | .field( |
6595 | "lookup_certificate_for_handle_async" , |
6596 | &self.lookup_certificate_for_handle_async, |
6597 | ) |
6598 | .field( |
6599 | "lookup_certificate_for_handle_finish" , |
6600 | &self.lookup_certificate_for_handle_finish, |
6601 | ) |
6602 | .field("lookup_certificate_issuer" , &self.lookup_certificate_issuer) |
6603 | .field( |
6604 | "lookup_certificate_issuer_async" , |
6605 | &self.lookup_certificate_issuer_async, |
6606 | ) |
6607 | .field( |
6608 | "lookup_certificate_issuer_finish" , |
6609 | &self.lookup_certificate_issuer_finish, |
6610 | ) |
6611 | .field( |
6612 | "lookup_certificates_issued_by" , |
6613 | &self.lookup_certificates_issued_by, |
6614 | ) |
6615 | .field( |
6616 | "lookup_certificates_issued_by_async" , |
6617 | &self.lookup_certificates_issued_by_async, |
6618 | ) |
6619 | .field( |
6620 | "lookup_certificates_issued_by_finish" , |
6621 | &self.lookup_certificates_issued_by_finish, |
6622 | ) |
6623 | .finish() |
6624 | } |
6625 | } |
6626 | |
6627 | #[repr (C)] |
6628 | #[allow (dead_code)] |
6629 | pub struct _GTlsDatabasePrivate { |
6630 | _data: [u8; 0], |
6631 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6632 | } |
6633 | |
6634 | pub type GTlsDatabasePrivate = _GTlsDatabasePrivate; |
6635 | |
6636 | #[derive (Copy, Clone)] |
6637 | #[repr (C)] |
6638 | pub struct GTlsFileDatabaseInterface { |
6639 | pub g_iface: gobject::GTypeInterface, |
6640 | pub padding: [gpointer; 8], |
6641 | } |
6642 | |
6643 | impl ::std::fmt::Debug for GTlsFileDatabaseInterface { |
6644 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6645 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsFileDatabaseInterface @ {self:p}" )) |
6646 | .field(name:"g_iface" , &self.g_iface) |
6647 | .finish() |
6648 | } |
6649 | } |
6650 | |
6651 | #[derive (Copy, Clone)] |
6652 | #[repr (C)] |
6653 | pub struct GTlsInteractionClass { |
6654 | pub parent_class: gobject::GObjectClass, |
6655 | pub ask_password: Option< |
6656 | unsafe extern "C" fn( |
6657 | *mut GTlsInteraction, |
6658 | *mut GTlsPassword, |
6659 | *mut GCancellable, |
6660 | *mut *mut glib::GError, |
6661 | ) -> GTlsInteractionResult, |
6662 | >, |
6663 | pub ask_password_async: Option< |
6664 | unsafe extern "C" fn( |
6665 | *mut GTlsInteraction, |
6666 | *mut GTlsPassword, |
6667 | *mut GCancellable, |
6668 | GAsyncReadyCallback, |
6669 | gpointer, |
6670 | ), |
6671 | >, |
6672 | pub ask_password_finish: Option< |
6673 | unsafe extern "C" fn( |
6674 | *mut GTlsInteraction, |
6675 | *mut GAsyncResult, |
6676 | *mut *mut glib::GError, |
6677 | ) -> GTlsInteractionResult, |
6678 | >, |
6679 | pub request_certificate: Option< |
6680 | unsafe extern "C" fn( |
6681 | *mut GTlsInteraction, |
6682 | *mut GTlsConnection, |
6683 | GTlsCertificateRequestFlags, |
6684 | *mut GCancellable, |
6685 | *mut *mut glib::GError, |
6686 | ) -> GTlsInteractionResult, |
6687 | >, |
6688 | pub request_certificate_async: Option< |
6689 | unsafe extern "C" fn( |
6690 | *mut GTlsInteraction, |
6691 | *mut GTlsConnection, |
6692 | GTlsCertificateRequestFlags, |
6693 | *mut GCancellable, |
6694 | GAsyncReadyCallback, |
6695 | gpointer, |
6696 | ), |
6697 | >, |
6698 | pub request_certificate_finish: Option< |
6699 | unsafe extern "C" fn( |
6700 | *mut GTlsInteraction, |
6701 | *mut GAsyncResult, |
6702 | *mut *mut glib::GError, |
6703 | ) -> GTlsInteractionResult, |
6704 | >, |
6705 | pub padding: [gpointer; 21], |
6706 | } |
6707 | |
6708 | impl ::std::fmt::Debug for GTlsInteractionClass { |
6709 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6710 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsInteractionClass @ {self:p}" )) |
6711 | .field("ask_password" , &self.ask_password) |
6712 | .field("ask_password_async" , &self.ask_password_async) |
6713 | .field("ask_password_finish" , &self.ask_password_finish) |
6714 | .field("request_certificate" , &self.request_certificate) |
6715 | .field("request_certificate_async" , &self.request_certificate_async) |
6716 | .field( |
6717 | name:"request_certificate_finish" , |
6718 | &self.request_certificate_finish, |
6719 | ) |
6720 | .finish() |
6721 | } |
6722 | } |
6723 | |
6724 | #[repr (C)] |
6725 | #[allow (dead_code)] |
6726 | pub struct _GTlsInteractionPrivate { |
6727 | _data: [u8; 0], |
6728 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6729 | } |
6730 | |
6731 | pub type GTlsInteractionPrivate = _GTlsInteractionPrivate; |
6732 | |
6733 | #[derive (Copy, Clone)] |
6734 | #[repr (C)] |
6735 | pub struct GTlsPasswordClass { |
6736 | pub parent_class: gobject::GObjectClass, |
6737 | pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>, |
6738 | pub set_value: |
6739 | Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>, |
6740 | pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>, |
6741 | pub padding: [gpointer; 4], |
6742 | } |
6743 | |
6744 | impl ::std::fmt::Debug for GTlsPasswordClass { |
6745 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6746 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsPasswordClass @ {self:p}" )) |
6747 | .field("parent_class" , &self.parent_class) |
6748 | .field("get_value" , &self.get_value) |
6749 | .field("set_value" , &self.set_value) |
6750 | .field(name:"get_default_warning" , &self.get_default_warning) |
6751 | .finish() |
6752 | } |
6753 | } |
6754 | |
6755 | #[repr (C)] |
6756 | #[allow (dead_code)] |
6757 | pub struct _GTlsPasswordPrivate { |
6758 | _data: [u8; 0], |
6759 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6760 | } |
6761 | |
6762 | pub type GTlsPasswordPrivate = _GTlsPasswordPrivate; |
6763 | |
6764 | #[derive (Copy, Clone)] |
6765 | #[repr (C)] |
6766 | pub struct GTlsServerConnectionInterface { |
6767 | pub g_iface: gobject::GTypeInterface, |
6768 | } |
6769 | |
6770 | impl ::std::fmt::Debug for GTlsServerConnectionInterface { |
6771 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6772 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsServerConnectionInterface @ {self:p}" )) |
6773 | .field(name:"g_iface" , &self.g_iface) |
6774 | .finish() |
6775 | } |
6776 | } |
6777 | |
6778 | #[derive (Copy, Clone)] |
6779 | #[repr (C)] |
6780 | pub struct GUnixConnectionClass { |
6781 | pub parent_class: GSocketConnectionClass, |
6782 | } |
6783 | |
6784 | impl ::std::fmt::Debug for GUnixConnectionClass { |
6785 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6786 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixConnectionClass @ {self:p}" )) |
6787 | .field(name:"parent_class" , &self.parent_class) |
6788 | .finish() |
6789 | } |
6790 | } |
6791 | |
6792 | #[repr (C)] |
6793 | #[allow (dead_code)] |
6794 | pub struct _GUnixConnectionPrivate { |
6795 | _data: [u8; 0], |
6796 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6797 | } |
6798 | |
6799 | pub type GUnixConnectionPrivate = _GUnixConnectionPrivate; |
6800 | |
6801 | #[derive (Copy, Clone)] |
6802 | #[repr (C)] |
6803 | pub struct GUnixCredentialsMessageClass { |
6804 | pub parent_class: GSocketControlMessageClass, |
6805 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6806 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6807 | } |
6808 | |
6809 | impl ::std::fmt::Debug for GUnixCredentialsMessageClass { |
6810 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6811 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixCredentialsMessageClass @ {self:p}" )) |
6812 | .field("parent_class" , &self.parent_class) |
6813 | .field("_g_reserved1" , &self._g_reserved1) |
6814 | .field(name:"_g_reserved2" , &self._g_reserved2) |
6815 | .finish() |
6816 | } |
6817 | } |
6818 | |
6819 | #[repr (C)] |
6820 | #[allow (dead_code)] |
6821 | pub struct _GUnixCredentialsMessagePrivate { |
6822 | _data: [u8; 0], |
6823 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6824 | } |
6825 | |
6826 | pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate; |
6827 | |
6828 | #[derive (Copy, Clone)] |
6829 | #[repr (C)] |
6830 | pub struct GUnixFDListClass { |
6831 | pub parent_class: gobject::GObjectClass, |
6832 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6833 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6834 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6835 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6836 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6837 | } |
6838 | |
6839 | impl ::std::fmt::Debug for GUnixFDListClass { |
6840 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6841 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixFDListClass @ {self:p}" )) |
6842 | .field("parent_class" , &self.parent_class) |
6843 | .field("_g_reserved1" , &self._g_reserved1) |
6844 | .field("_g_reserved2" , &self._g_reserved2) |
6845 | .field("_g_reserved3" , &self._g_reserved3) |
6846 | .field("_g_reserved4" , &self._g_reserved4) |
6847 | .field(name:"_g_reserved5" , &self._g_reserved5) |
6848 | .finish() |
6849 | } |
6850 | } |
6851 | |
6852 | #[repr (C)] |
6853 | #[allow (dead_code)] |
6854 | pub struct _GUnixFDListPrivate { |
6855 | _data: [u8; 0], |
6856 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6857 | } |
6858 | |
6859 | pub type GUnixFDListPrivate = _GUnixFDListPrivate; |
6860 | |
6861 | #[derive (Copy, Clone)] |
6862 | #[repr (C)] |
6863 | pub struct GUnixFDMessageClass { |
6864 | pub parent_class: GSocketControlMessageClass, |
6865 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6866 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6867 | } |
6868 | |
6869 | impl ::std::fmt::Debug for GUnixFDMessageClass { |
6870 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6871 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixFDMessageClass @ {self:p}" )) |
6872 | .field("parent_class" , &self.parent_class) |
6873 | .field("_g_reserved1" , &self._g_reserved1) |
6874 | .field(name:"_g_reserved2" , &self._g_reserved2) |
6875 | .finish() |
6876 | } |
6877 | } |
6878 | |
6879 | #[repr (C)] |
6880 | #[allow (dead_code)] |
6881 | pub struct _GUnixFDMessagePrivate { |
6882 | _data: [u8; 0], |
6883 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6884 | } |
6885 | |
6886 | pub type GUnixFDMessagePrivate = _GUnixFDMessagePrivate; |
6887 | |
6888 | #[derive (Copy, Clone)] |
6889 | #[repr (C)] |
6890 | pub struct GUnixInputStreamClass { |
6891 | pub parent_class: GInputStreamClass, |
6892 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6893 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6894 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6895 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6896 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6897 | } |
6898 | |
6899 | impl ::std::fmt::Debug for GUnixInputStreamClass { |
6900 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6901 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixInputStreamClass @ {self:p}" )) |
6902 | .field("parent_class" , &self.parent_class) |
6903 | .field("_g_reserved1" , &self._g_reserved1) |
6904 | .field("_g_reserved2" , &self._g_reserved2) |
6905 | .field("_g_reserved3" , &self._g_reserved3) |
6906 | .field("_g_reserved4" , &self._g_reserved4) |
6907 | .field(name:"_g_reserved5" , &self._g_reserved5) |
6908 | .finish() |
6909 | } |
6910 | } |
6911 | |
6912 | #[repr (C)] |
6913 | #[allow (dead_code)] |
6914 | pub struct _GUnixInputStreamPrivate { |
6915 | _data: [u8; 0], |
6916 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6917 | } |
6918 | |
6919 | pub type GUnixInputStreamPrivate = _GUnixInputStreamPrivate; |
6920 | |
6921 | #[repr (C)] |
6922 | #[allow (dead_code)] |
6923 | pub struct GUnixMountEntry { |
6924 | _data: [u8; 0], |
6925 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6926 | } |
6927 | |
6928 | impl ::std::fmt::Debug for GUnixMountEntry { |
6929 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6930 | fDebugStruct<'_, '_>.debug_struct(&format!("GUnixMountEntry @ {self:p}" )) |
6931 | .finish() |
6932 | } |
6933 | } |
6934 | |
6935 | #[repr (C)] |
6936 | #[allow (dead_code)] |
6937 | pub struct _GUnixMountMonitorClass { |
6938 | _data: [u8; 0], |
6939 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6940 | } |
6941 | |
6942 | pub type GUnixMountMonitorClass = _GUnixMountMonitorClass; |
6943 | |
6944 | #[repr (C)] |
6945 | #[allow (dead_code)] |
6946 | pub struct GUnixMountPoint { |
6947 | _data: [u8; 0], |
6948 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6949 | } |
6950 | |
6951 | impl ::std::fmt::Debug for GUnixMountPoint { |
6952 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6953 | fDebugStruct<'_, '_>.debug_struct(&format!("GUnixMountPoint @ {self:p}" )) |
6954 | .finish() |
6955 | } |
6956 | } |
6957 | |
6958 | #[derive (Copy, Clone)] |
6959 | #[repr (C)] |
6960 | pub struct GUnixOutputStreamClass { |
6961 | pub parent_class: GOutputStreamClass, |
6962 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
6963 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
6964 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
6965 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
6966 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
6967 | } |
6968 | |
6969 | impl ::std::fmt::Debug for GUnixOutputStreamClass { |
6970 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6971 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixOutputStreamClass @ {self:p}" )) |
6972 | .field("parent_class" , &self.parent_class) |
6973 | .field("_g_reserved1" , &self._g_reserved1) |
6974 | .field("_g_reserved2" , &self._g_reserved2) |
6975 | .field("_g_reserved3" , &self._g_reserved3) |
6976 | .field("_g_reserved4" , &self._g_reserved4) |
6977 | .field(name:"_g_reserved5" , &self._g_reserved5) |
6978 | .finish() |
6979 | } |
6980 | } |
6981 | |
6982 | #[repr (C)] |
6983 | #[allow (dead_code)] |
6984 | pub struct _GUnixOutputStreamPrivate { |
6985 | _data: [u8; 0], |
6986 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
6987 | } |
6988 | |
6989 | pub type GUnixOutputStreamPrivate = _GUnixOutputStreamPrivate; |
6990 | |
6991 | #[derive (Copy, Clone)] |
6992 | #[repr (C)] |
6993 | pub struct GUnixSocketAddressClass { |
6994 | pub parent_class: GSocketAddressClass, |
6995 | } |
6996 | |
6997 | impl ::std::fmt::Debug for GUnixSocketAddressClass { |
6998 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
6999 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixSocketAddressClass @ {self:p}" )) |
7000 | .field(name:"parent_class" , &self.parent_class) |
7001 | .finish() |
7002 | } |
7003 | } |
7004 | |
7005 | #[repr (C)] |
7006 | #[allow (dead_code)] |
7007 | pub struct _GUnixSocketAddressPrivate { |
7008 | _data: [u8; 0], |
7009 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7010 | } |
7011 | |
7012 | pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate; |
7013 | |
7014 | #[derive (Copy, Clone)] |
7015 | #[repr (C)] |
7016 | pub struct GVfsClass { |
7017 | pub parent_class: gobject::GObjectClass, |
7018 | pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>, |
7019 | pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, |
7020 | pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, |
7021 | pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>, |
7022 | pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, |
7023 | pub local_file_add_info: Option< |
7024 | unsafe extern "C" fn( |
7025 | *mut GVfs, |
7026 | *const c_char, |
7027 | u64, |
7028 | *mut GFileAttributeMatcher, |
7029 | *mut GFileInfo, |
7030 | *mut GCancellable, |
7031 | *mut gpointer, |
7032 | *mut glib::GDestroyNotify, |
7033 | ), |
7034 | >, |
7035 | pub add_writable_namespaces: |
7036 | Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>, |
7037 | pub local_file_set_attributes: Option< |
7038 | unsafe extern "C" fn( |
7039 | *mut GVfs, |
7040 | *const c_char, |
7041 | *mut GFileInfo, |
7042 | GFileQueryInfoFlags, |
7043 | *mut GCancellable, |
7044 | *mut *mut glib::GError, |
7045 | ) -> gboolean, |
7046 | >, |
7047 | pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>, |
7048 | pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>, |
7049 | pub deserialize_icon: |
7050 | Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>, |
7051 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
7052 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
7053 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
7054 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
7055 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
7056 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
7057 | } |
7058 | |
7059 | impl ::std::fmt::Debug for GVfsClass { |
7060 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7061 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GVfsClass @ {self:p}" )) |
7062 | .field("parent_class" , &self.parent_class) |
7063 | .field("is_active" , &self.is_active) |
7064 | .field("get_file_for_path" , &self.get_file_for_path) |
7065 | .field("get_file_for_uri" , &self.get_file_for_uri) |
7066 | .field("get_supported_uri_schemes" , &self.get_supported_uri_schemes) |
7067 | .field("parse_name" , &self.parse_name) |
7068 | .field("local_file_add_info" , &self.local_file_add_info) |
7069 | .field("add_writable_namespaces" , &self.add_writable_namespaces) |
7070 | .field("local_file_set_attributes" , &self.local_file_set_attributes) |
7071 | .field("local_file_removed" , &self.local_file_removed) |
7072 | .field("local_file_moved" , &self.local_file_moved) |
7073 | .field("deserialize_icon" , &self.deserialize_icon) |
7074 | .field("_g_reserved1" , &self._g_reserved1) |
7075 | .field("_g_reserved2" , &self._g_reserved2) |
7076 | .field("_g_reserved3" , &self._g_reserved3) |
7077 | .field("_g_reserved4" , &self._g_reserved4) |
7078 | .field("_g_reserved5" , &self._g_reserved5) |
7079 | .field(name:"_g_reserved6" , &self._g_reserved6) |
7080 | .finish() |
7081 | } |
7082 | } |
7083 | |
7084 | #[derive (Copy, Clone)] |
7085 | #[repr (C)] |
7086 | pub struct GVolumeIface { |
7087 | pub g_iface: gobject::GTypeInterface, |
7088 | pub changed: Option<unsafe extern "C" fn(*mut GVolume)>, |
7089 | pub removed: Option<unsafe extern "C" fn(*mut GVolume)>, |
7090 | pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, |
7091 | pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, |
7092 | pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, |
7093 | pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>, |
7094 | pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>, |
7095 | pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, |
7096 | pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, |
7097 | pub mount_fn: Option< |
7098 | unsafe extern "C" fn( |
7099 | *mut GVolume, |
7100 | GMountMountFlags, |
7101 | *mut GMountOperation, |
7102 | *mut GCancellable, |
7103 | GAsyncReadyCallback, |
7104 | gpointer, |
7105 | ), |
7106 | >, |
7107 | pub mount_finish: Option< |
7108 | unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
7109 | >, |
7110 | pub eject: Option< |
7111 | unsafe extern "C" fn( |
7112 | *mut GVolume, |
7113 | GMountUnmountFlags, |
7114 | *mut GCancellable, |
7115 | GAsyncReadyCallback, |
7116 | gpointer, |
7117 | ), |
7118 | >, |
7119 | pub eject_finish: Option< |
7120 | unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
7121 | >, |
7122 | pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>, |
7123 | pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>, |
7124 | pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, |
7125 | pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>, |
7126 | pub eject_with_operation: Option< |
7127 | unsafe extern "C" fn( |
7128 | *mut GVolume, |
7129 | GMountUnmountFlags, |
7130 | *mut GMountOperation, |
7131 | *mut GCancellable, |
7132 | GAsyncReadyCallback, |
7133 | gpointer, |
7134 | ), |
7135 | >, |
7136 | pub eject_with_operation_finish: Option< |
7137 | unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, |
7138 | >, |
7139 | pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, |
7140 | pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, |
7141 | } |
7142 | |
7143 | impl ::std::fmt::Debug for GVolumeIface { |
7144 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7145 | f.debug_struct(&format!("GVolumeIface @ {self:p}" )) |
7146 | .field("g_iface" , &self.g_iface) |
7147 | .field("changed" , &self.changed) |
7148 | .field("removed" , &self.removed) |
7149 | .field("get_name" , &self.get_name) |
7150 | .field("get_icon" , &self.get_icon) |
7151 | .field("get_uuid" , &self.get_uuid) |
7152 | .field("get_drive" , &self.get_drive) |
7153 | .field("get_mount" , &self.get_mount) |
7154 | .field("can_mount" , &self.can_mount) |
7155 | .field("can_eject" , &self.can_eject) |
7156 | .field("mount_fn" , &self.mount_fn) |
7157 | .field("mount_finish" , &self.mount_finish) |
7158 | .field("eject" , &self.eject) |
7159 | .field("eject_finish" , &self.eject_finish) |
7160 | .field("get_identifier" , &self.get_identifier) |
7161 | .field("enumerate_identifiers" , &self.enumerate_identifiers) |
7162 | .field("should_automount" , &self.should_automount) |
7163 | .field("get_activation_root" , &self.get_activation_root) |
7164 | .field("eject_with_operation" , &self.eject_with_operation) |
7165 | .field( |
7166 | "eject_with_operation_finish" , |
7167 | &self.eject_with_operation_finish, |
7168 | ) |
7169 | .field("get_sort_key" , &self.get_sort_key) |
7170 | .field("get_symbolic_icon" , &self.get_symbolic_icon) |
7171 | .finish() |
7172 | } |
7173 | } |
7174 | |
7175 | #[derive (Copy, Clone)] |
7176 | #[repr (C)] |
7177 | pub struct GVolumeMonitorClass { |
7178 | pub parent_class: gobject::GObjectClass, |
7179 | pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, |
7180 | pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, |
7181 | pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, |
7182 | pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, |
7183 | pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, |
7184 | pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, |
7185 | pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, |
7186 | pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, |
7187 | pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, |
7188 | pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, |
7189 | pub is_supported: Option<unsafe extern "C" fn() -> gboolean>, |
7190 | pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, |
7191 | pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, |
7192 | pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, |
7193 | pub get_volume_for_uuid: |
7194 | Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>, |
7195 | pub get_mount_for_uuid: |
7196 | Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>, |
7197 | pub adopt_orphan_mount: |
7198 | Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>, |
7199 | pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, |
7200 | pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, |
7201 | pub _g_reserved1: Option<unsafe extern "C" fn()>, |
7202 | pub _g_reserved2: Option<unsafe extern "C" fn()>, |
7203 | pub _g_reserved3: Option<unsafe extern "C" fn()>, |
7204 | pub _g_reserved4: Option<unsafe extern "C" fn()>, |
7205 | pub _g_reserved5: Option<unsafe extern "C" fn()>, |
7206 | pub _g_reserved6: Option<unsafe extern "C" fn()>, |
7207 | } |
7208 | |
7209 | impl ::std::fmt::Debug for GVolumeMonitorClass { |
7210 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7211 | f.debug_struct(&format!("GVolumeMonitorClass @ {self:p}" )) |
7212 | .field("parent_class" , &self.parent_class) |
7213 | .field("volume_added" , &self.volume_added) |
7214 | .field("volume_removed" , &self.volume_removed) |
7215 | .field("volume_changed" , &self.volume_changed) |
7216 | .field("mount_added" , &self.mount_added) |
7217 | .field("mount_removed" , &self.mount_removed) |
7218 | .field("mount_pre_unmount" , &self.mount_pre_unmount) |
7219 | .field("mount_changed" , &self.mount_changed) |
7220 | .field("drive_connected" , &self.drive_connected) |
7221 | .field("drive_disconnected" , &self.drive_disconnected) |
7222 | .field("drive_changed" , &self.drive_changed) |
7223 | .field("is_supported" , &self.is_supported) |
7224 | .field("get_connected_drives" , &self.get_connected_drives) |
7225 | .field("get_volumes" , &self.get_volumes) |
7226 | .field("get_mounts" , &self.get_mounts) |
7227 | .field("get_volume_for_uuid" , &self.get_volume_for_uuid) |
7228 | .field("get_mount_for_uuid" , &self.get_mount_for_uuid) |
7229 | .field("adopt_orphan_mount" , &self.adopt_orphan_mount) |
7230 | .field("drive_eject_button" , &self.drive_eject_button) |
7231 | .field("drive_stop_button" , &self.drive_stop_button) |
7232 | .field("_g_reserved1" , &self._g_reserved1) |
7233 | .field("_g_reserved2" , &self._g_reserved2) |
7234 | .field("_g_reserved3" , &self._g_reserved3) |
7235 | .field("_g_reserved4" , &self._g_reserved4) |
7236 | .field("_g_reserved5" , &self._g_reserved5) |
7237 | .field("_g_reserved6" , &self._g_reserved6) |
7238 | .finish() |
7239 | } |
7240 | } |
7241 | |
7242 | #[derive (Copy, Clone)] |
7243 | #[repr (C)] |
7244 | pub struct GZlibCompressorClass { |
7245 | pub parent_class: gobject::GObjectClass, |
7246 | } |
7247 | |
7248 | impl ::std::fmt::Debug for GZlibCompressorClass { |
7249 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7250 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GZlibCompressorClass @ {self:p}" )) |
7251 | .field(name:"parent_class" , &self.parent_class) |
7252 | .finish() |
7253 | } |
7254 | } |
7255 | |
7256 | #[derive (Copy, Clone)] |
7257 | #[repr (C)] |
7258 | pub struct GZlibDecompressorClass { |
7259 | pub parent_class: gobject::GObjectClass, |
7260 | } |
7261 | |
7262 | impl ::std::fmt::Debug for GZlibDecompressorClass { |
7263 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7264 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GZlibDecompressorClass @ {self:p}" )) |
7265 | .field(name:"parent_class" , &self.parent_class) |
7266 | .finish() |
7267 | } |
7268 | } |
7269 | |
7270 | // Classes |
7271 | #[repr (C)] |
7272 | #[allow (dead_code)] |
7273 | pub struct GAppInfoMonitor { |
7274 | _data: [u8; 0], |
7275 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7276 | } |
7277 | |
7278 | impl ::std::fmt::Debug for GAppInfoMonitor { |
7279 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7280 | fDebugStruct<'_, '_>.debug_struct(&format!("GAppInfoMonitor @ {self:p}" )) |
7281 | .finish() |
7282 | } |
7283 | } |
7284 | |
7285 | #[derive (Copy, Clone)] |
7286 | #[repr (C)] |
7287 | pub struct GAppLaunchContext { |
7288 | pub parent_instance: gobject::GObject, |
7289 | pub priv_: *mut GAppLaunchContextPrivate, |
7290 | } |
7291 | |
7292 | impl ::std::fmt::Debug for GAppLaunchContext { |
7293 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7294 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GAppLaunchContext @ {self:p}" )) |
7295 | .field(name:"parent_instance" , &self.parent_instance) |
7296 | .finish() |
7297 | } |
7298 | } |
7299 | |
7300 | #[derive (Copy, Clone)] |
7301 | #[repr (C)] |
7302 | pub struct GApplication { |
7303 | pub parent_instance: gobject::GObject, |
7304 | pub priv_: *mut GApplicationPrivate, |
7305 | } |
7306 | |
7307 | impl ::std::fmt::Debug for GApplication { |
7308 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7309 | f.debug_struct(&format!("GApplication @ {self:p}" )).finish() |
7310 | } |
7311 | } |
7312 | |
7313 | #[derive (Copy, Clone)] |
7314 | #[repr (C)] |
7315 | pub struct GApplicationCommandLine { |
7316 | pub parent_instance: gobject::GObject, |
7317 | pub priv_: *mut GApplicationCommandLinePrivate, |
7318 | } |
7319 | |
7320 | impl ::std::fmt::Debug for GApplicationCommandLine { |
7321 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7322 | fDebugStruct<'_, '_>.debug_struct(&format!("GApplicationCommandLine @ {self:p}" )) |
7323 | .finish() |
7324 | } |
7325 | } |
7326 | |
7327 | #[derive (Copy, Clone)] |
7328 | #[repr (C)] |
7329 | pub struct GBufferedInputStream { |
7330 | pub parent_instance: GFilterInputStream, |
7331 | pub priv_: *mut GBufferedInputStreamPrivate, |
7332 | } |
7333 | |
7334 | impl ::std::fmt::Debug for GBufferedInputStream { |
7335 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7336 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GBufferedInputStream @ {self:p}" )) |
7337 | .field(name:"parent_instance" , &self.parent_instance) |
7338 | .finish() |
7339 | } |
7340 | } |
7341 | |
7342 | #[derive (Copy, Clone)] |
7343 | #[repr (C)] |
7344 | pub struct GBufferedOutputStream { |
7345 | pub parent_instance: GFilterOutputStream, |
7346 | pub priv_: *mut GBufferedOutputStreamPrivate, |
7347 | } |
7348 | |
7349 | impl ::std::fmt::Debug for GBufferedOutputStream { |
7350 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7351 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GBufferedOutputStream @ {self:p}" )) |
7352 | .field("parent_instance" , &self.parent_instance) |
7353 | .field(name:"priv_" , &self.priv_) |
7354 | .finish() |
7355 | } |
7356 | } |
7357 | |
7358 | #[repr (C)] |
7359 | #[allow (dead_code)] |
7360 | pub struct GBytesIcon { |
7361 | _data: [u8; 0], |
7362 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7363 | } |
7364 | |
7365 | impl ::std::fmt::Debug for GBytesIcon { |
7366 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7367 | f.debug_struct(&format!("GBytesIcon @ {self:p}" )).finish() |
7368 | } |
7369 | } |
7370 | |
7371 | #[derive (Copy, Clone)] |
7372 | #[repr (C)] |
7373 | pub struct GCancellable { |
7374 | pub parent_instance: gobject::GObject, |
7375 | pub priv_: *mut GCancellablePrivate, |
7376 | } |
7377 | |
7378 | impl ::std::fmt::Debug for GCancellable { |
7379 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7380 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GCancellable @ {self:p}" )) |
7381 | .field(name:"parent_instance" , &self.parent_instance) |
7382 | .finish() |
7383 | } |
7384 | } |
7385 | |
7386 | #[repr (C)] |
7387 | #[allow (dead_code)] |
7388 | pub struct GCharsetConverter { |
7389 | _data: [u8; 0], |
7390 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7391 | } |
7392 | |
7393 | impl ::std::fmt::Debug for GCharsetConverter { |
7394 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7395 | fDebugStruct<'_, '_>.debug_struct(&format!("GCharsetConverter @ {self:p}" )) |
7396 | .finish() |
7397 | } |
7398 | } |
7399 | |
7400 | #[derive (Copy, Clone)] |
7401 | #[repr (C)] |
7402 | pub struct GConverterInputStream { |
7403 | pub parent_instance: GFilterInputStream, |
7404 | pub priv_: *mut GConverterInputStreamPrivate, |
7405 | } |
7406 | |
7407 | impl ::std::fmt::Debug for GConverterInputStream { |
7408 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7409 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GConverterInputStream @ {self:p}" )) |
7410 | .field(name:"parent_instance" , &self.parent_instance) |
7411 | .finish() |
7412 | } |
7413 | } |
7414 | |
7415 | #[derive (Copy, Clone)] |
7416 | #[repr (C)] |
7417 | pub struct GConverterOutputStream { |
7418 | pub parent_instance: GFilterOutputStream, |
7419 | pub priv_: *mut GConverterOutputStreamPrivate, |
7420 | } |
7421 | |
7422 | impl ::std::fmt::Debug for GConverterOutputStream { |
7423 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7424 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GConverterOutputStream @ {self:p}" )) |
7425 | .field(name:"parent_instance" , &self.parent_instance) |
7426 | .finish() |
7427 | } |
7428 | } |
7429 | |
7430 | #[repr (C)] |
7431 | #[allow (dead_code)] |
7432 | pub struct GCredentials { |
7433 | _data: [u8; 0], |
7434 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7435 | } |
7436 | |
7437 | impl ::std::fmt::Debug for GCredentials { |
7438 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7439 | f.debug_struct(&format!("GCredentials @ {self:p}" )).finish() |
7440 | } |
7441 | } |
7442 | |
7443 | #[repr (C)] |
7444 | #[allow (dead_code)] |
7445 | pub struct GDBusActionGroup { |
7446 | _data: [u8; 0], |
7447 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7448 | } |
7449 | |
7450 | impl ::std::fmt::Debug for GDBusActionGroup { |
7451 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7452 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusActionGroup @ {self:p}" )) |
7453 | .finish() |
7454 | } |
7455 | } |
7456 | |
7457 | #[repr (C)] |
7458 | #[allow (dead_code)] |
7459 | pub struct GDBusAuthObserver { |
7460 | _data: [u8; 0], |
7461 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7462 | } |
7463 | |
7464 | impl ::std::fmt::Debug for GDBusAuthObserver { |
7465 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7466 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusAuthObserver @ {self:p}" )) |
7467 | .finish() |
7468 | } |
7469 | } |
7470 | |
7471 | #[repr (C)] |
7472 | #[allow (dead_code)] |
7473 | pub struct GDBusConnection { |
7474 | _data: [u8; 0], |
7475 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7476 | } |
7477 | |
7478 | impl ::std::fmt::Debug for GDBusConnection { |
7479 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7480 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusConnection @ {self:p}" )) |
7481 | .finish() |
7482 | } |
7483 | } |
7484 | |
7485 | #[derive (Copy, Clone)] |
7486 | #[repr (C)] |
7487 | pub struct GDBusInterfaceSkeleton { |
7488 | pub parent_instance: gobject::GObject, |
7489 | pub priv_: *mut GDBusInterfaceSkeletonPrivate, |
7490 | } |
7491 | |
7492 | impl ::std::fmt::Debug for GDBusInterfaceSkeleton { |
7493 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7494 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusInterfaceSkeleton @ {self:p}" )) |
7495 | .finish() |
7496 | } |
7497 | } |
7498 | |
7499 | #[repr (C)] |
7500 | #[allow (dead_code)] |
7501 | pub struct GDBusMenuModel { |
7502 | _data: [u8; 0], |
7503 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7504 | } |
7505 | |
7506 | impl ::std::fmt::Debug for GDBusMenuModel { |
7507 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7508 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusMenuModel @ {self:p}" )) |
7509 | .finish() |
7510 | } |
7511 | } |
7512 | |
7513 | #[repr (C)] |
7514 | #[allow (dead_code)] |
7515 | pub struct GDBusMessage { |
7516 | _data: [u8; 0], |
7517 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7518 | } |
7519 | |
7520 | impl ::std::fmt::Debug for GDBusMessage { |
7521 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7522 | f.debug_struct(&format!("GDBusMessage @ {self:p}" )).finish() |
7523 | } |
7524 | } |
7525 | |
7526 | #[repr (C)] |
7527 | #[allow (dead_code)] |
7528 | pub struct GDBusMethodInvocation { |
7529 | _data: [u8; 0], |
7530 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7531 | } |
7532 | |
7533 | impl ::std::fmt::Debug for GDBusMethodInvocation { |
7534 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7535 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusMethodInvocation @ {self:p}" )) |
7536 | .finish() |
7537 | } |
7538 | } |
7539 | |
7540 | #[derive (Copy, Clone)] |
7541 | #[repr (C)] |
7542 | pub struct GDBusObjectManagerClient { |
7543 | pub parent_instance: gobject::GObject, |
7544 | pub priv_: *mut GDBusObjectManagerClientPrivate, |
7545 | } |
7546 | |
7547 | impl ::std::fmt::Debug for GDBusObjectManagerClient { |
7548 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7549 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectManagerClient @ {self:p}" )) |
7550 | .finish() |
7551 | } |
7552 | } |
7553 | |
7554 | #[derive (Copy, Clone)] |
7555 | #[repr (C)] |
7556 | pub struct GDBusObjectManagerServer { |
7557 | pub parent_instance: gobject::GObject, |
7558 | pub priv_: *mut GDBusObjectManagerServerPrivate, |
7559 | } |
7560 | |
7561 | impl ::std::fmt::Debug for GDBusObjectManagerServer { |
7562 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7563 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectManagerServer @ {self:p}" )) |
7564 | .finish() |
7565 | } |
7566 | } |
7567 | |
7568 | #[derive (Copy, Clone)] |
7569 | #[repr (C)] |
7570 | pub struct GDBusObjectProxy { |
7571 | pub parent_instance: gobject::GObject, |
7572 | pub priv_: *mut GDBusObjectProxyPrivate, |
7573 | } |
7574 | |
7575 | impl ::std::fmt::Debug for GDBusObjectProxy { |
7576 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7577 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectProxy @ {self:p}" )) |
7578 | .finish() |
7579 | } |
7580 | } |
7581 | |
7582 | #[derive (Copy, Clone)] |
7583 | #[repr (C)] |
7584 | pub struct GDBusObjectSkeleton { |
7585 | pub parent_instance: gobject::GObject, |
7586 | pub priv_: *mut GDBusObjectSkeletonPrivate, |
7587 | } |
7588 | |
7589 | impl ::std::fmt::Debug for GDBusObjectSkeleton { |
7590 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7591 | fDebugStruct<'_, '_>.debug_struct(&format!("GDBusObjectSkeleton @ {self:p}" )) |
7592 | .finish() |
7593 | } |
7594 | } |
7595 | |
7596 | #[derive (Copy, Clone)] |
7597 | #[repr (C)] |
7598 | pub struct GDBusProxy { |
7599 | pub parent_instance: gobject::GObject, |
7600 | pub priv_: *mut GDBusProxyPrivate, |
7601 | } |
7602 | |
7603 | impl ::std::fmt::Debug for GDBusProxy { |
7604 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7605 | f.debug_struct(&format!("GDBusProxy @ {self:p}" )).finish() |
7606 | } |
7607 | } |
7608 | |
7609 | #[repr (C)] |
7610 | #[allow (dead_code)] |
7611 | pub struct GDBusServer { |
7612 | _data: [u8; 0], |
7613 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7614 | } |
7615 | |
7616 | impl ::std::fmt::Debug for GDBusServer { |
7617 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7618 | f.debug_struct(&format!("GDBusServer @ {self:p}" )).finish() |
7619 | } |
7620 | } |
7621 | |
7622 | #[derive (Copy, Clone)] |
7623 | #[repr (C)] |
7624 | pub struct GDataInputStream { |
7625 | pub parent_instance: GBufferedInputStream, |
7626 | pub priv_: *mut GDataInputStreamPrivate, |
7627 | } |
7628 | |
7629 | impl ::std::fmt::Debug for GDataInputStream { |
7630 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7631 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDataInputStream @ {self:p}" )) |
7632 | .field(name:"parent_instance" , &self.parent_instance) |
7633 | .finish() |
7634 | } |
7635 | } |
7636 | |
7637 | #[derive (Copy, Clone)] |
7638 | #[repr (C)] |
7639 | pub struct GDataOutputStream { |
7640 | pub parent_instance: GFilterOutputStream, |
7641 | pub priv_: *mut GDataOutputStreamPrivate, |
7642 | } |
7643 | |
7644 | impl ::std::fmt::Debug for GDataOutputStream { |
7645 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7646 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDataOutputStream @ {self:p}" )) |
7647 | .field(name:"parent_instance" , &self.parent_instance) |
7648 | .finish() |
7649 | } |
7650 | } |
7651 | |
7652 | #[derive (Copy, Clone)] |
7653 | #[repr (C)] |
7654 | pub struct GDebugControllerDBus { |
7655 | pub parent_instance: gobject::GObject, |
7656 | } |
7657 | |
7658 | impl ::std::fmt::Debug for GDebugControllerDBus { |
7659 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7660 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GDebugControllerDBus @ {self:p}" )) |
7661 | .field(name:"parent_instance" , &self.parent_instance) |
7662 | .finish() |
7663 | } |
7664 | } |
7665 | |
7666 | #[repr (C)] |
7667 | #[allow (dead_code)] |
7668 | pub struct GDesktopAppInfo { |
7669 | _data: [u8; 0], |
7670 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7671 | } |
7672 | |
7673 | impl ::std::fmt::Debug for GDesktopAppInfo { |
7674 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7675 | fDebugStruct<'_, '_>.debug_struct(&format!("GDesktopAppInfo @ {self:p}" )) |
7676 | .finish() |
7677 | } |
7678 | } |
7679 | |
7680 | #[repr (C)] |
7681 | #[allow (dead_code)] |
7682 | pub struct GEmblem { |
7683 | _data: [u8; 0], |
7684 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7685 | } |
7686 | |
7687 | impl ::std::fmt::Debug for GEmblem { |
7688 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7689 | f.debug_struct(&format!("GEmblem @ {self:p}" )).finish() |
7690 | } |
7691 | } |
7692 | |
7693 | #[derive (Copy, Clone)] |
7694 | #[repr (C)] |
7695 | pub struct GEmblemedIcon { |
7696 | pub parent_instance: gobject::GObject, |
7697 | pub priv_: *mut GEmblemedIconPrivate, |
7698 | } |
7699 | |
7700 | impl ::std::fmt::Debug for GEmblemedIcon { |
7701 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7702 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GEmblemedIcon @ {self:p}" )) |
7703 | .field(name:"parent_instance" , &self.parent_instance) |
7704 | .finish() |
7705 | } |
7706 | } |
7707 | |
7708 | #[derive (Copy, Clone)] |
7709 | #[repr (C)] |
7710 | pub struct GFileEnumerator { |
7711 | pub parent_instance: gobject::GObject, |
7712 | pub priv_: *mut GFileEnumeratorPrivate, |
7713 | } |
7714 | |
7715 | impl ::std::fmt::Debug for GFileEnumerator { |
7716 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7717 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileEnumerator @ {self:p}" )) |
7718 | .field(name:"parent_instance" , &self.parent_instance) |
7719 | .finish() |
7720 | } |
7721 | } |
7722 | |
7723 | #[derive (Copy, Clone)] |
7724 | #[repr (C)] |
7725 | pub struct GFileIOStream { |
7726 | pub parent_instance: GIOStream, |
7727 | pub priv_: *mut GFileIOStreamPrivate, |
7728 | } |
7729 | |
7730 | impl ::std::fmt::Debug for GFileIOStream { |
7731 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7732 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileIOStream @ {self:p}" )) |
7733 | .field(name:"parent_instance" , &self.parent_instance) |
7734 | .finish() |
7735 | } |
7736 | } |
7737 | |
7738 | #[repr (C)] |
7739 | #[allow (dead_code)] |
7740 | pub struct GFileIcon { |
7741 | _data: [u8; 0], |
7742 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7743 | } |
7744 | |
7745 | impl ::std::fmt::Debug for GFileIcon { |
7746 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7747 | f.debug_struct(&format!("GFileIcon @ {self:p}" )).finish() |
7748 | } |
7749 | } |
7750 | |
7751 | #[repr (C)] |
7752 | #[allow (dead_code)] |
7753 | pub struct GFileInfo { |
7754 | _data: [u8; 0], |
7755 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7756 | } |
7757 | |
7758 | impl ::std::fmt::Debug for GFileInfo { |
7759 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7760 | f.debug_struct(&format!("GFileInfo @ {self:p}" )).finish() |
7761 | } |
7762 | } |
7763 | |
7764 | #[derive (Copy, Clone)] |
7765 | #[repr (C)] |
7766 | pub struct GFileInputStream { |
7767 | pub parent_instance: GInputStream, |
7768 | pub priv_: *mut GFileInputStreamPrivate, |
7769 | } |
7770 | |
7771 | impl ::std::fmt::Debug for GFileInputStream { |
7772 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7773 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileInputStream @ {self:p}" )) |
7774 | .field(name:"parent_instance" , &self.parent_instance) |
7775 | .finish() |
7776 | } |
7777 | } |
7778 | |
7779 | #[derive (Copy, Clone)] |
7780 | #[repr (C)] |
7781 | pub struct GFileMonitor { |
7782 | pub parent_instance: gobject::GObject, |
7783 | pub priv_: *mut GFileMonitorPrivate, |
7784 | } |
7785 | |
7786 | impl ::std::fmt::Debug for GFileMonitor { |
7787 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7788 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileMonitor @ {self:p}" )) |
7789 | .field(name:"parent_instance" , &self.parent_instance) |
7790 | .finish() |
7791 | } |
7792 | } |
7793 | |
7794 | #[derive (Copy, Clone)] |
7795 | #[repr (C)] |
7796 | pub struct GFileOutputStream { |
7797 | pub parent_instance: GOutputStream, |
7798 | pub priv_: *mut GFileOutputStreamPrivate, |
7799 | } |
7800 | |
7801 | impl ::std::fmt::Debug for GFileOutputStream { |
7802 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7803 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFileOutputStream @ {self:p}" )) |
7804 | .field(name:"parent_instance" , &self.parent_instance) |
7805 | .finish() |
7806 | } |
7807 | } |
7808 | |
7809 | #[repr (C)] |
7810 | #[allow (dead_code)] |
7811 | pub struct GFilenameCompleter { |
7812 | _data: [u8; 0], |
7813 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7814 | } |
7815 | |
7816 | impl ::std::fmt::Debug for GFilenameCompleter { |
7817 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7818 | fDebugStruct<'_, '_>.debug_struct(&format!("GFilenameCompleter @ {self:p}" )) |
7819 | .finish() |
7820 | } |
7821 | } |
7822 | |
7823 | #[derive (Copy, Clone)] |
7824 | #[repr (C)] |
7825 | pub struct GFilterInputStream { |
7826 | pub parent_instance: GInputStream, |
7827 | pub base_stream: *mut GInputStream, |
7828 | } |
7829 | |
7830 | impl ::std::fmt::Debug for GFilterInputStream { |
7831 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7832 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFilterInputStream @ {self:p}" )) |
7833 | .field("parent_instance" , &self.parent_instance) |
7834 | .field(name:"base_stream" , &self.base_stream) |
7835 | .finish() |
7836 | } |
7837 | } |
7838 | |
7839 | #[derive (Copy, Clone)] |
7840 | #[repr (C)] |
7841 | pub struct GFilterOutputStream { |
7842 | pub parent_instance: GOutputStream, |
7843 | pub base_stream: *mut GOutputStream, |
7844 | } |
7845 | |
7846 | impl ::std::fmt::Debug for GFilterOutputStream { |
7847 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7848 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GFilterOutputStream @ {self:p}" )) |
7849 | .field("parent_instance" , &self.parent_instance) |
7850 | .field(name:"base_stream" , &self.base_stream) |
7851 | .finish() |
7852 | } |
7853 | } |
7854 | |
7855 | #[repr (C)] |
7856 | #[allow (dead_code)] |
7857 | pub struct GIOModule { |
7858 | _data: [u8; 0], |
7859 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7860 | } |
7861 | |
7862 | impl ::std::fmt::Debug for GIOModule { |
7863 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7864 | f.debug_struct(&format!("GIOModule @ {self:p}" )).finish() |
7865 | } |
7866 | } |
7867 | |
7868 | #[derive (Copy, Clone)] |
7869 | #[repr (C)] |
7870 | pub struct GIOStream { |
7871 | pub parent_instance: gobject::GObject, |
7872 | pub priv_: *mut GIOStreamPrivate, |
7873 | } |
7874 | |
7875 | impl ::std::fmt::Debug for GIOStream { |
7876 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7877 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GIOStream @ {self:p}" )) |
7878 | .field(name:"parent_instance" , &self.parent_instance) |
7879 | .finish() |
7880 | } |
7881 | } |
7882 | |
7883 | #[derive (Copy, Clone)] |
7884 | #[repr (C)] |
7885 | pub struct GInetAddress { |
7886 | pub parent_instance: gobject::GObject, |
7887 | pub priv_: *mut GInetAddressPrivate, |
7888 | } |
7889 | |
7890 | impl ::std::fmt::Debug for GInetAddress { |
7891 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7892 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetAddress @ {self:p}" )) |
7893 | .field(name:"parent_instance" , &self.parent_instance) |
7894 | .finish() |
7895 | } |
7896 | } |
7897 | |
7898 | #[derive (Copy, Clone)] |
7899 | #[repr (C)] |
7900 | pub struct GInetAddressMask { |
7901 | pub parent_instance: gobject::GObject, |
7902 | pub priv_: *mut GInetAddressMaskPrivate, |
7903 | } |
7904 | |
7905 | impl ::std::fmt::Debug for GInetAddressMask { |
7906 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7907 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetAddressMask @ {self:p}" )) |
7908 | .field(name:"parent_instance" , &self.parent_instance) |
7909 | .finish() |
7910 | } |
7911 | } |
7912 | |
7913 | #[derive (Copy, Clone)] |
7914 | #[repr (C)] |
7915 | pub struct GInetSocketAddress { |
7916 | pub parent_instance: GSocketAddress, |
7917 | pub priv_: *mut GInetSocketAddressPrivate, |
7918 | } |
7919 | |
7920 | impl ::std::fmt::Debug for GInetSocketAddress { |
7921 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7922 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInetSocketAddress @ {self:p}" )) |
7923 | .field(name:"parent_instance" , &self.parent_instance) |
7924 | .finish() |
7925 | } |
7926 | } |
7927 | |
7928 | #[derive (Copy, Clone)] |
7929 | #[repr (C)] |
7930 | pub struct GInputStream { |
7931 | pub parent_instance: gobject::GObject, |
7932 | pub priv_: *mut GInputStreamPrivate, |
7933 | } |
7934 | |
7935 | impl ::std::fmt::Debug for GInputStream { |
7936 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7937 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GInputStream @ {self:p}" )) |
7938 | .field(name:"parent_instance" , &self.parent_instance) |
7939 | .finish() |
7940 | } |
7941 | } |
7942 | |
7943 | #[repr (C)] |
7944 | #[allow (dead_code)] |
7945 | pub struct GListStore { |
7946 | _data: [u8; 0], |
7947 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7948 | } |
7949 | |
7950 | impl ::std::fmt::Debug for GListStore { |
7951 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7952 | f.debug_struct(&format!("GListStore @ {self:p}" )).finish() |
7953 | } |
7954 | } |
7955 | |
7956 | #[derive (Copy, Clone)] |
7957 | #[repr (C)] |
7958 | pub struct GMemoryInputStream { |
7959 | pub parent_instance: GInputStream, |
7960 | pub priv_: *mut GMemoryInputStreamPrivate, |
7961 | } |
7962 | |
7963 | impl ::std::fmt::Debug for GMemoryInputStream { |
7964 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7965 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMemoryInputStream @ {self:p}" )) |
7966 | .field(name:"parent_instance" , &self.parent_instance) |
7967 | .finish() |
7968 | } |
7969 | } |
7970 | |
7971 | #[derive (Copy, Clone)] |
7972 | #[repr (C)] |
7973 | pub struct GMemoryOutputStream { |
7974 | pub parent_instance: GOutputStream, |
7975 | pub priv_: *mut GMemoryOutputStreamPrivate, |
7976 | } |
7977 | |
7978 | impl ::std::fmt::Debug for GMemoryOutputStream { |
7979 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7980 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMemoryOutputStream @ {self:p}" )) |
7981 | .field(name:"parent_instance" , &self.parent_instance) |
7982 | .finish() |
7983 | } |
7984 | } |
7985 | |
7986 | #[repr (C)] |
7987 | #[allow (dead_code)] |
7988 | pub struct GMenu { |
7989 | _data: [u8; 0], |
7990 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
7991 | } |
7992 | |
7993 | impl ::std::fmt::Debug for GMenu { |
7994 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
7995 | f.debug_struct(&format!("GMenu @ {self:p}" )).finish() |
7996 | } |
7997 | } |
7998 | |
7999 | #[derive (Copy, Clone)] |
8000 | #[repr (C)] |
8001 | pub struct GMenuAttributeIter { |
8002 | pub parent_instance: gobject::GObject, |
8003 | pub priv_: *mut GMenuAttributeIterPrivate, |
8004 | } |
8005 | |
8006 | impl ::std::fmt::Debug for GMenuAttributeIter { |
8007 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8008 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuAttributeIter @ {self:p}" )) |
8009 | .field("parent_instance" , &self.parent_instance) |
8010 | .field(name:"priv_" , &self.priv_) |
8011 | .finish() |
8012 | } |
8013 | } |
8014 | |
8015 | #[repr (C)] |
8016 | #[allow (dead_code)] |
8017 | pub struct GMenuItem { |
8018 | _data: [u8; 0], |
8019 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8020 | } |
8021 | |
8022 | impl ::std::fmt::Debug for GMenuItem { |
8023 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8024 | f.debug_struct(&format!("GMenuItem @ {self:p}" )).finish() |
8025 | } |
8026 | } |
8027 | |
8028 | #[derive (Copy, Clone)] |
8029 | #[repr (C)] |
8030 | pub struct GMenuLinkIter { |
8031 | pub parent_instance: gobject::GObject, |
8032 | pub priv_: *mut GMenuLinkIterPrivate, |
8033 | } |
8034 | |
8035 | impl ::std::fmt::Debug for GMenuLinkIter { |
8036 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8037 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuLinkIter @ {self:p}" )) |
8038 | .field("parent_instance" , &self.parent_instance) |
8039 | .field(name:"priv_" , &self.priv_) |
8040 | .finish() |
8041 | } |
8042 | } |
8043 | |
8044 | #[derive (Copy, Clone)] |
8045 | #[repr (C)] |
8046 | pub struct GMenuModel { |
8047 | pub parent_instance: gobject::GObject, |
8048 | pub priv_: *mut GMenuModelPrivate, |
8049 | } |
8050 | |
8051 | impl ::std::fmt::Debug for GMenuModel { |
8052 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8053 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMenuModel @ {self:p}" )) |
8054 | .field("parent_instance" , &self.parent_instance) |
8055 | .field(name:"priv_" , &self.priv_) |
8056 | .finish() |
8057 | } |
8058 | } |
8059 | |
8060 | #[derive (Copy, Clone)] |
8061 | #[repr (C)] |
8062 | pub struct GMountOperation { |
8063 | pub parent_instance: gobject::GObject, |
8064 | pub priv_: *mut GMountOperationPrivate, |
8065 | } |
8066 | |
8067 | impl ::std::fmt::Debug for GMountOperation { |
8068 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8069 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GMountOperation @ {self:p}" )) |
8070 | .field("parent_instance" , &self.parent_instance) |
8071 | .field(name:"priv_" , &self.priv_) |
8072 | .finish() |
8073 | } |
8074 | } |
8075 | |
8076 | #[derive (Copy, Clone)] |
8077 | #[repr (C)] |
8078 | pub struct GNativeSocketAddress { |
8079 | pub parent_instance: GSocketAddress, |
8080 | pub priv_: *mut GNativeSocketAddressPrivate, |
8081 | } |
8082 | |
8083 | impl ::std::fmt::Debug for GNativeSocketAddress { |
8084 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8085 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNativeSocketAddress @ {self:p}" )) |
8086 | .field(name:"parent_instance" , &self.parent_instance) |
8087 | .finish() |
8088 | } |
8089 | } |
8090 | |
8091 | #[derive (Copy, Clone)] |
8092 | #[repr (C)] |
8093 | pub struct GNativeVolumeMonitor { |
8094 | pub parent_instance: GVolumeMonitor, |
8095 | } |
8096 | |
8097 | impl ::std::fmt::Debug for GNativeVolumeMonitor { |
8098 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8099 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNativeVolumeMonitor @ {self:p}" )) |
8100 | .field(name:"parent_instance" , &self.parent_instance) |
8101 | .finish() |
8102 | } |
8103 | } |
8104 | |
8105 | #[derive (Copy, Clone)] |
8106 | #[repr (C)] |
8107 | pub struct GNetworkAddress { |
8108 | pub parent_instance: gobject::GObject, |
8109 | pub priv_: *mut GNetworkAddressPrivate, |
8110 | } |
8111 | |
8112 | impl ::std::fmt::Debug for GNetworkAddress { |
8113 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8114 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNetworkAddress @ {self:p}" )) |
8115 | .field(name:"parent_instance" , &self.parent_instance) |
8116 | .finish() |
8117 | } |
8118 | } |
8119 | |
8120 | #[derive (Copy, Clone)] |
8121 | #[repr (C)] |
8122 | pub struct GNetworkService { |
8123 | pub parent_instance: gobject::GObject, |
8124 | pub priv_: *mut GNetworkServicePrivate, |
8125 | } |
8126 | |
8127 | impl ::std::fmt::Debug for GNetworkService { |
8128 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8129 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GNetworkService @ {self:p}" )) |
8130 | .field(name:"parent_instance" , &self.parent_instance) |
8131 | .finish() |
8132 | } |
8133 | } |
8134 | |
8135 | #[repr (C)] |
8136 | #[allow (dead_code)] |
8137 | pub struct GNotification { |
8138 | _data: [u8; 0], |
8139 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8140 | } |
8141 | |
8142 | impl ::std::fmt::Debug for GNotification { |
8143 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8144 | fDebugStruct<'_, '_>.debug_struct(&format!("GNotification @ {self:p}" )) |
8145 | .finish() |
8146 | } |
8147 | } |
8148 | |
8149 | #[derive (Copy, Clone)] |
8150 | #[repr (C)] |
8151 | pub struct GOutputStream { |
8152 | pub parent_instance: gobject::GObject, |
8153 | pub priv_: *mut GOutputStreamPrivate, |
8154 | } |
8155 | |
8156 | impl ::std::fmt::Debug for GOutputStream { |
8157 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8158 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GOutputStream @ {self:p}" )) |
8159 | .field(name:"parent_instance" , &self.parent_instance) |
8160 | .finish() |
8161 | } |
8162 | } |
8163 | |
8164 | #[derive (Copy, Clone)] |
8165 | #[repr (C)] |
8166 | pub struct GPermission { |
8167 | pub parent_instance: gobject::GObject, |
8168 | pub priv_: *mut GPermissionPrivate, |
8169 | } |
8170 | |
8171 | impl ::std::fmt::Debug for GPermission { |
8172 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8173 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GPermission @ {self:p}" )) |
8174 | .field(name:"parent_instance" , &self.parent_instance) |
8175 | .finish() |
8176 | } |
8177 | } |
8178 | |
8179 | #[repr (C)] |
8180 | #[allow (dead_code)] |
8181 | pub struct GPropertyAction { |
8182 | _data: [u8; 0], |
8183 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8184 | } |
8185 | |
8186 | impl ::std::fmt::Debug for GPropertyAction { |
8187 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8188 | fDebugStruct<'_, '_>.debug_struct(&format!("GPropertyAction @ {self:p}" )) |
8189 | .finish() |
8190 | } |
8191 | } |
8192 | |
8193 | #[derive (Copy, Clone)] |
8194 | #[repr (C)] |
8195 | pub struct GProxyAddress { |
8196 | pub parent_instance: GInetSocketAddress, |
8197 | pub priv_: *mut GProxyAddressPrivate, |
8198 | } |
8199 | |
8200 | impl ::std::fmt::Debug for GProxyAddress { |
8201 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8202 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GProxyAddress @ {self:p}" )) |
8203 | .field(name:"parent_instance" , &self.parent_instance) |
8204 | .finish() |
8205 | } |
8206 | } |
8207 | |
8208 | #[derive (Copy, Clone)] |
8209 | #[repr (C)] |
8210 | pub struct GProxyAddressEnumerator { |
8211 | pub parent_instance: GSocketAddressEnumerator, |
8212 | pub priv_: *mut GProxyAddressEnumeratorPrivate, |
8213 | } |
8214 | |
8215 | impl ::std::fmt::Debug for GProxyAddressEnumerator { |
8216 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8217 | fDebugStruct<'_, '_>.debug_struct(&format!("GProxyAddressEnumerator @ {self:p}" )) |
8218 | .finish() |
8219 | } |
8220 | } |
8221 | |
8222 | #[derive (Copy, Clone)] |
8223 | #[repr (C)] |
8224 | pub struct GResolver { |
8225 | pub parent_instance: gobject::GObject, |
8226 | pub priv_: *mut GResolverPrivate, |
8227 | } |
8228 | |
8229 | impl ::std::fmt::Debug for GResolver { |
8230 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8231 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GResolver @ {self:p}" )) |
8232 | .field("parent_instance" , &self.parent_instance) |
8233 | .field(name:"priv_" , &self.priv_) |
8234 | .finish() |
8235 | } |
8236 | } |
8237 | |
8238 | #[derive (Copy, Clone)] |
8239 | #[repr (C)] |
8240 | pub struct GSettings { |
8241 | pub parent_instance: gobject::GObject, |
8242 | pub priv_: *mut GSettingsPrivate, |
8243 | } |
8244 | |
8245 | impl ::std::fmt::Debug for GSettings { |
8246 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8247 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSettings @ {self:p}" )) |
8248 | .field("parent_instance" , &self.parent_instance) |
8249 | .field(name:"priv_" , &self.priv_) |
8250 | .finish() |
8251 | } |
8252 | } |
8253 | |
8254 | #[derive (Copy, Clone)] |
8255 | #[repr (C)] |
8256 | pub struct GSettingsBackend { |
8257 | pub parent_instance: gobject::GObject, |
8258 | pub priv_: *mut GSettingsBackendPrivate, |
8259 | } |
8260 | |
8261 | impl ::std::fmt::Debug for GSettingsBackend { |
8262 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8263 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSettingsBackend @ {self:p}" )) |
8264 | .field(name:"parent_instance" , &self.parent_instance) |
8265 | .finish() |
8266 | } |
8267 | } |
8268 | |
8269 | #[repr (C)] |
8270 | #[allow (dead_code)] |
8271 | pub struct GSimpleAction { |
8272 | _data: [u8; 0], |
8273 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8274 | } |
8275 | |
8276 | impl ::std::fmt::Debug for GSimpleAction { |
8277 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8278 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimpleAction @ {self:p}" )) |
8279 | .finish() |
8280 | } |
8281 | } |
8282 | |
8283 | #[derive (Copy, Clone)] |
8284 | #[repr (C)] |
8285 | pub struct GSimpleActionGroup { |
8286 | pub parent_instance: gobject::GObject, |
8287 | pub priv_: *mut GSimpleActionGroupPrivate, |
8288 | } |
8289 | |
8290 | impl ::std::fmt::Debug for GSimpleActionGroup { |
8291 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8292 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimpleActionGroup @ {self:p}" )) |
8293 | .finish() |
8294 | } |
8295 | } |
8296 | |
8297 | #[repr (C)] |
8298 | #[allow (dead_code)] |
8299 | pub struct GSimpleAsyncResult { |
8300 | _data: [u8; 0], |
8301 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8302 | } |
8303 | |
8304 | impl ::std::fmt::Debug for GSimpleAsyncResult { |
8305 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8306 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimpleAsyncResult @ {self:p}" )) |
8307 | .finish() |
8308 | } |
8309 | } |
8310 | |
8311 | #[repr (C)] |
8312 | #[allow (dead_code)] |
8313 | pub struct GSimpleIOStream { |
8314 | _data: [u8; 0], |
8315 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8316 | } |
8317 | |
8318 | impl ::std::fmt::Debug for GSimpleIOStream { |
8319 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8320 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimpleIOStream @ {self:p}" )) |
8321 | .finish() |
8322 | } |
8323 | } |
8324 | |
8325 | #[repr (C)] |
8326 | #[allow (dead_code)] |
8327 | pub struct GSimplePermission { |
8328 | _data: [u8; 0], |
8329 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8330 | } |
8331 | |
8332 | impl ::std::fmt::Debug for GSimplePermission { |
8333 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8334 | fDebugStruct<'_, '_>.debug_struct(&format!("GSimplePermission @ {self:p}" )) |
8335 | .finish() |
8336 | } |
8337 | } |
8338 | |
8339 | #[derive (Copy, Clone)] |
8340 | #[repr (C)] |
8341 | pub struct GSimpleProxyResolver { |
8342 | pub parent_instance: gobject::GObject, |
8343 | pub priv_: *mut GSimpleProxyResolverPrivate, |
8344 | } |
8345 | |
8346 | impl ::std::fmt::Debug for GSimpleProxyResolver { |
8347 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8348 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSimpleProxyResolver @ {self:p}" )) |
8349 | .field(name:"parent_instance" , &self.parent_instance) |
8350 | .finish() |
8351 | } |
8352 | } |
8353 | |
8354 | #[derive (Copy, Clone)] |
8355 | #[repr (C)] |
8356 | pub struct GSocket { |
8357 | pub parent_instance: gobject::GObject, |
8358 | pub priv_: *mut GSocketPrivate, |
8359 | } |
8360 | |
8361 | impl ::std::fmt::Debug for GSocket { |
8362 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8363 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocket @ {self:p}" )) |
8364 | .field("parent_instance" , &self.parent_instance) |
8365 | .field(name:"priv_" , &self.priv_) |
8366 | .finish() |
8367 | } |
8368 | } |
8369 | |
8370 | #[derive (Copy, Clone)] |
8371 | #[repr (C)] |
8372 | pub struct GSocketAddress { |
8373 | pub parent_instance: gobject::GObject, |
8374 | } |
8375 | |
8376 | impl ::std::fmt::Debug for GSocketAddress { |
8377 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8378 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketAddress @ {self:p}" )) |
8379 | .field(name:"parent_instance" , &self.parent_instance) |
8380 | .finish() |
8381 | } |
8382 | } |
8383 | |
8384 | #[derive (Copy, Clone)] |
8385 | #[repr (C)] |
8386 | pub struct GSocketAddressEnumerator { |
8387 | pub parent_instance: gobject::GObject, |
8388 | } |
8389 | |
8390 | impl ::std::fmt::Debug for GSocketAddressEnumerator { |
8391 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8392 | fDebugStruct<'_, '_>.debug_struct(&format!("GSocketAddressEnumerator @ {self:p}" )) |
8393 | .finish() |
8394 | } |
8395 | } |
8396 | |
8397 | #[derive (Copy, Clone)] |
8398 | #[repr (C)] |
8399 | pub struct GSocketClient { |
8400 | pub parent_instance: gobject::GObject, |
8401 | pub priv_: *mut GSocketClientPrivate, |
8402 | } |
8403 | |
8404 | impl ::std::fmt::Debug for GSocketClient { |
8405 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8406 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketClient @ {self:p}" )) |
8407 | .field("parent_instance" , &self.parent_instance) |
8408 | .field(name:"priv_" , &self.priv_) |
8409 | .finish() |
8410 | } |
8411 | } |
8412 | |
8413 | #[derive (Copy, Clone)] |
8414 | #[repr (C)] |
8415 | pub struct GSocketConnection { |
8416 | pub parent_instance: GIOStream, |
8417 | pub priv_: *mut GSocketConnectionPrivate, |
8418 | } |
8419 | |
8420 | impl ::std::fmt::Debug for GSocketConnection { |
8421 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8422 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketConnection @ {self:p}" )) |
8423 | .field("parent_instance" , &self.parent_instance) |
8424 | .field(name:"priv_" , &self.priv_) |
8425 | .finish() |
8426 | } |
8427 | } |
8428 | |
8429 | #[derive (Copy, Clone)] |
8430 | #[repr (C)] |
8431 | pub struct GSocketControlMessage { |
8432 | pub parent_instance: gobject::GObject, |
8433 | pub priv_: *mut GSocketControlMessagePrivate, |
8434 | } |
8435 | |
8436 | impl ::std::fmt::Debug for GSocketControlMessage { |
8437 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8438 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketControlMessage @ {self:p}" )) |
8439 | .field("parent_instance" , &self.parent_instance) |
8440 | .field(name:"priv_" , &self.priv_) |
8441 | .finish() |
8442 | } |
8443 | } |
8444 | |
8445 | #[derive (Copy, Clone)] |
8446 | #[repr (C)] |
8447 | pub struct GSocketListener { |
8448 | pub parent_instance: gobject::GObject, |
8449 | pub priv_: *mut GSocketListenerPrivate, |
8450 | } |
8451 | |
8452 | impl ::std::fmt::Debug for GSocketListener { |
8453 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8454 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketListener @ {self:p}" )) |
8455 | .field("parent_instance" , &self.parent_instance) |
8456 | .field(name:"priv_" , &self.priv_) |
8457 | .finish() |
8458 | } |
8459 | } |
8460 | |
8461 | #[derive (Copy, Clone)] |
8462 | #[repr (C)] |
8463 | pub struct GSocketService { |
8464 | pub parent_instance: GSocketListener, |
8465 | pub priv_: *mut GSocketServicePrivate, |
8466 | } |
8467 | |
8468 | impl ::std::fmt::Debug for GSocketService { |
8469 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8470 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GSocketService @ {self:p}" )) |
8471 | .field("parent_instance" , &self.parent_instance) |
8472 | .field(name:"priv_" , &self.priv_) |
8473 | .finish() |
8474 | } |
8475 | } |
8476 | |
8477 | #[repr (C)] |
8478 | #[allow (dead_code)] |
8479 | pub struct GSubprocess { |
8480 | _data: [u8; 0], |
8481 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8482 | } |
8483 | |
8484 | impl ::std::fmt::Debug for GSubprocess { |
8485 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8486 | f.debug_struct(&format!("GSubprocess @ {self:p}" )).finish() |
8487 | } |
8488 | } |
8489 | |
8490 | #[repr (C)] |
8491 | #[allow (dead_code)] |
8492 | pub struct GSubprocessLauncher { |
8493 | _data: [u8; 0], |
8494 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8495 | } |
8496 | |
8497 | impl ::std::fmt::Debug for GSubprocessLauncher { |
8498 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8499 | fDebugStruct<'_, '_>.debug_struct(&format!("GSubprocessLauncher @ {self:p}" )) |
8500 | .finish() |
8501 | } |
8502 | } |
8503 | |
8504 | #[repr (C)] |
8505 | #[allow (dead_code)] |
8506 | pub struct GTask { |
8507 | _data: [u8; 0], |
8508 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8509 | } |
8510 | |
8511 | impl ::std::fmt::Debug for GTask { |
8512 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8513 | f.debug_struct(&format!("GTask @ {self:p}" )).finish() |
8514 | } |
8515 | } |
8516 | |
8517 | #[derive (Copy, Clone)] |
8518 | #[repr (C)] |
8519 | pub struct GTcpConnection { |
8520 | pub parent_instance: GSocketConnection, |
8521 | pub priv_: *mut GTcpConnectionPrivate, |
8522 | } |
8523 | |
8524 | impl ::std::fmt::Debug for GTcpConnection { |
8525 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8526 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTcpConnection @ {self:p}" )) |
8527 | .field("parent_instance" , &self.parent_instance) |
8528 | .field(name:"priv_" , &self.priv_) |
8529 | .finish() |
8530 | } |
8531 | } |
8532 | |
8533 | #[derive (Copy, Clone)] |
8534 | #[repr (C)] |
8535 | pub struct GTcpWrapperConnection { |
8536 | pub parent_instance: GTcpConnection, |
8537 | pub priv_: *mut GTcpWrapperConnectionPrivate, |
8538 | } |
8539 | |
8540 | impl ::std::fmt::Debug for GTcpWrapperConnection { |
8541 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8542 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTcpWrapperConnection @ {self:p}" )) |
8543 | .field("parent_instance" , &self.parent_instance) |
8544 | .field(name:"priv_" , &self.priv_) |
8545 | .finish() |
8546 | } |
8547 | } |
8548 | |
8549 | #[repr (C)] |
8550 | #[allow (dead_code)] |
8551 | pub struct GTestDBus { |
8552 | _data: [u8; 0], |
8553 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8554 | } |
8555 | |
8556 | impl ::std::fmt::Debug for GTestDBus { |
8557 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8558 | f.debug_struct(&format!("GTestDBus @ {self:p}" )).finish() |
8559 | } |
8560 | } |
8561 | |
8562 | #[repr (C)] |
8563 | #[allow (dead_code)] |
8564 | pub struct GThemedIcon { |
8565 | _data: [u8; 0], |
8566 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8567 | } |
8568 | |
8569 | impl ::std::fmt::Debug for GThemedIcon { |
8570 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8571 | f.debug_struct(&format!("GThemedIcon @ {self:p}" )).finish() |
8572 | } |
8573 | } |
8574 | |
8575 | #[repr (C)] |
8576 | #[allow (dead_code)] |
8577 | pub struct GThreadedResolver { |
8578 | _data: [u8; 0], |
8579 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8580 | } |
8581 | |
8582 | impl ::std::fmt::Debug for GThreadedResolver { |
8583 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8584 | fDebugStruct<'_, '_>.debug_struct(&format!("GThreadedResolver @ {self:p}" )) |
8585 | .finish() |
8586 | } |
8587 | } |
8588 | |
8589 | #[derive (Copy, Clone)] |
8590 | #[repr (C)] |
8591 | pub struct GThreadedSocketService { |
8592 | pub parent_instance: GSocketService, |
8593 | pub priv_: *mut GThreadedSocketServicePrivate, |
8594 | } |
8595 | |
8596 | impl ::std::fmt::Debug for GThreadedSocketService { |
8597 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8598 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GThreadedSocketService @ {self:p}" )) |
8599 | .field("parent_instance" , &self.parent_instance) |
8600 | .field(name:"priv_" , &self.priv_) |
8601 | .finish() |
8602 | } |
8603 | } |
8604 | |
8605 | #[derive (Copy, Clone)] |
8606 | #[repr (C)] |
8607 | pub struct GTlsCertificate { |
8608 | pub parent_instance: gobject::GObject, |
8609 | pub priv_: *mut GTlsCertificatePrivate, |
8610 | } |
8611 | |
8612 | impl ::std::fmt::Debug for GTlsCertificate { |
8613 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8614 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsCertificate @ {self:p}" )) |
8615 | .field("parent_instance" , &self.parent_instance) |
8616 | .field(name:"priv_" , &self.priv_) |
8617 | .finish() |
8618 | } |
8619 | } |
8620 | |
8621 | #[derive (Copy, Clone)] |
8622 | #[repr (C)] |
8623 | pub struct GTlsConnection { |
8624 | pub parent_instance: GIOStream, |
8625 | pub priv_: *mut GTlsConnectionPrivate, |
8626 | } |
8627 | |
8628 | impl ::std::fmt::Debug for GTlsConnection { |
8629 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8630 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsConnection @ {self:p}" )) |
8631 | .field("parent_instance" , &self.parent_instance) |
8632 | .field(name:"priv_" , &self.priv_) |
8633 | .finish() |
8634 | } |
8635 | } |
8636 | |
8637 | #[derive (Copy, Clone)] |
8638 | #[repr (C)] |
8639 | pub struct GTlsDatabase { |
8640 | pub parent_instance: gobject::GObject, |
8641 | pub priv_: *mut GTlsDatabasePrivate, |
8642 | } |
8643 | |
8644 | impl ::std::fmt::Debug for GTlsDatabase { |
8645 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8646 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsDatabase @ {self:p}" )) |
8647 | .field("parent_instance" , &self.parent_instance) |
8648 | .field(name:"priv_" , &self.priv_) |
8649 | .finish() |
8650 | } |
8651 | } |
8652 | |
8653 | #[derive (Copy, Clone)] |
8654 | #[repr (C)] |
8655 | pub struct GTlsInteraction { |
8656 | pub parent_instance: gobject::GObject, |
8657 | pub priv_: *mut GTlsInteractionPrivate, |
8658 | } |
8659 | |
8660 | impl ::std::fmt::Debug for GTlsInteraction { |
8661 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8662 | fDebugStruct<'_, '_>.debug_struct(&format!("GTlsInteraction @ {self:p}" )) |
8663 | .finish() |
8664 | } |
8665 | } |
8666 | |
8667 | #[derive (Copy, Clone)] |
8668 | #[repr (C)] |
8669 | pub struct GTlsPassword { |
8670 | pub parent_instance: gobject::GObject, |
8671 | pub priv_: *mut GTlsPasswordPrivate, |
8672 | } |
8673 | |
8674 | impl ::std::fmt::Debug for GTlsPassword { |
8675 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8676 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GTlsPassword @ {self:p}" )) |
8677 | .field("parent_instance" , &self.parent_instance) |
8678 | .field(name:"priv_" , &self.priv_) |
8679 | .finish() |
8680 | } |
8681 | } |
8682 | |
8683 | #[derive (Copy, Clone)] |
8684 | #[repr (C)] |
8685 | pub struct GUnixConnection { |
8686 | pub parent_instance: GSocketConnection, |
8687 | pub priv_: *mut GUnixConnectionPrivate, |
8688 | } |
8689 | |
8690 | impl ::std::fmt::Debug for GUnixConnection { |
8691 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8692 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixConnection @ {self:p}" )) |
8693 | .field("parent_instance" , &self.parent_instance) |
8694 | .field(name:"priv_" , &self.priv_) |
8695 | .finish() |
8696 | } |
8697 | } |
8698 | |
8699 | #[derive (Copy, Clone)] |
8700 | #[repr (C)] |
8701 | pub struct GUnixCredentialsMessage { |
8702 | pub parent_instance: GSocketControlMessage, |
8703 | pub priv_: *mut GUnixCredentialsMessagePrivate, |
8704 | } |
8705 | |
8706 | impl ::std::fmt::Debug for GUnixCredentialsMessage { |
8707 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8708 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixCredentialsMessage @ {self:p}" )) |
8709 | .field("parent_instance" , &self.parent_instance) |
8710 | .field(name:"priv_" , &self.priv_) |
8711 | .finish() |
8712 | } |
8713 | } |
8714 | |
8715 | #[derive (Copy, Clone)] |
8716 | #[repr (C)] |
8717 | pub struct GUnixFDList { |
8718 | pub parent_instance: gobject::GObject, |
8719 | pub priv_: *mut GUnixFDListPrivate, |
8720 | } |
8721 | |
8722 | impl ::std::fmt::Debug for GUnixFDList { |
8723 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8724 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixFDList @ {self:p}" )) |
8725 | .field("parent_instance" , &self.parent_instance) |
8726 | .field(name:"priv_" , &self.priv_) |
8727 | .finish() |
8728 | } |
8729 | } |
8730 | |
8731 | #[derive (Copy, Clone)] |
8732 | #[repr (C)] |
8733 | pub struct GUnixFDMessage { |
8734 | pub parent_instance: GSocketControlMessage, |
8735 | pub priv_: *mut GUnixFDMessagePrivate, |
8736 | } |
8737 | |
8738 | impl ::std::fmt::Debug for GUnixFDMessage { |
8739 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8740 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixFDMessage @ {self:p}" )) |
8741 | .field("parent_instance" , &self.parent_instance) |
8742 | .field(name:"priv_" , &self.priv_) |
8743 | .finish() |
8744 | } |
8745 | } |
8746 | |
8747 | #[derive (Copy, Clone)] |
8748 | #[repr (C)] |
8749 | pub struct GUnixInputStream { |
8750 | pub parent_instance: GInputStream, |
8751 | pub priv_: *mut GUnixInputStreamPrivate, |
8752 | } |
8753 | |
8754 | impl ::std::fmt::Debug for GUnixInputStream { |
8755 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8756 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixInputStream @ {self:p}" )) |
8757 | .field(name:"parent_instance" , &self.parent_instance) |
8758 | .finish() |
8759 | } |
8760 | } |
8761 | |
8762 | #[repr (C)] |
8763 | #[allow (dead_code)] |
8764 | pub struct GUnixMountMonitor { |
8765 | _data: [u8; 0], |
8766 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8767 | } |
8768 | |
8769 | impl ::std::fmt::Debug for GUnixMountMonitor { |
8770 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8771 | fDebugStruct<'_, '_>.debug_struct(&format!("GUnixMountMonitor @ {self:p}" )) |
8772 | .finish() |
8773 | } |
8774 | } |
8775 | |
8776 | #[derive (Copy, Clone)] |
8777 | #[repr (C)] |
8778 | pub struct GUnixOutputStream { |
8779 | pub parent_instance: GOutputStream, |
8780 | pub priv_: *mut GUnixOutputStreamPrivate, |
8781 | } |
8782 | |
8783 | impl ::std::fmt::Debug for GUnixOutputStream { |
8784 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8785 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixOutputStream @ {self:p}" )) |
8786 | .field(name:"parent_instance" , &self.parent_instance) |
8787 | .finish() |
8788 | } |
8789 | } |
8790 | |
8791 | #[derive (Copy, Clone)] |
8792 | #[repr (C)] |
8793 | pub struct GUnixSocketAddress { |
8794 | pub parent_instance: GSocketAddress, |
8795 | pub priv_: *mut GUnixSocketAddressPrivate, |
8796 | } |
8797 | |
8798 | impl ::std::fmt::Debug for GUnixSocketAddress { |
8799 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8800 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GUnixSocketAddress @ {self:p}" )) |
8801 | .field(name:"parent_instance" , &self.parent_instance) |
8802 | .finish() |
8803 | } |
8804 | } |
8805 | |
8806 | #[derive (Copy, Clone)] |
8807 | #[repr (C)] |
8808 | pub struct GVfs { |
8809 | pub parent_instance: gobject::GObject, |
8810 | } |
8811 | |
8812 | impl ::std::fmt::Debug for GVfs { |
8813 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8814 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GVfs @ {self:p}" )) |
8815 | .field(name:"parent_instance" , &self.parent_instance) |
8816 | .finish() |
8817 | } |
8818 | } |
8819 | |
8820 | #[derive (Copy, Clone)] |
8821 | #[repr (C)] |
8822 | pub struct GVolumeMonitor { |
8823 | pub parent_instance: gobject::GObject, |
8824 | pub priv_: gpointer, |
8825 | } |
8826 | |
8827 | impl ::std::fmt::Debug for GVolumeMonitor { |
8828 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8829 | f&mut DebugStruct<'_, '_>.debug_struct(&format!("GVolumeMonitor @ {self:p}" )) |
8830 | .field(name:"parent_instance" , &self.parent_instance) |
8831 | .finish() |
8832 | } |
8833 | } |
8834 | |
8835 | #[repr (C)] |
8836 | #[allow (dead_code)] |
8837 | pub struct GZlibCompressor { |
8838 | _data: [u8; 0], |
8839 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8840 | } |
8841 | |
8842 | impl ::std::fmt::Debug for GZlibCompressor { |
8843 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8844 | fDebugStruct<'_, '_>.debug_struct(&format!("GZlibCompressor @ {self:p}" )) |
8845 | .finish() |
8846 | } |
8847 | } |
8848 | |
8849 | #[repr (C)] |
8850 | #[allow (dead_code)] |
8851 | pub struct GZlibDecompressor { |
8852 | _data: [u8; 0], |
8853 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8854 | } |
8855 | |
8856 | impl ::std::fmt::Debug for GZlibDecompressor { |
8857 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8858 | fDebugStruct<'_, '_>.debug_struct(&format!("GZlibDecompressor @ {self:p}" )) |
8859 | .finish() |
8860 | } |
8861 | } |
8862 | |
8863 | // Interfaces |
8864 | #[repr (C)] |
8865 | #[allow (dead_code)] |
8866 | pub struct GAction { |
8867 | _data: [u8; 0], |
8868 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8869 | } |
8870 | |
8871 | impl ::std::fmt::Debug for GAction { |
8872 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8873 | write!(f, "GAction @ {self:p}" ) |
8874 | } |
8875 | } |
8876 | |
8877 | #[repr (C)] |
8878 | #[allow (dead_code)] |
8879 | pub struct GActionGroup { |
8880 | _data: [u8; 0], |
8881 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8882 | } |
8883 | |
8884 | impl ::std::fmt::Debug for GActionGroup { |
8885 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8886 | write!(f, "GActionGroup @ {self:p}" ) |
8887 | } |
8888 | } |
8889 | |
8890 | #[repr (C)] |
8891 | #[allow (dead_code)] |
8892 | pub struct GActionMap { |
8893 | _data: [u8; 0], |
8894 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8895 | } |
8896 | |
8897 | impl ::std::fmt::Debug for GActionMap { |
8898 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8899 | write!(f, "GActionMap @ {self:p}" ) |
8900 | } |
8901 | } |
8902 | |
8903 | #[repr (C)] |
8904 | #[allow (dead_code)] |
8905 | pub struct GAppInfo { |
8906 | _data: [u8; 0], |
8907 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8908 | } |
8909 | |
8910 | impl ::std::fmt::Debug for GAppInfo { |
8911 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8912 | write!(f, "GAppInfo @ {self:p}" ) |
8913 | } |
8914 | } |
8915 | |
8916 | #[repr (C)] |
8917 | #[allow (dead_code)] |
8918 | pub struct GAsyncInitable { |
8919 | _data: [u8; 0], |
8920 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8921 | } |
8922 | |
8923 | impl ::std::fmt::Debug for GAsyncInitable { |
8924 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8925 | write!(f, "GAsyncInitable @ {self:p}" ) |
8926 | } |
8927 | } |
8928 | |
8929 | #[repr (C)] |
8930 | #[allow (dead_code)] |
8931 | pub struct GAsyncResult { |
8932 | _data: [u8; 0], |
8933 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8934 | } |
8935 | |
8936 | impl ::std::fmt::Debug for GAsyncResult { |
8937 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8938 | write!(f, "GAsyncResult @ {self:p}" ) |
8939 | } |
8940 | } |
8941 | |
8942 | #[repr (C)] |
8943 | #[allow (dead_code)] |
8944 | pub struct GConverter { |
8945 | _data: [u8; 0], |
8946 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8947 | } |
8948 | |
8949 | impl ::std::fmt::Debug for GConverter { |
8950 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8951 | write!(f, "GConverter @ {self:p}" ) |
8952 | } |
8953 | } |
8954 | |
8955 | #[repr (C)] |
8956 | #[allow (dead_code)] |
8957 | pub struct GDBusInterface { |
8958 | _data: [u8; 0], |
8959 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8960 | } |
8961 | |
8962 | impl ::std::fmt::Debug for GDBusInterface { |
8963 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8964 | write!(f, "GDBusInterface @ {self:p}" ) |
8965 | } |
8966 | } |
8967 | |
8968 | #[repr (C)] |
8969 | #[allow (dead_code)] |
8970 | pub struct GDBusObject { |
8971 | _data: [u8; 0], |
8972 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8973 | } |
8974 | |
8975 | impl ::std::fmt::Debug for GDBusObject { |
8976 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8977 | write!(f, "GDBusObject @ {self:p}" ) |
8978 | } |
8979 | } |
8980 | |
8981 | #[repr (C)] |
8982 | #[allow (dead_code)] |
8983 | pub struct GDBusObjectManager { |
8984 | _data: [u8; 0], |
8985 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8986 | } |
8987 | |
8988 | impl ::std::fmt::Debug for GDBusObjectManager { |
8989 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
8990 | write!(f, "GDBusObjectManager @ {self:p}" ) |
8991 | } |
8992 | } |
8993 | |
8994 | #[repr (C)] |
8995 | #[allow (dead_code)] |
8996 | pub struct GDatagramBased { |
8997 | _data: [u8; 0], |
8998 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
8999 | } |
9000 | |
9001 | impl ::std::fmt::Debug for GDatagramBased { |
9002 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9003 | write!(f, "GDatagramBased @ {self:p}" ) |
9004 | } |
9005 | } |
9006 | |
9007 | #[repr (C)] |
9008 | #[allow (dead_code)] |
9009 | pub struct GDebugController { |
9010 | _data: [u8; 0], |
9011 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9012 | } |
9013 | |
9014 | impl ::std::fmt::Debug for GDebugController { |
9015 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9016 | write!(f, "GDebugController @ {self:p}" ) |
9017 | } |
9018 | } |
9019 | |
9020 | #[repr (C)] |
9021 | #[allow (dead_code)] |
9022 | pub struct GDesktopAppInfoLookup { |
9023 | _data: [u8; 0], |
9024 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9025 | } |
9026 | |
9027 | impl ::std::fmt::Debug for GDesktopAppInfoLookup { |
9028 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9029 | write!(f, "GDesktopAppInfoLookup @ {self:p}" ) |
9030 | } |
9031 | } |
9032 | |
9033 | #[repr (C)] |
9034 | #[allow (dead_code)] |
9035 | pub struct GDrive { |
9036 | _data: [u8; 0], |
9037 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9038 | } |
9039 | |
9040 | impl ::std::fmt::Debug for GDrive { |
9041 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9042 | write!(f, "GDrive @ {self:p}" ) |
9043 | } |
9044 | } |
9045 | |
9046 | #[repr (C)] |
9047 | #[allow (dead_code)] |
9048 | pub struct GDtlsClientConnection { |
9049 | _data: [u8; 0], |
9050 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9051 | } |
9052 | |
9053 | impl ::std::fmt::Debug for GDtlsClientConnection { |
9054 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9055 | write!(f, "GDtlsClientConnection @ {self:p}" ) |
9056 | } |
9057 | } |
9058 | |
9059 | #[repr (C)] |
9060 | #[allow (dead_code)] |
9061 | pub struct GDtlsConnection { |
9062 | _data: [u8; 0], |
9063 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9064 | } |
9065 | |
9066 | impl ::std::fmt::Debug for GDtlsConnection { |
9067 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9068 | write!(f, "GDtlsConnection @ {self:p}" ) |
9069 | } |
9070 | } |
9071 | |
9072 | #[repr (C)] |
9073 | #[allow (dead_code)] |
9074 | pub struct GDtlsServerConnection { |
9075 | _data: [u8; 0], |
9076 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9077 | } |
9078 | |
9079 | impl ::std::fmt::Debug for GDtlsServerConnection { |
9080 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9081 | write!(f, "GDtlsServerConnection @ {self:p}" ) |
9082 | } |
9083 | } |
9084 | |
9085 | #[repr (C)] |
9086 | #[allow (dead_code)] |
9087 | pub struct GFile { |
9088 | _data: [u8; 0], |
9089 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9090 | } |
9091 | |
9092 | impl ::std::fmt::Debug for GFile { |
9093 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9094 | write!(f, "GFile @ {self:p}" ) |
9095 | } |
9096 | } |
9097 | |
9098 | #[repr (C)] |
9099 | #[allow (dead_code)] |
9100 | pub struct GFileDescriptorBased { |
9101 | _data: [u8; 0], |
9102 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9103 | } |
9104 | |
9105 | impl ::std::fmt::Debug for GFileDescriptorBased { |
9106 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9107 | write!(f, "GFileDescriptorBased @ {self:p}" ) |
9108 | } |
9109 | } |
9110 | |
9111 | #[repr (C)] |
9112 | #[allow (dead_code)] |
9113 | pub struct GIcon { |
9114 | _data: [u8; 0], |
9115 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9116 | } |
9117 | |
9118 | impl ::std::fmt::Debug for GIcon { |
9119 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9120 | write!(f, "GIcon @ {self:p}" ) |
9121 | } |
9122 | } |
9123 | |
9124 | #[repr (C)] |
9125 | #[allow (dead_code)] |
9126 | pub struct GInitable { |
9127 | _data: [u8; 0], |
9128 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9129 | } |
9130 | |
9131 | impl ::std::fmt::Debug for GInitable { |
9132 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9133 | write!(f, "GInitable @ {self:p}" ) |
9134 | } |
9135 | } |
9136 | |
9137 | #[repr (C)] |
9138 | #[allow (dead_code)] |
9139 | pub struct GListModel { |
9140 | _data: [u8; 0], |
9141 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9142 | } |
9143 | |
9144 | impl ::std::fmt::Debug for GListModel { |
9145 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9146 | write!(f, "GListModel @ {self:p}" ) |
9147 | } |
9148 | } |
9149 | |
9150 | #[repr (C)] |
9151 | #[allow (dead_code)] |
9152 | pub struct GLoadableIcon { |
9153 | _data: [u8; 0], |
9154 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9155 | } |
9156 | |
9157 | impl ::std::fmt::Debug for GLoadableIcon { |
9158 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9159 | write!(f, "GLoadableIcon @ {self:p}" ) |
9160 | } |
9161 | } |
9162 | |
9163 | #[repr (C)] |
9164 | #[allow (dead_code)] |
9165 | pub struct GMemoryMonitor { |
9166 | _data: [u8; 0], |
9167 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9168 | } |
9169 | |
9170 | impl ::std::fmt::Debug for GMemoryMonitor { |
9171 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9172 | write!(f, "GMemoryMonitor @ {self:p}" ) |
9173 | } |
9174 | } |
9175 | |
9176 | #[repr (C)] |
9177 | #[allow (dead_code)] |
9178 | pub struct GMount { |
9179 | _data: [u8; 0], |
9180 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9181 | } |
9182 | |
9183 | impl ::std::fmt::Debug for GMount { |
9184 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9185 | write!(f, "GMount @ {self:p}" ) |
9186 | } |
9187 | } |
9188 | |
9189 | #[repr (C)] |
9190 | #[allow (dead_code)] |
9191 | pub struct GNetworkMonitor { |
9192 | _data: [u8; 0], |
9193 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9194 | } |
9195 | |
9196 | impl ::std::fmt::Debug for GNetworkMonitor { |
9197 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9198 | write!(f, "GNetworkMonitor @ {self:p}" ) |
9199 | } |
9200 | } |
9201 | |
9202 | #[repr (C)] |
9203 | #[allow (dead_code)] |
9204 | pub struct GPollableInputStream { |
9205 | _data: [u8; 0], |
9206 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9207 | } |
9208 | |
9209 | impl ::std::fmt::Debug for GPollableInputStream { |
9210 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9211 | write!(f, "GPollableInputStream @ {self:p}" ) |
9212 | } |
9213 | } |
9214 | |
9215 | #[repr (C)] |
9216 | #[allow (dead_code)] |
9217 | pub struct GPollableOutputStream { |
9218 | _data: [u8; 0], |
9219 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9220 | } |
9221 | |
9222 | impl ::std::fmt::Debug for GPollableOutputStream { |
9223 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9224 | write!(f, "GPollableOutputStream @ {self:p}" ) |
9225 | } |
9226 | } |
9227 | |
9228 | #[repr (C)] |
9229 | #[allow (dead_code)] |
9230 | pub struct GPowerProfileMonitor { |
9231 | _data: [u8; 0], |
9232 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9233 | } |
9234 | |
9235 | impl ::std::fmt::Debug for GPowerProfileMonitor { |
9236 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9237 | write!(f, "GPowerProfileMonitor @ {self:p}" ) |
9238 | } |
9239 | } |
9240 | |
9241 | #[repr (C)] |
9242 | #[allow (dead_code)] |
9243 | pub struct GProxy { |
9244 | _data: [u8; 0], |
9245 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9246 | } |
9247 | |
9248 | impl ::std::fmt::Debug for GProxy { |
9249 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9250 | write!(f, "GProxy @ {self:p}" ) |
9251 | } |
9252 | } |
9253 | |
9254 | #[repr (C)] |
9255 | #[allow (dead_code)] |
9256 | pub struct GProxyResolver { |
9257 | _data: [u8; 0], |
9258 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9259 | } |
9260 | |
9261 | impl ::std::fmt::Debug for GProxyResolver { |
9262 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9263 | write!(f, "GProxyResolver @ {self:p}" ) |
9264 | } |
9265 | } |
9266 | |
9267 | #[repr (C)] |
9268 | #[allow (dead_code)] |
9269 | pub struct GRemoteActionGroup { |
9270 | _data: [u8; 0], |
9271 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9272 | } |
9273 | |
9274 | impl ::std::fmt::Debug for GRemoteActionGroup { |
9275 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9276 | write!(f, "GRemoteActionGroup @ {self:p}" ) |
9277 | } |
9278 | } |
9279 | |
9280 | #[repr (C)] |
9281 | #[allow (dead_code)] |
9282 | pub struct GSeekable { |
9283 | _data: [u8; 0], |
9284 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9285 | } |
9286 | |
9287 | impl ::std::fmt::Debug for GSeekable { |
9288 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9289 | write!(f, "GSeekable @ {self:p}" ) |
9290 | } |
9291 | } |
9292 | |
9293 | #[repr (C)] |
9294 | #[allow (dead_code)] |
9295 | pub struct GSocketConnectable { |
9296 | _data: [u8; 0], |
9297 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9298 | } |
9299 | |
9300 | impl ::std::fmt::Debug for GSocketConnectable { |
9301 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9302 | write!(f, "GSocketConnectable @ {self:p}" ) |
9303 | } |
9304 | } |
9305 | |
9306 | #[repr (C)] |
9307 | #[allow (dead_code)] |
9308 | pub struct GTlsBackend { |
9309 | _data: [u8; 0], |
9310 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9311 | } |
9312 | |
9313 | impl ::std::fmt::Debug for GTlsBackend { |
9314 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9315 | write!(f, "GTlsBackend @ {self:p}" ) |
9316 | } |
9317 | } |
9318 | |
9319 | #[repr (C)] |
9320 | #[allow (dead_code)] |
9321 | pub struct GTlsClientConnection { |
9322 | _data: [u8; 0], |
9323 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9324 | } |
9325 | |
9326 | impl ::std::fmt::Debug for GTlsClientConnection { |
9327 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9328 | write!(f, "GTlsClientConnection @ {self:p}" ) |
9329 | } |
9330 | } |
9331 | |
9332 | #[repr (C)] |
9333 | #[allow (dead_code)] |
9334 | pub struct GTlsFileDatabase { |
9335 | _data: [u8; 0], |
9336 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9337 | } |
9338 | |
9339 | impl ::std::fmt::Debug for GTlsFileDatabase { |
9340 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9341 | write!(f, "GTlsFileDatabase @ {self:p}" ) |
9342 | } |
9343 | } |
9344 | |
9345 | #[repr (C)] |
9346 | #[allow (dead_code)] |
9347 | pub struct GTlsServerConnection { |
9348 | _data: [u8; 0], |
9349 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9350 | } |
9351 | |
9352 | impl ::std::fmt::Debug for GTlsServerConnection { |
9353 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9354 | write!(f, "GTlsServerConnection @ {self:p}" ) |
9355 | } |
9356 | } |
9357 | |
9358 | #[repr (C)] |
9359 | #[allow (dead_code)] |
9360 | pub struct GVolume { |
9361 | _data: [u8; 0], |
9362 | _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, |
9363 | } |
9364 | |
9365 | impl ::std::fmt::Debug for GVolume { |
9366 | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { |
9367 | write!(f, "GVolume @ {self:p}" ) |
9368 | } |
9369 | } |
9370 | |
9371 | unsafeextern "C" { |
9372 | |
9373 | //========================================================================= |
9374 | // GBusType |
9375 | //========================================================================= |
9376 | pub unsafefn g_bus_type_get_type() -> GType; |
9377 | |
9378 | //========================================================================= |
9379 | // GConverterResult |
9380 | //========================================================================= |
9381 | pub unsafefn g_converter_result_get_type() -> GType; |
9382 | |
9383 | //========================================================================= |
9384 | // GCredentialsType |
9385 | //========================================================================= |
9386 | pub unsafefn g_credentials_type_get_type() -> GType; |
9387 | |
9388 | //========================================================================= |
9389 | // GDBusError |
9390 | //========================================================================= |
9391 | pub unsafefn g_dbus_error_get_type() -> GType; |
9392 | pub unsafefn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char; |
9393 | pub unsafefn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char; |
9394 | pub unsafefn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean; |
9395 | pub unsafefn g_dbus_error_new_for_dbus_error( |
9396 | dbus_error_name: *const c_char, |
9397 | dbus_error_message: *const c_char, |
9398 | ) -> *mut glib::GError; |
9399 | pub unsafefn g_dbus_error_quark() -> glib::GQuark; |
9400 | pub unsafefn g_dbus_error_register_error( |
9401 | error_domain: glib::GQuark, |
9402 | error_code: c_int, |
9403 | dbus_error_name: *const c_char, |
9404 | ) -> gboolean; |
9405 | pub unsafefn g_dbus_error_register_error_domain( |
9406 | error_domain_quark_name: *const c_char, |
9407 | quark_volatile: *mut size_t, |
9408 | entries: *const GDBusErrorEntry, |
9409 | num_entries: c_uint, |
9410 | ); |
9411 | pub unsafefn g_dbus_error_set_dbus_error( |
9412 | error: *mut *mut glib::GError, |
9413 | dbus_error_name: *const c_char, |
9414 | dbus_error_message: *const c_char, |
9415 | format: *const c_char, |
9416 | ... |
9417 | ); |
9418 | //pub fn g_dbus_error_set_dbus_error_valist(error: *mut *mut glib::GError, dbus_error_name: *const c_char, dbus_error_message: *const c_char, format: *const c_char, var_args: /*Unimplemented*/va_list); |
9419 | pub unsafefn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean; |
9420 | pub unsafefn g_dbus_error_unregister_error( |
9421 | error_domain: glib::GQuark, |
9422 | error_code: c_int, |
9423 | dbus_error_name: *const c_char, |
9424 | ) -> gboolean; |
9425 | |
9426 | //========================================================================= |
9427 | // GDBusMessageByteOrder |
9428 | //========================================================================= |
9429 | pub unsafefn g_dbus_message_byte_order_get_type() -> GType; |
9430 | |
9431 | //========================================================================= |
9432 | // GDBusMessageHeaderField |
9433 | //========================================================================= |
9434 | pub unsafefn g_dbus_message_header_field_get_type() -> GType; |
9435 | |
9436 | //========================================================================= |
9437 | // GDBusMessageType |
9438 | //========================================================================= |
9439 | pub unsafefn g_dbus_message_type_get_type() -> GType; |
9440 | |
9441 | //========================================================================= |
9442 | // GDataStreamByteOrder |
9443 | //========================================================================= |
9444 | pub unsafefn g_data_stream_byte_order_get_type() -> GType; |
9445 | |
9446 | //========================================================================= |
9447 | // GDataStreamNewlineType |
9448 | //========================================================================= |
9449 | pub unsafefn g_data_stream_newline_type_get_type() -> GType; |
9450 | |
9451 | //========================================================================= |
9452 | // GDriveStartStopType |
9453 | //========================================================================= |
9454 | pub unsafefn g_drive_start_stop_type_get_type() -> GType; |
9455 | |
9456 | //========================================================================= |
9457 | // GEmblemOrigin |
9458 | //========================================================================= |
9459 | pub unsafefn g_emblem_origin_get_type() -> GType; |
9460 | |
9461 | //========================================================================= |
9462 | // GFileAttributeStatus |
9463 | //========================================================================= |
9464 | pub unsafefn g_file_attribute_status_get_type() -> GType; |
9465 | |
9466 | //========================================================================= |
9467 | // GFileAttributeType |
9468 | //========================================================================= |
9469 | pub unsafefn g_file_attribute_type_get_type() -> GType; |
9470 | |
9471 | //========================================================================= |
9472 | // GFileMonitorEvent |
9473 | //========================================================================= |
9474 | pub unsafefn g_file_monitor_event_get_type() -> GType; |
9475 | |
9476 | //========================================================================= |
9477 | // GFileType |
9478 | //========================================================================= |
9479 | pub unsafefn g_file_type_get_type() -> GType; |
9480 | |
9481 | //========================================================================= |
9482 | // GFilesystemPreviewType |
9483 | //========================================================================= |
9484 | pub unsafefn g_filesystem_preview_type_get_type() -> GType; |
9485 | |
9486 | //========================================================================= |
9487 | // GIOErrorEnum |
9488 | //========================================================================= |
9489 | pub unsafefn g_io_error_enum_get_type() -> GType; |
9490 | |
9491 | //========================================================================= |
9492 | // GIOModuleScopeFlags |
9493 | //========================================================================= |
9494 | pub unsafefn g_io_module_scope_flags_get_type() -> GType; |
9495 | |
9496 | //========================================================================= |
9497 | // GMemoryMonitorWarningLevel |
9498 | //========================================================================= |
9499 | #[cfg (feature = "v2_64" )] |
9500 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
9501 | pub fn g_memory_monitor_warning_level_get_type() -> GType; |
9502 | |
9503 | //========================================================================= |
9504 | // GMountOperationResult |
9505 | //========================================================================= |
9506 | pub unsafefn g_mount_operation_result_get_type() -> GType; |
9507 | |
9508 | //========================================================================= |
9509 | // GNetworkConnectivity |
9510 | //========================================================================= |
9511 | pub unsafefn g_network_connectivity_get_type() -> GType; |
9512 | |
9513 | //========================================================================= |
9514 | // GNotificationPriority |
9515 | //========================================================================= |
9516 | pub unsafefn g_notification_priority_get_type() -> GType; |
9517 | |
9518 | //========================================================================= |
9519 | // GPasswordSave |
9520 | //========================================================================= |
9521 | pub unsafefn g_password_save_get_type() -> GType; |
9522 | |
9523 | //========================================================================= |
9524 | // GPollableReturn |
9525 | //========================================================================= |
9526 | #[cfg (feature = "v2_60" )] |
9527 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
9528 | pub fn g_pollable_return_get_type() -> GType; |
9529 | |
9530 | //========================================================================= |
9531 | // GResolverError |
9532 | //========================================================================= |
9533 | pub unsafefn g_resolver_error_get_type() -> GType; |
9534 | pub unsafefn g_resolver_error_quark() -> glib::GQuark; |
9535 | |
9536 | //========================================================================= |
9537 | // GResolverRecordType |
9538 | //========================================================================= |
9539 | pub unsafefn g_resolver_record_type_get_type() -> GType; |
9540 | |
9541 | //========================================================================= |
9542 | // GResourceError |
9543 | //========================================================================= |
9544 | pub unsafefn g_resource_error_get_type() -> GType; |
9545 | pub unsafefn g_resource_error_quark() -> glib::GQuark; |
9546 | |
9547 | //========================================================================= |
9548 | // GSocketClientEvent |
9549 | //========================================================================= |
9550 | pub unsafefn g_socket_client_event_get_type() -> GType; |
9551 | |
9552 | //========================================================================= |
9553 | // GSocketFamily |
9554 | //========================================================================= |
9555 | pub unsafefn g_socket_family_get_type() -> GType; |
9556 | |
9557 | //========================================================================= |
9558 | // GSocketListenerEvent |
9559 | //========================================================================= |
9560 | pub unsafefn g_socket_listener_event_get_type() -> GType; |
9561 | |
9562 | //========================================================================= |
9563 | // GSocketProtocol |
9564 | //========================================================================= |
9565 | pub unsafefn g_socket_protocol_get_type() -> GType; |
9566 | |
9567 | //========================================================================= |
9568 | // GSocketType |
9569 | //========================================================================= |
9570 | pub unsafefn g_socket_type_get_type() -> GType; |
9571 | |
9572 | //========================================================================= |
9573 | // GTlsAuthenticationMode |
9574 | //========================================================================= |
9575 | pub unsafefn g_tls_authentication_mode_get_type() -> GType; |
9576 | |
9577 | //========================================================================= |
9578 | // GTlsCertificateRequestFlags |
9579 | //========================================================================= |
9580 | pub unsafefn g_tls_certificate_request_flags_get_type() -> GType; |
9581 | |
9582 | //========================================================================= |
9583 | // GTlsChannelBindingError |
9584 | //========================================================================= |
9585 | #[cfg (feature = "v2_66" )] |
9586 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
9587 | pub fn g_tls_channel_binding_error_get_type() -> GType; |
9588 | #[cfg (feature = "v2_66" )] |
9589 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
9590 | pub fn g_tls_channel_binding_error_quark() -> glib::GQuark; |
9591 | |
9592 | //========================================================================= |
9593 | // GTlsChannelBindingType |
9594 | //========================================================================= |
9595 | #[cfg (feature = "v2_66" )] |
9596 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
9597 | pub fn g_tls_channel_binding_type_get_type() -> GType; |
9598 | |
9599 | //========================================================================= |
9600 | // GTlsDatabaseLookupFlags |
9601 | //========================================================================= |
9602 | pub unsafefn g_tls_database_lookup_flags_get_type() -> GType; |
9603 | |
9604 | //========================================================================= |
9605 | // GTlsError |
9606 | //========================================================================= |
9607 | pub unsafefn g_tls_error_get_type() -> GType; |
9608 | pub unsafefn g_tls_error_quark() -> glib::GQuark; |
9609 | |
9610 | //========================================================================= |
9611 | // GTlsInteractionResult |
9612 | //========================================================================= |
9613 | pub unsafefn g_tls_interaction_result_get_type() -> GType; |
9614 | |
9615 | //========================================================================= |
9616 | // GTlsProtocolVersion |
9617 | //========================================================================= |
9618 | #[cfg (feature = "v2_70" )] |
9619 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
9620 | pub fn g_tls_protocol_version_get_type() -> GType; |
9621 | |
9622 | //========================================================================= |
9623 | // GTlsRehandshakeMode |
9624 | //========================================================================= |
9625 | pub unsafefn g_tls_rehandshake_mode_get_type() -> GType; |
9626 | |
9627 | //========================================================================= |
9628 | // GUnixSocketAddressType |
9629 | //========================================================================= |
9630 | pub unsafefn g_unix_socket_address_type_get_type() -> GType; |
9631 | |
9632 | //========================================================================= |
9633 | // GZlibCompressorFormat |
9634 | //========================================================================= |
9635 | pub unsafefn g_zlib_compressor_format_get_type() -> GType; |
9636 | |
9637 | //========================================================================= |
9638 | // GAppInfoCreateFlags |
9639 | //========================================================================= |
9640 | pub unsafefn g_app_info_create_flags_get_type() -> GType; |
9641 | |
9642 | //========================================================================= |
9643 | // GApplicationFlags |
9644 | //========================================================================= |
9645 | pub unsafefn g_application_flags_get_type() -> GType; |
9646 | |
9647 | //========================================================================= |
9648 | // GAskPasswordFlags |
9649 | //========================================================================= |
9650 | pub unsafefn g_ask_password_flags_get_type() -> GType; |
9651 | |
9652 | //========================================================================= |
9653 | // GBusNameOwnerFlags |
9654 | //========================================================================= |
9655 | pub unsafefn g_bus_name_owner_flags_get_type() -> GType; |
9656 | |
9657 | //========================================================================= |
9658 | // GBusNameWatcherFlags |
9659 | //========================================================================= |
9660 | pub unsafefn g_bus_name_watcher_flags_get_type() -> GType; |
9661 | |
9662 | //========================================================================= |
9663 | // GConverterFlags |
9664 | //========================================================================= |
9665 | pub unsafefn g_converter_flags_get_type() -> GType; |
9666 | |
9667 | //========================================================================= |
9668 | // GDBusCallFlags |
9669 | //========================================================================= |
9670 | pub unsafefn g_dbus_call_flags_get_type() -> GType; |
9671 | |
9672 | //========================================================================= |
9673 | // GDBusCapabilityFlags |
9674 | //========================================================================= |
9675 | pub unsafefn g_dbus_capability_flags_get_type() -> GType; |
9676 | |
9677 | //========================================================================= |
9678 | // GDBusConnectionFlags |
9679 | //========================================================================= |
9680 | pub unsafefn g_dbus_connection_flags_get_type() -> GType; |
9681 | |
9682 | //========================================================================= |
9683 | // GDBusInterfaceSkeletonFlags |
9684 | //========================================================================= |
9685 | pub unsafefn g_dbus_interface_skeleton_flags_get_type() -> GType; |
9686 | |
9687 | //========================================================================= |
9688 | // GDBusMessageFlags |
9689 | //========================================================================= |
9690 | pub unsafefn g_dbus_message_flags_get_type() -> GType; |
9691 | |
9692 | //========================================================================= |
9693 | // GDBusObjectManagerClientFlags |
9694 | //========================================================================= |
9695 | pub unsafefn g_dbus_object_manager_client_flags_get_type() -> GType; |
9696 | |
9697 | //========================================================================= |
9698 | // GDBusPropertyInfoFlags |
9699 | //========================================================================= |
9700 | pub unsafefn g_dbus_property_info_flags_get_type() -> GType; |
9701 | |
9702 | //========================================================================= |
9703 | // GDBusProxyFlags |
9704 | //========================================================================= |
9705 | pub unsafefn g_dbus_proxy_flags_get_type() -> GType; |
9706 | |
9707 | //========================================================================= |
9708 | // GDBusSendMessageFlags |
9709 | //========================================================================= |
9710 | pub unsafefn g_dbus_send_message_flags_get_type() -> GType; |
9711 | |
9712 | //========================================================================= |
9713 | // GDBusServerFlags |
9714 | //========================================================================= |
9715 | pub unsafefn g_dbus_server_flags_get_type() -> GType; |
9716 | |
9717 | //========================================================================= |
9718 | // GDBusSignalFlags |
9719 | //========================================================================= |
9720 | pub unsafefn g_dbus_signal_flags_get_type() -> GType; |
9721 | |
9722 | //========================================================================= |
9723 | // GDBusSubtreeFlags |
9724 | //========================================================================= |
9725 | pub unsafefn g_dbus_subtree_flags_get_type() -> GType; |
9726 | |
9727 | //========================================================================= |
9728 | // GDriveStartFlags |
9729 | //========================================================================= |
9730 | pub unsafefn g_drive_start_flags_get_type() -> GType; |
9731 | |
9732 | //========================================================================= |
9733 | // GFileAttributeInfoFlags |
9734 | //========================================================================= |
9735 | pub unsafefn g_file_attribute_info_flags_get_type() -> GType; |
9736 | |
9737 | //========================================================================= |
9738 | // GFileCopyFlags |
9739 | //========================================================================= |
9740 | pub unsafefn g_file_copy_flags_get_type() -> GType; |
9741 | |
9742 | //========================================================================= |
9743 | // GFileCreateFlags |
9744 | //========================================================================= |
9745 | pub unsafefn g_file_create_flags_get_type() -> GType; |
9746 | |
9747 | //========================================================================= |
9748 | // GFileMeasureFlags |
9749 | //========================================================================= |
9750 | pub unsafefn g_file_measure_flags_get_type() -> GType; |
9751 | |
9752 | //========================================================================= |
9753 | // GFileMonitorFlags |
9754 | //========================================================================= |
9755 | pub unsafefn g_file_monitor_flags_get_type() -> GType; |
9756 | |
9757 | //========================================================================= |
9758 | // GFileQueryInfoFlags |
9759 | //========================================================================= |
9760 | pub unsafefn g_file_query_info_flags_get_type() -> GType; |
9761 | |
9762 | //========================================================================= |
9763 | // GIOStreamSpliceFlags |
9764 | //========================================================================= |
9765 | pub unsafefn g_io_stream_splice_flags_get_type() -> GType; |
9766 | |
9767 | //========================================================================= |
9768 | // GMountMountFlags |
9769 | //========================================================================= |
9770 | pub unsafefn g_mount_mount_flags_get_type() -> GType; |
9771 | |
9772 | //========================================================================= |
9773 | // GMountUnmountFlags |
9774 | //========================================================================= |
9775 | pub unsafefn g_mount_unmount_flags_get_type() -> GType; |
9776 | |
9777 | //========================================================================= |
9778 | // GOutputStreamSpliceFlags |
9779 | //========================================================================= |
9780 | pub unsafefn g_output_stream_splice_flags_get_type() -> GType; |
9781 | |
9782 | //========================================================================= |
9783 | // GResolverNameLookupFlags |
9784 | //========================================================================= |
9785 | #[cfg (feature = "v2_60" )] |
9786 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
9787 | pub fn g_resolver_name_lookup_flags_get_type() -> GType; |
9788 | |
9789 | //========================================================================= |
9790 | // GResourceFlags |
9791 | //========================================================================= |
9792 | pub unsafefn g_resource_flags_get_type() -> GType; |
9793 | |
9794 | //========================================================================= |
9795 | // GResourceLookupFlags |
9796 | //========================================================================= |
9797 | pub unsafefn g_resource_lookup_flags_get_type() -> GType; |
9798 | |
9799 | //========================================================================= |
9800 | // GSettingsBindFlags |
9801 | //========================================================================= |
9802 | pub unsafefn g_settings_bind_flags_get_type() -> GType; |
9803 | |
9804 | //========================================================================= |
9805 | // GSocketMsgFlags |
9806 | //========================================================================= |
9807 | pub unsafefn g_socket_msg_flags_get_type() -> GType; |
9808 | |
9809 | //========================================================================= |
9810 | // GSubprocessFlags |
9811 | //========================================================================= |
9812 | pub unsafefn g_subprocess_flags_get_type() -> GType; |
9813 | |
9814 | //========================================================================= |
9815 | // GTestDBusFlags |
9816 | //========================================================================= |
9817 | pub unsafefn g_test_dbus_flags_get_type() -> GType; |
9818 | |
9819 | //========================================================================= |
9820 | // GTlsCertificateFlags |
9821 | //========================================================================= |
9822 | pub unsafefn g_tls_certificate_flags_get_type() -> GType; |
9823 | |
9824 | //========================================================================= |
9825 | // GTlsDatabaseVerifyFlags |
9826 | //========================================================================= |
9827 | pub unsafefn g_tls_database_verify_flags_get_type() -> GType; |
9828 | |
9829 | //========================================================================= |
9830 | // GTlsPasswordFlags |
9831 | //========================================================================= |
9832 | pub unsafefn g_tls_password_flags_get_type() -> GType; |
9833 | |
9834 | //========================================================================= |
9835 | // GDBusAnnotationInfo |
9836 | //========================================================================= |
9837 | pub unsafefn g_dbus_annotation_info_get_type() -> GType; |
9838 | pub unsafefn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo; |
9839 | pub unsafefn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo); |
9840 | pub unsafefn g_dbus_annotation_info_lookup( |
9841 | annotations: *mut *mut GDBusAnnotationInfo, |
9842 | name: *const c_char, |
9843 | ) -> *const c_char; |
9844 | |
9845 | //========================================================================= |
9846 | // GDBusArgInfo |
9847 | //========================================================================= |
9848 | pub unsafefn g_dbus_arg_info_get_type() -> GType; |
9849 | pub unsafefn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo; |
9850 | pub unsafefn g_dbus_arg_info_unref(info: *mut GDBusArgInfo); |
9851 | |
9852 | //========================================================================= |
9853 | // GDBusInterfaceInfo |
9854 | //========================================================================= |
9855 | pub unsafefn g_dbus_interface_info_get_type() -> GType; |
9856 | pub unsafefn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo); |
9857 | pub unsafefn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo); |
9858 | pub unsafefn g_dbus_interface_info_generate_xml( |
9859 | info: *mut GDBusInterfaceInfo, |
9860 | indent: c_uint, |
9861 | string_builder: *mut glib::GString, |
9862 | ); |
9863 | pub unsafefn g_dbus_interface_info_lookup_method( |
9864 | info: *mut GDBusInterfaceInfo, |
9865 | name: *const c_char, |
9866 | ) -> *mut GDBusMethodInfo; |
9867 | pub unsafefn g_dbus_interface_info_lookup_property( |
9868 | info: *mut GDBusInterfaceInfo, |
9869 | name: *const c_char, |
9870 | ) -> *mut GDBusPropertyInfo; |
9871 | pub unsafefn g_dbus_interface_info_lookup_signal( |
9872 | info: *mut GDBusInterfaceInfo, |
9873 | name: *const c_char, |
9874 | ) -> *mut GDBusSignalInfo; |
9875 | pub unsafefn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo; |
9876 | pub unsafefn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo); |
9877 | |
9878 | //========================================================================= |
9879 | // GDBusMethodInfo |
9880 | //========================================================================= |
9881 | pub unsafefn g_dbus_method_info_get_type() -> GType; |
9882 | pub unsafefn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo; |
9883 | pub unsafefn g_dbus_method_info_unref(info: *mut GDBusMethodInfo); |
9884 | |
9885 | //========================================================================= |
9886 | // GDBusNodeInfo |
9887 | //========================================================================= |
9888 | pub unsafefn g_dbus_node_info_get_type() -> GType; |
9889 | pub unsafefn g_dbus_node_info_new_for_xml( |
9890 | xml_data: *const c_char, |
9891 | error: *mut *mut glib::GError, |
9892 | ) -> *mut GDBusNodeInfo; |
9893 | pub unsafefn g_dbus_node_info_generate_xml( |
9894 | info: *mut GDBusNodeInfo, |
9895 | indent: c_uint, |
9896 | string_builder: *mut glib::GString, |
9897 | ); |
9898 | pub unsafefn g_dbus_node_info_lookup_interface( |
9899 | info: *mut GDBusNodeInfo, |
9900 | name: *const c_char, |
9901 | ) -> *mut GDBusInterfaceInfo; |
9902 | pub unsafefn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo; |
9903 | pub unsafefn g_dbus_node_info_unref(info: *mut GDBusNodeInfo); |
9904 | |
9905 | //========================================================================= |
9906 | // GDBusPropertyInfo |
9907 | //========================================================================= |
9908 | pub unsafefn g_dbus_property_info_get_type() -> GType; |
9909 | pub unsafefn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo; |
9910 | pub unsafefn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo); |
9911 | |
9912 | //========================================================================= |
9913 | // GDBusSignalInfo |
9914 | //========================================================================= |
9915 | pub unsafefn g_dbus_signal_info_get_type() -> GType; |
9916 | pub unsafefn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo; |
9917 | pub unsafefn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo); |
9918 | |
9919 | //========================================================================= |
9920 | // GFileAttributeInfoList |
9921 | //========================================================================= |
9922 | pub unsafefn g_file_attribute_info_list_get_type() -> GType; |
9923 | pub unsafefn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList; |
9924 | pub unsafefn g_file_attribute_info_list_add( |
9925 | list: *mut GFileAttributeInfoList, |
9926 | name: *const c_char, |
9927 | type_: GFileAttributeType, |
9928 | flags: GFileAttributeInfoFlags, |
9929 | ); |
9930 | pub unsafefn g_file_attribute_info_list_dup( |
9931 | list: *mut GFileAttributeInfoList, |
9932 | ) -> *mut GFileAttributeInfoList; |
9933 | pub unsafefn g_file_attribute_info_list_lookup( |
9934 | list: *mut GFileAttributeInfoList, |
9935 | name: *const c_char, |
9936 | ) -> *const GFileAttributeInfo; |
9937 | pub unsafefn g_file_attribute_info_list_ref( |
9938 | list: *mut GFileAttributeInfoList, |
9939 | ) -> *mut GFileAttributeInfoList; |
9940 | pub unsafefn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList); |
9941 | |
9942 | //========================================================================= |
9943 | // GFileAttributeMatcher |
9944 | //========================================================================= |
9945 | pub unsafefn g_file_attribute_matcher_get_type() -> GType; |
9946 | pub unsafefn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher; |
9947 | pub unsafefn g_file_attribute_matcher_enumerate_namespace( |
9948 | matcher: *mut GFileAttributeMatcher, |
9949 | ns: *const c_char, |
9950 | ) -> gboolean; |
9951 | pub unsafefn g_file_attribute_matcher_enumerate_next( |
9952 | matcher: *mut GFileAttributeMatcher, |
9953 | ) -> *const c_char; |
9954 | pub unsafefn g_file_attribute_matcher_matches( |
9955 | matcher: *mut GFileAttributeMatcher, |
9956 | attribute: *const c_char, |
9957 | ) -> gboolean; |
9958 | pub unsafefn g_file_attribute_matcher_matches_only( |
9959 | matcher: *mut GFileAttributeMatcher, |
9960 | attribute: *const c_char, |
9961 | ) -> gboolean; |
9962 | pub unsafefn g_file_attribute_matcher_ref( |
9963 | matcher: *mut GFileAttributeMatcher, |
9964 | ) -> *mut GFileAttributeMatcher; |
9965 | pub unsafefn g_file_attribute_matcher_subtract( |
9966 | matcher: *mut GFileAttributeMatcher, |
9967 | subtract: *mut GFileAttributeMatcher, |
9968 | ) -> *mut GFileAttributeMatcher; |
9969 | pub unsafefn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char; |
9970 | pub unsafefn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher); |
9971 | |
9972 | //========================================================================= |
9973 | // GIOExtension |
9974 | //========================================================================= |
9975 | pub unsafefn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char; |
9976 | pub unsafefn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int; |
9977 | pub unsafefn g_io_extension_get_type(extension: *mut GIOExtension) -> GType; |
9978 | pub unsafefn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass; |
9979 | |
9980 | //========================================================================= |
9981 | // GIOExtensionPoint |
9982 | //========================================================================= |
9983 | pub unsafefn g_io_extension_point_get_extension_by_name( |
9984 | extension_point: *mut GIOExtensionPoint, |
9985 | name: *const c_char, |
9986 | ) -> *mut GIOExtension; |
9987 | pub unsafefn g_io_extension_point_get_extensions( |
9988 | extension_point: *mut GIOExtensionPoint, |
9989 | ) -> *mut glib::GList; |
9990 | pub unsafefn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint) |
9991 | -> GType; |
9992 | pub unsafefn g_io_extension_point_set_required_type( |
9993 | extension_point: *mut GIOExtensionPoint, |
9994 | type_: GType, |
9995 | ); |
9996 | pub unsafefn g_io_extension_point_implement( |
9997 | extension_point_name: *const c_char, |
9998 | type_: GType, |
9999 | extension_name: *const c_char, |
10000 | priority: c_int, |
10001 | ) -> *mut GIOExtension; |
10002 | pub unsafefn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint; |
10003 | pub unsafefn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint; |
10004 | |
10005 | //========================================================================= |
10006 | // GIOModuleScope |
10007 | //========================================================================= |
10008 | pub unsafefn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char); |
10009 | pub unsafefn g_io_module_scope_free(scope: *mut GIOModuleScope); |
10010 | pub unsafefn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope; |
10011 | |
10012 | //========================================================================= |
10013 | // GIOSchedulerJob |
10014 | //========================================================================= |
10015 | pub unsafefn g_io_scheduler_job_send_to_mainloop( |
10016 | job: *mut GIOSchedulerJob, |
10017 | func: glib::GSourceFunc, |
10018 | user_data: gpointer, |
10019 | notify: glib::GDestroyNotify, |
10020 | ) -> gboolean; |
10021 | pub unsafefn g_io_scheduler_job_send_to_mainloop_async( |
10022 | job: *mut GIOSchedulerJob, |
10023 | func: glib::GSourceFunc, |
10024 | user_data: gpointer, |
10025 | notify: glib::GDestroyNotify, |
10026 | ); |
10027 | |
10028 | //========================================================================= |
10029 | // GResource |
10030 | //========================================================================= |
10031 | pub unsafefn g_resource_get_type() -> GType; |
10032 | pub unsafefn g_resource_new_from_data( |
10033 | data: *mut glib::GBytes, |
10034 | error: *mut *mut glib::GError, |
10035 | ) -> *mut GResource; |
10036 | pub unsafefn g_resource_enumerate_children( |
10037 | resource: *mut GResource, |
10038 | path: *const c_char, |
10039 | lookup_flags: GResourceLookupFlags, |
10040 | error: *mut *mut glib::GError, |
10041 | ) -> *mut *mut c_char; |
10042 | pub unsafefn g_resource_get_info( |
10043 | resource: *mut GResource, |
10044 | path: *const c_char, |
10045 | lookup_flags: GResourceLookupFlags, |
10046 | size: *mut size_t, |
10047 | flags: *mut u32, |
10048 | error: *mut *mut glib::GError, |
10049 | ) -> gboolean; |
10050 | #[cfg (feature = "v2_84" )] |
10051 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10052 | pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean; |
10053 | pub unsafefn g_resource_lookup_data( |
10054 | resource: *mut GResource, |
10055 | path: *const c_char, |
10056 | lookup_flags: GResourceLookupFlags, |
10057 | error: *mut *mut glib::GError, |
10058 | ) -> *mut glib::GBytes; |
10059 | pub unsafefn g_resource_open_stream( |
10060 | resource: *mut GResource, |
10061 | path: *const c_char, |
10062 | lookup_flags: GResourceLookupFlags, |
10063 | error: *mut *mut glib::GError, |
10064 | ) -> *mut GInputStream; |
10065 | pub unsafefn g_resource_ref(resource: *mut GResource) -> *mut GResource; |
10066 | pub unsafefn g_resource_unref(resource: *mut GResource); |
10067 | pub unsafefn g_resource_load( |
10068 | filename: *const c_char, |
10069 | error: *mut *mut glib::GError, |
10070 | ) -> *mut GResource; |
10071 | |
10072 | //========================================================================= |
10073 | // GSettingsSchema |
10074 | //========================================================================= |
10075 | pub unsafefn g_settings_schema_get_type() -> GType; |
10076 | pub unsafefn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char; |
10077 | pub unsafefn g_settings_schema_get_key( |
10078 | schema: *mut GSettingsSchema, |
10079 | name: *const c_char, |
10080 | ) -> *mut GSettingsSchemaKey; |
10081 | pub unsafefn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char; |
10082 | pub unsafefn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char) |
10083 | -> gboolean; |
10084 | pub unsafefn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char; |
10085 | pub unsafefn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char; |
10086 | pub unsafefn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema; |
10087 | pub unsafefn g_settings_schema_unref(schema: *mut GSettingsSchema); |
10088 | |
10089 | //========================================================================= |
10090 | // GSettingsSchemaKey |
10091 | //========================================================================= |
10092 | pub unsafefn g_settings_schema_key_get_type() -> GType; |
10093 | pub unsafefn g_settings_schema_key_get_default_value( |
10094 | key: *mut GSettingsSchemaKey, |
10095 | ) -> *mut glib::GVariant; |
10096 | pub unsafefn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char; |
10097 | pub unsafefn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char; |
10098 | pub unsafefn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant; |
10099 | pub unsafefn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char; |
10100 | pub unsafefn g_settings_schema_key_get_value_type( |
10101 | key: *mut GSettingsSchemaKey, |
10102 | ) -> *const glib::GVariantType; |
10103 | pub unsafefn g_settings_schema_key_range_check( |
10104 | key: *mut GSettingsSchemaKey, |
10105 | value: *mut glib::GVariant, |
10106 | ) -> gboolean; |
10107 | pub unsafefn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey; |
10108 | pub unsafefn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey); |
10109 | |
10110 | //========================================================================= |
10111 | // GSettingsSchemaSource |
10112 | //========================================================================= |
10113 | pub unsafefn g_settings_schema_source_get_type() -> GType; |
10114 | pub unsafefn g_settings_schema_source_new_from_directory( |
10115 | directory: *const c_char, |
10116 | parent: *mut GSettingsSchemaSource, |
10117 | trusted: gboolean, |
10118 | error: *mut *mut glib::GError, |
10119 | ) -> *mut GSettingsSchemaSource; |
10120 | pub unsafefn g_settings_schema_source_list_schemas( |
10121 | source: *mut GSettingsSchemaSource, |
10122 | recursive: gboolean, |
10123 | non_relocatable: *mut *mut *mut c_char, |
10124 | relocatable: *mut *mut *mut c_char, |
10125 | ); |
10126 | pub unsafefn g_settings_schema_source_lookup( |
10127 | source: *mut GSettingsSchemaSource, |
10128 | schema_id: *const c_char, |
10129 | recursive: gboolean, |
10130 | ) -> *mut GSettingsSchema; |
10131 | pub unsafefn g_settings_schema_source_ref( |
10132 | source: *mut GSettingsSchemaSource, |
10133 | ) -> *mut GSettingsSchemaSource; |
10134 | pub unsafefn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource); |
10135 | pub unsafefn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource; |
10136 | |
10137 | //========================================================================= |
10138 | // GSrvTarget |
10139 | //========================================================================= |
10140 | pub unsafefn g_srv_target_get_type() -> GType; |
10141 | pub unsafefn g_srv_target_new( |
10142 | hostname: *const c_char, |
10143 | port: u16, |
10144 | priority: u16, |
10145 | weight: u16, |
10146 | ) -> *mut GSrvTarget; |
10147 | pub unsafefn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget; |
10148 | pub unsafefn g_srv_target_free(target: *mut GSrvTarget); |
10149 | pub unsafefn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char; |
10150 | pub unsafefn g_srv_target_get_port(target: *mut GSrvTarget) -> u16; |
10151 | pub unsafefn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16; |
10152 | pub unsafefn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16; |
10153 | pub unsafefn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList; |
10154 | |
10155 | //========================================================================= |
10156 | // GStaticResource |
10157 | //========================================================================= |
10158 | pub unsafefn g_static_resource_fini(static_resource: *mut GStaticResource); |
10159 | pub unsafefn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource; |
10160 | pub unsafefn g_static_resource_init(static_resource: *mut GStaticResource); |
10161 | |
10162 | //========================================================================= |
10163 | // GUnixMountEntry |
10164 | //========================================================================= |
10165 | pub unsafefn g_unix_mount_entry_get_type() -> GType; |
10166 | #[cfg (feature = "v2_84" )] |
10167 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10168 | pub fn g_unix_mount_entry_compare( |
10169 | mount1: *mut GUnixMountEntry, |
10170 | mount2: *mut GUnixMountEntry, |
10171 | ) -> c_int; |
10172 | #[cfg (feature = "v2_84" )] |
10173 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10174 | pub fn g_unix_mount_entry_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry; |
10175 | #[cfg (feature = "v2_84" )] |
10176 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10177 | pub fn g_unix_mount_entry_free(mount_entry: *mut GUnixMountEntry); |
10178 | #[cfg (feature = "v2_84" )] |
10179 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10180 | pub fn g_unix_mount_entry_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
10181 | #[cfg (feature = "v2_84" )] |
10182 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10183 | pub fn g_unix_mount_entry_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
10184 | #[cfg (feature = "v2_84" )] |
10185 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10186 | pub fn g_unix_mount_entry_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
10187 | #[cfg (feature = "v2_84" )] |
10188 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10189 | pub fn g_unix_mount_entry_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
10190 | #[cfg (feature = "v2_84" )] |
10191 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10192 | pub fn g_unix_mount_entry_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
10193 | #[cfg (feature = "v2_84" )] |
10194 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10195 | pub fn g_unix_mount_entry_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean; |
10196 | #[cfg (feature = "v2_84" )] |
10197 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10198 | pub fn g_unix_mount_entry_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; |
10199 | #[cfg (feature = "v2_84" )] |
10200 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10201 | pub fn g_unix_mount_entry_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char; |
10202 | #[cfg (feature = "v2_84" )] |
10203 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10204 | pub fn g_unix_mount_entry_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean; |
10205 | #[cfg (feature = "v2_84" )] |
10206 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10207 | pub fn g_unix_mount_entry_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; |
10208 | #[cfg (feature = "v2_84" )] |
10209 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10210 | pub fn g_unix_mount_entry_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean; |
10211 | #[cfg (feature = "v2_84" )] |
10212 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10213 | pub fn g_unix_mount_entry_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean; |
10214 | #[cfg (feature = "v2_84" )] |
10215 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10216 | pub fn g_unix_mount_entry_at( |
10217 | mount_path: *const c_char, |
10218 | time_read: *mut u64, |
10219 | ) -> *mut GUnixMountEntry; |
10220 | #[cfg (feature = "v2_84" )] |
10221 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
10222 | pub fn g_unix_mount_entry_for( |
10223 | file_path: *const c_char, |
10224 | time_read: *mut u64, |
10225 | ) -> *mut GUnixMountEntry; |
10226 | |
10227 | //========================================================================= |
10228 | // GUnixMountPoint |
10229 | //========================================================================= |
10230 | pub unsafefn g_unix_mount_point_get_type() -> GType; |
10231 | pub unsafefn g_unix_mount_point_compare( |
10232 | mount1: *mut GUnixMountPoint, |
10233 | mount2: *mut GUnixMountPoint, |
10234 | ) -> c_int; |
10235 | pub unsafefn g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint; |
10236 | pub unsafefn g_unix_mount_point_free(mount_point: *mut GUnixMountPoint); |
10237 | pub unsafefn g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char; |
10238 | pub unsafefn g_unix_mount_point_get_fs_type(mount_point: *mut GUnixMountPoint) -> *const c_char; |
10239 | pub unsafefn g_unix_mount_point_get_mount_path(mount_point: *mut GUnixMountPoint) -> *const c_char; |
10240 | pub unsafefn g_unix_mount_point_get_options(mount_point: *mut GUnixMountPoint) -> *const c_char; |
10241 | pub unsafefn g_unix_mount_point_guess_can_eject(mount_point: *mut GUnixMountPoint) -> gboolean; |
10242 | pub unsafefn g_unix_mount_point_guess_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; |
10243 | pub unsafefn g_unix_mount_point_guess_name(mount_point: *mut GUnixMountPoint) -> *mut c_char; |
10244 | pub unsafefn g_unix_mount_point_guess_symbolic_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; |
10245 | pub unsafefn g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean; |
10246 | pub unsafefn g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean; |
10247 | pub unsafefn g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean; |
10248 | #[cfg (feature = "v2_66" )] |
10249 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
10250 | pub fn g_unix_mount_point_at( |
10251 | mount_path: *const c_char, |
10252 | time_read: *mut u64, |
10253 | ) -> *mut GUnixMountPoint; |
10254 | |
10255 | //========================================================================= |
10256 | // GAppInfoMonitor |
10257 | //========================================================================= |
10258 | pub unsafefn g_app_info_monitor_get_type() -> GType; |
10259 | pub unsafefn g_app_info_monitor_get() -> *mut GAppInfoMonitor; |
10260 | |
10261 | //========================================================================= |
10262 | // GAppLaunchContext |
10263 | //========================================================================= |
10264 | pub unsafefn g_app_launch_context_get_type() -> GType; |
10265 | pub unsafefn g_app_launch_context_new() -> *mut GAppLaunchContext; |
10266 | pub unsafefn g_app_launch_context_get_display( |
10267 | context: *mut GAppLaunchContext, |
10268 | info: *mut GAppInfo, |
10269 | files: *mut glib::GList, |
10270 | ) -> *mut c_char; |
10271 | pub unsafefn g_app_launch_context_get_environment( |
10272 | context: *mut GAppLaunchContext, |
10273 | ) -> *mut *mut c_char; |
10274 | pub unsafefn g_app_launch_context_get_startup_notify_id( |
10275 | context: *mut GAppLaunchContext, |
10276 | info: *mut GAppInfo, |
10277 | files: *mut glib::GList, |
10278 | ) -> *mut c_char; |
10279 | pub unsafefn g_app_launch_context_launch_failed( |
10280 | context: *mut GAppLaunchContext, |
10281 | startup_notify_id: *const c_char, |
10282 | ); |
10283 | pub unsafefn g_app_launch_context_setenv( |
10284 | context: *mut GAppLaunchContext, |
10285 | variable: *const c_char, |
10286 | value: *const c_char, |
10287 | ); |
10288 | pub unsafefn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char); |
10289 | |
10290 | //========================================================================= |
10291 | // GApplication |
10292 | //========================================================================= |
10293 | pub unsafefn g_application_get_type() -> GType; |
10294 | pub unsafefn g_application_new( |
10295 | application_id: *const c_char, |
10296 | flags: GApplicationFlags, |
10297 | ) -> *mut GApplication; |
10298 | pub unsafefn g_application_get_default() -> *mut GApplication; |
10299 | pub unsafefn g_application_id_is_valid(application_id: *const c_char) -> gboolean; |
10300 | pub unsafefn g_application_activate(application: *mut GApplication); |
10301 | pub unsafefn g_application_add_main_option( |
10302 | application: *mut GApplication, |
10303 | long_name: *const c_char, |
10304 | short_name: c_char, |
10305 | flags: glib::GOptionFlags, |
10306 | arg: glib::GOptionArg, |
10307 | description: *const c_char, |
10308 | arg_description: *const c_char, |
10309 | ); |
10310 | pub unsafefn g_application_add_main_option_entries( |
10311 | application: *mut GApplication, |
10312 | entries: *const glib::GOptionEntry, |
10313 | ); |
10314 | pub unsafefn g_application_add_option_group( |
10315 | application: *mut GApplication, |
10316 | group: *mut glib::GOptionGroup, |
10317 | ); |
10318 | pub unsafefn g_application_bind_busy_property( |
10319 | application: *mut GApplication, |
10320 | object: *mut gobject::GObject, |
10321 | property: *const c_char, |
10322 | ); |
10323 | pub unsafefn g_application_get_application_id(application: *mut GApplication) -> *const c_char; |
10324 | pub unsafefn g_application_get_dbus_connection( |
10325 | application: *mut GApplication, |
10326 | ) -> *mut GDBusConnection; |
10327 | pub unsafefn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char; |
10328 | pub unsafefn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags; |
10329 | pub unsafefn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint; |
10330 | pub unsafefn g_application_get_is_busy(application: *mut GApplication) -> gboolean; |
10331 | pub unsafefn g_application_get_is_registered(application: *mut GApplication) -> gboolean; |
10332 | pub unsafefn g_application_get_is_remote(application: *mut GApplication) -> gboolean; |
10333 | pub unsafefn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char; |
10334 | #[cfg (feature = "v2_80" )] |
10335 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
10336 | pub fn g_application_get_version(application: *mut GApplication) -> *const c_char; |
10337 | pub unsafefn g_application_hold(application: *mut GApplication); |
10338 | pub unsafefn g_application_mark_busy(application: *mut GApplication); |
10339 | pub unsafefn g_application_open( |
10340 | application: *mut GApplication, |
10341 | files: *mut *mut GFile, |
10342 | n_files: c_int, |
10343 | hint: *const c_char, |
10344 | ); |
10345 | pub unsafefn g_application_quit(application: *mut GApplication); |
10346 | pub unsafefn g_application_register( |
10347 | application: *mut GApplication, |
10348 | cancellable: *mut GCancellable, |
10349 | error: *mut *mut glib::GError, |
10350 | ) -> gboolean; |
10351 | pub unsafefn g_application_release(application: *mut GApplication); |
10352 | pub unsafefn g_application_run( |
10353 | application: *mut GApplication, |
10354 | argc: c_int, |
10355 | argv: *mut *mut c_char, |
10356 | ) -> c_int; |
10357 | pub unsafefn g_application_send_notification( |
10358 | application: *mut GApplication, |
10359 | id: *const c_char, |
10360 | notification: *mut GNotification, |
10361 | ); |
10362 | pub unsafefn g_application_set_action_group( |
10363 | application: *mut GApplication, |
10364 | action_group: *mut GActionGroup, |
10365 | ); |
10366 | pub unsafefn g_application_set_application_id( |
10367 | application: *mut GApplication, |
10368 | application_id: *const c_char, |
10369 | ); |
10370 | pub unsafefn g_application_set_default(application: *mut GApplication); |
10371 | pub unsafefn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags); |
10372 | pub unsafefn g_application_set_inactivity_timeout( |
10373 | application: *mut GApplication, |
10374 | inactivity_timeout: c_uint, |
10375 | ); |
10376 | pub unsafefn g_application_set_option_context_description( |
10377 | application: *mut GApplication, |
10378 | description: *const c_char, |
10379 | ); |
10380 | pub unsafefn g_application_set_option_context_parameter_string( |
10381 | application: *mut GApplication, |
10382 | parameter_string: *const c_char, |
10383 | ); |
10384 | pub unsafefn g_application_set_option_context_summary( |
10385 | application: *mut GApplication, |
10386 | summary: *const c_char, |
10387 | ); |
10388 | pub unsafefn g_application_set_resource_base_path( |
10389 | application: *mut GApplication, |
10390 | resource_path: *const c_char, |
10391 | ); |
10392 | #[cfg (feature = "v2_80" )] |
10393 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
10394 | pub fn g_application_set_version(application: *mut GApplication, version: *const c_char); |
10395 | pub unsafefn g_application_unbind_busy_property( |
10396 | application: *mut GApplication, |
10397 | object: *mut gobject::GObject, |
10398 | property: *const c_char, |
10399 | ); |
10400 | pub unsafefn g_application_unmark_busy(application: *mut GApplication); |
10401 | pub unsafefn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char); |
10402 | |
10403 | //========================================================================= |
10404 | // GApplicationCommandLine |
10405 | //========================================================================= |
10406 | pub unsafefn g_application_command_line_get_type() -> GType; |
10407 | pub unsafefn g_application_command_line_create_file_for_arg( |
10408 | cmdline: *mut GApplicationCommandLine, |
10409 | arg: *const c_char, |
10410 | ) -> *mut GFile; |
10411 | #[cfg (feature = "v2_80" )] |
10412 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
10413 | pub fn g_application_command_line_done(cmdline: *mut GApplicationCommandLine); |
10414 | pub unsafefn g_application_command_line_get_arguments( |
10415 | cmdline: *mut GApplicationCommandLine, |
10416 | argc: *mut c_int, |
10417 | ) -> *mut *mut c_char; |
10418 | pub unsafefn g_application_command_line_get_cwd( |
10419 | cmdline: *mut GApplicationCommandLine, |
10420 | ) -> *const c_char; |
10421 | pub unsafefn g_application_command_line_get_environ( |
10422 | cmdline: *mut GApplicationCommandLine, |
10423 | ) -> *const *const c_char; |
10424 | pub unsafefn g_application_command_line_get_exit_status( |
10425 | cmdline: *mut GApplicationCommandLine, |
10426 | ) -> c_int; |
10427 | pub unsafefn g_application_command_line_get_is_remote( |
10428 | cmdline: *mut GApplicationCommandLine, |
10429 | ) -> gboolean; |
10430 | pub unsafefn g_application_command_line_get_options_dict( |
10431 | cmdline: *mut GApplicationCommandLine, |
10432 | ) -> *mut glib::GVariantDict; |
10433 | pub unsafefn g_application_command_line_get_platform_data( |
10434 | cmdline: *mut GApplicationCommandLine, |
10435 | ) -> *mut glib::GVariant; |
10436 | pub unsafefn g_application_command_line_get_stdin( |
10437 | cmdline: *mut GApplicationCommandLine, |
10438 | ) -> *mut GInputStream; |
10439 | pub unsafefn g_application_command_line_getenv( |
10440 | cmdline: *mut GApplicationCommandLine, |
10441 | name: *const c_char, |
10442 | ) -> *const c_char; |
10443 | pub unsafefn g_application_command_line_print( |
10444 | cmdline: *mut GApplicationCommandLine, |
10445 | format: *const c_char, |
10446 | ... |
10447 | ); |
10448 | #[cfg (feature = "v2_80" )] |
10449 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
10450 | pub fn g_application_command_line_print_literal( |
10451 | cmdline: *mut GApplicationCommandLine, |
10452 | message: *const c_char, |
10453 | ); |
10454 | pub unsafefn g_application_command_line_printerr( |
10455 | cmdline: *mut GApplicationCommandLine, |
10456 | format: *const c_char, |
10457 | ... |
10458 | ); |
10459 | #[cfg (feature = "v2_80" )] |
10460 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
10461 | pub fn g_application_command_line_printerr_literal( |
10462 | cmdline: *mut GApplicationCommandLine, |
10463 | message: *const c_char, |
10464 | ); |
10465 | pub unsafefn g_application_command_line_set_exit_status( |
10466 | cmdline: *mut GApplicationCommandLine, |
10467 | exit_status: c_int, |
10468 | ); |
10469 | |
10470 | //========================================================================= |
10471 | // GBufferedInputStream |
10472 | //========================================================================= |
10473 | pub unsafefn g_buffered_input_stream_get_type() -> GType; |
10474 | pub unsafefn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream; |
10475 | pub unsafefn g_buffered_input_stream_new_sized( |
10476 | base_stream: *mut GInputStream, |
10477 | size: size_t, |
10478 | ) -> *mut GInputStream; |
10479 | pub unsafefn g_buffered_input_stream_fill( |
10480 | stream: *mut GBufferedInputStream, |
10481 | count: ssize_t, |
10482 | cancellable: *mut GCancellable, |
10483 | error: *mut *mut glib::GError, |
10484 | ) -> ssize_t; |
10485 | pub unsafefn g_buffered_input_stream_fill_async( |
10486 | stream: *mut GBufferedInputStream, |
10487 | count: ssize_t, |
10488 | io_priority: c_int, |
10489 | cancellable: *mut GCancellable, |
10490 | callback: GAsyncReadyCallback, |
10491 | user_data: gpointer, |
10492 | ); |
10493 | pub unsafefn g_buffered_input_stream_fill_finish( |
10494 | stream: *mut GBufferedInputStream, |
10495 | result: *mut GAsyncResult, |
10496 | error: *mut *mut glib::GError, |
10497 | ) -> ssize_t; |
10498 | pub unsafefn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t; |
10499 | pub unsafefn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t; |
10500 | pub unsafefn g_buffered_input_stream_peek( |
10501 | stream: *mut GBufferedInputStream, |
10502 | buffer: *mut u8, |
10503 | offset: size_t, |
10504 | count: size_t, |
10505 | ) -> size_t; |
10506 | pub unsafefn g_buffered_input_stream_peek_buffer( |
10507 | stream: *mut GBufferedInputStream, |
10508 | count: *mut size_t, |
10509 | ) -> *mut u8; |
10510 | pub unsafefn g_buffered_input_stream_read_byte( |
10511 | stream: *mut GBufferedInputStream, |
10512 | cancellable: *mut GCancellable, |
10513 | error: *mut *mut glib::GError, |
10514 | ) -> c_int; |
10515 | pub unsafefn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t); |
10516 | |
10517 | //========================================================================= |
10518 | // GBufferedOutputStream |
10519 | //========================================================================= |
10520 | pub unsafefn g_buffered_output_stream_get_type() -> GType; |
10521 | pub unsafefn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream; |
10522 | pub unsafefn g_buffered_output_stream_new_sized( |
10523 | base_stream: *mut GOutputStream, |
10524 | size: size_t, |
10525 | ) -> *mut GOutputStream; |
10526 | pub unsafefn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean; |
10527 | pub unsafefn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t; |
10528 | pub unsafefn g_buffered_output_stream_set_auto_grow( |
10529 | stream: *mut GBufferedOutputStream, |
10530 | auto_grow: gboolean, |
10531 | ); |
10532 | pub unsafefn g_buffered_output_stream_set_buffer_size( |
10533 | stream: *mut GBufferedOutputStream, |
10534 | size: size_t, |
10535 | ); |
10536 | |
10537 | //========================================================================= |
10538 | // GBytesIcon |
10539 | //========================================================================= |
10540 | pub unsafefn g_bytes_icon_get_type() -> GType; |
10541 | pub unsafefn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon; |
10542 | pub unsafefn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes; |
10543 | |
10544 | //========================================================================= |
10545 | // GCancellable |
10546 | //========================================================================= |
10547 | pub unsafefn g_cancellable_get_type() -> GType; |
10548 | pub unsafefn g_cancellable_new() -> *mut GCancellable; |
10549 | pub unsafefn g_cancellable_get_current() -> *mut GCancellable; |
10550 | pub unsafefn g_cancellable_cancel(cancellable: *mut GCancellable); |
10551 | pub unsafefn g_cancellable_connect( |
10552 | cancellable: *mut GCancellable, |
10553 | callback: gobject::GCallback, |
10554 | data: gpointer, |
10555 | data_destroy_func: glib::GDestroyNotify, |
10556 | ) -> c_ulong; |
10557 | pub unsafefn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong); |
10558 | pub unsafefn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int; |
10559 | pub unsafefn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean; |
10560 | pub unsafefn g_cancellable_make_pollfd( |
10561 | cancellable: *mut GCancellable, |
10562 | pollfd: *mut glib::GPollFD, |
10563 | ) -> gboolean; |
10564 | pub unsafefn g_cancellable_pop_current(cancellable: *mut GCancellable); |
10565 | pub unsafefn g_cancellable_push_current(cancellable: *mut GCancellable); |
10566 | pub unsafefn g_cancellable_release_fd(cancellable: *mut GCancellable); |
10567 | pub unsafefn g_cancellable_reset(cancellable: *mut GCancellable); |
10568 | pub unsafefn g_cancellable_set_error_if_cancelled( |
10569 | cancellable: *mut GCancellable, |
10570 | error: *mut *mut glib::GError, |
10571 | ) -> gboolean; |
10572 | pub unsafefn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource; |
10573 | |
10574 | //========================================================================= |
10575 | // GCharsetConverter |
10576 | //========================================================================= |
10577 | pub unsafefn g_charset_converter_get_type() -> GType; |
10578 | pub unsafefn g_charset_converter_new( |
10579 | to_charset: *const c_char, |
10580 | from_charset: *const c_char, |
10581 | error: *mut *mut glib::GError, |
10582 | ) -> *mut GCharsetConverter; |
10583 | pub unsafefn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint; |
10584 | pub unsafefn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean; |
10585 | pub unsafefn g_charset_converter_set_use_fallback( |
10586 | converter: *mut GCharsetConverter, |
10587 | use_fallback: gboolean, |
10588 | ); |
10589 | |
10590 | //========================================================================= |
10591 | // GConverterInputStream |
10592 | //========================================================================= |
10593 | pub unsafefn g_converter_input_stream_get_type() -> GType; |
10594 | pub unsafefn g_converter_input_stream_new( |
10595 | base_stream: *mut GInputStream, |
10596 | converter: *mut GConverter, |
10597 | ) -> *mut GInputStream; |
10598 | pub unsafefn g_converter_input_stream_get_converter( |
10599 | converter_stream: *mut GConverterInputStream, |
10600 | ) -> *mut GConverter; |
10601 | |
10602 | //========================================================================= |
10603 | // GConverterOutputStream |
10604 | //========================================================================= |
10605 | pub unsafefn g_converter_output_stream_get_type() -> GType; |
10606 | pub unsafefn g_converter_output_stream_new( |
10607 | base_stream: *mut GOutputStream, |
10608 | converter: *mut GConverter, |
10609 | ) -> *mut GOutputStream; |
10610 | pub unsafefn g_converter_output_stream_get_converter( |
10611 | converter_stream: *mut GConverterOutputStream, |
10612 | ) -> *mut GConverter; |
10613 | |
10614 | //========================================================================= |
10615 | // GCredentials |
10616 | //========================================================================= |
10617 | pub unsafefn g_credentials_get_type() -> GType; |
10618 | pub unsafefn g_credentials_new() -> *mut GCredentials; |
10619 | pub unsafefn g_credentials_get_native( |
10620 | credentials: *mut GCredentials, |
10621 | native_type: GCredentialsType, |
10622 | ) -> gpointer; |
10623 | #[cfg (unix)] |
10624 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
10625 | pub unsafefn g_credentials_get_unix_pid( |
10626 | credentials: *mut GCredentials, |
10627 | error: *mut *mut glib::GError, |
10628 | ) -> pid_t; |
10629 | #[cfg (unix)] |
10630 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
10631 | pub unsafefn g_credentials_get_unix_user( |
10632 | credentials: *mut GCredentials, |
10633 | error: *mut *mut glib::GError, |
10634 | ) -> uid_t; |
10635 | pub unsafefn g_credentials_is_same_user( |
10636 | credentials: *mut GCredentials, |
10637 | other_credentials: *mut GCredentials, |
10638 | error: *mut *mut glib::GError, |
10639 | ) -> gboolean; |
10640 | pub unsafefn g_credentials_set_native( |
10641 | credentials: *mut GCredentials, |
10642 | native_type: GCredentialsType, |
10643 | native: gpointer, |
10644 | ); |
10645 | #[cfg (unix)] |
10646 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
10647 | pub unsafefn g_credentials_set_unix_user( |
10648 | credentials: *mut GCredentials, |
10649 | uid: uid_t, |
10650 | error: *mut *mut glib::GError, |
10651 | ) -> gboolean; |
10652 | pub unsafefn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char; |
10653 | |
10654 | //========================================================================= |
10655 | // GDBusActionGroup |
10656 | //========================================================================= |
10657 | pub unsafefn g_dbus_action_group_get_type() -> GType; |
10658 | pub unsafefn g_dbus_action_group_get( |
10659 | connection: *mut GDBusConnection, |
10660 | bus_name: *const c_char, |
10661 | object_path: *const c_char, |
10662 | ) -> *mut GDBusActionGroup; |
10663 | |
10664 | //========================================================================= |
10665 | // GDBusAuthObserver |
10666 | //========================================================================= |
10667 | pub unsafefn g_dbus_auth_observer_get_type() -> GType; |
10668 | pub unsafefn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver; |
10669 | pub unsafefn g_dbus_auth_observer_allow_mechanism( |
10670 | observer: *mut GDBusAuthObserver, |
10671 | mechanism: *const c_char, |
10672 | ) -> gboolean; |
10673 | pub unsafefn g_dbus_auth_observer_authorize_authenticated_peer( |
10674 | observer: *mut GDBusAuthObserver, |
10675 | stream: *mut GIOStream, |
10676 | credentials: *mut GCredentials, |
10677 | ) -> gboolean; |
10678 | |
10679 | //========================================================================= |
10680 | // GDBusConnection |
10681 | //========================================================================= |
10682 | pub unsafefn g_dbus_connection_get_type() -> GType; |
10683 | pub unsafefn g_dbus_connection_new_finish( |
10684 | res: *mut GAsyncResult, |
10685 | error: *mut *mut glib::GError, |
10686 | ) -> *mut GDBusConnection; |
10687 | pub unsafefn g_dbus_connection_new_for_address_finish( |
10688 | res: *mut GAsyncResult, |
10689 | error: *mut *mut glib::GError, |
10690 | ) -> *mut GDBusConnection; |
10691 | pub unsafefn g_dbus_connection_new_for_address_sync( |
10692 | address: *const c_char, |
10693 | flags: GDBusConnectionFlags, |
10694 | observer: *mut GDBusAuthObserver, |
10695 | cancellable: *mut GCancellable, |
10696 | error: *mut *mut glib::GError, |
10697 | ) -> *mut GDBusConnection; |
10698 | pub unsafefn g_dbus_connection_new_sync( |
10699 | stream: *mut GIOStream, |
10700 | guid: *const c_char, |
10701 | flags: GDBusConnectionFlags, |
10702 | observer: *mut GDBusAuthObserver, |
10703 | cancellable: *mut GCancellable, |
10704 | error: *mut *mut glib::GError, |
10705 | ) -> *mut GDBusConnection; |
10706 | pub unsafefn g_dbus_connection_new( |
10707 | stream: *mut GIOStream, |
10708 | guid: *const c_char, |
10709 | flags: GDBusConnectionFlags, |
10710 | observer: *mut GDBusAuthObserver, |
10711 | cancellable: *mut GCancellable, |
10712 | callback: GAsyncReadyCallback, |
10713 | user_data: gpointer, |
10714 | ); |
10715 | pub unsafefn g_dbus_connection_new_for_address( |
10716 | address: *const c_char, |
10717 | flags: GDBusConnectionFlags, |
10718 | observer: *mut GDBusAuthObserver, |
10719 | cancellable: *mut GCancellable, |
10720 | callback: GAsyncReadyCallback, |
10721 | user_data: gpointer, |
10722 | ); |
10723 | pub unsafefn g_dbus_connection_add_filter( |
10724 | connection: *mut GDBusConnection, |
10725 | filter_function: GDBusMessageFilterFunction, |
10726 | user_data: gpointer, |
10727 | user_data_free_func: glib::GDestroyNotify, |
10728 | ) -> c_uint; |
10729 | pub unsafefn g_dbus_connection_call( |
10730 | connection: *mut GDBusConnection, |
10731 | bus_name: *const c_char, |
10732 | object_path: *const c_char, |
10733 | interface_name: *const c_char, |
10734 | method_name: *const c_char, |
10735 | parameters: *mut glib::GVariant, |
10736 | reply_type: *const glib::GVariantType, |
10737 | flags: GDBusCallFlags, |
10738 | timeout_msec: c_int, |
10739 | cancellable: *mut GCancellable, |
10740 | callback: GAsyncReadyCallback, |
10741 | user_data: gpointer, |
10742 | ); |
10743 | pub unsafefn g_dbus_connection_call_finish( |
10744 | connection: *mut GDBusConnection, |
10745 | res: *mut GAsyncResult, |
10746 | error: *mut *mut glib::GError, |
10747 | ) -> *mut glib::GVariant; |
10748 | pub unsafefn g_dbus_connection_call_sync( |
10749 | connection: *mut GDBusConnection, |
10750 | bus_name: *const c_char, |
10751 | object_path: *const c_char, |
10752 | interface_name: *const c_char, |
10753 | method_name: *const c_char, |
10754 | parameters: *mut glib::GVariant, |
10755 | reply_type: *const glib::GVariantType, |
10756 | flags: GDBusCallFlags, |
10757 | timeout_msec: c_int, |
10758 | cancellable: *mut GCancellable, |
10759 | error: *mut *mut glib::GError, |
10760 | ) -> *mut glib::GVariant; |
10761 | pub unsafefn g_dbus_connection_call_with_unix_fd_list( |
10762 | connection: *mut GDBusConnection, |
10763 | bus_name: *const c_char, |
10764 | object_path: *const c_char, |
10765 | interface_name: *const c_char, |
10766 | method_name: *const c_char, |
10767 | parameters: *mut glib::GVariant, |
10768 | reply_type: *const glib::GVariantType, |
10769 | flags: GDBusCallFlags, |
10770 | timeout_msec: c_int, |
10771 | fd_list: *mut GUnixFDList, |
10772 | cancellable: *mut GCancellable, |
10773 | callback: GAsyncReadyCallback, |
10774 | user_data: gpointer, |
10775 | ); |
10776 | pub unsafefn g_dbus_connection_call_with_unix_fd_list_finish( |
10777 | connection: *mut GDBusConnection, |
10778 | out_fd_list: *mut *mut GUnixFDList, |
10779 | res: *mut GAsyncResult, |
10780 | error: *mut *mut glib::GError, |
10781 | ) -> *mut glib::GVariant; |
10782 | pub unsafefn g_dbus_connection_call_with_unix_fd_list_sync( |
10783 | connection: *mut GDBusConnection, |
10784 | bus_name: *const c_char, |
10785 | object_path: *const c_char, |
10786 | interface_name: *const c_char, |
10787 | method_name: *const c_char, |
10788 | parameters: *mut glib::GVariant, |
10789 | reply_type: *const glib::GVariantType, |
10790 | flags: GDBusCallFlags, |
10791 | timeout_msec: c_int, |
10792 | fd_list: *mut GUnixFDList, |
10793 | out_fd_list: *mut *mut GUnixFDList, |
10794 | cancellable: *mut GCancellable, |
10795 | error: *mut *mut glib::GError, |
10796 | ) -> *mut glib::GVariant; |
10797 | pub unsafefn g_dbus_connection_close( |
10798 | connection: *mut GDBusConnection, |
10799 | cancellable: *mut GCancellable, |
10800 | callback: GAsyncReadyCallback, |
10801 | user_data: gpointer, |
10802 | ); |
10803 | pub unsafefn g_dbus_connection_close_finish( |
10804 | connection: *mut GDBusConnection, |
10805 | res: *mut GAsyncResult, |
10806 | error: *mut *mut glib::GError, |
10807 | ) -> gboolean; |
10808 | pub unsafefn g_dbus_connection_close_sync( |
10809 | connection: *mut GDBusConnection, |
10810 | cancellable: *mut GCancellable, |
10811 | error: *mut *mut glib::GError, |
10812 | ) -> gboolean; |
10813 | pub unsafefn g_dbus_connection_emit_signal( |
10814 | connection: *mut GDBusConnection, |
10815 | destination_bus_name: *const c_char, |
10816 | object_path: *const c_char, |
10817 | interface_name: *const c_char, |
10818 | signal_name: *const c_char, |
10819 | parameters: *mut glib::GVariant, |
10820 | error: *mut *mut glib::GError, |
10821 | ) -> gboolean; |
10822 | pub unsafefn g_dbus_connection_export_action_group( |
10823 | connection: *mut GDBusConnection, |
10824 | object_path: *const c_char, |
10825 | action_group: *mut GActionGroup, |
10826 | error: *mut *mut glib::GError, |
10827 | ) -> c_uint; |
10828 | pub unsafefn g_dbus_connection_export_menu_model( |
10829 | connection: *mut GDBusConnection, |
10830 | object_path: *const c_char, |
10831 | menu: *mut GMenuModel, |
10832 | error: *mut *mut glib::GError, |
10833 | ) -> c_uint; |
10834 | pub unsafefn g_dbus_connection_flush( |
10835 | connection: *mut GDBusConnection, |
10836 | cancellable: *mut GCancellable, |
10837 | callback: GAsyncReadyCallback, |
10838 | user_data: gpointer, |
10839 | ); |
10840 | pub unsafefn g_dbus_connection_flush_finish( |
10841 | connection: *mut GDBusConnection, |
10842 | res: *mut GAsyncResult, |
10843 | error: *mut *mut glib::GError, |
10844 | ) -> gboolean; |
10845 | pub unsafefn g_dbus_connection_flush_sync( |
10846 | connection: *mut GDBusConnection, |
10847 | cancellable: *mut GCancellable, |
10848 | error: *mut *mut glib::GError, |
10849 | ) -> gboolean; |
10850 | pub unsafefn g_dbus_connection_get_capabilities( |
10851 | connection: *mut GDBusConnection, |
10852 | ) -> GDBusCapabilityFlags; |
10853 | pub unsafefn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean; |
10854 | #[cfg (feature = "v2_60" )] |
10855 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
10856 | pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags; |
10857 | pub unsafefn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char; |
10858 | pub unsafefn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32; |
10859 | pub unsafefn g_dbus_connection_get_peer_credentials( |
10860 | connection: *mut GDBusConnection, |
10861 | ) -> *mut GCredentials; |
10862 | pub unsafefn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream; |
10863 | pub unsafefn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char; |
10864 | pub unsafefn g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean; |
10865 | pub unsafefn g_dbus_connection_register_object( |
10866 | connection: *mut GDBusConnection, |
10867 | object_path: *const c_char, |
10868 | interface_info: *mut GDBusInterfaceInfo, |
10869 | vtable: *const GDBusInterfaceVTable, |
10870 | user_data: gpointer, |
10871 | user_data_free_func: glib::GDestroyNotify, |
10872 | error: *mut *mut glib::GError, |
10873 | ) -> c_uint; |
10874 | pub unsafefn g_dbus_connection_register_object_with_closures( |
10875 | connection: *mut GDBusConnection, |
10876 | object_path: *const c_char, |
10877 | interface_info: *mut GDBusInterfaceInfo, |
10878 | method_call_closure: *mut gobject::GClosure, |
10879 | get_property_closure: *mut gobject::GClosure, |
10880 | set_property_closure: *mut gobject::GClosure, |
10881 | error: *mut *mut glib::GError, |
10882 | ) -> c_uint; |
10883 | pub unsafefn g_dbus_connection_register_subtree( |
10884 | connection: *mut GDBusConnection, |
10885 | object_path: *const c_char, |
10886 | vtable: *const GDBusSubtreeVTable, |
10887 | flags: GDBusSubtreeFlags, |
10888 | user_data: gpointer, |
10889 | user_data_free_func: glib::GDestroyNotify, |
10890 | error: *mut *mut glib::GError, |
10891 | ) -> c_uint; |
10892 | pub unsafefn g_dbus_connection_remove_filter(connection: *mut GDBusConnection, filter_id: c_uint); |
10893 | pub unsafefn g_dbus_connection_send_message( |
10894 | connection: *mut GDBusConnection, |
10895 | message: *mut GDBusMessage, |
10896 | flags: GDBusSendMessageFlags, |
10897 | out_serial: *mut u32, |
10898 | error: *mut *mut glib::GError, |
10899 | ) -> gboolean; |
10900 | pub unsafefn g_dbus_connection_send_message_with_reply( |
10901 | connection: *mut GDBusConnection, |
10902 | message: *mut GDBusMessage, |
10903 | flags: GDBusSendMessageFlags, |
10904 | timeout_msec: c_int, |
10905 | out_serial: *mut u32, |
10906 | cancellable: *mut GCancellable, |
10907 | callback: GAsyncReadyCallback, |
10908 | user_data: gpointer, |
10909 | ); |
10910 | pub unsafefn g_dbus_connection_send_message_with_reply_finish( |
10911 | connection: *mut GDBusConnection, |
10912 | res: *mut GAsyncResult, |
10913 | error: *mut *mut glib::GError, |
10914 | ) -> *mut GDBusMessage; |
10915 | pub unsafefn g_dbus_connection_send_message_with_reply_sync( |
10916 | connection: *mut GDBusConnection, |
10917 | message: *mut GDBusMessage, |
10918 | flags: GDBusSendMessageFlags, |
10919 | timeout_msec: c_int, |
10920 | out_serial: *mut u32, |
10921 | cancellable: *mut GCancellable, |
10922 | error: *mut *mut glib::GError, |
10923 | ) -> *mut GDBusMessage; |
10924 | pub unsafefn g_dbus_connection_set_exit_on_close( |
10925 | connection: *mut GDBusConnection, |
10926 | exit_on_close: gboolean, |
10927 | ); |
10928 | pub unsafefn g_dbus_connection_signal_subscribe( |
10929 | connection: *mut GDBusConnection, |
10930 | sender: *const c_char, |
10931 | interface_name: *const c_char, |
10932 | member: *const c_char, |
10933 | object_path: *const c_char, |
10934 | arg0: *const c_char, |
10935 | flags: GDBusSignalFlags, |
10936 | callback: GDBusSignalCallback, |
10937 | user_data: gpointer, |
10938 | user_data_free_func: glib::GDestroyNotify, |
10939 | ) -> c_uint; |
10940 | pub unsafefn g_dbus_connection_signal_unsubscribe( |
10941 | connection: *mut GDBusConnection, |
10942 | subscription_id: c_uint, |
10943 | ); |
10944 | pub unsafefn g_dbus_connection_start_message_processing(connection: *mut GDBusConnection); |
10945 | pub unsafefn g_dbus_connection_unexport_action_group( |
10946 | connection: *mut GDBusConnection, |
10947 | export_id: c_uint, |
10948 | ); |
10949 | pub unsafefn g_dbus_connection_unexport_menu_model( |
10950 | connection: *mut GDBusConnection, |
10951 | export_id: c_uint, |
10952 | ); |
10953 | pub unsafefn g_dbus_connection_unregister_object( |
10954 | connection: *mut GDBusConnection, |
10955 | registration_id: c_uint, |
10956 | ) -> gboolean; |
10957 | pub unsafefn g_dbus_connection_unregister_subtree( |
10958 | connection: *mut GDBusConnection, |
10959 | registration_id: c_uint, |
10960 | ) -> gboolean; |
10961 | |
10962 | //========================================================================= |
10963 | // GDBusInterfaceSkeleton |
10964 | //========================================================================= |
10965 | pub unsafefn g_dbus_interface_skeleton_get_type() -> GType; |
10966 | pub unsafefn g_dbus_interface_skeleton_export( |
10967 | interface_: *mut GDBusInterfaceSkeleton, |
10968 | connection: *mut GDBusConnection, |
10969 | object_path: *const c_char, |
10970 | error: *mut *mut glib::GError, |
10971 | ) -> gboolean; |
10972 | pub unsafefn g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton); |
10973 | pub unsafefn g_dbus_interface_skeleton_get_connection( |
10974 | interface_: *mut GDBusInterfaceSkeleton, |
10975 | ) -> *mut GDBusConnection; |
10976 | pub unsafefn g_dbus_interface_skeleton_get_connections( |
10977 | interface_: *mut GDBusInterfaceSkeleton, |
10978 | ) -> *mut glib::GList; |
10979 | pub unsafefn g_dbus_interface_skeleton_get_flags( |
10980 | interface_: *mut GDBusInterfaceSkeleton, |
10981 | ) -> GDBusInterfaceSkeletonFlags; |
10982 | pub unsafefn g_dbus_interface_skeleton_get_info( |
10983 | interface_: *mut GDBusInterfaceSkeleton, |
10984 | ) -> *mut GDBusInterfaceInfo; |
10985 | pub unsafefn g_dbus_interface_skeleton_get_object_path( |
10986 | interface_: *mut GDBusInterfaceSkeleton, |
10987 | ) -> *const c_char; |
10988 | pub unsafefn g_dbus_interface_skeleton_get_properties( |
10989 | interface_: *mut GDBusInterfaceSkeleton, |
10990 | ) -> *mut glib::GVariant; |
10991 | pub unsafefn g_dbus_interface_skeleton_get_vtable( |
10992 | interface_: *mut GDBusInterfaceSkeleton, |
10993 | ) -> *mut GDBusInterfaceVTable; |
10994 | pub unsafefn g_dbus_interface_skeleton_has_connection( |
10995 | interface_: *mut GDBusInterfaceSkeleton, |
10996 | connection: *mut GDBusConnection, |
10997 | ) -> gboolean; |
10998 | pub unsafefn g_dbus_interface_skeleton_set_flags( |
10999 | interface_: *mut GDBusInterfaceSkeleton, |
11000 | flags: GDBusInterfaceSkeletonFlags, |
11001 | ); |
11002 | pub unsafefn g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton); |
11003 | pub unsafefn g_dbus_interface_skeleton_unexport_from_connection( |
11004 | interface_: *mut GDBusInterfaceSkeleton, |
11005 | connection: *mut GDBusConnection, |
11006 | ); |
11007 | |
11008 | //========================================================================= |
11009 | // GDBusMenuModel |
11010 | //========================================================================= |
11011 | pub unsafefn g_dbus_menu_model_get_type() -> GType; |
11012 | pub unsafefn g_dbus_menu_model_get( |
11013 | connection: *mut GDBusConnection, |
11014 | bus_name: *const c_char, |
11015 | object_path: *const c_char, |
11016 | ) -> *mut GDBusMenuModel; |
11017 | |
11018 | //========================================================================= |
11019 | // GDBusMessage |
11020 | //========================================================================= |
11021 | pub unsafefn g_dbus_message_get_type() -> GType; |
11022 | pub unsafefn g_dbus_message_new() -> *mut GDBusMessage; |
11023 | pub unsafefn g_dbus_message_new_from_blob( |
11024 | blob: *mut u8, |
11025 | blob_len: size_t, |
11026 | capabilities: GDBusCapabilityFlags, |
11027 | error: *mut *mut glib::GError, |
11028 | ) -> *mut GDBusMessage; |
11029 | pub unsafefn g_dbus_message_new_method_call( |
11030 | name: *const c_char, |
11031 | path: *const c_char, |
11032 | interface_: *const c_char, |
11033 | method: *const c_char, |
11034 | ) -> *mut GDBusMessage; |
11035 | pub unsafefn g_dbus_message_new_signal( |
11036 | path: *const c_char, |
11037 | interface_: *const c_char, |
11038 | signal: *const c_char, |
11039 | ) -> *mut GDBusMessage; |
11040 | pub unsafefn g_dbus_message_bytes_needed( |
11041 | blob: *mut u8, |
11042 | blob_len: size_t, |
11043 | error: *mut *mut glib::GError, |
11044 | ) -> ssize_t; |
11045 | pub unsafefn g_dbus_message_copy( |
11046 | message: *mut GDBusMessage, |
11047 | error: *mut *mut glib::GError, |
11048 | ) -> *mut GDBusMessage; |
11049 | pub unsafefn g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const c_char; |
11050 | #[cfg (feature = "v2_80" )] |
11051 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
11052 | pub fn g_dbus_message_get_arg0_path(message: *mut GDBusMessage) -> *const c_char; |
11053 | pub unsafefn g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut glib::GVariant; |
11054 | pub unsafefn g_dbus_message_get_byte_order(message: *mut GDBusMessage) -> GDBusMessageByteOrder; |
11055 | pub unsafefn g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const c_char; |
11056 | pub unsafefn g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const c_char; |
11057 | pub unsafefn g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags; |
11058 | pub unsafefn g_dbus_message_get_header( |
11059 | message: *mut GDBusMessage, |
11060 | header_field: GDBusMessageHeaderField, |
11061 | ) -> *mut glib::GVariant; |
11062 | pub unsafefn g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut u8; |
11063 | pub unsafefn g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const c_char; |
11064 | pub unsafefn g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean; |
11065 | pub unsafefn g_dbus_message_get_member(message: *mut GDBusMessage) -> *const c_char; |
11066 | pub unsafefn g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType; |
11067 | pub unsafefn g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> u32; |
11068 | pub unsafefn g_dbus_message_get_path(message: *mut GDBusMessage) -> *const c_char; |
11069 | pub unsafefn g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> u32; |
11070 | pub unsafefn g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const c_char; |
11071 | pub unsafefn g_dbus_message_get_serial(message: *mut GDBusMessage) -> u32; |
11072 | pub unsafefn g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const c_char; |
11073 | pub unsafefn g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList; |
11074 | pub unsafefn g_dbus_message_lock(message: *mut GDBusMessage); |
11075 | pub unsafefn g_dbus_message_new_method_error( |
11076 | method_call_message: *mut GDBusMessage, |
11077 | error_name: *const c_char, |
11078 | error_message_format: *const c_char, |
11079 | ... |
11080 | ) -> *mut GDBusMessage; |
11081 | pub unsafefn g_dbus_message_new_method_error_literal( |
11082 | method_call_message: *mut GDBusMessage, |
11083 | error_name: *const c_char, |
11084 | error_message: *const c_char, |
11085 | ) -> *mut GDBusMessage; |
11086 | //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; |
11087 | pub unsafefn g_dbus_message_new_method_reply( |
11088 | method_call_message: *mut GDBusMessage, |
11089 | ) -> *mut GDBusMessage; |
11090 | pub unsafefn g_dbus_message_print(message: *mut GDBusMessage, indent: c_uint) -> *mut c_char; |
11091 | pub unsafefn g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut glib::GVariant); |
11092 | pub unsafefn g_dbus_message_set_byte_order( |
11093 | message: *mut GDBusMessage, |
11094 | byte_order: GDBusMessageByteOrder, |
11095 | ); |
11096 | pub unsafefn g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const c_char); |
11097 | pub unsafefn g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const c_char); |
11098 | pub unsafefn g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags); |
11099 | pub unsafefn g_dbus_message_set_header( |
11100 | message: *mut GDBusMessage, |
11101 | header_field: GDBusMessageHeaderField, |
11102 | value: *mut glib::GVariant, |
11103 | ); |
11104 | pub unsafefn g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const c_char); |
11105 | pub unsafefn g_dbus_message_set_member(message: *mut GDBusMessage, value: *const c_char); |
11106 | pub unsafefn g_dbus_message_set_message_type(message: *mut GDBusMessage, type_: GDBusMessageType); |
11107 | pub unsafefn g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: u32); |
11108 | pub unsafefn g_dbus_message_set_path(message: *mut GDBusMessage, value: *const c_char); |
11109 | pub unsafefn g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: u32); |
11110 | pub unsafefn g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const c_char); |
11111 | pub unsafefn g_dbus_message_set_serial(message: *mut GDBusMessage, serial: u32); |
11112 | pub unsafefn g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const c_char); |
11113 | pub unsafefn g_dbus_message_set_unix_fd_list(message: *mut GDBusMessage, fd_list: *mut GUnixFDList); |
11114 | pub unsafefn g_dbus_message_to_blob( |
11115 | message: *mut GDBusMessage, |
11116 | out_size: *mut size_t, |
11117 | capabilities: GDBusCapabilityFlags, |
11118 | error: *mut *mut glib::GError, |
11119 | ) -> *mut u8; |
11120 | pub unsafefn g_dbus_message_to_gerror( |
11121 | message: *mut GDBusMessage, |
11122 | error: *mut *mut glib::GError, |
11123 | ) -> gboolean; |
11124 | |
11125 | //========================================================================= |
11126 | // GDBusMethodInvocation |
11127 | //========================================================================= |
11128 | pub unsafefn g_dbus_method_invocation_get_type() -> GType; |
11129 | pub unsafefn g_dbus_method_invocation_get_connection( |
11130 | invocation: *mut GDBusMethodInvocation, |
11131 | ) -> *mut GDBusConnection; |
11132 | pub unsafefn g_dbus_method_invocation_get_interface_name( |
11133 | invocation: *mut GDBusMethodInvocation, |
11134 | ) -> *const c_char; |
11135 | pub unsafefn g_dbus_method_invocation_get_message( |
11136 | invocation: *mut GDBusMethodInvocation, |
11137 | ) -> *mut GDBusMessage; |
11138 | pub unsafefn g_dbus_method_invocation_get_method_info( |
11139 | invocation: *mut GDBusMethodInvocation, |
11140 | ) -> *const GDBusMethodInfo; |
11141 | pub unsafefn g_dbus_method_invocation_get_method_name( |
11142 | invocation: *mut GDBusMethodInvocation, |
11143 | ) -> *const c_char; |
11144 | pub unsafefn g_dbus_method_invocation_get_object_path( |
11145 | invocation: *mut GDBusMethodInvocation, |
11146 | ) -> *const c_char; |
11147 | pub unsafefn g_dbus_method_invocation_get_parameters( |
11148 | invocation: *mut GDBusMethodInvocation, |
11149 | ) -> *mut glib::GVariant; |
11150 | pub unsafefn g_dbus_method_invocation_get_property_info( |
11151 | invocation: *mut GDBusMethodInvocation, |
11152 | ) -> *const GDBusPropertyInfo; |
11153 | pub unsafefn g_dbus_method_invocation_get_sender( |
11154 | invocation: *mut GDBusMethodInvocation, |
11155 | ) -> *const c_char; |
11156 | pub unsafefn g_dbus_method_invocation_get_user_data( |
11157 | invocation: *mut GDBusMethodInvocation, |
11158 | ) -> gpointer; |
11159 | pub unsafefn g_dbus_method_invocation_return_dbus_error( |
11160 | invocation: *mut GDBusMethodInvocation, |
11161 | error_name: *const c_char, |
11162 | error_message: *const c_char, |
11163 | ); |
11164 | pub unsafefn g_dbus_method_invocation_return_error( |
11165 | invocation: *mut GDBusMethodInvocation, |
11166 | domain: glib::GQuark, |
11167 | code: c_int, |
11168 | format: *const c_char, |
11169 | ... |
11170 | ); |
11171 | pub unsafefn g_dbus_method_invocation_return_error_literal( |
11172 | invocation: *mut GDBusMethodInvocation, |
11173 | domain: glib::GQuark, |
11174 | code: c_int, |
11175 | message: *const c_char, |
11176 | ); |
11177 | //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); |
11178 | pub unsafefn g_dbus_method_invocation_return_gerror( |
11179 | invocation: *mut GDBusMethodInvocation, |
11180 | error: *const glib::GError, |
11181 | ); |
11182 | pub unsafefn g_dbus_method_invocation_return_value( |
11183 | invocation: *mut GDBusMethodInvocation, |
11184 | parameters: *mut glib::GVariant, |
11185 | ); |
11186 | pub unsafefn g_dbus_method_invocation_return_value_with_unix_fd_list( |
11187 | invocation: *mut GDBusMethodInvocation, |
11188 | parameters: *mut glib::GVariant, |
11189 | fd_list: *mut GUnixFDList, |
11190 | ); |
11191 | pub unsafefn g_dbus_method_invocation_take_error( |
11192 | invocation: *mut GDBusMethodInvocation, |
11193 | error: *mut glib::GError, |
11194 | ); |
11195 | |
11196 | //========================================================================= |
11197 | // GDBusObjectManagerClient |
11198 | //========================================================================= |
11199 | pub unsafefn g_dbus_object_manager_client_get_type() -> GType; |
11200 | pub unsafefn g_dbus_object_manager_client_new_finish( |
11201 | res: *mut GAsyncResult, |
11202 | error: *mut *mut glib::GError, |
11203 | ) -> *mut GDBusObjectManagerClient; |
11204 | pub unsafefn g_dbus_object_manager_client_new_for_bus_finish( |
11205 | res: *mut GAsyncResult, |
11206 | error: *mut *mut glib::GError, |
11207 | ) -> *mut GDBusObjectManagerClient; |
11208 | pub unsafefn g_dbus_object_manager_client_new_for_bus_sync( |
11209 | bus_type: GBusType, |
11210 | flags: GDBusObjectManagerClientFlags, |
11211 | name: *const c_char, |
11212 | object_path: *const c_char, |
11213 | get_proxy_type_func: GDBusProxyTypeFunc, |
11214 | get_proxy_type_user_data: gpointer, |
11215 | get_proxy_type_destroy_notify: glib::GDestroyNotify, |
11216 | cancellable: *mut GCancellable, |
11217 | error: *mut *mut glib::GError, |
11218 | ) -> *mut GDBusObjectManagerClient; |
11219 | pub unsafefn g_dbus_object_manager_client_new_sync( |
11220 | connection: *mut GDBusConnection, |
11221 | flags: GDBusObjectManagerClientFlags, |
11222 | name: *const c_char, |
11223 | object_path: *const c_char, |
11224 | get_proxy_type_func: GDBusProxyTypeFunc, |
11225 | get_proxy_type_user_data: gpointer, |
11226 | get_proxy_type_destroy_notify: glib::GDestroyNotify, |
11227 | cancellable: *mut GCancellable, |
11228 | error: *mut *mut glib::GError, |
11229 | ) -> *mut GDBusObjectManagerClient; |
11230 | pub unsafefn g_dbus_object_manager_client_new( |
11231 | connection: *mut GDBusConnection, |
11232 | flags: GDBusObjectManagerClientFlags, |
11233 | name: *const c_char, |
11234 | object_path: *const c_char, |
11235 | get_proxy_type_func: GDBusProxyTypeFunc, |
11236 | get_proxy_type_user_data: gpointer, |
11237 | get_proxy_type_destroy_notify: glib::GDestroyNotify, |
11238 | cancellable: *mut GCancellable, |
11239 | callback: GAsyncReadyCallback, |
11240 | user_data: gpointer, |
11241 | ); |
11242 | pub unsafefn g_dbus_object_manager_client_new_for_bus( |
11243 | bus_type: GBusType, |
11244 | flags: GDBusObjectManagerClientFlags, |
11245 | name: *const c_char, |
11246 | object_path: *const c_char, |
11247 | get_proxy_type_func: GDBusProxyTypeFunc, |
11248 | get_proxy_type_user_data: gpointer, |
11249 | get_proxy_type_destroy_notify: glib::GDestroyNotify, |
11250 | cancellable: *mut GCancellable, |
11251 | callback: GAsyncReadyCallback, |
11252 | user_data: gpointer, |
11253 | ); |
11254 | pub unsafefn g_dbus_object_manager_client_get_connection( |
11255 | manager: *mut GDBusObjectManagerClient, |
11256 | ) -> *mut GDBusConnection; |
11257 | pub unsafefn g_dbus_object_manager_client_get_flags( |
11258 | manager: *mut GDBusObjectManagerClient, |
11259 | ) -> GDBusObjectManagerClientFlags; |
11260 | pub unsafefn g_dbus_object_manager_client_get_name( |
11261 | manager: *mut GDBusObjectManagerClient, |
11262 | ) -> *const c_char; |
11263 | pub unsafefn g_dbus_object_manager_client_get_name_owner( |
11264 | manager: *mut GDBusObjectManagerClient, |
11265 | ) -> *mut c_char; |
11266 | |
11267 | //========================================================================= |
11268 | // GDBusObjectManagerServer |
11269 | //========================================================================= |
11270 | pub unsafefn g_dbus_object_manager_server_get_type() -> GType; |
11271 | pub unsafefn g_dbus_object_manager_server_new( |
11272 | object_path: *const c_char, |
11273 | ) -> *mut GDBusObjectManagerServer; |
11274 | pub unsafefn g_dbus_object_manager_server_export( |
11275 | manager: *mut GDBusObjectManagerServer, |
11276 | object: *mut GDBusObjectSkeleton, |
11277 | ); |
11278 | pub unsafefn g_dbus_object_manager_server_export_uniquely( |
11279 | manager: *mut GDBusObjectManagerServer, |
11280 | object: *mut GDBusObjectSkeleton, |
11281 | ); |
11282 | pub unsafefn g_dbus_object_manager_server_get_connection( |
11283 | manager: *mut GDBusObjectManagerServer, |
11284 | ) -> *mut GDBusConnection; |
11285 | pub unsafefn g_dbus_object_manager_server_is_exported( |
11286 | manager: *mut GDBusObjectManagerServer, |
11287 | object: *mut GDBusObjectSkeleton, |
11288 | ) -> gboolean; |
11289 | pub unsafefn g_dbus_object_manager_server_set_connection( |
11290 | manager: *mut GDBusObjectManagerServer, |
11291 | connection: *mut GDBusConnection, |
11292 | ); |
11293 | pub unsafefn g_dbus_object_manager_server_unexport( |
11294 | manager: *mut GDBusObjectManagerServer, |
11295 | object_path: *const c_char, |
11296 | ) -> gboolean; |
11297 | |
11298 | //========================================================================= |
11299 | // GDBusObjectProxy |
11300 | //========================================================================= |
11301 | pub unsafefn g_dbus_object_proxy_get_type() -> GType; |
11302 | pub unsafefn g_dbus_object_proxy_new( |
11303 | connection: *mut GDBusConnection, |
11304 | object_path: *const c_char, |
11305 | ) -> *mut GDBusObjectProxy; |
11306 | pub unsafefn g_dbus_object_proxy_get_connection(proxy: *mut GDBusObjectProxy) |
11307 | -> *mut GDBusConnection; |
11308 | |
11309 | //========================================================================= |
11310 | // GDBusObjectSkeleton |
11311 | //========================================================================= |
11312 | pub unsafefn g_dbus_object_skeleton_get_type() -> GType; |
11313 | pub unsafefn g_dbus_object_skeleton_new(object_path: *const c_char) -> *mut GDBusObjectSkeleton; |
11314 | pub unsafefn g_dbus_object_skeleton_add_interface( |
11315 | object: *mut GDBusObjectSkeleton, |
11316 | interface_: *mut GDBusInterfaceSkeleton, |
11317 | ); |
11318 | pub unsafefn g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton); |
11319 | pub unsafefn g_dbus_object_skeleton_remove_interface( |
11320 | object: *mut GDBusObjectSkeleton, |
11321 | interface_: *mut GDBusInterfaceSkeleton, |
11322 | ); |
11323 | pub unsafefn g_dbus_object_skeleton_remove_interface_by_name( |
11324 | object: *mut GDBusObjectSkeleton, |
11325 | interface_name: *const c_char, |
11326 | ); |
11327 | pub unsafefn g_dbus_object_skeleton_set_object_path( |
11328 | object: *mut GDBusObjectSkeleton, |
11329 | object_path: *const c_char, |
11330 | ); |
11331 | |
11332 | //========================================================================= |
11333 | // GDBusProxy |
11334 | //========================================================================= |
11335 | pub unsafefn g_dbus_proxy_get_type() -> GType; |
11336 | pub unsafefn g_dbus_proxy_new_finish( |
11337 | res: *mut GAsyncResult, |
11338 | error: *mut *mut glib::GError, |
11339 | ) -> *mut GDBusProxy; |
11340 | pub unsafefn g_dbus_proxy_new_for_bus_finish( |
11341 | res: *mut GAsyncResult, |
11342 | error: *mut *mut glib::GError, |
11343 | ) -> *mut GDBusProxy; |
11344 | pub unsafefn g_dbus_proxy_new_for_bus_sync( |
11345 | bus_type: GBusType, |
11346 | flags: GDBusProxyFlags, |
11347 | info: *mut GDBusInterfaceInfo, |
11348 | name: *const c_char, |
11349 | object_path: *const c_char, |
11350 | interface_name: *const c_char, |
11351 | cancellable: *mut GCancellable, |
11352 | error: *mut *mut glib::GError, |
11353 | ) -> *mut GDBusProxy; |
11354 | pub unsafefn g_dbus_proxy_new_sync( |
11355 | connection: *mut GDBusConnection, |
11356 | flags: GDBusProxyFlags, |
11357 | info: *mut GDBusInterfaceInfo, |
11358 | name: *const c_char, |
11359 | object_path: *const c_char, |
11360 | interface_name: *const c_char, |
11361 | cancellable: *mut GCancellable, |
11362 | error: *mut *mut glib::GError, |
11363 | ) -> *mut GDBusProxy; |
11364 | pub unsafefn g_dbus_proxy_new( |
11365 | connection: *mut GDBusConnection, |
11366 | flags: GDBusProxyFlags, |
11367 | info: *mut GDBusInterfaceInfo, |
11368 | name: *const c_char, |
11369 | object_path: *const c_char, |
11370 | interface_name: *const c_char, |
11371 | cancellable: *mut GCancellable, |
11372 | callback: GAsyncReadyCallback, |
11373 | user_data: gpointer, |
11374 | ); |
11375 | pub unsafefn g_dbus_proxy_new_for_bus( |
11376 | bus_type: GBusType, |
11377 | flags: GDBusProxyFlags, |
11378 | info: *mut GDBusInterfaceInfo, |
11379 | name: *const c_char, |
11380 | object_path: *const c_char, |
11381 | interface_name: *const c_char, |
11382 | cancellable: *mut GCancellable, |
11383 | callback: GAsyncReadyCallback, |
11384 | user_data: gpointer, |
11385 | ); |
11386 | pub unsafefn g_dbus_proxy_call( |
11387 | proxy: *mut GDBusProxy, |
11388 | method_name: *const c_char, |
11389 | parameters: *mut glib::GVariant, |
11390 | flags: GDBusCallFlags, |
11391 | timeout_msec: c_int, |
11392 | cancellable: *mut GCancellable, |
11393 | callback: GAsyncReadyCallback, |
11394 | user_data: gpointer, |
11395 | ); |
11396 | pub unsafefn g_dbus_proxy_call_finish( |
11397 | proxy: *mut GDBusProxy, |
11398 | res: *mut GAsyncResult, |
11399 | error: *mut *mut glib::GError, |
11400 | ) -> *mut glib::GVariant; |
11401 | pub unsafefn g_dbus_proxy_call_sync( |
11402 | proxy: *mut GDBusProxy, |
11403 | method_name: *const c_char, |
11404 | parameters: *mut glib::GVariant, |
11405 | flags: GDBusCallFlags, |
11406 | timeout_msec: c_int, |
11407 | cancellable: *mut GCancellable, |
11408 | error: *mut *mut glib::GError, |
11409 | ) -> *mut glib::GVariant; |
11410 | pub unsafefn g_dbus_proxy_call_with_unix_fd_list( |
11411 | proxy: *mut GDBusProxy, |
11412 | method_name: *const c_char, |
11413 | parameters: *mut glib::GVariant, |
11414 | flags: GDBusCallFlags, |
11415 | timeout_msec: c_int, |
11416 | fd_list: *mut GUnixFDList, |
11417 | cancellable: *mut GCancellable, |
11418 | callback: GAsyncReadyCallback, |
11419 | user_data: gpointer, |
11420 | ); |
11421 | pub unsafefn g_dbus_proxy_call_with_unix_fd_list_finish( |
11422 | proxy: *mut GDBusProxy, |
11423 | out_fd_list: *mut *mut GUnixFDList, |
11424 | res: *mut GAsyncResult, |
11425 | error: *mut *mut glib::GError, |
11426 | ) -> *mut glib::GVariant; |
11427 | pub unsafefn g_dbus_proxy_call_with_unix_fd_list_sync( |
11428 | proxy: *mut GDBusProxy, |
11429 | method_name: *const c_char, |
11430 | parameters: *mut glib::GVariant, |
11431 | flags: GDBusCallFlags, |
11432 | timeout_msec: c_int, |
11433 | fd_list: *mut GUnixFDList, |
11434 | out_fd_list: *mut *mut GUnixFDList, |
11435 | cancellable: *mut GCancellable, |
11436 | error: *mut *mut glib::GError, |
11437 | ) -> *mut glib::GVariant; |
11438 | pub unsafefn g_dbus_proxy_get_cached_property( |
11439 | proxy: *mut GDBusProxy, |
11440 | property_name: *const c_char, |
11441 | ) -> *mut glib::GVariant; |
11442 | pub unsafefn g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy) -> *mut *mut c_char; |
11443 | pub unsafefn g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection; |
11444 | pub unsafefn g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> c_int; |
11445 | pub unsafefn g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags; |
11446 | pub unsafefn g_dbus_proxy_get_interface_info(proxy: *mut GDBusProxy) -> *mut GDBusInterfaceInfo; |
11447 | pub unsafefn g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const c_char; |
11448 | pub unsafefn g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const c_char; |
11449 | pub unsafefn g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut c_char; |
11450 | pub unsafefn g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const c_char; |
11451 | pub unsafefn g_dbus_proxy_set_cached_property( |
11452 | proxy: *mut GDBusProxy, |
11453 | property_name: *const c_char, |
11454 | value: *mut glib::GVariant, |
11455 | ); |
11456 | pub unsafefn g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: c_int); |
11457 | pub unsafefn g_dbus_proxy_set_interface_info(proxy: *mut GDBusProxy, info: *mut GDBusInterfaceInfo); |
11458 | |
11459 | //========================================================================= |
11460 | // GDBusServer |
11461 | //========================================================================= |
11462 | pub unsafefn g_dbus_server_get_type() -> GType; |
11463 | pub unsafefn g_dbus_server_new_sync( |
11464 | address: *const c_char, |
11465 | flags: GDBusServerFlags, |
11466 | guid: *const c_char, |
11467 | observer: *mut GDBusAuthObserver, |
11468 | cancellable: *mut GCancellable, |
11469 | error: *mut *mut glib::GError, |
11470 | ) -> *mut GDBusServer; |
11471 | pub unsafefn g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const c_char; |
11472 | pub unsafefn g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags; |
11473 | pub unsafefn g_dbus_server_get_guid(server: *mut GDBusServer) -> *const c_char; |
11474 | pub unsafefn g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean; |
11475 | pub unsafefn g_dbus_server_start(server: *mut GDBusServer); |
11476 | pub unsafefn g_dbus_server_stop(server: *mut GDBusServer); |
11477 | |
11478 | //========================================================================= |
11479 | // GDataInputStream |
11480 | //========================================================================= |
11481 | pub unsafefn g_data_input_stream_get_type() -> GType; |
11482 | pub unsafefn g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream; |
11483 | pub unsafefn g_data_input_stream_get_byte_order( |
11484 | stream: *mut GDataInputStream, |
11485 | ) -> GDataStreamByteOrder; |
11486 | pub unsafefn g_data_input_stream_get_newline_type( |
11487 | stream: *mut GDataInputStream, |
11488 | ) -> GDataStreamNewlineType; |
11489 | pub unsafefn g_data_input_stream_read_byte( |
11490 | stream: *mut GDataInputStream, |
11491 | cancellable: *mut GCancellable, |
11492 | error: *mut *mut glib::GError, |
11493 | ) -> c_uchar; |
11494 | pub unsafefn g_data_input_stream_read_int16( |
11495 | stream: *mut GDataInputStream, |
11496 | cancellable: *mut GCancellable, |
11497 | error: *mut *mut glib::GError, |
11498 | ) -> i16; |
11499 | pub unsafefn g_data_input_stream_read_int32( |
11500 | stream: *mut GDataInputStream, |
11501 | cancellable: *mut GCancellable, |
11502 | error: *mut *mut glib::GError, |
11503 | ) -> i32; |
11504 | pub unsafefn g_data_input_stream_read_int64( |
11505 | stream: *mut GDataInputStream, |
11506 | cancellable: *mut GCancellable, |
11507 | error: *mut *mut glib::GError, |
11508 | ) -> i64; |
11509 | pub unsafefn g_data_input_stream_read_line( |
11510 | stream: *mut GDataInputStream, |
11511 | length: *mut size_t, |
11512 | cancellable: *mut GCancellable, |
11513 | error: *mut *mut glib::GError, |
11514 | ) -> *mut u8; |
11515 | pub unsafefn g_data_input_stream_read_line_async( |
11516 | stream: *mut GDataInputStream, |
11517 | io_priority: c_int, |
11518 | cancellable: *mut GCancellable, |
11519 | callback: GAsyncReadyCallback, |
11520 | user_data: gpointer, |
11521 | ); |
11522 | pub unsafefn g_data_input_stream_read_line_finish( |
11523 | stream: *mut GDataInputStream, |
11524 | result: *mut GAsyncResult, |
11525 | length: *mut size_t, |
11526 | error: *mut *mut glib::GError, |
11527 | ) -> *mut u8; |
11528 | pub unsafefn g_data_input_stream_read_line_finish_utf8( |
11529 | stream: *mut GDataInputStream, |
11530 | result: *mut GAsyncResult, |
11531 | length: *mut size_t, |
11532 | error: *mut *mut glib::GError, |
11533 | ) -> *mut c_char; |
11534 | pub unsafefn g_data_input_stream_read_line_utf8( |
11535 | stream: *mut GDataInputStream, |
11536 | length: *mut size_t, |
11537 | cancellable: *mut GCancellable, |
11538 | error: *mut *mut glib::GError, |
11539 | ) -> *mut c_char; |
11540 | pub unsafefn g_data_input_stream_read_uint16( |
11541 | stream: *mut GDataInputStream, |
11542 | cancellable: *mut GCancellable, |
11543 | error: *mut *mut glib::GError, |
11544 | ) -> u16; |
11545 | pub unsafefn g_data_input_stream_read_uint32( |
11546 | stream: *mut GDataInputStream, |
11547 | cancellable: *mut GCancellable, |
11548 | error: *mut *mut glib::GError, |
11549 | ) -> u32; |
11550 | pub unsafefn g_data_input_stream_read_uint64( |
11551 | stream: *mut GDataInputStream, |
11552 | cancellable: *mut GCancellable, |
11553 | error: *mut *mut glib::GError, |
11554 | ) -> u64; |
11555 | pub unsafefn g_data_input_stream_read_until( |
11556 | stream: *mut GDataInputStream, |
11557 | stop_chars: *const c_char, |
11558 | length: *mut size_t, |
11559 | cancellable: *mut GCancellable, |
11560 | error: *mut *mut glib::GError, |
11561 | ) -> *mut c_char; |
11562 | pub unsafefn g_data_input_stream_read_until_async( |
11563 | stream: *mut GDataInputStream, |
11564 | stop_chars: *const c_char, |
11565 | io_priority: c_int, |
11566 | cancellable: *mut GCancellable, |
11567 | callback: GAsyncReadyCallback, |
11568 | user_data: gpointer, |
11569 | ); |
11570 | pub unsafefn g_data_input_stream_read_until_finish( |
11571 | stream: *mut GDataInputStream, |
11572 | result: *mut GAsyncResult, |
11573 | length: *mut size_t, |
11574 | error: *mut *mut glib::GError, |
11575 | ) -> *mut c_char; |
11576 | pub unsafefn g_data_input_stream_read_upto( |
11577 | stream: *mut GDataInputStream, |
11578 | stop_chars: *const c_char, |
11579 | stop_chars_len: ssize_t, |
11580 | length: *mut size_t, |
11581 | cancellable: *mut GCancellable, |
11582 | error: *mut *mut glib::GError, |
11583 | ) -> *mut c_char; |
11584 | pub unsafefn g_data_input_stream_read_upto_async( |
11585 | stream: *mut GDataInputStream, |
11586 | stop_chars: *const c_char, |
11587 | stop_chars_len: ssize_t, |
11588 | io_priority: c_int, |
11589 | cancellable: *mut GCancellable, |
11590 | callback: GAsyncReadyCallback, |
11591 | user_data: gpointer, |
11592 | ); |
11593 | pub unsafefn g_data_input_stream_read_upto_finish( |
11594 | stream: *mut GDataInputStream, |
11595 | result: *mut GAsyncResult, |
11596 | length: *mut size_t, |
11597 | error: *mut *mut glib::GError, |
11598 | ) -> *mut c_char; |
11599 | pub unsafefn g_data_input_stream_set_byte_order( |
11600 | stream: *mut GDataInputStream, |
11601 | order: GDataStreamByteOrder, |
11602 | ); |
11603 | pub unsafefn g_data_input_stream_set_newline_type( |
11604 | stream: *mut GDataInputStream, |
11605 | type_: GDataStreamNewlineType, |
11606 | ); |
11607 | |
11608 | //========================================================================= |
11609 | // GDataOutputStream |
11610 | //========================================================================= |
11611 | pub unsafefn g_data_output_stream_get_type() -> GType; |
11612 | pub unsafefn g_data_output_stream_new(base_stream: *mut GOutputStream) -> *mut GDataOutputStream; |
11613 | pub unsafefn g_data_output_stream_get_byte_order( |
11614 | stream: *mut GDataOutputStream, |
11615 | ) -> GDataStreamByteOrder; |
11616 | pub unsafefn g_data_output_stream_put_byte( |
11617 | stream: *mut GDataOutputStream, |
11618 | data: c_uchar, |
11619 | cancellable: *mut GCancellable, |
11620 | error: *mut *mut glib::GError, |
11621 | ) -> gboolean; |
11622 | pub unsafefn g_data_output_stream_put_int16( |
11623 | stream: *mut GDataOutputStream, |
11624 | data: i16, |
11625 | cancellable: *mut GCancellable, |
11626 | error: *mut *mut glib::GError, |
11627 | ) -> gboolean; |
11628 | pub unsafefn g_data_output_stream_put_int32( |
11629 | stream: *mut GDataOutputStream, |
11630 | data: i32, |
11631 | cancellable: *mut GCancellable, |
11632 | error: *mut *mut glib::GError, |
11633 | ) -> gboolean; |
11634 | pub unsafefn g_data_output_stream_put_int64( |
11635 | stream: *mut GDataOutputStream, |
11636 | data: i64, |
11637 | cancellable: *mut GCancellable, |
11638 | error: *mut *mut glib::GError, |
11639 | ) -> gboolean; |
11640 | pub unsafefn g_data_output_stream_put_string( |
11641 | stream: *mut GDataOutputStream, |
11642 | str: *const c_char, |
11643 | cancellable: *mut GCancellable, |
11644 | error: *mut *mut glib::GError, |
11645 | ) -> gboolean; |
11646 | pub unsafefn g_data_output_stream_put_uint16( |
11647 | stream: *mut GDataOutputStream, |
11648 | data: u16, |
11649 | cancellable: *mut GCancellable, |
11650 | error: *mut *mut glib::GError, |
11651 | ) -> gboolean; |
11652 | pub unsafefn g_data_output_stream_put_uint32( |
11653 | stream: *mut GDataOutputStream, |
11654 | data: u32, |
11655 | cancellable: *mut GCancellable, |
11656 | error: *mut *mut glib::GError, |
11657 | ) -> gboolean; |
11658 | pub unsafefn g_data_output_stream_put_uint64( |
11659 | stream: *mut GDataOutputStream, |
11660 | data: u64, |
11661 | cancellable: *mut GCancellable, |
11662 | error: *mut *mut glib::GError, |
11663 | ) -> gboolean; |
11664 | pub unsafefn g_data_output_stream_set_byte_order( |
11665 | stream: *mut GDataOutputStream, |
11666 | order: GDataStreamByteOrder, |
11667 | ); |
11668 | |
11669 | //========================================================================= |
11670 | // GDebugControllerDBus |
11671 | //========================================================================= |
11672 | #[cfg (feature = "v2_72" )] |
11673 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
11674 | pub fn g_debug_controller_dbus_get_type() -> GType; |
11675 | #[cfg (feature = "v2_72" )] |
11676 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
11677 | pub fn g_debug_controller_dbus_new( |
11678 | connection: *mut GDBusConnection, |
11679 | cancellable: *mut GCancellable, |
11680 | error: *mut *mut glib::GError, |
11681 | ) -> *mut GDebugControllerDBus; |
11682 | #[cfg (feature = "v2_72" )] |
11683 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
11684 | pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus); |
11685 | |
11686 | //========================================================================= |
11687 | // GDesktopAppInfo |
11688 | //========================================================================= |
11689 | pub unsafefn g_desktop_app_info_get_type() -> GType; |
11690 | pub unsafefn g_desktop_app_info_new(desktop_id: *const c_char) -> *mut GDesktopAppInfo; |
11691 | pub unsafefn g_desktop_app_info_new_from_filename(filename: *const c_char) -> *mut GDesktopAppInfo; |
11692 | pub unsafefn g_desktop_app_info_new_from_keyfile( |
11693 | key_file: *mut glib::GKeyFile, |
11694 | ) -> *mut GDesktopAppInfo; |
11695 | pub unsafefn g_desktop_app_info_get_implementations(interface: *const c_char) -> *mut glib::GList; |
11696 | pub unsafefn g_desktop_app_info_search(search_string: *const c_char) -> *mut *mut *mut c_char; |
11697 | pub unsafefn g_desktop_app_info_set_desktop_env(desktop_env: *const c_char); |
11698 | pub unsafefn g_desktop_app_info_get_action_name( |
11699 | info: *mut GDesktopAppInfo, |
11700 | action_name: *const c_char, |
11701 | ) -> *mut c_char; |
11702 | pub unsafefn g_desktop_app_info_get_boolean( |
11703 | info: *mut GDesktopAppInfo, |
11704 | key: *const c_char, |
11705 | ) -> gboolean; |
11706 | pub unsafefn g_desktop_app_info_get_categories(info: *mut GDesktopAppInfo) -> *const c_char; |
11707 | pub unsafefn g_desktop_app_info_get_filename(info: *mut GDesktopAppInfo) -> *const c_char; |
11708 | pub unsafefn g_desktop_app_info_get_generic_name(info: *mut GDesktopAppInfo) -> *const c_char; |
11709 | pub unsafefn g_desktop_app_info_get_is_hidden(info: *mut GDesktopAppInfo) -> gboolean; |
11710 | pub unsafefn g_desktop_app_info_get_keywords(info: *mut GDesktopAppInfo) -> *const *const c_char; |
11711 | pub unsafefn g_desktop_app_info_get_locale_string( |
11712 | info: *mut GDesktopAppInfo, |
11713 | key: *const c_char, |
11714 | ) -> *mut c_char; |
11715 | pub unsafefn g_desktop_app_info_get_nodisplay(info: *mut GDesktopAppInfo) -> gboolean; |
11716 | pub unsafefn g_desktop_app_info_get_show_in( |
11717 | info: *mut GDesktopAppInfo, |
11718 | desktop_env: *const c_char, |
11719 | ) -> gboolean; |
11720 | pub unsafefn g_desktop_app_info_get_startup_wm_class(info: *mut GDesktopAppInfo) -> *const c_char; |
11721 | pub unsafefn g_desktop_app_info_get_string( |
11722 | info: *mut GDesktopAppInfo, |
11723 | key: *const c_char, |
11724 | ) -> *mut c_char; |
11725 | #[cfg (feature = "v2_60" )] |
11726 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
11727 | pub fn g_desktop_app_info_get_string_list( |
11728 | info: *mut GDesktopAppInfo, |
11729 | key: *const c_char, |
11730 | length: *mut size_t, |
11731 | ) -> *mut *mut c_char; |
11732 | pub unsafefn g_desktop_app_info_has_key(info: *mut GDesktopAppInfo, key: *const c_char) -> gboolean; |
11733 | pub unsafefn g_desktop_app_info_launch_action( |
11734 | info: *mut GDesktopAppInfo, |
11735 | action_name: *const c_char, |
11736 | launch_context: *mut GAppLaunchContext, |
11737 | ); |
11738 | pub unsafefn g_desktop_app_info_launch_uris_as_manager( |
11739 | appinfo: *mut GDesktopAppInfo, |
11740 | uris: *mut glib::GList, |
11741 | launch_context: *mut GAppLaunchContext, |
11742 | spawn_flags: glib::GSpawnFlags, |
11743 | user_setup: glib::GSpawnChildSetupFunc, |
11744 | user_setup_data: gpointer, |
11745 | pid_callback: GDesktopAppLaunchCallback, |
11746 | pid_callback_data: gpointer, |
11747 | error: *mut *mut glib::GError, |
11748 | ) -> gboolean; |
11749 | #[cfg (feature = "v2_58" )] |
11750 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
11751 | pub fn g_desktop_app_info_launch_uris_as_manager_with_fds( |
11752 | appinfo: *mut GDesktopAppInfo, |
11753 | uris: *mut glib::GList, |
11754 | launch_context: *mut GAppLaunchContext, |
11755 | spawn_flags: glib::GSpawnFlags, |
11756 | user_setup: glib::GSpawnChildSetupFunc, |
11757 | user_setup_data: gpointer, |
11758 | pid_callback: GDesktopAppLaunchCallback, |
11759 | pid_callback_data: gpointer, |
11760 | stdin_fd: c_int, |
11761 | stdout_fd: c_int, |
11762 | stderr_fd: c_int, |
11763 | error: *mut *mut glib::GError, |
11764 | ) -> gboolean; |
11765 | pub unsafefn g_desktop_app_info_list_actions(info: *mut GDesktopAppInfo) -> *const *const c_char; |
11766 | |
11767 | //========================================================================= |
11768 | // GEmblem |
11769 | //========================================================================= |
11770 | pub unsafefn g_emblem_get_type() -> GType; |
11771 | pub unsafefn g_emblem_new(icon: *mut GIcon) -> *mut GEmblem; |
11772 | pub unsafefn g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin) -> *mut GEmblem; |
11773 | pub unsafefn g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon; |
11774 | pub unsafefn g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin; |
11775 | |
11776 | //========================================================================= |
11777 | // GEmblemedIcon |
11778 | //========================================================================= |
11779 | pub unsafefn g_emblemed_icon_get_type() -> GType; |
11780 | pub unsafefn g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GEmblemedIcon; |
11781 | pub unsafefn g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem); |
11782 | pub unsafefn g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon); |
11783 | pub unsafefn g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut glib::GList; |
11784 | pub unsafefn g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon; |
11785 | |
11786 | //========================================================================= |
11787 | // GFileEnumerator |
11788 | //========================================================================= |
11789 | pub unsafefn g_file_enumerator_get_type() -> GType; |
11790 | pub unsafefn g_file_enumerator_close( |
11791 | enumerator: *mut GFileEnumerator, |
11792 | cancellable: *mut GCancellable, |
11793 | error: *mut *mut glib::GError, |
11794 | ) -> gboolean; |
11795 | pub unsafefn g_file_enumerator_close_async( |
11796 | enumerator: *mut GFileEnumerator, |
11797 | io_priority: c_int, |
11798 | cancellable: *mut GCancellable, |
11799 | callback: GAsyncReadyCallback, |
11800 | user_data: gpointer, |
11801 | ); |
11802 | pub unsafefn g_file_enumerator_close_finish( |
11803 | enumerator: *mut GFileEnumerator, |
11804 | result: *mut GAsyncResult, |
11805 | error: *mut *mut glib::GError, |
11806 | ) -> gboolean; |
11807 | pub unsafefn g_file_enumerator_get_child( |
11808 | enumerator: *mut GFileEnumerator, |
11809 | info: *mut GFileInfo, |
11810 | ) -> *mut GFile; |
11811 | pub unsafefn g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile; |
11812 | pub unsafefn g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean; |
11813 | pub unsafefn g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean; |
11814 | pub unsafefn g_file_enumerator_iterate( |
11815 | direnum: *mut GFileEnumerator, |
11816 | out_info: *mut *mut GFileInfo, |
11817 | out_child: *mut *mut GFile, |
11818 | cancellable: *mut GCancellable, |
11819 | error: *mut *mut glib::GError, |
11820 | ) -> gboolean; |
11821 | pub unsafefn g_file_enumerator_next_file( |
11822 | enumerator: *mut GFileEnumerator, |
11823 | cancellable: *mut GCancellable, |
11824 | error: *mut *mut glib::GError, |
11825 | ) -> *mut GFileInfo; |
11826 | pub unsafefn g_file_enumerator_next_files_async( |
11827 | enumerator: *mut GFileEnumerator, |
11828 | num_files: c_int, |
11829 | io_priority: c_int, |
11830 | cancellable: *mut GCancellable, |
11831 | callback: GAsyncReadyCallback, |
11832 | user_data: gpointer, |
11833 | ); |
11834 | pub unsafefn g_file_enumerator_next_files_finish( |
11835 | enumerator: *mut GFileEnumerator, |
11836 | result: *mut GAsyncResult, |
11837 | error: *mut *mut glib::GError, |
11838 | ) -> *mut glib::GList; |
11839 | pub unsafefn g_file_enumerator_set_pending(enumerator: *mut GFileEnumerator, pending: gboolean); |
11840 | |
11841 | //========================================================================= |
11842 | // GFileIOStream |
11843 | //========================================================================= |
11844 | pub unsafefn g_file_io_stream_get_type() -> GType; |
11845 | pub unsafefn g_file_io_stream_get_etag(stream: *mut GFileIOStream) -> *mut c_char; |
11846 | pub unsafefn g_file_io_stream_query_info( |
11847 | stream: *mut GFileIOStream, |
11848 | attributes: *const c_char, |
11849 | cancellable: *mut GCancellable, |
11850 | error: *mut *mut glib::GError, |
11851 | ) -> *mut GFileInfo; |
11852 | pub unsafefn g_file_io_stream_query_info_async( |
11853 | stream: *mut GFileIOStream, |
11854 | attributes: *const c_char, |
11855 | io_priority: c_int, |
11856 | cancellable: *mut GCancellable, |
11857 | callback: GAsyncReadyCallback, |
11858 | user_data: gpointer, |
11859 | ); |
11860 | pub unsafefn g_file_io_stream_query_info_finish( |
11861 | stream: *mut GFileIOStream, |
11862 | result: *mut GAsyncResult, |
11863 | error: *mut *mut glib::GError, |
11864 | ) -> *mut GFileInfo; |
11865 | |
11866 | //========================================================================= |
11867 | // GFileIcon |
11868 | //========================================================================= |
11869 | pub unsafefn g_file_icon_get_type() -> GType; |
11870 | pub unsafefn g_file_icon_new(file: *mut GFile) -> *mut GFileIcon; |
11871 | pub unsafefn g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile; |
11872 | |
11873 | //========================================================================= |
11874 | // GFileInfo |
11875 | //========================================================================= |
11876 | pub unsafefn g_file_info_get_type() -> GType; |
11877 | pub unsafefn g_file_info_new() -> *mut GFileInfo; |
11878 | pub unsafefn g_file_info_clear_status(info: *mut GFileInfo); |
11879 | pub unsafefn g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo); |
11880 | pub unsafefn g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo; |
11881 | #[cfg (feature = "v2_70" )] |
11882 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
11883 | pub fn g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime; |
11884 | pub unsafefn g_file_info_get_attribute_as_string( |
11885 | info: *mut GFileInfo, |
11886 | attribute: *const c_char, |
11887 | ) -> *mut c_char; |
11888 | pub unsafefn g_file_info_get_attribute_boolean( |
11889 | info: *mut GFileInfo, |
11890 | attribute: *const c_char, |
11891 | ) -> gboolean; |
11892 | pub unsafefn g_file_info_get_attribute_byte_string( |
11893 | info: *mut GFileInfo, |
11894 | attribute: *const c_char, |
11895 | ) -> *const c_char; |
11896 | pub unsafefn g_file_info_get_attribute_data( |
11897 | info: *mut GFileInfo, |
11898 | attribute: *const c_char, |
11899 | type_: *mut GFileAttributeType, |
11900 | value_pp: *mut gpointer, |
11901 | status: *mut GFileAttributeStatus, |
11902 | ) -> gboolean; |
11903 | #[cfg (feature = "v2_78" )] |
11904 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
11905 | pub fn g_file_info_get_attribute_file_path( |
11906 | info: *mut GFileInfo, |
11907 | attribute: *const c_char, |
11908 | ) -> *const c_char; |
11909 | pub unsafefn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32; |
11910 | pub unsafefn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64; |
11911 | pub unsafefn g_file_info_get_attribute_object( |
11912 | info: *mut GFileInfo, |
11913 | attribute: *const c_char, |
11914 | ) -> *mut gobject::GObject; |
11915 | pub unsafefn g_file_info_get_attribute_status( |
11916 | info: *mut GFileInfo, |
11917 | attribute: *const c_char, |
11918 | ) -> GFileAttributeStatus; |
11919 | pub unsafefn g_file_info_get_attribute_string( |
11920 | info: *mut GFileInfo, |
11921 | attribute: *const c_char, |
11922 | ) -> *const c_char; |
11923 | pub unsafefn g_file_info_get_attribute_stringv( |
11924 | info: *mut GFileInfo, |
11925 | attribute: *const c_char, |
11926 | ) -> *mut *mut c_char; |
11927 | pub unsafefn g_file_info_get_attribute_type( |
11928 | info: *mut GFileInfo, |
11929 | attribute: *const c_char, |
11930 | ) -> GFileAttributeType; |
11931 | pub unsafefn g_file_info_get_attribute_uint32(info: *mut GFileInfo, attribute: *const c_char) -> u32; |
11932 | pub unsafefn g_file_info_get_attribute_uint64(info: *mut GFileInfo, attribute: *const c_char) -> u64; |
11933 | pub unsafefn g_file_info_get_content_type(info: *mut GFileInfo) -> *const c_char; |
11934 | #[cfg (feature = "v2_70" )] |
11935 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
11936 | pub fn g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime; |
11937 | pub unsafefn g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut glib::GDateTime; |
11938 | pub unsafefn g_file_info_get_display_name(info: *mut GFileInfo) -> *const c_char; |
11939 | pub unsafefn g_file_info_get_edit_name(info: *mut GFileInfo) -> *const c_char; |
11940 | pub unsafefn g_file_info_get_etag(info: *mut GFileInfo) -> *const c_char; |
11941 | pub unsafefn g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType; |
11942 | pub unsafefn g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon; |
11943 | pub unsafefn g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean; |
11944 | pub unsafefn g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean; |
11945 | pub unsafefn g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean; |
11946 | #[cfg (feature = "v2_62" )] |
11947 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_62" )))] |
11948 | pub fn g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut glib::GDateTime; |
11949 | pub unsafefn g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut glib::GTimeVal); |
11950 | pub unsafefn g_file_info_get_name(info: *mut GFileInfo) -> *const c_char; |
11951 | pub unsafefn g_file_info_get_size(info: *mut GFileInfo) -> i64; |
11952 | pub unsafefn g_file_info_get_sort_order(info: *mut GFileInfo) -> i32; |
11953 | pub unsafefn g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon; |
11954 | pub unsafefn g_file_info_get_symlink_target(info: *mut GFileInfo) -> *const c_char; |
11955 | pub unsafefn g_file_info_has_attribute(info: *mut GFileInfo, attribute: *const c_char) -> gboolean; |
11956 | pub unsafefn g_file_info_has_namespace(info: *mut GFileInfo, name_space: *const c_char) -> gboolean; |
11957 | pub unsafefn g_file_info_list_attributes( |
11958 | info: *mut GFileInfo, |
11959 | name_space: *const c_char, |
11960 | ) -> *mut *mut c_char; |
11961 | pub unsafefn g_file_info_remove_attribute(info: *mut GFileInfo, attribute: *const c_char); |
11962 | #[cfg (feature = "v2_70" )] |
11963 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
11964 | pub fn g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut glib::GDateTime); |
11965 | pub unsafefn g_file_info_set_attribute( |
11966 | info: *mut GFileInfo, |
11967 | attribute: *const c_char, |
11968 | type_: GFileAttributeType, |
11969 | value_p: gpointer, |
11970 | ); |
11971 | pub unsafefn g_file_info_set_attribute_boolean( |
11972 | info: *mut GFileInfo, |
11973 | attribute: *const c_char, |
11974 | attr_value: gboolean, |
11975 | ); |
11976 | pub unsafefn g_file_info_set_attribute_byte_string( |
11977 | info: *mut GFileInfo, |
11978 | attribute: *const c_char, |
11979 | attr_value: *const c_char, |
11980 | ); |
11981 | #[cfg (feature = "v2_78" )] |
11982 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
11983 | pub fn g_file_info_set_attribute_file_path( |
11984 | info: *mut GFileInfo, |
11985 | attribute: *const c_char, |
11986 | attr_value: *const c_char, |
11987 | ); |
11988 | pub unsafefn g_file_info_set_attribute_int32( |
11989 | info: *mut GFileInfo, |
11990 | attribute: *const c_char, |
11991 | attr_value: i32, |
11992 | ); |
11993 | pub unsafefn g_file_info_set_attribute_int64( |
11994 | info: *mut GFileInfo, |
11995 | attribute: *const c_char, |
11996 | attr_value: i64, |
11997 | ); |
11998 | pub unsafefn g_file_info_set_attribute_mask(info: *mut GFileInfo, mask: *mut GFileAttributeMatcher); |
11999 | pub unsafefn g_file_info_set_attribute_object( |
12000 | info: *mut GFileInfo, |
12001 | attribute: *const c_char, |
12002 | attr_value: *mut gobject::GObject, |
12003 | ); |
12004 | pub unsafefn g_file_info_set_attribute_status( |
12005 | info: *mut GFileInfo, |
12006 | attribute: *const c_char, |
12007 | status: GFileAttributeStatus, |
12008 | ) -> gboolean; |
12009 | pub unsafefn g_file_info_set_attribute_string( |
12010 | info: *mut GFileInfo, |
12011 | attribute: *const c_char, |
12012 | attr_value: *const c_char, |
12013 | ); |
12014 | pub unsafefn g_file_info_set_attribute_stringv( |
12015 | info: *mut GFileInfo, |
12016 | attribute: *const c_char, |
12017 | attr_value: *mut *mut c_char, |
12018 | ); |
12019 | pub unsafefn g_file_info_set_attribute_uint32( |
12020 | info: *mut GFileInfo, |
12021 | attribute: *const c_char, |
12022 | attr_value: u32, |
12023 | ); |
12024 | pub unsafefn g_file_info_set_attribute_uint64( |
12025 | info: *mut GFileInfo, |
12026 | attribute: *const c_char, |
12027 | attr_value: u64, |
12028 | ); |
12029 | pub unsafefn g_file_info_set_content_type(info: *mut GFileInfo, content_type: *const c_char); |
12030 | #[cfg (feature = "v2_70" )] |
12031 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
12032 | pub fn g_file_info_set_creation_date_time( |
12033 | info: *mut GFileInfo, |
12034 | creation_time: *mut glib::GDateTime, |
12035 | ); |
12036 | pub unsafefn g_file_info_set_display_name(info: *mut GFileInfo, display_name: *const c_char); |
12037 | pub unsafefn g_file_info_set_edit_name(info: *mut GFileInfo, edit_name: *const c_char); |
12038 | pub unsafefn g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType); |
12039 | pub unsafefn g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon); |
12040 | pub unsafefn g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean); |
12041 | pub unsafefn g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean); |
12042 | #[cfg (feature = "v2_62" )] |
12043 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_62" )))] |
12044 | pub fn g_file_info_set_modification_date_time( |
12045 | info: *mut GFileInfo, |
12046 | mtime: *mut glib::GDateTime, |
12047 | ); |
12048 | pub unsafefn g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut glib::GTimeVal); |
12049 | pub unsafefn g_file_info_set_name(info: *mut GFileInfo, name: *const c_char); |
12050 | pub unsafefn g_file_info_set_size(info: *mut GFileInfo, size: i64); |
12051 | pub unsafefn g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: i32); |
12052 | pub unsafefn g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon); |
12053 | pub unsafefn g_file_info_set_symlink_target(info: *mut GFileInfo, symlink_target: *const c_char); |
12054 | pub unsafefn g_file_info_unset_attribute_mask(info: *mut GFileInfo); |
12055 | |
12056 | //========================================================================= |
12057 | // GFileInputStream |
12058 | //========================================================================= |
12059 | pub unsafefn g_file_input_stream_get_type() -> GType; |
12060 | pub unsafefn g_file_input_stream_query_info( |
12061 | stream: *mut GFileInputStream, |
12062 | attributes: *const c_char, |
12063 | cancellable: *mut GCancellable, |
12064 | error: *mut *mut glib::GError, |
12065 | ) -> *mut GFileInfo; |
12066 | pub unsafefn g_file_input_stream_query_info_async( |
12067 | stream: *mut GFileInputStream, |
12068 | attributes: *const c_char, |
12069 | io_priority: c_int, |
12070 | cancellable: *mut GCancellable, |
12071 | callback: GAsyncReadyCallback, |
12072 | user_data: gpointer, |
12073 | ); |
12074 | pub unsafefn g_file_input_stream_query_info_finish( |
12075 | stream: *mut GFileInputStream, |
12076 | result: *mut GAsyncResult, |
12077 | error: *mut *mut glib::GError, |
12078 | ) -> *mut GFileInfo; |
12079 | |
12080 | //========================================================================= |
12081 | // GFileMonitor |
12082 | //========================================================================= |
12083 | pub unsafefn g_file_monitor_get_type() -> GType; |
12084 | pub unsafefn g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean; |
12085 | pub unsafefn g_file_monitor_emit_event( |
12086 | monitor: *mut GFileMonitor, |
12087 | child: *mut GFile, |
12088 | other_file: *mut GFile, |
12089 | event_type: GFileMonitorEvent, |
12090 | ); |
12091 | pub unsafefn g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean; |
12092 | pub unsafefn g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: c_int); |
12093 | |
12094 | //========================================================================= |
12095 | // GFileOutputStream |
12096 | //========================================================================= |
12097 | pub unsafefn g_file_output_stream_get_type() -> GType; |
12098 | pub unsafefn g_file_output_stream_get_etag(stream: *mut GFileOutputStream) -> *mut c_char; |
12099 | pub unsafefn g_file_output_stream_query_info( |
12100 | stream: *mut GFileOutputStream, |
12101 | attributes: *const c_char, |
12102 | cancellable: *mut GCancellable, |
12103 | error: *mut *mut glib::GError, |
12104 | ) -> *mut GFileInfo; |
12105 | pub unsafefn g_file_output_stream_query_info_async( |
12106 | stream: *mut GFileOutputStream, |
12107 | attributes: *const c_char, |
12108 | io_priority: c_int, |
12109 | cancellable: *mut GCancellable, |
12110 | callback: GAsyncReadyCallback, |
12111 | user_data: gpointer, |
12112 | ); |
12113 | pub unsafefn g_file_output_stream_query_info_finish( |
12114 | stream: *mut GFileOutputStream, |
12115 | result: *mut GAsyncResult, |
12116 | error: *mut *mut glib::GError, |
12117 | ) -> *mut GFileInfo; |
12118 | |
12119 | //========================================================================= |
12120 | // GFilenameCompleter |
12121 | //========================================================================= |
12122 | pub unsafefn g_filename_completer_get_type() -> GType; |
12123 | pub unsafefn g_filename_completer_new() -> *mut GFilenameCompleter; |
12124 | pub unsafefn g_filename_completer_get_completion_suffix( |
12125 | completer: *mut GFilenameCompleter, |
12126 | initial_text: *const c_char, |
12127 | ) -> *mut c_char; |
12128 | pub unsafefn g_filename_completer_get_completions( |
12129 | completer: *mut GFilenameCompleter, |
12130 | initial_text: *const c_char, |
12131 | ) -> *mut *mut c_char; |
12132 | pub unsafefn g_filename_completer_set_dirs_only( |
12133 | completer: *mut GFilenameCompleter, |
12134 | dirs_only: gboolean, |
12135 | ); |
12136 | |
12137 | //========================================================================= |
12138 | // GFilterInputStream |
12139 | //========================================================================= |
12140 | pub unsafefn g_filter_input_stream_get_type() -> GType; |
12141 | pub unsafefn g_filter_input_stream_get_base_stream( |
12142 | stream: *mut GFilterInputStream, |
12143 | ) -> *mut GInputStream; |
12144 | pub unsafefn g_filter_input_stream_get_close_base_stream(stream: *mut GFilterInputStream) |
12145 | -> gboolean; |
12146 | pub unsafefn g_filter_input_stream_set_close_base_stream( |
12147 | stream: *mut GFilterInputStream, |
12148 | close_base: gboolean, |
12149 | ); |
12150 | |
12151 | //========================================================================= |
12152 | // GFilterOutputStream |
12153 | //========================================================================= |
12154 | pub unsafefn g_filter_output_stream_get_type() -> GType; |
12155 | pub unsafefn g_filter_output_stream_get_base_stream( |
12156 | stream: *mut GFilterOutputStream, |
12157 | ) -> *mut GOutputStream; |
12158 | pub unsafefn g_filter_output_stream_get_close_base_stream( |
12159 | stream: *mut GFilterOutputStream, |
12160 | ) -> gboolean; |
12161 | pub unsafefn g_filter_output_stream_set_close_base_stream( |
12162 | stream: *mut GFilterOutputStream, |
12163 | close_base: gboolean, |
12164 | ); |
12165 | |
12166 | //========================================================================= |
12167 | // GIOModule |
12168 | //========================================================================= |
12169 | pub unsafefn g_io_module_get_type() -> GType; |
12170 | pub unsafefn g_io_module_new(filename: *const c_char) -> *mut GIOModule; |
12171 | pub unsafefn g_io_module_query() -> *mut *mut c_char; |
12172 | pub unsafefn g_io_module_load(module: *mut GIOModule); |
12173 | pub unsafefn g_io_module_unload(module: *mut GIOModule); |
12174 | |
12175 | //========================================================================= |
12176 | // GIOStream |
12177 | //========================================================================= |
12178 | pub unsafefn g_io_stream_get_type() -> GType; |
12179 | pub unsafefn g_io_stream_splice_finish( |
12180 | result: *mut GAsyncResult, |
12181 | error: *mut *mut glib::GError, |
12182 | ) -> gboolean; |
12183 | pub unsafefn g_io_stream_clear_pending(stream: *mut GIOStream); |
12184 | pub unsafefn g_io_stream_close( |
12185 | stream: *mut GIOStream, |
12186 | cancellable: *mut GCancellable, |
12187 | error: *mut *mut glib::GError, |
12188 | ) -> gboolean; |
12189 | pub unsafefn g_io_stream_close_async( |
12190 | stream: *mut GIOStream, |
12191 | io_priority: c_int, |
12192 | cancellable: *mut GCancellable, |
12193 | callback: GAsyncReadyCallback, |
12194 | user_data: gpointer, |
12195 | ); |
12196 | pub unsafefn g_io_stream_close_finish( |
12197 | stream: *mut GIOStream, |
12198 | result: *mut GAsyncResult, |
12199 | error: *mut *mut glib::GError, |
12200 | ) -> gboolean; |
12201 | pub unsafefn g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream; |
12202 | pub unsafefn g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream; |
12203 | pub unsafefn g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean; |
12204 | pub unsafefn g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean; |
12205 | pub unsafefn g_io_stream_set_pending( |
12206 | stream: *mut GIOStream, |
12207 | error: *mut *mut glib::GError, |
12208 | ) -> gboolean; |
12209 | pub unsafefn g_io_stream_splice_async( |
12210 | stream1: *mut GIOStream, |
12211 | stream2: *mut GIOStream, |
12212 | flags: GIOStreamSpliceFlags, |
12213 | io_priority: c_int, |
12214 | cancellable: *mut GCancellable, |
12215 | callback: GAsyncReadyCallback, |
12216 | user_data: gpointer, |
12217 | ); |
12218 | |
12219 | //========================================================================= |
12220 | // GInetAddress |
12221 | //========================================================================= |
12222 | pub unsafefn g_inet_address_get_type() -> GType; |
12223 | pub unsafefn g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress; |
12224 | pub unsafefn g_inet_address_new_from_bytes( |
12225 | bytes: *const u8, |
12226 | family: GSocketFamily, |
12227 | ) -> *mut GInetAddress; |
12228 | pub unsafefn g_inet_address_new_from_string(string: *const c_char) -> *mut GInetAddress; |
12229 | pub unsafefn g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress; |
12230 | pub unsafefn g_inet_address_equal( |
12231 | address: *mut GInetAddress, |
12232 | other_address: *mut GInetAddress, |
12233 | ) -> gboolean; |
12234 | pub unsafefn g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily; |
12235 | pub unsafefn g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean; |
12236 | pub unsafefn g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean; |
12237 | pub unsafefn g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean; |
12238 | pub unsafefn g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean; |
12239 | pub unsafefn g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean; |
12240 | pub unsafefn g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean; |
12241 | pub unsafefn g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean; |
12242 | pub unsafefn g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean; |
12243 | pub unsafefn g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean; |
12244 | pub unsafefn g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean; |
12245 | pub unsafefn g_inet_address_get_native_size(address: *mut GInetAddress) -> size_t; |
12246 | pub unsafefn g_inet_address_to_bytes(address: *mut GInetAddress) -> *const u8; |
12247 | pub unsafefn g_inet_address_to_string(address: *mut GInetAddress) -> *mut c_char; |
12248 | |
12249 | //========================================================================= |
12250 | // GInetAddressMask |
12251 | //========================================================================= |
12252 | pub unsafefn g_inet_address_mask_get_type() -> GType; |
12253 | pub unsafefn g_inet_address_mask_new( |
12254 | addr: *mut GInetAddress, |
12255 | length: c_uint, |
12256 | error: *mut *mut glib::GError, |
12257 | ) -> *mut GInetAddressMask; |
12258 | pub unsafefn g_inet_address_mask_new_from_string( |
12259 | mask_string: *const c_char, |
12260 | error: *mut *mut glib::GError, |
12261 | ) -> *mut GInetAddressMask; |
12262 | pub unsafefn g_inet_address_mask_equal( |
12263 | mask: *mut GInetAddressMask, |
12264 | mask2: *mut GInetAddressMask, |
12265 | ) -> gboolean; |
12266 | pub unsafefn g_inet_address_mask_get_address(mask: *mut GInetAddressMask) -> *mut GInetAddress; |
12267 | pub unsafefn g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily; |
12268 | pub unsafefn g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> c_uint; |
12269 | pub unsafefn g_inet_address_mask_matches( |
12270 | mask: *mut GInetAddressMask, |
12271 | address: *mut GInetAddress, |
12272 | ) -> gboolean; |
12273 | pub unsafefn g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut c_char; |
12274 | |
12275 | //========================================================================= |
12276 | // GInetSocketAddress |
12277 | //========================================================================= |
12278 | pub unsafefn g_inet_socket_address_get_type() -> GType; |
12279 | pub unsafefn g_inet_socket_address_new(address: *mut GInetAddress, port: u16) -> *mut GSocketAddress; |
12280 | pub unsafefn g_inet_socket_address_new_from_string( |
12281 | address: *const c_char, |
12282 | port: c_uint, |
12283 | ) -> *mut GSocketAddress; |
12284 | pub unsafefn g_inet_socket_address_get_address(address: *mut GInetSocketAddress) |
12285 | -> *mut GInetAddress; |
12286 | pub unsafefn g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> u32; |
12287 | pub unsafefn g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> u16; |
12288 | pub unsafefn g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> u32; |
12289 | |
12290 | //========================================================================= |
12291 | // GInputStream |
12292 | //========================================================================= |
12293 | pub unsafefn g_input_stream_get_type() -> GType; |
12294 | pub unsafefn g_input_stream_clear_pending(stream: *mut GInputStream); |
12295 | pub unsafefn g_input_stream_close( |
12296 | stream: *mut GInputStream, |
12297 | cancellable: *mut GCancellable, |
12298 | error: *mut *mut glib::GError, |
12299 | ) -> gboolean; |
12300 | pub unsafefn g_input_stream_close_async( |
12301 | stream: *mut GInputStream, |
12302 | io_priority: c_int, |
12303 | cancellable: *mut GCancellable, |
12304 | callback: GAsyncReadyCallback, |
12305 | user_data: gpointer, |
12306 | ); |
12307 | pub unsafefn g_input_stream_close_finish( |
12308 | stream: *mut GInputStream, |
12309 | result: *mut GAsyncResult, |
12310 | error: *mut *mut glib::GError, |
12311 | ) -> gboolean; |
12312 | pub unsafefn g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean; |
12313 | pub unsafefn g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean; |
12314 | pub unsafefn g_input_stream_read( |
12315 | stream: *mut GInputStream, |
12316 | buffer: *mut u8, |
12317 | count: size_t, |
12318 | cancellable: *mut GCancellable, |
12319 | error: *mut *mut glib::GError, |
12320 | ) -> ssize_t; |
12321 | pub unsafefn g_input_stream_read_all( |
12322 | stream: *mut GInputStream, |
12323 | buffer: *mut u8, |
12324 | count: size_t, |
12325 | bytes_read: *mut size_t, |
12326 | cancellable: *mut GCancellable, |
12327 | error: *mut *mut glib::GError, |
12328 | ) -> gboolean; |
12329 | pub unsafefn g_input_stream_read_all_async( |
12330 | stream: *mut GInputStream, |
12331 | buffer: *mut u8, |
12332 | count: size_t, |
12333 | io_priority: c_int, |
12334 | cancellable: *mut GCancellable, |
12335 | callback: GAsyncReadyCallback, |
12336 | user_data: gpointer, |
12337 | ); |
12338 | pub unsafefn g_input_stream_read_all_finish( |
12339 | stream: *mut GInputStream, |
12340 | result: *mut GAsyncResult, |
12341 | bytes_read: *mut size_t, |
12342 | error: *mut *mut glib::GError, |
12343 | ) -> gboolean; |
12344 | pub unsafefn g_input_stream_read_async( |
12345 | stream: *mut GInputStream, |
12346 | buffer: *mut u8, |
12347 | count: size_t, |
12348 | io_priority: c_int, |
12349 | cancellable: *mut GCancellable, |
12350 | callback: GAsyncReadyCallback, |
12351 | user_data: gpointer, |
12352 | ); |
12353 | pub unsafefn g_input_stream_read_bytes( |
12354 | stream: *mut GInputStream, |
12355 | count: size_t, |
12356 | cancellable: *mut GCancellable, |
12357 | error: *mut *mut glib::GError, |
12358 | ) -> *mut glib::GBytes; |
12359 | pub unsafefn g_input_stream_read_bytes_async( |
12360 | stream: *mut GInputStream, |
12361 | count: size_t, |
12362 | io_priority: c_int, |
12363 | cancellable: *mut GCancellable, |
12364 | callback: GAsyncReadyCallback, |
12365 | user_data: gpointer, |
12366 | ); |
12367 | pub unsafefn g_input_stream_read_bytes_finish( |
12368 | stream: *mut GInputStream, |
12369 | result: *mut GAsyncResult, |
12370 | error: *mut *mut glib::GError, |
12371 | ) -> *mut glib::GBytes; |
12372 | pub unsafefn g_input_stream_read_finish( |
12373 | stream: *mut GInputStream, |
12374 | result: *mut GAsyncResult, |
12375 | error: *mut *mut glib::GError, |
12376 | ) -> ssize_t; |
12377 | pub unsafefn g_input_stream_set_pending( |
12378 | stream: *mut GInputStream, |
12379 | error: *mut *mut glib::GError, |
12380 | ) -> gboolean; |
12381 | pub unsafefn g_input_stream_skip( |
12382 | stream: *mut GInputStream, |
12383 | count: size_t, |
12384 | cancellable: *mut GCancellable, |
12385 | error: *mut *mut glib::GError, |
12386 | ) -> ssize_t; |
12387 | pub unsafefn g_input_stream_skip_async( |
12388 | stream: *mut GInputStream, |
12389 | count: size_t, |
12390 | io_priority: c_int, |
12391 | cancellable: *mut GCancellable, |
12392 | callback: GAsyncReadyCallback, |
12393 | user_data: gpointer, |
12394 | ); |
12395 | pub unsafefn g_input_stream_skip_finish( |
12396 | stream: *mut GInputStream, |
12397 | result: *mut GAsyncResult, |
12398 | error: *mut *mut glib::GError, |
12399 | ) -> ssize_t; |
12400 | |
12401 | //========================================================================= |
12402 | // GListStore |
12403 | //========================================================================= |
12404 | pub unsafefn g_list_store_get_type() -> GType; |
12405 | pub unsafefn g_list_store_new(item_type: GType) -> *mut GListStore; |
12406 | pub unsafefn g_list_store_append(store: *mut GListStore, item: *mut gobject::GObject); |
12407 | #[cfg (feature = "v2_64" )] |
12408 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
12409 | pub fn g_list_store_find( |
12410 | store: *mut GListStore, |
12411 | item: *mut gobject::GObject, |
12412 | position: *mut c_uint, |
12413 | ) -> gboolean; |
12414 | #[cfg (feature = "v2_64" )] |
12415 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
12416 | pub fn g_list_store_find_with_equal_func( |
12417 | store: *mut GListStore, |
12418 | item: *mut gobject::GObject, |
12419 | equal_func: glib::GEqualFunc, |
12420 | position: *mut c_uint, |
12421 | ) -> gboolean; |
12422 | #[cfg (feature = "v2_74" )] |
12423 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
12424 | pub fn g_list_store_find_with_equal_func_full( |
12425 | store: *mut GListStore, |
12426 | item: *mut gobject::GObject, |
12427 | equal_func: glib::GEqualFuncFull, |
12428 | user_data: gpointer, |
12429 | position: *mut c_uint, |
12430 | ) -> gboolean; |
12431 | pub unsafefn g_list_store_insert( |
12432 | store: *mut GListStore, |
12433 | position: c_uint, |
12434 | item: *mut gobject::GObject, |
12435 | ); |
12436 | pub unsafefn g_list_store_insert_sorted( |
12437 | store: *mut GListStore, |
12438 | item: *mut gobject::GObject, |
12439 | compare_func: glib::GCompareDataFunc, |
12440 | user_data: gpointer, |
12441 | ) -> c_uint; |
12442 | pub unsafefn g_list_store_remove(store: *mut GListStore, position: c_uint); |
12443 | pub unsafefn g_list_store_remove_all(store: *mut GListStore); |
12444 | pub unsafefn g_list_store_sort( |
12445 | store: *mut GListStore, |
12446 | compare_func: glib::GCompareDataFunc, |
12447 | user_data: gpointer, |
12448 | ); |
12449 | pub unsafefn g_list_store_splice( |
12450 | store: *mut GListStore, |
12451 | position: c_uint, |
12452 | n_removals: c_uint, |
12453 | additions: *mut *mut gobject::GObject, |
12454 | n_additions: c_uint, |
12455 | ); |
12456 | |
12457 | //========================================================================= |
12458 | // GMemoryInputStream |
12459 | //========================================================================= |
12460 | pub unsafefn g_memory_input_stream_get_type() -> GType; |
12461 | pub unsafefn g_memory_input_stream_new() -> *mut GInputStream; |
12462 | pub unsafefn g_memory_input_stream_new_from_bytes(bytes: *mut glib::GBytes) -> *mut GInputStream; |
12463 | pub unsafefn g_memory_input_stream_new_from_data( |
12464 | data: *mut u8, |
12465 | len: ssize_t, |
12466 | destroy: glib::GDestroyNotify, |
12467 | ) -> *mut GInputStream; |
12468 | pub unsafefn g_memory_input_stream_add_bytes( |
12469 | stream: *mut GMemoryInputStream, |
12470 | bytes: *mut glib::GBytes, |
12471 | ); |
12472 | pub unsafefn g_memory_input_stream_add_data( |
12473 | stream: *mut GMemoryInputStream, |
12474 | data: *mut u8, |
12475 | len: ssize_t, |
12476 | destroy: glib::GDestroyNotify, |
12477 | ); |
12478 | |
12479 | //========================================================================= |
12480 | // GMemoryOutputStream |
12481 | //========================================================================= |
12482 | pub unsafefn g_memory_output_stream_get_type() -> GType; |
12483 | pub unsafefn g_memory_output_stream_new( |
12484 | data: gpointer, |
12485 | size: size_t, |
12486 | realloc_function: GReallocFunc, |
12487 | destroy_function: glib::GDestroyNotify, |
12488 | ) -> *mut GOutputStream; |
12489 | pub unsafefn g_memory_output_stream_new_resizable() -> *mut GOutputStream; |
12490 | pub unsafefn g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer; |
12491 | pub unsafefn g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> size_t; |
12492 | pub unsafefn g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> size_t; |
12493 | pub unsafefn g_memory_output_stream_steal_as_bytes( |
12494 | ostream: *mut GMemoryOutputStream, |
12495 | ) -> *mut glib::GBytes; |
12496 | pub unsafefn g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer; |
12497 | |
12498 | //========================================================================= |
12499 | // GMenu |
12500 | //========================================================================= |
12501 | pub unsafefn g_menu_get_type() -> GType; |
12502 | pub unsafefn g_menu_new() -> *mut GMenu; |
12503 | pub unsafefn g_menu_append(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char); |
12504 | pub unsafefn g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem); |
12505 | pub unsafefn g_menu_append_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel); |
12506 | pub unsafefn g_menu_append_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel); |
12507 | pub unsafefn g_menu_freeze(menu: *mut GMenu); |
12508 | pub unsafefn g_menu_insert( |
12509 | menu: *mut GMenu, |
12510 | position: c_int, |
12511 | label: *const c_char, |
12512 | detailed_action: *const c_char, |
12513 | ); |
12514 | pub unsafefn g_menu_insert_item(menu: *mut GMenu, position: c_int, item: *mut GMenuItem); |
12515 | pub unsafefn g_menu_insert_section( |
12516 | menu: *mut GMenu, |
12517 | position: c_int, |
12518 | label: *const c_char, |
12519 | section: *mut GMenuModel, |
12520 | ); |
12521 | pub unsafefn g_menu_insert_submenu( |
12522 | menu: *mut GMenu, |
12523 | position: c_int, |
12524 | label: *const c_char, |
12525 | submenu: *mut GMenuModel, |
12526 | ); |
12527 | pub unsafefn g_menu_prepend(menu: *mut GMenu, label: *const c_char, detailed_action: *const c_char); |
12528 | pub unsafefn g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem); |
12529 | pub unsafefn g_menu_prepend_section(menu: *mut GMenu, label: *const c_char, section: *mut GMenuModel); |
12530 | pub unsafefn g_menu_prepend_submenu(menu: *mut GMenu, label: *const c_char, submenu: *mut GMenuModel); |
12531 | pub unsafefn g_menu_remove(menu: *mut GMenu, position: c_int); |
12532 | pub unsafefn g_menu_remove_all(menu: *mut GMenu); |
12533 | |
12534 | //========================================================================= |
12535 | // GMenuAttributeIter |
12536 | //========================================================================= |
12537 | pub unsafefn g_menu_attribute_iter_get_type() -> GType; |
12538 | pub unsafefn g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const c_char; |
12539 | pub unsafefn g_menu_attribute_iter_get_next( |
12540 | iter: *mut GMenuAttributeIter, |
12541 | out_name: *mut *const c_char, |
12542 | value: *mut *mut glib::GVariant, |
12543 | ) -> gboolean; |
12544 | pub unsafefn g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut glib::GVariant; |
12545 | pub unsafefn g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean; |
12546 | |
12547 | //========================================================================= |
12548 | // GMenuItem |
12549 | //========================================================================= |
12550 | pub unsafefn g_menu_item_get_type() -> GType; |
12551 | pub unsafefn g_menu_item_new(label: *const c_char, detailed_action: *const c_char) -> *mut GMenuItem; |
12552 | pub unsafefn g_menu_item_new_from_model(model: *mut GMenuModel, item_index: c_int) -> *mut GMenuItem; |
12553 | pub unsafefn g_menu_item_new_section( |
12554 | label: *const c_char, |
12555 | section: *mut GMenuModel, |
12556 | ) -> *mut GMenuItem; |
12557 | pub unsafefn g_menu_item_new_submenu( |
12558 | label: *const c_char, |
12559 | submenu: *mut GMenuModel, |
12560 | ) -> *mut GMenuItem; |
12561 | pub unsafefn g_menu_item_get_attribute( |
12562 | menu_item: *mut GMenuItem, |
12563 | attribute: *const c_char, |
12564 | format_string: *const c_char, |
12565 | ... |
12566 | ) -> gboolean; |
12567 | pub unsafefn g_menu_item_get_attribute_value( |
12568 | menu_item: *mut GMenuItem, |
12569 | attribute: *const c_char, |
12570 | expected_type: *const glib::GVariantType, |
12571 | ) -> *mut glib::GVariant; |
12572 | pub unsafefn g_menu_item_get_link(menu_item: *mut GMenuItem, link: *const c_char) -> *mut GMenuModel; |
12573 | pub unsafefn g_menu_item_set_action_and_target( |
12574 | menu_item: *mut GMenuItem, |
12575 | action: *const c_char, |
12576 | format_string: *const c_char, |
12577 | ... |
12578 | ); |
12579 | pub unsafefn g_menu_item_set_action_and_target_value( |
12580 | menu_item: *mut GMenuItem, |
12581 | action: *const c_char, |
12582 | target_value: *mut glib::GVariant, |
12583 | ); |
12584 | pub unsafefn g_menu_item_set_attribute( |
12585 | menu_item: *mut GMenuItem, |
12586 | attribute: *const c_char, |
12587 | format_string: *const c_char, |
12588 | ... |
12589 | ); |
12590 | pub unsafefn g_menu_item_set_attribute_value( |
12591 | menu_item: *mut GMenuItem, |
12592 | attribute: *const c_char, |
12593 | value: *mut glib::GVariant, |
12594 | ); |
12595 | pub unsafefn g_menu_item_set_detailed_action( |
12596 | menu_item: *mut GMenuItem, |
12597 | detailed_action: *const c_char, |
12598 | ); |
12599 | pub unsafefn g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon); |
12600 | pub unsafefn g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const c_char); |
12601 | pub unsafefn g_menu_item_set_link( |
12602 | menu_item: *mut GMenuItem, |
12603 | link: *const c_char, |
12604 | model: *mut GMenuModel, |
12605 | ); |
12606 | pub unsafefn g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel); |
12607 | pub unsafefn g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel); |
12608 | |
12609 | //========================================================================= |
12610 | // GMenuLinkIter |
12611 | //========================================================================= |
12612 | pub unsafefn g_menu_link_iter_get_type() -> GType; |
12613 | pub unsafefn g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const c_char; |
12614 | pub unsafefn g_menu_link_iter_get_next( |
12615 | iter: *mut GMenuLinkIter, |
12616 | out_link: *mut *const c_char, |
12617 | value: *mut *mut GMenuModel, |
12618 | ) -> gboolean; |
12619 | pub unsafefn g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel; |
12620 | pub unsafefn g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean; |
12621 | |
12622 | //========================================================================= |
12623 | // GMenuModel |
12624 | //========================================================================= |
12625 | pub unsafefn g_menu_model_get_type() -> GType; |
12626 | pub unsafefn g_menu_model_get_item_attribute( |
12627 | model: *mut GMenuModel, |
12628 | item_index: c_int, |
12629 | attribute: *const c_char, |
12630 | format_string: *const c_char, |
12631 | ... |
12632 | ) -> gboolean; |
12633 | pub unsafefn g_menu_model_get_item_attribute_value( |
12634 | model: *mut GMenuModel, |
12635 | item_index: c_int, |
12636 | attribute: *const c_char, |
12637 | expected_type: *const glib::GVariantType, |
12638 | ) -> *mut glib::GVariant; |
12639 | pub unsafefn g_menu_model_get_item_link( |
12640 | model: *mut GMenuModel, |
12641 | item_index: c_int, |
12642 | link: *const c_char, |
12643 | ) -> *mut GMenuModel; |
12644 | pub unsafefn g_menu_model_get_n_items(model: *mut GMenuModel) -> c_int; |
12645 | pub unsafefn g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean; |
12646 | pub unsafefn g_menu_model_items_changed( |
12647 | model: *mut GMenuModel, |
12648 | position: c_int, |
12649 | removed: c_int, |
12650 | added: c_int, |
12651 | ); |
12652 | pub unsafefn g_menu_model_iterate_item_attributes( |
12653 | model: *mut GMenuModel, |
12654 | item_index: c_int, |
12655 | ) -> *mut GMenuAttributeIter; |
12656 | pub unsafefn g_menu_model_iterate_item_links( |
12657 | model: *mut GMenuModel, |
12658 | item_index: c_int, |
12659 | ) -> *mut GMenuLinkIter; |
12660 | |
12661 | //========================================================================= |
12662 | // GMountOperation |
12663 | //========================================================================= |
12664 | pub unsafefn g_mount_operation_get_type() -> GType; |
12665 | pub unsafefn g_mount_operation_new() -> *mut GMountOperation; |
12666 | pub unsafefn g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean; |
12667 | pub unsafefn g_mount_operation_get_choice(op: *mut GMountOperation) -> c_int; |
12668 | pub unsafefn g_mount_operation_get_domain(op: *mut GMountOperation) -> *const c_char; |
12669 | #[cfg (feature = "v2_58" )] |
12670 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12671 | pub fn g_mount_operation_get_is_tcrypt_hidden_volume(op: *mut GMountOperation) -> gboolean; |
12672 | #[cfg (feature = "v2_58" )] |
12673 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12674 | pub fn g_mount_operation_get_is_tcrypt_system_volume(op: *mut GMountOperation) -> gboolean; |
12675 | pub unsafefn g_mount_operation_get_password(op: *mut GMountOperation) -> *const c_char; |
12676 | pub unsafefn g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave; |
12677 | #[cfg (feature = "v2_58" )] |
12678 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12679 | pub fn g_mount_operation_get_pim(op: *mut GMountOperation) -> c_uint; |
12680 | pub unsafefn g_mount_operation_get_username(op: *mut GMountOperation) -> *const c_char; |
12681 | pub unsafefn g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult); |
12682 | pub unsafefn g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean); |
12683 | pub unsafefn g_mount_operation_set_choice(op: *mut GMountOperation, choice: c_int); |
12684 | pub unsafefn g_mount_operation_set_domain(op: *mut GMountOperation, domain: *const c_char); |
12685 | #[cfg (feature = "v2_58" )] |
12686 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12687 | pub fn g_mount_operation_set_is_tcrypt_hidden_volume( |
12688 | op: *mut GMountOperation, |
12689 | hidden_volume: gboolean, |
12690 | ); |
12691 | #[cfg (feature = "v2_58" )] |
12692 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12693 | pub fn g_mount_operation_set_is_tcrypt_system_volume( |
12694 | op: *mut GMountOperation, |
12695 | system_volume: gboolean, |
12696 | ); |
12697 | pub unsafefn g_mount_operation_set_password(op: *mut GMountOperation, password: *const c_char); |
12698 | pub unsafefn g_mount_operation_set_password_save(op: *mut GMountOperation, save: GPasswordSave); |
12699 | #[cfg (feature = "v2_58" )] |
12700 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
12701 | pub fn g_mount_operation_set_pim(op: *mut GMountOperation, pim: c_uint); |
12702 | pub unsafefn g_mount_operation_set_username(op: *mut GMountOperation, username: *const c_char); |
12703 | |
12704 | //========================================================================= |
12705 | // GNativeSocketAddress |
12706 | //========================================================================= |
12707 | pub unsafefn g_native_socket_address_get_type() -> GType; |
12708 | pub unsafefn g_native_socket_address_new(native: gpointer, len: size_t) -> *mut GSocketAddress; |
12709 | |
12710 | //========================================================================= |
12711 | // GNativeVolumeMonitor |
12712 | //========================================================================= |
12713 | pub unsafefn g_native_volume_monitor_get_type() -> GType; |
12714 | |
12715 | //========================================================================= |
12716 | // GNetworkAddress |
12717 | //========================================================================= |
12718 | pub unsafefn g_network_address_get_type() -> GType; |
12719 | pub unsafefn g_network_address_new(hostname: *const c_char, port: u16) -> *mut GNetworkAddress; |
12720 | pub unsafefn g_network_address_new_loopback(port: u16) -> *mut GNetworkAddress; |
12721 | pub unsafefn g_network_address_parse( |
12722 | host_and_port: *const c_char, |
12723 | default_port: u16, |
12724 | error: *mut *mut glib::GError, |
12725 | ) -> *mut GNetworkAddress; |
12726 | pub unsafefn g_network_address_parse_uri( |
12727 | uri: *const c_char, |
12728 | default_port: u16, |
12729 | error: *mut *mut glib::GError, |
12730 | ) -> *mut GNetworkAddress; |
12731 | pub unsafefn g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const c_char; |
12732 | pub unsafefn g_network_address_get_port(addr: *mut GNetworkAddress) -> u16; |
12733 | pub unsafefn g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const c_char; |
12734 | |
12735 | //========================================================================= |
12736 | // GNetworkService |
12737 | //========================================================================= |
12738 | pub unsafefn g_network_service_get_type() -> GType; |
12739 | pub unsafefn g_network_service_new( |
12740 | service: *const c_char, |
12741 | protocol: *const c_char, |
12742 | domain: *const c_char, |
12743 | ) -> *mut GNetworkService; |
12744 | pub unsafefn g_network_service_get_domain(srv: *mut GNetworkService) -> *const c_char; |
12745 | pub unsafefn g_network_service_get_protocol(srv: *mut GNetworkService) -> *const c_char; |
12746 | pub unsafefn g_network_service_get_scheme(srv: *mut GNetworkService) -> *const c_char; |
12747 | pub unsafefn g_network_service_get_service(srv: *mut GNetworkService) -> *const c_char; |
12748 | pub unsafefn g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const c_char); |
12749 | |
12750 | //========================================================================= |
12751 | // GNotification |
12752 | //========================================================================= |
12753 | pub unsafefn g_notification_get_type() -> GType; |
12754 | pub unsafefn g_notification_new(title: *const c_char) -> *mut GNotification; |
12755 | pub unsafefn g_notification_add_button( |
12756 | notification: *mut GNotification, |
12757 | label: *const c_char, |
12758 | detailed_action: *const c_char, |
12759 | ); |
12760 | pub unsafefn g_notification_add_button_with_target( |
12761 | notification: *mut GNotification, |
12762 | label: *const c_char, |
12763 | action: *const c_char, |
12764 | target_format: *const c_char, |
12765 | ... |
12766 | ); |
12767 | pub unsafefn g_notification_add_button_with_target_value( |
12768 | notification: *mut GNotification, |
12769 | label: *const c_char, |
12770 | action: *const c_char, |
12771 | target: *mut glib::GVariant, |
12772 | ); |
12773 | pub unsafefn g_notification_set_body(notification: *mut GNotification, body: *const c_char); |
12774 | #[cfg (feature = "v2_70" )] |
12775 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
12776 | pub fn g_notification_set_category(notification: *mut GNotification, category: *const c_char); |
12777 | pub unsafefn g_notification_set_default_action( |
12778 | notification: *mut GNotification, |
12779 | detailed_action: *const c_char, |
12780 | ); |
12781 | pub unsafefn g_notification_set_default_action_and_target( |
12782 | notification: *mut GNotification, |
12783 | action: *const c_char, |
12784 | target_format: *const c_char, |
12785 | ... |
12786 | ); |
12787 | pub unsafefn g_notification_set_default_action_and_target_value( |
12788 | notification: *mut GNotification, |
12789 | action: *const c_char, |
12790 | target: *mut glib::GVariant, |
12791 | ); |
12792 | pub unsafefn g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon); |
12793 | pub unsafefn g_notification_set_priority( |
12794 | notification: *mut GNotification, |
12795 | priority: GNotificationPriority, |
12796 | ); |
12797 | pub unsafefn g_notification_set_title(notification: *mut GNotification, title: *const c_char); |
12798 | pub unsafefn g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean); |
12799 | |
12800 | //========================================================================= |
12801 | // GOutputStream |
12802 | //========================================================================= |
12803 | pub unsafefn g_output_stream_get_type() -> GType; |
12804 | pub unsafefn g_output_stream_clear_pending(stream: *mut GOutputStream); |
12805 | pub unsafefn g_output_stream_close( |
12806 | stream: *mut GOutputStream, |
12807 | cancellable: *mut GCancellable, |
12808 | error: *mut *mut glib::GError, |
12809 | ) -> gboolean; |
12810 | pub unsafefn g_output_stream_close_async( |
12811 | stream: *mut GOutputStream, |
12812 | io_priority: c_int, |
12813 | cancellable: *mut GCancellable, |
12814 | callback: GAsyncReadyCallback, |
12815 | user_data: gpointer, |
12816 | ); |
12817 | pub unsafefn g_output_stream_close_finish( |
12818 | stream: *mut GOutputStream, |
12819 | result: *mut GAsyncResult, |
12820 | error: *mut *mut glib::GError, |
12821 | ) -> gboolean; |
12822 | pub unsafefn g_output_stream_flush( |
12823 | stream: *mut GOutputStream, |
12824 | cancellable: *mut GCancellable, |
12825 | error: *mut *mut glib::GError, |
12826 | ) -> gboolean; |
12827 | pub unsafefn g_output_stream_flush_async( |
12828 | stream: *mut GOutputStream, |
12829 | io_priority: c_int, |
12830 | cancellable: *mut GCancellable, |
12831 | callback: GAsyncReadyCallback, |
12832 | user_data: gpointer, |
12833 | ); |
12834 | pub unsafefn g_output_stream_flush_finish( |
12835 | stream: *mut GOutputStream, |
12836 | result: *mut GAsyncResult, |
12837 | error: *mut *mut glib::GError, |
12838 | ) -> gboolean; |
12839 | pub unsafefn g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean; |
12840 | pub unsafefn g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean; |
12841 | pub unsafefn g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean; |
12842 | pub unsafefn g_output_stream_printf( |
12843 | stream: *mut GOutputStream, |
12844 | bytes_written: *mut size_t, |
12845 | cancellable: *mut GCancellable, |
12846 | error: *mut *mut glib::GError, |
12847 | format: *const c_char, |
12848 | ... |
12849 | ) -> gboolean; |
12850 | pub unsafefn g_output_stream_set_pending( |
12851 | stream: *mut GOutputStream, |
12852 | error: *mut *mut glib::GError, |
12853 | ) -> gboolean; |
12854 | pub unsafefn g_output_stream_splice( |
12855 | stream: *mut GOutputStream, |
12856 | source: *mut GInputStream, |
12857 | flags: GOutputStreamSpliceFlags, |
12858 | cancellable: *mut GCancellable, |
12859 | error: *mut *mut glib::GError, |
12860 | ) -> ssize_t; |
12861 | pub unsafefn g_output_stream_splice_async( |
12862 | stream: *mut GOutputStream, |
12863 | source: *mut GInputStream, |
12864 | flags: GOutputStreamSpliceFlags, |
12865 | io_priority: c_int, |
12866 | cancellable: *mut GCancellable, |
12867 | callback: GAsyncReadyCallback, |
12868 | user_data: gpointer, |
12869 | ); |
12870 | pub unsafefn g_output_stream_splice_finish( |
12871 | stream: *mut GOutputStream, |
12872 | result: *mut GAsyncResult, |
12873 | error: *mut *mut glib::GError, |
12874 | ) -> ssize_t; |
12875 | //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; |
12876 | pub unsafefn g_output_stream_write( |
12877 | stream: *mut GOutputStream, |
12878 | buffer: *mut u8, |
12879 | count: size_t, |
12880 | cancellable: *mut GCancellable, |
12881 | error: *mut *mut glib::GError, |
12882 | ) -> ssize_t; |
12883 | pub unsafefn g_output_stream_write_all( |
12884 | stream: *mut GOutputStream, |
12885 | buffer: *mut u8, |
12886 | count: size_t, |
12887 | bytes_written: *mut size_t, |
12888 | cancellable: *mut GCancellable, |
12889 | error: *mut *mut glib::GError, |
12890 | ) -> gboolean; |
12891 | pub unsafefn g_output_stream_write_all_async( |
12892 | stream: *mut GOutputStream, |
12893 | buffer: *mut u8, |
12894 | count: size_t, |
12895 | io_priority: c_int, |
12896 | cancellable: *mut GCancellable, |
12897 | callback: GAsyncReadyCallback, |
12898 | user_data: gpointer, |
12899 | ); |
12900 | pub unsafefn g_output_stream_write_all_finish( |
12901 | stream: *mut GOutputStream, |
12902 | result: *mut GAsyncResult, |
12903 | bytes_written: *mut size_t, |
12904 | error: *mut *mut glib::GError, |
12905 | ) -> gboolean; |
12906 | pub unsafefn g_output_stream_write_async( |
12907 | stream: *mut GOutputStream, |
12908 | buffer: *mut u8, |
12909 | count: size_t, |
12910 | io_priority: c_int, |
12911 | cancellable: *mut GCancellable, |
12912 | callback: GAsyncReadyCallback, |
12913 | user_data: gpointer, |
12914 | ); |
12915 | pub unsafefn g_output_stream_write_bytes( |
12916 | stream: *mut GOutputStream, |
12917 | bytes: *mut glib::GBytes, |
12918 | cancellable: *mut GCancellable, |
12919 | error: *mut *mut glib::GError, |
12920 | ) -> ssize_t; |
12921 | pub unsafefn g_output_stream_write_bytes_async( |
12922 | stream: *mut GOutputStream, |
12923 | bytes: *mut glib::GBytes, |
12924 | io_priority: c_int, |
12925 | cancellable: *mut GCancellable, |
12926 | callback: GAsyncReadyCallback, |
12927 | user_data: gpointer, |
12928 | ); |
12929 | pub unsafefn g_output_stream_write_bytes_finish( |
12930 | stream: *mut GOutputStream, |
12931 | result: *mut GAsyncResult, |
12932 | error: *mut *mut glib::GError, |
12933 | ) -> ssize_t; |
12934 | pub unsafefn g_output_stream_write_finish( |
12935 | stream: *mut GOutputStream, |
12936 | result: *mut GAsyncResult, |
12937 | error: *mut *mut glib::GError, |
12938 | ) -> ssize_t; |
12939 | #[cfg (feature = "v2_60" )] |
12940 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12941 | pub fn g_output_stream_writev( |
12942 | stream: *mut GOutputStream, |
12943 | vectors: *const GOutputVector, |
12944 | n_vectors: size_t, |
12945 | bytes_written: *mut size_t, |
12946 | cancellable: *mut GCancellable, |
12947 | error: *mut *mut glib::GError, |
12948 | ) -> gboolean; |
12949 | #[cfg (feature = "v2_60" )] |
12950 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12951 | pub fn g_output_stream_writev_all( |
12952 | stream: *mut GOutputStream, |
12953 | vectors: *mut GOutputVector, |
12954 | n_vectors: size_t, |
12955 | bytes_written: *mut size_t, |
12956 | cancellable: *mut GCancellable, |
12957 | error: *mut *mut glib::GError, |
12958 | ) -> gboolean; |
12959 | #[cfg (feature = "v2_60" )] |
12960 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12961 | pub fn g_output_stream_writev_all_async( |
12962 | stream: *mut GOutputStream, |
12963 | vectors: *mut GOutputVector, |
12964 | n_vectors: size_t, |
12965 | io_priority: c_int, |
12966 | cancellable: *mut GCancellable, |
12967 | callback: GAsyncReadyCallback, |
12968 | user_data: gpointer, |
12969 | ); |
12970 | #[cfg (feature = "v2_60" )] |
12971 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12972 | pub fn g_output_stream_writev_all_finish( |
12973 | stream: *mut GOutputStream, |
12974 | result: *mut GAsyncResult, |
12975 | bytes_written: *mut size_t, |
12976 | error: *mut *mut glib::GError, |
12977 | ) -> gboolean; |
12978 | #[cfg (feature = "v2_60" )] |
12979 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12980 | pub fn g_output_stream_writev_async( |
12981 | stream: *mut GOutputStream, |
12982 | vectors: *const GOutputVector, |
12983 | n_vectors: size_t, |
12984 | io_priority: c_int, |
12985 | cancellable: *mut GCancellable, |
12986 | callback: GAsyncReadyCallback, |
12987 | user_data: gpointer, |
12988 | ); |
12989 | #[cfg (feature = "v2_60" )] |
12990 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
12991 | pub fn g_output_stream_writev_finish( |
12992 | stream: *mut GOutputStream, |
12993 | result: *mut GAsyncResult, |
12994 | bytes_written: *mut size_t, |
12995 | error: *mut *mut glib::GError, |
12996 | ) -> gboolean; |
12997 | |
12998 | //========================================================================= |
12999 | // GPermission |
13000 | //========================================================================= |
13001 | pub unsafefn g_permission_get_type() -> GType; |
13002 | pub unsafefn g_permission_acquire( |
13003 | permission: *mut GPermission, |
13004 | cancellable: *mut GCancellable, |
13005 | error: *mut *mut glib::GError, |
13006 | ) -> gboolean; |
13007 | pub unsafefn g_permission_acquire_async( |
13008 | permission: *mut GPermission, |
13009 | cancellable: *mut GCancellable, |
13010 | callback: GAsyncReadyCallback, |
13011 | user_data: gpointer, |
13012 | ); |
13013 | pub unsafefn g_permission_acquire_finish( |
13014 | permission: *mut GPermission, |
13015 | result: *mut GAsyncResult, |
13016 | error: *mut *mut glib::GError, |
13017 | ) -> gboolean; |
13018 | pub unsafefn g_permission_get_allowed(permission: *mut GPermission) -> gboolean; |
13019 | pub unsafefn g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean; |
13020 | pub unsafefn g_permission_get_can_release(permission: *mut GPermission) -> gboolean; |
13021 | pub unsafefn g_permission_impl_update( |
13022 | permission: *mut GPermission, |
13023 | allowed: gboolean, |
13024 | can_acquire: gboolean, |
13025 | can_release: gboolean, |
13026 | ); |
13027 | pub unsafefn g_permission_release( |
13028 | permission: *mut GPermission, |
13029 | cancellable: *mut GCancellable, |
13030 | error: *mut *mut glib::GError, |
13031 | ) -> gboolean; |
13032 | pub unsafefn g_permission_release_async( |
13033 | permission: *mut GPermission, |
13034 | cancellable: *mut GCancellable, |
13035 | callback: GAsyncReadyCallback, |
13036 | user_data: gpointer, |
13037 | ); |
13038 | pub unsafefn g_permission_release_finish( |
13039 | permission: *mut GPermission, |
13040 | result: *mut GAsyncResult, |
13041 | error: *mut *mut glib::GError, |
13042 | ) -> gboolean; |
13043 | |
13044 | //========================================================================= |
13045 | // GPropertyAction |
13046 | //========================================================================= |
13047 | pub unsafefn g_property_action_get_type() -> GType; |
13048 | pub unsafefn g_property_action_new( |
13049 | name: *const c_char, |
13050 | object: *mut gobject::GObject, |
13051 | property_name: *const c_char, |
13052 | ) -> *mut GPropertyAction; |
13053 | |
13054 | //========================================================================= |
13055 | // GProxyAddress |
13056 | //========================================================================= |
13057 | pub unsafefn g_proxy_address_get_type() -> GType; |
13058 | pub unsafefn g_proxy_address_new( |
13059 | inetaddr: *mut GInetAddress, |
13060 | port: u16, |
13061 | protocol: *const c_char, |
13062 | dest_hostname: *const c_char, |
13063 | dest_port: u16, |
13064 | username: *const c_char, |
13065 | password: *const c_char, |
13066 | ) -> *mut GSocketAddress; |
13067 | pub unsafefn g_proxy_address_get_destination_hostname(proxy: *mut GProxyAddress) -> *const c_char; |
13068 | pub unsafefn g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> u16; |
13069 | pub unsafefn g_proxy_address_get_destination_protocol(proxy: *mut GProxyAddress) -> *const c_char; |
13070 | pub unsafefn g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const c_char; |
13071 | pub unsafefn g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const c_char; |
13072 | pub unsafefn g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const c_char; |
13073 | pub unsafefn g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const c_char; |
13074 | |
13075 | //========================================================================= |
13076 | // GProxyAddressEnumerator |
13077 | //========================================================================= |
13078 | pub unsafefn g_proxy_address_enumerator_get_type() -> GType; |
13079 | |
13080 | //========================================================================= |
13081 | // GResolver |
13082 | //========================================================================= |
13083 | pub unsafefn g_resolver_get_type() -> GType; |
13084 | pub unsafefn g_resolver_free_addresses(addresses: *mut glib::GList); |
13085 | pub unsafefn g_resolver_free_targets(targets: *mut glib::GList); |
13086 | pub unsafefn g_resolver_get_default() -> *mut GResolver; |
13087 | #[cfg (feature = "v2_78" )] |
13088 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
13089 | pub fn g_resolver_get_timeout(resolver: *mut GResolver) -> c_uint; |
13090 | pub unsafefn g_resolver_lookup_by_address( |
13091 | resolver: *mut GResolver, |
13092 | address: *mut GInetAddress, |
13093 | cancellable: *mut GCancellable, |
13094 | error: *mut *mut glib::GError, |
13095 | ) -> *mut c_char; |
13096 | pub unsafefn g_resolver_lookup_by_address_async( |
13097 | resolver: *mut GResolver, |
13098 | address: *mut GInetAddress, |
13099 | cancellable: *mut GCancellable, |
13100 | callback: GAsyncReadyCallback, |
13101 | user_data: gpointer, |
13102 | ); |
13103 | pub unsafefn g_resolver_lookup_by_address_finish( |
13104 | resolver: *mut GResolver, |
13105 | result: *mut GAsyncResult, |
13106 | error: *mut *mut glib::GError, |
13107 | ) -> *mut c_char; |
13108 | pub unsafefn g_resolver_lookup_by_name( |
13109 | resolver: *mut GResolver, |
13110 | hostname: *const c_char, |
13111 | cancellable: *mut GCancellable, |
13112 | error: *mut *mut glib::GError, |
13113 | ) -> *mut glib::GList; |
13114 | pub unsafefn g_resolver_lookup_by_name_async( |
13115 | resolver: *mut GResolver, |
13116 | hostname: *const c_char, |
13117 | cancellable: *mut GCancellable, |
13118 | callback: GAsyncReadyCallback, |
13119 | user_data: gpointer, |
13120 | ); |
13121 | pub unsafefn g_resolver_lookup_by_name_finish( |
13122 | resolver: *mut GResolver, |
13123 | result: *mut GAsyncResult, |
13124 | error: *mut *mut glib::GError, |
13125 | ) -> *mut glib::GList; |
13126 | #[cfg (feature = "v2_60" )] |
13127 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
13128 | pub fn g_resolver_lookup_by_name_with_flags( |
13129 | resolver: *mut GResolver, |
13130 | hostname: *const c_char, |
13131 | flags: GResolverNameLookupFlags, |
13132 | cancellable: *mut GCancellable, |
13133 | error: *mut *mut glib::GError, |
13134 | ) -> *mut glib::GList; |
13135 | #[cfg (feature = "v2_60" )] |
13136 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
13137 | pub fn g_resolver_lookup_by_name_with_flags_async( |
13138 | resolver: *mut GResolver, |
13139 | hostname: *const c_char, |
13140 | flags: GResolverNameLookupFlags, |
13141 | cancellable: *mut GCancellable, |
13142 | callback: GAsyncReadyCallback, |
13143 | user_data: gpointer, |
13144 | ); |
13145 | #[cfg (feature = "v2_60" )] |
13146 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
13147 | pub fn g_resolver_lookup_by_name_with_flags_finish( |
13148 | resolver: *mut GResolver, |
13149 | result: *mut GAsyncResult, |
13150 | error: *mut *mut glib::GError, |
13151 | ) -> *mut glib::GList; |
13152 | pub unsafefn g_resolver_lookup_records( |
13153 | resolver: *mut GResolver, |
13154 | rrname: *const c_char, |
13155 | record_type: GResolverRecordType, |
13156 | cancellable: *mut GCancellable, |
13157 | error: *mut *mut glib::GError, |
13158 | ) -> *mut glib::GList; |
13159 | pub unsafefn g_resolver_lookup_records_async( |
13160 | resolver: *mut GResolver, |
13161 | rrname: *const c_char, |
13162 | record_type: GResolverRecordType, |
13163 | cancellable: *mut GCancellable, |
13164 | callback: GAsyncReadyCallback, |
13165 | user_data: gpointer, |
13166 | ); |
13167 | pub unsafefn g_resolver_lookup_records_finish( |
13168 | resolver: *mut GResolver, |
13169 | result: *mut GAsyncResult, |
13170 | error: *mut *mut glib::GError, |
13171 | ) -> *mut glib::GList; |
13172 | pub unsafefn g_resolver_lookup_service( |
13173 | resolver: *mut GResolver, |
13174 | service: *const c_char, |
13175 | protocol: *const c_char, |
13176 | domain: *const c_char, |
13177 | cancellable: *mut GCancellable, |
13178 | error: *mut *mut glib::GError, |
13179 | ) -> *mut glib::GList; |
13180 | pub unsafefn g_resolver_lookup_service_async( |
13181 | resolver: *mut GResolver, |
13182 | service: *const c_char, |
13183 | protocol: *const c_char, |
13184 | domain: *const c_char, |
13185 | cancellable: *mut GCancellable, |
13186 | callback: GAsyncReadyCallback, |
13187 | user_data: gpointer, |
13188 | ); |
13189 | pub unsafefn g_resolver_lookup_service_finish( |
13190 | resolver: *mut GResolver, |
13191 | result: *mut GAsyncResult, |
13192 | error: *mut *mut glib::GError, |
13193 | ) -> *mut glib::GList; |
13194 | pub unsafefn g_resolver_set_default(resolver: *mut GResolver); |
13195 | #[cfg (feature = "v2_78" )] |
13196 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
13197 | pub fn g_resolver_set_timeout(resolver: *mut GResolver, timeout_ms: c_uint); |
13198 | |
13199 | //========================================================================= |
13200 | // GSettings |
13201 | //========================================================================= |
13202 | pub unsafefn g_settings_get_type() -> GType; |
13203 | pub unsafefn g_settings_new(schema_id: *const c_char) -> *mut GSettings; |
13204 | pub unsafefn g_settings_new_full( |
13205 | schema: *mut GSettingsSchema, |
13206 | backend: *mut GSettingsBackend, |
13207 | path: *const c_char, |
13208 | ) -> *mut GSettings; |
13209 | pub unsafefn g_settings_new_with_backend( |
13210 | schema_id: *const c_char, |
13211 | backend: *mut GSettingsBackend, |
13212 | ) -> *mut GSettings; |
13213 | pub unsafefn g_settings_new_with_backend_and_path( |
13214 | schema_id: *const c_char, |
13215 | backend: *mut GSettingsBackend, |
13216 | path: *const c_char, |
13217 | ) -> *mut GSettings; |
13218 | pub unsafefn g_settings_new_with_path( |
13219 | schema_id: *const c_char, |
13220 | path: *const c_char, |
13221 | ) -> *mut GSettings; |
13222 | pub unsafefn g_settings_list_relocatable_schemas() -> *const *const c_char; |
13223 | pub unsafefn g_settings_list_schemas() -> *const *const c_char; |
13224 | pub unsafefn g_settings_sync(); |
13225 | pub unsafefn g_settings_unbind(object: *mut gobject::GObject, property: *const c_char); |
13226 | pub unsafefn g_settings_apply(settings: *mut GSettings); |
13227 | pub unsafefn g_settings_bind( |
13228 | settings: *mut GSettings, |
13229 | key: *const c_char, |
13230 | object: *mut gobject::GObject, |
13231 | property: *const c_char, |
13232 | flags: GSettingsBindFlags, |
13233 | ); |
13234 | pub unsafefn g_settings_bind_with_mapping( |
13235 | settings: *mut GSettings, |
13236 | key: *const c_char, |
13237 | object: *mut gobject::GObject, |
13238 | property: *const c_char, |
13239 | flags: GSettingsBindFlags, |
13240 | get_mapping: GSettingsBindGetMapping, |
13241 | set_mapping: GSettingsBindSetMapping, |
13242 | user_data: gpointer, |
13243 | destroy: glib::GDestroyNotify, |
13244 | ); |
13245 | #[cfg (feature = "v2_82" )] |
13246 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
13247 | pub fn g_settings_bind_with_mapping_closures( |
13248 | settings: *mut GSettings, |
13249 | key: *const c_char, |
13250 | object: *mut gobject::GObject, |
13251 | property: *const c_char, |
13252 | flags: GSettingsBindFlags, |
13253 | get_mapping: *mut gobject::GClosure, |
13254 | set_mapping: *mut gobject::GClosure, |
13255 | ); |
13256 | pub unsafefn g_settings_bind_writable( |
13257 | settings: *mut GSettings, |
13258 | key: *const c_char, |
13259 | object: *mut gobject::GObject, |
13260 | property: *const c_char, |
13261 | inverted: gboolean, |
13262 | ); |
13263 | pub unsafefn g_settings_create_action(settings: *mut GSettings, key: *const c_char) -> *mut GAction; |
13264 | pub unsafefn g_settings_delay(settings: *mut GSettings); |
13265 | pub unsafefn g_settings_get(settings: *mut GSettings, key: *const c_char, format: *const c_char, ...); |
13266 | pub unsafefn g_settings_get_boolean(settings: *mut GSettings, key: *const c_char) -> gboolean; |
13267 | pub unsafefn g_settings_get_child(settings: *mut GSettings, name: *const c_char) -> *mut GSettings; |
13268 | pub unsafefn g_settings_get_default_value( |
13269 | settings: *mut GSettings, |
13270 | key: *const c_char, |
13271 | ) -> *mut glib::GVariant; |
13272 | pub unsafefn g_settings_get_double(settings: *mut GSettings, key: *const c_char) -> c_double; |
13273 | pub unsafefn g_settings_get_enum(settings: *mut GSettings, key: *const c_char) -> c_int; |
13274 | pub unsafefn g_settings_get_flags(settings: *mut GSettings, key: *const c_char) -> c_uint; |
13275 | pub unsafefn g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean; |
13276 | pub unsafefn g_settings_get_int(settings: *mut GSettings, key: *const c_char) -> c_int; |
13277 | pub unsafefn g_settings_get_int64(settings: *mut GSettings, key: *const c_char) -> i64; |
13278 | pub unsafefn g_settings_get_mapped( |
13279 | settings: *mut GSettings, |
13280 | key: *const c_char, |
13281 | mapping: GSettingsGetMapping, |
13282 | user_data: gpointer, |
13283 | ) -> gpointer; |
13284 | pub unsafefn g_settings_get_range( |
13285 | settings: *mut GSettings, |
13286 | key: *const c_char, |
13287 | ) -> *mut glib::GVariant; |
13288 | pub unsafefn g_settings_get_string(settings: *mut GSettings, key: *const c_char) -> *mut c_char; |
13289 | pub unsafefn g_settings_get_strv(settings: *mut GSettings, key: *const c_char) -> *mut *mut c_char; |
13290 | pub unsafefn g_settings_get_uint(settings: *mut GSettings, key: *const c_char) -> c_uint; |
13291 | pub unsafefn g_settings_get_uint64(settings: *mut GSettings, key: *const c_char) -> u64; |
13292 | pub unsafefn g_settings_get_user_value( |
13293 | settings: *mut GSettings, |
13294 | key: *const c_char, |
13295 | ) -> *mut glib::GVariant; |
13296 | pub unsafefn g_settings_get_value( |
13297 | settings: *mut GSettings, |
13298 | key: *const c_char, |
13299 | ) -> *mut glib::GVariant; |
13300 | pub unsafefn g_settings_is_writable(settings: *mut GSettings, name: *const c_char) -> gboolean; |
13301 | pub unsafefn g_settings_list_children(settings: *mut GSettings) -> *mut *mut c_char; |
13302 | pub unsafefn g_settings_list_keys(settings: *mut GSettings) -> *mut *mut c_char; |
13303 | pub unsafefn g_settings_range_check( |
13304 | settings: *mut GSettings, |
13305 | key: *const c_char, |
13306 | value: *mut glib::GVariant, |
13307 | ) -> gboolean; |
13308 | pub unsafefn g_settings_reset(settings: *mut GSettings, key: *const c_char); |
13309 | pub unsafefn g_settings_revert(settings: *mut GSettings); |
13310 | pub unsafefn g_settings_set( |
13311 | settings: *mut GSettings, |
13312 | key: *const c_char, |
13313 | format: *const c_char, |
13314 | ... |
13315 | ) -> gboolean; |
13316 | pub unsafefn g_settings_set_boolean( |
13317 | settings: *mut GSettings, |
13318 | key: *const c_char, |
13319 | value: gboolean, |
13320 | ) -> gboolean; |
13321 | pub unsafefn g_settings_set_double( |
13322 | settings: *mut GSettings, |
13323 | key: *const c_char, |
13324 | value: c_double, |
13325 | ) -> gboolean; |
13326 | pub unsafefn g_settings_set_enum( |
13327 | settings: *mut GSettings, |
13328 | key: *const c_char, |
13329 | value: c_int, |
13330 | ) -> gboolean; |
13331 | pub unsafefn g_settings_set_flags( |
13332 | settings: *mut GSettings, |
13333 | key: *const c_char, |
13334 | value: c_uint, |
13335 | ) -> gboolean; |
13336 | pub unsafefn g_settings_set_int( |
13337 | settings: *mut GSettings, |
13338 | key: *const c_char, |
13339 | value: c_int, |
13340 | ) -> gboolean; |
13341 | pub unsafefn g_settings_set_int64( |
13342 | settings: *mut GSettings, |
13343 | key: *const c_char, |
13344 | value: i64, |
13345 | ) -> gboolean; |
13346 | pub unsafefn g_settings_set_string( |
13347 | settings: *mut GSettings, |
13348 | key: *const c_char, |
13349 | value: *const c_char, |
13350 | ) -> gboolean; |
13351 | pub unsafefn g_settings_set_strv( |
13352 | settings: *mut GSettings, |
13353 | key: *const c_char, |
13354 | value: *const *const c_char, |
13355 | ) -> gboolean; |
13356 | pub unsafefn g_settings_set_uint( |
13357 | settings: *mut GSettings, |
13358 | key: *const c_char, |
13359 | value: c_uint, |
13360 | ) -> gboolean; |
13361 | pub unsafefn g_settings_set_uint64( |
13362 | settings: *mut GSettings, |
13363 | key: *const c_char, |
13364 | value: u64, |
13365 | ) -> gboolean; |
13366 | pub unsafefn g_settings_set_value( |
13367 | settings: *mut GSettings, |
13368 | key: *const c_char, |
13369 | value: *mut glib::GVariant, |
13370 | ) -> gboolean; |
13371 | |
13372 | //========================================================================= |
13373 | // GSettingsBackend |
13374 | //========================================================================= |
13375 | pub unsafefn g_settings_backend_get_type() -> GType; |
13376 | pub unsafefn g_settings_backend_flatten_tree( |
13377 | tree: *mut glib::GTree, |
13378 | path: *mut *mut c_char, |
13379 | keys: *mut *mut *const c_char, |
13380 | values: *mut *mut *mut glib::GVariant, |
13381 | ); |
13382 | pub unsafefn g_settings_backend_get_default() -> *mut GSettingsBackend; |
13383 | pub unsafefn g_settings_backend_changed( |
13384 | backend: *mut GSettingsBackend, |
13385 | key: *const c_char, |
13386 | origin_tag: gpointer, |
13387 | ); |
13388 | pub unsafefn g_settings_backend_changed_tree( |
13389 | backend: *mut GSettingsBackend, |
13390 | tree: *mut glib::GTree, |
13391 | origin_tag: gpointer, |
13392 | ); |
13393 | pub unsafefn g_settings_backend_keys_changed( |
13394 | backend: *mut GSettingsBackend, |
13395 | path: *const c_char, |
13396 | items: *const *const c_char, |
13397 | origin_tag: gpointer, |
13398 | ); |
13399 | pub unsafefn g_settings_backend_path_changed( |
13400 | backend: *mut GSettingsBackend, |
13401 | path: *const c_char, |
13402 | origin_tag: gpointer, |
13403 | ); |
13404 | pub unsafefn g_settings_backend_path_writable_changed( |
13405 | backend: *mut GSettingsBackend, |
13406 | path: *const c_char, |
13407 | ); |
13408 | pub unsafefn g_settings_backend_writable_changed(backend: *mut GSettingsBackend, key: *const c_char); |
13409 | |
13410 | //========================================================================= |
13411 | // GSimpleAction |
13412 | //========================================================================= |
13413 | pub unsafefn g_simple_action_get_type() -> GType; |
13414 | pub unsafefn g_simple_action_new( |
13415 | name: *const c_char, |
13416 | parameter_type: *const glib::GVariantType, |
13417 | ) -> *mut GSimpleAction; |
13418 | pub unsafefn g_simple_action_new_stateful( |
13419 | name: *const c_char, |
13420 | parameter_type: *const glib::GVariantType, |
13421 | state: *mut glib::GVariant, |
13422 | ) -> *mut GSimpleAction; |
13423 | pub unsafefn g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean); |
13424 | pub unsafefn g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut glib::GVariant); |
13425 | pub unsafefn g_simple_action_set_state_hint( |
13426 | simple: *mut GSimpleAction, |
13427 | state_hint: *mut glib::GVariant, |
13428 | ); |
13429 | |
13430 | //========================================================================= |
13431 | // GSimpleActionGroup |
13432 | //========================================================================= |
13433 | pub unsafefn g_simple_action_group_get_type() -> GType; |
13434 | pub unsafefn g_simple_action_group_new() -> *mut GSimpleActionGroup; |
13435 | pub unsafefn g_simple_action_group_add_entries( |
13436 | simple: *mut GSimpleActionGroup, |
13437 | entries: *const GActionEntry, |
13438 | n_entries: c_int, |
13439 | user_data: gpointer, |
13440 | ); |
13441 | pub unsafefn g_simple_action_group_insert(simple: *mut GSimpleActionGroup, action: *mut GAction); |
13442 | pub unsafefn g_simple_action_group_lookup( |
13443 | simple: *mut GSimpleActionGroup, |
13444 | action_name: *const c_char, |
13445 | ) -> *mut GAction; |
13446 | pub unsafefn g_simple_action_group_remove( |
13447 | simple: *mut GSimpleActionGroup, |
13448 | action_name: *const c_char, |
13449 | ); |
13450 | |
13451 | //========================================================================= |
13452 | // GSimpleAsyncResult |
13453 | //========================================================================= |
13454 | pub unsafefn g_simple_async_result_get_type() -> GType; |
13455 | pub unsafefn g_simple_async_result_new( |
13456 | source_object: *mut gobject::GObject, |
13457 | callback: GAsyncReadyCallback, |
13458 | user_data: gpointer, |
13459 | source_tag: gpointer, |
13460 | ) -> *mut GSimpleAsyncResult; |
13461 | pub unsafefn g_simple_async_result_new_error( |
13462 | source_object: *mut gobject::GObject, |
13463 | callback: GAsyncReadyCallback, |
13464 | user_data: gpointer, |
13465 | domain: glib::GQuark, |
13466 | code: c_int, |
13467 | format: *const c_char, |
13468 | ... |
13469 | ) -> *mut GSimpleAsyncResult; |
13470 | pub unsafefn g_simple_async_result_new_from_error( |
13471 | source_object: *mut gobject::GObject, |
13472 | callback: GAsyncReadyCallback, |
13473 | user_data: gpointer, |
13474 | error: *const glib::GError, |
13475 | ) -> *mut GSimpleAsyncResult; |
13476 | pub unsafefn g_simple_async_result_new_take_error( |
13477 | source_object: *mut gobject::GObject, |
13478 | callback: GAsyncReadyCallback, |
13479 | user_data: gpointer, |
13480 | error: *mut glib::GError, |
13481 | ) -> *mut GSimpleAsyncResult; |
13482 | pub unsafefn g_simple_async_result_is_valid( |
13483 | result: *mut GAsyncResult, |
13484 | source: *mut gobject::GObject, |
13485 | source_tag: gpointer, |
13486 | ) -> gboolean; |
13487 | pub unsafefn g_simple_async_result_complete(simple: *mut GSimpleAsyncResult); |
13488 | pub unsafefn g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult); |
13489 | pub unsafefn g_simple_async_result_get_op_res_gboolean(simple: *mut GSimpleAsyncResult) -> gboolean; |
13490 | pub unsafefn g_simple_async_result_get_op_res_gpointer(simple: *mut GSimpleAsyncResult) -> gpointer; |
13491 | pub unsafefn g_simple_async_result_get_op_res_gssize(simple: *mut GSimpleAsyncResult) -> ssize_t; |
13492 | pub unsafefn g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult) -> gpointer; |
13493 | pub unsafefn g_simple_async_result_propagate_error( |
13494 | simple: *mut GSimpleAsyncResult, |
13495 | error: *mut *mut glib::GError, |
13496 | ) -> gboolean; |
13497 | pub unsafefn g_simple_async_result_run_in_thread( |
13498 | simple: *mut GSimpleAsyncResult, |
13499 | func: GSimpleAsyncThreadFunc, |
13500 | io_priority: c_int, |
13501 | cancellable: *mut GCancellable, |
13502 | ); |
13503 | pub unsafefn g_simple_async_result_set_check_cancellable( |
13504 | simple: *mut GSimpleAsyncResult, |
13505 | check_cancellable: *mut GCancellable, |
13506 | ); |
13507 | pub unsafefn g_simple_async_result_set_error( |
13508 | simple: *mut GSimpleAsyncResult, |
13509 | domain: glib::GQuark, |
13510 | code: c_int, |
13511 | format: *const c_char, |
13512 | ... |
13513 | ); |
13514 | //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); |
13515 | pub unsafefn g_simple_async_result_set_from_error( |
13516 | simple: *mut GSimpleAsyncResult, |
13517 | error: *const glib::GError, |
13518 | ); |
13519 | pub unsafefn g_simple_async_result_set_handle_cancellation( |
13520 | simple: *mut GSimpleAsyncResult, |
13521 | handle_cancellation: gboolean, |
13522 | ); |
13523 | pub unsafefn g_simple_async_result_set_op_res_gboolean( |
13524 | simple: *mut GSimpleAsyncResult, |
13525 | op_res: gboolean, |
13526 | ); |
13527 | pub unsafefn g_simple_async_result_set_op_res_gpointer( |
13528 | simple: *mut GSimpleAsyncResult, |
13529 | op_res: gpointer, |
13530 | destroy_op_res: glib::GDestroyNotify, |
13531 | ); |
13532 | pub unsafefn g_simple_async_result_set_op_res_gssize( |
13533 | simple: *mut GSimpleAsyncResult, |
13534 | op_res: ssize_t, |
13535 | ); |
13536 | pub unsafefn g_simple_async_result_take_error( |
13537 | simple: *mut GSimpleAsyncResult, |
13538 | error: *mut glib::GError, |
13539 | ); |
13540 | |
13541 | //========================================================================= |
13542 | // GSimpleIOStream |
13543 | //========================================================================= |
13544 | pub unsafefn g_simple_io_stream_get_type() -> GType; |
13545 | pub unsafefn g_simple_io_stream_new( |
13546 | input_stream: *mut GInputStream, |
13547 | output_stream: *mut GOutputStream, |
13548 | ) -> *mut GIOStream; |
13549 | |
13550 | //========================================================================= |
13551 | // GSimplePermission |
13552 | //========================================================================= |
13553 | pub unsafefn g_simple_permission_get_type() -> GType; |
13554 | pub unsafefn g_simple_permission_new(allowed: gboolean) -> *mut GPermission; |
13555 | |
13556 | //========================================================================= |
13557 | // GSimpleProxyResolver |
13558 | //========================================================================= |
13559 | pub unsafefn g_simple_proxy_resolver_get_type() -> GType; |
13560 | pub unsafefn g_simple_proxy_resolver_new( |
13561 | default_proxy: *const c_char, |
13562 | ignore_hosts: *mut *mut c_char, |
13563 | ) -> *mut GProxyResolver; |
13564 | pub unsafefn g_simple_proxy_resolver_set_default_proxy( |
13565 | resolver: *mut GSimpleProxyResolver, |
13566 | default_proxy: *const c_char, |
13567 | ); |
13568 | pub unsafefn g_simple_proxy_resolver_set_ignore_hosts( |
13569 | resolver: *mut GSimpleProxyResolver, |
13570 | ignore_hosts: *mut *mut c_char, |
13571 | ); |
13572 | pub unsafefn g_simple_proxy_resolver_set_uri_proxy( |
13573 | resolver: *mut GSimpleProxyResolver, |
13574 | uri_scheme: *const c_char, |
13575 | proxy: *const c_char, |
13576 | ); |
13577 | |
13578 | //========================================================================= |
13579 | // GSocket |
13580 | //========================================================================= |
13581 | pub unsafefn g_socket_get_type() -> GType; |
13582 | pub unsafefn g_socket_new( |
13583 | family: GSocketFamily, |
13584 | type_: GSocketType, |
13585 | protocol: GSocketProtocol, |
13586 | error: *mut *mut glib::GError, |
13587 | ) -> *mut GSocket; |
13588 | pub unsafefn g_socket_new_from_fd(fd: c_int, error: *mut *mut glib::GError) -> *mut GSocket; |
13589 | pub unsafefn g_socket_accept( |
13590 | socket: *mut GSocket, |
13591 | cancellable: *mut GCancellable, |
13592 | error: *mut *mut glib::GError, |
13593 | ) -> *mut GSocket; |
13594 | pub unsafefn g_socket_bind( |
13595 | socket: *mut GSocket, |
13596 | address: *mut GSocketAddress, |
13597 | allow_reuse: gboolean, |
13598 | error: *mut *mut glib::GError, |
13599 | ) -> gboolean; |
13600 | pub unsafefn g_socket_check_connect_result( |
13601 | socket: *mut GSocket, |
13602 | error: *mut *mut glib::GError, |
13603 | ) -> gboolean; |
13604 | pub unsafefn g_socket_close(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean; |
13605 | pub unsafefn g_socket_condition_check( |
13606 | socket: *mut GSocket, |
13607 | condition: glib::GIOCondition, |
13608 | ) -> glib::GIOCondition; |
13609 | pub unsafefn g_socket_condition_timed_wait( |
13610 | socket: *mut GSocket, |
13611 | condition: glib::GIOCondition, |
13612 | timeout_us: i64, |
13613 | cancellable: *mut GCancellable, |
13614 | error: *mut *mut glib::GError, |
13615 | ) -> gboolean; |
13616 | pub unsafefn g_socket_condition_wait( |
13617 | socket: *mut GSocket, |
13618 | condition: glib::GIOCondition, |
13619 | cancellable: *mut GCancellable, |
13620 | error: *mut *mut glib::GError, |
13621 | ) -> gboolean; |
13622 | pub unsafefn g_socket_connect( |
13623 | socket: *mut GSocket, |
13624 | address: *mut GSocketAddress, |
13625 | cancellable: *mut GCancellable, |
13626 | error: *mut *mut glib::GError, |
13627 | ) -> gboolean; |
13628 | pub unsafefn g_socket_connection_factory_create_connection( |
13629 | socket: *mut GSocket, |
13630 | ) -> *mut GSocketConnection; |
13631 | pub unsafefn g_socket_create_source( |
13632 | socket: *mut GSocket, |
13633 | condition: glib::GIOCondition, |
13634 | cancellable: *mut GCancellable, |
13635 | ) -> *mut glib::GSource; |
13636 | pub unsafefn g_socket_get_available_bytes(socket: *mut GSocket) -> ssize_t; |
13637 | pub unsafefn g_socket_get_blocking(socket: *mut GSocket) -> gboolean; |
13638 | pub unsafefn g_socket_get_broadcast(socket: *mut GSocket) -> gboolean; |
13639 | pub unsafefn g_socket_get_credentials( |
13640 | socket: *mut GSocket, |
13641 | error: *mut *mut glib::GError, |
13642 | ) -> *mut GCredentials; |
13643 | pub unsafefn g_socket_get_family(socket: *mut GSocket) -> GSocketFamily; |
13644 | pub unsafefn g_socket_get_fd(socket: *mut GSocket) -> c_int; |
13645 | pub unsafefn g_socket_get_keepalive(socket: *mut GSocket) -> gboolean; |
13646 | pub unsafefn g_socket_get_listen_backlog(socket: *mut GSocket) -> c_int; |
13647 | pub unsafefn g_socket_get_local_address( |
13648 | socket: *mut GSocket, |
13649 | error: *mut *mut glib::GError, |
13650 | ) -> *mut GSocketAddress; |
13651 | pub unsafefn g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean; |
13652 | pub unsafefn g_socket_get_multicast_ttl(socket: *mut GSocket) -> c_uint; |
13653 | pub unsafefn g_socket_get_option( |
13654 | socket: *mut GSocket, |
13655 | level: c_int, |
13656 | optname: c_int, |
13657 | value: *mut c_int, |
13658 | error: *mut *mut glib::GError, |
13659 | ) -> gboolean; |
13660 | pub unsafefn g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol; |
13661 | pub unsafefn g_socket_get_remote_address( |
13662 | socket: *mut GSocket, |
13663 | error: *mut *mut glib::GError, |
13664 | ) -> *mut GSocketAddress; |
13665 | pub unsafefn g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType; |
13666 | pub unsafefn g_socket_get_timeout(socket: *mut GSocket) -> c_uint; |
13667 | pub unsafefn g_socket_get_ttl(socket: *mut GSocket) -> c_uint; |
13668 | pub unsafefn g_socket_is_closed(socket: *mut GSocket) -> gboolean; |
13669 | pub unsafefn g_socket_is_connected(socket: *mut GSocket) -> gboolean; |
13670 | pub unsafefn g_socket_join_multicast_group( |
13671 | socket: *mut GSocket, |
13672 | group: *mut GInetAddress, |
13673 | source_specific: gboolean, |
13674 | iface: *const c_char, |
13675 | error: *mut *mut glib::GError, |
13676 | ) -> gboolean; |
13677 | pub unsafefn g_socket_join_multicast_group_ssm( |
13678 | socket: *mut GSocket, |
13679 | group: *mut GInetAddress, |
13680 | source_specific: *mut GInetAddress, |
13681 | iface: *const c_char, |
13682 | error: *mut *mut glib::GError, |
13683 | ) -> gboolean; |
13684 | pub unsafefn g_socket_leave_multicast_group( |
13685 | socket: *mut GSocket, |
13686 | group: *mut GInetAddress, |
13687 | source_specific: gboolean, |
13688 | iface: *const c_char, |
13689 | error: *mut *mut glib::GError, |
13690 | ) -> gboolean; |
13691 | pub unsafefn g_socket_leave_multicast_group_ssm( |
13692 | socket: *mut GSocket, |
13693 | group: *mut GInetAddress, |
13694 | source_specific: *mut GInetAddress, |
13695 | iface: *const c_char, |
13696 | error: *mut *mut glib::GError, |
13697 | ) -> gboolean; |
13698 | pub unsafefn g_socket_listen(socket: *mut GSocket, error: *mut *mut glib::GError) -> gboolean; |
13699 | pub unsafefn g_socket_receive( |
13700 | socket: *mut GSocket, |
13701 | buffer: *mut u8, |
13702 | size: size_t, |
13703 | cancellable: *mut GCancellable, |
13704 | error: *mut *mut glib::GError, |
13705 | ) -> ssize_t; |
13706 | #[cfg (feature = "v2_80" )] |
13707 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
13708 | pub fn g_socket_receive_bytes( |
13709 | socket: *mut GSocket, |
13710 | size: size_t, |
13711 | timeout_us: i64, |
13712 | cancellable: *mut GCancellable, |
13713 | error: *mut *mut glib::GError, |
13714 | ) -> *mut glib::GBytes; |
13715 | #[cfg (feature = "v2_80" )] |
13716 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
13717 | pub fn g_socket_receive_bytes_from( |
13718 | socket: *mut GSocket, |
13719 | address: *mut *mut GSocketAddress, |
13720 | size: size_t, |
13721 | timeout_us: i64, |
13722 | cancellable: *mut GCancellable, |
13723 | error: *mut *mut glib::GError, |
13724 | ) -> *mut glib::GBytes; |
13725 | pub unsafefn g_socket_receive_from( |
13726 | socket: *mut GSocket, |
13727 | address: *mut *mut GSocketAddress, |
13728 | buffer: *mut u8, |
13729 | size: size_t, |
13730 | cancellable: *mut GCancellable, |
13731 | error: *mut *mut glib::GError, |
13732 | ) -> ssize_t; |
13733 | pub unsafefn g_socket_receive_message( |
13734 | socket: *mut GSocket, |
13735 | address: *mut *mut GSocketAddress, |
13736 | vectors: *mut GInputVector, |
13737 | num_vectors: c_int, |
13738 | messages: *mut *mut *mut GSocketControlMessage, |
13739 | num_messages: *mut c_int, |
13740 | flags: *mut c_int, |
13741 | cancellable: *mut GCancellable, |
13742 | error: *mut *mut glib::GError, |
13743 | ) -> ssize_t; |
13744 | pub unsafefn g_socket_receive_messages( |
13745 | socket: *mut GSocket, |
13746 | messages: *mut GInputMessage, |
13747 | num_messages: c_uint, |
13748 | flags: c_int, |
13749 | cancellable: *mut GCancellable, |
13750 | error: *mut *mut glib::GError, |
13751 | ) -> c_int; |
13752 | pub unsafefn g_socket_receive_with_blocking( |
13753 | socket: *mut GSocket, |
13754 | buffer: *mut u8, |
13755 | size: size_t, |
13756 | blocking: gboolean, |
13757 | cancellable: *mut GCancellable, |
13758 | error: *mut *mut glib::GError, |
13759 | ) -> ssize_t; |
13760 | pub unsafefn g_socket_send( |
13761 | socket: *mut GSocket, |
13762 | buffer: *const u8, |
13763 | size: size_t, |
13764 | cancellable: *mut GCancellable, |
13765 | error: *mut *mut glib::GError, |
13766 | ) -> ssize_t; |
13767 | pub unsafefn g_socket_send_message( |
13768 | socket: *mut GSocket, |
13769 | address: *mut GSocketAddress, |
13770 | vectors: *mut GOutputVector, |
13771 | num_vectors: c_int, |
13772 | messages: *mut *mut GSocketControlMessage, |
13773 | num_messages: c_int, |
13774 | flags: c_int, |
13775 | cancellable: *mut GCancellable, |
13776 | error: *mut *mut glib::GError, |
13777 | ) -> ssize_t; |
13778 | #[cfg (feature = "v2_60" )] |
13779 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
13780 | pub fn g_socket_send_message_with_timeout( |
13781 | socket: *mut GSocket, |
13782 | address: *mut GSocketAddress, |
13783 | vectors: *const GOutputVector, |
13784 | num_vectors: c_int, |
13785 | messages: *mut *mut GSocketControlMessage, |
13786 | num_messages: c_int, |
13787 | flags: c_int, |
13788 | timeout_us: i64, |
13789 | bytes_written: *mut size_t, |
13790 | cancellable: *mut GCancellable, |
13791 | error: *mut *mut glib::GError, |
13792 | ) -> GPollableReturn; |
13793 | pub unsafefn g_socket_send_messages( |
13794 | socket: *mut GSocket, |
13795 | messages: *mut GOutputMessage, |
13796 | num_messages: c_uint, |
13797 | flags: c_int, |
13798 | cancellable: *mut GCancellable, |
13799 | error: *mut *mut glib::GError, |
13800 | ) -> c_int; |
13801 | pub unsafefn g_socket_send_to( |
13802 | socket: *mut GSocket, |
13803 | address: *mut GSocketAddress, |
13804 | buffer: *const u8, |
13805 | size: size_t, |
13806 | cancellable: *mut GCancellable, |
13807 | error: *mut *mut glib::GError, |
13808 | ) -> ssize_t; |
13809 | pub unsafefn g_socket_send_with_blocking( |
13810 | socket: *mut GSocket, |
13811 | buffer: *const u8, |
13812 | size: size_t, |
13813 | blocking: gboolean, |
13814 | cancellable: *mut GCancellable, |
13815 | error: *mut *mut glib::GError, |
13816 | ) -> ssize_t; |
13817 | pub unsafefn g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean); |
13818 | pub unsafefn g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean); |
13819 | pub unsafefn g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean); |
13820 | pub unsafefn g_socket_set_listen_backlog(socket: *mut GSocket, backlog: c_int); |
13821 | pub unsafefn g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean); |
13822 | pub unsafefn g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: c_uint); |
13823 | pub unsafefn g_socket_set_option( |
13824 | socket: *mut GSocket, |
13825 | level: c_int, |
13826 | optname: c_int, |
13827 | value: c_int, |
13828 | error: *mut *mut glib::GError, |
13829 | ) -> gboolean; |
13830 | pub unsafefn g_socket_set_timeout(socket: *mut GSocket, timeout: c_uint); |
13831 | pub unsafefn g_socket_set_ttl(socket: *mut GSocket, ttl: c_uint); |
13832 | pub unsafefn g_socket_shutdown( |
13833 | socket: *mut GSocket, |
13834 | shutdown_read: gboolean, |
13835 | shutdown_write: gboolean, |
13836 | error: *mut *mut glib::GError, |
13837 | ) -> gboolean; |
13838 | pub unsafefn g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean; |
13839 | |
13840 | //========================================================================= |
13841 | // GSocketAddress |
13842 | //========================================================================= |
13843 | pub unsafefn g_socket_address_get_type() -> GType; |
13844 | pub unsafefn g_socket_address_new_from_native(native: gpointer, len: size_t) -> *mut GSocketAddress; |
13845 | pub unsafefn g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily; |
13846 | pub unsafefn g_socket_address_get_native_size(address: *mut GSocketAddress) -> ssize_t; |
13847 | pub unsafefn g_socket_address_to_native( |
13848 | address: *mut GSocketAddress, |
13849 | dest: gpointer, |
13850 | destlen: size_t, |
13851 | error: *mut *mut glib::GError, |
13852 | ) -> gboolean; |
13853 | |
13854 | //========================================================================= |
13855 | // GSocketAddressEnumerator |
13856 | //========================================================================= |
13857 | pub unsafefn g_socket_address_enumerator_get_type() -> GType; |
13858 | pub unsafefn g_socket_address_enumerator_next( |
13859 | enumerator: *mut GSocketAddressEnumerator, |
13860 | cancellable: *mut GCancellable, |
13861 | error: *mut *mut glib::GError, |
13862 | ) -> *mut GSocketAddress; |
13863 | pub unsafefn g_socket_address_enumerator_next_async( |
13864 | enumerator: *mut GSocketAddressEnumerator, |
13865 | cancellable: *mut GCancellable, |
13866 | callback: GAsyncReadyCallback, |
13867 | user_data: gpointer, |
13868 | ); |
13869 | pub unsafefn g_socket_address_enumerator_next_finish( |
13870 | enumerator: *mut GSocketAddressEnumerator, |
13871 | result: *mut GAsyncResult, |
13872 | error: *mut *mut glib::GError, |
13873 | ) -> *mut GSocketAddress; |
13874 | |
13875 | //========================================================================= |
13876 | // GSocketClient |
13877 | //========================================================================= |
13878 | pub unsafefn g_socket_client_get_type() -> GType; |
13879 | pub unsafefn g_socket_client_new() -> *mut GSocketClient; |
13880 | pub unsafefn g_socket_client_add_application_proxy( |
13881 | client: *mut GSocketClient, |
13882 | protocol: *const c_char, |
13883 | ); |
13884 | pub unsafefn g_socket_client_connect( |
13885 | client: *mut GSocketClient, |
13886 | connectable: *mut GSocketConnectable, |
13887 | cancellable: *mut GCancellable, |
13888 | error: *mut *mut glib::GError, |
13889 | ) -> *mut GSocketConnection; |
13890 | pub unsafefn g_socket_client_connect_async( |
13891 | client: *mut GSocketClient, |
13892 | connectable: *mut GSocketConnectable, |
13893 | cancellable: *mut GCancellable, |
13894 | callback: GAsyncReadyCallback, |
13895 | user_data: gpointer, |
13896 | ); |
13897 | pub unsafefn g_socket_client_connect_finish( |
13898 | client: *mut GSocketClient, |
13899 | result: *mut GAsyncResult, |
13900 | error: *mut *mut glib::GError, |
13901 | ) -> *mut GSocketConnection; |
13902 | pub unsafefn g_socket_client_connect_to_host( |
13903 | client: *mut GSocketClient, |
13904 | host_and_port: *const c_char, |
13905 | default_port: u16, |
13906 | cancellable: *mut GCancellable, |
13907 | error: *mut *mut glib::GError, |
13908 | ) -> *mut GSocketConnection; |
13909 | pub unsafefn g_socket_client_connect_to_host_async( |
13910 | client: *mut GSocketClient, |
13911 | host_and_port: *const c_char, |
13912 | default_port: u16, |
13913 | cancellable: *mut GCancellable, |
13914 | callback: GAsyncReadyCallback, |
13915 | user_data: gpointer, |
13916 | ); |
13917 | pub unsafefn g_socket_client_connect_to_host_finish( |
13918 | client: *mut GSocketClient, |
13919 | result: *mut GAsyncResult, |
13920 | error: *mut *mut glib::GError, |
13921 | ) -> *mut GSocketConnection; |
13922 | pub unsafefn g_socket_client_connect_to_service( |
13923 | client: *mut GSocketClient, |
13924 | domain: *const c_char, |
13925 | service: *const c_char, |
13926 | cancellable: *mut GCancellable, |
13927 | error: *mut *mut glib::GError, |
13928 | ) -> *mut GSocketConnection; |
13929 | pub unsafefn g_socket_client_connect_to_service_async( |
13930 | client: *mut GSocketClient, |
13931 | domain: *const c_char, |
13932 | service: *const c_char, |
13933 | cancellable: *mut GCancellable, |
13934 | callback: GAsyncReadyCallback, |
13935 | user_data: gpointer, |
13936 | ); |
13937 | pub unsafefn g_socket_client_connect_to_service_finish( |
13938 | client: *mut GSocketClient, |
13939 | result: *mut GAsyncResult, |
13940 | error: *mut *mut glib::GError, |
13941 | ) -> *mut GSocketConnection; |
13942 | pub unsafefn g_socket_client_connect_to_uri( |
13943 | client: *mut GSocketClient, |
13944 | uri: *const c_char, |
13945 | default_port: u16, |
13946 | cancellable: *mut GCancellable, |
13947 | error: *mut *mut glib::GError, |
13948 | ) -> *mut GSocketConnection; |
13949 | pub unsafefn g_socket_client_connect_to_uri_async( |
13950 | client: *mut GSocketClient, |
13951 | uri: *const c_char, |
13952 | default_port: u16, |
13953 | cancellable: *mut GCancellable, |
13954 | callback: GAsyncReadyCallback, |
13955 | user_data: gpointer, |
13956 | ); |
13957 | pub unsafefn g_socket_client_connect_to_uri_finish( |
13958 | client: *mut GSocketClient, |
13959 | result: *mut GAsyncResult, |
13960 | error: *mut *mut glib::GError, |
13961 | ) -> *mut GSocketConnection; |
13962 | pub unsafefn g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean; |
13963 | pub unsafefn g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily; |
13964 | pub unsafefn g_socket_client_get_local_address(client: *mut GSocketClient) -> *mut GSocketAddress; |
13965 | pub unsafefn g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol; |
13966 | pub unsafefn g_socket_client_get_proxy_resolver(client: *mut GSocketClient) -> *mut GProxyResolver; |
13967 | pub unsafefn g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType; |
13968 | pub unsafefn g_socket_client_get_timeout(client: *mut GSocketClient) -> c_uint; |
13969 | pub unsafefn g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean; |
13970 | pub unsafefn g_socket_client_get_tls_validation_flags( |
13971 | client: *mut GSocketClient, |
13972 | ) -> GTlsCertificateFlags; |
13973 | pub unsafefn g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean); |
13974 | pub unsafefn g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily); |
13975 | pub unsafefn g_socket_client_set_local_address( |
13976 | client: *mut GSocketClient, |
13977 | address: *mut GSocketAddress, |
13978 | ); |
13979 | pub unsafefn g_socket_client_set_protocol(client: *mut GSocketClient, protocol: GSocketProtocol); |
13980 | pub unsafefn g_socket_client_set_proxy_resolver( |
13981 | client: *mut GSocketClient, |
13982 | proxy_resolver: *mut GProxyResolver, |
13983 | ); |
13984 | pub unsafefn g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType); |
13985 | pub unsafefn g_socket_client_set_timeout(client: *mut GSocketClient, timeout: c_uint); |
13986 | pub unsafefn g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean); |
13987 | pub unsafefn g_socket_client_set_tls_validation_flags( |
13988 | client: *mut GSocketClient, |
13989 | flags: GTlsCertificateFlags, |
13990 | ); |
13991 | |
13992 | //========================================================================= |
13993 | // GSocketConnection |
13994 | //========================================================================= |
13995 | pub unsafefn g_socket_connection_get_type() -> GType; |
13996 | pub unsafefn g_socket_connection_factory_lookup_type( |
13997 | family: GSocketFamily, |
13998 | type_: GSocketType, |
13999 | protocol_id: c_int, |
14000 | ) -> GType; |
14001 | pub unsafefn g_socket_connection_factory_register_type( |
14002 | g_type: GType, |
14003 | family: GSocketFamily, |
14004 | type_: GSocketType, |
14005 | protocol: c_int, |
14006 | ); |
14007 | pub unsafefn g_socket_connection_connect( |
14008 | connection: *mut GSocketConnection, |
14009 | address: *mut GSocketAddress, |
14010 | cancellable: *mut GCancellable, |
14011 | error: *mut *mut glib::GError, |
14012 | ) -> gboolean; |
14013 | pub unsafefn g_socket_connection_connect_async( |
14014 | connection: *mut GSocketConnection, |
14015 | address: *mut GSocketAddress, |
14016 | cancellable: *mut GCancellable, |
14017 | callback: GAsyncReadyCallback, |
14018 | user_data: gpointer, |
14019 | ); |
14020 | pub unsafefn g_socket_connection_connect_finish( |
14021 | connection: *mut GSocketConnection, |
14022 | result: *mut GAsyncResult, |
14023 | error: *mut *mut glib::GError, |
14024 | ) -> gboolean; |
14025 | pub unsafefn g_socket_connection_get_local_address( |
14026 | connection: *mut GSocketConnection, |
14027 | error: *mut *mut glib::GError, |
14028 | ) -> *mut GSocketAddress; |
14029 | pub unsafefn g_socket_connection_get_remote_address( |
14030 | connection: *mut GSocketConnection, |
14031 | error: *mut *mut glib::GError, |
14032 | ) -> *mut GSocketAddress; |
14033 | pub unsafefn g_socket_connection_get_socket(connection: *mut GSocketConnection) -> *mut GSocket; |
14034 | pub unsafefn g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean; |
14035 | |
14036 | //========================================================================= |
14037 | // GSocketControlMessage |
14038 | //========================================================================= |
14039 | pub unsafefn g_socket_control_message_get_type() -> GType; |
14040 | pub unsafefn g_socket_control_message_deserialize( |
14041 | level: c_int, |
14042 | type_: c_int, |
14043 | size: size_t, |
14044 | data: gpointer, |
14045 | ) -> *mut GSocketControlMessage; |
14046 | pub unsafefn g_socket_control_message_get_level(message: *mut GSocketControlMessage) -> c_int; |
14047 | pub unsafefn g_socket_control_message_get_msg_type(message: *mut GSocketControlMessage) -> c_int; |
14048 | pub unsafefn g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> size_t; |
14049 | pub unsafefn g_socket_control_message_serialize(message: *mut GSocketControlMessage, data: gpointer); |
14050 | |
14051 | //========================================================================= |
14052 | // GSocketListener |
14053 | //========================================================================= |
14054 | pub unsafefn g_socket_listener_get_type() -> GType; |
14055 | pub unsafefn g_socket_listener_new() -> *mut GSocketListener; |
14056 | pub unsafefn g_socket_listener_accept( |
14057 | listener: *mut GSocketListener, |
14058 | source_object: *mut *mut gobject::GObject, |
14059 | cancellable: *mut GCancellable, |
14060 | error: *mut *mut glib::GError, |
14061 | ) -> *mut GSocketConnection; |
14062 | pub unsafefn g_socket_listener_accept_async( |
14063 | listener: *mut GSocketListener, |
14064 | cancellable: *mut GCancellable, |
14065 | callback: GAsyncReadyCallback, |
14066 | user_data: gpointer, |
14067 | ); |
14068 | pub unsafefn g_socket_listener_accept_finish( |
14069 | listener: *mut GSocketListener, |
14070 | result: *mut GAsyncResult, |
14071 | source_object: *mut *mut gobject::GObject, |
14072 | error: *mut *mut glib::GError, |
14073 | ) -> *mut GSocketConnection; |
14074 | pub unsafefn g_socket_listener_accept_socket( |
14075 | listener: *mut GSocketListener, |
14076 | source_object: *mut *mut gobject::GObject, |
14077 | cancellable: *mut GCancellable, |
14078 | error: *mut *mut glib::GError, |
14079 | ) -> *mut GSocket; |
14080 | pub unsafefn g_socket_listener_accept_socket_async( |
14081 | listener: *mut GSocketListener, |
14082 | cancellable: *mut GCancellable, |
14083 | callback: GAsyncReadyCallback, |
14084 | user_data: gpointer, |
14085 | ); |
14086 | pub unsafefn g_socket_listener_accept_socket_finish( |
14087 | listener: *mut GSocketListener, |
14088 | result: *mut GAsyncResult, |
14089 | source_object: *mut *mut gobject::GObject, |
14090 | error: *mut *mut glib::GError, |
14091 | ) -> *mut GSocket; |
14092 | pub unsafefn g_socket_listener_add_address( |
14093 | listener: *mut GSocketListener, |
14094 | address: *mut GSocketAddress, |
14095 | type_: GSocketType, |
14096 | protocol: GSocketProtocol, |
14097 | source_object: *mut gobject::GObject, |
14098 | effective_address: *mut *mut GSocketAddress, |
14099 | error: *mut *mut glib::GError, |
14100 | ) -> gboolean; |
14101 | pub unsafefn g_socket_listener_add_any_inet_port( |
14102 | listener: *mut GSocketListener, |
14103 | source_object: *mut gobject::GObject, |
14104 | error: *mut *mut glib::GError, |
14105 | ) -> u16; |
14106 | pub unsafefn g_socket_listener_add_inet_port( |
14107 | listener: *mut GSocketListener, |
14108 | port: u16, |
14109 | source_object: *mut gobject::GObject, |
14110 | error: *mut *mut glib::GError, |
14111 | ) -> gboolean; |
14112 | pub unsafefn g_socket_listener_add_socket( |
14113 | listener: *mut GSocketListener, |
14114 | socket: *mut GSocket, |
14115 | source_object: *mut gobject::GObject, |
14116 | error: *mut *mut glib::GError, |
14117 | ) -> gboolean; |
14118 | pub unsafefn g_socket_listener_close(listener: *mut GSocketListener); |
14119 | pub unsafefn g_socket_listener_set_backlog(listener: *mut GSocketListener, listen_backlog: c_int); |
14120 | |
14121 | //========================================================================= |
14122 | // GSocketService |
14123 | //========================================================================= |
14124 | pub unsafefn g_socket_service_get_type() -> GType; |
14125 | pub unsafefn g_socket_service_new() -> *mut GSocketService; |
14126 | pub unsafefn g_socket_service_is_active(service: *mut GSocketService) -> gboolean; |
14127 | pub unsafefn g_socket_service_start(service: *mut GSocketService); |
14128 | pub unsafefn g_socket_service_stop(service: *mut GSocketService); |
14129 | |
14130 | //========================================================================= |
14131 | // GSubprocess |
14132 | //========================================================================= |
14133 | pub unsafefn g_subprocess_get_type() -> GType; |
14134 | pub unsafefn g_subprocess_new( |
14135 | flags: GSubprocessFlags, |
14136 | error: *mut *mut glib::GError, |
14137 | argv0: *const c_char, |
14138 | ... |
14139 | ) -> *mut GSubprocess; |
14140 | pub unsafefn g_subprocess_newv( |
14141 | argv: *const *const c_char, |
14142 | flags: GSubprocessFlags, |
14143 | error: *mut *mut glib::GError, |
14144 | ) -> *mut GSubprocess; |
14145 | pub unsafefn g_subprocess_communicate( |
14146 | subprocess: *mut GSubprocess, |
14147 | stdin_buf: *mut glib::GBytes, |
14148 | cancellable: *mut GCancellable, |
14149 | stdout_buf: *mut *mut glib::GBytes, |
14150 | stderr_buf: *mut *mut glib::GBytes, |
14151 | error: *mut *mut glib::GError, |
14152 | ) -> gboolean; |
14153 | pub unsafefn g_subprocess_communicate_async( |
14154 | subprocess: *mut GSubprocess, |
14155 | stdin_buf: *mut glib::GBytes, |
14156 | cancellable: *mut GCancellable, |
14157 | callback: GAsyncReadyCallback, |
14158 | user_data: gpointer, |
14159 | ); |
14160 | pub unsafefn g_subprocess_communicate_finish( |
14161 | subprocess: *mut GSubprocess, |
14162 | result: *mut GAsyncResult, |
14163 | stdout_buf: *mut *mut glib::GBytes, |
14164 | stderr_buf: *mut *mut glib::GBytes, |
14165 | error: *mut *mut glib::GError, |
14166 | ) -> gboolean; |
14167 | pub unsafefn g_subprocess_communicate_utf8( |
14168 | subprocess: *mut GSubprocess, |
14169 | stdin_buf: *const c_char, |
14170 | cancellable: *mut GCancellable, |
14171 | stdout_buf: *mut *mut c_char, |
14172 | stderr_buf: *mut *mut c_char, |
14173 | error: *mut *mut glib::GError, |
14174 | ) -> gboolean; |
14175 | pub unsafefn g_subprocess_communicate_utf8_async( |
14176 | subprocess: *mut GSubprocess, |
14177 | stdin_buf: *const c_char, |
14178 | cancellable: *mut GCancellable, |
14179 | callback: GAsyncReadyCallback, |
14180 | user_data: gpointer, |
14181 | ); |
14182 | pub unsafefn g_subprocess_communicate_utf8_finish( |
14183 | subprocess: *mut GSubprocess, |
14184 | result: *mut GAsyncResult, |
14185 | stdout_buf: *mut *mut c_char, |
14186 | stderr_buf: *mut *mut c_char, |
14187 | error: *mut *mut glib::GError, |
14188 | ) -> gboolean; |
14189 | pub unsafefn g_subprocess_force_exit(subprocess: *mut GSubprocess); |
14190 | pub unsafefn g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> c_int; |
14191 | pub unsafefn g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const c_char; |
14192 | pub unsafefn g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean; |
14193 | pub unsafefn g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean; |
14194 | pub unsafefn g_subprocess_get_status(subprocess: *mut GSubprocess) -> c_int; |
14195 | pub unsafefn g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream; |
14196 | pub unsafefn g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream; |
14197 | pub unsafefn g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream; |
14198 | pub unsafefn g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean; |
14199 | pub unsafefn g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> c_int; |
14200 | pub unsafefn g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: c_int); |
14201 | pub unsafefn g_subprocess_wait( |
14202 | subprocess: *mut GSubprocess, |
14203 | cancellable: *mut GCancellable, |
14204 | error: *mut *mut glib::GError, |
14205 | ) -> gboolean; |
14206 | pub unsafefn g_subprocess_wait_async( |
14207 | subprocess: *mut GSubprocess, |
14208 | cancellable: *mut GCancellable, |
14209 | callback: GAsyncReadyCallback, |
14210 | user_data: gpointer, |
14211 | ); |
14212 | pub unsafefn g_subprocess_wait_check( |
14213 | subprocess: *mut GSubprocess, |
14214 | cancellable: *mut GCancellable, |
14215 | error: *mut *mut glib::GError, |
14216 | ) -> gboolean; |
14217 | pub unsafefn g_subprocess_wait_check_async( |
14218 | subprocess: *mut GSubprocess, |
14219 | cancellable: *mut GCancellable, |
14220 | callback: GAsyncReadyCallback, |
14221 | user_data: gpointer, |
14222 | ); |
14223 | pub unsafefn g_subprocess_wait_check_finish( |
14224 | subprocess: *mut GSubprocess, |
14225 | result: *mut GAsyncResult, |
14226 | error: *mut *mut glib::GError, |
14227 | ) -> gboolean; |
14228 | pub unsafefn g_subprocess_wait_finish( |
14229 | subprocess: *mut GSubprocess, |
14230 | result: *mut GAsyncResult, |
14231 | error: *mut *mut glib::GError, |
14232 | ) -> gboolean; |
14233 | |
14234 | //========================================================================= |
14235 | // GSubprocessLauncher |
14236 | //========================================================================= |
14237 | pub unsafefn g_subprocess_launcher_get_type() -> GType; |
14238 | pub unsafefn g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher; |
14239 | #[cfg (feature = "v2_68" )] |
14240 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
14241 | #[cfg (unix)] |
14242 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14243 | pub fn g_subprocess_launcher_close(self_: *mut GSubprocessLauncher); |
14244 | pub unsafefn g_subprocess_launcher_getenv( |
14245 | self_: *mut GSubprocessLauncher, |
14246 | variable: *const c_char, |
14247 | ) -> *const c_char; |
14248 | #[cfg (unix)] |
14249 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14250 | pub unsafefn g_subprocess_launcher_set_child_setup( |
14251 | self_: *mut GSubprocessLauncher, |
14252 | child_setup: glib::GSpawnChildSetupFunc, |
14253 | user_data: gpointer, |
14254 | destroy_notify: glib::GDestroyNotify, |
14255 | ); |
14256 | pub unsafefn g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const c_char); |
14257 | pub unsafefn g_subprocess_launcher_set_environ( |
14258 | self_: *mut GSubprocessLauncher, |
14259 | env: *mut *mut c_char, |
14260 | ); |
14261 | pub unsafefn g_subprocess_launcher_set_flags( |
14262 | self_: *mut GSubprocessLauncher, |
14263 | flags: GSubprocessFlags, |
14264 | ); |
14265 | #[cfg (unix)] |
14266 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14267 | pub unsafefn g_subprocess_launcher_set_stderr_file_path( |
14268 | self_: *mut GSubprocessLauncher, |
14269 | path: *const c_char, |
14270 | ); |
14271 | #[cfg (unix)] |
14272 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14273 | pub unsafefn g_subprocess_launcher_set_stdin_file_path( |
14274 | self_: *mut GSubprocessLauncher, |
14275 | path: *const c_char, |
14276 | ); |
14277 | #[cfg (unix)] |
14278 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14279 | pub unsafefn g_subprocess_launcher_set_stdout_file_path( |
14280 | self_: *mut GSubprocessLauncher, |
14281 | path: *const c_char, |
14282 | ); |
14283 | pub unsafefn g_subprocess_launcher_setenv( |
14284 | self_: *mut GSubprocessLauncher, |
14285 | variable: *const c_char, |
14286 | value: *const c_char, |
14287 | overwrite: gboolean, |
14288 | ); |
14289 | pub unsafefn g_subprocess_launcher_spawn( |
14290 | self_: *mut GSubprocessLauncher, |
14291 | error: *mut *mut glib::GError, |
14292 | argv0: *const c_char, |
14293 | ... |
14294 | ) -> *mut GSubprocess; |
14295 | pub unsafefn g_subprocess_launcher_spawnv( |
14296 | self_: *mut GSubprocessLauncher, |
14297 | argv: *const *const c_char, |
14298 | error: *mut *mut glib::GError, |
14299 | ) -> *mut GSubprocess; |
14300 | #[cfg (unix)] |
14301 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14302 | pub unsafefn g_subprocess_launcher_take_fd( |
14303 | self_: *mut GSubprocessLauncher, |
14304 | source_fd: c_int, |
14305 | target_fd: c_int, |
14306 | ); |
14307 | #[cfg (unix)] |
14308 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14309 | pub unsafefn g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: c_int); |
14310 | #[cfg (unix)] |
14311 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14312 | pub unsafefn g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: c_int); |
14313 | #[cfg (unix)] |
14314 | #[cfg_attr (docsrs, doc(cfg(unix)))] |
14315 | pub unsafefn g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: c_int); |
14316 | pub unsafefn g_subprocess_launcher_unsetenv(self_: *mut GSubprocessLauncher, variable: *const c_char); |
14317 | |
14318 | //========================================================================= |
14319 | // GTask |
14320 | //========================================================================= |
14321 | pub unsafefn g_task_get_type() -> GType; |
14322 | pub unsafefn g_task_new( |
14323 | source_object: *mut gobject::GObject, |
14324 | cancellable: *mut GCancellable, |
14325 | callback: GAsyncReadyCallback, |
14326 | callback_data: gpointer, |
14327 | ) -> *mut GTask; |
14328 | pub unsafefn g_task_is_valid( |
14329 | result: *mut GAsyncResult, |
14330 | source_object: *mut gobject::GObject, |
14331 | ) -> gboolean; |
14332 | pub unsafefn g_task_report_error( |
14333 | source_object: *mut gobject::GObject, |
14334 | callback: GAsyncReadyCallback, |
14335 | callback_data: gpointer, |
14336 | source_tag: gpointer, |
14337 | error: *mut glib::GError, |
14338 | ); |
14339 | pub unsafefn g_task_report_new_error( |
14340 | source_object: *mut gobject::GObject, |
14341 | callback: GAsyncReadyCallback, |
14342 | callback_data: gpointer, |
14343 | source_tag: gpointer, |
14344 | domain: glib::GQuark, |
14345 | code: c_int, |
14346 | format: *const c_char, |
14347 | ... |
14348 | ); |
14349 | pub unsafefn g_task_attach_source( |
14350 | task: *mut GTask, |
14351 | source: *mut glib::GSource, |
14352 | callback: glib::GSourceFunc, |
14353 | ); |
14354 | pub unsafefn g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable; |
14355 | pub unsafefn g_task_get_check_cancellable(task: *mut GTask) -> gboolean; |
14356 | pub unsafefn g_task_get_completed(task: *mut GTask) -> gboolean; |
14357 | pub unsafefn g_task_get_context(task: *mut GTask) -> *mut glib::GMainContext; |
14358 | #[cfg (feature = "v2_60" )] |
14359 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
14360 | pub fn g_task_get_name(task: *mut GTask) -> *const c_char; |
14361 | pub unsafefn g_task_get_priority(task: *mut GTask) -> c_int; |
14362 | pub unsafefn g_task_get_return_on_cancel(task: *mut GTask) -> gboolean; |
14363 | pub unsafefn g_task_get_source_object(task: *mut GTask) -> *mut gobject::GObject; |
14364 | pub unsafefn g_task_get_source_tag(task: *mut GTask) -> gpointer; |
14365 | pub unsafefn g_task_get_task_data(task: *mut GTask) -> gpointer; |
14366 | pub unsafefn g_task_had_error(task: *mut GTask) -> gboolean; |
14367 | pub unsafefn g_task_propagate_boolean(task: *mut GTask, error: *mut *mut glib::GError) -> gboolean; |
14368 | pub unsafefn g_task_propagate_int(task: *mut GTask, error: *mut *mut glib::GError) -> ssize_t; |
14369 | pub unsafefn g_task_propagate_pointer(task: *mut GTask, error: *mut *mut glib::GError) -> gpointer; |
14370 | #[cfg (feature = "v2_64" )] |
14371 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
14372 | pub fn g_task_propagate_value( |
14373 | task: *mut GTask, |
14374 | value: *mut gobject::GValue, |
14375 | error: *mut *mut glib::GError, |
14376 | ) -> gboolean; |
14377 | pub unsafefn g_task_return_boolean(task: *mut GTask, result: gboolean); |
14378 | pub unsafefn g_task_return_error(task: *mut GTask, error: *mut glib::GError); |
14379 | pub unsafefn g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean; |
14380 | pub unsafefn g_task_return_int(task: *mut GTask, result: ssize_t); |
14381 | pub unsafefn g_task_return_new_error( |
14382 | task: *mut GTask, |
14383 | domain: glib::GQuark, |
14384 | code: c_int, |
14385 | format: *const c_char, |
14386 | ... |
14387 | ); |
14388 | #[cfg (feature = "v2_80" )] |
14389 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
14390 | pub fn g_task_return_new_error_literal( |
14391 | task: *mut GTask, |
14392 | domain: glib::GQuark, |
14393 | code: c_int, |
14394 | message: *const c_char, |
14395 | ); |
14396 | pub unsafefn g_task_return_pointer( |
14397 | task: *mut GTask, |
14398 | result: gpointer, |
14399 | result_destroy: glib::GDestroyNotify, |
14400 | ); |
14401 | #[cfg (feature = "v2_80" )] |
14402 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_80" )))] |
14403 | pub fn g_task_return_prefixed_error( |
14404 | task: *mut GTask, |
14405 | error: *mut glib::GError, |
14406 | format: *const c_char, |
14407 | ... |
14408 | ); |
14409 | #[cfg (feature = "v2_64" )] |
14410 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
14411 | pub fn g_task_return_value(task: *mut GTask, result: *mut gobject::GValue); |
14412 | pub unsafefn g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc); |
14413 | pub unsafefn g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc); |
14414 | pub unsafefn g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean); |
14415 | #[cfg (feature = "v2_60" )] |
14416 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
14417 | pub fn g_task_set_name(task: *mut GTask, name: *const c_char); |
14418 | pub unsafefn g_task_set_priority(task: *mut GTask, priority: c_int); |
14419 | pub unsafefn g_task_set_return_on_cancel(task: *mut GTask, return_on_cancel: gboolean) -> gboolean; |
14420 | pub unsafefn g_task_set_source_tag(task: *mut GTask, source_tag: gpointer); |
14421 | #[cfg (feature = "v2_76" )] |
14422 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_76" )))] |
14423 | pub fn g_task_set_static_name(task: *mut GTask, name: *const c_char); |
14424 | pub unsafefn g_task_set_task_data( |
14425 | task: *mut GTask, |
14426 | task_data: gpointer, |
14427 | task_data_destroy: glib::GDestroyNotify, |
14428 | ); |
14429 | |
14430 | //========================================================================= |
14431 | // GTcpConnection |
14432 | //========================================================================= |
14433 | pub unsafefn g_tcp_connection_get_type() -> GType; |
14434 | pub unsafefn g_tcp_connection_get_graceful_disconnect(connection: *mut GTcpConnection) -> gboolean; |
14435 | pub unsafefn g_tcp_connection_set_graceful_disconnect( |
14436 | connection: *mut GTcpConnection, |
14437 | graceful_disconnect: gboolean, |
14438 | ); |
14439 | |
14440 | //========================================================================= |
14441 | // GTcpWrapperConnection |
14442 | //========================================================================= |
14443 | pub unsafefn g_tcp_wrapper_connection_get_type() -> GType; |
14444 | pub unsafefn g_tcp_wrapper_connection_new( |
14445 | base_io_stream: *mut GIOStream, |
14446 | socket: *mut GSocket, |
14447 | ) -> *mut GSocketConnection; |
14448 | pub unsafefn g_tcp_wrapper_connection_get_base_io_stream( |
14449 | conn: *mut GTcpWrapperConnection, |
14450 | ) -> *mut GIOStream; |
14451 | |
14452 | //========================================================================= |
14453 | // GTestDBus |
14454 | //========================================================================= |
14455 | pub unsafefn g_test_dbus_get_type() -> GType; |
14456 | pub unsafefn g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus; |
14457 | pub unsafefn g_test_dbus_unset(); |
14458 | pub unsafefn g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const c_char); |
14459 | pub unsafefn g_test_dbus_down(self_: *mut GTestDBus); |
14460 | pub unsafefn g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const c_char; |
14461 | pub unsafefn g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags; |
14462 | pub unsafefn g_test_dbus_stop(self_: *mut GTestDBus); |
14463 | pub unsafefn g_test_dbus_up(self_: *mut GTestDBus); |
14464 | |
14465 | //========================================================================= |
14466 | // GThemedIcon |
14467 | //========================================================================= |
14468 | pub unsafefn g_themed_icon_get_type() -> GType; |
14469 | pub unsafefn g_themed_icon_new(iconname: *const c_char) -> *mut GThemedIcon; |
14470 | pub unsafefn g_themed_icon_new_from_names( |
14471 | iconnames: *mut *mut c_char, |
14472 | len: c_int, |
14473 | ) -> *mut GThemedIcon; |
14474 | pub unsafefn g_themed_icon_new_with_default_fallbacks(iconname: *const c_char) -> *mut GThemedIcon; |
14475 | pub unsafefn g_themed_icon_append_name(icon: *mut GThemedIcon, iconname: *const c_char); |
14476 | pub unsafefn g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const c_char; |
14477 | pub unsafefn g_themed_icon_prepend_name(icon: *mut GThemedIcon, iconname: *const c_char); |
14478 | |
14479 | //========================================================================= |
14480 | // GThreadedResolver |
14481 | //========================================================================= |
14482 | pub unsafefn g_threaded_resolver_get_type() -> GType; |
14483 | |
14484 | //========================================================================= |
14485 | // GThreadedSocketService |
14486 | //========================================================================= |
14487 | pub unsafefn g_threaded_socket_service_get_type() -> GType; |
14488 | pub unsafefn g_threaded_socket_service_new(max_threads: c_int) -> *mut GSocketService; |
14489 | |
14490 | //========================================================================= |
14491 | // GTlsCertificate |
14492 | //========================================================================= |
14493 | pub unsafefn g_tls_certificate_get_type() -> GType; |
14494 | pub unsafefn g_tls_certificate_new_from_file( |
14495 | file: *const c_char, |
14496 | error: *mut *mut glib::GError, |
14497 | ) -> *mut GTlsCertificate; |
14498 | #[cfg (feature = "v2_72" )] |
14499 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
14500 | pub fn g_tls_certificate_new_from_file_with_password( |
14501 | file: *const c_char, |
14502 | password: *const c_char, |
14503 | error: *mut *mut glib::GError, |
14504 | ) -> *mut GTlsCertificate; |
14505 | pub unsafefn g_tls_certificate_new_from_files( |
14506 | cert_file: *const c_char, |
14507 | key_file: *const c_char, |
14508 | error: *mut *mut glib::GError, |
14509 | ) -> *mut GTlsCertificate; |
14510 | pub unsafefn g_tls_certificate_new_from_pem( |
14511 | data: *const c_char, |
14512 | length: ssize_t, |
14513 | error: *mut *mut glib::GError, |
14514 | ) -> *mut GTlsCertificate; |
14515 | #[cfg (feature = "v2_68" )] |
14516 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
14517 | pub fn g_tls_certificate_new_from_pkcs11_uris( |
14518 | pkcs11_uri: *const c_char, |
14519 | private_key_pkcs11_uri: *const c_char, |
14520 | error: *mut *mut glib::GError, |
14521 | ) -> *mut GTlsCertificate; |
14522 | #[cfg (feature = "v2_72" )] |
14523 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
14524 | pub fn g_tls_certificate_new_from_pkcs12( |
14525 | data: *const u8, |
14526 | length: size_t, |
14527 | password: *const c_char, |
14528 | error: *mut *mut glib::GError, |
14529 | ) -> *mut GTlsCertificate; |
14530 | pub unsafefn g_tls_certificate_list_new_from_file( |
14531 | file: *const c_char, |
14532 | error: *mut *mut glib::GError, |
14533 | ) -> *mut glib::GList; |
14534 | #[cfg (feature = "v2_70" )] |
14535 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14536 | pub fn g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray; |
14537 | #[cfg (feature = "v2_70" )] |
14538 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14539 | pub fn g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut glib::GPtrArray; |
14540 | pub unsafefn g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate; |
14541 | #[cfg (feature = "v2_70" )] |
14542 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14543 | pub fn g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut c_char; |
14544 | #[cfg (feature = "v2_70" )] |
14545 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14546 | pub fn g_tls_certificate_get_not_valid_after( |
14547 | cert: *mut GTlsCertificate, |
14548 | ) -> *mut glib::GDateTime; |
14549 | #[cfg (feature = "v2_70" )] |
14550 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14551 | pub fn g_tls_certificate_get_not_valid_before( |
14552 | cert: *mut GTlsCertificate, |
14553 | ) -> *mut glib::GDateTime; |
14554 | #[cfg (feature = "v2_70" )] |
14555 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14556 | pub fn g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut c_char; |
14557 | pub unsafefn g_tls_certificate_is_same( |
14558 | cert_one: *mut GTlsCertificate, |
14559 | cert_two: *mut GTlsCertificate, |
14560 | ) -> gboolean; |
14561 | pub unsafefn g_tls_certificate_verify( |
14562 | cert: *mut GTlsCertificate, |
14563 | identity: *mut GSocketConnectable, |
14564 | trusted_ca: *mut GTlsCertificate, |
14565 | ) -> GTlsCertificateFlags; |
14566 | |
14567 | //========================================================================= |
14568 | // GTlsConnection |
14569 | //========================================================================= |
14570 | pub unsafefn g_tls_connection_get_type() -> GType; |
14571 | pub unsafefn g_tls_connection_emit_accept_certificate( |
14572 | conn: *mut GTlsConnection, |
14573 | peer_cert: *mut GTlsCertificate, |
14574 | errors: GTlsCertificateFlags, |
14575 | ) -> gboolean; |
14576 | pub unsafefn g_tls_connection_get_certificate(conn: *mut GTlsConnection) -> *mut GTlsCertificate; |
14577 | #[cfg (feature = "v2_66" )] |
14578 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
14579 | pub fn g_tls_connection_get_channel_binding_data( |
14580 | conn: *mut GTlsConnection, |
14581 | type_: GTlsChannelBindingType, |
14582 | data: *mut glib::GByteArray, |
14583 | error: *mut *mut glib::GError, |
14584 | ) -> gboolean; |
14585 | #[cfg (feature = "v2_70" )] |
14586 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14587 | pub fn g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut c_char; |
14588 | pub unsafefn g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase; |
14589 | pub unsafefn g_tls_connection_get_interaction(conn: *mut GTlsConnection) -> *mut GTlsInteraction; |
14590 | #[cfg (feature = "v2_60" )] |
14591 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
14592 | pub fn g_tls_connection_get_negotiated_protocol(conn: *mut GTlsConnection) -> *const c_char; |
14593 | pub unsafefn g_tls_connection_get_peer_certificate(conn: *mut GTlsConnection) |
14594 | -> *mut GTlsCertificate; |
14595 | pub unsafefn g_tls_connection_get_peer_certificate_errors( |
14596 | conn: *mut GTlsConnection, |
14597 | ) -> GTlsCertificateFlags; |
14598 | #[cfg (feature = "v2_70" )] |
14599 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
14600 | pub fn g_tls_connection_get_protocol_version(conn: *mut GTlsConnection) -> GTlsProtocolVersion; |
14601 | pub unsafefn g_tls_connection_get_rehandshake_mode(conn: *mut GTlsConnection) -> GTlsRehandshakeMode; |
14602 | pub unsafefn g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean; |
14603 | pub unsafefn g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean; |
14604 | pub unsafefn g_tls_connection_handshake( |
14605 | conn: *mut GTlsConnection, |
14606 | cancellable: *mut GCancellable, |
14607 | error: *mut *mut glib::GError, |
14608 | ) -> gboolean; |
14609 | pub unsafefn g_tls_connection_handshake_async( |
14610 | conn: *mut GTlsConnection, |
14611 | io_priority: c_int, |
14612 | cancellable: *mut GCancellable, |
14613 | callback: GAsyncReadyCallback, |
14614 | user_data: gpointer, |
14615 | ); |
14616 | pub unsafefn g_tls_connection_handshake_finish( |
14617 | conn: *mut GTlsConnection, |
14618 | result: *mut GAsyncResult, |
14619 | error: *mut *mut glib::GError, |
14620 | ) -> gboolean; |
14621 | #[cfg (feature = "v2_60" )] |
14622 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
14623 | pub fn g_tls_connection_set_advertised_protocols( |
14624 | conn: *mut GTlsConnection, |
14625 | protocols: *const *const c_char, |
14626 | ); |
14627 | pub unsafefn g_tls_connection_set_certificate( |
14628 | conn: *mut GTlsConnection, |
14629 | certificate: *mut GTlsCertificate, |
14630 | ); |
14631 | pub unsafefn g_tls_connection_set_database(conn: *mut GTlsConnection, database: *mut GTlsDatabase); |
14632 | pub unsafefn g_tls_connection_set_interaction( |
14633 | conn: *mut GTlsConnection, |
14634 | interaction: *mut GTlsInteraction, |
14635 | ); |
14636 | pub unsafefn g_tls_connection_set_rehandshake_mode( |
14637 | conn: *mut GTlsConnection, |
14638 | mode: GTlsRehandshakeMode, |
14639 | ); |
14640 | pub unsafefn g_tls_connection_set_require_close_notify( |
14641 | conn: *mut GTlsConnection, |
14642 | require_close_notify: gboolean, |
14643 | ); |
14644 | pub unsafefn g_tls_connection_set_use_system_certdb( |
14645 | conn: *mut GTlsConnection, |
14646 | use_system_certdb: gboolean, |
14647 | ); |
14648 | |
14649 | //========================================================================= |
14650 | // GTlsDatabase |
14651 | //========================================================================= |
14652 | pub unsafefn g_tls_database_get_type() -> GType; |
14653 | pub unsafefn g_tls_database_create_certificate_handle( |
14654 | self_: *mut GTlsDatabase, |
14655 | certificate: *mut GTlsCertificate, |
14656 | ) -> *mut c_char; |
14657 | pub unsafefn g_tls_database_lookup_certificate_for_handle( |
14658 | self_: *mut GTlsDatabase, |
14659 | handle: *const c_char, |
14660 | interaction: *mut GTlsInteraction, |
14661 | flags: GTlsDatabaseLookupFlags, |
14662 | cancellable: *mut GCancellable, |
14663 | error: *mut *mut glib::GError, |
14664 | ) -> *mut GTlsCertificate; |
14665 | pub unsafefn g_tls_database_lookup_certificate_for_handle_async( |
14666 | self_: *mut GTlsDatabase, |
14667 | handle: *const c_char, |
14668 | interaction: *mut GTlsInteraction, |
14669 | flags: GTlsDatabaseLookupFlags, |
14670 | cancellable: *mut GCancellable, |
14671 | callback: GAsyncReadyCallback, |
14672 | user_data: gpointer, |
14673 | ); |
14674 | pub unsafefn g_tls_database_lookup_certificate_for_handle_finish( |
14675 | self_: *mut GTlsDatabase, |
14676 | result: *mut GAsyncResult, |
14677 | error: *mut *mut glib::GError, |
14678 | ) -> *mut GTlsCertificate; |
14679 | pub unsafefn g_tls_database_lookup_certificate_issuer( |
14680 | self_: *mut GTlsDatabase, |
14681 | certificate: *mut GTlsCertificate, |
14682 | interaction: *mut GTlsInteraction, |
14683 | flags: GTlsDatabaseLookupFlags, |
14684 | cancellable: *mut GCancellable, |
14685 | error: *mut *mut glib::GError, |
14686 | ) -> *mut GTlsCertificate; |
14687 | pub unsafefn g_tls_database_lookup_certificate_issuer_async( |
14688 | self_: *mut GTlsDatabase, |
14689 | certificate: *mut GTlsCertificate, |
14690 | interaction: *mut GTlsInteraction, |
14691 | flags: GTlsDatabaseLookupFlags, |
14692 | cancellable: *mut GCancellable, |
14693 | callback: GAsyncReadyCallback, |
14694 | user_data: gpointer, |
14695 | ); |
14696 | pub unsafefn g_tls_database_lookup_certificate_issuer_finish( |
14697 | self_: *mut GTlsDatabase, |
14698 | result: *mut GAsyncResult, |
14699 | error: *mut *mut glib::GError, |
14700 | ) -> *mut GTlsCertificate; |
14701 | pub unsafefn g_tls_database_lookup_certificates_issued_by( |
14702 | self_: *mut GTlsDatabase, |
14703 | issuer_raw_dn: *mut glib::GByteArray, |
14704 | interaction: *mut GTlsInteraction, |
14705 | flags: GTlsDatabaseLookupFlags, |
14706 | cancellable: *mut GCancellable, |
14707 | error: *mut *mut glib::GError, |
14708 | ) -> *mut glib::GList; |
14709 | pub unsafefn g_tls_database_lookup_certificates_issued_by_async( |
14710 | self_: *mut GTlsDatabase, |
14711 | issuer_raw_dn: *mut glib::GByteArray, |
14712 | interaction: *mut GTlsInteraction, |
14713 | flags: GTlsDatabaseLookupFlags, |
14714 | cancellable: *mut GCancellable, |
14715 | callback: GAsyncReadyCallback, |
14716 | user_data: gpointer, |
14717 | ); |
14718 | pub unsafefn g_tls_database_lookup_certificates_issued_by_finish( |
14719 | self_: *mut GTlsDatabase, |
14720 | result: *mut GAsyncResult, |
14721 | error: *mut *mut glib::GError, |
14722 | ) -> *mut glib::GList; |
14723 | pub unsafefn g_tls_database_verify_chain( |
14724 | self_: *mut GTlsDatabase, |
14725 | chain: *mut GTlsCertificate, |
14726 | purpose: *const c_char, |
14727 | identity: *mut GSocketConnectable, |
14728 | interaction: *mut GTlsInteraction, |
14729 | flags: GTlsDatabaseVerifyFlags, |
14730 | cancellable: *mut GCancellable, |
14731 | error: *mut *mut glib::GError, |
14732 | ) -> GTlsCertificateFlags; |
14733 | pub unsafefn g_tls_database_verify_chain_async( |
14734 | self_: *mut GTlsDatabase, |
14735 | chain: *mut GTlsCertificate, |
14736 | purpose: *const c_char, |
14737 | identity: *mut GSocketConnectable, |
14738 | interaction: *mut GTlsInteraction, |
14739 | flags: GTlsDatabaseVerifyFlags, |
14740 | cancellable: *mut GCancellable, |
14741 | callback: GAsyncReadyCallback, |
14742 | user_data: gpointer, |
14743 | ); |
14744 | pub unsafefn g_tls_database_verify_chain_finish( |
14745 | self_: *mut GTlsDatabase, |
14746 | result: *mut GAsyncResult, |
14747 | error: *mut *mut glib::GError, |
14748 | ) -> GTlsCertificateFlags; |
14749 | |
14750 | //========================================================================= |
14751 | // GTlsInteraction |
14752 | //========================================================================= |
14753 | pub unsafefn g_tls_interaction_get_type() -> GType; |
14754 | pub unsafefn g_tls_interaction_ask_password( |
14755 | interaction: *mut GTlsInteraction, |
14756 | password: *mut GTlsPassword, |
14757 | cancellable: *mut GCancellable, |
14758 | error: *mut *mut glib::GError, |
14759 | ) -> GTlsInteractionResult; |
14760 | pub unsafefn g_tls_interaction_ask_password_async( |
14761 | interaction: *mut GTlsInteraction, |
14762 | password: *mut GTlsPassword, |
14763 | cancellable: *mut GCancellable, |
14764 | callback: GAsyncReadyCallback, |
14765 | user_data: gpointer, |
14766 | ); |
14767 | pub unsafefn g_tls_interaction_ask_password_finish( |
14768 | interaction: *mut GTlsInteraction, |
14769 | result: *mut GAsyncResult, |
14770 | error: *mut *mut glib::GError, |
14771 | ) -> GTlsInteractionResult; |
14772 | pub unsafefn g_tls_interaction_invoke_ask_password( |
14773 | interaction: *mut GTlsInteraction, |
14774 | password: *mut GTlsPassword, |
14775 | cancellable: *mut GCancellable, |
14776 | error: *mut *mut glib::GError, |
14777 | ) -> GTlsInteractionResult; |
14778 | pub unsafefn g_tls_interaction_invoke_request_certificate( |
14779 | interaction: *mut GTlsInteraction, |
14780 | connection: *mut GTlsConnection, |
14781 | flags: GTlsCertificateRequestFlags, |
14782 | cancellable: *mut GCancellable, |
14783 | error: *mut *mut glib::GError, |
14784 | ) -> GTlsInteractionResult; |
14785 | pub unsafefn g_tls_interaction_request_certificate( |
14786 | interaction: *mut GTlsInteraction, |
14787 | connection: *mut GTlsConnection, |
14788 | flags: GTlsCertificateRequestFlags, |
14789 | cancellable: *mut GCancellable, |
14790 | error: *mut *mut glib::GError, |
14791 | ) -> GTlsInteractionResult; |
14792 | pub unsafefn g_tls_interaction_request_certificate_async( |
14793 | interaction: *mut GTlsInteraction, |
14794 | connection: *mut GTlsConnection, |
14795 | flags: GTlsCertificateRequestFlags, |
14796 | cancellable: *mut GCancellable, |
14797 | callback: GAsyncReadyCallback, |
14798 | user_data: gpointer, |
14799 | ); |
14800 | pub unsafefn g_tls_interaction_request_certificate_finish( |
14801 | interaction: *mut GTlsInteraction, |
14802 | result: *mut GAsyncResult, |
14803 | error: *mut *mut glib::GError, |
14804 | ) -> GTlsInteractionResult; |
14805 | |
14806 | //========================================================================= |
14807 | // GTlsPassword |
14808 | //========================================================================= |
14809 | pub unsafefn g_tls_password_get_type() -> GType; |
14810 | pub unsafefn g_tls_password_new( |
14811 | flags: GTlsPasswordFlags, |
14812 | description: *const c_char, |
14813 | ) -> *mut GTlsPassword; |
14814 | pub unsafefn g_tls_password_get_description(password: *mut GTlsPassword) -> *const c_char; |
14815 | pub unsafefn g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags; |
14816 | pub unsafefn g_tls_password_get_value(password: *mut GTlsPassword, length: *mut size_t) -> *const u8; |
14817 | pub unsafefn g_tls_password_get_warning(password: *mut GTlsPassword) -> *const c_char; |
14818 | pub unsafefn g_tls_password_set_description(password: *mut GTlsPassword, description: *const c_char); |
14819 | pub unsafefn g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags); |
14820 | pub unsafefn g_tls_password_set_value(password: *mut GTlsPassword, value: *const u8, length: ssize_t); |
14821 | pub unsafefn g_tls_password_set_value_full( |
14822 | password: *mut GTlsPassword, |
14823 | value: *mut u8, |
14824 | length: ssize_t, |
14825 | destroy: glib::GDestroyNotify, |
14826 | ); |
14827 | pub unsafefn g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const c_char); |
14828 | |
14829 | //========================================================================= |
14830 | // GUnixConnection |
14831 | //========================================================================= |
14832 | pub unsafefn g_unix_connection_get_type() -> GType; |
14833 | pub unsafefn g_unix_connection_receive_credentials( |
14834 | connection: *mut GUnixConnection, |
14835 | cancellable: *mut GCancellable, |
14836 | error: *mut *mut glib::GError, |
14837 | ) -> *mut GCredentials; |
14838 | pub unsafefn g_unix_connection_receive_credentials_async( |
14839 | connection: *mut GUnixConnection, |
14840 | cancellable: *mut GCancellable, |
14841 | callback: GAsyncReadyCallback, |
14842 | user_data: gpointer, |
14843 | ); |
14844 | pub unsafefn g_unix_connection_receive_credentials_finish( |
14845 | connection: *mut GUnixConnection, |
14846 | result: *mut GAsyncResult, |
14847 | error: *mut *mut glib::GError, |
14848 | ) -> *mut GCredentials; |
14849 | pub unsafefn g_unix_connection_receive_fd( |
14850 | connection: *mut GUnixConnection, |
14851 | cancellable: *mut GCancellable, |
14852 | error: *mut *mut glib::GError, |
14853 | ) -> c_int; |
14854 | pub unsafefn g_unix_connection_send_credentials( |
14855 | connection: *mut GUnixConnection, |
14856 | cancellable: *mut GCancellable, |
14857 | error: *mut *mut glib::GError, |
14858 | ) -> gboolean; |
14859 | pub unsafefn g_unix_connection_send_credentials_async( |
14860 | connection: *mut GUnixConnection, |
14861 | cancellable: *mut GCancellable, |
14862 | callback: GAsyncReadyCallback, |
14863 | user_data: gpointer, |
14864 | ); |
14865 | pub unsafefn g_unix_connection_send_credentials_finish( |
14866 | connection: *mut GUnixConnection, |
14867 | result: *mut GAsyncResult, |
14868 | error: *mut *mut glib::GError, |
14869 | ) -> gboolean; |
14870 | pub unsafefn g_unix_connection_send_fd( |
14871 | connection: *mut GUnixConnection, |
14872 | fd: c_int, |
14873 | cancellable: *mut GCancellable, |
14874 | error: *mut *mut glib::GError, |
14875 | ) -> gboolean; |
14876 | |
14877 | //========================================================================= |
14878 | // GUnixCredentialsMessage |
14879 | //========================================================================= |
14880 | pub unsafefn g_unix_credentials_message_get_type() -> GType; |
14881 | pub unsafefn g_unix_credentials_message_new() -> *mut GSocketControlMessage; |
14882 | pub unsafefn g_unix_credentials_message_new_with_credentials( |
14883 | credentials: *mut GCredentials, |
14884 | ) -> *mut GSocketControlMessage; |
14885 | pub unsafefn g_unix_credentials_message_is_supported() -> gboolean; |
14886 | pub unsafefn g_unix_credentials_message_get_credentials( |
14887 | message: *mut GUnixCredentialsMessage, |
14888 | ) -> *mut GCredentials; |
14889 | |
14890 | //========================================================================= |
14891 | // GUnixFDList |
14892 | //========================================================================= |
14893 | pub unsafefn g_unix_fd_list_get_type() -> GType; |
14894 | pub unsafefn g_unix_fd_list_new() -> *mut GUnixFDList; |
14895 | pub unsafefn g_unix_fd_list_new_from_array(fds: *const c_int, n_fds: c_int) -> *mut GUnixFDList; |
14896 | pub unsafefn g_unix_fd_list_append( |
14897 | list: *mut GUnixFDList, |
14898 | fd: c_int, |
14899 | error: *mut *mut glib::GError, |
14900 | ) -> c_int; |
14901 | pub unsafefn g_unix_fd_list_get( |
14902 | list: *mut GUnixFDList, |
14903 | index_: c_int, |
14904 | error: *mut *mut glib::GError, |
14905 | ) -> c_int; |
14906 | pub unsafefn g_unix_fd_list_get_length(list: *mut GUnixFDList) -> c_int; |
14907 | pub unsafefn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int; |
14908 | pub unsafefn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int; |
14909 | |
14910 | //========================================================================= |
14911 | // GUnixFDMessage |
14912 | //========================================================================= |
14913 | pub unsafefn g_unix_fd_message_get_type() -> GType; |
14914 | pub unsafefn g_unix_fd_message_new() -> *mut GSocketControlMessage; |
14915 | pub unsafefn g_unix_fd_message_new_with_fd_list( |
14916 | fd_list: *mut GUnixFDList, |
14917 | ) -> *mut GSocketControlMessage; |
14918 | pub unsafefn g_unix_fd_message_append_fd( |
14919 | message: *mut GUnixFDMessage, |
14920 | fd: c_int, |
14921 | error: *mut *mut glib::GError, |
14922 | ) -> gboolean; |
14923 | pub unsafefn g_unix_fd_message_get_fd_list(message: *mut GUnixFDMessage) -> *mut GUnixFDList; |
14924 | pub unsafefn g_unix_fd_message_steal_fds( |
14925 | message: *mut GUnixFDMessage, |
14926 | length: *mut c_int, |
14927 | ) -> *mut c_int; |
14928 | |
14929 | //========================================================================= |
14930 | // GUnixInputStream |
14931 | //========================================================================= |
14932 | pub unsafefn g_unix_input_stream_get_type() -> GType; |
14933 | pub unsafefn g_unix_input_stream_new(fd: c_int, close_fd: gboolean) -> *mut GInputStream; |
14934 | pub unsafefn g_unix_input_stream_get_close_fd(stream: *mut GUnixInputStream) -> gboolean; |
14935 | pub unsafefn g_unix_input_stream_get_fd(stream: *mut GUnixInputStream) -> c_int; |
14936 | pub unsafefn g_unix_input_stream_set_close_fd(stream: *mut GUnixInputStream, close_fd: gboolean); |
14937 | |
14938 | //========================================================================= |
14939 | // GUnixMountMonitor |
14940 | //========================================================================= |
14941 | pub unsafefn g_unix_mount_monitor_get_type() -> GType; |
14942 | pub unsafefn g_unix_mount_monitor_new() -> *mut GUnixMountMonitor; |
14943 | pub unsafefn g_unix_mount_monitor_get() -> *mut GUnixMountMonitor; |
14944 | pub unsafefn g_unix_mount_monitor_set_rate_limit( |
14945 | mount_monitor: *mut GUnixMountMonitor, |
14946 | limit_msec: c_int, |
14947 | ); |
14948 | |
14949 | //========================================================================= |
14950 | // GUnixOutputStream |
14951 | //========================================================================= |
14952 | pub unsafefn g_unix_output_stream_get_type() -> GType; |
14953 | pub unsafefn g_unix_output_stream_new(fd: c_int, close_fd: gboolean) -> *mut GOutputStream; |
14954 | pub unsafefn g_unix_output_stream_get_close_fd(stream: *mut GUnixOutputStream) -> gboolean; |
14955 | pub unsafefn g_unix_output_stream_get_fd(stream: *mut GUnixOutputStream) -> c_int; |
14956 | pub unsafefn g_unix_output_stream_set_close_fd(stream: *mut GUnixOutputStream, close_fd: gboolean); |
14957 | |
14958 | //========================================================================= |
14959 | // GUnixSocketAddress |
14960 | //========================================================================= |
14961 | pub unsafefn g_unix_socket_address_get_type() -> GType; |
14962 | pub unsafefn g_unix_socket_address_new(path: *const c_char) -> *mut GSocketAddress; |
14963 | pub unsafefn g_unix_socket_address_new_abstract( |
14964 | path: *const c_char, |
14965 | path_len: c_int, |
14966 | ) -> *mut GSocketAddress; |
14967 | pub unsafefn g_unix_socket_address_new_with_type( |
14968 | path: *const c_char, |
14969 | path_len: c_int, |
14970 | type_: GUnixSocketAddressType, |
14971 | ) -> *mut GSocketAddress; |
14972 | pub unsafefn g_unix_socket_address_abstract_names_supported() -> gboolean; |
14973 | pub unsafefn g_unix_socket_address_get_address_type( |
14974 | address: *mut GUnixSocketAddress, |
14975 | ) -> GUnixSocketAddressType; |
14976 | pub unsafefn g_unix_socket_address_get_is_abstract(address: *mut GUnixSocketAddress) -> gboolean; |
14977 | pub unsafefn g_unix_socket_address_get_path(address: *mut GUnixSocketAddress) -> *const c_char; |
14978 | pub unsafefn g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> size_t; |
14979 | |
14980 | //========================================================================= |
14981 | // GVfs |
14982 | //========================================================================= |
14983 | pub unsafefn g_vfs_get_type() -> GType; |
14984 | pub unsafefn g_vfs_get_default() -> *mut GVfs; |
14985 | pub unsafefn g_vfs_get_local() -> *mut GVfs; |
14986 | pub unsafefn g_vfs_get_file_for_path(vfs: *mut GVfs, path: *const c_char) -> *mut GFile; |
14987 | pub unsafefn g_vfs_get_file_for_uri(vfs: *mut GVfs, uri: *const c_char) -> *mut GFile; |
14988 | pub unsafefn g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const c_char; |
14989 | pub unsafefn g_vfs_is_active(vfs: *mut GVfs) -> gboolean; |
14990 | pub unsafefn g_vfs_parse_name(vfs: *mut GVfs, parse_name: *const c_char) -> *mut GFile; |
14991 | pub unsafefn g_vfs_register_uri_scheme( |
14992 | vfs: *mut GVfs, |
14993 | scheme: *const c_char, |
14994 | uri_func: GVfsFileLookupFunc, |
14995 | uri_data: gpointer, |
14996 | uri_destroy: glib::GDestroyNotify, |
14997 | parse_name_func: GVfsFileLookupFunc, |
14998 | parse_name_data: gpointer, |
14999 | parse_name_destroy: glib::GDestroyNotify, |
15000 | ) -> gboolean; |
15001 | pub unsafefn g_vfs_unregister_uri_scheme(vfs: *mut GVfs, scheme: *const c_char) -> gboolean; |
15002 | |
15003 | //========================================================================= |
15004 | // GVolumeMonitor |
15005 | //========================================================================= |
15006 | pub unsafefn g_volume_monitor_get_type() -> GType; |
15007 | pub unsafefn g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume; |
15008 | pub unsafefn g_volume_monitor_get() -> *mut GVolumeMonitor; |
15009 | pub unsafefn g_volume_monitor_get_connected_drives( |
15010 | volume_monitor: *mut GVolumeMonitor, |
15011 | ) -> *mut glib::GList; |
15012 | pub unsafefn g_volume_monitor_get_mount_for_uuid( |
15013 | volume_monitor: *mut GVolumeMonitor, |
15014 | uuid: *const c_char, |
15015 | ) -> *mut GMount; |
15016 | pub unsafefn g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList; |
15017 | pub unsafefn g_volume_monitor_get_volume_for_uuid( |
15018 | volume_monitor: *mut GVolumeMonitor, |
15019 | uuid: *const c_char, |
15020 | ) -> *mut GVolume; |
15021 | pub unsafefn g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut glib::GList; |
15022 | |
15023 | //========================================================================= |
15024 | // GZlibCompressor |
15025 | //========================================================================= |
15026 | pub unsafefn g_zlib_compressor_get_type() -> GType; |
15027 | pub unsafefn g_zlib_compressor_new( |
15028 | format: GZlibCompressorFormat, |
15029 | level: c_int, |
15030 | ) -> *mut GZlibCompressor; |
15031 | pub unsafefn g_zlib_compressor_get_file_info(compressor: *mut GZlibCompressor) -> *mut GFileInfo; |
15032 | pub unsafefn g_zlib_compressor_set_file_info( |
15033 | compressor: *mut GZlibCompressor, |
15034 | file_info: *mut GFileInfo, |
15035 | ); |
15036 | |
15037 | //========================================================================= |
15038 | // GZlibDecompressor |
15039 | //========================================================================= |
15040 | pub unsafefn g_zlib_decompressor_get_type() -> GType; |
15041 | pub unsafefn g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor; |
15042 | pub unsafefn g_zlib_decompressor_get_file_info( |
15043 | decompressor: *mut GZlibDecompressor, |
15044 | ) -> *mut GFileInfo; |
15045 | |
15046 | //========================================================================= |
15047 | // GAction |
15048 | //========================================================================= |
15049 | pub unsafefn g_action_get_type() -> GType; |
15050 | pub unsafefn g_action_name_is_valid(action_name: *const c_char) -> gboolean; |
15051 | pub unsafefn g_action_parse_detailed_name( |
15052 | detailed_name: *const c_char, |
15053 | action_name: *mut *mut c_char, |
15054 | target_value: *mut *mut glib::GVariant, |
15055 | error: *mut *mut glib::GError, |
15056 | ) -> gboolean; |
15057 | pub unsafefn g_action_print_detailed_name( |
15058 | action_name: *const c_char, |
15059 | target_value: *mut glib::GVariant, |
15060 | ) -> *mut c_char; |
15061 | pub unsafefn g_action_activate(action: *mut GAction, parameter: *mut glib::GVariant); |
15062 | pub unsafefn g_action_change_state(action: *mut GAction, value: *mut glib::GVariant); |
15063 | pub unsafefn g_action_get_enabled(action: *mut GAction) -> gboolean; |
15064 | pub unsafefn g_action_get_name(action: *mut GAction) -> *const c_char; |
15065 | pub unsafefn g_action_get_parameter_type(action: *mut GAction) -> *const glib::GVariantType; |
15066 | pub unsafefn g_action_get_state(action: *mut GAction) -> *mut glib::GVariant; |
15067 | pub unsafefn g_action_get_state_hint(action: *mut GAction) -> *mut glib::GVariant; |
15068 | pub unsafefn g_action_get_state_type(action: *mut GAction) -> *const glib::GVariantType; |
15069 | |
15070 | //========================================================================= |
15071 | // GActionGroup |
15072 | //========================================================================= |
15073 | pub unsafefn g_action_group_get_type() -> GType; |
15074 | pub unsafefn g_action_group_action_added(action_group: *mut GActionGroup, action_name: *const c_char); |
15075 | pub unsafefn g_action_group_action_enabled_changed( |
15076 | action_group: *mut GActionGroup, |
15077 | action_name: *const c_char, |
15078 | enabled: gboolean, |
15079 | ); |
15080 | pub unsafefn g_action_group_action_removed( |
15081 | action_group: *mut GActionGroup, |
15082 | action_name: *const c_char, |
15083 | ); |
15084 | pub unsafefn g_action_group_action_state_changed( |
15085 | action_group: *mut GActionGroup, |
15086 | action_name: *const c_char, |
15087 | state: *mut glib::GVariant, |
15088 | ); |
15089 | pub unsafefn g_action_group_activate_action( |
15090 | action_group: *mut GActionGroup, |
15091 | action_name: *const c_char, |
15092 | parameter: *mut glib::GVariant, |
15093 | ); |
15094 | pub unsafefn g_action_group_change_action_state( |
15095 | action_group: *mut GActionGroup, |
15096 | action_name: *const c_char, |
15097 | value: *mut glib::GVariant, |
15098 | ); |
15099 | pub unsafefn g_action_group_get_action_enabled( |
15100 | action_group: *mut GActionGroup, |
15101 | action_name: *const c_char, |
15102 | ) -> gboolean; |
15103 | pub unsafefn g_action_group_get_action_parameter_type( |
15104 | action_group: *mut GActionGroup, |
15105 | action_name: *const c_char, |
15106 | ) -> *const glib::GVariantType; |
15107 | pub unsafefn g_action_group_get_action_state( |
15108 | action_group: *mut GActionGroup, |
15109 | action_name: *const c_char, |
15110 | ) -> *mut glib::GVariant; |
15111 | pub unsafefn g_action_group_get_action_state_hint( |
15112 | action_group: *mut GActionGroup, |
15113 | action_name: *const c_char, |
15114 | ) -> *mut glib::GVariant; |
15115 | pub unsafefn g_action_group_get_action_state_type( |
15116 | action_group: *mut GActionGroup, |
15117 | action_name: *const c_char, |
15118 | ) -> *const glib::GVariantType; |
15119 | pub unsafefn g_action_group_has_action( |
15120 | action_group: *mut GActionGroup, |
15121 | action_name: *const c_char, |
15122 | ) -> gboolean; |
15123 | pub unsafefn g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut c_char; |
15124 | pub unsafefn g_action_group_query_action( |
15125 | action_group: *mut GActionGroup, |
15126 | action_name: *const c_char, |
15127 | enabled: *mut gboolean, |
15128 | parameter_type: *mut *const glib::GVariantType, |
15129 | state_type: *mut *const glib::GVariantType, |
15130 | state_hint: *mut *mut glib::GVariant, |
15131 | state: *mut *mut glib::GVariant, |
15132 | ) -> gboolean; |
15133 | |
15134 | //========================================================================= |
15135 | // GActionMap |
15136 | //========================================================================= |
15137 | pub unsafefn g_action_map_get_type() -> GType; |
15138 | pub unsafefn g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction); |
15139 | pub unsafefn g_action_map_add_action_entries( |
15140 | action_map: *mut GActionMap, |
15141 | entries: *const GActionEntry, |
15142 | n_entries: c_int, |
15143 | user_data: gpointer, |
15144 | ); |
15145 | pub unsafefn g_action_map_lookup_action( |
15146 | action_map: *mut GActionMap, |
15147 | action_name: *const c_char, |
15148 | ) -> *mut GAction; |
15149 | pub unsafefn g_action_map_remove_action(action_map: *mut GActionMap, action_name: *const c_char); |
15150 | #[cfg (feature = "v2_78" )] |
15151 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
15152 | pub fn g_action_map_remove_action_entries( |
15153 | action_map: *mut GActionMap, |
15154 | entries: *const GActionEntry, |
15155 | n_entries: c_int, |
15156 | ); |
15157 | |
15158 | //========================================================================= |
15159 | // GAppInfo |
15160 | //========================================================================= |
15161 | pub unsafefn g_app_info_get_type() -> GType; |
15162 | pub unsafefn g_app_info_create_from_commandline( |
15163 | commandline: *const c_char, |
15164 | application_name: *const c_char, |
15165 | flags: GAppInfoCreateFlags, |
15166 | error: *mut *mut glib::GError, |
15167 | ) -> *mut GAppInfo; |
15168 | pub unsafefn g_app_info_get_all() -> *mut glib::GList; |
15169 | pub unsafefn g_app_info_get_all_for_type(content_type: *const c_char) -> *mut glib::GList; |
15170 | pub unsafefn g_app_info_get_default_for_type( |
15171 | content_type: *const c_char, |
15172 | must_support_uris: gboolean, |
15173 | ) -> *mut GAppInfo; |
15174 | #[cfg (feature = "v2_74" )] |
15175 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15176 | pub fn g_app_info_get_default_for_type_async( |
15177 | content_type: *const c_char, |
15178 | must_support_uris: gboolean, |
15179 | cancellable: *mut GCancellable, |
15180 | callback: GAsyncReadyCallback, |
15181 | user_data: gpointer, |
15182 | ); |
15183 | #[cfg (feature = "v2_74" )] |
15184 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15185 | pub fn g_app_info_get_default_for_type_finish( |
15186 | result: *mut GAsyncResult, |
15187 | error: *mut *mut glib::GError, |
15188 | ) -> *mut GAppInfo; |
15189 | pub unsafefn g_app_info_get_default_for_uri_scheme(uri_scheme: *const c_char) -> *mut GAppInfo; |
15190 | #[cfg (feature = "v2_74" )] |
15191 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15192 | pub fn g_app_info_get_default_for_uri_scheme_async( |
15193 | uri_scheme: *const c_char, |
15194 | cancellable: *mut GCancellable, |
15195 | callback: GAsyncReadyCallback, |
15196 | user_data: gpointer, |
15197 | ); |
15198 | #[cfg (feature = "v2_74" )] |
15199 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15200 | pub fn g_app_info_get_default_for_uri_scheme_finish( |
15201 | result: *mut GAsyncResult, |
15202 | error: *mut *mut glib::GError, |
15203 | ) -> *mut GAppInfo; |
15204 | pub unsafefn g_app_info_get_fallback_for_type(content_type: *const c_char) -> *mut glib::GList; |
15205 | pub unsafefn g_app_info_get_recommended_for_type(content_type: *const c_char) -> *mut glib::GList; |
15206 | pub unsafefn g_app_info_launch_default_for_uri( |
15207 | uri: *const c_char, |
15208 | context: *mut GAppLaunchContext, |
15209 | error: *mut *mut glib::GError, |
15210 | ) -> gboolean; |
15211 | pub unsafefn g_app_info_launch_default_for_uri_async( |
15212 | uri: *const c_char, |
15213 | context: *mut GAppLaunchContext, |
15214 | cancellable: *mut GCancellable, |
15215 | callback: GAsyncReadyCallback, |
15216 | user_data: gpointer, |
15217 | ); |
15218 | pub unsafefn g_app_info_launch_default_for_uri_finish( |
15219 | result: *mut GAsyncResult, |
15220 | error: *mut *mut glib::GError, |
15221 | ) -> gboolean; |
15222 | pub unsafefn g_app_info_reset_type_associations(content_type: *const c_char); |
15223 | pub unsafefn g_app_info_add_supports_type( |
15224 | appinfo: *mut GAppInfo, |
15225 | content_type: *const c_char, |
15226 | error: *mut *mut glib::GError, |
15227 | ) -> gboolean; |
15228 | pub unsafefn g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean; |
15229 | pub unsafefn g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean; |
15230 | pub unsafefn g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean; |
15231 | pub unsafefn g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo; |
15232 | pub unsafefn g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean; |
15233 | pub unsafefn g_app_info_get_commandline(appinfo: *mut GAppInfo) -> *const c_char; |
15234 | pub unsafefn g_app_info_get_description(appinfo: *mut GAppInfo) -> *const c_char; |
15235 | pub unsafefn g_app_info_get_display_name(appinfo: *mut GAppInfo) -> *const c_char; |
15236 | pub unsafefn g_app_info_get_executable(appinfo: *mut GAppInfo) -> *const c_char; |
15237 | pub unsafefn g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon; |
15238 | pub unsafefn g_app_info_get_id(appinfo: *mut GAppInfo) -> *const c_char; |
15239 | pub unsafefn g_app_info_get_name(appinfo: *mut GAppInfo) -> *const c_char; |
15240 | pub unsafefn g_app_info_get_supported_types(appinfo: *mut GAppInfo) -> *mut *const c_char; |
15241 | pub unsafefn g_app_info_launch( |
15242 | appinfo: *mut GAppInfo, |
15243 | files: *mut glib::GList, |
15244 | context: *mut GAppLaunchContext, |
15245 | error: *mut *mut glib::GError, |
15246 | ) -> gboolean; |
15247 | pub unsafefn g_app_info_launch_uris( |
15248 | appinfo: *mut GAppInfo, |
15249 | uris: *mut glib::GList, |
15250 | context: *mut GAppLaunchContext, |
15251 | error: *mut *mut glib::GError, |
15252 | ) -> gboolean; |
15253 | #[cfg (feature = "v2_60" )] |
15254 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
15255 | pub fn g_app_info_launch_uris_async( |
15256 | appinfo: *mut GAppInfo, |
15257 | uris: *mut glib::GList, |
15258 | context: *mut GAppLaunchContext, |
15259 | cancellable: *mut GCancellable, |
15260 | callback: GAsyncReadyCallback, |
15261 | user_data: gpointer, |
15262 | ); |
15263 | #[cfg (feature = "v2_60" )] |
15264 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
15265 | pub fn g_app_info_launch_uris_finish( |
15266 | appinfo: *mut GAppInfo, |
15267 | result: *mut GAsyncResult, |
15268 | error: *mut *mut glib::GError, |
15269 | ) -> gboolean; |
15270 | pub unsafefn g_app_info_remove_supports_type( |
15271 | appinfo: *mut GAppInfo, |
15272 | content_type: *const c_char, |
15273 | error: *mut *mut glib::GError, |
15274 | ) -> gboolean; |
15275 | pub unsafefn g_app_info_set_as_default_for_extension( |
15276 | appinfo: *mut GAppInfo, |
15277 | extension: *const c_char, |
15278 | error: *mut *mut glib::GError, |
15279 | ) -> gboolean; |
15280 | pub unsafefn g_app_info_set_as_default_for_type( |
15281 | appinfo: *mut GAppInfo, |
15282 | content_type: *const c_char, |
15283 | error: *mut *mut glib::GError, |
15284 | ) -> gboolean; |
15285 | pub unsafefn g_app_info_set_as_last_used_for_type( |
15286 | appinfo: *mut GAppInfo, |
15287 | content_type: *const c_char, |
15288 | error: *mut *mut glib::GError, |
15289 | ) -> gboolean; |
15290 | pub unsafefn g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean; |
15291 | pub unsafefn g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean; |
15292 | pub unsafefn g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean; |
15293 | |
15294 | //========================================================================= |
15295 | // GAsyncInitable |
15296 | //========================================================================= |
15297 | pub unsafefn g_async_initable_get_type() -> GType; |
15298 | pub unsafefn g_async_initable_new_async( |
15299 | object_type: GType, |
15300 | io_priority: c_int, |
15301 | cancellable: *mut GCancellable, |
15302 | callback: GAsyncReadyCallback, |
15303 | user_data: gpointer, |
15304 | first_property_name: *const c_char, |
15305 | ... |
15306 | ); |
15307 | //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); |
15308 | pub unsafefn g_async_initable_newv_async( |
15309 | object_type: GType, |
15310 | n_parameters: c_uint, |
15311 | parameters: *mut gobject::GParameter, |
15312 | io_priority: c_int, |
15313 | cancellable: *mut GCancellable, |
15314 | callback: GAsyncReadyCallback, |
15315 | user_data: gpointer, |
15316 | ); |
15317 | pub unsafefn g_async_initable_init_async( |
15318 | initable: *mut GAsyncInitable, |
15319 | io_priority: c_int, |
15320 | cancellable: *mut GCancellable, |
15321 | callback: GAsyncReadyCallback, |
15322 | user_data: gpointer, |
15323 | ); |
15324 | pub unsafefn g_async_initable_init_finish( |
15325 | initable: *mut GAsyncInitable, |
15326 | res: *mut GAsyncResult, |
15327 | error: *mut *mut glib::GError, |
15328 | ) -> gboolean; |
15329 | pub unsafefn g_async_initable_new_finish( |
15330 | initable: *mut GAsyncInitable, |
15331 | res: *mut GAsyncResult, |
15332 | error: *mut *mut glib::GError, |
15333 | ) -> *mut gobject::GObject; |
15334 | |
15335 | //========================================================================= |
15336 | // GAsyncResult |
15337 | //========================================================================= |
15338 | pub unsafefn g_async_result_get_type() -> GType; |
15339 | pub unsafefn g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut gobject::GObject; |
15340 | pub unsafefn g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer; |
15341 | pub unsafefn g_async_result_is_tagged(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean; |
15342 | pub unsafefn g_async_result_legacy_propagate_error( |
15343 | res: *mut GAsyncResult, |
15344 | error: *mut *mut glib::GError, |
15345 | ) -> gboolean; |
15346 | |
15347 | //========================================================================= |
15348 | // GConverter |
15349 | //========================================================================= |
15350 | pub unsafefn g_converter_get_type() -> GType; |
15351 | pub unsafefn g_converter_convert( |
15352 | converter: *mut GConverter, |
15353 | inbuf: *mut u8, |
15354 | inbuf_size: size_t, |
15355 | outbuf: *mut u8, |
15356 | outbuf_size: size_t, |
15357 | flags: GConverterFlags, |
15358 | bytes_read: *mut size_t, |
15359 | bytes_written: *mut size_t, |
15360 | error: *mut *mut glib::GError, |
15361 | ) -> GConverterResult; |
15362 | #[cfg (feature = "v2_82" )] |
15363 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
15364 | pub fn g_converter_convert_bytes( |
15365 | converter: *mut GConverter, |
15366 | bytes: *mut glib::GBytes, |
15367 | error: *mut *mut glib::GError, |
15368 | ) -> *mut glib::GBytes; |
15369 | pub unsafefn g_converter_reset(converter: *mut GConverter); |
15370 | |
15371 | //========================================================================= |
15372 | // GDBusInterface |
15373 | //========================================================================= |
15374 | pub unsafefn g_dbus_interface_get_type() -> GType; |
15375 | pub unsafefn g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject; |
15376 | pub unsafefn g_dbus_interface_get_info(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo; |
15377 | pub unsafefn g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject; |
15378 | pub unsafefn g_dbus_interface_set_object(interface_: *mut GDBusInterface, object: *mut GDBusObject); |
15379 | |
15380 | //========================================================================= |
15381 | // GDBusObject |
15382 | //========================================================================= |
15383 | pub unsafefn g_dbus_object_get_type() -> GType; |
15384 | pub unsafefn g_dbus_object_get_interface( |
15385 | object: *mut GDBusObject, |
15386 | interface_name: *const c_char, |
15387 | ) -> *mut GDBusInterface; |
15388 | pub unsafefn g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut glib::GList; |
15389 | pub unsafefn g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const c_char; |
15390 | |
15391 | //========================================================================= |
15392 | // GDBusObjectManager |
15393 | //========================================================================= |
15394 | pub unsafefn g_dbus_object_manager_get_type() -> GType; |
15395 | pub unsafefn g_dbus_object_manager_get_interface( |
15396 | manager: *mut GDBusObjectManager, |
15397 | object_path: *const c_char, |
15398 | interface_name: *const c_char, |
15399 | ) -> *mut GDBusInterface; |
15400 | pub unsafefn g_dbus_object_manager_get_object( |
15401 | manager: *mut GDBusObjectManager, |
15402 | object_path: *const c_char, |
15403 | ) -> *mut GDBusObject; |
15404 | pub unsafefn g_dbus_object_manager_get_object_path(manager: *mut GDBusObjectManager) |
15405 | -> *const c_char; |
15406 | pub unsafefn g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager) -> *mut glib::GList; |
15407 | |
15408 | //========================================================================= |
15409 | // GDatagramBased |
15410 | //========================================================================= |
15411 | pub unsafefn g_datagram_based_get_type() -> GType; |
15412 | pub unsafefn g_datagram_based_condition_check( |
15413 | datagram_based: *mut GDatagramBased, |
15414 | condition: glib::GIOCondition, |
15415 | ) -> glib::GIOCondition; |
15416 | pub unsafefn g_datagram_based_condition_wait( |
15417 | datagram_based: *mut GDatagramBased, |
15418 | condition: glib::GIOCondition, |
15419 | timeout: i64, |
15420 | cancellable: *mut GCancellable, |
15421 | error: *mut *mut glib::GError, |
15422 | ) -> gboolean; |
15423 | pub unsafefn g_datagram_based_create_source( |
15424 | datagram_based: *mut GDatagramBased, |
15425 | condition: glib::GIOCondition, |
15426 | cancellable: *mut GCancellable, |
15427 | ) -> *mut glib::GSource; |
15428 | pub unsafefn g_datagram_based_receive_messages( |
15429 | datagram_based: *mut GDatagramBased, |
15430 | messages: *mut GInputMessage, |
15431 | num_messages: c_uint, |
15432 | flags: c_int, |
15433 | timeout: i64, |
15434 | cancellable: *mut GCancellable, |
15435 | error: *mut *mut glib::GError, |
15436 | ) -> c_int; |
15437 | pub unsafefn g_datagram_based_send_messages( |
15438 | datagram_based: *mut GDatagramBased, |
15439 | messages: *mut GOutputMessage, |
15440 | num_messages: c_uint, |
15441 | flags: c_int, |
15442 | timeout: i64, |
15443 | cancellable: *mut GCancellable, |
15444 | error: *mut *mut glib::GError, |
15445 | ) -> c_int; |
15446 | |
15447 | //========================================================================= |
15448 | // GDebugController |
15449 | //========================================================================= |
15450 | #[cfg (feature = "v2_72" )] |
15451 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
15452 | pub fn g_debug_controller_get_type() -> GType; |
15453 | #[cfg (feature = "v2_72" )] |
15454 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
15455 | pub fn g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean; |
15456 | #[cfg (feature = "v2_72" )] |
15457 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
15458 | pub fn g_debug_controller_set_debug_enabled( |
15459 | self_: *mut GDebugController, |
15460 | debug_enabled: gboolean, |
15461 | ); |
15462 | |
15463 | //========================================================================= |
15464 | // GDesktopAppInfoLookup |
15465 | //========================================================================= |
15466 | pub unsafefn g_desktop_app_info_lookup_get_type() -> GType; |
15467 | pub unsafefn g_desktop_app_info_lookup_get_default_for_uri_scheme( |
15468 | lookup: *mut GDesktopAppInfoLookup, |
15469 | uri_scheme: *const c_char, |
15470 | ) -> *mut GAppInfo; |
15471 | |
15472 | //========================================================================= |
15473 | // GDrive |
15474 | //========================================================================= |
15475 | pub unsafefn g_drive_get_type() -> GType; |
15476 | pub unsafefn g_drive_can_eject(drive: *mut GDrive) -> gboolean; |
15477 | pub unsafefn g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean; |
15478 | pub unsafefn g_drive_can_start(drive: *mut GDrive) -> gboolean; |
15479 | pub unsafefn g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean; |
15480 | pub unsafefn g_drive_can_stop(drive: *mut GDrive) -> gboolean; |
15481 | pub unsafefn g_drive_eject( |
15482 | drive: *mut GDrive, |
15483 | flags: GMountUnmountFlags, |
15484 | cancellable: *mut GCancellable, |
15485 | callback: GAsyncReadyCallback, |
15486 | user_data: gpointer, |
15487 | ); |
15488 | pub unsafefn g_drive_eject_finish( |
15489 | drive: *mut GDrive, |
15490 | result: *mut GAsyncResult, |
15491 | error: *mut *mut glib::GError, |
15492 | ) -> gboolean; |
15493 | pub unsafefn g_drive_eject_with_operation( |
15494 | drive: *mut GDrive, |
15495 | flags: GMountUnmountFlags, |
15496 | mount_operation: *mut GMountOperation, |
15497 | cancellable: *mut GCancellable, |
15498 | callback: GAsyncReadyCallback, |
15499 | user_data: gpointer, |
15500 | ); |
15501 | pub unsafefn g_drive_eject_with_operation_finish( |
15502 | drive: *mut GDrive, |
15503 | result: *mut GAsyncResult, |
15504 | error: *mut *mut glib::GError, |
15505 | ) -> gboolean; |
15506 | pub unsafefn g_drive_enumerate_identifiers(drive: *mut GDrive) -> *mut *mut c_char; |
15507 | pub unsafefn g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon; |
15508 | pub unsafefn g_drive_get_identifier(drive: *mut GDrive, kind: *const c_char) -> *mut c_char; |
15509 | pub unsafefn g_drive_get_name(drive: *mut GDrive) -> *mut c_char; |
15510 | pub unsafefn g_drive_get_sort_key(drive: *mut GDrive) -> *const c_char; |
15511 | pub unsafefn g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType; |
15512 | pub unsafefn g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon; |
15513 | pub unsafefn g_drive_get_volumes(drive: *mut GDrive) -> *mut glib::GList; |
15514 | pub unsafefn g_drive_has_media(drive: *mut GDrive) -> gboolean; |
15515 | pub unsafefn g_drive_has_volumes(drive: *mut GDrive) -> gboolean; |
15516 | pub unsafefn g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean; |
15517 | pub unsafefn g_drive_is_media_removable(drive: *mut GDrive) -> gboolean; |
15518 | pub unsafefn g_drive_is_removable(drive: *mut GDrive) -> gboolean; |
15519 | pub unsafefn g_drive_poll_for_media( |
15520 | drive: *mut GDrive, |
15521 | cancellable: *mut GCancellable, |
15522 | callback: GAsyncReadyCallback, |
15523 | user_data: gpointer, |
15524 | ); |
15525 | pub unsafefn g_drive_poll_for_media_finish( |
15526 | drive: *mut GDrive, |
15527 | result: *mut GAsyncResult, |
15528 | error: *mut *mut glib::GError, |
15529 | ) -> gboolean; |
15530 | pub unsafefn g_drive_start( |
15531 | drive: *mut GDrive, |
15532 | flags: GDriveStartFlags, |
15533 | mount_operation: *mut GMountOperation, |
15534 | cancellable: *mut GCancellable, |
15535 | callback: GAsyncReadyCallback, |
15536 | user_data: gpointer, |
15537 | ); |
15538 | pub unsafefn g_drive_start_finish( |
15539 | drive: *mut GDrive, |
15540 | result: *mut GAsyncResult, |
15541 | error: *mut *mut glib::GError, |
15542 | ) -> gboolean; |
15543 | pub unsafefn g_drive_stop( |
15544 | drive: *mut GDrive, |
15545 | flags: GMountUnmountFlags, |
15546 | mount_operation: *mut GMountOperation, |
15547 | cancellable: *mut GCancellable, |
15548 | callback: GAsyncReadyCallback, |
15549 | user_data: gpointer, |
15550 | ); |
15551 | pub unsafefn g_drive_stop_finish( |
15552 | drive: *mut GDrive, |
15553 | result: *mut GAsyncResult, |
15554 | error: *mut *mut glib::GError, |
15555 | ) -> gboolean; |
15556 | |
15557 | //========================================================================= |
15558 | // GDtlsClientConnection |
15559 | //========================================================================= |
15560 | pub unsafefn g_dtls_client_connection_get_type() -> GType; |
15561 | pub unsafefn g_dtls_client_connection_new( |
15562 | base_socket: *mut GDatagramBased, |
15563 | server_identity: *mut GSocketConnectable, |
15564 | error: *mut *mut glib::GError, |
15565 | ) -> *mut GDtlsClientConnection; |
15566 | pub unsafefn g_dtls_client_connection_get_accepted_cas( |
15567 | conn: *mut GDtlsClientConnection, |
15568 | ) -> *mut glib::GList; |
15569 | pub unsafefn g_dtls_client_connection_get_server_identity( |
15570 | conn: *mut GDtlsClientConnection, |
15571 | ) -> *mut GSocketConnectable; |
15572 | pub unsafefn g_dtls_client_connection_get_validation_flags( |
15573 | conn: *mut GDtlsClientConnection, |
15574 | ) -> GTlsCertificateFlags; |
15575 | pub unsafefn g_dtls_client_connection_set_server_identity( |
15576 | conn: *mut GDtlsClientConnection, |
15577 | identity: *mut GSocketConnectable, |
15578 | ); |
15579 | pub unsafefn g_dtls_client_connection_set_validation_flags( |
15580 | conn: *mut GDtlsClientConnection, |
15581 | flags: GTlsCertificateFlags, |
15582 | ); |
15583 | |
15584 | //========================================================================= |
15585 | // GDtlsConnection |
15586 | //========================================================================= |
15587 | pub unsafefn g_dtls_connection_get_type() -> GType; |
15588 | pub unsafefn g_dtls_connection_close( |
15589 | conn: *mut GDtlsConnection, |
15590 | cancellable: *mut GCancellable, |
15591 | error: *mut *mut glib::GError, |
15592 | ) -> gboolean; |
15593 | pub unsafefn g_dtls_connection_close_async( |
15594 | conn: *mut GDtlsConnection, |
15595 | io_priority: c_int, |
15596 | cancellable: *mut GCancellable, |
15597 | callback: GAsyncReadyCallback, |
15598 | user_data: gpointer, |
15599 | ); |
15600 | pub unsafefn g_dtls_connection_close_finish( |
15601 | conn: *mut GDtlsConnection, |
15602 | result: *mut GAsyncResult, |
15603 | error: *mut *mut glib::GError, |
15604 | ) -> gboolean; |
15605 | pub unsafefn g_dtls_connection_emit_accept_certificate( |
15606 | conn: *mut GDtlsConnection, |
15607 | peer_cert: *mut GTlsCertificate, |
15608 | errors: GTlsCertificateFlags, |
15609 | ) -> gboolean; |
15610 | pub unsafefn g_dtls_connection_get_certificate(conn: *mut GDtlsConnection) -> *mut GTlsCertificate; |
15611 | #[cfg (feature = "v2_66" )] |
15612 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_66" )))] |
15613 | pub fn g_dtls_connection_get_channel_binding_data( |
15614 | conn: *mut GDtlsConnection, |
15615 | type_: GTlsChannelBindingType, |
15616 | data: *mut glib::GByteArray, |
15617 | error: *mut *mut glib::GError, |
15618 | ) -> gboolean; |
15619 | #[cfg (feature = "v2_70" )] |
15620 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
15621 | pub fn g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut c_char; |
15622 | pub unsafefn g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase; |
15623 | pub unsafefn g_dtls_connection_get_interaction(conn: *mut GDtlsConnection) -> *mut GTlsInteraction; |
15624 | #[cfg (feature = "v2_60" )] |
15625 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
15626 | pub fn g_dtls_connection_get_negotiated_protocol(conn: *mut GDtlsConnection) -> *const c_char; |
15627 | pub unsafefn g_dtls_connection_get_peer_certificate( |
15628 | conn: *mut GDtlsConnection, |
15629 | ) -> *mut GTlsCertificate; |
15630 | pub unsafefn g_dtls_connection_get_peer_certificate_errors( |
15631 | conn: *mut GDtlsConnection, |
15632 | ) -> GTlsCertificateFlags; |
15633 | #[cfg (feature = "v2_70" )] |
15634 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
15635 | pub fn g_dtls_connection_get_protocol_version( |
15636 | conn: *mut GDtlsConnection, |
15637 | ) -> GTlsProtocolVersion; |
15638 | pub unsafefn g_dtls_connection_get_rehandshake_mode( |
15639 | conn: *mut GDtlsConnection, |
15640 | ) -> GTlsRehandshakeMode; |
15641 | pub unsafefn g_dtls_connection_get_require_close_notify(conn: *mut GDtlsConnection) -> gboolean; |
15642 | pub unsafefn g_dtls_connection_handshake( |
15643 | conn: *mut GDtlsConnection, |
15644 | cancellable: *mut GCancellable, |
15645 | error: *mut *mut glib::GError, |
15646 | ) -> gboolean; |
15647 | pub unsafefn g_dtls_connection_handshake_async( |
15648 | conn: *mut GDtlsConnection, |
15649 | io_priority: c_int, |
15650 | cancellable: *mut GCancellable, |
15651 | callback: GAsyncReadyCallback, |
15652 | user_data: gpointer, |
15653 | ); |
15654 | pub unsafefn g_dtls_connection_handshake_finish( |
15655 | conn: *mut GDtlsConnection, |
15656 | result: *mut GAsyncResult, |
15657 | error: *mut *mut glib::GError, |
15658 | ) -> gboolean; |
15659 | #[cfg (feature = "v2_60" )] |
15660 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
15661 | pub fn g_dtls_connection_set_advertised_protocols( |
15662 | conn: *mut GDtlsConnection, |
15663 | protocols: *const *const c_char, |
15664 | ); |
15665 | pub unsafefn g_dtls_connection_set_certificate( |
15666 | conn: *mut GDtlsConnection, |
15667 | certificate: *mut GTlsCertificate, |
15668 | ); |
15669 | pub unsafefn g_dtls_connection_set_database(conn: *mut GDtlsConnection, database: *mut GTlsDatabase); |
15670 | pub unsafefn g_dtls_connection_set_interaction( |
15671 | conn: *mut GDtlsConnection, |
15672 | interaction: *mut GTlsInteraction, |
15673 | ); |
15674 | pub unsafefn g_dtls_connection_set_rehandshake_mode( |
15675 | conn: *mut GDtlsConnection, |
15676 | mode: GTlsRehandshakeMode, |
15677 | ); |
15678 | pub unsafefn g_dtls_connection_set_require_close_notify( |
15679 | conn: *mut GDtlsConnection, |
15680 | require_close_notify: gboolean, |
15681 | ); |
15682 | pub unsafefn g_dtls_connection_shutdown( |
15683 | conn: *mut GDtlsConnection, |
15684 | shutdown_read: gboolean, |
15685 | shutdown_write: gboolean, |
15686 | cancellable: *mut GCancellable, |
15687 | error: *mut *mut glib::GError, |
15688 | ) -> gboolean; |
15689 | pub unsafefn g_dtls_connection_shutdown_async( |
15690 | conn: *mut GDtlsConnection, |
15691 | shutdown_read: gboolean, |
15692 | shutdown_write: gboolean, |
15693 | io_priority: c_int, |
15694 | cancellable: *mut GCancellable, |
15695 | callback: GAsyncReadyCallback, |
15696 | user_data: gpointer, |
15697 | ); |
15698 | pub unsafefn g_dtls_connection_shutdown_finish( |
15699 | conn: *mut GDtlsConnection, |
15700 | result: *mut GAsyncResult, |
15701 | error: *mut *mut glib::GError, |
15702 | ) -> gboolean; |
15703 | |
15704 | //========================================================================= |
15705 | // GDtlsServerConnection |
15706 | //========================================================================= |
15707 | pub unsafefn g_dtls_server_connection_get_type() -> GType; |
15708 | pub unsafefn g_dtls_server_connection_new( |
15709 | base_socket: *mut GDatagramBased, |
15710 | certificate: *mut GTlsCertificate, |
15711 | error: *mut *mut glib::GError, |
15712 | ) -> *mut GDtlsServerConnection; |
15713 | |
15714 | //========================================================================= |
15715 | // GFile |
15716 | //========================================================================= |
15717 | pub unsafefn g_file_get_type() -> GType; |
15718 | pub unsafefn g_file_new_build_filename(first_element: *const c_char, ...) -> *mut GFile; |
15719 | #[cfg (feature = "v2_78" )] |
15720 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_78" )))] |
15721 | pub fn g_file_new_build_filenamev(args: *const *const c_char) -> *mut GFile; |
15722 | pub unsafefn g_file_new_for_commandline_arg(arg: *const c_char) -> *mut GFile; |
15723 | pub unsafefn g_file_new_for_commandline_arg_and_cwd( |
15724 | arg: *const c_char, |
15725 | cwd: *const c_char, |
15726 | ) -> *mut GFile; |
15727 | pub unsafefn g_file_new_for_path(path: *const c_char) -> *mut GFile; |
15728 | pub unsafefn g_file_new_for_uri(uri: *const c_char) -> *mut GFile; |
15729 | pub unsafefn g_file_new_tmp( |
15730 | tmpl: *const c_char, |
15731 | iostream: *mut *mut GFileIOStream, |
15732 | error: *mut *mut glib::GError, |
15733 | ) -> *mut GFile; |
15734 | #[cfg (feature = "v2_74" )] |
15735 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15736 | pub fn g_file_new_tmp_async( |
15737 | tmpl: *const c_char, |
15738 | io_priority: c_int, |
15739 | cancellable: *mut GCancellable, |
15740 | callback: GAsyncReadyCallback, |
15741 | user_data: gpointer, |
15742 | ); |
15743 | #[cfg (feature = "v2_74" )] |
15744 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15745 | pub fn g_file_new_tmp_dir_async( |
15746 | tmpl: *const c_char, |
15747 | io_priority: c_int, |
15748 | cancellable: *mut GCancellable, |
15749 | callback: GAsyncReadyCallback, |
15750 | user_data: gpointer, |
15751 | ); |
15752 | #[cfg (feature = "v2_74" )] |
15753 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15754 | pub fn g_file_new_tmp_dir_finish( |
15755 | result: *mut GAsyncResult, |
15756 | error: *mut *mut glib::GError, |
15757 | ) -> *mut GFile; |
15758 | #[cfg (feature = "v2_74" )] |
15759 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
15760 | pub fn g_file_new_tmp_finish( |
15761 | result: *mut GAsyncResult, |
15762 | iostream: *mut *mut GFileIOStream, |
15763 | error: *mut *mut glib::GError, |
15764 | ) -> *mut GFile; |
15765 | pub unsafefn g_file_parse_name(parse_name: *const c_char) -> *mut GFile; |
15766 | pub unsafefn g_file_append_to( |
15767 | file: *mut GFile, |
15768 | flags: GFileCreateFlags, |
15769 | cancellable: *mut GCancellable, |
15770 | error: *mut *mut glib::GError, |
15771 | ) -> *mut GFileOutputStream; |
15772 | pub unsafefn g_file_append_to_async( |
15773 | file: *mut GFile, |
15774 | flags: GFileCreateFlags, |
15775 | io_priority: c_int, |
15776 | cancellable: *mut GCancellable, |
15777 | callback: GAsyncReadyCallback, |
15778 | user_data: gpointer, |
15779 | ); |
15780 | pub unsafefn g_file_append_to_finish( |
15781 | file: *mut GFile, |
15782 | res: *mut GAsyncResult, |
15783 | error: *mut *mut glib::GError, |
15784 | ) -> *mut GFileOutputStream; |
15785 | #[cfg (feature = "v2_68" )] |
15786 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
15787 | pub fn g_file_build_attribute_list_for_copy( |
15788 | file: *mut GFile, |
15789 | flags: GFileCopyFlags, |
15790 | cancellable: *mut GCancellable, |
15791 | error: *mut *mut glib::GError, |
15792 | ) -> *mut c_char; |
15793 | pub unsafefn g_file_copy( |
15794 | source: *mut GFile, |
15795 | destination: *mut GFile, |
15796 | flags: GFileCopyFlags, |
15797 | cancellable: *mut GCancellable, |
15798 | progress_callback: GFileProgressCallback, |
15799 | progress_callback_data: gpointer, |
15800 | error: *mut *mut glib::GError, |
15801 | ) -> gboolean; |
15802 | pub unsafefn g_file_copy_async( |
15803 | source: *mut GFile, |
15804 | destination: *mut GFile, |
15805 | flags: GFileCopyFlags, |
15806 | io_priority: c_int, |
15807 | cancellable: *mut GCancellable, |
15808 | progress_callback: GFileProgressCallback, |
15809 | progress_callback_data: gpointer, |
15810 | callback: GAsyncReadyCallback, |
15811 | user_data: gpointer, |
15812 | ); |
15813 | #[cfg (feature = "v2_82" )] |
15814 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
15815 | pub fn g_file_copy_async_with_closures( |
15816 | source: *mut GFile, |
15817 | destination: *mut GFile, |
15818 | flags: GFileCopyFlags, |
15819 | io_priority: c_int, |
15820 | cancellable: *mut GCancellable, |
15821 | progress_callback_closure: *mut gobject::GClosure, |
15822 | ready_callback_closure: *mut gobject::GClosure, |
15823 | ); |
15824 | pub unsafefn g_file_copy_attributes( |
15825 | source: *mut GFile, |
15826 | destination: *mut GFile, |
15827 | flags: GFileCopyFlags, |
15828 | cancellable: *mut GCancellable, |
15829 | error: *mut *mut glib::GError, |
15830 | ) -> gboolean; |
15831 | pub unsafefn g_file_copy_finish( |
15832 | file: *mut GFile, |
15833 | res: *mut GAsyncResult, |
15834 | error: *mut *mut glib::GError, |
15835 | ) -> gboolean; |
15836 | pub unsafefn g_file_create( |
15837 | file: *mut GFile, |
15838 | flags: GFileCreateFlags, |
15839 | cancellable: *mut GCancellable, |
15840 | error: *mut *mut glib::GError, |
15841 | ) -> *mut GFileOutputStream; |
15842 | pub unsafefn g_file_create_async( |
15843 | file: *mut GFile, |
15844 | flags: GFileCreateFlags, |
15845 | io_priority: c_int, |
15846 | cancellable: *mut GCancellable, |
15847 | callback: GAsyncReadyCallback, |
15848 | user_data: gpointer, |
15849 | ); |
15850 | pub unsafefn g_file_create_finish( |
15851 | file: *mut GFile, |
15852 | res: *mut GAsyncResult, |
15853 | error: *mut *mut glib::GError, |
15854 | ) -> *mut GFileOutputStream; |
15855 | pub unsafefn g_file_create_readwrite( |
15856 | file: *mut GFile, |
15857 | flags: GFileCreateFlags, |
15858 | cancellable: *mut GCancellable, |
15859 | error: *mut *mut glib::GError, |
15860 | ) -> *mut GFileIOStream; |
15861 | pub unsafefn g_file_create_readwrite_async( |
15862 | file: *mut GFile, |
15863 | flags: GFileCreateFlags, |
15864 | io_priority: c_int, |
15865 | cancellable: *mut GCancellable, |
15866 | callback: GAsyncReadyCallback, |
15867 | user_data: gpointer, |
15868 | ); |
15869 | pub unsafefn g_file_create_readwrite_finish( |
15870 | file: *mut GFile, |
15871 | res: *mut GAsyncResult, |
15872 | error: *mut *mut glib::GError, |
15873 | ) -> *mut GFileIOStream; |
15874 | pub unsafefn g_file_delete( |
15875 | file: *mut GFile, |
15876 | cancellable: *mut GCancellable, |
15877 | error: *mut *mut glib::GError, |
15878 | ) -> gboolean; |
15879 | pub unsafefn g_file_delete_async( |
15880 | file: *mut GFile, |
15881 | io_priority: c_int, |
15882 | cancellable: *mut GCancellable, |
15883 | callback: GAsyncReadyCallback, |
15884 | user_data: gpointer, |
15885 | ); |
15886 | pub unsafefn g_file_delete_finish( |
15887 | file: *mut GFile, |
15888 | result: *mut GAsyncResult, |
15889 | error: *mut *mut glib::GError, |
15890 | ) -> gboolean; |
15891 | pub unsafefn g_file_dup(file: *mut GFile) -> *mut GFile; |
15892 | pub unsafefn g_file_eject_mountable( |
15893 | file: *mut GFile, |
15894 | flags: GMountUnmountFlags, |
15895 | cancellable: *mut GCancellable, |
15896 | callback: GAsyncReadyCallback, |
15897 | user_data: gpointer, |
15898 | ); |
15899 | pub unsafefn g_file_eject_mountable_finish( |
15900 | file: *mut GFile, |
15901 | result: *mut GAsyncResult, |
15902 | error: *mut *mut glib::GError, |
15903 | ) -> gboolean; |
15904 | pub unsafefn g_file_eject_mountable_with_operation( |
15905 | file: *mut GFile, |
15906 | flags: GMountUnmountFlags, |
15907 | mount_operation: *mut GMountOperation, |
15908 | cancellable: *mut GCancellable, |
15909 | callback: GAsyncReadyCallback, |
15910 | user_data: gpointer, |
15911 | ); |
15912 | pub unsafefn g_file_eject_mountable_with_operation_finish( |
15913 | file: *mut GFile, |
15914 | result: *mut GAsyncResult, |
15915 | error: *mut *mut glib::GError, |
15916 | ) -> gboolean; |
15917 | pub unsafefn g_file_enumerate_children( |
15918 | file: *mut GFile, |
15919 | attributes: *const c_char, |
15920 | flags: GFileQueryInfoFlags, |
15921 | cancellable: *mut GCancellable, |
15922 | error: *mut *mut glib::GError, |
15923 | ) -> *mut GFileEnumerator; |
15924 | pub unsafefn g_file_enumerate_children_async( |
15925 | file: *mut GFile, |
15926 | attributes: *const c_char, |
15927 | flags: GFileQueryInfoFlags, |
15928 | io_priority: c_int, |
15929 | cancellable: *mut GCancellable, |
15930 | callback: GAsyncReadyCallback, |
15931 | user_data: gpointer, |
15932 | ); |
15933 | pub unsafefn g_file_enumerate_children_finish( |
15934 | file: *mut GFile, |
15935 | res: *mut GAsyncResult, |
15936 | error: *mut *mut glib::GError, |
15937 | ) -> *mut GFileEnumerator; |
15938 | pub unsafefn g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean; |
15939 | pub unsafefn g_file_find_enclosing_mount( |
15940 | file: *mut GFile, |
15941 | cancellable: *mut GCancellable, |
15942 | error: *mut *mut glib::GError, |
15943 | ) -> *mut GMount; |
15944 | pub unsafefn g_file_find_enclosing_mount_async( |
15945 | file: *mut GFile, |
15946 | io_priority: c_int, |
15947 | cancellable: *mut GCancellable, |
15948 | callback: GAsyncReadyCallback, |
15949 | user_data: gpointer, |
15950 | ); |
15951 | pub unsafefn g_file_find_enclosing_mount_finish( |
15952 | file: *mut GFile, |
15953 | res: *mut GAsyncResult, |
15954 | error: *mut *mut glib::GError, |
15955 | ) -> *mut GMount; |
15956 | pub unsafefn g_file_get_basename(file: *mut GFile) -> *mut c_char; |
15957 | pub unsafefn g_file_get_child(file: *mut GFile, name: *const c_char) -> *mut GFile; |
15958 | pub unsafefn g_file_get_child_for_display_name( |
15959 | file: *mut GFile, |
15960 | display_name: *const c_char, |
15961 | error: *mut *mut glib::GError, |
15962 | ) -> *mut GFile; |
15963 | pub unsafefn g_file_get_parent(file: *mut GFile) -> *mut GFile; |
15964 | pub unsafefn g_file_get_parse_name(file: *mut GFile) -> *mut c_char; |
15965 | pub unsafefn g_file_get_path(file: *mut GFile) -> *mut c_char; |
15966 | pub unsafefn g_file_get_relative_path(parent: *mut GFile, descendant: *mut GFile) -> *mut c_char; |
15967 | pub unsafefn g_file_get_uri(file: *mut GFile) -> *mut c_char; |
15968 | pub unsafefn g_file_get_uri_scheme(file: *mut GFile) -> *mut c_char; |
15969 | pub unsafefn g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean; |
15970 | pub unsafefn g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean; |
15971 | pub unsafefn g_file_has_uri_scheme(file: *mut GFile, uri_scheme: *const c_char) -> gboolean; |
15972 | pub unsafefn g_file_hash(file: gconstpointer) -> c_uint; |
15973 | pub unsafefn g_file_is_native(file: *mut GFile) -> gboolean; |
15974 | pub unsafefn g_file_load_bytes( |
15975 | file: *mut GFile, |
15976 | cancellable: *mut GCancellable, |
15977 | etag_out: *mut *mut c_char, |
15978 | error: *mut *mut glib::GError, |
15979 | ) -> *mut glib::GBytes; |
15980 | pub unsafefn g_file_load_bytes_async( |
15981 | file: *mut GFile, |
15982 | cancellable: *mut GCancellable, |
15983 | callback: GAsyncReadyCallback, |
15984 | user_data: gpointer, |
15985 | ); |
15986 | pub unsafefn g_file_load_bytes_finish( |
15987 | file: *mut GFile, |
15988 | result: *mut GAsyncResult, |
15989 | etag_out: *mut *mut c_char, |
15990 | error: *mut *mut glib::GError, |
15991 | ) -> *mut glib::GBytes; |
15992 | pub unsafefn g_file_load_contents( |
15993 | file: *mut GFile, |
15994 | cancellable: *mut GCancellable, |
15995 | contents: *mut *mut u8, |
15996 | length: *mut size_t, |
15997 | etag_out: *mut *mut c_char, |
15998 | error: *mut *mut glib::GError, |
15999 | ) -> gboolean; |
16000 | pub unsafefn g_file_load_contents_async( |
16001 | file: *mut GFile, |
16002 | cancellable: *mut GCancellable, |
16003 | callback: GAsyncReadyCallback, |
16004 | user_data: gpointer, |
16005 | ); |
16006 | pub unsafefn g_file_load_contents_finish( |
16007 | file: *mut GFile, |
16008 | res: *mut GAsyncResult, |
16009 | contents: *mut *mut u8, |
16010 | length: *mut size_t, |
16011 | etag_out: *mut *mut c_char, |
16012 | error: *mut *mut glib::GError, |
16013 | ) -> gboolean; |
16014 | pub unsafefn g_file_load_partial_contents_async( |
16015 | file: *mut GFile, |
16016 | cancellable: *mut GCancellable, |
16017 | read_more_callback: GFileReadMoreCallback, |
16018 | callback: GAsyncReadyCallback, |
16019 | user_data: gpointer, |
16020 | ); |
16021 | pub unsafefn g_file_load_partial_contents_finish( |
16022 | file: *mut GFile, |
16023 | res: *mut GAsyncResult, |
16024 | contents: *mut *mut u8, |
16025 | length: *mut size_t, |
16026 | etag_out: *mut *mut c_char, |
16027 | error: *mut *mut glib::GError, |
16028 | ) -> gboolean; |
16029 | pub unsafefn g_file_make_directory( |
16030 | file: *mut GFile, |
16031 | cancellable: *mut GCancellable, |
16032 | error: *mut *mut glib::GError, |
16033 | ) -> gboolean; |
16034 | pub unsafefn g_file_make_directory_async( |
16035 | file: *mut GFile, |
16036 | io_priority: c_int, |
16037 | cancellable: *mut GCancellable, |
16038 | callback: GAsyncReadyCallback, |
16039 | user_data: gpointer, |
16040 | ); |
16041 | pub unsafefn g_file_make_directory_finish( |
16042 | file: *mut GFile, |
16043 | result: *mut GAsyncResult, |
16044 | error: *mut *mut glib::GError, |
16045 | ) -> gboolean; |
16046 | pub unsafefn g_file_make_directory_with_parents( |
16047 | file: *mut GFile, |
16048 | cancellable: *mut GCancellable, |
16049 | error: *mut *mut glib::GError, |
16050 | ) -> gboolean; |
16051 | pub unsafefn g_file_make_symbolic_link( |
16052 | file: *mut GFile, |
16053 | symlink_value: *const c_char, |
16054 | cancellable: *mut GCancellable, |
16055 | error: *mut *mut glib::GError, |
16056 | ) -> gboolean; |
16057 | #[cfg (feature = "v2_74" )] |
16058 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
16059 | pub fn g_file_make_symbolic_link_async( |
16060 | file: *mut GFile, |
16061 | symlink_value: *const c_char, |
16062 | io_priority: c_int, |
16063 | cancellable: *mut GCancellable, |
16064 | callback: GAsyncReadyCallback, |
16065 | user_data: gpointer, |
16066 | ); |
16067 | #[cfg (feature = "v2_74" )] |
16068 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
16069 | pub fn g_file_make_symbolic_link_finish( |
16070 | file: *mut GFile, |
16071 | result: *mut GAsyncResult, |
16072 | error: *mut *mut glib::GError, |
16073 | ) -> gboolean; |
16074 | pub unsafefn g_file_measure_disk_usage( |
16075 | file: *mut GFile, |
16076 | flags: GFileMeasureFlags, |
16077 | cancellable: *mut GCancellable, |
16078 | progress_callback: GFileMeasureProgressCallback, |
16079 | progress_data: gpointer, |
16080 | disk_usage: *mut u64, |
16081 | num_dirs: *mut u64, |
16082 | num_files: *mut u64, |
16083 | error: *mut *mut glib::GError, |
16084 | ) -> gboolean; |
16085 | pub unsafefn g_file_measure_disk_usage_async( |
16086 | file: *mut GFile, |
16087 | flags: GFileMeasureFlags, |
16088 | io_priority: c_int, |
16089 | cancellable: *mut GCancellable, |
16090 | progress_callback: GFileMeasureProgressCallback, |
16091 | progress_data: gpointer, |
16092 | callback: GAsyncReadyCallback, |
16093 | user_data: gpointer, |
16094 | ); |
16095 | pub unsafefn g_file_measure_disk_usage_finish( |
16096 | file: *mut GFile, |
16097 | result: *mut GAsyncResult, |
16098 | disk_usage: *mut u64, |
16099 | num_dirs: *mut u64, |
16100 | num_files: *mut u64, |
16101 | error: *mut *mut glib::GError, |
16102 | ) -> gboolean; |
16103 | pub unsafefn g_file_monitor( |
16104 | file: *mut GFile, |
16105 | flags: GFileMonitorFlags, |
16106 | cancellable: *mut GCancellable, |
16107 | error: *mut *mut glib::GError, |
16108 | ) -> *mut GFileMonitor; |
16109 | pub unsafefn g_file_monitor_directory( |
16110 | file: *mut GFile, |
16111 | flags: GFileMonitorFlags, |
16112 | cancellable: *mut GCancellable, |
16113 | error: *mut *mut glib::GError, |
16114 | ) -> *mut GFileMonitor; |
16115 | pub unsafefn g_file_monitor_file( |
16116 | file: *mut GFile, |
16117 | flags: GFileMonitorFlags, |
16118 | cancellable: *mut GCancellable, |
16119 | error: *mut *mut glib::GError, |
16120 | ) -> *mut GFileMonitor; |
16121 | pub unsafefn g_file_mount_enclosing_volume( |
16122 | location: *mut GFile, |
16123 | flags: GMountMountFlags, |
16124 | mount_operation: *mut GMountOperation, |
16125 | cancellable: *mut GCancellable, |
16126 | callback: GAsyncReadyCallback, |
16127 | user_data: gpointer, |
16128 | ); |
16129 | pub unsafefn g_file_mount_enclosing_volume_finish( |
16130 | location: *mut GFile, |
16131 | result: *mut GAsyncResult, |
16132 | error: *mut *mut glib::GError, |
16133 | ) -> gboolean; |
16134 | pub unsafefn g_file_mount_mountable( |
16135 | file: *mut GFile, |
16136 | flags: GMountMountFlags, |
16137 | mount_operation: *mut GMountOperation, |
16138 | cancellable: *mut GCancellable, |
16139 | callback: GAsyncReadyCallback, |
16140 | user_data: gpointer, |
16141 | ); |
16142 | pub unsafefn g_file_mount_mountable_finish( |
16143 | file: *mut GFile, |
16144 | result: *mut GAsyncResult, |
16145 | error: *mut *mut glib::GError, |
16146 | ) -> *mut GFile; |
16147 | pub unsafefn g_file_move( |
16148 | source: *mut GFile, |
16149 | destination: *mut GFile, |
16150 | flags: GFileCopyFlags, |
16151 | cancellable: *mut GCancellable, |
16152 | progress_callback: GFileProgressCallback, |
16153 | progress_callback_data: gpointer, |
16154 | error: *mut *mut glib::GError, |
16155 | ) -> gboolean; |
16156 | #[cfg (feature = "v2_72" )] |
16157 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
16158 | pub fn g_file_move_async( |
16159 | source: *mut GFile, |
16160 | destination: *mut GFile, |
16161 | flags: GFileCopyFlags, |
16162 | io_priority: c_int, |
16163 | cancellable: *mut GCancellable, |
16164 | progress_callback: GFileProgressCallback, |
16165 | progress_callback_data: gpointer, |
16166 | callback: GAsyncReadyCallback, |
16167 | user_data: gpointer, |
16168 | ); |
16169 | #[cfg (feature = "v2_82" )] |
16170 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
16171 | pub fn g_file_move_async_with_closures( |
16172 | source: *mut GFile, |
16173 | destination: *mut GFile, |
16174 | flags: GFileCopyFlags, |
16175 | io_priority: c_int, |
16176 | cancellable: *mut GCancellable, |
16177 | progress_callback_closure: *mut gobject::GClosure, |
16178 | ready_callback_closure: *mut gobject::GClosure, |
16179 | ); |
16180 | #[cfg (feature = "v2_72" )] |
16181 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_72" )))] |
16182 | pub fn g_file_move_finish( |
16183 | file: *mut GFile, |
16184 | result: *mut GAsyncResult, |
16185 | error: *mut *mut glib::GError, |
16186 | ) -> gboolean; |
16187 | pub unsafefn g_file_open_readwrite( |
16188 | file: *mut GFile, |
16189 | cancellable: *mut GCancellable, |
16190 | error: *mut *mut glib::GError, |
16191 | ) -> *mut GFileIOStream; |
16192 | pub unsafefn g_file_open_readwrite_async( |
16193 | file: *mut GFile, |
16194 | io_priority: c_int, |
16195 | cancellable: *mut GCancellable, |
16196 | callback: GAsyncReadyCallback, |
16197 | user_data: gpointer, |
16198 | ); |
16199 | pub unsafefn g_file_open_readwrite_finish( |
16200 | file: *mut GFile, |
16201 | res: *mut GAsyncResult, |
16202 | error: *mut *mut glib::GError, |
16203 | ) -> *mut GFileIOStream; |
16204 | pub unsafefn g_file_peek_path(file: *mut GFile) -> *const c_char; |
16205 | pub unsafefn g_file_poll_mountable( |
16206 | file: *mut GFile, |
16207 | cancellable: *mut GCancellable, |
16208 | callback: GAsyncReadyCallback, |
16209 | user_data: gpointer, |
16210 | ); |
16211 | pub unsafefn g_file_poll_mountable_finish( |
16212 | file: *mut GFile, |
16213 | result: *mut GAsyncResult, |
16214 | error: *mut *mut glib::GError, |
16215 | ) -> gboolean; |
16216 | pub unsafefn g_file_query_default_handler( |
16217 | file: *mut GFile, |
16218 | cancellable: *mut GCancellable, |
16219 | error: *mut *mut glib::GError, |
16220 | ) -> *mut GAppInfo; |
16221 | #[cfg (feature = "v2_60" )] |
16222 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
16223 | pub fn g_file_query_default_handler_async( |
16224 | file: *mut GFile, |
16225 | io_priority: c_int, |
16226 | cancellable: *mut GCancellable, |
16227 | callback: GAsyncReadyCallback, |
16228 | user_data: gpointer, |
16229 | ); |
16230 | #[cfg (feature = "v2_60" )] |
16231 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
16232 | pub fn g_file_query_default_handler_finish( |
16233 | file: *mut GFile, |
16234 | result: *mut GAsyncResult, |
16235 | error: *mut *mut glib::GError, |
16236 | ) -> *mut GAppInfo; |
16237 | pub unsafefn g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable) -> gboolean; |
16238 | pub unsafefn g_file_query_file_type( |
16239 | file: *mut GFile, |
16240 | flags: GFileQueryInfoFlags, |
16241 | cancellable: *mut GCancellable, |
16242 | ) -> GFileType; |
16243 | pub unsafefn g_file_query_filesystem_info( |
16244 | file: *mut GFile, |
16245 | attributes: *const c_char, |
16246 | cancellable: *mut GCancellable, |
16247 | error: *mut *mut glib::GError, |
16248 | ) -> *mut GFileInfo; |
16249 | pub unsafefn g_file_query_filesystem_info_async( |
16250 | file: *mut GFile, |
16251 | attributes: *const c_char, |
16252 | io_priority: c_int, |
16253 | cancellable: *mut GCancellable, |
16254 | callback: GAsyncReadyCallback, |
16255 | user_data: gpointer, |
16256 | ); |
16257 | pub unsafefn g_file_query_filesystem_info_finish( |
16258 | file: *mut GFile, |
16259 | res: *mut GAsyncResult, |
16260 | error: *mut *mut glib::GError, |
16261 | ) -> *mut GFileInfo; |
16262 | pub unsafefn g_file_query_info( |
16263 | file: *mut GFile, |
16264 | attributes: *const c_char, |
16265 | flags: GFileQueryInfoFlags, |
16266 | cancellable: *mut GCancellable, |
16267 | error: *mut *mut glib::GError, |
16268 | ) -> *mut GFileInfo; |
16269 | pub unsafefn g_file_query_info_async( |
16270 | file: *mut GFile, |
16271 | attributes: *const c_char, |
16272 | flags: GFileQueryInfoFlags, |
16273 | io_priority: c_int, |
16274 | cancellable: *mut GCancellable, |
16275 | callback: GAsyncReadyCallback, |
16276 | user_data: gpointer, |
16277 | ); |
16278 | pub unsafefn g_file_query_info_finish( |
16279 | file: *mut GFile, |
16280 | res: *mut GAsyncResult, |
16281 | error: *mut *mut glib::GError, |
16282 | ) -> *mut GFileInfo; |
16283 | pub unsafefn g_file_query_settable_attributes( |
16284 | file: *mut GFile, |
16285 | cancellable: *mut GCancellable, |
16286 | error: *mut *mut glib::GError, |
16287 | ) -> *mut GFileAttributeInfoList; |
16288 | pub unsafefn g_file_query_writable_namespaces( |
16289 | file: *mut GFile, |
16290 | cancellable: *mut GCancellable, |
16291 | error: *mut *mut glib::GError, |
16292 | ) -> *mut GFileAttributeInfoList; |
16293 | pub unsafefn g_file_read( |
16294 | file: *mut GFile, |
16295 | cancellable: *mut GCancellable, |
16296 | error: *mut *mut glib::GError, |
16297 | ) -> *mut GFileInputStream; |
16298 | pub unsafefn g_file_read_async( |
16299 | file: *mut GFile, |
16300 | io_priority: c_int, |
16301 | cancellable: *mut GCancellable, |
16302 | callback: GAsyncReadyCallback, |
16303 | user_data: gpointer, |
16304 | ); |
16305 | pub unsafefn g_file_read_finish( |
16306 | file: *mut GFile, |
16307 | res: *mut GAsyncResult, |
16308 | error: *mut *mut glib::GError, |
16309 | ) -> *mut GFileInputStream; |
16310 | pub unsafefn g_file_replace( |
16311 | file: *mut GFile, |
16312 | etag: *const c_char, |
16313 | make_backup: gboolean, |
16314 | flags: GFileCreateFlags, |
16315 | cancellable: *mut GCancellable, |
16316 | error: *mut *mut glib::GError, |
16317 | ) -> *mut GFileOutputStream; |
16318 | pub unsafefn g_file_replace_async( |
16319 | file: *mut GFile, |
16320 | etag: *const c_char, |
16321 | make_backup: gboolean, |
16322 | flags: GFileCreateFlags, |
16323 | io_priority: c_int, |
16324 | cancellable: *mut GCancellable, |
16325 | callback: GAsyncReadyCallback, |
16326 | user_data: gpointer, |
16327 | ); |
16328 | pub unsafefn g_file_replace_contents( |
16329 | file: *mut GFile, |
16330 | contents: *const u8, |
16331 | length: size_t, |
16332 | etag: *const c_char, |
16333 | make_backup: gboolean, |
16334 | flags: GFileCreateFlags, |
16335 | new_etag: *mut *mut c_char, |
16336 | cancellable: *mut GCancellable, |
16337 | error: *mut *mut glib::GError, |
16338 | ) -> gboolean; |
16339 | pub unsafefn g_file_replace_contents_async( |
16340 | file: *mut GFile, |
16341 | contents: *const u8, |
16342 | length: size_t, |
16343 | etag: *const c_char, |
16344 | make_backup: gboolean, |
16345 | flags: GFileCreateFlags, |
16346 | cancellable: *mut GCancellable, |
16347 | callback: GAsyncReadyCallback, |
16348 | user_data: gpointer, |
16349 | ); |
16350 | pub unsafefn g_file_replace_contents_bytes_async( |
16351 | file: *mut GFile, |
16352 | contents: *mut glib::GBytes, |
16353 | etag: *const c_char, |
16354 | make_backup: gboolean, |
16355 | flags: GFileCreateFlags, |
16356 | cancellable: *mut GCancellable, |
16357 | callback: GAsyncReadyCallback, |
16358 | user_data: gpointer, |
16359 | ); |
16360 | pub unsafefn g_file_replace_contents_finish( |
16361 | file: *mut GFile, |
16362 | res: *mut GAsyncResult, |
16363 | new_etag: *mut *mut c_char, |
16364 | error: *mut *mut glib::GError, |
16365 | ) -> gboolean; |
16366 | pub unsafefn g_file_replace_finish( |
16367 | file: *mut GFile, |
16368 | res: *mut GAsyncResult, |
16369 | error: *mut *mut glib::GError, |
16370 | ) -> *mut GFileOutputStream; |
16371 | pub unsafefn g_file_replace_readwrite( |
16372 | file: *mut GFile, |
16373 | etag: *const c_char, |
16374 | make_backup: gboolean, |
16375 | flags: GFileCreateFlags, |
16376 | cancellable: *mut GCancellable, |
16377 | error: *mut *mut glib::GError, |
16378 | ) -> *mut GFileIOStream; |
16379 | pub unsafefn g_file_replace_readwrite_async( |
16380 | file: *mut GFile, |
16381 | etag: *const c_char, |
16382 | make_backup: gboolean, |
16383 | flags: GFileCreateFlags, |
16384 | io_priority: c_int, |
16385 | cancellable: *mut GCancellable, |
16386 | callback: GAsyncReadyCallback, |
16387 | user_data: gpointer, |
16388 | ); |
16389 | pub unsafefn g_file_replace_readwrite_finish( |
16390 | file: *mut GFile, |
16391 | res: *mut GAsyncResult, |
16392 | error: *mut *mut glib::GError, |
16393 | ) -> *mut GFileIOStream; |
16394 | pub unsafefn g_file_resolve_relative_path( |
16395 | file: *mut GFile, |
16396 | relative_path: *const c_char, |
16397 | ) -> *mut GFile; |
16398 | pub unsafefn g_file_set_attribute( |
16399 | file: *mut GFile, |
16400 | attribute: *const c_char, |
16401 | type_: GFileAttributeType, |
16402 | value_p: gpointer, |
16403 | flags: GFileQueryInfoFlags, |
16404 | cancellable: *mut GCancellable, |
16405 | error: *mut *mut glib::GError, |
16406 | ) -> gboolean; |
16407 | pub unsafefn g_file_set_attribute_byte_string( |
16408 | file: *mut GFile, |
16409 | attribute: *const c_char, |
16410 | value: *const c_char, |
16411 | flags: GFileQueryInfoFlags, |
16412 | cancellable: *mut GCancellable, |
16413 | error: *mut *mut glib::GError, |
16414 | ) -> gboolean; |
16415 | pub unsafefn g_file_set_attribute_int32( |
16416 | file: *mut GFile, |
16417 | attribute: *const c_char, |
16418 | value: i32, |
16419 | flags: GFileQueryInfoFlags, |
16420 | cancellable: *mut GCancellable, |
16421 | error: *mut *mut glib::GError, |
16422 | ) -> gboolean; |
16423 | pub unsafefn g_file_set_attribute_int64( |
16424 | file: *mut GFile, |
16425 | attribute: *const c_char, |
16426 | value: i64, |
16427 | flags: GFileQueryInfoFlags, |
16428 | cancellable: *mut GCancellable, |
16429 | error: *mut *mut glib::GError, |
16430 | ) -> gboolean; |
16431 | pub unsafefn g_file_set_attribute_string( |
16432 | file: *mut GFile, |
16433 | attribute: *const c_char, |
16434 | value: *const c_char, |
16435 | flags: GFileQueryInfoFlags, |
16436 | cancellable: *mut GCancellable, |
16437 | error: *mut *mut glib::GError, |
16438 | ) -> gboolean; |
16439 | pub unsafefn g_file_set_attribute_uint32( |
16440 | file: *mut GFile, |
16441 | attribute: *const c_char, |
16442 | value: u32, |
16443 | flags: GFileQueryInfoFlags, |
16444 | cancellable: *mut GCancellable, |
16445 | error: *mut *mut glib::GError, |
16446 | ) -> gboolean; |
16447 | pub unsafefn g_file_set_attribute_uint64( |
16448 | file: *mut GFile, |
16449 | attribute: *const c_char, |
16450 | value: u64, |
16451 | flags: GFileQueryInfoFlags, |
16452 | cancellable: *mut GCancellable, |
16453 | error: *mut *mut glib::GError, |
16454 | ) -> gboolean; |
16455 | pub unsafefn g_file_set_attributes_async( |
16456 | file: *mut GFile, |
16457 | info: *mut GFileInfo, |
16458 | flags: GFileQueryInfoFlags, |
16459 | io_priority: c_int, |
16460 | cancellable: *mut GCancellable, |
16461 | callback: GAsyncReadyCallback, |
16462 | user_data: gpointer, |
16463 | ); |
16464 | pub unsafefn g_file_set_attributes_finish( |
16465 | file: *mut GFile, |
16466 | result: *mut GAsyncResult, |
16467 | info: *mut *mut GFileInfo, |
16468 | error: *mut *mut glib::GError, |
16469 | ) -> gboolean; |
16470 | pub unsafefn g_file_set_attributes_from_info( |
16471 | file: *mut GFile, |
16472 | info: *mut GFileInfo, |
16473 | flags: GFileQueryInfoFlags, |
16474 | cancellable: *mut GCancellable, |
16475 | error: *mut *mut glib::GError, |
16476 | ) -> gboolean; |
16477 | pub unsafefn g_file_set_display_name( |
16478 | file: *mut GFile, |
16479 | display_name: *const c_char, |
16480 | cancellable: *mut GCancellable, |
16481 | error: *mut *mut glib::GError, |
16482 | ) -> *mut GFile; |
16483 | pub unsafefn g_file_set_display_name_async( |
16484 | file: *mut GFile, |
16485 | display_name: *const c_char, |
16486 | io_priority: c_int, |
16487 | cancellable: *mut GCancellable, |
16488 | callback: GAsyncReadyCallback, |
16489 | user_data: gpointer, |
16490 | ); |
16491 | pub unsafefn g_file_set_display_name_finish( |
16492 | file: *mut GFile, |
16493 | res: *mut GAsyncResult, |
16494 | error: *mut *mut glib::GError, |
16495 | ) -> *mut GFile; |
16496 | pub unsafefn g_file_start_mountable( |
16497 | file: *mut GFile, |
16498 | flags: GDriveStartFlags, |
16499 | start_operation: *mut GMountOperation, |
16500 | cancellable: *mut GCancellable, |
16501 | callback: GAsyncReadyCallback, |
16502 | user_data: gpointer, |
16503 | ); |
16504 | pub unsafefn g_file_start_mountable_finish( |
16505 | file: *mut GFile, |
16506 | result: *mut GAsyncResult, |
16507 | error: *mut *mut glib::GError, |
16508 | ) -> gboolean; |
16509 | pub unsafefn g_file_stop_mountable( |
16510 | file: *mut GFile, |
16511 | flags: GMountUnmountFlags, |
16512 | mount_operation: *mut GMountOperation, |
16513 | cancellable: *mut GCancellable, |
16514 | callback: GAsyncReadyCallback, |
16515 | user_data: gpointer, |
16516 | ); |
16517 | pub unsafefn g_file_stop_mountable_finish( |
16518 | file: *mut GFile, |
16519 | result: *mut GAsyncResult, |
16520 | error: *mut *mut glib::GError, |
16521 | ) -> gboolean; |
16522 | pub unsafefn g_file_supports_thread_contexts(file: *mut GFile) -> gboolean; |
16523 | pub unsafefn g_file_trash( |
16524 | file: *mut GFile, |
16525 | cancellable: *mut GCancellable, |
16526 | error: *mut *mut glib::GError, |
16527 | ) -> gboolean; |
16528 | pub unsafefn g_file_trash_async( |
16529 | file: *mut GFile, |
16530 | io_priority: c_int, |
16531 | cancellable: *mut GCancellable, |
16532 | callback: GAsyncReadyCallback, |
16533 | user_data: gpointer, |
16534 | ); |
16535 | pub unsafefn g_file_trash_finish( |
16536 | file: *mut GFile, |
16537 | result: *mut GAsyncResult, |
16538 | error: *mut *mut glib::GError, |
16539 | ) -> gboolean; |
16540 | pub unsafefn g_file_unmount_mountable( |
16541 | file: *mut GFile, |
16542 | flags: GMountUnmountFlags, |
16543 | cancellable: *mut GCancellable, |
16544 | callback: GAsyncReadyCallback, |
16545 | user_data: gpointer, |
16546 | ); |
16547 | pub unsafefn g_file_unmount_mountable_finish( |
16548 | file: *mut GFile, |
16549 | result: *mut GAsyncResult, |
16550 | error: *mut *mut glib::GError, |
16551 | ) -> gboolean; |
16552 | pub unsafefn g_file_unmount_mountable_with_operation( |
16553 | file: *mut GFile, |
16554 | flags: GMountUnmountFlags, |
16555 | mount_operation: *mut GMountOperation, |
16556 | cancellable: *mut GCancellable, |
16557 | callback: GAsyncReadyCallback, |
16558 | user_data: gpointer, |
16559 | ); |
16560 | pub unsafefn g_file_unmount_mountable_with_operation_finish( |
16561 | file: *mut GFile, |
16562 | result: *mut GAsyncResult, |
16563 | error: *mut *mut glib::GError, |
16564 | ) -> gboolean; |
16565 | |
16566 | //========================================================================= |
16567 | // GFileDescriptorBased |
16568 | //========================================================================= |
16569 | pub unsafefn g_file_descriptor_based_get_type() -> GType; |
16570 | pub unsafefn g_file_descriptor_based_get_fd(fd_based: *mut GFileDescriptorBased) -> c_int; |
16571 | |
16572 | //========================================================================= |
16573 | // GIcon |
16574 | //========================================================================= |
16575 | pub unsafefn g_icon_get_type() -> GType; |
16576 | pub unsafefn g_icon_deserialize(value: *mut glib::GVariant) -> *mut GIcon; |
16577 | pub unsafefn g_icon_new_for_string(str: *const c_char, error: *mut *mut glib::GError) -> *mut GIcon; |
16578 | pub unsafefn g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean; |
16579 | pub unsafefn g_icon_hash(icon: gconstpointer) -> c_uint; |
16580 | pub unsafefn g_icon_serialize(icon: *mut GIcon) -> *mut glib::GVariant; |
16581 | pub unsafefn g_icon_to_string(icon: *mut GIcon) -> *mut c_char; |
16582 | |
16583 | //========================================================================= |
16584 | // GInitable |
16585 | //========================================================================= |
16586 | pub unsafefn g_initable_get_type() -> GType; |
16587 | pub unsafefn g_initable_new( |
16588 | object_type: GType, |
16589 | cancellable: *mut GCancellable, |
16590 | error: *mut *mut glib::GError, |
16591 | first_property_name: *const c_char, |
16592 | ... |
16593 | ) -> *mut gobject::GObject; |
16594 | //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; |
16595 | pub unsafefn g_initable_newv( |
16596 | object_type: GType, |
16597 | n_parameters: c_uint, |
16598 | parameters: *mut gobject::GParameter, |
16599 | cancellable: *mut GCancellable, |
16600 | error: *mut *mut glib::GError, |
16601 | ) -> *mut gobject::GObject; |
16602 | pub unsafefn g_initable_init( |
16603 | initable: *mut GInitable, |
16604 | cancellable: *mut GCancellable, |
16605 | error: *mut *mut glib::GError, |
16606 | ) -> gboolean; |
16607 | |
16608 | //========================================================================= |
16609 | // GListModel |
16610 | //========================================================================= |
16611 | pub unsafefn g_list_model_get_type() -> GType; |
16612 | pub unsafefn g_list_model_get_item(list: *mut GListModel, position: c_uint) -> gpointer; |
16613 | pub unsafefn g_list_model_get_item_type(list: *mut GListModel) -> GType; |
16614 | pub unsafefn g_list_model_get_n_items(list: *mut GListModel) -> c_uint; |
16615 | pub unsafefn g_list_model_get_object( |
16616 | list: *mut GListModel, |
16617 | position: c_uint, |
16618 | ) -> *mut gobject::GObject; |
16619 | pub unsafefn g_list_model_items_changed( |
16620 | list: *mut GListModel, |
16621 | position: c_uint, |
16622 | removed: c_uint, |
16623 | added: c_uint, |
16624 | ); |
16625 | |
16626 | //========================================================================= |
16627 | // GLoadableIcon |
16628 | //========================================================================= |
16629 | pub unsafefn g_loadable_icon_get_type() -> GType; |
16630 | pub unsafefn g_loadable_icon_load( |
16631 | icon: *mut GLoadableIcon, |
16632 | size: c_int, |
16633 | type_: *mut *mut c_char, |
16634 | cancellable: *mut GCancellable, |
16635 | error: *mut *mut glib::GError, |
16636 | ) -> *mut GInputStream; |
16637 | pub unsafefn g_loadable_icon_load_async( |
16638 | icon: *mut GLoadableIcon, |
16639 | size: c_int, |
16640 | cancellable: *mut GCancellable, |
16641 | callback: GAsyncReadyCallback, |
16642 | user_data: gpointer, |
16643 | ); |
16644 | pub unsafefn g_loadable_icon_load_finish( |
16645 | icon: *mut GLoadableIcon, |
16646 | res: *mut GAsyncResult, |
16647 | type_: *mut *mut c_char, |
16648 | error: *mut *mut glib::GError, |
16649 | ) -> *mut GInputStream; |
16650 | |
16651 | //========================================================================= |
16652 | // GMemoryMonitor |
16653 | //========================================================================= |
16654 | #[cfg (feature = "v2_64" )] |
16655 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
16656 | pub fn g_memory_monitor_get_type() -> GType; |
16657 | #[cfg (feature = "v2_64" )] |
16658 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_64" )))] |
16659 | pub fn g_memory_monitor_dup_default() -> *mut GMemoryMonitor; |
16660 | |
16661 | //========================================================================= |
16662 | // GMount |
16663 | //========================================================================= |
16664 | pub unsafefn g_mount_get_type() -> GType; |
16665 | pub unsafefn g_mount_can_eject(mount: *mut GMount) -> gboolean; |
16666 | pub unsafefn g_mount_can_unmount(mount: *mut GMount) -> gboolean; |
16667 | pub unsafefn g_mount_eject( |
16668 | mount: *mut GMount, |
16669 | flags: GMountUnmountFlags, |
16670 | cancellable: *mut GCancellable, |
16671 | callback: GAsyncReadyCallback, |
16672 | user_data: gpointer, |
16673 | ); |
16674 | pub unsafefn g_mount_eject_finish( |
16675 | mount: *mut GMount, |
16676 | result: *mut GAsyncResult, |
16677 | error: *mut *mut glib::GError, |
16678 | ) -> gboolean; |
16679 | pub unsafefn g_mount_eject_with_operation( |
16680 | mount: *mut GMount, |
16681 | flags: GMountUnmountFlags, |
16682 | mount_operation: *mut GMountOperation, |
16683 | cancellable: *mut GCancellable, |
16684 | callback: GAsyncReadyCallback, |
16685 | user_data: gpointer, |
16686 | ); |
16687 | pub unsafefn g_mount_eject_with_operation_finish( |
16688 | mount: *mut GMount, |
16689 | result: *mut GAsyncResult, |
16690 | error: *mut *mut glib::GError, |
16691 | ) -> gboolean; |
16692 | pub unsafefn g_mount_get_default_location(mount: *mut GMount) -> *mut GFile; |
16693 | pub unsafefn g_mount_get_drive(mount: *mut GMount) -> *mut GDrive; |
16694 | pub unsafefn g_mount_get_icon(mount: *mut GMount) -> *mut GIcon; |
16695 | pub unsafefn g_mount_get_name(mount: *mut GMount) -> *mut c_char; |
16696 | pub unsafefn g_mount_get_root(mount: *mut GMount) -> *mut GFile; |
16697 | pub unsafefn g_mount_get_sort_key(mount: *mut GMount) -> *const c_char; |
16698 | pub unsafefn g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon; |
16699 | pub unsafefn g_mount_get_uuid(mount: *mut GMount) -> *mut c_char; |
16700 | pub unsafefn g_mount_get_volume(mount: *mut GMount) -> *mut GVolume; |
16701 | pub unsafefn g_mount_guess_content_type( |
16702 | mount: *mut GMount, |
16703 | force_rescan: gboolean, |
16704 | cancellable: *mut GCancellable, |
16705 | callback: GAsyncReadyCallback, |
16706 | user_data: gpointer, |
16707 | ); |
16708 | pub unsafefn g_mount_guess_content_type_finish( |
16709 | mount: *mut GMount, |
16710 | result: *mut GAsyncResult, |
16711 | error: *mut *mut glib::GError, |
16712 | ) -> *mut *mut c_char; |
16713 | pub unsafefn g_mount_guess_content_type_sync( |
16714 | mount: *mut GMount, |
16715 | force_rescan: gboolean, |
16716 | cancellable: *mut GCancellable, |
16717 | error: *mut *mut glib::GError, |
16718 | ) -> *mut *mut c_char; |
16719 | pub unsafefn g_mount_is_shadowed(mount: *mut GMount) -> gboolean; |
16720 | pub unsafefn g_mount_remount( |
16721 | mount: *mut GMount, |
16722 | flags: GMountMountFlags, |
16723 | mount_operation: *mut GMountOperation, |
16724 | cancellable: *mut GCancellable, |
16725 | callback: GAsyncReadyCallback, |
16726 | user_data: gpointer, |
16727 | ); |
16728 | pub unsafefn g_mount_remount_finish( |
16729 | mount: *mut GMount, |
16730 | result: *mut GAsyncResult, |
16731 | error: *mut *mut glib::GError, |
16732 | ) -> gboolean; |
16733 | pub unsafefn g_mount_shadow(mount: *mut GMount); |
16734 | pub unsafefn g_mount_unmount( |
16735 | mount: *mut GMount, |
16736 | flags: GMountUnmountFlags, |
16737 | cancellable: *mut GCancellable, |
16738 | callback: GAsyncReadyCallback, |
16739 | user_data: gpointer, |
16740 | ); |
16741 | pub unsafefn g_mount_unmount_finish( |
16742 | mount: *mut GMount, |
16743 | result: *mut GAsyncResult, |
16744 | error: *mut *mut glib::GError, |
16745 | ) -> gboolean; |
16746 | pub unsafefn g_mount_unmount_with_operation( |
16747 | mount: *mut GMount, |
16748 | flags: GMountUnmountFlags, |
16749 | mount_operation: *mut GMountOperation, |
16750 | cancellable: *mut GCancellable, |
16751 | callback: GAsyncReadyCallback, |
16752 | user_data: gpointer, |
16753 | ); |
16754 | pub unsafefn g_mount_unmount_with_operation_finish( |
16755 | mount: *mut GMount, |
16756 | result: *mut GAsyncResult, |
16757 | error: *mut *mut glib::GError, |
16758 | ) -> gboolean; |
16759 | pub unsafefn g_mount_unshadow(mount: *mut GMount); |
16760 | |
16761 | //========================================================================= |
16762 | // GNetworkMonitor |
16763 | //========================================================================= |
16764 | pub unsafefn g_network_monitor_get_type() -> GType; |
16765 | pub unsafefn g_network_monitor_get_default() -> *mut GNetworkMonitor; |
16766 | pub unsafefn g_network_monitor_can_reach( |
16767 | monitor: *mut GNetworkMonitor, |
16768 | connectable: *mut GSocketConnectable, |
16769 | cancellable: *mut GCancellable, |
16770 | error: *mut *mut glib::GError, |
16771 | ) -> gboolean; |
16772 | pub unsafefn g_network_monitor_can_reach_async( |
16773 | monitor: *mut GNetworkMonitor, |
16774 | connectable: *mut GSocketConnectable, |
16775 | cancellable: *mut GCancellable, |
16776 | callback: GAsyncReadyCallback, |
16777 | user_data: gpointer, |
16778 | ); |
16779 | pub unsafefn g_network_monitor_can_reach_finish( |
16780 | monitor: *mut GNetworkMonitor, |
16781 | result: *mut GAsyncResult, |
16782 | error: *mut *mut glib::GError, |
16783 | ) -> gboolean; |
16784 | pub unsafefn g_network_monitor_get_connectivity( |
16785 | monitor: *mut GNetworkMonitor, |
16786 | ) -> GNetworkConnectivity; |
16787 | pub unsafefn g_network_monitor_get_network_available(monitor: *mut GNetworkMonitor) -> gboolean; |
16788 | pub unsafefn g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean; |
16789 | |
16790 | //========================================================================= |
16791 | // GPollableInputStream |
16792 | //========================================================================= |
16793 | pub unsafefn g_pollable_input_stream_get_type() -> GType; |
16794 | pub unsafefn g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean; |
16795 | pub unsafefn g_pollable_input_stream_create_source( |
16796 | stream: *mut GPollableInputStream, |
16797 | cancellable: *mut GCancellable, |
16798 | ) -> *mut glib::GSource; |
16799 | pub unsafefn g_pollable_input_stream_is_readable(stream: *mut GPollableInputStream) -> gboolean; |
16800 | pub unsafefn g_pollable_input_stream_read_nonblocking( |
16801 | stream: *mut GPollableInputStream, |
16802 | buffer: *mut u8, |
16803 | count: size_t, |
16804 | cancellable: *mut GCancellable, |
16805 | error: *mut *mut glib::GError, |
16806 | ) -> ssize_t; |
16807 | |
16808 | //========================================================================= |
16809 | // GPollableOutputStream |
16810 | //========================================================================= |
16811 | pub unsafefn g_pollable_output_stream_get_type() -> GType; |
16812 | pub unsafefn g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream) -> gboolean; |
16813 | pub unsafefn g_pollable_output_stream_create_source( |
16814 | stream: *mut GPollableOutputStream, |
16815 | cancellable: *mut GCancellable, |
16816 | ) -> *mut glib::GSource; |
16817 | pub unsafefn g_pollable_output_stream_is_writable(stream: *mut GPollableOutputStream) -> gboolean; |
16818 | pub unsafefn g_pollable_output_stream_write_nonblocking( |
16819 | stream: *mut GPollableOutputStream, |
16820 | buffer: *mut u8, |
16821 | count: size_t, |
16822 | cancellable: *mut GCancellable, |
16823 | error: *mut *mut glib::GError, |
16824 | ) -> ssize_t; |
16825 | #[cfg (feature = "v2_60" )] |
16826 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
16827 | pub fn g_pollable_output_stream_writev_nonblocking( |
16828 | stream: *mut GPollableOutputStream, |
16829 | vectors: *const GOutputVector, |
16830 | n_vectors: size_t, |
16831 | bytes_written: *mut size_t, |
16832 | cancellable: *mut GCancellable, |
16833 | error: *mut *mut glib::GError, |
16834 | ) -> GPollableReturn; |
16835 | |
16836 | //========================================================================= |
16837 | // GPowerProfileMonitor |
16838 | //========================================================================= |
16839 | #[cfg (feature = "v2_70" )] |
16840 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
16841 | pub fn g_power_profile_monitor_get_type() -> GType; |
16842 | #[cfg (feature = "v2_70" )] |
16843 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
16844 | pub fn g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor; |
16845 | #[cfg (feature = "v2_70" )] |
16846 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
16847 | pub fn g_power_profile_monitor_get_power_saver_enabled( |
16848 | monitor: *mut GPowerProfileMonitor, |
16849 | ) -> gboolean; |
16850 | |
16851 | //========================================================================= |
16852 | // GProxy |
16853 | //========================================================================= |
16854 | pub unsafefn g_proxy_get_type() -> GType; |
16855 | pub unsafefn g_proxy_get_default_for_protocol(protocol: *const c_char) -> *mut GProxy; |
16856 | pub unsafefn g_proxy_connect( |
16857 | proxy: *mut GProxy, |
16858 | connection: *mut GIOStream, |
16859 | proxy_address: *mut GProxyAddress, |
16860 | cancellable: *mut GCancellable, |
16861 | error: *mut *mut glib::GError, |
16862 | ) -> *mut GIOStream; |
16863 | pub unsafefn g_proxy_connect_async( |
16864 | proxy: *mut GProxy, |
16865 | connection: *mut GIOStream, |
16866 | proxy_address: *mut GProxyAddress, |
16867 | cancellable: *mut GCancellable, |
16868 | callback: GAsyncReadyCallback, |
16869 | user_data: gpointer, |
16870 | ); |
16871 | pub unsafefn g_proxy_connect_finish( |
16872 | proxy: *mut GProxy, |
16873 | result: *mut GAsyncResult, |
16874 | error: *mut *mut glib::GError, |
16875 | ) -> *mut GIOStream; |
16876 | pub unsafefn g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean; |
16877 | |
16878 | //========================================================================= |
16879 | // GProxyResolver |
16880 | //========================================================================= |
16881 | pub unsafefn g_proxy_resolver_get_type() -> GType; |
16882 | pub unsafefn g_proxy_resolver_get_default() -> *mut GProxyResolver; |
16883 | pub unsafefn g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean; |
16884 | pub unsafefn g_proxy_resolver_lookup( |
16885 | resolver: *mut GProxyResolver, |
16886 | uri: *const c_char, |
16887 | cancellable: *mut GCancellable, |
16888 | error: *mut *mut glib::GError, |
16889 | ) -> *mut *mut c_char; |
16890 | pub unsafefn g_proxy_resolver_lookup_async( |
16891 | resolver: *mut GProxyResolver, |
16892 | uri: *const c_char, |
16893 | cancellable: *mut GCancellable, |
16894 | callback: GAsyncReadyCallback, |
16895 | user_data: gpointer, |
16896 | ); |
16897 | pub unsafefn g_proxy_resolver_lookup_finish( |
16898 | resolver: *mut GProxyResolver, |
16899 | result: *mut GAsyncResult, |
16900 | error: *mut *mut glib::GError, |
16901 | ) -> *mut *mut c_char; |
16902 | |
16903 | //========================================================================= |
16904 | // GRemoteActionGroup |
16905 | //========================================================================= |
16906 | pub unsafefn g_remote_action_group_get_type() -> GType; |
16907 | pub unsafefn g_remote_action_group_activate_action_full( |
16908 | remote: *mut GRemoteActionGroup, |
16909 | action_name: *const c_char, |
16910 | parameter: *mut glib::GVariant, |
16911 | platform_data: *mut glib::GVariant, |
16912 | ); |
16913 | pub unsafefn g_remote_action_group_change_action_state_full( |
16914 | remote: *mut GRemoteActionGroup, |
16915 | action_name: *const c_char, |
16916 | value: *mut glib::GVariant, |
16917 | platform_data: *mut glib::GVariant, |
16918 | ); |
16919 | |
16920 | //========================================================================= |
16921 | // GSeekable |
16922 | //========================================================================= |
16923 | pub unsafefn g_seekable_get_type() -> GType; |
16924 | pub unsafefn g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean; |
16925 | pub unsafefn g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean; |
16926 | pub unsafefn g_seekable_seek( |
16927 | seekable: *mut GSeekable, |
16928 | offset: i64, |
16929 | type_: glib::GSeekType, |
16930 | cancellable: *mut GCancellable, |
16931 | error: *mut *mut glib::GError, |
16932 | ) -> gboolean; |
16933 | pub unsafefn g_seekable_tell(seekable: *mut GSeekable) -> i64; |
16934 | pub unsafefn g_seekable_truncate( |
16935 | seekable: *mut GSeekable, |
16936 | offset: i64, |
16937 | cancellable: *mut GCancellable, |
16938 | error: *mut *mut glib::GError, |
16939 | ) -> gboolean; |
16940 | |
16941 | //========================================================================= |
16942 | // GSocketConnectable |
16943 | //========================================================================= |
16944 | pub unsafefn g_socket_connectable_get_type() -> GType; |
16945 | pub unsafefn g_socket_connectable_enumerate( |
16946 | connectable: *mut GSocketConnectable, |
16947 | ) -> *mut GSocketAddressEnumerator; |
16948 | pub unsafefn g_socket_connectable_proxy_enumerate( |
16949 | connectable: *mut GSocketConnectable, |
16950 | ) -> *mut GSocketAddressEnumerator; |
16951 | pub unsafefn g_socket_connectable_to_string(connectable: *mut GSocketConnectable) -> *mut c_char; |
16952 | |
16953 | //========================================================================= |
16954 | // GTlsBackend |
16955 | //========================================================================= |
16956 | pub unsafefn g_tls_backend_get_type() -> GType; |
16957 | pub unsafefn g_tls_backend_get_default() -> *mut GTlsBackend; |
16958 | pub unsafefn g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType; |
16959 | pub unsafefn g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType; |
16960 | pub unsafefn g_tls_backend_get_default_database(backend: *mut GTlsBackend) -> *mut GTlsDatabase; |
16961 | pub unsafefn g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend) -> GType; |
16962 | pub unsafefn g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend) -> GType; |
16963 | pub unsafefn g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType; |
16964 | pub unsafefn g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType; |
16965 | #[cfg (feature = "v2_60" )] |
16966 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
16967 | pub fn g_tls_backend_set_default_database( |
16968 | backend: *mut GTlsBackend, |
16969 | database: *mut GTlsDatabase, |
16970 | ); |
16971 | pub unsafefn g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean; |
16972 | pub unsafefn g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean; |
16973 | |
16974 | //========================================================================= |
16975 | // GTlsClientConnection |
16976 | //========================================================================= |
16977 | pub unsafefn g_tls_client_connection_get_type() -> GType; |
16978 | pub unsafefn g_tls_client_connection_new( |
16979 | base_io_stream: *mut GIOStream, |
16980 | server_identity: *mut GSocketConnectable, |
16981 | error: *mut *mut glib::GError, |
16982 | ) -> *mut GTlsClientConnection; |
16983 | pub unsafefn g_tls_client_connection_copy_session_state( |
16984 | conn: *mut GTlsClientConnection, |
16985 | source: *mut GTlsClientConnection, |
16986 | ); |
16987 | pub unsafefn g_tls_client_connection_get_accepted_cas( |
16988 | conn: *mut GTlsClientConnection, |
16989 | ) -> *mut glib::GList; |
16990 | pub unsafefn g_tls_client_connection_get_server_identity( |
16991 | conn: *mut GTlsClientConnection, |
16992 | ) -> *mut GSocketConnectable; |
16993 | pub unsafefn g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection) -> gboolean; |
16994 | pub unsafefn g_tls_client_connection_get_validation_flags( |
16995 | conn: *mut GTlsClientConnection, |
16996 | ) -> GTlsCertificateFlags; |
16997 | pub unsafefn g_tls_client_connection_set_server_identity( |
16998 | conn: *mut GTlsClientConnection, |
16999 | identity: *mut GSocketConnectable, |
17000 | ); |
17001 | pub unsafefn g_tls_client_connection_set_use_ssl3( |
17002 | conn: *mut GTlsClientConnection, |
17003 | use_ssl3: gboolean, |
17004 | ); |
17005 | pub unsafefn g_tls_client_connection_set_validation_flags( |
17006 | conn: *mut GTlsClientConnection, |
17007 | flags: GTlsCertificateFlags, |
17008 | ); |
17009 | |
17010 | //========================================================================= |
17011 | // GTlsFileDatabase |
17012 | //========================================================================= |
17013 | pub unsafefn g_tls_file_database_get_type() -> GType; |
17014 | pub unsafefn g_tls_file_database_new( |
17015 | anchors: *const c_char, |
17016 | error: *mut *mut glib::GError, |
17017 | ) -> *mut GTlsFileDatabase; |
17018 | |
17019 | //========================================================================= |
17020 | // GTlsServerConnection |
17021 | //========================================================================= |
17022 | pub unsafefn g_tls_server_connection_get_type() -> GType; |
17023 | pub unsafefn g_tls_server_connection_new( |
17024 | base_io_stream: *mut GIOStream, |
17025 | certificate: *mut GTlsCertificate, |
17026 | error: *mut *mut glib::GError, |
17027 | ) -> *mut GTlsServerConnection; |
17028 | |
17029 | //========================================================================= |
17030 | // GVolume |
17031 | //========================================================================= |
17032 | pub unsafefn g_volume_get_type() -> GType; |
17033 | pub unsafefn g_volume_can_eject(volume: *mut GVolume) -> gboolean; |
17034 | pub unsafefn g_volume_can_mount(volume: *mut GVolume) -> gboolean; |
17035 | pub unsafefn g_volume_eject( |
17036 | volume: *mut GVolume, |
17037 | flags: GMountUnmountFlags, |
17038 | cancellable: *mut GCancellable, |
17039 | callback: GAsyncReadyCallback, |
17040 | user_data: gpointer, |
17041 | ); |
17042 | pub unsafefn g_volume_eject_finish( |
17043 | volume: *mut GVolume, |
17044 | result: *mut GAsyncResult, |
17045 | error: *mut *mut glib::GError, |
17046 | ) -> gboolean; |
17047 | pub unsafefn g_volume_eject_with_operation( |
17048 | volume: *mut GVolume, |
17049 | flags: GMountUnmountFlags, |
17050 | mount_operation: *mut GMountOperation, |
17051 | cancellable: *mut GCancellable, |
17052 | callback: GAsyncReadyCallback, |
17053 | user_data: gpointer, |
17054 | ); |
17055 | pub unsafefn g_volume_eject_with_operation_finish( |
17056 | volume: *mut GVolume, |
17057 | result: *mut GAsyncResult, |
17058 | error: *mut *mut glib::GError, |
17059 | ) -> gboolean; |
17060 | pub unsafefn g_volume_enumerate_identifiers(volume: *mut GVolume) -> *mut *mut c_char; |
17061 | pub unsafefn g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile; |
17062 | pub unsafefn g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive; |
17063 | pub unsafefn g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon; |
17064 | pub unsafefn g_volume_get_identifier(volume: *mut GVolume, kind: *const c_char) -> *mut c_char; |
17065 | pub unsafefn g_volume_get_mount(volume: *mut GVolume) -> *mut GMount; |
17066 | pub unsafefn g_volume_get_name(volume: *mut GVolume) -> *mut c_char; |
17067 | pub unsafefn g_volume_get_sort_key(volume: *mut GVolume) -> *const c_char; |
17068 | pub unsafefn g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon; |
17069 | pub unsafefn g_volume_get_uuid(volume: *mut GVolume) -> *mut c_char; |
17070 | pub unsafefn g_volume_mount( |
17071 | volume: *mut GVolume, |
17072 | flags: GMountMountFlags, |
17073 | mount_operation: *mut GMountOperation, |
17074 | cancellable: *mut GCancellable, |
17075 | callback: GAsyncReadyCallback, |
17076 | user_data: gpointer, |
17077 | ); |
17078 | pub unsafefn g_volume_mount_finish( |
17079 | volume: *mut GVolume, |
17080 | result: *mut GAsyncResult, |
17081 | error: *mut *mut glib::GError, |
17082 | ) -> gboolean; |
17083 | pub unsafefn g_volume_should_automount(volume: *mut GVolume) -> gboolean; |
17084 | |
17085 | //========================================================================= |
17086 | // Other functions |
17087 | //========================================================================= |
17088 | pub unsafefn g_bus_get( |
17089 | bus_type: GBusType, |
17090 | cancellable: *mut GCancellable, |
17091 | callback: GAsyncReadyCallback, |
17092 | user_data: gpointer, |
17093 | ); |
17094 | pub unsafefn g_bus_get_finish( |
17095 | res: *mut GAsyncResult, |
17096 | error: *mut *mut glib::GError, |
17097 | ) -> *mut GDBusConnection; |
17098 | pub unsafefn g_bus_get_sync( |
17099 | bus_type: GBusType, |
17100 | cancellable: *mut GCancellable, |
17101 | error: *mut *mut glib::GError, |
17102 | ) -> *mut GDBusConnection; |
17103 | pub unsafefn g_bus_own_name( |
17104 | bus_type: GBusType, |
17105 | name: *const c_char, |
17106 | flags: GBusNameOwnerFlags, |
17107 | bus_acquired_handler: GBusAcquiredCallback, |
17108 | name_acquired_handler: GBusNameAcquiredCallback, |
17109 | name_lost_handler: GBusNameLostCallback, |
17110 | user_data: gpointer, |
17111 | user_data_free_func: glib::GDestroyNotify, |
17112 | ) -> c_uint; |
17113 | pub unsafefn g_bus_own_name_on_connection( |
17114 | connection: *mut GDBusConnection, |
17115 | name: *const c_char, |
17116 | flags: GBusNameOwnerFlags, |
17117 | name_acquired_handler: GBusNameAcquiredCallback, |
17118 | name_lost_handler: GBusNameLostCallback, |
17119 | user_data: gpointer, |
17120 | user_data_free_func: glib::GDestroyNotify, |
17121 | ) -> c_uint; |
17122 | pub unsafefn g_bus_own_name_on_connection_with_closures( |
17123 | connection: *mut GDBusConnection, |
17124 | name: *const c_char, |
17125 | flags: GBusNameOwnerFlags, |
17126 | name_acquired_closure: *mut gobject::GClosure, |
17127 | name_lost_closure: *mut gobject::GClosure, |
17128 | ) -> c_uint; |
17129 | pub unsafefn g_bus_own_name_with_closures( |
17130 | bus_type: GBusType, |
17131 | name: *const c_char, |
17132 | flags: GBusNameOwnerFlags, |
17133 | bus_acquired_closure: *mut gobject::GClosure, |
17134 | name_acquired_closure: *mut gobject::GClosure, |
17135 | name_lost_closure: *mut gobject::GClosure, |
17136 | ) -> c_uint; |
17137 | pub unsafefn g_bus_unown_name(owner_id: c_uint); |
17138 | pub unsafefn g_bus_unwatch_name(watcher_id: c_uint); |
17139 | pub unsafefn g_bus_watch_name( |
17140 | bus_type: GBusType, |
17141 | name: *const c_char, |
17142 | flags: GBusNameWatcherFlags, |
17143 | name_appeared_handler: GBusNameAppearedCallback, |
17144 | name_vanished_handler: GBusNameVanishedCallback, |
17145 | user_data: gpointer, |
17146 | user_data_free_func: glib::GDestroyNotify, |
17147 | ) -> c_uint; |
17148 | pub unsafefn g_bus_watch_name_on_connection( |
17149 | connection: *mut GDBusConnection, |
17150 | name: *const c_char, |
17151 | flags: GBusNameWatcherFlags, |
17152 | name_appeared_handler: GBusNameAppearedCallback, |
17153 | name_vanished_handler: GBusNameVanishedCallback, |
17154 | user_data: gpointer, |
17155 | user_data_free_func: glib::GDestroyNotify, |
17156 | ) -> c_uint; |
17157 | pub unsafefn g_bus_watch_name_on_connection_with_closures( |
17158 | connection: *mut GDBusConnection, |
17159 | name: *const c_char, |
17160 | flags: GBusNameWatcherFlags, |
17161 | name_appeared_closure: *mut gobject::GClosure, |
17162 | name_vanished_closure: *mut gobject::GClosure, |
17163 | ) -> c_uint; |
17164 | pub unsafefn g_bus_watch_name_with_closures( |
17165 | bus_type: GBusType, |
17166 | name: *const c_char, |
17167 | flags: GBusNameWatcherFlags, |
17168 | name_appeared_closure: *mut gobject::GClosure, |
17169 | name_vanished_closure: *mut gobject::GClosure, |
17170 | ) -> c_uint; |
17171 | pub unsafefn g_content_type_can_be_executable(type_: *const c_char) -> gboolean; |
17172 | pub unsafefn g_content_type_equals(type1: *const c_char, type2: *const c_char) -> gboolean; |
17173 | pub unsafefn g_content_type_from_mime_type(mime_type: *const c_char) -> *mut c_char; |
17174 | pub unsafefn g_content_type_get_description(type_: *const c_char) -> *mut c_char; |
17175 | pub unsafefn g_content_type_get_generic_icon_name(type_: *const c_char) -> *mut c_char; |
17176 | pub unsafefn g_content_type_get_icon(type_: *const c_char) -> *mut GIcon; |
17177 | #[cfg (feature = "v2_60" )] |
17178 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
17179 | pub fn g_content_type_get_mime_dirs() -> *const *const c_char; |
17180 | pub unsafefn g_content_type_get_mime_type(type_: *const c_char) -> *mut c_char; |
17181 | pub unsafefn g_content_type_get_symbolic_icon(type_: *const c_char) -> *mut GIcon; |
17182 | pub unsafefn g_content_type_guess( |
17183 | filename: *const c_char, |
17184 | data: *const u8, |
17185 | data_size: size_t, |
17186 | result_uncertain: *mut gboolean, |
17187 | ) -> *mut c_char; |
17188 | pub unsafefn g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut c_char; |
17189 | pub unsafefn g_content_type_is_a(type_: *const c_char, supertype: *const c_char) -> gboolean; |
17190 | pub unsafefn g_content_type_is_mime_type(type_: *const c_char, mime_type: *const c_char) -> gboolean; |
17191 | pub unsafefn g_content_type_is_unknown(type_: *const c_char) -> gboolean; |
17192 | #[cfg (feature = "v2_60" )] |
17193 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
17194 | pub fn g_content_type_set_mime_dirs(dirs: *const *const c_char); |
17195 | pub unsafefn g_content_types_get_registered() -> *mut glib::GList; |
17196 | pub unsafefn g_dbus_address_escape_value(string: *const c_char) -> *mut c_char; |
17197 | pub unsafefn g_dbus_address_get_for_bus_sync( |
17198 | bus_type: GBusType, |
17199 | cancellable: *mut GCancellable, |
17200 | error: *mut *mut glib::GError, |
17201 | ) -> *mut c_char; |
17202 | pub unsafefn g_dbus_address_get_stream( |
17203 | address: *const c_char, |
17204 | cancellable: *mut GCancellable, |
17205 | callback: GAsyncReadyCallback, |
17206 | user_data: gpointer, |
17207 | ); |
17208 | pub unsafefn g_dbus_address_get_stream_finish( |
17209 | res: *mut GAsyncResult, |
17210 | out_guid: *mut *mut c_char, |
17211 | error: *mut *mut glib::GError, |
17212 | ) -> *mut GIOStream; |
17213 | pub unsafefn g_dbus_address_get_stream_sync( |
17214 | address: *const c_char, |
17215 | out_guid: *mut *mut c_char, |
17216 | cancellable: *mut GCancellable, |
17217 | error: *mut *mut glib::GError, |
17218 | ) -> *mut GIOStream; |
17219 | #[cfg (feature = "v2_68" )] |
17220 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
17221 | pub fn g_dbus_escape_object_path(s: *const c_char) -> *mut c_char; |
17222 | #[cfg (feature = "v2_68" )] |
17223 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
17224 | pub fn g_dbus_escape_object_path_bytestring(bytes: *const u8) -> *mut c_char; |
17225 | pub unsafefn g_dbus_generate_guid() -> *mut c_char; |
17226 | pub unsafefn g_dbus_gvalue_to_gvariant( |
17227 | gvalue: *const gobject::GValue, |
17228 | type_: *const glib::GVariantType, |
17229 | ) -> *mut glib::GVariant; |
17230 | pub unsafefn g_dbus_gvariant_to_gvalue(value: *mut glib::GVariant, out_gvalue: *mut gobject::GValue); |
17231 | pub unsafefn g_dbus_is_address(string: *const c_char) -> gboolean; |
17232 | #[cfg (feature = "v2_70" )] |
17233 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_70" )))] |
17234 | pub fn g_dbus_is_error_name(string: *const c_char) -> gboolean; |
17235 | pub unsafefn g_dbus_is_guid(string: *const c_char) -> gboolean; |
17236 | pub unsafefn g_dbus_is_interface_name(string: *const c_char) -> gboolean; |
17237 | pub unsafefn g_dbus_is_member_name(string: *const c_char) -> gboolean; |
17238 | pub unsafefn g_dbus_is_name(string: *const c_char) -> gboolean; |
17239 | pub unsafefn g_dbus_is_supported_address( |
17240 | string: *const c_char, |
17241 | error: *mut *mut glib::GError, |
17242 | ) -> gboolean; |
17243 | pub unsafefn g_dbus_is_unique_name(string: *const c_char) -> gboolean; |
17244 | #[cfg (feature = "v2_68" )] |
17245 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_68" )))] |
17246 | pub fn g_dbus_unescape_object_path(s: *const c_char) -> *mut u8; |
17247 | pub unsafefn g_io_error_from_errno(err_no: c_int) -> GIOErrorEnum; |
17248 | #[cfg (feature = "v2_74" )] |
17249 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_74" )))] |
17250 | pub fn g_io_error_from_file_error(file_error: glib::GFileError) -> GIOErrorEnum; |
17251 | pub unsafefn g_io_error_quark() -> glib::GQuark; |
17252 | pub unsafefn g_io_modules_load_all_in_directory(dirname: *const c_char) -> *mut glib::GList; |
17253 | pub unsafefn g_io_modules_load_all_in_directory_with_scope( |
17254 | dirname: *const c_char, |
17255 | scope: *mut GIOModuleScope, |
17256 | ) -> *mut glib::GList; |
17257 | pub unsafefn g_io_modules_scan_all_in_directory(dirname: *const c_char); |
17258 | pub unsafefn g_io_modules_scan_all_in_directory_with_scope( |
17259 | dirname: *const c_char, |
17260 | scope: *mut GIOModuleScope, |
17261 | ); |
17262 | pub unsafefn g_io_scheduler_cancel_all_jobs(); |
17263 | pub unsafefn g_io_scheduler_push_job( |
17264 | job_func: GIOSchedulerJobFunc, |
17265 | user_data: gpointer, |
17266 | notify: glib::GDestroyNotify, |
17267 | io_priority: c_int, |
17268 | cancellable: *mut GCancellable, |
17269 | ); |
17270 | pub unsafefn g_keyfile_settings_backend_new( |
17271 | filename: *const c_char, |
17272 | root_path: *const c_char, |
17273 | root_group: *const c_char, |
17274 | ) -> *mut GSettingsBackend; |
17275 | pub unsafefn g_memory_settings_backend_new() -> *mut GSettingsBackend; |
17276 | pub unsafefn g_networking_init(); |
17277 | pub unsafefn g_null_settings_backend_new() -> *mut GSettingsBackend; |
17278 | pub unsafefn g_pollable_source_new(pollable_stream: *mut gobject::GObject) -> *mut glib::GSource; |
17279 | pub unsafefn g_pollable_source_new_full( |
17280 | pollable_stream: *mut gobject::GObject, |
17281 | child_source: *mut glib::GSource, |
17282 | cancellable: *mut GCancellable, |
17283 | ) -> *mut glib::GSource; |
17284 | pub unsafefn g_pollable_stream_read( |
17285 | stream: *mut GInputStream, |
17286 | buffer: *mut u8, |
17287 | count: size_t, |
17288 | blocking: gboolean, |
17289 | cancellable: *mut GCancellable, |
17290 | error: *mut *mut glib::GError, |
17291 | ) -> ssize_t; |
17292 | pub unsafefn g_pollable_stream_write( |
17293 | stream: *mut GOutputStream, |
17294 | buffer: *mut u8, |
17295 | count: size_t, |
17296 | blocking: gboolean, |
17297 | cancellable: *mut GCancellable, |
17298 | error: *mut *mut glib::GError, |
17299 | ) -> ssize_t; |
17300 | pub unsafefn g_pollable_stream_write_all( |
17301 | stream: *mut GOutputStream, |
17302 | buffer: *mut u8, |
17303 | count: size_t, |
17304 | blocking: gboolean, |
17305 | bytes_written: *mut size_t, |
17306 | cancellable: *mut GCancellable, |
17307 | error: *mut *mut glib::GError, |
17308 | ) -> gboolean; |
17309 | pub unsafefn g_resources_enumerate_children( |
17310 | path: *const c_char, |
17311 | lookup_flags: GResourceLookupFlags, |
17312 | error: *mut *mut glib::GError, |
17313 | ) -> *mut *mut c_char; |
17314 | pub unsafefn g_resources_get_info( |
17315 | path: *const c_char, |
17316 | lookup_flags: GResourceLookupFlags, |
17317 | size: *mut size_t, |
17318 | flags: *mut u32, |
17319 | error: *mut *mut glib::GError, |
17320 | ) -> gboolean; |
17321 | #[cfg (feature = "v2_84" )] |
17322 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
17323 | pub fn g_resources_has_children(path: *const c_char) -> gboolean; |
17324 | pub unsafefn g_resources_lookup_data( |
17325 | path: *const c_char, |
17326 | lookup_flags: GResourceLookupFlags, |
17327 | error: *mut *mut glib::GError, |
17328 | ) -> *mut glib::GBytes; |
17329 | pub unsafefn g_resources_open_stream( |
17330 | path: *const c_char, |
17331 | lookup_flags: GResourceLookupFlags, |
17332 | error: *mut *mut glib::GError, |
17333 | ) -> *mut GInputStream; |
17334 | pub unsafefn g_resources_register(resource: *mut GResource); |
17335 | pub unsafefn g_resources_unregister(resource: *mut GResource); |
17336 | pub unsafefn g_simple_async_report_error_in_idle( |
17337 | object: *mut gobject::GObject, |
17338 | callback: GAsyncReadyCallback, |
17339 | user_data: gpointer, |
17340 | domain: glib::GQuark, |
17341 | code: c_int, |
17342 | format: *const c_char, |
17343 | ... |
17344 | ); |
17345 | pub unsafefn g_simple_async_report_gerror_in_idle( |
17346 | object: *mut gobject::GObject, |
17347 | callback: GAsyncReadyCallback, |
17348 | user_data: gpointer, |
17349 | error: *const glib::GError, |
17350 | ); |
17351 | pub unsafefn g_simple_async_report_take_gerror_in_idle( |
17352 | object: *mut gobject::GObject, |
17353 | callback: GAsyncReadyCallback, |
17354 | user_data: gpointer, |
17355 | error: *mut glib::GError, |
17356 | ); |
17357 | pub unsafefn g_unix_is_mount_path_system_internal(mount_path: *const c_char) -> gboolean; |
17358 | pub unsafefn g_unix_is_system_device_path(device_path: *const c_char) -> gboolean; |
17359 | pub unsafefn g_unix_is_system_fs_type(fs_type: *const c_char) -> gboolean; |
17360 | pub unsafefn g_unix_mount_at(mount_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry; |
17361 | pub unsafefn g_unix_mount_compare( |
17362 | mount1: *mut GUnixMountEntry, |
17363 | mount2: *mut GUnixMountEntry, |
17364 | ) -> c_int; |
17365 | pub unsafefn g_unix_mount_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry; |
17366 | #[cfg (feature = "v2_84" )] |
17367 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
17368 | pub fn g_unix_mount_entries_changed_since(time: u64) -> gboolean; |
17369 | #[cfg (feature = "v2_84" )] |
17370 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
17371 | pub fn g_unix_mount_entries_get(time_read: *mut u64) -> *mut glib::GList; |
17372 | #[cfg (feature = "v2_84" )] |
17373 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_84" )))] |
17374 | pub fn g_unix_mount_entries_get_from_file( |
17375 | table_path: *const c_char, |
17376 | time_read_out: *mut u64, |
17377 | n_entries_out: *mut size_t, |
17378 | ) -> *mut *mut GUnixMountEntry; |
17379 | pub unsafefn g_unix_mount_for(file_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry; |
17380 | pub unsafefn g_unix_mount_free(mount_entry: *mut GUnixMountEntry); |
17381 | pub unsafefn g_unix_mount_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
17382 | pub unsafefn g_unix_mount_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
17383 | pub unsafefn g_unix_mount_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
17384 | #[cfg (feature = "v2_58" )] |
17385 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_58" )))] |
17386 | pub fn g_unix_mount_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
17387 | #[cfg (feature = "v2_60" )] |
17388 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_60" )))] |
17389 | pub fn g_unix_mount_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; |
17390 | pub unsafefn g_unix_mount_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean; |
17391 | pub unsafefn g_unix_mount_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; |
17392 | pub unsafefn g_unix_mount_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char; |
17393 | pub unsafefn g_unix_mount_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean; |
17394 | pub unsafefn g_unix_mount_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; |
17395 | pub unsafefn g_unix_mount_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean; |
17396 | pub unsafefn g_unix_mount_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean; |
17397 | pub unsafefn g_unix_mount_points_changed_since(time: u64) -> gboolean; |
17398 | pub unsafefn g_unix_mount_points_get(time_read: *mut u64) -> *mut glib::GList; |
17399 | #[cfg (feature = "v2_82" )] |
17400 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
17401 | pub fn g_unix_mount_points_get_from_file( |
17402 | table_path: *const c_char, |
17403 | time_read_out: *mut u64, |
17404 | n_points_out: *mut size_t, |
17405 | ) -> *mut *mut GUnixMountPoint; |
17406 | pub unsafefn g_unix_mounts_changed_since(time: u64) -> gboolean; |
17407 | pub unsafefn g_unix_mounts_get(time_read: *mut u64) -> *mut glib::GList; |
17408 | #[cfg (feature = "v2_82" )] |
17409 | #[cfg_attr (docsrs, doc(cfg(feature = "v2_82" )))] |
17410 | pub fn g_unix_mounts_get_from_file( |
17411 | table_path: *const c_char, |
17412 | time_read_out: *mut u64, |
17413 | n_entries_out: *mut size_t, |
17414 | ) -> *mut *mut GUnixMountEntry; |
17415 | |
17416 | } |
17417 | |