@girs/gio-2.0 2.78.0-3.2.5 → 2.78.0-3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gio-2.0.d.cts +1479 -0
- package/gio-2.0.d.ts +1479 -0
- package/package.json +4 -4
package/gio-2.0.d.cts
CHANGED
|
@@ -5994,6 +5994,12 @@ export interface Action {
|
|
|
5994
5994
|
* activating the action.
|
|
5995
5995
|
*/
|
|
5996
5996
|
readonly parameter_type: GLib.VariantType
|
|
5997
|
+
/**
|
|
5998
|
+
* The type of the parameter that must be given when activating the
|
|
5999
|
+
* action. This is immutable, and may be %NULL if no parameter is needed when
|
|
6000
|
+
* activating the action.
|
|
6001
|
+
*/
|
|
6002
|
+
readonly parameterType: GLib.VariantType
|
|
5997
6003
|
/**
|
|
5998
6004
|
* The state of the action, or %NULL if the action is stateless.
|
|
5999
6005
|
*/
|
|
@@ -6003,6 +6009,11 @@ export interface Action {
|
|
|
6003
6009
|
* action is stateless. This is immutable.
|
|
6004
6010
|
*/
|
|
6005
6011
|
readonly state_type: GLib.VariantType
|
|
6012
|
+
/**
|
|
6013
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
6014
|
+
* action is stateless. This is immutable.
|
|
6015
|
+
*/
|
|
6016
|
+
readonly stateType: GLib.VariantType
|
|
6006
6017
|
|
|
6007
6018
|
// Owm methods of Gio-2.0.Gio.Action
|
|
6008
6019
|
|
|
@@ -9352,6 +9363,11 @@ export module DebugController {
|
|
|
9352
9363
|
* the journal), %FALSE otherwise.
|
|
9353
9364
|
*/
|
|
9354
9365
|
debug_enabled?: boolean | null
|
|
9366
|
+
/**
|
|
9367
|
+
* %TRUE if debug output should be exposed (for example by forwarding it to
|
|
9368
|
+
* the journal), %FALSE otherwise.
|
|
9369
|
+
*/
|
|
9370
|
+
debugEnabled?: boolean | null
|
|
9355
9371
|
}
|
|
9356
9372
|
|
|
9357
9373
|
}
|
|
@@ -9365,6 +9381,11 @@ export interface DebugController extends Initable {
|
|
|
9365
9381
|
* the journal), %FALSE otherwise.
|
|
9366
9382
|
*/
|
|
9367
9383
|
debug_enabled: boolean
|
|
9384
|
+
/**
|
|
9385
|
+
* %TRUE if debug output should be exposed (for example by forwarding it to
|
|
9386
|
+
* the journal), %FALSE otherwise.
|
|
9387
|
+
*/
|
|
9388
|
+
debugEnabled: boolean
|
|
9368
9389
|
|
|
9369
9390
|
// Owm methods of Gio-2.0.Gio.DebugController
|
|
9370
9391
|
|
|
@@ -10054,6 +10075,42 @@ export module DtlsClientConnection {
|
|
|
10054
10075
|
* connect to #GDtlsConnection::accept-certificate.
|
|
10055
10076
|
*/
|
|
10056
10077
|
validation_flags?: TlsCertificateFlags | null
|
|
10078
|
+
/**
|
|
10079
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
10080
|
+
* is expected on the other end of the connection.
|
|
10081
|
+
*
|
|
10082
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
10083
|
+
* #GDtlsClientConnection:validation-flags, this object will be used
|
|
10084
|
+
* to determine the expected identify of the remote end of the
|
|
10085
|
+
* connection; if #GDtlsClientConnection:server-identity is not set,
|
|
10086
|
+
* or does not match the identity presented by the server, then the
|
|
10087
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
10088
|
+
*
|
|
10089
|
+
* In addition to its use in verifying the server certificate,
|
|
10090
|
+
* this is also used to give a hint to the server about what
|
|
10091
|
+
* certificate we expect, which is useful for servers that serve
|
|
10092
|
+
* virtual hosts.
|
|
10093
|
+
*/
|
|
10094
|
+
serverIdentity?: SocketConnectable | null
|
|
10095
|
+
/**
|
|
10096
|
+
* What steps to perform when validating a certificate received from
|
|
10097
|
+
* a server. Server certificates that fail to validate in any of the
|
|
10098
|
+
* ways indicated here will be rejected unless the application
|
|
10099
|
+
* overrides the default via #GDtlsConnection::accept-certificate.
|
|
10100
|
+
*
|
|
10101
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
10102
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
10103
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
10104
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
10105
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
10106
|
+
* because this could potentially be the only error flag set even if
|
|
10107
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
10108
|
+
* safe way to use this property. This is not a horrible problem,
|
|
10109
|
+
* though, because you should not be attempting to ignore validation
|
|
10110
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
10111
|
+
* connect to #GDtlsConnection::accept-certificate.
|
|
10112
|
+
*/
|
|
10113
|
+
validationFlags?: TlsCertificateFlags | null
|
|
10057
10114
|
}
|
|
10058
10115
|
|
|
10059
10116
|
}
|
|
@@ -10072,6 +10129,16 @@ export interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10072
10129
|
* subject DN of the certificate authority.
|
|
10073
10130
|
*/
|
|
10074
10131
|
readonly accepted_cas: any[]
|
|
10132
|
+
/**
|
|
10133
|
+
* A list of the distinguished names of the Certificate Authorities
|
|
10134
|
+
* that the server will accept client certificates signed by. If the
|
|
10135
|
+
* server requests a client certificate during the handshake, then
|
|
10136
|
+
* this property will be set after the handshake completes.
|
|
10137
|
+
*
|
|
10138
|
+
* Each item in the list is a #GByteArray which contains the complete
|
|
10139
|
+
* subject DN of the certificate authority.
|
|
10140
|
+
*/
|
|
10141
|
+
readonly acceptedCas: any[]
|
|
10075
10142
|
/**
|
|
10076
10143
|
* A #GSocketConnectable describing the identity of the server that
|
|
10077
10144
|
* is expected on the other end of the connection.
|
|
@@ -10089,6 +10156,23 @@ export interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10089
10156
|
* virtual hosts.
|
|
10090
10157
|
*/
|
|
10091
10158
|
server_identity: SocketConnectable
|
|
10159
|
+
/**
|
|
10160
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
10161
|
+
* is expected on the other end of the connection.
|
|
10162
|
+
*
|
|
10163
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
10164
|
+
* #GDtlsClientConnection:validation-flags, this object will be used
|
|
10165
|
+
* to determine the expected identify of the remote end of the
|
|
10166
|
+
* connection; if #GDtlsClientConnection:server-identity is not set,
|
|
10167
|
+
* or does not match the identity presented by the server, then the
|
|
10168
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
10169
|
+
*
|
|
10170
|
+
* In addition to its use in verifying the server certificate,
|
|
10171
|
+
* this is also used to give a hint to the server about what
|
|
10172
|
+
* certificate we expect, which is useful for servers that serve
|
|
10173
|
+
* virtual hosts.
|
|
10174
|
+
*/
|
|
10175
|
+
serverIdentity: SocketConnectable
|
|
10092
10176
|
/**
|
|
10093
10177
|
* What steps to perform when validating a certificate received from
|
|
10094
10178
|
* a server. Server certificates that fail to validate in any of the
|
|
@@ -10108,6 +10192,25 @@ export interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10108
10192
|
* connect to #GDtlsConnection::accept-certificate.
|
|
10109
10193
|
*/
|
|
10110
10194
|
validation_flags: TlsCertificateFlags
|
|
10195
|
+
/**
|
|
10196
|
+
* What steps to perform when validating a certificate received from
|
|
10197
|
+
* a server. Server certificates that fail to validate in any of the
|
|
10198
|
+
* ways indicated here will be rejected unless the application
|
|
10199
|
+
* overrides the default via #GDtlsConnection::accept-certificate.
|
|
10200
|
+
*
|
|
10201
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
10202
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
10203
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
10204
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
10205
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
10206
|
+
* because this could potentially be the only error flag set even if
|
|
10207
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
10208
|
+
* safe way to use this property. This is not a horrible problem,
|
|
10209
|
+
* though, because you should not be attempting to ignore validation
|
|
10210
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
10211
|
+
* connect to #GDtlsConnection::accept-certificate.
|
|
10212
|
+
*/
|
|
10213
|
+
validationFlags: TlsCertificateFlags
|
|
10111
10214
|
|
|
10112
10215
|
// Owm methods of Gio-2.0.Gio.DtlsClientConnection
|
|
10113
10216
|
|
|
@@ -10304,6 +10407,27 @@ export module DtlsConnection {
|
|
|
10304
10407
|
* See g_dtls_connection_set_require_close_notify().
|
|
10305
10408
|
*/
|
|
10306
10409
|
require_close_notify?: boolean | null
|
|
10410
|
+
/**
|
|
10411
|
+
* The list of application-layer protocols that the connection
|
|
10412
|
+
* advertises that it is willing to speak. See
|
|
10413
|
+
* g_dtls_connection_set_advertised_protocols().
|
|
10414
|
+
*/
|
|
10415
|
+
advertisedProtocols?: string[] | null
|
|
10416
|
+
/**
|
|
10417
|
+
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10418
|
+
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10419
|
+
*/
|
|
10420
|
+
baseSocket?: DatagramBased | null
|
|
10421
|
+
/**
|
|
10422
|
+
* The rehandshaking mode. See
|
|
10423
|
+
* g_dtls_connection_set_rehandshake_mode().
|
|
10424
|
+
*/
|
|
10425
|
+
rehandshakeMode?: TlsRehandshakeMode | null
|
|
10426
|
+
/**
|
|
10427
|
+
* Whether or not proper TLS close notification is required.
|
|
10428
|
+
* See g_dtls_connection_set_require_close_notify().
|
|
10429
|
+
*/
|
|
10430
|
+
requireCloseNotify?: boolean | null
|
|
10307
10431
|
}
|
|
10308
10432
|
|
|
10309
10433
|
}
|
|
@@ -10318,11 +10442,22 @@ export interface DtlsConnection extends DatagramBased {
|
|
|
10318
10442
|
* g_dtls_connection_set_advertised_protocols().
|
|
10319
10443
|
*/
|
|
10320
10444
|
advertised_protocols: string[]
|
|
10445
|
+
/**
|
|
10446
|
+
* The list of application-layer protocols that the connection
|
|
10447
|
+
* advertises that it is willing to speak. See
|
|
10448
|
+
* g_dtls_connection_set_advertised_protocols().
|
|
10449
|
+
*/
|
|
10450
|
+
advertisedProtocols: string[]
|
|
10321
10451
|
/**
|
|
10322
10452
|
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10323
10453
|
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10324
10454
|
*/
|
|
10325
10455
|
readonly base_socket: DatagramBased
|
|
10456
|
+
/**
|
|
10457
|
+
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10458
|
+
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10459
|
+
*/
|
|
10460
|
+
readonly baseSocket: DatagramBased
|
|
10326
10461
|
/**
|
|
10327
10462
|
* The connection's certificate; see
|
|
10328
10463
|
* g_dtls_connection_set_certificate().
|
|
@@ -10332,6 +10467,10 @@ export interface DtlsConnection extends DatagramBased {
|
|
|
10332
10467
|
* The name of the DTLS ciphersuite in use. See g_dtls_connection_get_ciphersuite_name().
|
|
10333
10468
|
*/
|
|
10334
10469
|
readonly ciphersuite_name: string | null
|
|
10470
|
+
/**
|
|
10471
|
+
* The name of the DTLS ciphersuite in use. See g_dtls_connection_get_ciphersuite_name().
|
|
10472
|
+
*/
|
|
10473
|
+
readonly ciphersuiteName: string | null
|
|
10335
10474
|
/**
|
|
10336
10475
|
* The certificate database to use when verifying this TLS connection.
|
|
10337
10476
|
* If no certificate database is set, then the default database will be
|
|
@@ -10362,6 +10501,11 @@ export interface DtlsConnection extends DatagramBased {
|
|
|
10362
10501
|
* handshake. See g_dtls_connection_get_negotiated_protocol().
|
|
10363
10502
|
*/
|
|
10364
10503
|
readonly negotiated_protocol: string | null
|
|
10504
|
+
/**
|
|
10505
|
+
* The application-layer protocol negotiated during the TLS
|
|
10506
|
+
* handshake. See g_dtls_connection_get_negotiated_protocol().
|
|
10507
|
+
*/
|
|
10508
|
+
readonly negotiatedProtocol: string | null
|
|
10365
10509
|
/**
|
|
10366
10510
|
* The connection's peer's certificate, after the TLS handshake has
|
|
10367
10511
|
* completed or failed. Note in particular that this is not yet set
|
|
@@ -10371,6 +10515,15 @@ export interface DtlsConnection extends DatagramBased {
|
|
|
10371
10515
|
* detect when a handshake has occurred.)
|
|
10372
10516
|
*/
|
|
10373
10517
|
readonly peer_certificate: TlsCertificate
|
|
10518
|
+
/**
|
|
10519
|
+
* The connection's peer's certificate, after the TLS handshake has
|
|
10520
|
+
* completed or failed. Note in particular that this is not yet set
|
|
10521
|
+
* during the emission of #GDtlsConnection::accept-certificate.
|
|
10522
|
+
*
|
|
10523
|
+
* (You can watch for a #GObject::notify signal on this property to
|
|
10524
|
+
* detect when a handshake has occurred.)
|
|
10525
|
+
*/
|
|
10526
|
+
readonly peerCertificate: TlsCertificate
|
|
10374
10527
|
/**
|
|
10375
10528
|
* The errors noticed while verifying
|
|
10376
10529
|
* #GDtlsConnection:peer-certificate. Normally this should be 0, but
|
|
@@ -10388,20 +10541,51 @@ export interface DtlsConnection extends DatagramBased {
|
|
|
10388
10541
|
* error flag set even if other problems exist with the certificate.
|
|
10389
10542
|
*/
|
|
10390
10543
|
readonly peer_certificate_errors: TlsCertificateFlags
|
|
10544
|
+
/**
|
|
10545
|
+
* The errors noticed while verifying
|
|
10546
|
+
* #GDtlsConnection:peer-certificate. Normally this should be 0, but
|
|
10547
|
+
* it may not be if #GDtlsClientConnection:validation-flags is not
|
|
10548
|
+
* %G_TLS_CERTIFICATE_VALIDATE_ALL, or if
|
|
10549
|
+
* #GDtlsConnection::accept-certificate overrode the default
|
|
10550
|
+
* behavior.
|
|
10551
|
+
*
|
|
10552
|
+
* GLib guarantees that if certificate verification fails, at least
|
|
10553
|
+
* one error will be set, but it does not guarantee that all possible
|
|
10554
|
+
* errors will be set. Accordingly, you may not safely decide to
|
|
10555
|
+
* ignore any particular type of error. For example, it would be
|
|
10556
|
+
* incorrect to mask %G_TLS_CERTIFICATE_EXPIRED if you want to allow
|
|
10557
|
+
* expired certificates, because this could potentially be the only
|
|
10558
|
+
* error flag set even if other problems exist with the certificate.
|
|
10559
|
+
*/
|
|
10560
|
+
readonly peerCertificateErrors: TlsCertificateFlags
|
|
10391
10561
|
/**
|
|
10392
10562
|
* The DTLS protocol version in use. See g_dtls_connection_get_protocol_version().
|
|
10393
10563
|
*/
|
|
10394
10564
|
readonly protocol_version: TlsProtocolVersion
|
|
10565
|
+
/**
|
|
10566
|
+
* The DTLS protocol version in use. See g_dtls_connection_get_protocol_version().
|
|
10567
|
+
*/
|
|
10568
|
+
readonly protocolVersion: TlsProtocolVersion
|
|
10395
10569
|
/**
|
|
10396
10570
|
* The rehandshaking mode. See
|
|
10397
10571
|
* g_dtls_connection_set_rehandshake_mode().
|
|
10398
10572
|
*/
|
|
10399
10573
|
rehandshake_mode: TlsRehandshakeMode
|
|
10574
|
+
/**
|
|
10575
|
+
* The rehandshaking mode. See
|
|
10576
|
+
* g_dtls_connection_set_rehandshake_mode().
|
|
10577
|
+
*/
|
|
10578
|
+
rehandshakeMode: TlsRehandshakeMode
|
|
10400
10579
|
/**
|
|
10401
10580
|
* Whether or not proper TLS close notification is required.
|
|
10402
10581
|
* See g_dtls_connection_set_require_close_notify().
|
|
10403
10582
|
*/
|
|
10404
10583
|
require_close_notify: boolean
|
|
10584
|
+
/**
|
|
10585
|
+
* Whether or not proper TLS close notification is required.
|
|
10586
|
+
* See g_dtls_connection_set_require_close_notify().
|
|
10587
|
+
*/
|
|
10588
|
+
requireCloseNotify: boolean
|
|
10405
10589
|
|
|
10406
10590
|
// Owm methods of Gio-2.0.Gio.DtlsConnection
|
|
10407
10591
|
|
|
@@ -10996,6 +11180,12 @@ export module DtlsServerConnection {
|
|
|
10996
11180
|
* rehandshake with a different mode from the initial handshake.
|
|
10997
11181
|
*/
|
|
10998
11182
|
authentication_mode?: TlsAuthenticationMode | null
|
|
11183
|
+
/**
|
|
11184
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
11185
|
+
* before calling g_dtls_connection_handshake() if you want to
|
|
11186
|
+
* rehandshake with a different mode from the initial handshake.
|
|
11187
|
+
*/
|
|
11188
|
+
authenticationMode?: TlsAuthenticationMode | null
|
|
10999
11189
|
}
|
|
11000
11190
|
|
|
11001
11191
|
}
|
|
@@ -11010,6 +11200,12 @@ export interface DtlsServerConnection extends DatagramBased, DtlsConnection {
|
|
|
11010
11200
|
* rehandshake with a different mode from the initial handshake.
|
|
11011
11201
|
*/
|
|
11012
11202
|
authentication_mode: TlsAuthenticationMode
|
|
11203
|
+
/**
|
|
11204
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
11205
|
+
* before calling g_dtls_connection_handshake() if you want to
|
|
11206
|
+
* rehandshake with a different mode from the initial handshake.
|
|
11207
|
+
*/
|
|
11208
|
+
authenticationMode: TlsAuthenticationMode
|
|
11013
11209
|
|
|
11014
11210
|
// Class property signals of Gio-2.0.Gio.DtlsServerConnection
|
|
11015
11211
|
|
|
@@ -16527,6 +16723,26 @@ export interface NetworkMonitor extends Initable {
|
|
|
16527
16723
|
* See also #GNetworkMonitor::network-changed.
|
|
16528
16724
|
*/
|
|
16529
16725
|
readonly network_available: boolean
|
|
16726
|
+
/**
|
|
16727
|
+
* Whether the network is considered available. That is, whether the
|
|
16728
|
+
* system has a default route for at least one of IPv4 or IPv6.
|
|
16729
|
+
*
|
|
16730
|
+
* Real-world networks are of course much more complicated than
|
|
16731
|
+
* this; the machine may be connected to a wifi hotspot that
|
|
16732
|
+
* requires payment before allowing traffic through, or may be
|
|
16733
|
+
* connected to a functioning router that has lost its own upstream
|
|
16734
|
+
* connectivity. Some hosts might only be accessible when a VPN is
|
|
16735
|
+
* active. Other hosts might only be accessible when the VPN is
|
|
16736
|
+
* not active. Thus, it is best to use g_network_monitor_can_reach()
|
|
16737
|
+
* or g_network_monitor_can_reach_async() to test for reachability
|
|
16738
|
+
* on a host-by-host basis. (On the other hand, when the property is
|
|
16739
|
+
* %FALSE, the application can reasonably expect that no remote
|
|
16740
|
+
* hosts at all are reachable, and should indicate this to the user
|
|
16741
|
+
* in its UI.)
|
|
16742
|
+
*
|
|
16743
|
+
* See also #GNetworkMonitor::network-changed.
|
|
16744
|
+
*/
|
|
16745
|
+
readonly networkAvailable: boolean
|
|
16530
16746
|
/**
|
|
16531
16747
|
* Whether the network is considered metered.
|
|
16532
16748
|
*
|
|
@@ -16551,6 +16767,30 @@ export interface NetworkMonitor extends Initable {
|
|
|
16551
16767
|
* See also #GNetworkMonitor:network-available.
|
|
16552
16768
|
*/
|
|
16553
16769
|
readonly network_metered: boolean
|
|
16770
|
+
/**
|
|
16771
|
+
* Whether the network is considered metered.
|
|
16772
|
+
*
|
|
16773
|
+
* That is, whether the
|
|
16774
|
+
* system has traffic flowing through the default connection that is
|
|
16775
|
+
* subject to limitations set by service providers. For example, traffic
|
|
16776
|
+
* might be billed by the amount of data transmitted, or there might be a
|
|
16777
|
+
* quota on the amount of traffic per month. This is typical with tethered
|
|
16778
|
+
* connections (3G and 4G) and in such situations, bandwidth intensive
|
|
16779
|
+
* applications may wish to avoid network activity where possible if it will
|
|
16780
|
+
* cost the user money or use up their limited quota. Anything more than a
|
|
16781
|
+
* few hundreds of kilobytes of data usage per hour should be avoided without
|
|
16782
|
+
* asking permission from the user.
|
|
16783
|
+
*
|
|
16784
|
+
* If more information is required about specific devices then the
|
|
16785
|
+
* system network management API should be used instead (for example,
|
|
16786
|
+
* NetworkManager or ConnMan).
|
|
16787
|
+
*
|
|
16788
|
+
* If this information is not available then no networks will be
|
|
16789
|
+
* marked as metered.
|
|
16790
|
+
*
|
|
16791
|
+
* See also #GNetworkMonitor:network-available.
|
|
16792
|
+
*/
|
|
16793
|
+
readonly networkMetered: boolean
|
|
16554
16794
|
|
|
16555
16795
|
// Owm methods of Gio-2.0.Gio.NetworkMonitor
|
|
16556
16796
|
|
|
@@ -17186,6 +17426,10 @@ export interface PowerProfileMonitor extends Initable {
|
|
|
17186
17426
|
* Whether “Power Saver” mode is enabled on the system.
|
|
17187
17427
|
*/
|
|
17188
17428
|
readonly power_saver_enabled: boolean
|
|
17429
|
+
/**
|
|
17430
|
+
* Whether “Power Saver” mode is enabled on the system.
|
|
17431
|
+
*/
|
|
17432
|
+
readonly powerSaverEnabled: boolean
|
|
17189
17433
|
|
|
17190
17434
|
// Owm methods of Gio-2.0.Gio.PowerProfileMonitor
|
|
17191
17435
|
|
|
@@ -18174,6 +18418,47 @@ export module TlsClientConnection {
|
|
|
18174
18418
|
* connect to #GTlsConnection::accept-certificate.
|
|
18175
18419
|
*/
|
|
18176
18420
|
validation_flags?: TlsCertificateFlags | null
|
|
18421
|
+
/**
|
|
18422
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
18423
|
+
* is expected on the other end of the connection.
|
|
18424
|
+
*
|
|
18425
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
18426
|
+
* #GTlsClientConnection:validation-flags, this object will be used
|
|
18427
|
+
* to determine the expected identify of the remote end of the
|
|
18428
|
+
* connection; if #GTlsClientConnection:server-identity is not set,
|
|
18429
|
+
* or does not match the identity presented by the server, then the
|
|
18430
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
18431
|
+
*
|
|
18432
|
+
* In addition to its use in verifying the server certificate,
|
|
18433
|
+
* this is also used to give a hint to the server about what
|
|
18434
|
+
* certificate we expect, which is useful for servers that serve
|
|
18435
|
+
* virtual hosts.
|
|
18436
|
+
*/
|
|
18437
|
+
serverIdentity?: SocketConnectable | null
|
|
18438
|
+
/**
|
|
18439
|
+
* SSL 3.0 is no longer supported. See
|
|
18440
|
+
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18441
|
+
*/
|
|
18442
|
+
useSsl3?: boolean | null
|
|
18443
|
+
/**
|
|
18444
|
+
* What steps to perform when validating a certificate received from
|
|
18445
|
+
* a server. Server certificates that fail to validate in any of the
|
|
18446
|
+
* ways indicated here will be rejected unless the application
|
|
18447
|
+
* overrides the default via #GTlsConnection::accept-certificate.
|
|
18448
|
+
*
|
|
18449
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
18450
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
18451
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
18452
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
18453
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
18454
|
+
* because this could potentially be the only error flag set even if
|
|
18455
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
18456
|
+
* safe way to use this property. This is not a horrible problem,
|
|
18457
|
+
* though, because you should not be attempting to ignore validation
|
|
18458
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
18459
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
18460
|
+
*/
|
|
18461
|
+
validationFlags?: TlsCertificateFlags | null
|
|
18177
18462
|
}
|
|
18178
18463
|
|
|
18179
18464
|
}
|
|
@@ -18192,6 +18477,16 @@ export interface TlsClientConnection extends TlsConnection {
|
|
|
18192
18477
|
* subject DN of the certificate authority.
|
|
18193
18478
|
*/
|
|
18194
18479
|
readonly accepted_cas: any[]
|
|
18480
|
+
/**
|
|
18481
|
+
* A list of the distinguished names of the Certificate Authorities
|
|
18482
|
+
* that the server will accept client certificates signed by. If the
|
|
18483
|
+
* server requests a client certificate during the handshake, then
|
|
18484
|
+
* this property will be set after the handshake completes.
|
|
18485
|
+
*
|
|
18486
|
+
* Each item in the list is a #GByteArray which contains the complete
|
|
18487
|
+
* subject DN of the certificate authority.
|
|
18488
|
+
*/
|
|
18489
|
+
readonly acceptedCas: any[]
|
|
18195
18490
|
/**
|
|
18196
18491
|
* A #GSocketConnectable describing the identity of the server that
|
|
18197
18492
|
* is expected on the other end of the connection.
|
|
@@ -18209,11 +18504,33 @@ export interface TlsClientConnection extends TlsConnection {
|
|
|
18209
18504
|
* virtual hosts.
|
|
18210
18505
|
*/
|
|
18211
18506
|
server_identity: SocketConnectable
|
|
18507
|
+
/**
|
|
18508
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
18509
|
+
* is expected on the other end of the connection.
|
|
18510
|
+
*
|
|
18511
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
18512
|
+
* #GTlsClientConnection:validation-flags, this object will be used
|
|
18513
|
+
* to determine the expected identify of the remote end of the
|
|
18514
|
+
* connection; if #GTlsClientConnection:server-identity is not set,
|
|
18515
|
+
* or does not match the identity presented by the server, then the
|
|
18516
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
18517
|
+
*
|
|
18518
|
+
* In addition to its use in verifying the server certificate,
|
|
18519
|
+
* this is also used to give a hint to the server about what
|
|
18520
|
+
* certificate we expect, which is useful for servers that serve
|
|
18521
|
+
* virtual hosts.
|
|
18522
|
+
*/
|
|
18523
|
+
serverIdentity: SocketConnectable
|
|
18212
18524
|
/**
|
|
18213
18525
|
* SSL 3.0 is no longer supported. See
|
|
18214
18526
|
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18215
18527
|
*/
|
|
18216
18528
|
use_ssl3: boolean
|
|
18529
|
+
/**
|
|
18530
|
+
* SSL 3.0 is no longer supported. See
|
|
18531
|
+
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18532
|
+
*/
|
|
18533
|
+
useSsl3: boolean
|
|
18217
18534
|
/**
|
|
18218
18535
|
* What steps to perform when validating a certificate received from
|
|
18219
18536
|
* a server. Server certificates that fail to validate in any of the
|
|
@@ -18233,6 +18550,25 @@ export interface TlsClientConnection extends TlsConnection {
|
|
|
18233
18550
|
* connect to #GTlsConnection::accept-certificate.
|
|
18234
18551
|
*/
|
|
18235
18552
|
validation_flags: TlsCertificateFlags
|
|
18553
|
+
/**
|
|
18554
|
+
* What steps to perform when validating a certificate received from
|
|
18555
|
+
* a server. Server certificates that fail to validate in any of the
|
|
18556
|
+
* ways indicated here will be rejected unless the application
|
|
18557
|
+
* overrides the default via #GTlsConnection::accept-certificate.
|
|
18558
|
+
*
|
|
18559
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
18560
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
18561
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
18562
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
18563
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
18564
|
+
* because this could potentially be the only error flag set even if
|
|
18565
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
18566
|
+
* safe way to use this property. This is not a horrible problem,
|
|
18567
|
+
* though, because you should not be attempting to ignore validation
|
|
18568
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
18569
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
18570
|
+
*/
|
|
18571
|
+
validationFlags: TlsCertificateFlags
|
|
18236
18572
|
|
|
18237
18573
|
// Conflicting properties
|
|
18238
18574
|
|
|
@@ -18547,6 +18883,12 @@ export module TlsServerConnection {
|
|
|
18547
18883
|
* rehandshake with a different mode from the initial handshake.
|
|
18548
18884
|
*/
|
|
18549
18885
|
authentication_mode?: TlsAuthenticationMode | null
|
|
18886
|
+
/**
|
|
18887
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
18888
|
+
* before calling g_tls_connection_handshake() if you want to
|
|
18889
|
+
* rehandshake with a different mode from the initial handshake.
|
|
18890
|
+
*/
|
|
18891
|
+
authenticationMode?: TlsAuthenticationMode | null
|
|
18550
18892
|
}
|
|
18551
18893
|
|
|
18552
18894
|
}
|
|
@@ -18561,6 +18903,12 @@ export interface TlsServerConnection extends TlsConnection {
|
|
|
18561
18903
|
* rehandshake with a different mode from the initial handshake.
|
|
18562
18904
|
*/
|
|
18563
18905
|
authentication_mode: TlsAuthenticationMode
|
|
18906
|
+
/**
|
|
18907
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
18908
|
+
* before calling g_tls_connection_handshake() if you want to
|
|
18909
|
+
* rehandshake with a different mode from the initial handshake.
|
|
18910
|
+
*/
|
|
18911
|
+
authenticationMode: TlsAuthenticationMode
|
|
18564
18912
|
|
|
18565
18913
|
// Conflicting properties
|
|
18566
18914
|
|
|
@@ -19546,6 +19894,10 @@ export module Application {
|
|
|
19546
19894
|
flags?: ApplicationFlags | null
|
|
19547
19895
|
inactivity_timeout?: number | null
|
|
19548
19896
|
resource_base_path?: string | null
|
|
19897
|
+
actionGroup?: ActionGroup | null
|
|
19898
|
+
applicationId?: string | null
|
|
19899
|
+
inactivityTimeout?: number | null
|
|
19900
|
+
resourceBasePath?: string | null
|
|
19549
19901
|
}
|
|
19550
19902
|
|
|
19551
19903
|
}
|
|
@@ -19555,17 +19907,28 @@ export interface Application extends ActionGroup, ActionMap {
|
|
|
19555
19907
|
// Own properties of Gio-2.0.Gio.Application
|
|
19556
19908
|
|
|
19557
19909
|
action_group: ActionGroup
|
|
19910
|
+
actionGroup: ActionGroup
|
|
19558
19911
|
application_id: string | null
|
|
19912
|
+
applicationId: string | null
|
|
19559
19913
|
flags: ApplicationFlags
|
|
19560
19914
|
inactivity_timeout: number
|
|
19915
|
+
inactivityTimeout: number
|
|
19561
19916
|
/**
|
|
19562
19917
|
* Whether the application is currently marked as busy through
|
|
19563
19918
|
* g_application_mark_busy() or g_application_bind_busy_property().
|
|
19564
19919
|
*/
|
|
19565
19920
|
readonly is_busy: boolean
|
|
19921
|
+
/**
|
|
19922
|
+
* Whether the application is currently marked as busy through
|
|
19923
|
+
* g_application_mark_busy() or g_application_bind_busy_property().
|
|
19924
|
+
*/
|
|
19925
|
+
readonly isBusy: boolean
|
|
19566
19926
|
readonly is_registered: boolean
|
|
19927
|
+
readonly isRegistered: boolean
|
|
19567
19928
|
readonly is_remote: boolean
|
|
19929
|
+
readonly isRemote: boolean
|
|
19568
19930
|
resource_base_path: string | null
|
|
19931
|
+
resourceBasePath: string | null
|
|
19569
19932
|
|
|
19570
19933
|
// Owm methods of Gio-2.0.Gio.Application
|
|
19571
19934
|
|
|
@@ -20149,6 +20512,13 @@ export interface Application extends ActionGroup, ActionMap {
|
|
|
20149
20512
|
* @param id id of a previously sent notification
|
|
20150
20513
|
*/
|
|
20151
20514
|
withdraw_notification(id: string | null): void
|
|
20515
|
+
/**
|
|
20516
|
+
* Similar to `Gio.Application.run` but return a Promise which resolves when the main loop ends, instead of blocking while the main loop runs.
|
|
20517
|
+
* This helps avoid the situation where Promises never resolved if you didn't run the application inside a callback.
|
|
20518
|
+
* @param argv Commandline arguments.
|
|
20519
|
+
* @returns The exit status of the application.
|
|
20520
|
+
*/
|
|
20521
|
+
runAsync(argv?: string[]): Promise<number>
|
|
20152
20522
|
|
|
20153
20523
|
// Own virtual methods of Gio-2.0.Gio.Application
|
|
20154
20524
|
|
|
@@ -20501,6 +20871,7 @@ export module ApplicationCommandLine {
|
|
|
20501
20871
|
"arguments"?: GLib.Variant | null
|
|
20502
20872
|
options?: GLib.Variant | null
|
|
20503
20873
|
platform_data?: GLib.Variant | null
|
|
20874
|
+
platformData?: GLib.Variant | null
|
|
20504
20875
|
}
|
|
20505
20876
|
|
|
20506
20877
|
}
|
|
@@ -20511,8 +20882,10 @@ export interface ApplicationCommandLine {
|
|
|
20511
20882
|
|
|
20512
20883
|
readonly "arguments": GLib.Variant
|
|
20513
20884
|
readonly is_remote: boolean
|
|
20885
|
+
readonly isRemote: boolean
|
|
20514
20886
|
readonly options: GLib.Variant
|
|
20515
20887
|
readonly platform_data: GLib.Variant
|
|
20888
|
+
readonly platformData: GLib.Variant
|
|
20516
20889
|
|
|
20517
20890
|
// Owm methods of Gio-2.0.Gio.ApplicationCommandLine
|
|
20518
20891
|
|
|
@@ -20902,6 +21275,7 @@ export module BufferedInputStream {
|
|
|
20902
21275
|
// Own constructor properties of Gio-2.0.Gio.BufferedInputStream
|
|
20903
21276
|
|
|
20904
21277
|
buffer_size?: number | null
|
|
21278
|
+
bufferSize?: number | null
|
|
20905
21279
|
}
|
|
20906
21280
|
|
|
20907
21281
|
}
|
|
@@ -20911,6 +21285,7 @@ export interface BufferedInputStream extends Seekable {
|
|
|
20911
21285
|
// Own properties of Gio-2.0.Gio.BufferedInputStream
|
|
20912
21286
|
|
|
20913
21287
|
buffer_size: number
|
|
21288
|
+
bufferSize: number
|
|
20914
21289
|
|
|
20915
21290
|
// Own fields of Gio-2.0.Gio.BufferedInputStream
|
|
20916
21291
|
|
|
@@ -21096,6 +21471,9 @@ export interface BufferedInputStream extends Seekable {
|
|
|
21096
21471
|
connect(sigName: "notify::buffer-size", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21097
21472
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21098
21473
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
21474
|
+
connect(sigName: "notify::base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21475
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21476
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21099
21477
|
connect(sigName: "notify::close-base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21100
21478
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21101
21479
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21170,6 +21548,8 @@ export module BufferedOutputStream {
|
|
|
21170
21548
|
|
|
21171
21549
|
auto_grow?: boolean | null
|
|
21172
21550
|
buffer_size?: number | null
|
|
21551
|
+
autoGrow?: boolean | null
|
|
21552
|
+
bufferSize?: number | null
|
|
21173
21553
|
}
|
|
21174
21554
|
|
|
21175
21555
|
}
|
|
@@ -21179,7 +21559,9 @@ export interface BufferedOutputStream extends Seekable {
|
|
|
21179
21559
|
// Own properties of Gio-2.0.Gio.BufferedOutputStream
|
|
21180
21560
|
|
|
21181
21561
|
auto_grow: boolean
|
|
21562
|
+
autoGrow: boolean
|
|
21182
21563
|
buffer_size: number
|
|
21564
|
+
bufferSize: number
|
|
21183
21565
|
|
|
21184
21566
|
// Own fields of Gio-2.0.Gio.BufferedOutputStream
|
|
21185
21567
|
|
|
@@ -21220,6 +21602,9 @@ export interface BufferedOutputStream extends Seekable {
|
|
|
21220
21602
|
connect(sigName: "notify::buffer-size", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21221
21603
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21222
21604
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
21605
|
+
connect(sigName: "notify::base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21606
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21607
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21223
21608
|
connect(sigName: "notify::close-base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21224
21609
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21225
21610
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21636,6 +22021,9 @@ export module CharsetConverter {
|
|
|
21636
22021
|
from_charset?: string | null
|
|
21637
22022
|
to_charset?: string | null
|
|
21638
22023
|
use_fallback?: boolean | null
|
|
22024
|
+
fromCharset?: string | null
|
|
22025
|
+
toCharset?: string | null
|
|
22026
|
+
useFallback?: boolean | null
|
|
21639
22027
|
}
|
|
21640
22028
|
|
|
21641
22029
|
}
|
|
@@ -21645,8 +22033,11 @@ export interface CharsetConverter extends Converter, Initable {
|
|
|
21645
22033
|
// Own properties of Gio-2.0.Gio.CharsetConverter
|
|
21646
22034
|
|
|
21647
22035
|
readonly from_charset: string | null
|
|
22036
|
+
readonly fromCharset: string | null
|
|
21648
22037
|
readonly to_charset: string | null
|
|
22038
|
+
readonly toCharset: string | null
|
|
21649
22039
|
use_fallback: boolean
|
|
22040
|
+
useFallback: boolean
|
|
21650
22041
|
|
|
21651
22042
|
// Owm methods of Gio-2.0.Gio.CharsetConverter
|
|
21652
22043
|
|
|
@@ -21753,6 +22144,9 @@ export interface ConverterInputStream extends PollableInputStream {
|
|
|
21753
22144
|
connect(sigName: "notify::converter", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21754
22145
|
connect_after(sigName: "notify::converter", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21755
22146
|
emit(sigName: "notify::converter", ...args: any[]): void
|
|
22147
|
+
connect(sigName: "notify::base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22148
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22149
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21756
22150
|
connect(sigName: "notify::close-base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21757
22151
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21758
22152
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21835,6 +22229,9 @@ export interface ConverterOutputStream extends PollableOutputStream {
|
|
|
21835
22229
|
connect(sigName: "notify::converter", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21836
22230
|
connect_after(sigName: "notify::converter", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21837
22231
|
emit(sigName: "notify::converter", ...args: any[]): void
|
|
22232
|
+
connect(sigName: "notify::base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22233
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22234
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21838
22235
|
connect(sigName: "notify::close-base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21839
22236
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21840
22237
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -22318,6 +22715,19 @@ export module DBusConnection {
|
|
|
22318
22715
|
* the stream directly.
|
|
22319
22716
|
*/
|
|
22320
22717
|
stream?: IOStream | null
|
|
22718
|
+
/**
|
|
22719
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22720
|
+
*/
|
|
22721
|
+
authenticationObserver?: DBusAuthObserver | null
|
|
22722
|
+
/**
|
|
22723
|
+
* A boolean specifying whether the process will be terminated (by
|
|
22724
|
+
* calling `raise(SIGTERM)`) if the connection is closed by the
|
|
22725
|
+
* remote peer.
|
|
22726
|
+
*
|
|
22727
|
+
* Note that #GDBusConnection objects returned by g_bus_get_finish()
|
|
22728
|
+
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22729
|
+
*/
|
|
22730
|
+
exitOnClose?: boolean | null
|
|
22321
22731
|
}
|
|
22322
22732
|
|
|
22323
22733
|
}
|
|
@@ -22335,6 +22745,10 @@ export interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22335
22745
|
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22336
22746
|
*/
|
|
22337
22747
|
readonly authentication_observer: DBusAuthObserver
|
|
22748
|
+
/**
|
|
22749
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22750
|
+
*/
|
|
22751
|
+
readonly authenticationObserver: DBusAuthObserver
|
|
22338
22752
|
/**
|
|
22339
22753
|
* Flags from the #GDBusCapabilityFlags enumeration
|
|
22340
22754
|
* representing connection features negotiated with the other peer.
|
|
@@ -22353,6 +22767,15 @@ export interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22353
22767
|
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22354
22768
|
*/
|
|
22355
22769
|
exit_on_close: boolean
|
|
22770
|
+
/**
|
|
22771
|
+
* A boolean specifying whether the process will be terminated (by
|
|
22772
|
+
* calling `raise(SIGTERM)`) if the connection is closed by the
|
|
22773
|
+
* remote peer.
|
|
22774
|
+
*
|
|
22775
|
+
* Note that #GDBusConnection objects returned by g_bus_get_finish()
|
|
22776
|
+
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22777
|
+
*/
|
|
22778
|
+
exitOnClose: boolean
|
|
22356
22779
|
/**
|
|
22357
22780
|
* Flags from the #GDBusConnectionFlags enumeration.
|
|
22358
22781
|
*/
|
|
@@ -22398,6 +22821,11 @@ export interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22398
22821
|
* connection is not open or not a message bus connection.
|
|
22399
22822
|
*/
|
|
22400
22823
|
readonly unique_name: string | null
|
|
22824
|
+
/**
|
|
22825
|
+
* The unique name as assigned by the message bus or %NULL if the
|
|
22826
|
+
* connection is not open or not a message bus connection.
|
|
22827
|
+
*/
|
|
22828
|
+
readonly uniqueName: string | null
|
|
22401
22829
|
|
|
22402
22830
|
// Owm methods of Gio-2.0.Gio.DBusConnection
|
|
22403
22831
|
|
|
@@ -23393,6 +23821,10 @@ export module DBusInterfaceSkeleton {
|
|
|
23393
23821
|
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23394
23822
|
*/
|
|
23395
23823
|
g_flags?: DBusInterfaceSkeletonFlags | null
|
|
23824
|
+
/**
|
|
23825
|
+
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23826
|
+
*/
|
|
23827
|
+
gFlags?: DBusInterfaceSkeletonFlags | null
|
|
23396
23828
|
}
|
|
23397
23829
|
|
|
23398
23830
|
}
|
|
@@ -23405,6 +23837,10 @@ export interface DBusInterfaceSkeleton extends DBusInterface {
|
|
|
23405
23837
|
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23406
23838
|
*/
|
|
23407
23839
|
g_flags: DBusInterfaceSkeletonFlags
|
|
23840
|
+
/**
|
|
23841
|
+
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23842
|
+
*/
|
|
23843
|
+
gFlags: DBusInterfaceSkeletonFlags
|
|
23408
23844
|
|
|
23409
23845
|
// Owm methods of Gio-2.0.Gio.DBusInterfaceSkeleton
|
|
23410
23846
|
|
|
@@ -24273,6 +24709,30 @@ export module DBusObjectManagerClient {
|
|
|
24273
24709
|
* The object path the manager is for.
|
|
24274
24710
|
*/
|
|
24275
24711
|
object_path?: string | null
|
|
24712
|
+
/**
|
|
24713
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
24714
|
+
* #GDBusObjectManagerClient:connection must be %NULL and will be set to the
|
|
24715
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
24716
|
+
* of this property.
|
|
24717
|
+
*/
|
|
24718
|
+
busType?: BusType | null
|
|
24719
|
+
/**
|
|
24720
|
+
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24721
|
+
*/
|
|
24722
|
+
getProxyTypeDestroyNotify?: any | null
|
|
24723
|
+
/**
|
|
24724
|
+
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24725
|
+
* use for interface proxies or %NULL.
|
|
24726
|
+
*/
|
|
24727
|
+
getProxyTypeFunc?: any | null
|
|
24728
|
+
/**
|
|
24729
|
+
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24730
|
+
*/
|
|
24731
|
+
getProxyTypeUserData?: any | null
|
|
24732
|
+
/**
|
|
24733
|
+
* The object path the manager is for.
|
|
24734
|
+
*/
|
|
24735
|
+
objectPath?: string | null
|
|
24276
24736
|
}
|
|
24277
24737
|
|
|
24278
24738
|
}
|
|
@@ -24288,6 +24748,13 @@ export interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManage
|
|
|
24288
24748
|
* of this property.
|
|
24289
24749
|
*/
|
|
24290
24750
|
readonly bus_type: BusType
|
|
24751
|
+
/**
|
|
24752
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
24753
|
+
* #GDBusObjectManagerClient:connection must be %NULL and will be set to the
|
|
24754
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
24755
|
+
* of this property.
|
|
24756
|
+
*/
|
|
24757
|
+
readonly busType: BusType
|
|
24291
24758
|
/**
|
|
24292
24759
|
* The #GDBusConnection to use.
|
|
24293
24760
|
*/
|
|
@@ -24300,15 +24767,28 @@ export interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManage
|
|
|
24300
24767
|
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24301
24768
|
*/
|
|
24302
24769
|
readonly get_proxy_type_destroy_notify: any
|
|
24770
|
+
/**
|
|
24771
|
+
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24772
|
+
*/
|
|
24773
|
+
readonly getProxyTypeDestroyNotify: any
|
|
24303
24774
|
/**
|
|
24304
24775
|
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24305
24776
|
* use for interface proxies or %NULL.
|
|
24306
24777
|
*/
|
|
24307
24778
|
readonly get_proxy_type_func: any
|
|
24779
|
+
/**
|
|
24780
|
+
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24781
|
+
* use for interface proxies or %NULL.
|
|
24782
|
+
*/
|
|
24783
|
+
readonly getProxyTypeFunc: any
|
|
24308
24784
|
/**
|
|
24309
24785
|
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24310
24786
|
*/
|
|
24311
24787
|
readonly get_proxy_type_user_data: any
|
|
24788
|
+
/**
|
|
24789
|
+
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24790
|
+
*/
|
|
24791
|
+
readonly getProxyTypeUserData: any
|
|
24312
24792
|
/**
|
|
24313
24793
|
* The well-known name or unique name that the manager is for.
|
|
24314
24794
|
*/
|
|
@@ -24319,10 +24799,20 @@ export interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManage
|
|
|
24319
24799
|
* #GObject::notify signal to track changes to this property.
|
|
24320
24800
|
*/
|
|
24321
24801
|
readonly name_owner: string | null
|
|
24802
|
+
/**
|
|
24803
|
+
* The unique name that owns #GDBusObjectManagerClient:name or %NULL if
|
|
24804
|
+
* no-one is currently owning the name. Connect to the
|
|
24805
|
+
* #GObject::notify signal to track changes to this property.
|
|
24806
|
+
*/
|
|
24807
|
+
readonly nameOwner: string | null
|
|
24322
24808
|
/**
|
|
24323
24809
|
* The object path the manager is for.
|
|
24324
24810
|
*/
|
|
24325
24811
|
readonly object_path: string | null
|
|
24812
|
+
/**
|
|
24813
|
+
* The object path the manager is for.
|
|
24814
|
+
*/
|
|
24815
|
+
readonly objectPath: string | null
|
|
24326
24816
|
|
|
24327
24817
|
// Owm methods of Gio-2.0.Gio.DBusObjectManagerClient
|
|
24328
24818
|
|
|
@@ -24591,6 +25081,10 @@ export module DBusObjectManagerServer {
|
|
|
24591
25081
|
* The object path to register the manager object at.
|
|
24592
25082
|
*/
|
|
24593
25083
|
object_path?: string | null
|
|
25084
|
+
/**
|
|
25085
|
+
* The object path to register the manager object at.
|
|
25086
|
+
*/
|
|
25087
|
+
objectPath?: string | null
|
|
24594
25088
|
}
|
|
24595
25089
|
|
|
24596
25090
|
}
|
|
@@ -24607,6 +25101,10 @@ export interface DBusObjectManagerServer extends DBusObjectManager {
|
|
|
24607
25101
|
* The object path to register the manager object at.
|
|
24608
25102
|
*/
|
|
24609
25103
|
readonly object_path: string | null
|
|
25104
|
+
/**
|
|
25105
|
+
* The object path to register the manager object at.
|
|
25106
|
+
*/
|
|
25107
|
+
readonly objectPath: string | null
|
|
24610
25108
|
|
|
24611
25109
|
// Owm methods of Gio-2.0.Gio.DBusObjectManagerServer
|
|
24612
25110
|
|
|
@@ -24754,6 +25252,14 @@ export module DBusObjectProxy {
|
|
|
24754
25252
|
* The object path of the proxy.
|
|
24755
25253
|
*/
|
|
24756
25254
|
g_object_path?: string | null
|
|
25255
|
+
/**
|
|
25256
|
+
* The connection of the proxy.
|
|
25257
|
+
*/
|
|
25258
|
+
gConnection?: DBusConnection | null
|
|
25259
|
+
/**
|
|
25260
|
+
* The object path of the proxy.
|
|
25261
|
+
*/
|
|
25262
|
+
gObjectPath?: string | null
|
|
24757
25263
|
}
|
|
24758
25264
|
|
|
24759
25265
|
}
|
|
@@ -24766,10 +25272,18 @@ export interface DBusObjectProxy extends DBusObject {
|
|
|
24766
25272
|
* The connection of the proxy.
|
|
24767
25273
|
*/
|
|
24768
25274
|
readonly g_connection: DBusConnection
|
|
25275
|
+
/**
|
|
25276
|
+
* The connection of the proxy.
|
|
25277
|
+
*/
|
|
25278
|
+
readonly gConnection: DBusConnection
|
|
24769
25279
|
/**
|
|
24770
25280
|
* The object path of the proxy.
|
|
24771
25281
|
*/
|
|
24772
25282
|
readonly g_object_path: string | null
|
|
25283
|
+
/**
|
|
25284
|
+
* The object path of the proxy.
|
|
25285
|
+
*/
|
|
25286
|
+
readonly gObjectPath: string | null
|
|
24773
25287
|
|
|
24774
25288
|
// Owm methods of Gio-2.0.Gio.DBusObjectProxy
|
|
24775
25289
|
|
|
@@ -24853,6 +25367,10 @@ export module DBusObjectSkeleton {
|
|
|
24853
25367
|
* The object path where the object is exported.
|
|
24854
25368
|
*/
|
|
24855
25369
|
g_object_path?: string | null
|
|
25370
|
+
/**
|
|
25371
|
+
* The object path where the object is exported.
|
|
25372
|
+
*/
|
|
25373
|
+
gObjectPath?: string | null
|
|
24856
25374
|
}
|
|
24857
25375
|
|
|
24858
25376
|
}
|
|
@@ -24865,6 +25383,10 @@ export interface DBusObjectSkeleton extends DBusObject {
|
|
|
24865
25383
|
* The object path where the object is exported.
|
|
24866
25384
|
*/
|
|
24867
25385
|
g_object_path: string | null
|
|
25386
|
+
/**
|
|
25387
|
+
* The object path where the object is exported.
|
|
25388
|
+
*/
|
|
25389
|
+
gObjectPath: string | null
|
|
24868
25390
|
|
|
24869
25391
|
// Owm methods of Gio-2.0.Gio.DBusObjectSkeleton
|
|
24870
25392
|
|
|
@@ -25050,6 +25572,71 @@ export module DBusProxy {
|
|
|
25050
25572
|
* The object path the proxy is for.
|
|
25051
25573
|
*/
|
|
25052
25574
|
g_object_path?: string | null
|
|
25575
|
+
/**
|
|
25576
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
25577
|
+
* #GDBusProxy:g-connection must be %NULL and will be set to the
|
|
25578
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
25579
|
+
* of this property.
|
|
25580
|
+
*/
|
|
25581
|
+
gBusType?: BusType | null
|
|
25582
|
+
/**
|
|
25583
|
+
* The #GDBusConnection the proxy is for.
|
|
25584
|
+
*/
|
|
25585
|
+
gConnection?: DBusConnection | null
|
|
25586
|
+
/**
|
|
25587
|
+
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25588
|
+
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
25589
|
+
* g_dbus_proxy_call_sync() functions.
|
|
25590
|
+
*
|
|
25591
|
+
* This allows applications to set a proxy-wide timeout for all
|
|
25592
|
+
* remote method invocations on the proxy. If this property is -1,
|
|
25593
|
+
* the default timeout (typically 25 seconds) is used. If set to
|
|
25594
|
+
* %G_MAXINT, then no timeout is used.
|
|
25595
|
+
*/
|
|
25596
|
+
gDefaultTimeout?: number | null
|
|
25597
|
+
/**
|
|
25598
|
+
* Flags from the #GDBusProxyFlags enumeration.
|
|
25599
|
+
*/
|
|
25600
|
+
gFlags?: DBusProxyFlags | null
|
|
25601
|
+
/**
|
|
25602
|
+
* Ensure that interactions with this proxy conform to the given
|
|
25603
|
+
* interface. This is mainly to ensure that malformed data received
|
|
25604
|
+
* from the other peer is ignored. The given #GDBusInterfaceInfo is
|
|
25605
|
+
* said to be the "expected interface".
|
|
25606
|
+
*
|
|
25607
|
+
* The checks performed are:
|
|
25608
|
+
* - When completing a method call, if the type signature of
|
|
25609
|
+
* the reply message isn't what's expected, the reply is
|
|
25610
|
+
* discarded and the #GError is set to %G_IO_ERROR_INVALID_ARGUMENT.
|
|
25611
|
+
*
|
|
25612
|
+
* - Received signals that have a type signature mismatch are dropped and
|
|
25613
|
+
* a warning is logged via g_warning().
|
|
25614
|
+
*
|
|
25615
|
+
* - Properties received via the initial `GetAll()` call or via the
|
|
25616
|
+
* `::PropertiesChanged` signal (on the
|
|
25617
|
+
* [org.freedesktop.DBus.Properties](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties)
|
|
25618
|
+
* interface) or set using g_dbus_proxy_set_cached_property()
|
|
25619
|
+
* with a type signature mismatch are ignored and a warning is
|
|
25620
|
+
* logged via g_warning().
|
|
25621
|
+
*
|
|
25622
|
+
* Note that these checks are never done on methods, signals and
|
|
25623
|
+
* properties that are not referenced in the given
|
|
25624
|
+
* #GDBusInterfaceInfo, since extending a D-Bus interface on the
|
|
25625
|
+
* service-side is not considered an ABI break.
|
|
25626
|
+
*/
|
|
25627
|
+
gInterfaceInfo?: DBusInterfaceInfo | null
|
|
25628
|
+
/**
|
|
25629
|
+
* The D-Bus interface name the proxy is for.
|
|
25630
|
+
*/
|
|
25631
|
+
gInterfaceName?: string | null
|
|
25632
|
+
/**
|
|
25633
|
+
* The well-known or unique name that the proxy is for.
|
|
25634
|
+
*/
|
|
25635
|
+
gName?: string | null
|
|
25636
|
+
/**
|
|
25637
|
+
* The object path the proxy is for.
|
|
25638
|
+
*/
|
|
25639
|
+
gObjectPath?: string | null
|
|
25053
25640
|
}
|
|
25054
25641
|
|
|
25055
25642
|
}
|
|
@@ -25065,10 +25652,21 @@ export interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25065
25652
|
* of this property.
|
|
25066
25653
|
*/
|
|
25067
25654
|
readonly g_bus_type: BusType
|
|
25655
|
+
/**
|
|
25656
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
25657
|
+
* #GDBusProxy:g-connection must be %NULL and will be set to the
|
|
25658
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
25659
|
+
* of this property.
|
|
25660
|
+
*/
|
|
25661
|
+
readonly gBusType: BusType
|
|
25068
25662
|
/**
|
|
25069
25663
|
* The #GDBusConnection the proxy is for.
|
|
25070
25664
|
*/
|
|
25071
25665
|
readonly g_connection: DBusConnection
|
|
25666
|
+
/**
|
|
25667
|
+
* The #GDBusConnection the proxy is for.
|
|
25668
|
+
*/
|
|
25669
|
+
readonly gConnection: DBusConnection
|
|
25072
25670
|
/**
|
|
25073
25671
|
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25074
25672
|
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
@@ -25080,10 +25678,25 @@ export interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25080
25678
|
* %G_MAXINT, then no timeout is used.
|
|
25081
25679
|
*/
|
|
25082
25680
|
g_default_timeout: number
|
|
25681
|
+
/**
|
|
25682
|
+
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25683
|
+
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
25684
|
+
* g_dbus_proxy_call_sync() functions.
|
|
25685
|
+
*
|
|
25686
|
+
* This allows applications to set a proxy-wide timeout for all
|
|
25687
|
+
* remote method invocations on the proxy. If this property is -1,
|
|
25688
|
+
* the default timeout (typically 25 seconds) is used. If set to
|
|
25689
|
+
* %G_MAXINT, then no timeout is used.
|
|
25690
|
+
*/
|
|
25691
|
+
gDefaultTimeout: number
|
|
25083
25692
|
/**
|
|
25084
25693
|
* Flags from the #GDBusProxyFlags enumeration.
|
|
25085
25694
|
*/
|
|
25086
25695
|
readonly g_flags: DBusProxyFlags
|
|
25696
|
+
/**
|
|
25697
|
+
* Flags from the #GDBusProxyFlags enumeration.
|
|
25698
|
+
*/
|
|
25699
|
+
readonly gFlags: DBusProxyFlags
|
|
25087
25700
|
/**
|
|
25088
25701
|
* Ensure that interactions with this proxy conform to the given
|
|
25089
25702
|
* interface. This is mainly to ensure that malformed data received
|
|
@@ -25111,24 +25724,69 @@ export interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25111
25724
|
* service-side is not considered an ABI break.
|
|
25112
25725
|
*/
|
|
25113
25726
|
g_interface_info: DBusInterfaceInfo
|
|
25727
|
+
/**
|
|
25728
|
+
* Ensure that interactions with this proxy conform to the given
|
|
25729
|
+
* interface. This is mainly to ensure that malformed data received
|
|
25730
|
+
* from the other peer is ignored. The given #GDBusInterfaceInfo is
|
|
25731
|
+
* said to be the "expected interface".
|
|
25732
|
+
*
|
|
25733
|
+
* The checks performed are:
|
|
25734
|
+
* - When completing a method call, if the type signature of
|
|
25735
|
+
* the reply message isn't what's expected, the reply is
|
|
25736
|
+
* discarded and the #GError is set to %G_IO_ERROR_INVALID_ARGUMENT.
|
|
25737
|
+
*
|
|
25738
|
+
* - Received signals that have a type signature mismatch are dropped and
|
|
25739
|
+
* a warning is logged via g_warning().
|
|
25740
|
+
*
|
|
25741
|
+
* - Properties received via the initial `GetAll()` call or via the
|
|
25742
|
+
* `::PropertiesChanged` signal (on the
|
|
25743
|
+
* [org.freedesktop.DBus.Properties](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties)
|
|
25744
|
+
* interface) or set using g_dbus_proxy_set_cached_property()
|
|
25745
|
+
* with a type signature mismatch are ignored and a warning is
|
|
25746
|
+
* logged via g_warning().
|
|
25747
|
+
*
|
|
25748
|
+
* Note that these checks are never done on methods, signals and
|
|
25749
|
+
* properties that are not referenced in the given
|
|
25750
|
+
* #GDBusInterfaceInfo, since extending a D-Bus interface on the
|
|
25751
|
+
* service-side is not considered an ABI break.
|
|
25752
|
+
*/
|
|
25753
|
+
gInterfaceInfo: DBusInterfaceInfo
|
|
25114
25754
|
/**
|
|
25115
25755
|
* The D-Bus interface name the proxy is for.
|
|
25116
25756
|
*/
|
|
25117
25757
|
readonly g_interface_name: string | null
|
|
25758
|
+
/**
|
|
25759
|
+
* The D-Bus interface name the proxy is for.
|
|
25760
|
+
*/
|
|
25761
|
+
readonly gInterfaceName: string | null
|
|
25118
25762
|
/**
|
|
25119
25763
|
* The well-known or unique name that the proxy is for.
|
|
25120
25764
|
*/
|
|
25121
25765
|
readonly g_name: string | null
|
|
25766
|
+
/**
|
|
25767
|
+
* The well-known or unique name that the proxy is for.
|
|
25768
|
+
*/
|
|
25769
|
+
readonly gName: string | null
|
|
25122
25770
|
/**
|
|
25123
25771
|
* The unique name that owns #GDBusProxy:g-name or %NULL if no-one
|
|
25124
25772
|
* currently owns that name. You may connect to #GObject::notify signal to
|
|
25125
25773
|
* track changes to this property.
|
|
25126
25774
|
*/
|
|
25127
25775
|
readonly g_name_owner: string | null
|
|
25776
|
+
/**
|
|
25777
|
+
* The unique name that owns #GDBusProxy:g-name or %NULL if no-one
|
|
25778
|
+
* currently owns that name. You may connect to #GObject::notify signal to
|
|
25779
|
+
* track changes to this property.
|
|
25780
|
+
*/
|
|
25781
|
+
readonly gNameOwner: string | null
|
|
25128
25782
|
/**
|
|
25129
25783
|
* The object path the proxy is for.
|
|
25130
25784
|
*/
|
|
25131
25785
|
readonly g_object_path: string | null
|
|
25786
|
+
/**
|
|
25787
|
+
* The object path the proxy is for.
|
|
25788
|
+
*/
|
|
25789
|
+
readonly gObjectPath: string | null
|
|
25132
25790
|
|
|
25133
25791
|
// Owm methods of Gio-2.0.Gio.DBusProxy
|
|
25134
25792
|
|
|
@@ -25657,6 +26315,10 @@ export module DBusServer {
|
|
|
25657
26315
|
* See #GDBusConnection:guid for more details.
|
|
25658
26316
|
*/
|
|
25659
26317
|
guid?: string | null
|
|
26318
|
+
/**
|
|
26319
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
26320
|
+
*/
|
|
26321
|
+
authenticationObserver?: DBusAuthObserver | null
|
|
25660
26322
|
}
|
|
25661
26323
|
|
|
25662
26324
|
}
|
|
@@ -25677,10 +26339,18 @@ export interface DBusServer extends Initable {
|
|
|
25677
26339
|
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
25678
26340
|
*/
|
|
25679
26341
|
readonly authentication_observer: DBusAuthObserver
|
|
26342
|
+
/**
|
|
26343
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
26344
|
+
*/
|
|
26345
|
+
readonly authenticationObserver: DBusAuthObserver
|
|
25680
26346
|
/**
|
|
25681
26347
|
* The D-Bus address that clients can use.
|
|
25682
26348
|
*/
|
|
25683
26349
|
readonly client_address: string | null
|
|
26350
|
+
/**
|
|
26351
|
+
* The D-Bus address that clients can use.
|
|
26352
|
+
*/
|
|
26353
|
+
readonly clientAddress: string | null
|
|
25684
26354
|
/**
|
|
25685
26355
|
* Flags from the #GDBusServerFlags enumeration.
|
|
25686
26356
|
*/
|
|
@@ -25842,6 +26512,17 @@ export module DataInputStream {
|
|
|
25842
26512
|
* as a line ending when reading complete lines from the stream.
|
|
25843
26513
|
*/
|
|
25844
26514
|
newline_type?: DataStreamNewlineType | null
|
|
26515
|
+
/**
|
|
26516
|
+
* The :byte-order property determines the byte ordering that
|
|
26517
|
+
* is used when reading multi-byte entities (such as integers)
|
|
26518
|
+
* from the stream.
|
|
26519
|
+
*/
|
|
26520
|
+
byteOrder?: DataStreamByteOrder | null
|
|
26521
|
+
/**
|
|
26522
|
+
* The :newline-type property determines what is considered
|
|
26523
|
+
* as a line ending when reading complete lines from the stream.
|
|
26524
|
+
*/
|
|
26525
|
+
newlineType?: DataStreamNewlineType | null
|
|
25845
26526
|
}
|
|
25846
26527
|
|
|
25847
26528
|
}
|
|
@@ -25856,11 +26537,22 @@ export interface DataInputStream extends Seekable {
|
|
|
25856
26537
|
* from the stream.
|
|
25857
26538
|
*/
|
|
25858
26539
|
byte_order: DataStreamByteOrder
|
|
26540
|
+
/**
|
|
26541
|
+
* The :byte-order property determines the byte ordering that
|
|
26542
|
+
* is used when reading multi-byte entities (such as integers)
|
|
26543
|
+
* from the stream.
|
|
26544
|
+
*/
|
|
26545
|
+
byteOrder: DataStreamByteOrder
|
|
25859
26546
|
/**
|
|
25860
26547
|
* The :newline-type property determines what is considered
|
|
25861
26548
|
* as a line ending when reading complete lines from the stream.
|
|
25862
26549
|
*/
|
|
25863
26550
|
newline_type: DataStreamNewlineType
|
|
26551
|
+
/**
|
|
26552
|
+
* The :newline-type property determines what is considered
|
|
26553
|
+
* as a line ending when reading complete lines from the stream.
|
|
26554
|
+
*/
|
|
26555
|
+
newlineType: DataStreamNewlineType
|
|
25864
26556
|
|
|
25865
26557
|
// Own fields of Gio-2.0.Gio.DataInputStream
|
|
25866
26558
|
|
|
@@ -26202,6 +26894,9 @@ export interface DataInputStream extends Seekable {
|
|
|
26202
26894
|
connect(sigName: "notify::buffer-size", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26203
26895
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26204
26896
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
26897
|
+
connect(sigName: "notify::base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26898
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26899
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
26205
26900
|
connect(sigName: "notify::close-base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26206
26901
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26207
26902
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -26267,6 +26962,11 @@ export module DataOutputStream {
|
|
|
26267
26962
|
* multi-byte entities (such as integers) to the stream.
|
|
26268
26963
|
*/
|
|
26269
26964
|
byte_order?: DataStreamByteOrder | null
|
|
26965
|
+
/**
|
|
26966
|
+
* Determines the byte ordering that is used when writing
|
|
26967
|
+
* multi-byte entities (such as integers) to the stream.
|
|
26968
|
+
*/
|
|
26969
|
+
byteOrder?: DataStreamByteOrder | null
|
|
26270
26970
|
}
|
|
26271
26971
|
|
|
26272
26972
|
}
|
|
@@ -26280,6 +26980,11 @@ export interface DataOutputStream extends Seekable {
|
|
|
26280
26980
|
* multi-byte entities (such as integers) to the stream.
|
|
26281
26981
|
*/
|
|
26282
26982
|
byte_order: DataStreamByteOrder
|
|
26983
|
+
/**
|
|
26984
|
+
* Determines the byte ordering that is used when writing
|
|
26985
|
+
* multi-byte entities (such as integers) to the stream.
|
|
26986
|
+
*/
|
|
26987
|
+
byteOrder: DataStreamByteOrder
|
|
26283
26988
|
|
|
26284
26989
|
// Own fields of Gio-2.0.Gio.DataOutputStream
|
|
26285
26990
|
|
|
@@ -26359,6 +27064,9 @@ export interface DataOutputStream extends Seekable {
|
|
|
26359
27064
|
connect(sigName: "notify::byte-order", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26360
27065
|
connect_after(sigName: "notify::byte-order", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26361
27066
|
emit(sigName: "notify::byte-order", ...args: any[]): void
|
|
27067
|
+
connect(sigName: "notify::base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
27068
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
27069
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
26362
27070
|
connect(sigName: "notify::close-base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26363
27071
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26364
27072
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -28746,6 +29454,7 @@ export module FileMonitor {
|
|
|
28746
29454
|
// Own constructor properties of Gio-2.0.Gio.FileMonitor
|
|
28747
29455
|
|
|
28748
29456
|
rate_limit?: number | null
|
|
29457
|
+
rateLimit?: number | null
|
|
28749
29458
|
}
|
|
28750
29459
|
|
|
28751
29460
|
}
|
|
@@ -28756,6 +29465,7 @@ export interface FileMonitor {
|
|
|
28756
29465
|
|
|
28757
29466
|
readonly cancelled: boolean
|
|
28758
29467
|
rate_limit: number
|
|
29468
|
+
rateLimit: number
|
|
28759
29469
|
|
|
28760
29470
|
// Own fields of Gio-2.0.Gio.FileMonitor
|
|
28761
29471
|
|
|
@@ -29140,6 +29850,8 @@ export module FilterInputStream {
|
|
|
29140
29850
|
|
|
29141
29851
|
base_stream?: InputStream | null
|
|
29142
29852
|
close_base_stream?: boolean | null
|
|
29853
|
+
baseStream?: InputStream | null
|
|
29854
|
+
closeBaseStream?: boolean | null
|
|
29143
29855
|
}
|
|
29144
29856
|
|
|
29145
29857
|
}
|
|
@@ -29148,7 +29860,9 @@ export interface FilterInputStream {
|
|
|
29148
29860
|
|
|
29149
29861
|
// Own properties of Gio-2.0.Gio.FilterInputStream
|
|
29150
29862
|
|
|
29863
|
+
readonly baseStream: InputStream
|
|
29151
29864
|
close_base_stream: boolean
|
|
29865
|
+
closeBaseStream: boolean
|
|
29152
29866
|
|
|
29153
29867
|
// Own fields of Gio-2.0.Gio.FilterInputStream
|
|
29154
29868
|
|
|
@@ -29176,6 +29890,9 @@ export interface FilterInputStream {
|
|
|
29176
29890
|
|
|
29177
29891
|
// Class property signals of Gio-2.0.Gio.FilterInputStream
|
|
29178
29892
|
|
|
29893
|
+
connect(sigName: "notify::base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29894
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29895
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
29179
29896
|
connect(sigName: "notify::close-base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29180
29897
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29181
29898
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -29215,6 +29932,8 @@ export module FilterOutputStream {
|
|
|
29215
29932
|
|
|
29216
29933
|
base_stream?: OutputStream | null
|
|
29217
29934
|
close_base_stream?: boolean | null
|
|
29935
|
+
baseStream?: OutputStream | null
|
|
29936
|
+
closeBaseStream?: boolean | null
|
|
29218
29937
|
}
|
|
29219
29938
|
|
|
29220
29939
|
}
|
|
@@ -29223,7 +29942,9 @@ export interface FilterOutputStream {
|
|
|
29223
29942
|
|
|
29224
29943
|
// Own properties of Gio-2.0.Gio.FilterOutputStream
|
|
29225
29944
|
|
|
29945
|
+
readonly baseStream: OutputStream
|
|
29226
29946
|
readonly close_base_stream: boolean
|
|
29947
|
+
readonly closeBaseStream: boolean
|
|
29227
29948
|
|
|
29228
29949
|
// Own fields of Gio-2.0.Gio.FilterOutputStream
|
|
29229
29950
|
|
|
@@ -29251,6 +29972,9 @@ export interface FilterOutputStream {
|
|
|
29251
29972
|
|
|
29252
29973
|
// Class property signals of Gio-2.0.Gio.FilterOutputStream
|
|
29253
29974
|
|
|
29975
|
+
connect(sigName: "notify::base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29976
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29977
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
29254
29978
|
connect(sigName: "notify::close-base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29255
29979
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29256
29980
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -29410,7 +30134,9 @@ export interface IOStream {
|
|
|
29410
30134
|
|
|
29411
30135
|
readonly closed: boolean
|
|
29412
30136
|
readonly input_stream: InputStream
|
|
30137
|
+
readonly inputStream: InputStream
|
|
29413
30138
|
readonly output_stream: OutputStream
|
|
30139
|
+
readonly outputStream: OutputStream
|
|
29414
30140
|
|
|
29415
30141
|
// Own fields of Gio-2.0.Gio.IOStream
|
|
29416
30142
|
|
|
@@ -29700,51 +30426,101 @@ export interface InetAddress {
|
|
|
29700
30426
|
* See g_inet_address_get_is_any().
|
|
29701
30427
|
*/
|
|
29702
30428
|
readonly is_any: boolean
|
|
30429
|
+
/**
|
|
30430
|
+
* Whether this is the "any" address for its family.
|
|
30431
|
+
* See g_inet_address_get_is_any().
|
|
30432
|
+
*/
|
|
30433
|
+
readonly isAny: boolean
|
|
29703
30434
|
/**
|
|
29704
30435
|
* Whether this is a link-local address.
|
|
29705
30436
|
* See g_inet_address_get_is_link_local().
|
|
29706
30437
|
*/
|
|
29707
30438
|
readonly is_link_local: boolean
|
|
30439
|
+
/**
|
|
30440
|
+
* Whether this is a link-local address.
|
|
30441
|
+
* See g_inet_address_get_is_link_local().
|
|
30442
|
+
*/
|
|
30443
|
+
readonly isLinkLocal: boolean
|
|
29708
30444
|
/**
|
|
29709
30445
|
* Whether this is the loopback address for its family.
|
|
29710
30446
|
* See g_inet_address_get_is_loopback().
|
|
29711
30447
|
*/
|
|
29712
30448
|
readonly is_loopback: boolean
|
|
30449
|
+
/**
|
|
30450
|
+
* Whether this is the loopback address for its family.
|
|
30451
|
+
* See g_inet_address_get_is_loopback().
|
|
30452
|
+
*/
|
|
30453
|
+
readonly isLoopback: boolean
|
|
29713
30454
|
/**
|
|
29714
30455
|
* Whether this is a global multicast address.
|
|
29715
30456
|
* See g_inet_address_get_is_mc_global().
|
|
29716
30457
|
*/
|
|
29717
30458
|
readonly is_mc_global: boolean
|
|
30459
|
+
/**
|
|
30460
|
+
* Whether this is a global multicast address.
|
|
30461
|
+
* See g_inet_address_get_is_mc_global().
|
|
30462
|
+
*/
|
|
30463
|
+
readonly isMcGlobal: boolean
|
|
29718
30464
|
/**
|
|
29719
30465
|
* Whether this is a link-local multicast address.
|
|
29720
30466
|
* See g_inet_address_get_is_mc_link_local().
|
|
29721
30467
|
*/
|
|
29722
30468
|
readonly is_mc_link_local: boolean
|
|
30469
|
+
/**
|
|
30470
|
+
* Whether this is a link-local multicast address.
|
|
30471
|
+
* See g_inet_address_get_is_mc_link_local().
|
|
30472
|
+
*/
|
|
30473
|
+
readonly isMcLinkLocal: boolean
|
|
29723
30474
|
/**
|
|
29724
30475
|
* Whether this is a node-local multicast address.
|
|
29725
30476
|
* See g_inet_address_get_is_mc_node_local().
|
|
29726
30477
|
*/
|
|
29727
30478
|
readonly is_mc_node_local: boolean
|
|
30479
|
+
/**
|
|
30480
|
+
* Whether this is a node-local multicast address.
|
|
30481
|
+
* See g_inet_address_get_is_mc_node_local().
|
|
30482
|
+
*/
|
|
30483
|
+
readonly isMcNodeLocal: boolean
|
|
29728
30484
|
/**
|
|
29729
30485
|
* Whether this is an organization-local multicast address.
|
|
29730
30486
|
* See g_inet_address_get_is_mc_org_local().
|
|
29731
30487
|
*/
|
|
29732
30488
|
readonly is_mc_org_local: boolean
|
|
30489
|
+
/**
|
|
30490
|
+
* Whether this is an organization-local multicast address.
|
|
30491
|
+
* See g_inet_address_get_is_mc_org_local().
|
|
30492
|
+
*/
|
|
30493
|
+
readonly isMcOrgLocal: boolean
|
|
29733
30494
|
/**
|
|
29734
30495
|
* Whether this is a site-local multicast address.
|
|
29735
30496
|
* See g_inet_address_get_is_mc_site_local().
|
|
29736
30497
|
*/
|
|
29737
30498
|
readonly is_mc_site_local: boolean
|
|
30499
|
+
/**
|
|
30500
|
+
* Whether this is a site-local multicast address.
|
|
30501
|
+
* See g_inet_address_get_is_mc_site_local().
|
|
30502
|
+
*/
|
|
30503
|
+
readonly isMcSiteLocal: boolean
|
|
29738
30504
|
/**
|
|
29739
30505
|
* Whether this is a multicast address.
|
|
29740
30506
|
* See g_inet_address_get_is_multicast().
|
|
29741
30507
|
*/
|
|
29742
30508
|
readonly is_multicast: boolean
|
|
30509
|
+
/**
|
|
30510
|
+
* Whether this is a multicast address.
|
|
30511
|
+
* See g_inet_address_get_is_multicast().
|
|
30512
|
+
*/
|
|
30513
|
+
readonly isMulticast: boolean
|
|
29743
30514
|
/**
|
|
29744
30515
|
* Whether this is a site-local address.
|
|
29745
30516
|
* See g_inet_address_get_is_loopback().
|
|
29746
30517
|
*/
|
|
29747
30518
|
readonly is_site_local: boolean
|
|
30519
|
+
/**
|
|
30520
|
+
* Whether this is a site-local address.
|
|
30521
|
+
* See g_inet_address_get_is_loopback().
|
|
30522
|
+
*/
|
|
30523
|
+
readonly isSiteLocal: boolean
|
|
29748
30524
|
|
|
29749
30525
|
// Own fields of Gio-2.0.Gio.InetAddress
|
|
29750
30526
|
|
|
@@ -30082,6 +30858,7 @@ export module InetSocketAddress {
|
|
|
30082
30858
|
flowinfo?: number | null
|
|
30083
30859
|
port?: number | null
|
|
30084
30860
|
scope_id?: number | null
|
|
30861
|
+
scopeId?: number | null
|
|
30085
30862
|
}
|
|
30086
30863
|
|
|
30087
30864
|
}
|
|
@@ -30097,6 +30874,7 @@ export interface InetSocketAddress extends SocketConnectable {
|
|
|
30097
30874
|
readonly flowinfo: number
|
|
30098
30875
|
readonly port: number
|
|
30099
30876
|
readonly scope_id: number
|
|
30877
|
+
readonly scopeId: number
|
|
30100
30878
|
|
|
30101
30879
|
// Own fields of Gio-2.0.Gio.InetSocketAddress
|
|
30102
30880
|
|
|
@@ -30833,6 +31611,11 @@ export module ListStore {
|
|
|
30833
31611
|
* subclasses of #GObject.
|
|
30834
31612
|
*/
|
|
30835
31613
|
item_type?: GObject.GType | null
|
|
31614
|
+
/**
|
|
31615
|
+
* The type of items contained in this list store. Items must be
|
|
31616
|
+
* subclasses of #GObject.
|
|
31617
|
+
*/
|
|
31618
|
+
itemType?: GObject.GType | null
|
|
30836
31619
|
}
|
|
30837
31620
|
|
|
30838
31621
|
}
|
|
@@ -30846,10 +31629,19 @@ export interface ListStore<A extends GObject.Object = GObject.Object> extends Li
|
|
|
30846
31629
|
* subclasses of #GObject.
|
|
30847
31630
|
*/
|
|
30848
31631
|
readonly item_type: GObject.GType
|
|
31632
|
+
/**
|
|
31633
|
+
* The type of items contained in this list store. Items must be
|
|
31634
|
+
* subclasses of #GObject.
|
|
31635
|
+
*/
|
|
31636
|
+
readonly itemType: GObject.GType
|
|
30849
31637
|
/**
|
|
30850
31638
|
* The number of items contained in this list store.
|
|
30851
31639
|
*/
|
|
30852
31640
|
readonly n_items: number
|
|
31641
|
+
/**
|
|
31642
|
+
* The number of items contained in this list store.
|
|
31643
|
+
*/
|
|
31644
|
+
readonly nItems: number
|
|
30853
31645
|
|
|
30854
31646
|
// Owm methods of Gio-2.0.Gio.ListStore
|
|
30855
31647
|
|
|
@@ -31135,6 +31927,10 @@ export interface MemoryOutputStream extends PollableOutputStream, Seekable {
|
|
|
31135
31927
|
* Size of data written to the buffer.
|
|
31136
31928
|
*/
|
|
31137
31929
|
readonly data_size: number
|
|
31930
|
+
/**
|
|
31931
|
+
* Size of data written to the buffer.
|
|
31932
|
+
*/
|
|
31933
|
+
readonly dataSize: number
|
|
31138
31934
|
/**
|
|
31139
31935
|
* Current size of the data buffer.
|
|
31140
31936
|
*/
|
|
@@ -32441,6 +33237,23 @@ export module MountOperation {
|
|
|
32441
33237
|
* the mount operation.
|
|
32442
33238
|
*/
|
|
32443
33239
|
username?: string | null
|
|
33240
|
+
/**
|
|
33241
|
+
* Whether the device to be unlocked is a TCRYPT hidden volume.
|
|
33242
|
+
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
33243
|
+
*/
|
|
33244
|
+
isTcryptHiddenVolume?: boolean | null
|
|
33245
|
+
/**
|
|
33246
|
+
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
33247
|
+
* In this context, a system volume is a volume with a bootloader
|
|
33248
|
+
* and operating system installed. This is only supported for Windows
|
|
33249
|
+
* operating systems. For further documentation, see
|
|
33250
|
+
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
33251
|
+
*/
|
|
33252
|
+
isTcryptSystemVolume?: boolean | null
|
|
33253
|
+
/**
|
|
33254
|
+
* Determines if and how the password information should be saved.
|
|
33255
|
+
*/
|
|
33256
|
+
passwordSave?: PasswordSave | null
|
|
32444
33257
|
}
|
|
32445
33258
|
|
|
32446
33259
|
}
|
|
@@ -32467,6 +33280,11 @@ export interface MountOperation {
|
|
|
32467
33280
|
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
32468
33281
|
*/
|
|
32469
33282
|
is_tcrypt_hidden_volume: boolean
|
|
33283
|
+
/**
|
|
33284
|
+
* Whether the device to be unlocked is a TCRYPT hidden volume.
|
|
33285
|
+
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
33286
|
+
*/
|
|
33287
|
+
isTcryptHiddenVolume: boolean
|
|
32470
33288
|
/**
|
|
32471
33289
|
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
32472
33290
|
* In this context, a system volume is a volume with a bootloader
|
|
@@ -32475,6 +33293,14 @@ export interface MountOperation {
|
|
|
32475
33293
|
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
32476
33294
|
*/
|
|
32477
33295
|
is_tcrypt_system_volume: boolean
|
|
33296
|
+
/**
|
|
33297
|
+
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
33298
|
+
* In this context, a system volume is a volume with a bootloader
|
|
33299
|
+
* and operating system installed. This is only supported for Windows
|
|
33300
|
+
* operating systems. For further documentation, see
|
|
33301
|
+
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
33302
|
+
*/
|
|
33303
|
+
isTcryptSystemVolume: boolean
|
|
32478
33304
|
/**
|
|
32479
33305
|
* The password that is used for authentication when carrying out
|
|
32480
33306
|
* the mount operation.
|
|
@@ -32484,6 +33310,10 @@ export interface MountOperation {
|
|
|
32484
33310
|
* Determines if and how the password information should be saved.
|
|
32485
33311
|
*/
|
|
32486
33312
|
password_save: PasswordSave
|
|
33313
|
+
/**
|
|
33314
|
+
* Determines if and how the password information should be saved.
|
|
33315
|
+
*/
|
|
33316
|
+
passwordSave: PasswordSave
|
|
32487
33317
|
/**
|
|
32488
33318
|
* The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See
|
|
32489
33319
|
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/Personal%20Iterations%20Multiplier%20(PIM).html).
|
|
@@ -34344,11 +35174,21 @@ export interface Permission {
|
|
|
34344
35174
|
* g_permission_acquire().
|
|
34345
35175
|
*/
|
|
34346
35176
|
readonly can_acquire: boolean
|
|
35177
|
+
/**
|
|
35178
|
+
* %TRUE if it is generally possible to acquire the permission by calling
|
|
35179
|
+
* g_permission_acquire().
|
|
35180
|
+
*/
|
|
35181
|
+
readonly canAcquire: boolean
|
|
34347
35182
|
/**
|
|
34348
35183
|
* %TRUE if it is generally possible to release the permission by calling
|
|
34349
35184
|
* g_permission_release().
|
|
34350
35185
|
*/
|
|
34351
35186
|
readonly can_release: boolean
|
|
35187
|
+
/**
|
|
35188
|
+
* %TRUE if it is generally possible to release the permission by calling
|
|
35189
|
+
* g_permission_release().
|
|
35190
|
+
*/
|
|
35191
|
+
readonly canRelease: boolean
|
|
34352
35192
|
|
|
34353
35193
|
// Own fields of Gio-2.0.Gio.Permission
|
|
34354
35194
|
|
|
@@ -34661,6 +35501,18 @@ export module PropertyAction {
|
|
|
34661
35501
|
* readable and writable (and not construct-only).
|
|
34662
35502
|
*/
|
|
34663
35503
|
property_name?: string | null
|
|
35504
|
+
/**
|
|
35505
|
+
* If %TRUE, the state of the action will be the negation of the
|
|
35506
|
+
* property value, provided the property is boolean.
|
|
35507
|
+
*/
|
|
35508
|
+
invertBoolean?: boolean | null
|
|
35509
|
+
/**
|
|
35510
|
+
* The name of the property to wrap on the object.
|
|
35511
|
+
*
|
|
35512
|
+
* The property must exist on the passed-in object and it must be
|
|
35513
|
+
* readable and writable (and not construct-only).
|
|
35514
|
+
*/
|
|
35515
|
+
propertyName?: string | null
|
|
34664
35516
|
}
|
|
34665
35517
|
|
|
34666
35518
|
}
|
|
@@ -34681,6 +35533,11 @@ export interface PropertyAction extends Action {
|
|
|
34681
35533
|
* property value, provided the property is boolean.
|
|
34682
35534
|
*/
|
|
34683
35535
|
readonly invert_boolean: boolean
|
|
35536
|
+
/**
|
|
35537
|
+
* If %TRUE, the state of the action will be the negation of the
|
|
35538
|
+
* property value, provided the property is boolean.
|
|
35539
|
+
*/
|
|
35540
|
+
readonly invertBoolean: boolean
|
|
34684
35541
|
/**
|
|
34685
35542
|
* The name of the action. This is mostly meaningful for identifying
|
|
34686
35543
|
* the action once it has been added to a #GActionMap.
|
|
@@ -34697,6 +35554,11 @@ export interface PropertyAction extends Action {
|
|
|
34697
35554
|
* action.
|
|
34698
35555
|
*/
|
|
34699
35556
|
readonly parameter_type: GLib.VariantType
|
|
35557
|
+
/**
|
|
35558
|
+
* The type of the parameter that must be given when activating the
|
|
35559
|
+
* action.
|
|
35560
|
+
*/
|
|
35561
|
+
readonly parameterType: GLib.VariantType
|
|
34700
35562
|
/**
|
|
34701
35563
|
* The name of the property to wrap on the object.
|
|
34702
35564
|
*
|
|
@@ -34704,6 +35566,13 @@ export interface PropertyAction extends Action {
|
|
|
34704
35566
|
* readable and writable (and not construct-only).
|
|
34705
35567
|
*/
|
|
34706
35568
|
readonly property_name: string | null
|
|
35569
|
+
/**
|
|
35570
|
+
* The name of the property to wrap on the object.
|
|
35571
|
+
*
|
|
35572
|
+
* The property must exist on the passed-in object and it must be
|
|
35573
|
+
* readable and writable (and not construct-only).
|
|
35574
|
+
*/
|
|
35575
|
+
readonly propertyName: string | null
|
|
34707
35576
|
/**
|
|
34708
35577
|
* The state of the action, or %NULL if the action is stateless.
|
|
34709
35578
|
*/
|
|
@@ -34713,6 +35582,11 @@ export interface PropertyAction extends Action {
|
|
|
34713
35582
|
* action is stateless.
|
|
34714
35583
|
*/
|
|
34715
35584
|
readonly state_type: GLib.VariantType
|
|
35585
|
+
/**
|
|
35586
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
35587
|
+
* action is stateless.
|
|
35588
|
+
*/
|
|
35589
|
+
readonly stateType: GLib.VariantType
|
|
34716
35590
|
|
|
34717
35591
|
// Class property signals of Gio-2.0.Gio.PropertyAction
|
|
34718
35592
|
|
|
@@ -34868,6 +35742,13 @@ export module ProxyAddress {
|
|
|
34868
35742
|
*/
|
|
34869
35743
|
uri?: string | null
|
|
34870
35744
|
username?: string | null
|
|
35745
|
+
destinationHostname?: string | null
|
|
35746
|
+
destinationPort?: number | null
|
|
35747
|
+
/**
|
|
35748
|
+
* The protocol being spoke to the destination host, or %NULL if
|
|
35749
|
+
* the #GProxyAddress doesn't know.
|
|
35750
|
+
*/
|
|
35751
|
+
destinationProtocol?: string | null
|
|
34871
35752
|
}
|
|
34872
35753
|
|
|
34873
35754
|
}
|
|
@@ -34877,12 +35758,19 @@ export interface ProxyAddress extends SocketConnectable {
|
|
|
34877
35758
|
// Own properties of Gio-2.0.Gio.ProxyAddress
|
|
34878
35759
|
|
|
34879
35760
|
readonly destination_hostname: string | null
|
|
35761
|
+
readonly destinationHostname: string | null
|
|
34880
35762
|
readonly destination_port: number
|
|
35763
|
+
readonly destinationPort: number
|
|
34881
35764
|
/**
|
|
34882
35765
|
* The protocol being spoke to the destination host, or %NULL if
|
|
34883
35766
|
* the #GProxyAddress doesn't know.
|
|
34884
35767
|
*/
|
|
34885
35768
|
readonly destination_protocol: string | null
|
|
35769
|
+
/**
|
|
35770
|
+
* The protocol being spoke to the destination host, or %NULL if
|
|
35771
|
+
* the #GProxyAddress doesn't know.
|
|
35772
|
+
*/
|
|
35773
|
+
readonly destinationProtocol: string | null
|
|
34886
35774
|
readonly password: string | null
|
|
34887
35775
|
readonly protocol: string | null
|
|
34888
35776
|
/**
|
|
@@ -35066,6 +35954,15 @@ export module ProxyAddressEnumerator {
|
|
|
35066
35954
|
*/
|
|
35067
35955
|
proxy_resolver?: ProxyResolver | null
|
|
35068
35956
|
uri?: string | null
|
|
35957
|
+
/**
|
|
35958
|
+
* The default port to use if #GProxyAddressEnumerator:uri does not
|
|
35959
|
+
* specify one.
|
|
35960
|
+
*/
|
|
35961
|
+
defaultPort?: number | null
|
|
35962
|
+
/**
|
|
35963
|
+
* The proxy resolver to use.
|
|
35964
|
+
*/
|
|
35965
|
+
proxyResolver?: ProxyResolver | null
|
|
35069
35966
|
}
|
|
35070
35967
|
|
|
35071
35968
|
}
|
|
@@ -35080,10 +35977,19 @@ export interface ProxyAddressEnumerator {
|
|
|
35080
35977
|
* specify one.
|
|
35081
35978
|
*/
|
|
35082
35979
|
readonly default_port: number
|
|
35980
|
+
/**
|
|
35981
|
+
* The default port to use if #GProxyAddressEnumerator:uri does not
|
|
35982
|
+
* specify one.
|
|
35983
|
+
*/
|
|
35984
|
+
readonly defaultPort: number
|
|
35083
35985
|
/**
|
|
35084
35986
|
* The proxy resolver to use.
|
|
35085
35987
|
*/
|
|
35086
35988
|
proxy_resolver: ProxyResolver
|
|
35989
|
+
/**
|
|
35990
|
+
* The proxy resolver to use.
|
|
35991
|
+
*/
|
|
35992
|
+
proxyResolver: ProxyResolver
|
|
35087
35993
|
readonly uri: string | null
|
|
35088
35994
|
|
|
35089
35995
|
// Class property signals of Gio-2.0.Gio.ProxyAddressEnumerator
|
|
@@ -35817,6 +36723,21 @@ export module Settings {
|
|
|
35817
36723
|
* than the schema itself. Take care.
|
|
35818
36724
|
*/
|
|
35819
36725
|
settings_schema?: SettingsSchema | null
|
|
36726
|
+
/**
|
|
36727
|
+
* The name of the schema that describes the types of keys
|
|
36728
|
+
* for this #GSettings object.
|
|
36729
|
+
*/
|
|
36730
|
+
schemaId?: string | null
|
|
36731
|
+
/**
|
|
36732
|
+
* The #GSettingsSchema describing the types of keys for this
|
|
36733
|
+
* #GSettings object.
|
|
36734
|
+
*
|
|
36735
|
+
* Ideally, this property would be called 'schema'. #GSettingsSchema
|
|
36736
|
+
* has only existed since version 2.32, however, and before then the
|
|
36737
|
+
* 'schema' property was used to refer to the ID of the schema rather
|
|
36738
|
+
* than the schema itself. Take care.
|
|
36739
|
+
*/
|
|
36740
|
+
settingsSchema?: SettingsSchema | null
|
|
35820
36741
|
}
|
|
35821
36742
|
|
|
35822
36743
|
}
|
|
@@ -35834,11 +36755,21 @@ export interface Settings {
|
|
|
35834
36755
|
* g_settings_delay() for details.
|
|
35835
36756
|
*/
|
|
35836
36757
|
readonly delay_apply: boolean
|
|
36758
|
+
/**
|
|
36759
|
+
* Whether the #GSettings object is in 'delay-apply' mode. See
|
|
36760
|
+
* g_settings_delay() for details.
|
|
36761
|
+
*/
|
|
36762
|
+
readonly delayApply: boolean
|
|
35837
36763
|
/**
|
|
35838
36764
|
* If this property is %TRUE, the #GSettings object has outstanding
|
|
35839
36765
|
* changes that will be applied when g_settings_apply() is called.
|
|
35840
36766
|
*/
|
|
35841
36767
|
readonly has_unapplied: boolean
|
|
36768
|
+
/**
|
|
36769
|
+
* If this property is %TRUE, the #GSettings object has outstanding
|
|
36770
|
+
* changes that will be applied when g_settings_apply() is called.
|
|
36771
|
+
*/
|
|
36772
|
+
readonly hasUnapplied: boolean
|
|
35842
36773
|
/**
|
|
35843
36774
|
* The path within the backend where the settings are stored.
|
|
35844
36775
|
*/
|
|
@@ -35860,6 +36791,11 @@ export interface Settings {
|
|
|
35860
36791
|
* for this #GSettings object.
|
|
35861
36792
|
*/
|
|
35862
36793
|
readonly schema_id: string | null
|
|
36794
|
+
/**
|
|
36795
|
+
* The name of the schema that describes the types of keys
|
|
36796
|
+
* for this #GSettings object.
|
|
36797
|
+
*/
|
|
36798
|
+
readonly schemaId: string | null
|
|
35863
36799
|
/**
|
|
35864
36800
|
* The #GSettingsSchema describing the types of keys for this
|
|
35865
36801
|
* #GSettings object.
|
|
@@ -35870,6 +36806,16 @@ export interface Settings {
|
|
|
35870
36806
|
* than the schema itself. Take care.
|
|
35871
36807
|
*/
|
|
35872
36808
|
readonly settings_schema: SettingsSchema
|
|
36809
|
+
/**
|
|
36810
|
+
* The #GSettingsSchema describing the types of keys for this
|
|
36811
|
+
* #GSettings object.
|
|
36812
|
+
*
|
|
36813
|
+
* Ideally, this property would be called 'schema'. #GSettingsSchema
|
|
36814
|
+
* has only existed since version 2.32, however, and before then the
|
|
36815
|
+
* 'schema' property was used to refer to the ID of the schema rather
|
|
36816
|
+
* than the schema itself. Take care.
|
|
36817
|
+
*/
|
|
36818
|
+
readonly settingsSchema: SettingsSchema
|
|
35873
36819
|
|
|
35874
36820
|
// Own fields of Gio-2.0.Gio.Settings
|
|
35875
36821
|
|
|
@@ -37177,6 +38123,11 @@ export module SimpleAction {
|
|
|
37177
38123
|
* The state of the action, or %NULL if the action is stateless.
|
|
37178
38124
|
*/
|
|
37179
38125
|
state?: GLib.Variant | null
|
|
38126
|
+
/**
|
|
38127
|
+
* The type of the parameter that must be given when activating the
|
|
38128
|
+
* action.
|
|
38129
|
+
*/
|
|
38130
|
+
parameterType?: GLib.VariantType | null
|
|
37180
38131
|
}
|
|
37181
38132
|
|
|
37182
38133
|
}
|
|
@@ -37202,6 +38153,11 @@ export interface SimpleAction extends Action {
|
|
|
37202
38153
|
* action.
|
|
37203
38154
|
*/
|
|
37204
38155
|
readonly parameter_type: GLib.VariantType
|
|
38156
|
+
/**
|
|
38157
|
+
* The type of the parameter that must be given when activating the
|
|
38158
|
+
* action.
|
|
38159
|
+
*/
|
|
38160
|
+
readonly parameterType: GLib.VariantType
|
|
37205
38161
|
/**
|
|
37206
38162
|
* The state of the action, or %NULL if the action is stateless.
|
|
37207
38163
|
*/
|
|
@@ -37211,6 +38167,11 @@ export interface SimpleAction extends Action {
|
|
|
37211
38167
|
* action is stateless.
|
|
37212
38168
|
*/
|
|
37213
38169
|
readonly state_type: GLib.VariantType
|
|
38170
|
+
/**
|
|
38171
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
38172
|
+
* action is stateless.
|
|
38173
|
+
*/
|
|
38174
|
+
readonly stateType: GLib.VariantType
|
|
37214
38175
|
|
|
37215
38176
|
// Owm methods of Gio-2.0.Gio.SimpleAction
|
|
37216
38177
|
|
|
@@ -37784,6 +38745,8 @@ export module SimpleIOStream {
|
|
|
37784
38745
|
|
|
37785
38746
|
input_stream?: InputStream | null
|
|
37786
38747
|
output_stream?: OutputStream | null
|
|
38748
|
+
inputStream?: InputStream | null
|
|
38749
|
+
outputStream?: OutputStream | null
|
|
37787
38750
|
}
|
|
37788
38751
|
|
|
37789
38752
|
}
|
|
@@ -37793,7 +38756,9 @@ export interface SimpleIOStream {
|
|
|
37793
38756
|
// Own properties of Gio-2.0.Gio.SimpleIOStream
|
|
37794
38757
|
|
|
37795
38758
|
readonly input_stream: InputStream
|
|
38759
|
+
readonly inputStream: InputStream
|
|
37796
38760
|
readonly output_stream: OutputStream
|
|
38761
|
+
readonly outputStream: OutputStream
|
|
37797
38762
|
|
|
37798
38763
|
// Class property signals of Gio-2.0.Gio.SimpleIOStream
|
|
37799
38764
|
|
|
@@ -37974,6 +38939,53 @@ export module SimpleProxyResolver {
|
|
|
37974
38939
|
* commonly used by other applications.
|
|
37975
38940
|
*/
|
|
37976
38941
|
ignore_hosts?: string[] | null
|
|
38942
|
+
/**
|
|
38943
|
+
* The default proxy URI that will be used for any URI that doesn't
|
|
38944
|
+
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
|
38945
|
+
* of the schemes set with g_simple_proxy_resolver_set_uri_proxy().
|
|
38946
|
+
*
|
|
38947
|
+
* Note that as a special case, if this URI starts with
|
|
38948
|
+
* "socks://", #GSimpleProxyResolver will treat it as referring
|
|
38949
|
+
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
38950
|
+
*/
|
|
38951
|
+
defaultProxy?: string | null
|
|
38952
|
+
/**
|
|
38953
|
+
* A list of hostnames and IP addresses that the resolver should
|
|
38954
|
+
* allow direct connections to.
|
|
38955
|
+
*
|
|
38956
|
+
* Entries can be in one of 4 formats:
|
|
38957
|
+
*
|
|
38958
|
+
* - A hostname, such as "example.com", ".example.com", or
|
|
38959
|
+
* "*.example.com", any of which match "example.com" or
|
|
38960
|
+
* any subdomain of it.
|
|
38961
|
+
*
|
|
38962
|
+
* - An IPv4 or IPv6 address, such as "192.168.1.1",
|
|
38963
|
+
* which matches only that address.
|
|
38964
|
+
*
|
|
38965
|
+
* - A hostname or IP address followed by a port, such as
|
|
38966
|
+
* "example.com:80", which matches whatever the hostname or IP
|
|
38967
|
+
* address would match, but only for URLs with the (explicitly)
|
|
38968
|
+
* indicated port. In the case of an IPv6 address, the address
|
|
38969
|
+
* part must appear in brackets: "[::1]:443"
|
|
38970
|
+
*
|
|
38971
|
+
* - An IP address range, given by a base address and prefix length,
|
|
38972
|
+
* such as "fe80::/10", which matches any address in that range.
|
|
38973
|
+
*
|
|
38974
|
+
* Note that when dealing with Unicode hostnames, the matching is
|
|
38975
|
+
* done against the ASCII form of the name.
|
|
38976
|
+
*
|
|
38977
|
+
* Also note that hostname exclusions apply only to connections made
|
|
38978
|
+
* to hosts identified by name, and IP address exclusions apply only
|
|
38979
|
+
* to connections made to hosts identified by address. That is, if
|
|
38980
|
+
* example.com has an address of 192.168.1.1, and the :ignore-hosts list
|
|
38981
|
+
* contains only "192.168.1.1", then a connection to "example.com"
|
|
38982
|
+
* (eg, via a #GNetworkAddress) will use the proxy, and a connection to
|
|
38983
|
+
* "192.168.1.1" (eg, via a #GInetSocketAddress) will not.
|
|
38984
|
+
*
|
|
38985
|
+
* These rules match the "ignore-hosts"/"noproxy" rules most
|
|
38986
|
+
* commonly used by other applications.
|
|
38987
|
+
*/
|
|
38988
|
+
ignoreHosts?: string[] | null
|
|
37977
38989
|
}
|
|
37978
38990
|
|
|
37979
38991
|
}
|
|
@@ -37992,6 +39004,16 @@ export interface SimpleProxyResolver extends ProxyResolver {
|
|
|
37992
39004
|
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
37993
39005
|
*/
|
|
37994
39006
|
default_proxy: string | null
|
|
39007
|
+
/**
|
|
39008
|
+
* The default proxy URI that will be used for any URI that doesn't
|
|
39009
|
+
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
|
39010
|
+
* of the schemes set with g_simple_proxy_resolver_set_uri_proxy().
|
|
39011
|
+
*
|
|
39012
|
+
* Note that as a special case, if this URI starts with
|
|
39013
|
+
* "socks://", #GSimpleProxyResolver will treat it as referring
|
|
39014
|
+
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
39015
|
+
*/
|
|
39016
|
+
defaultProxy: string | null
|
|
37995
39017
|
/**
|
|
37996
39018
|
* A list of hostnames and IP addresses that the resolver should
|
|
37997
39019
|
* allow direct connections to.
|
|
@@ -38029,6 +39051,43 @@ export interface SimpleProxyResolver extends ProxyResolver {
|
|
|
38029
39051
|
* commonly used by other applications.
|
|
38030
39052
|
*/
|
|
38031
39053
|
ignore_hosts: string[]
|
|
39054
|
+
/**
|
|
39055
|
+
* A list of hostnames and IP addresses that the resolver should
|
|
39056
|
+
* allow direct connections to.
|
|
39057
|
+
*
|
|
39058
|
+
* Entries can be in one of 4 formats:
|
|
39059
|
+
*
|
|
39060
|
+
* - A hostname, such as "example.com", ".example.com", or
|
|
39061
|
+
* "*.example.com", any of which match "example.com" or
|
|
39062
|
+
* any subdomain of it.
|
|
39063
|
+
*
|
|
39064
|
+
* - An IPv4 or IPv6 address, such as "192.168.1.1",
|
|
39065
|
+
* which matches only that address.
|
|
39066
|
+
*
|
|
39067
|
+
* - A hostname or IP address followed by a port, such as
|
|
39068
|
+
* "example.com:80", which matches whatever the hostname or IP
|
|
39069
|
+
* address would match, but only for URLs with the (explicitly)
|
|
39070
|
+
* indicated port. In the case of an IPv6 address, the address
|
|
39071
|
+
* part must appear in brackets: "[::1]:443"
|
|
39072
|
+
*
|
|
39073
|
+
* - An IP address range, given by a base address and prefix length,
|
|
39074
|
+
* such as "fe80::/10", which matches any address in that range.
|
|
39075
|
+
*
|
|
39076
|
+
* Note that when dealing with Unicode hostnames, the matching is
|
|
39077
|
+
* done against the ASCII form of the name.
|
|
39078
|
+
*
|
|
39079
|
+
* Also note that hostname exclusions apply only to connections made
|
|
39080
|
+
* to hosts identified by name, and IP address exclusions apply only
|
|
39081
|
+
* to connections made to hosts identified by address. That is, if
|
|
39082
|
+
* example.com has an address of 192.168.1.1, and the :ignore-hosts list
|
|
39083
|
+
* contains only "192.168.1.1", then a connection to "example.com"
|
|
39084
|
+
* (eg, via a #GNetworkAddress) will use the proxy, and a connection to
|
|
39085
|
+
* "192.168.1.1" (eg, via a #GInetSocketAddress) will not.
|
|
39086
|
+
*
|
|
39087
|
+
* These rules match the "ignore-hosts"/"noproxy" rules most
|
|
39088
|
+
* commonly used by other applications.
|
|
39089
|
+
*/
|
|
39090
|
+
ignoreHosts: string[]
|
|
38032
39091
|
|
|
38033
39092
|
// Own fields of Gio-2.0.Gio.SimpleProxyResolver
|
|
38034
39093
|
|
|
@@ -38152,6 +39211,15 @@ export module Socket {
|
|
|
38152
39211
|
*/
|
|
38153
39212
|
ttl?: number | null
|
|
38154
39213
|
type?: SocketType | null
|
|
39214
|
+
listenBacklog?: number | null
|
|
39215
|
+
/**
|
|
39216
|
+
* Whether outgoing multicast packets loop back to the local host.
|
|
39217
|
+
*/
|
|
39218
|
+
multicastLoopback?: boolean | null
|
|
39219
|
+
/**
|
|
39220
|
+
* Time-to-live out outgoing multicast packets
|
|
39221
|
+
*/
|
|
39222
|
+
multicastTtl?: number | null
|
|
38155
39223
|
}
|
|
38156
39224
|
|
|
38157
39225
|
}
|
|
@@ -38169,17 +39237,28 @@ export interface Socket extends DatagramBased, Initable {
|
|
|
38169
39237
|
readonly fd: number
|
|
38170
39238
|
keepalive: boolean
|
|
38171
39239
|
listen_backlog: number
|
|
39240
|
+
listenBacklog: number
|
|
38172
39241
|
readonly local_address: SocketAddress
|
|
39242
|
+
readonly localAddress: SocketAddress
|
|
38173
39243
|
/**
|
|
38174
39244
|
* Whether outgoing multicast packets loop back to the local host.
|
|
38175
39245
|
*/
|
|
38176
39246
|
multicast_loopback: boolean
|
|
39247
|
+
/**
|
|
39248
|
+
* Whether outgoing multicast packets loop back to the local host.
|
|
39249
|
+
*/
|
|
39250
|
+
multicastLoopback: boolean
|
|
38177
39251
|
/**
|
|
38178
39252
|
* Time-to-live out outgoing multicast packets
|
|
38179
39253
|
*/
|
|
38180
39254
|
multicast_ttl: number
|
|
39255
|
+
/**
|
|
39256
|
+
* Time-to-live out outgoing multicast packets
|
|
39257
|
+
*/
|
|
39258
|
+
multicastTtl: number
|
|
38181
39259
|
readonly protocol: SocketProtocol
|
|
38182
39260
|
readonly remote_address: SocketAddress
|
|
39261
|
+
readonly remoteAddress: SocketAddress
|
|
38183
39262
|
/**
|
|
38184
39263
|
* The timeout in seconds on socket I/O
|
|
38185
39264
|
*/
|
|
@@ -39698,6 +40777,31 @@ export module SocketClient {
|
|
|
39698
40777
|
*/
|
|
39699
40778
|
tls_validation_flags?: TlsCertificateFlags | null
|
|
39700
40779
|
type?: SocketType | null
|
|
40780
|
+
enableProxy?: boolean | null
|
|
40781
|
+
localAddress?: SocketAddress | null
|
|
40782
|
+
/**
|
|
40783
|
+
* The proxy resolver to use
|
|
40784
|
+
*/
|
|
40785
|
+
proxyResolver?: ProxyResolver | null
|
|
40786
|
+
/**
|
|
40787
|
+
* The TLS validation flags used when creating TLS connections. The
|
|
40788
|
+
* default value is %G_TLS_CERTIFICATE_VALIDATE_ALL.
|
|
40789
|
+
*
|
|
40790
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
40791
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
40792
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
40793
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
40794
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
40795
|
+
* because this could potentially be the only error flag set even if
|
|
40796
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
40797
|
+
* safe way to use this property. This is not a horrible problem,
|
|
40798
|
+
* though, because you should not be attempting to ignore validation
|
|
40799
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
40800
|
+
* connect to the #GSocketClient::event signal, wait for it to be
|
|
40801
|
+
* emitted with %G_SOCKET_CLIENT_TLS_HANDSHAKING, and use that to
|
|
40802
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
40803
|
+
*/
|
|
40804
|
+
tlsValidationFlags?: TlsCertificateFlags | null
|
|
39701
40805
|
}
|
|
39702
40806
|
|
|
39703
40807
|
}
|
|
@@ -39707,13 +40811,19 @@ export interface SocketClient {
|
|
|
39707
40811
|
// Own properties of Gio-2.0.Gio.SocketClient
|
|
39708
40812
|
|
|
39709
40813
|
enable_proxy: boolean
|
|
40814
|
+
enableProxy: boolean
|
|
39710
40815
|
family: SocketFamily
|
|
39711
40816
|
local_address: SocketAddress
|
|
40817
|
+
localAddress: SocketAddress
|
|
39712
40818
|
protocol: SocketProtocol
|
|
39713
40819
|
/**
|
|
39714
40820
|
* The proxy resolver to use
|
|
39715
40821
|
*/
|
|
39716
40822
|
proxy_resolver: ProxyResolver
|
|
40823
|
+
/**
|
|
40824
|
+
* The proxy resolver to use
|
|
40825
|
+
*/
|
|
40826
|
+
proxyResolver: ProxyResolver
|
|
39717
40827
|
timeout: number
|
|
39718
40828
|
tls: boolean
|
|
39719
40829
|
/**
|
|
@@ -39735,6 +40845,25 @@ export interface SocketClient {
|
|
|
39735
40845
|
* connect to #GTlsConnection::accept-certificate.
|
|
39736
40846
|
*/
|
|
39737
40847
|
tls_validation_flags: TlsCertificateFlags
|
|
40848
|
+
/**
|
|
40849
|
+
* The TLS validation flags used when creating TLS connections. The
|
|
40850
|
+
* default value is %G_TLS_CERTIFICATE_VALIDATE_ALL.
|
|
40851
|
+
*
|
|
40852
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
40853
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
40854
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
40855
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
40856
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
40857
|
+
* because this could potentially be the only error flag set even if
|
|
40858
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
40859
|
+
* safe way to use this property. This is not a horrible problem,
|
|
40860
|
+
* though, because you should not be attempting to ignore validation
|
|
40861
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
40862
|
+
* connect to the #GSocketClient::event signal, wait for it to be
|
|
40863
|
+
* emitted with %G_SOCKET_CLIENT_TLS_HANDSHAKING, and use that to
|
|
40864
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
40865
|
+
*/
|
|
40866
|
+
tlsValidationFlags: TlsCertificateFlags
|
|
39738
40867
|
type: SocketType
|
|
39739
40868
|
|
|
39740
40869
|
// Own fields of Gio-2.0.Gio.SocketClient
|
|
@@ -40609,6 +41738,7 @@ export module SocketListener {
|
|
|
40609
41738
|
// Own constructor properties of Gio-2.0.Gio.SocketListener
|
|
40610
41739
|
|
|
40611
41740
|
listen_backlog?: number | null
|
|
41741
|
+
listenBacklog?: number | null
|
|
40612
41742
|
}
|
|
40613
41743
|
|
|
40614
41744
|
}
|
|
@@ -40618,6 +41748,7 @@ export interface SocketListener {
|
|
|
40618
41748
|
// Own properties of Gio-2.0.Gio.SocketListener
|
|
40619
41749
|
|
|
40620
41750
|
listen_backlog: number
|
|
41751
|
+
listenBacklog: number
|
|
40621
41752
|
|
|
40622
41753
|
// Own fields of Gio-2.0.Gio.SocketListener
|
|
40623
41754
|
|
|
@@ -42810,6 +43941,7 @@ export module TcpConnection {
|
|
|
42810
43941
|
// Own constructor properties of Gio-2.0.Gio.TcpConnection
|
|
42811
43942
|
|
|
42812
43943
|
graceful_disconnect?: boolean | null
|
|
43944
|
+
gracefulDisconnect?: boolean | null
|
|
42813
43945
|
}
|
|
42814
43946
|
|
|
42815
43947
|
}
|
|
@@ -42819,6 +43951,7 @@ export interface TcpConnection {
|
|
|
42819
43951
|
// Own properties of Gio-2.0.Gio.TcpConnection
|
|
42820
43952
|
|
|
42821
43953
|
graceful_disconnect: boolean
|
|
43954
|
+
gracefulDisconnect: boolean
|
|
42822
43955
|
|
|
42823
43956
|
// Own fields of Gio-2.0.Gio.TcpConnection
|
|
42824
43957
|
|
|
@@ -42957,6 +44090,7 @@ export module TcpWrapperConnection {
|
|
|
42957
44090
|
// Own constructor properties of Gio-2.0.Gio.TcpWrapperConnection
|
|
42958
44091
|
|
|
42959
44092
|
base_io_stream?: IOStream | null
|
|
44093
|
+
baseIoStream?: IOStream | null
|
|
42960
44094
|
}
|
|
42961
44095
|
|
|
42962
44096
|
}
|
|
@@ -42966,6 +44100,7 @@ export interface TcpWrapperConnection {
|
|
|
42966
44100
|
// Own properties of Gio-2.0.Gio.TcpWrapperConnection
|
|
42967
44101
|
|
|
42968
44102
|
readonly base_io_stream: IOStream
|
|
44103
|
+
readonly baseIoStream: IOStream
|
|
42969
44104
|
|
|
42970
44105
|
// Own fields of Gio-2.0.Gio.TcpWrapperConnection
|
|
42971
44106
|
|
|
@@ -43351,6 +44486,26 @@ export module ThemedIcon {
|
|
|
43351
44486
|
*
|
|
43352
44487
|
*/
|
|
43353
44488
|
use_default_fallbacks?: boolean | null
|
|
44489
|
+
/**
|
|
44490
|
+
* Whether to use the default fallbacks found by shortening the icon name
|
|
44491
|
+
* at '-' characters. If the "names" array has more than one element,
|
|
44492
|
+
* ignores any past the first.
|
|
44493
|
+
*
|
|
44494
|
+
* For example, if the icon name was "gnome-dev-cdrom-audio", the array
|
|
44495
|
+
* would become
|
|
44496
|
+
*
|
|
44497
|
+
* ```c
|
|
44498
|
+
* {
|
|
44499
|
+
* "gnome-dev-cdrom-audio",
|
|
44500
|
+
* "gnome-dev-cdrom",
|
|
44501
|
+
* "gnome-dev",
|
|
44502
|
+
* "gnome",
|
|
44503
|
+
* NULL
|
|
44504
|
+
* };
|
|
44505
|
+
* ```
|
|
44506
|
+
*
|
|
44507
|
+
*/
|
|
44508
|
+
useDefaultFallbacks?: boolean | null
|
|
43354
44509
|
}
|
|
43355
44510
|
|
|
43356
44511
|
}
|
|
@@ -43387,6 +44542,26 @@ export interface ThemedIcon extends Icon {
|
|
|
43387
44542
|
*
|
|
43388
44543
|
*/
|
|
43389
44544
|
readonly use_default_fallbacks: boolean
|
|
44545
|
+
/**
|
|
44546
|
+
* Whether to use the default fallbacks found by shortening the icon name
|
|
44547
|
+
* at '-' characters. If the "names" array has more than one element,
|
|
44548
|
+
* ignores any past the first.
|
|
44549
|
+
*
|
|
44550
|
+
* For example, if the icon name was "gnome-dev-cdrom-audio", the array
|
|
44551
|
+
* would become
|
|
44552
|
+
*
|
|
44553
|
+
* ```c
|
|
44554
|
+
* {
|
|
44555
|
+
* "gnome-dev-cdrom-audio",
|
|
44556
|
+
* "gnome-dev-cdrom",
|
|
44557
|
+
* "gnome-dev",
|
|
44558
|
+
* "gnome",
|
|
44559
|
+
* NULL
|
|
44560
|
+
* };
|
|
44561
|
+
* ```
|
|
44562
|
+
*
|
|
44563
|
+
*/
|
|
44564
|
+
readonly useDefaultFallbacks: boolean
|
|
43390
44565
|
|
|
43391
44566
|
// Owm methods of Gio-2.0.Gio.ThemedIcon
|
|
43392
44567
|
|
|
@@ -43515,6 +44690,7 @@ export module ThreadedSocketService {
|
|
|
43515
44690
|
// Own constructor properties of Gio-2.0.Gio.ThreadedSocketService
|
|
43516
44691
|
|
|
43517
44692
|
max_threads?: number | null
|
|
44693
|
+
maxThreads?: number | null
|
|
43518
44694
|
}
|
|
43519
44695
|
|
|
43520
44696
|
}
|
|
@@ -43524,6 +44700,7 @@ export interface ThreadedSocketService {
|
|
|
43524
44700
|
// Own properties of Gio-2.0.Gio.ThreadedSocketService
|
|
43525
44701
|
|
|
43526
44702
|
readonly max_threads: number
|
|
44703
|
+
readonly maxThreads: number
|
|
43527
44704
|
|
|
43528
44705
|
// Own fields of Gio-2.0.Gio.ThreadedSocketService
|
|
43529
44706
|
|
|
@@ -43730,6 +44907,72 @@ export module TlsCertificate {
|
|
|
43730
44907
|
* object containing a private key.
|
|
43731
44908
|
*/
|
|
43732
44909
|
private_key_pkcs11_uri?: string | null
|
|
44910
|
+
/**
|
|
44911
|
+
* The PEM (ASCII) encoded representation of the certificate.
|
|
44912
|
+
* This property and the #GTlsCertificate:certificate
|
|
44913
|
+
* property represent the same data, just in different forms.
|
|
44914
|
+
*/
|
|
44915
|
+
certificatePem?: string | null
|
|
44916
|
+
/**
|
|
44917
|
+
* A URI referencing the [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
44918
|
+
* objects containing an X.509 certificate and optionally a private key.
|
|
44919
|
+
*
|
|
44920
|
+
* If %NULL, the certificate is either not backed by PKCS \#11 or the
|
|
44921
|
+
* #GTlsBackend does not support PKCS \#11.
|
|
44922
|
+
*/
|
|
44923
|
+
pkcs11Uri?: string | null
|
|
44924
|
+
/**
|
|
44925
|
+
* The PKCS #12 formatted data used to construct the object.
|
|
44926
|
+
*
|
|
44927
|
+
* See also: g_tls_certificate_new_from_pkcs12()
|
|
44928
|
+
*/
|
|
44929
|
+
pkcs12Data?: Uint8Array | null
|
|
44930
|
+
/**
|
|
44931
|
+
* The DER (binary) encoded representation of the certificate's
|
|
44932
|
+
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
44933
|
+
* or unencrypted [PKCS \#8 format.](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
44934
|
+
* PKCS \#8 format is supported since 2.32; earlier releases only
|
|
44935
|
+
* support PKCS \#1. You can use the `openssl rsa` tool to convert
|
|
44936
|
+
* PKCS \#8 keys to PKCS \#1.
|
|
44937
|
+
*
|
|
44938
|
+
* This property (or the #GTlsCertificate:private-key-pem property)
|
|
44939
|
+
* can be set when constructing a key (for example, from a file).
|
|
44940
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
44941
|
+
* the private key is backed by a PKCS \#11 URI – for example, if it
|
|
44942
|
+
* is stored on a smartcard – then this property will be %NULL. If so,
|
|
44943
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
44944
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
44945
|
+
* properties to see if the certificate really has a private key.
|
|
44946
|
+
* When this property is read, the output format will be unencrypted
|
|
44947
|
+
* PKCS \#8.
|
|
44948
|
+
*/
|
|
44949
|
+
privateKey?: Uint8Array | null
|
|
44950
|
+
/**
|
|
44951
|
+
* The PEM (ASCII) encoded representation of the certificate's
|
|
44952
|
+
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
44953
|
+
* ("`BEGIN RSA PRIVATE KEY`") or unencrypted
|
|
44954
|
+
* [PKCS \#8 format](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
44955
|
+
* ("`BEGIN PRIVATE KEY`"). PKCS \#8 format is supported since 2.32;
|
|
44956
|
+
* earlier releases only support PKCS \#1. You can use the `openssl rsa`
|
|
44957
|
+
* tool to convert PKCS \#8 keys to PKCS \#1.
|
|
44958
|
+
*
|
|
44959
|
+
* This property (or the #GTlsCertificate:private-key property)
|
|
44960
|
+
* can be set when constructing a key (for example, from a file).
|
|
44961
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
44962
|
+
* the private key is backed by a PKCS \#11 URI - for example, if it
|
|
44963
|
+
* is stored on a smartcard - then this property will be %NULL. If so,
|
|
44964
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
44965
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
44966
|
+
* properties to see if the certificate really has a private key.
|
|
44967
|
+
* When this property is read, the output format will be unencrypted
|
|
44968
|
+
* PKCS \#8.
|
|
44969
|
+
*/
|
|
44970
|
+
privateKeyPem?: string | null
|
|
44971
|
+
/**
|
|
44972
|
+
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
44973
|
+
* object containing a private key.
|
|
44974
|
+
*/
|
|
44975
|
+
privateKeyPkcs11Uri?: string | null
|
|
43733
44976
|
}
|
|
43734
44977
|
|
|
43735
44978
|
}
|
|
@@ -43750,16 +44993,32 @@ export interface TlsCertificate {
|
|
|
43750
44993
|
* property represent the same data, just in different forms.
|
|
43751
44994
|
*/
|
|
43752
44995
|
readonly certificate_pem: string | null
|
|
44996
|
+
/**
|
|
44997
|
+
* The PEM (ASCII) encoded representation of the certificate.
|
|
44998
|
+
* This property and the #GTlsCertificate:certificate
|
|
44999
|
+
* property represent the same data, just in different forms.
|
|
45000
|
+
*/
|
|
45001
|
+
readonly certificatePem: string | null
|
|
43753
45002
|
/**
|
|
43754
45003
|
* The DNS names from the certificate's Subject Alternative Names (SANs),
|
|
43755
45004
|
* %NULL if unavailable.
|
|
43756
45005
|
*/
|
|
43757
45006
|
readonly dns_names: any[]
|
|
45007
|
+
/**
|
|
45008
|
+
* The DNS names from the certificate's Subject Alternative Names (SANs),
|
|
45009
|
+
* %NULL if unavailable.
|
|
45010
|
+
*/
|
|
45011
|
+
readonly dnsNames: any[]
|
|
43758
45012
|
/**
|
|
43759
45013
|
* The IP addresses from the certificate's Subject Alternative Names (SANs),
|
|
43760
45014
|
* %NULL if unavailable.
|
|
43761
45015
|
*/
|
|
43762
45016
|
readonly ip_addresses: any[]
|
|
45017
|
+
/**
|
|
45018
|
+
* The IP addresses from the certificate's Subject Alternative Names (SANs),
|
|
45019
|
+
* %NULL if unavailable.
|
|
45020
|
+
*/
|
|
45021
|
+
readonly ipAddresses: any[]
|
|
43763
45022
|
/**
|
|
43764
45023
|
* A #GTlsCertificate representing the entity that issued this
|
|
43765
45024
|
* certificate. If %NULL, this means that the certificate is either
|
|
@@ -43784,16 +45043,31 @@ export interface TlsCertificate {
|
|
|
43784
45043
|
* %NULL if unavailable.
|
|
43785
45044
|
*/
|
|
43786
45045
|
readonly issuer_name: string | null
|
|
45046
|
+
/**
|
|
45047
|
+
* The issuer from the certificate,
|
|
45048
|
+
* %NULL if unavailable.
|
|
45049
|
+
*/
|
|
45050
|
+
readonly issuerName: string | null
|
|
43787
45051
|
/**
|
|
43788
45052
|
* The time at which this cert is no longer valid,
|
|
43789
45053
|
* %NULL if unavailable.
|
|
43790
45054
|
*/
|
|
43791
45055
|
readonly not_valid_after: GLib.DateTime
|
|
45056
|
+
/**
|
|
45057
|
+
* The time at which this cert is no longer valid,
|
|
45058
|
+
* %NULL if unavailable.
|
|
45059
|
+
*/
|
|
45060
|
+
readonly notValidAfter: GLib.DateTime
|
|
43792
45061
|
/**
|
|
43793
45062
|
* The time at which this cert is considered to be valid,
|
|
43794
45063
|
* %NULL if unavailable.
|
|
43795
45064
|
*/
|
|
43796
45065
|
readonly not_valid_before: GLib.DateTime
|
|
45066
|
+
/**
|
|
45067
|
+
* The time at which this cert is considered to be valid,
|
|
45068
|
+
* %NULL if unavailable.
|
|
45069
|
+
*/
|
|
45070
|
+
readonly notValidBefore: GLib.DateTime
|
|
43797
45071
|
/**
|
|
43798
45072
|
* An optional password used when constructed with GTlsCertificate:pkcs12-data.
|
|
43799
45073
|
*/
|
|
@@ -43806,12 +45080,26 @@ export interface TlsCertificate {
|
|
|
43806
45080
|
* #GTlsBackend does not support PKCS \#11.
|
|
43807
45081
|
*/
|
|
43808
45082
|
readonly pkcs11_uri: string | null
|
|
45083
|
+
/**
|
|
45084
|
+
* A URI referencing the [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
45085
|
+
* objects containing an X.509 certificate and optionally a private key.
|
|
45086
|
+
*
|
|
45087
|
+
* If %NULL, the certificate is either not backed by PKCS \#11 or the
|
|
45088
|
+
* #GTlsBackend does not support PKCS \#11.
|
|
45089
|
+
*/
|
|
45090
|
+
readonly pkcs11Uri: string | null
|
|
43809
45091
|
/**
|
|
43810
45092
|
* The PKCS #12 formatted data used to construct the object.
|
|
43811
45093
|
*
|
|
43812
45094
|
* See also: g_tls_certificate_new_from_pkcs12()
|
|
43813
45095
|
*/
|
|
43814
45096
|
readonly pkcs12_data: Uint8Array
|
|
45097
|
+
/**
|
|
45098
|
+
* The PKCS #12 formatted data used to construct the object.
|
|
45099
|
+
*
|
|
45100
|
+
* See also: g_tls_certificate_new_from_pkcs12()
|
|
45101
|
+
*/
|
|
45102
|
+
readonly pkcs12Data: Uint8Array
|
|
43815
45103
|
/**
|
|
43816
45104
|
* The DER (binary) encoded representation of the certificate's
|
|
43817
45105
|
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
@@ -43832,6 +45120,26 @@ export interface TlsCertificate {
|
|
|
43832
45120
|
* PKCS \#8.
|
|
43833
45121
|
*/
|
|
43834
45122
|
readonly private_key: Uint8Array
|
|
45123
|
+
/**
|
|
45124
|
+
* The DER (binary) encoded representation of the certificate's
|
|
45125
|
+
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
45126
|
+
* or unencrypted [PKCS \#8 format.](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
45127
|
+
* PKCS \#8 format is supported since 2.32; earlier releases only
|
|
45128
|
+
* support PKCS \#1. You can use the `openssl rsa` tool to convert
|
|
45129
|
+
* PKCS \#8 keys to PKCS \#1.
|
|
45130
|
+
*
|
|
45131
|
+
* This property (or the #GTlsCertificate:private-key-pem property)
|
|
45132
|
+
* can be set when constructing a key (for example, from a file).
|
|
45133
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
45134
|
+
* the private key is backed by a PKCS \#11 URI – for example, if it
|
|
45135
|
+
* is stored on a smartcard – then this property will be %NULL. If so,
|
|
45136
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
45137
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
45138
|
+
* properties to see if the certificate really has a private key.
|
|
45139
|
+
* When this property is read, the output format will be unencrypted
|
|
45140
|
+
* PKCS \#8.
|
|
45141
|
+
*/
|
|
45142
|
+
readonly privateKey: Uint8Array
|
|
43835
45143
|
/**
|
|
43836
45144
|
* The PEM (ASCII) encoded representation of the certificate's
|
|
43837
45145
|
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
@@ -43853,16 +45161,47 @@ export interface TlsCertificate {
|
|
|
43853
45161
|
* PKCS \#8.
|
|
43854
45162
|
*/
|
|
43855
45163
|
readonly private_key_pem: string | null
|
|
45164
|
+
/**
|
|
45165
|
+
* The PEM (ASCII) encoded representation of the certificate's
|
|
45166
|
+
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
45167
|
+
* ("`BEGIN RSA PRIVATE KEY`") or unencrypted
|
|
45168
|
+
* [PKCS \#8 format](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
45169
|
+
* ("`BEGIN PRIVATE KEY`"). PKCS \#8 format is supported since 2.32;
|
|
45170
|
+
* earlier releases only support PKCS \#1. You can use the `openssl rsa`
|
|
45171
|
+
* tool to convert PKCS \#8 keys to PKCS \#1.
|
|
45172
|
+
*
|
|
45173
|
+
* This property (or the #GTlsCertificate:private-key property)
|
|
45174
|
+
* can be set when constructing a key (for example, from a file).
|
|
45175
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
45176
|
+
* the private key is backed by a PKCS \#11 URI - for example, if it
|
|
45177
|
+
* is stored on a smartcard - then this property will be %NULL. If so,
|
|
45178
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
45179
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
45180
|
+
* properties to see if the certificate really has a private key.
|
|
45181
|
+
* When this property is read, the output format will be unencrypted
|
|
45182
|
+
* PKCS \#8.
|
|
45183
|
+
*/
|
|
45184
|
+
readonly privateKeyPem: string | null
|
|
43856
45185
|
/**
|
|
43857
45186
|
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
43858
45187
|
* object containing a private key.
|
|
43859
45188
|
*/
|
|
43860
45189
|
readonly private_key_pkcs11_uri: string | null
|
|
45190
|
+
/**
|
|
45191
|
+
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
45192
|
+
* object containing a private key.
|
|
45193
|
+
*/
|
|
45194
|
+
readonly privateKeyPkcs11Uri: string | null
|
|
43861
45195
|
/**
|
|
43862
45196
|
* The subject from the cert,
|
|
43863
45197
|
* %NULL if unavailable.
|
|
43864
45198
|
*/
|
|
43865
45199
|
readonly subject_name: string | null
|
|
45200
|
+
/**
|
|
45201
|
+
* The subject from the cert,
|
|
45202
|
+
* %NULL if unavailable.
|
|
45203
|
+
*/
|
|
45204
|
+
readonly subjectName: string | null
|
|
43866
45205
|
|
|
43867
45206
|
// Own fields of Gio-2.0.Gio.TlsCertificate
|
|
43868
45207
|
|
|
@@ -44290,6 +45629,36 @@ export module TlsConnection {
|
|
|
44290
45629
|
* g_tls_connection_set_use_system_certdb().
|
|
44291
45630
|
*/
|
|
44292
45631
|
use_system_certdb?: boolean | null
|
|
45632
|
+
/**
|
|
45633
|
+
* The list of application-layer protocols that the connection
|
|
45634
|
+
* advertises that it is willing to speak. See
|
|
45635
|
+
* g_tls_connection_set_advertised_protocols().
|
|
45636
|
+
*/
|
|
45637
|
+
advertisedProtocols?: string[] | null
|
|
45638
|
+
/**
|
|
45639
|
+
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
45640
|
+
* to this stream, and may run operations on the stream from other threads
|
|
45641
|
+
* throughout its lifetime. Consequently, after the #GIOStream has been
|
|
45642
|
+
* constructed, application code may only run its own operations on this
|
|
45643
|
+
* stream when no #GIOStream operations are running.
|
|
45644
|
+
*/
|
|
45645
|
+
baseIoStream?: IOStream | null
|
|
45646
|
+
/**
|
|
45647
|
+
* The rehandshaking mode. See
|
|
45648
|
+
* g_tls_connection_set_rehandshake_mode().
|
|
45649
|
+
*/
|
|
45650
|
+
rehandshakeMode?: TlsRehandshakeMode | null
|
|
45651
|
+
/**
|
|
45652
|
+
* Whether or not proper TLS close notification is required.
|
|
45653
|
+
* See g_tls_connection_set_require_close_notify().
|
|
45654
|
+
*/
|
|
45655
|
+
requireCloseNotify?: boolean | null
|
|
45656
|
+
/**
|
|
45657
|
+
* Whether or not the system certificate database will be used to
|
|
45658
|
+
* verify peer certificates. See
|
|
45659
|
+
* g_tls_connection_set_use_system_certdb().
|
|
45660
|
+
*/
|
|
45661
|
+
useSystemCertdb?: boolean | null
|
|
44293
45662
|
}
|
|
44294
45663
|
|
|
44295
45664
|
}
|
|
@@ -44304,6 +45673,12 @@ export interface TlsConnection {
|
|
|
44304
45673
|
* g_tls_connection_set_advertised_protocols().
|
|
44305
45674
|
*/
|
|
44306
45675
|
advertised_protocols: string[]
|
|
45676
|
+
/**
|
|
45677
|
+
* The list of application-layer protocols that the connection
|
|
45678
|
+
* advertises that it is willing to speak. See
|
|
45679
|
+
* g_tls_connection_set_advertised_protocols().
|
|
45680
|
+
*/
|
|
45681
|
+
advertisedProtocols: string[]
|
|
44307
45682
|
/**
|
|
44308
45683
|
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
44309
45684
|
* to this stream, and may run operations on the stream from other threads
|
|
@@ -44312,6 +45687,14 @@ export interface TlsConnection {
|
|
|
44312
45687
|
* stream when no #GIOStream operations are running.
|
|
44313
45688
|
*/
|
|
44314
45689
|
readonly base_io_stream: IOStream
|
|
45690
|
+
/**
|
|
45691
|
+
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
45692
|
+
* to this stream, and may run operations on the stream from other threads
|
|
45693
|
+
* throughout its lifetime. Consequently, after the #GIOStream has been
|
|
45694
|
+
* constructed, application code may only run its own operations on this
|
|
45695
|
+
* stream when no #GIOStream operations are running.
|
|
45696
|
+
*/
|
|
45697
|
+
readonly baseIoStream: IOStream
|
|
44315
45698
|
/**
|
|
44316
45699
|
* The connection's certificate; see
|
|
44317
45700
|
* g_tls_connection_set_certificate().
|
|
@@ -44321,6 +45704,10 @@ export interface TlsConnection {
|
|
|
44321
45704
|
* The name of the TLS ciphersuite in use. See g_tls_connection_get_ciphersuite_name().
|
|
44322
45705
|
*/
|
|
44323
45706
|
readonly ciphersuite_name: string | null
|
|
45707
|
+
/**
|
|
45708
|
+
* The name of the TLS ciphersuite in use. See g_tls_connection_get_ciphersuite_name().
|
|
45709
|
+
*/
|
|
45710
|
+
readonly ciphersuiteName: string | null
|
|
44324
45711
|
/**
|
|
44325
45712
|
* The certificate database to use when verifying this TLS connection.
|
|
44326
45713
|
* If no certificate database is set, then the default database will be
|
|
@@ -44351,6 +45738,11 @@ export interface TlsConnection {
|
|
|
44351
45738
|
* handshake. See g_tls_connection_get_negotiated_protocol().
|
|
44352
45739
|
*/
|
|
44353
45740
|
readonly negotiated_protocol: string | null
|
|
45741
|
+
/**
|
|
45742
|
+
* The application-layer protocol negotiated during the TLS
|
|
45743
|
+
* handshake. See g_tls_connection_get_negotiated_protocol().
|
|
45744
|
+
*/
|
|
45745
|
+
readonly negotiatedProtocol: string | null
|
|
44354
45746
|
/**
|
|
44355
45747
|
* The connection's peer's certificate, after the TLS handshake has
|
|
44356
45748
|
* completed or failed. Note in particular that this is not yet set
|
|
@@ -44360,6 +45752,15 @@ export interface TlsConnection {
|
|
|
44360
45752
|
* detect when a handshake has occurred.)
|
|
44361
45753
|
*/
|
|
44362
45754
|
readonly peer_certificate: TlsCertificate
|
|
45755
|
+
/**
|
|
45756
|
+
* The connection's peer's certificate, after the TLS handshake has
|
|
45757
|
+
* completed or failed. Note in particular that this is not yet set
|
|
45758
|
+
* during the emission of #GTlsConnection::accept-certificate.
|
|
45759
|
+
*
|
|
45760
|
+
* (You can watch for a #GObject::notify signal on this property to
|
|
45761
|
+
* detect when a handshake has occurred.)
|
|
45762
|
+
*/
|
|
45763
|
+
readonly peerCertificate: TlsCertificate
|
|
44363
45764
|
/**
|
|
44364
45765
|
* The errors noticed while verifying
|
|
44365
45766
|
* #GTlsConnection:peer-certificate. Normally this should be 0, but
|
|
@@ -44377,26 +45778,63 @@ export interface TlsConnection {
|
|
|
44377
45778
|
* error flag set even if other problems exist with the certificate.
|
|
44378
45779
|
*/
|
|
44379
45780
|
readonly peer_certificate_errors: TlsCertificateFlags
|
|
45781
|
+
/**
|
|
45782
|
+
* The errors noticed while verifying
|
|
45783
|
+
* #GTlsConnection:peer-certificate. Normally this should be 0, but
|
|
45784
|
+
* it may not be if #GTlsClientConnection:validation-flags is not
|
|
45785
|
+
* %G_TLS_CERTIFICATE_VALIDATE_ALL, or if
|
|
45786
|
+
* #GTlsConnection::accept-certificate overrode the default
|
|
45787
|
+
* behavior.
|
|
45788
|
+
*
|
|
45789
|
+
* GLib guarantees that if certificate verification fails, at least
|
|
45790
|
+
* one error will be set, but it does not guarantee that all possible
|
|
45791
|
+
* errors will be set. Accordingly, you may not safely decide to
|
|
45792
|
+
* ignore any particular type of error. For example, it would be
|
|
45793
|
+
* incorrect to mask %G_TLS_CERTIFICATE_EXPIRED if you want to allow
|
|
45794
|
+
* expired certificates, because this could potentially be the only
|
|
45795
|
+
* error flag set even if other problems exist with the certificate.
|
|
45796
|
+
*/
|
|
45797
|
+
readonly peerCertificateErrors: TlsCertificateFlags
|
|
44380
45798
|
/**
|
|
44381
45799
|
* The TLS protocol version in use. See g_tls_connection_get_protocol_version().
|
|
44382
45800
|
*/
|
|
44383
45801
|
readonly protocol_version: TlsProtocolVersion
|
|
45802
|
+
/**
|
|
45803
|
+
* The TLS protocol version in use. See g_tls_connection_get_protocol_version().
|
|
45804
|
+
*/
|
|
45805
|
+
readonly protocolVersion: TlsProtocolVersion
|
|
44384
45806
|
/**
|
|
44385
45807
|
* The rehandshaking mode. See
|
|
44386
45808
|
* g_tls_connection_set_rehandshake_mode().
|
|
44387
45809
|
*/
|
|
44388
45810
|
rehandshake_mode: TlsRehandshakeMode
|
|
45811
|
+
/**
|
|
45812
|
+
* The rehandshaking mode. See
|
|
45813
|
+
* g_tls_connection_set_rehandshake_mode().
|
|
45814
|
+
*/
|
|
45815
|
+
rehandshakeMode: TlsRehandshakeMode
|
|
44389
45816
|
/**
|
|
44390
45817
|
* Whether or not proper TLS close notification is required.
|
|
44391
45818
|
* See g_tls_connection_set_require_close_notify().
|
|
44392
45819
|
*/
|
|
44393
45820
|
require_close_notify: boolean
|
|
45821
|
+
/**
|
|
45822
|
+
* Whether or not proper TLS close notification is required.
|
|
45823
|
+
* See g_tls_connection_set_require_close_notify().
|
|
45824
|
+
*/
|
|
45825
|
+
requireCloseNotify: boolean
|
|
44394
45826
|
/**
|
|
44395
45827
|
* Whether or not the system certificate database will be used to
|
|
44396
45828
|
* verify peer certificates. See
|
|
44397
45829
|
* g_tls_connection_set_use_system_certdb().
|
|
44398
45830
|
*/
|
|
44399
45831
|
use_system_certdb: boolean
|
|
45832
|
+
/**
|
|
45833
|
+
* Whether or not the system certificate database will be used to
|
|
45834
|
+
* verify peer certificates. See
|
|
45835
|
+
* g_tls_connection_set_use_system_certdb().
|
|
45836
|
+
*/
|
|
45837
|
+
useSystemCertdb: boolean
|
|
44400
45838
|
|
|
44401
45839
|
// Own fields of Gio-2.0.Gio.TlsConnection
|
|
44402
45840
|
|
|
@@ -46537,6 +47975,7 @@ export module UnixFDMessage {
|
|
|
46537
47975
|
// Own constructor properties of Gio-2.0.Gio.UnixFDMessage
|
|
46538
47976
|
|
|
46539
47977
|
fd_list?: UnixFDList | null
|
|
47978
|
+
fdList?: UnixFDList | null
|
|
46540
47979
|
}
|
|
46541
47980
|
|
|
46542
47981
|
}
|
|
@@ -46546,6 +47985,7 @@ export interface UnixFDMessage {
|
|
|
46546
47985
|
// Own properties of Gio-2.0.Gio.UnixFDMessage
|
|
46547
47986
|
|
|
46548
47987
|
readonly fd_list: UnixFDList
|
|
47988
|
+
readonly fdList: UnixFDList
|
|
46549
47989
|
|
|
46550
47990
|
// Own fields of Gio-2.0.Gio.UnixFDMessage
|
|
46551
47991
|
|
|
@@ -46673,6 +48113,10 @@ export module UnixInputStream {
|
|
|
46673
48113
|
* The file descriptor that the stream reads from.
|
|
46674
48114
|
*/
|
|
46675
48115
|
fd?: number | null
|
|
48116
|
+
/**
|
|
48117
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48118
|
+
*/
|
|
48119
|
+
closeFd?: boolean | null
|
|
46676
48120
|
}
|
|
46677
48121
|
|
|
46678
48122
|
}
|
|
@@ -46685,6 +48129,10 @@ export interface UnixInputStream extends FileDescriptorBased, PollableInputStrea
|
|
|
46685
48129
|
* Whether to close the file descriptor when the stream is closed.
|
|
46686
48130
|
*/
|
|
46687
48131
|
close_fd: boolean
|
|
48132
|
+
/**
|
|
48133
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48134
|
+
*/
|
|
48135
|
+
closeFd: boolean
|
|
46688
48136
|
/**
|
|
46689
48137
|
* The file descriptor that the stream reads from.
|
|
46690
48138
|
*/
|
|
@@ -46898,6 +48346,10 @@ export module UnixOutputStream {
|
|
|
46898
48346
|
* The file descriptor that the stream writes to.
|
|
46899
48347
|
*/
|
|
46900
48348
|
fd?: number | null
|
|
48349
|
+
/**
|
|
48350
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48351
|
+
*/
|
|
48352
|
+
closeFd?: boolean | null
|
|
46901
48353
|
}
|
|
46902
48354
|
|
|
46903
48355
|
}
|
|
@@ -46910,6 +48362,10 @@ export interface UnixOutputStream extends FileDescriptorBased, PollableOutputStr
|
|
|
46910
48362
|
* Whether to close the file descriptor when the stream is closed.
|
|
46911
48363
|
*/
|
|
46912
48364
|
close_fd: boolean
|
|
48365
|
+
/**
|
|
48366
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48367
|
+
*/
|
|
48368
|
+
closeFd: boolean
|
|
46913
48369
|
/**
|
|
46914
48370
|
* The file descriptor that the stream writes to.
|
|
46915
48371
|
*/
|
|
@@ -47015,6 +48471,8 @@ export module UnixSocketAddress {
|
|
|
47015
48471
|
address_type?: UnixSocketAddressType | null
|
|
47016
48472
|
path?: string | null
|
|
47017
48473
|
path_as_array?: Uint8Array | null
|
|
48474
|
+
addressType?: UnixSocketAddressType | null
|
|
48475
|
+
pathAsArray?: Uint8Array | null
|
|
47018
48476
|
}
|
|
47019
48477
|
|
|
47020
48478
|
}
|
|
@@ -47028,8 +48486,10 @@ export interface UnixSocketAddress extends SocketConnectable {
|
|
|
47028
48486
|
*/
|
|
47029
48487
|
readonly abstract: boolean
|
|
47030
48488
|
readonly address_type: UnixSocketAddressType
|
|
48489
|
+
readonly addressType: UnixSocketAddressType
|
|
47031
48490
|
readonly path: string | null
|
|
47032
48491
|
readonly path_as_array: Uint8Array
|
|
48492
|
+
readonly pathAsArray: Uint8Array
|
|
47033
48493
|
|
|
47034
48494
|
// Own fields of Gio-2.0.Gio.UnixSocketAddress
|
|
47035
48495
|
|
|
@@ -47686,6 +49146,12 @@ export module ZlibCompressor {
|
|
|
47686
49146
|
file_info?: FileInfo | null
|
|
47687
49147
|
format?: ZlibCompressorFormat | null
|
|
47688
49148
|
level?: number | null
|
|
49149
|
+
/**
|
|
49150
|
+
* If set to a non-%NULL #GFileInfo object, and #GZlibCompressor:format is
|
|
49151
|
+
* %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name
|
|
49152
|
+
* and modification time from the file info to the GZIP header.
|
|
49153
|
+
*/
|
|
49154
|
+
fileInfo?: FileInfo | null
|
|
47689
49155
|
}
|
|
47690
49156
|
|
|
47691
49157
|
}
|
|
@@ -47700,6 +49166,12 @@ export interface ZlibCompressor extends Converter {
|
|
|
47700
49166
|
* and modification time from the file info to the GZIP header.
|
|
47701
49167
|
*/
|
|
47702
49168
|
file_info: FileInfo
|
|
49169
|
+
/**
|
|
49170
|
+
* If set to a non-%NULL #GFileInfo object, and #GZlibCompressor:format is
|
|
49171
|
+
* %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name
|
|
49172
|
+
* and modification time from the file info to the GZIP header.
|
|
49173
|
+
*/
|
|
49174
|
+
fileInfo: FileInfo
|
|
47703
49175
|
readonly format: ZlibCompressorFormat
|
|
47704
49176
|
readonly level: number
|
|
47705
49177
|
|
|
@@ -47798,6 +49270,13 @@ export interface ZlibDecompressor extends Converter {
|
|
|
47798
49270
|
* #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP.
|
|
47799
49271
|
*/
|
|
47800
49272
|
readonly file_info: FileInfo
|
|
49273
|
+
/**
|
|
49274
|
+
* A #GFileInfo containing the information found in the GZIP header
|
|
49275
|
+
* of the data stream processed, or %NULL if the header was not yet
|
|
49276
|
+
* fully processed, is not present at all, or the compressor's
|
|
49277
|
+
* #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP.
|
|
49278
|
+
*/
|
|
49279
|
+
readonly fileInfo: FileInfo
|
|
47801
49280
|
readonly format: ZlibCompressorFormat
|
|
47802
49281
|
|
|
47803
49282
|
// Owm methods of Gio-2.0.Gio.ZlibDecompressor
|