@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.ts
CHANGED
|
@@ -5996,6 +5996,12 @@ interface Action {
|
|
|
5996
5996
|
* activating the action.
|
|
5997
5997
|
*/
|
|
5998
5998
|
readonly parameter_type: GLib.VariantType
|
|
5999
|
+
/**
|
|
6000
|
+
* The type of the parameter that must be given when activating the
|
|
6001
|
+
* action. This is immutable, and may be %NULL if no parameter is needed when
|
|
6002
|
+
* activating the action.
|
|
6003
|
+
*/
|
|
6004
|
+
readonly parameterType: GLib.VariantType
|
|
5999
6005
|
/**
|
|
6000
6006
|
* The state of the action, or %NULL if the action is stateless.
|
|
6001
6007
|
*/
|
|
@@ -6005,6 +6011,11 @@ interface Action {
|
|
|
6005
6011
|
* action is stateless. This is immutable.
|
|
6006
6012
|
*/
|
|
6007
6013
|
readonly state_type: GLib.VariantType
|
|
6014
|
+
/**
|
|
6015
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
6016
|
+
* action is stateless. This is immutable.
|
|
6017
|
+
*/
|
|
6018
|
+
readonly stateType: GLib.VariantType
|
|
6008
6019
|
|
|
6009
6020
|
// Owm methods of Gio-2.0.Gio.Action
|
|
6010
6021
|
|
|
@@ -9354,6 +9365,11 @@ module DebugController {
|
|
|
9354
9365
|
* the journal), %FALSE otherwise.
|
|
9355
9366
|
*/
|
|
9356
9367
|
debug_enabled?: boolean | null
|
|
9368
|
+
/**
|
|
9369
|
+
* %TRUE if debug output should be exposed (for example by forwarding it to
|
|
9370
|
+
* the journal), %FALSE otherwise.
|
|
9371
|
+
*/
|
|
9372
|
+
debugEnabled?: boolean | null
|
|
9357
9373
|
}
|
|
9358
9374
|
|
|
9359
9375
|
}
|
|
@@ -9367,6 +9383,11 @@ interface DebugController extends Initable {
|
|
|
9367
9383
|
* the journal), %FALSE otherwise.
|
|
9368
9384
|
*/
|
|
9369
9385
|
debug_enabled: boolean
|
|
9386
|
+
/**
|
|
9387
|
+
* %TRUE if debug output should be exposed (for example by forwarding it to
|
|
9388
|
+
* the journal), %FALSE otherwise.
|
|
9389
|
+
*/
|
|
9390
|
+
debugEnabled: boolean
|
|
9370
9391
|
|
|
9371
9392
|
// Owm methods of Gio-2.0.Gio.DebugController
|
|
9372
9393
|
|
|
@@ -10056,6 +10077,42 @@ module DtlsClientConnection {
|
|
|
10056
10077
|
* connect to #GDtlsConnection::accept-certificate.
|
|
10057
10078
|
*/
|
|
10058
10079
|
validation_flags?: TlsCertificateFlags | null
|
|
10080
|
+
/**
|
|
10081
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
10082
|
+
* is expected on the other end of the connection.
|
|
10083
|
+
*
|
|
10084
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
10085
|
+
* #GDtlsClientConnection:validation-flags, this object will be used
|
|
10086
|
+
* to determine the expected identify of the remote end of the
|
|
10087
|
+
* connection; if #GDtlsClientConnection:server-identity is not set,
|
|
10088
|
+
* or does not match the identity presented by the server, then the
|
|
10089
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
10090
|
+
*
|
|
10091
|
+
* In addition to its use in verifying the server certificate,
|
|
10092
|
+
* this is also used to give a hint to the server about what
|
|
10093
|
+
* certificate we expect, which is useful for servers that serve
|
|
10094
|
+
* virtual hosts.
|
|
10095
|
+
*/
|
|
10096
|
+
serverIdentity?: SocketConnectable | null
|
|
10097
|
+
/**
|
|
10098
|
+
* What steps to perform when validating a certificate received from
|
|
10099
|
+
* a server. Server certificates that fail to validate in any of the
|
|
10100
|
+
* ways indicated here will be rejected unless the application
|
|
10101
|
+
* overrides the default via #GDtlsConnection::accept-certificate.
|
|
10102
|
+
*
|
|
10103
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
10104
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
10105
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
10106
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
10107
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
10108
|
+
* because this could potentially be the only error flag set even if
|
|
10109
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
10110
|
+
* safe way to use this property. This is not a horrible problem,
|
|
10111
|
+
* though, because you should not be attempting to ignore validation
|
|
10112
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
10113
|
+
* connect to #GDtlsConnection::accept-certificate.
|
|
10114
|
+
*/
|
|
10115
|
+
validationFlags?: TlsCertificateFlags | null
|
|
10059
10116
|
}
|
|
10060
10117
|
|
|
10061
10118
|
}
|
|
@@ -10074,6 +10131,16 @@ interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10074
10131
|
* subject DN of the certificate authority.
|
|
10075
10132
|
*/
|
|
10076
10133
|
readonly accepted_cas: any[]
|
|
10134
|
+
/**
|
|
10135
|
+
* A list of the distinguished names of the Certificate Authorities
|
|
10136
|
+
* that the server will accept client certificates signed by. If the
|
|
10137
|
+
* server requests a client certificate during the handshake, then
|
|
10138
|
+
* this property will be set after the handshake completes.
|
|
10139
|
+
*
|
|
10140
|
+
* Each item in the list is a #GByteArray which contains the complete
|
|
10141
|
+
* subject DN of the certificate authority.
|
|
10142
|
+
*/
|
|
10143
|
+
readonly acceptedCas: any[]
|
|
10077
10144
|
/**
|
|
10078
10145
|
* A #GSocketConnectable describing the identity of the server that
|
|
10079
10146
|
* is expected on the other end of the connection.
|
|
@@ -10091,6 +10158,23 @@ interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10091
10158
|
* virtual hosts.
|
|
10092
10159
|
*/
|
|
10093
10160
|
server_identity: SocketConnectable
|
|
10161
|
+
/**
|
|
10162
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
10163
|
+
* is expected on the other end of the connection.
|
|
10164
|
+
*
|
|
10165
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
10166
|
+
* #GDtlsClientConnection:validation-flags, this object will be used
|
|
10167
|
+
* to determine the expected identify of the remote end of the
|
|
10168
|
+
* connection; if #GDtlsClientConnection:server-identity is not set,
|
|
10169
|
+
* or does not match the identity presented by the server, then the
|
|
10170
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
10171
|
+
*
|
|
10172
|
+
* In addition to its use in verifying the server certificate,
|
|
10173
|
+
* this is also used to give a hint to the server about what
|
|
10174
|
+
* certificate we expect, which is useful for servers that serve
|
|
10175
|
+
* virtual hosts.
|
|
10176
|
+
*/
|
|
10177
|
+
serverIdentity: SocketConnectable
|
|
10094
10178
|
/**
|
|
10095
10179
|
* What steps to perform when validating a certificate received from
|
|
10096
10180
|
* a server. Server certificates that fail to validate in any of the
|
|
@@ -10110,6 +10194,25 @@ interface DtlsClientConnection extends DatagramBased, DtlsConnection {
|
|
|
10110
10194
|
* connect to #GDtlsConnection::accept-certificate.
|
|
10111
10195
|
*/
|
|
10112
10196
|
validation_flags: TlsCertificateFlags
|
|
10197
|
+
/**
|
|
10198
|
+
* What steps to perform when validating a certificate received from
|
|
10199
|
+
* a server. Server certificates that fail to validate in any of the
|
|
10200
|
+
* ways indicated here will be rejected unless the application
|
|
10201
|
+
* overrides the default via #GDtlsConnection::accept-certificate.
|
|
10202
|
+
*
|
|
10203
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
10204
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
10205
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
10206
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
10207
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
10208
|
+
* because this could potentially be the only error flag set even if
|
|
10209
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
10210
|
+
* safe way to use this property. This is not a horrible problem,
|
|
10211
|
+
* though, because you should not be attempting to ignore validation
|
|
10212
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
10213
|
+
* connect to #GDtlsConnection::accept-certificate.
|
|
10214
|
+
*/
|
|
10215
|
+
validationFlags: TlsCertificateFlags
|
|
10113
10216
|
|
|
10114
10217
|
// Owm methods of Gio-2.0.Gio.DtlsClientConnection
|
|
10115
10218
|
|
|
@@ -10306,6 +10409,27 @@ module DtlsConnection {
|
|
|
10306
10409
|
* See g_dtls_connection_set_require_close_notify().
|
|
10307
10410
|
*/
|
|
10308
10411
|
require_close_notify?: boolean | null
|
|
10412
|
+
/**
|
|
10413
|
+
* The list of application-layer protocols that the connection
|
|
10414
|
+
* advertises that it is willing to speak. See
|
|
10415
|
+
* g_dtls_connection_set_advertised_protocols().
|
|
10416
|
+
*/
|
|
10417
|
+
advertisedProtocols?: string[] | null
|
|
10418
|
+
/**
|
|
10419
|
+
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10420
|
+
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10421
|
+
*/
|
|
10422
|
+
baseSocket?: DatagramBased | null
|
|
10423
|
+
/**
|
|
10424
|
+
* The rehandshaking mode. See
|
|
10425
|
+
* g_dtls_connection_set_rehandshake_mode().
|
|
10426
|
+
*/
|
|
10427
|
+
rehandshakeMode?: TlsRehandshakeMode | null
|
|
10428
|
+
/**
|
|
10429
|
+
* Whether or not proper TLS close notification is required.
|
|
10430
|
+
* See g_dtls_connection_set_require_close_notify().
|
|
10431
|
+
*/
|
|
10432
|
+
requireCloseNotify?: boolean | null
|
|
10309
10433
|
}
|
|
10310
10434
|
|
|
10311
10435
|
}
|
|
@@ -10320,11 +10444,22 @@ interface DtlsConnection extends DatagramBased {
|
|
|
10320
10444
|
* g_dtls_connection_set_advertised_protocols().
|
|
10321
10445
|
*/
|
|
10322
10446
|
advertised_protocols: string[]
|
|
10447
|
+
/**
|
|
10448
|
+
* The list of application-layer protocols that the connection
|
|
10449
|
+
* advertises that it is willing to speak. See
|
|
10450
|
+
* g_dtls_connection_set_advertised_protocols().
|
|
10451
|
+
*/
|
|
10452
|
+
advertisedProtocols: string[]
|
|
10323
10453
|
/**
|
|
10324
10454
|
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10325
10455
|
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10326
10456
|
*/
|
|
10327
10457
|
readonly base_socket: DatagramBased
|
|
10458
|
+
/**
|
|
10459
|
+
* The #GDatagramBased that the connection wraps. Note that this may be any
|
|
10460
|
+
* implementation of #GDatagramBased, not just a #GSocket.
|
|
10461
|
+
*/
|
|
10462
|
+
readonly baseSocket: DatagramBased
|
|
10328
10463
|
/**
|
|
10329
10464
|
* The connection's certificate; see
|
|
10330
10465
|
* g_dtls_connection_set_certificate().
|
|
@@ -10334,6 +10469,10 @@ interface DtlsConnection extends DatagramBased {
|
|
|
10334
10469
|
* The name of the DTLS ciphersuite in use. See g_dtls_connection_get_ciphersuite_name().
|
|
10335
10470
|
*/
|
|
10336
10471
|
readonly ciphersuite_name: string | null
|
|
10472
|
+
/**
|
|
10473
|
+
* The name of the DTLS ciphersuite in use. See g_dtls_connection_get_ciphersuite_name().
|
|
10474
|
+
*/
|
|
10475
|
+
readonly ciphersuiteName: string | null
|
|
10337
10476
|
/**
|
|
10338
10477
|
* The certificate database to use when verifying this TLS connection.
|
|
10339
10478
|
* If no certificate database is set, then the default database will be
|
|
@@ -10364,6 +10503,11 @@ interface DtlsConnection extends DatagramBased {
|
|
|
10364
10503
|
* handshake. See g_dtls_connection_get_negotiated_protocol().
|
|
10365
10504
|
*/
|
|
10366
10505
|
readonly negotiated_protocol: string | null
|
|
10506
|
+
/**
|
|
10507
|
+
* The application-layer protocol negotiated during the TLS
|
|
10508
|
+
* handshake. See g_dtls_connection_get_negotiated_protocol().
|
|
10509
|
+
*/
|
|
10510
|
+
readonly negotiatedProtocol: string | null
|
|
10367
10511
|
/**
|
|
10368
10512
|
* The connection's peer's certificate, after the TLS handshake has
|
|
10369
10513
|
* completed or failed. Note in particular that this is not yet set
|
|
@@ -10373,6 +10517,15 @@ interface DtlsConnection extends DatagramBased {
|
|
|
10373
10517
|
* detect when a handshake has occurred.)
|
|
10374
10518
|
*/
|
|
10375
10519
|
readonly peer_certificate: TlsCertificate
|
|
10520
|
+
/**
|
|
10521
|
+
* The connection's peer's certificate, after the TLS handshake has
|
|
10522
|
+
* completed or failed. Note in particular that this is not yet set
|
|
10523
|
+
* during the emission of #GDtlsConnection::accept-certificate.
|
|
10524
|
+
*
|
|
10525
|
+
* (You can watch for a #GObject::notify signal on this property to
|
|
10526
|
+
* detect when a handshake has occurred.)
|
|
10527
|
+
*/
|
|
10528
|
+
readonly peerCertificate: TlsCertificate
|
|
10376
10529
|
/**
|
|
10377
10530
|
* The errors noticed while verifying
|
|
10378
10531
|
* #GDtlsConnection:peer-certificate. Normally this should be 0, but
|
|
@@ -10390,20 +10543,51 @@ interface DtlsConnection extends DatagramBased {
|
|
|
10390
10543
|
* error flag set even if other problems exist with the certificate.
|
|
10391
10544
|
*/
|
|
10392
10545
|
readonly peer_certificate_errors: TlsCertificateFlags
|
|
10546
|
+
/**
|
|
10547
|
+
* The errors noticed while verifying
|
|
10548
|
+
* #GDtlsConnection:peer-certificate. Normally this should be 0, but
|
|
10549
|
+
* it may not be if #GDtlsClientConnection:validation-flags is not
|
|
10550
|
+
* %G_TLS_CERTIFICATE_VALIDATE_ALL, or if
|
|
10551
|
+
* #GDtlsConnection::accept-certificate overrode the default
|
|
10552
|
+
* behavior.
|
|
10553
|
+
*
|
|
10554
|
+
* GLib guarantees that if certificate verification fails, at least
|
|
10555
|
+
* one error will be set, but it does not guarantee that all possible
|
|
10556
|
+
* errors will be set. Accordingly, you may not safely decide to
|
|
10557
|
+
* ignore any particular type of error. For example, it would be
|
|
10558
|
+
* incorrect to mask %G_TLS_CERTIFICATE_EXPIRED if you want to allow
|
|
10559
|
+
* expired certificates, because this could potentially be the only
|
|
10560
|
+
* error flag set even if other problems exist with the certificate.
|
|
10561
|
+
*/
|
|
10562
|
+
readonly peerCertificateErrors: TlsCertificateFlags
|
|
10393
10563
|
/**
|
|
10394
10564
|
* The DTLS protocol version in use. See g_dtls_connection_get_protocol_version().
|
|
10395
10565
|
*/
|
|
10396
10566
|
readonly protocol_version: TlsProtocolVersion
|
|
10567
|
+
/**
|
|
10568
|
+
* The DTLS protocol version in use. See g_dtls_connection_get_protocol_version().
|
|
10569
|
+
*/
|
|
10570
|
+
readonly protocolVersion: TlsProtocolVersion
|
|
10397
10571
|
/**
|
|
10398
10572
|
* The rehandshaking mode. See
|
|
10399
10573
|
* g_dtls_connection_set_rehandshake_mode().
|
|
10400
10574
|
*/
|
|
10401
10575
|
rehandshake_mode: TlsRehandshakeMode
|
|
10576
|
+
/**
|
|
10577
|
+
* The rehandshaking mode. See
|
|
10578
|
+
* g_dtls_connection_set_rehandshake_mode().
|
|
10579
|
+
*/
|
|
10580
|
+
rehandshakeMode: TlsRehandshakeMode
|
|
10402
10581
|
/**
|
|
10403
10582
|
* Whether or not proper TLS close notification is required.
|
|
10404
10583
|
* See g_dtls_connection_set_require_close_notify().
|
|
10405
10584
|
*/
|
|
10406
10585
|
require_close_notify: boolean
|
|
10586
|
+
/**
|
|
10587
|
+
* Whether or not proper TLS close notification is required.
|
|
10588
|
+
* See g_dtls_connection_set_require_close_notify().
|
|
10589
|
+
*/
|
|
10590
|
+
requireCloseNotify: boolean
|
|
10407
10591
|
|
|
10408
10592
|
// Owm methods of Gio-2.0.Gio.DtlsConnection
|
|
10409
10593
|
|
|
@@ -10998,6 +11182,12 @@ module DtlsServerConnection {
|
|
|
10998
11182
|
* rehandshake with a different mode from the initial handshake.
|
|
10999
11183
|
*/
|
|
11000
11184
|
authentication_mode?: TlsAuthenticationMode | null
|
|
11185
|
+
/**
|
|
11186
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
11187
|
+
* before calling g_dtls_connection_handshake() if you want to
|
|
11188
|
+
* rehandshake with a different mode from the initial handshake.
|
|
11189
|
+
*/
|
|
11190
|
+
authenticationMode?: TlsAuthenticationMode | null
|
|
11001
11191
|
}
|
|
11002
11192
|
|
|
11003
11193
|
}
|
|
@@ -11012,6 +11202,12 @@ interface DtlsServerConnection extends DatagramBased, DtlsConnection {
|
|
|
11012
11202
|
* rehandshake with a different mode from the initial handshake.
|
|
11013
11203
|
*/
|
|
11014
11204
|
authentication_mode: TlsAuthenticationMode
|
|
11205
|
+
/**
|
|
11206
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
11207
|
+
* before calling g_dtls_connection_handshake() if you want to
|
|
11208
|
+
* rehandshake with a different mode from the initial handshake.
|
|
11209
|
+
*/
|
|
11210
|
+
authenticationMode: TlsAuthenticationMode
|
|
11015
11211
|
|
|
11016
11212
|
// Class property signals of Gio-2.0.Gio.DtlsServerConnection
|
|
11017
11213
|
|
|
@@ -16529,6 +16725,26 @@ interface NetworkMonitor extends Initable {
|
|
|
16529
16725
|
* See also #GNetworkMonitor::network-changed.
|
|
16530
16726
|
*/
|
|
16531
16727
|
readonly network_available: boolean
|
|
16728
|
+
/**
|
|
16729
|
+
* Whether the network is considered available. That is, whether the
|
|
16730
|
+
* system has a default route for at least one of IPv4 or IPv6.
|
|
16731
|
+
*
|
|
16732
|
+
* Real-world networks are of course much more complicated than
|
|
16733
|
+
* this; the machine may be connected to a wifi hotspot that
|
|
16734
|
+
* requires payment before allowing traffic through, or may be
|
|
16735
|
+
* connected to a functioning router that has lost its own upstream
|
|
16736
|
+
* connectivity. Some hosts might only be accessible when a VPN is
|
|
16737
|
+
* active. Other hosts might only be accessible when the VPN is
|
|
16738
|
+
* not active. Thus, it is best to use g_network_monitor_can_reach()
|
|
16739
|
+
* or g_network_monitor_can_reach_async() to test for reachability
|
|
16740
|
+
* on a host-by-host basis. (On the other hand, when the property is
|
|
16741
|
+
* %FALSE, the application can reasonably expect that no remote
|
|
16742
|
+
* hosts at all are reachable, and should indicate this to the user
|
|
16743
|
+
* in its UI.)
|
|
16744
|
+
*
|
|
16745
|
+
* See also #GNetworkMonitor::network-changed.
|
|
16746
|
+
*/
|
|
16747
|
+
readonly networkAvailable: boolean
|
|
16532
16748
|
/**
|
|
16533
16749
|
* Whether the network is considered metered.
|
|
16534
16750
|
*
|
|
@@ -16553,6 +16769,30 @@ interface NetworkMonitor extends Initable {
|
|
|
16553
16769
|
* See also #GNetworkMonitor:network-available.
|
|
16554
16770
|
*/
|
|
16555
16771
|
readonly network_metered: boolean
|
|
16772
|
+
/**
|
|
16773
|
+
* Whether the network is considered metered.
|
|
16774
|
+
*
|
|
16775
|
+
* That is, whether the
|
|
16776
|
+
* system has traffic flowing through the default connection that is
|
|
16777
|
+
* subject to limitations set by service providers. For example, traffic
|
|
16778
|
+
* might be billed by the amount of data transmitted, or there might be a
|
|
16779
|
+
* quota on the amount of traffic per month. This is typical with tethered
|
|
16780
|
+
* connections (3G and 4G) and in such situations, bandwidth intensive
|
|
16781
|
+
* applications may wish to avoid network activity where possible if it will
|
|
16782
|
+
* cost the user money or use up their limited quota. Anything more than a
|
|
16783
|
+
* few hundreds of kilobytes of data usage per hour should be avoided without
|
|
16784
|
+
* asking permission from the user.
|
|
16785
|
+
*
|
|
16786
|
+
* If more information is required about specific devices then the
|
|
16787
|
+
* system network management API should be used instead (for example,
|
|
16788
|
+
* NetworkManager or ConnMan).
|
|
16789
|
+
*
|
|
16790
|
+
* If this information is not available then no networks will be
|
|
16791
|
+
* marked as metered.
|
|
16792
|
+
*
|
|
16793
|
+
* See also #GNetworkMonitor:network-available.
|
|
16794
|
+
*/
|
|
16795
|
+
readonly networkMetered: boolean
|
|
16556
16796
|
|
|
16557
16797
|
// Owm methods of Gio-2.0.Gio.NetworkMonitor
|
|
16558
16798
|
|
|
@@ -17188,6 +17428,10 @@ interface PowerProfileMonitor extends Initable {
|
|
|
17188
17428
|
* Whether “Power Saver” mode is enabled on the system.
|
|
17189
17429
|
*/
|
|
17190
17430
|
readonly power_saver_enabled: boolean
|
|
17431
|
+
/**
|
|
17432
|
+
* Whether “Power Saver” mode is enabled on the system.
|
|
17433
|
+
*/
|
|
17434
|
+
readonly powerSaverEnabled: boolean
|
|
17191
17435
|
|
|
17192
17436
|
// Owm methods of Gio-2.0.Gio.PowerProfileMonitor
|
|
17193
17437
|
|
|
@@ -18176,6 +18420,47 @@ module TlsClientConnection {
|
|
|
18176
18420
|
* connect to #GTlsConnection::accept-certificate.
|
|
18177
18421
|
*/
|
|
18178
18422
|
validation_flags?: TlsCertificateFlags | null
|
|
18423
|
+
/**
|
|
18424
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
18425
|
+
* is expected on the other end of the connection.
|
|
18426
|
+
*
|
|
18427
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
18428
|
+
* #GTlsClientConnection:validation-flags, this object will be used
|
|
18429
|
+
* to determine the expected identify of the remote end of the
|
|
18430
|
+
* connection; if #GTlsClientConnection:server-identity is not set,
|
|
18431
|
+
* or does not match the identity presented by the server, then the
|
|
18432
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
18433
|
+
*
|
|
18434
|
+
* In addition to its use in verifying the server certificate,
|
|
18435
|
+
* this is also used to give a hint to the server about what
|
|
18436
|
+
* certificate we expect, which is useful for servers that serve
|
|
18437
|
+
* virtual hosts.
|
|
18438
|
+
*/
|
|
18439
|
+
serverIdentity?: SocketConnectable | null
|
|
18440
|
+
/**
|
|
18441
|
+
* SSL 3.0 is no longer supported. See
|
|
18442
|
+
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18443
|
+
*/
|
|
18444
|
+
useSsl3?: boolean | null
|
|
18445
|
+
/**
|
|
18446
|
+
* What steps to perform when validating a certificate received from
|
|
18447
|
+
* a server. Server certificates that fail to validate in any of the
|
|
18448
|
+
* ways indicated here will be rejected unless the application
|
|
18449
|
+
* overrides the default via #GTlsConnection::accept-certificate.
|
|
18450
|
+
*
|
|
18451
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
18452
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
18453
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
18454
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
18455
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
18456
|
+
* because this could potentially be the only error flag set even if
|
|
18457
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
18458
|
+
* safe way to use this property. This is not a horrible problem,
|
|
18459
|
+
* though, because you should not be attempting to ignore validation
|
|
18460
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
18461
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
18462
|
+
*/
|
|
18463
|
+
validationFlags?: TlsCertificateFlags | null
|
|
18179
18464
|
}
|
|
18180
18465
|
|
|
18181
18466
|
}
|
|
@@ -18194,6 +18479,16 @@ interface TlsClientConnection extends TlsConnection {
|
|
|
18194
18479
|
* subject DN of the certificate authority.
|
|
18195
18480
|
*/
|
|
18196
18481
|
readonly accepted_cas: any[]
|
|
18482
|
+
/**
|
|
18483
|
+
* A list of the distinguished names of the Certificate Authorities
|
|
18484
|
+
* that the server will accept client certificates signed by. If the
|
|
18485
|
+
* server requests a client certificate during the handshake, then
|
|
18486
|
+
* this property will be set after the handshake completes.
|
|
18487
|
+
*
|
|
18488
|
+
* Each item in the list is a #GByteArray which contains the complete
|
|
18489
|
+
* subject DN of the certificate authority.
|
|
18490
|
+
*/
|
|
18491
|
+
readonly acceptedCas: any[]
|
|
18197
18492
|
/**
|
|
18198
18493
|
* A #GSocketConnectable describing the identity of the server that
|
|
18199
18494
|
* is expected on the other end of the connection.
|
|
@@ -18211,11 +18506,33 @@ interface TlsClientConnection extends TlsConnection {
|
|
|
18211
18506
|
* virtual hosts.
|
|
18212
18507
|
*/
|
|
18213
18508
|
server_identity: SocketConnectable
|
|
18509
|
+
/**
|
|
18510
|
+
* A #GSocketConnectable describing the identity of the server that
|
|
18511
|
+
* is expected on the other end of the connection.
|
|
18512
|
+
*
|
|
18513
|
+
* If the %G_TLS_CERTIFICATE_BAD_IDENTITY flag is set in
|
|
18514
|
+
* #GTlsClientConnection:validation-flags, this object will be used
|
|
18515
|
+
* to determine the expected identify of the remote end of the
|
|
18516
|
+
* connection; if #GTlsClientConnection:server-identity is not set,
|
|
18517
|
+
* or does not match the identity presented by the server, then the
|
|
18518
|
+
* %G_TLS_CERTIFICATE_BAD_IDENTITY validation will fail.
|
|
18519
|
+
*
|
|
18520
|
+
* In addition to its use in verifying the server certificate,
|
|
18521
|
+
* this is also used to give a hint to the server about what
|
|
18522
|
+
* certificate we expect, which is useful for servers that serve
|
|
18523
|
+
* virtual hosts.
|
|
18524
|
+
*/
|
|
18525
|
+
serverIdentity: SocketConnectable
|
|
18214
18526
|
/**
|
|
18215
18527
|
* SSL 3.0 is no longer supported. See
|
|
18216
18528
|
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18217
18529
|
*/
|
|
18218
18530
|
use_ssl3: boolean
|
|
18531
|
+
/**
|
|
18532
|
+
* SSL 3.0 is no longer supported. See
|
|
18533
|
+
* g_tls_client_connection_set_use_ssl3() for details.
|
|
18534
|
+
*/
|
|
18535
|
+
useSsl3: boolean
|
|
18219
18536
|
/**
|
|
18220
18537
|
* What steps to perform when validating a certificate received from
|
|
18221
18538
|
* a server. Server certificates that fail to validate in any of the
|
|
@@ -18235,6 +18552,25 @@ interface TlsClientConnection extends TlsConnection {
|
|
|
18235
18552
|
* connect to #GTlsConnection::accept-certificate.
|
|
18236
18553
|
*/
|
|
18237
18554
|
validation_flags: TlsCertificateFlags
|
|
18555
|
+
/**
|
|
18556
|
+
* What steps to perform when validating a certificate received from
|
|
18557
|
+
* a server. Server certificates that fail to validate in any of the
|
|
18558
|
+
* ways indicated here will be rejected unless the application
|
|
18559
|
+
* overrides the default via #GTlsConnection::accept-certificate.
|
|
18560
|
+
*
|
|
18561
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
18562
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
18563
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
18564
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
18565
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
18566
|
+
* because this could potentially be the only error flag set even if
|
|
18567
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
18568
|
+
* safe way to use this property. This is not a horrible problem,
|
|
18569
|
+
* though, because you should not be attempting to ignore validation
|
|
18570
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
18571
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
18572
|
+
*/
|
|
18573
|
+
validationFlags: TlsCertificateFlags
|
|
18238
18574
|
|
|
18239
18575
|
// Conflicting properties
|
|
18240
18576
|
|
|
@@ -18549,6 +18885,12 @@ module TlsServerConnection {
|
|
|
18549
18885
|
* rehandshake with a different mode from the initial handshake.
|
|
18550
18886
|
*/
|
|
18551
18887
|
authentication_mode?: TlsAuthenticationMode | null
|
|
18888
|
+
/**
|
|
18889
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
18890
|
+
* before calling g_tls_connection_handshake() if you want to
|
|
18891
|
+
* rehandshake with a different mode from the initial handshake.
|
|
18892
|
+
*/
|
|
18893
|
+
authenticationMode?: TlsAuthenticationMode | null
|
|
18552
18894
|
}
|
|
18553
18895
|
|
|
18554
18896
|
}
|
|
@@ -18563,6 +18905,12 @@ interface TlsServerConnection extends TlsConnection {
|
|
|
18563
18905
|
* rehandshake with a different mode from the initial handshake.
|
|
18564
18906
|
*/
|
|
18565
18907
|
authentication_mode: TlsAuthenticationMode
|
|
18908
|
+
/**
|
|
18909
|
+
* The #GTlsAuthenticationMode for the server. This can be changed
|
|
18910
|
+
* before calling g_tls_connection_handshake() if you want to
|
|
18911
|
+
* rehandshake with a different mode from the initial handshake.
|
|
18912
|
+
*/
|
|
18913
|
+
authenticationMode: TlsAuthenticationMode
|
|
18566
18914
|
|
|
18567
18915
|
// Conflicting properties
|
|
18568
18916
|
|
|
@@ -19548,6 +19896,10 @@ module Application {
|
|
|
19548
19896
|
flags?: ApplicationFlags | null
|
|
19549
19897
|
inactivity_timeout?: number | null
|
|
19550
19898
|
resource_base_path?: string | null
|
|
19899
|
+
actionGroup?: ActionGroup | null
|
|
19900
|
+
applicationId?: string | null
|
|
19901
|
+
inactivityTimeout?: number | null
|
|
19902
|
+
resourceBasePath?: string | null
|
|
19551
19903
|
}
|
|
19552
19904
|
|
|
19553
19905
|
}
|
|
@@ -19557,17 +19909,28 @@ interface Application extends ActionGroup, ActionMap {
|
|
|
19557
19909
|
// Own properties of Gio-2.0.Gio.Application
|
|
19558
19910
|
|
|
19559
19911
|
action_group: ActionGroup
|
|
19912
|
+
actionGroup: ActionGroup
|
|
19560
19913
|
application_id: string | null
|
|
19914
|
+
applicationId: string | null
|
|
19561
19915
|
flags: ApplicationFlags
|
|
19562
19916
|
inactivity_timeout: number
|
|
19917
|
+
inactivityTimeout: number
|
|
19563
19918
|
/**
|
|
19564
19919
|
* Whether the application is currently marked as busy through
|
|
19565
19920
|
* g_application_mark_busy() or g_application_bind_busy_property().
|
|
19566
19921
|
*/
|
|
19567
19922
|
readonly is_busy: boolean
|
|
19923
|
+
/**
|
|
19924
|
+
* Whether the application is currently marked as busy through
|
|
19925
|
+
* g_application_mark_busy() or g_application_bind_busy_property().
|
|
19926
|
+
*/
|
|
19927
|
+
readonly isBusy: boolean
|
|
19568
19928
|
readonly is_registered: boolean
|
|
19929
|
+
readonly isRegistered: boolean
|
|
19569
19930
|
readonly is_remote: boolean
|
|
19931
|
+
readonly isRemote: boolean
|
|
19570
19932
|
resource_base_path: string | null
|
|
19933
|
+
resourceBasePath: string | null
|
|
19571
19934
|
|
|
19572
19935
|
// Owm methods of Gio-2.0.Gio.Application
|
|
19573
19936
|
|
|
@@ -20151,6 +20514,13 @@ interface Application extends ActionGroup, ActionMap {
|
|
|
20151
20514
|
* @param id id of a previously sent notification
|
|
20152
20515
|
*/
|
|
20153
20516
|
withdraw_notification(id: string | null): void
|
|
20517
|
+
/**
|
|
20518
|
+
* Similar to `Gio.Application.run` but return a Promise which resolves when the main loop ends, instead of blocking while the main loop runs.
|
|
20519
|
+
* This helps avoid the situation where Promises never resolved if you didn't run the application inside a callback.
|
|
20520
|
+
* @param argv Commandline arguments.
|
|
20521
|
+
* @returns The exit status of the application.
|
|
20522
|
+
*/
|
|
20523
|
+
runAsync(argv?: string[]): Promise<number>
|
|
20154
20524
|
|
|
20155
20525
|
// Own virtual methods of Gio-2.0.Gio.Application
|
|
20156
20526
|
|
|
@@ -20503,6 +20873,7 @@ module ApplicationCommandLine {
|
|
|
20503
20873
|
"arguments"?: GLib.Variant | null
|
|
20504
20874
|
options?: GLib.Variant | null
|
|
20505
20875
|
platform_data?: GLib.Variant | null
|
|
20876
|
+
platformData?: GLib.Variant | null
|
|
20506
20877
|
}
|
|
20507
20878
|
|
|
20508
20879
|
}
|
|
@@ -20513,8 +20884,10 @@ interface ApplicationCommandLine {
|
|
|
20513
20884
|
|
|
20514
20885
|
readonly "arguments": GLib.Variant
|
|
20515
20886
|
readonly is_remote: boolean
|
|
20887
|
+
readonly isRemote: boolean
|
|
20516
20888
|
readonly options: GLib.Variant
|
|
20517
20889
|
readonly platform_data: GLib.Variant
|
|
20890
|
+
readonly platformData: GLib.Variant
|
|
20518
20891
|
|
|
20519
20892
|
// Owm methods of Gio-2.0.Gio.ApplicationCommandLine
|
|
20520
20893
|
|
|
@@ -20904,6 +21277,7 @@ module BufferedInputStream {
|
|
|
20904
21277
|
// Own constructor properties of Gio-2.0.Gio.BufferedInputStream
|
|
20905
21278
|
|
|
20906
21279
|
buffer_size?: number | null
|
|
21280
|
+
bufferSize?: number | null
|
|
20907
21281
|
}
|
|
20908
21282
|
|
|
20909
21283
|
}
|
|
@@ -20913,6 +21287,7 @@ interface BufferedInputStream extends Seekable {
|
|
|
20913
21287
|
// Own properties of Gio-2.0.Gio.BufferedInputStream
|
|
20914
21288
|
|
|
20915
21289
|
buffer_size: number
|
|
21290
|
+
bufferSize: number
|
|
20916
21291
|
|
|
20917
21292
|
// Own fields of Gio-2.0.Gio.BufferedInputStream
|
|
20918
21293
|
|
|
@@ -21098,6 +21473,9 @@ interface BufferedInputStream extends Seekable {
|
|
|
21098
21473
|
connect(sigName: "notify::buffer-size", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21099
21474
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21100
21475
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
21476
|
+
connect(sigName: "notify::base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21477
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21478
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21101
21479
|
connect(sigName: "notify::close-base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21102
21480
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: BufferedInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21103
21481
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21172,6 +21550,8 @@ module BufferedOutputStream {
|
|
|
21172
21550
|
|
|
21173
21551
|
auto_grow?: boolean | null
|
|
21174
21552
|
buffer_size?: number | null
|
|
21553
|
+
autoGrow?: boolean | null
|
|
21554
|
+
bufferSize?: number | null
|
|
21175
21555
|
}
|
|
21176
21556
|
|
|
21177
21557
|
}
|
|
@@ -21181,7 +21561,9 @@ interface BufferedOutputStream extends Seekable {
|
|
|
21181
21561
|
// Own properties of Gio-2.0.Gio.BufferedOutputStream
|
|
21182
21562
|
|
|
21183
21563
|
auto_grow: boolean
|
|
21564
|
+
autoGrow: boolean
|
|
21184
21565
|
buffer_size: number
|
|
21566
|
+
bufferSize: number
|
|
21185
21567
|
|
|
21186
21568
|
// Own fields of Gio-2.0.Gio.BufferedOutputStream
|
|
21187
21569
|
|
|
@@ -21222,6 +21604,9 @@ interface BufferedOutputStream extends Seekable {
|
|
|
21222
21604
|
connect(sigName: "notify::buffer-size", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21223
21605
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21224
21606
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
21607
|
+
connect(sigName: "notify::base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21608
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21609
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21225
21610
|
connect(sigName: "notify::close-base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21226
21611
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: BufferedOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21227
21612
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21638,6 +22023,9 @@ module CharsetConverter {
|
|
|
21638
22023
|
from_charset?: string | null
|
|
21639
22024
|
to_charset?: string | null
|
|
21640
22025
|
use_fallback?: boolean | null
|
|
22026
|
+
fromCharset?: string | null
|
|
22027
|
+
toCharset?: string | null
|
|
22028
|
+
useFallback?: boolean | null
|
|
21641
22029
|
}
|
|
21642
22030
|
|
|
21643
22031
|
}
|
|
@@ -21647,8 +22035,11 @@ interface CharsetConverter extends Converter, Initable {
|
|
|
21647
22035
|
// Own properties of Gio-2.0.Gio.CharsetConverter
|
|
21648
22036
|
|
|
21649
22037
|
readonly from_charset: string | null
|
|
22038
|
+
readonly fromCharset: string | null
|
|
21650
22039
|
readonly to_charset: string | null
|
|
22040
|
+
readonly toCharset: string | null
|
|
21651
22041
|
use_fallback: boolean
|
|
22042
|
+
useFallback: boolean
|
|
21652
22043
|
|
|
21653
22044
|
// Owm methods of Gio-2.0.Gio.CharsetConverter
|
|
21654
22045
|
|
|
@@ -21755,6 +22146,9 @@ interface ConverterInputStream extends PollableInputStream {
|
|
|
21755
22146
|
connect(sigName: "notify::converter", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21756
22147
|
connect_after(sigName: "notify::converter", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21757
22148
|
emit(sigName: "notify::converter", ...args: any[]): void
|
|
22149
|
+
connect(sigName: "notify::base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22150
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22151
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21758
22152
|
connect(sigName: "notify::close-base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21759
22153
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: ConverterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21760
22154
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -21837,6 +22231,9 @@ interface ConverterOutputStream extends PollableOutputStream {
|
|
|
21837
22231
|
connect(sigName: "notify::converter", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21838
22232
|
connect_after(sigName: "notify::converter", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21839
22233
|
emit(sigName: "notify::converter", ...args: any[]): void
|
|
22234
|
+
connect(sigName: "notify::base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22235
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
22236
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
21840
22237
|
connect(sigName: "notify::close-base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21841
22238
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: ConverterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
21842
22239
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -22320,6 +22717,19 @@ module DBusConnection {
|
|
|
22320
22717
|
* the stream directly.
|
|
22321
22718
|
*/
|
|
22322
22719
|
stream?: IOStream | null
|
|
22720
|
+
/**
|
|
22721
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22722
|
+
*/
|
|
22723
|
+
authenticationObserver?: DBusAuthObserver | null
|
|
22724
|
+
/**
|
|
22725
|
+
* A boolean specifying whether the process will be terminated (by
|
|
22726
|
+
* calling `raise(SIGTERM)`) if the connection is closed by the
|
|
22727
|
+
* remote peer.
|
|
22728
|
+
*
|
|
22729
|
+
* Note that #GDBusConnection objects returned by g_bus_get_finish()
|
|
22730
|
+
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22731
|
+
*/
|
|
22732
|
+
exitOnClose?: boolean | null
|
|
22323
22733
|
}
|
|
22324
22734
|
|
|
22325
22735
|
}
|
|
@@ -22337,6 +22747,10 @@ interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22337
22747
|
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22338
22748
|
*/
|
|
22339
22749
|
readonly authentication_observer: DBusAuthObserver
|
|
22750
|
+
/**
|
|
22751
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
22752
|
+
*/
|
|
22753
|
+
readonly authenticationObserver: DBusAuthObserver
|
|
22340
22754
|
/**
|
|
22341
22755
|
* Flags from the #GDBusCapabilityFlags enumeration
|
|
22342
22756
|
* representing connection features negotiated with the other peer.
|
|
@@ -22355,6 +22769,15 @@ interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22355
22769
|
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22356
22770
|
*/
|
|
22357
22771
|
exit_on_close: boolean
|
|
22772
|
+
/**
|
|
22773
|
+
* A boolean specifying whether the process will be terminated (by
|
|
22774
|
+
* calling `raise(SIGTERM)`) if the connection is closed by the
|
|
22775
|
+
* remote peer.
|
|
22776
|
+
*
|
|
22777
|
+
* Note that #GDBusConnection objects returned by g_bus_get_finish()
|
|
22778
|
+
* and g_bus_get_sync() will (usually) have this property set to %TRUE.
|
|
22779
|
+
*/
|
|
22780
|
+
exitOnClose: boolean
|
|
22358
22781
|
/**
|
|
22359
22782
|
* Flags from the #GDBusConnectionFlags enumeration.
|
|
22360
22783
|
*/
|
|
@@ -22400,6 +22823,11 @@ interface DBusConnection extends AsyncInitable, Initable {
|
|
|
22400
22823
|
* connection is not open or not a message bus connection.
|
|
22401
22824
|
*/
|
|
22402
22825
|
readonly unique_name: string | null
|
|
22826
|
+
/**
|
|
22827
|
+
* The unique name as assigned by the message bus or %NULL if the
|
|
22828
|
+
* connection is not open or not a message bus connection.
|
|
22829
|
+
*/
|
|
22830
|
+
readonly uniqueName: string | null
|
|
22403
22831
|
|
|
22404
22832
|
// Owm methods of Gio-2.0.Gio.DBusConnection
|
|
22405
22833
|
|
|
@@ -23395,6 +23823,10 @@ module DBusInterfaceSkeleton {
|
|
|
23395
23823
|
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23396
23824
|
*/
|
|
23397
23825
|
g_flags?: DBusInterfaceSkeletonFlags | null
|
|
23826
|
+
/**
|
|
23827
|
+
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23828
|
+
*/
|
|
23829
|
+
gFlags?: DBusInterfaceSkeletonFlags | null
|
|
23398
23830
|
}
|
|
23399
23831
|
|
|
23400
23832
|
}
|
|
@@ -23407,6 +23839,10 @@ interface DBusInterfaceSkeleton extends DBusInterface {
|
|
|
23407
23839
|
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23408
23840
|
*/
|
|
23409
23841
|
g_flags: DBusInterfaceSkeletonFlags
|
|
23842
|
+
/**
|
|
23843
|
+
* Flags from the #GDBusInterfaceSkeletonFlags enumeration.
|
|
23844
|
+
*/
|
|
23845
|
+
gFlags: DBusInterfaceSkeletonFlags
|
|
23410
23846
|
|
|
23411
23847
|
// Owm methods of Gio-2.0.Gio.DBusInterfaceSkeleton
|
|
23412
23848
|
|
|
@@ -24275,6 +24711,30 @@ module DBusObjectManagerClient {
|
|
|
24275
24711
|
* The object path the manager is for.
|
|
24276
24712
|
*/
|
|
24277
24713
|
object_path?: string | null
|
|
24714
|
+
/**
|
|
24715
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
24716
|
+
* #GDBusObjectManagerClient:connection must be %NULL and will be set to the
|
|
24717
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
24718
|
+
* of this property.
|
|
24719
|
+
*/
|
|
24720
|
+
busType?: BusType | null
|
|
24721
|
+
/**
|
|
24722
|
+
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24723
|
+
*/
|
|
24724
|
+
getProxyTypeDestroyNotify?: any | null
|
|
24725
|
+
/**
|
|
24726
|
+
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24727
|
+
* use for interface proxies or %NULL.
|
|
24728
|
+
*/
|
|
24729
|
+
getProxyTypeFunc?: any | null
|
|
24730
|
+
/**
|
|
24731
|
+
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24732
|
+
*/
|
|
24733
|
+
getProxyTypeUserData?: any | null
|
|
24734
|
+
/**
|
|
24735
|
+
* The object path the manager is for.
|
|
24736
|
+
*/
|
|
24737
|
+
objectPath?: string | null
|
|
24278
24738
|
}
|
|
24279
24739
|
|
|
24280
24740
|
}
|
|
@@ -24290,6 +24750,13 @@ interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManager, Init
|
|
|
24290
24750
|
* of this property.
|
|
24291
24751
|
*/
|
|
24292
24752
|
readonly bus_type: BusType
|
|
24753
|
+
/**
|
|
24754
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
24755
|
+
* #GDBusObjectManagerClient:connection must be %NULL and will be set to the
|
|
24756
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
24757
|
+
* of this property.
|
|
24758
|
+
*/
|
|
24759
|
+
readonly busType: BusType
|
|
24293
24760
|
/**
|
|
24294
24761
|
* The #GDBusConnection to use.
|
|
24295
24762
|
*/
|
|
@@ -24302,15 +24769,28 @@ interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManager, Init
|
|
|
24302
24769
|
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24303
24770
|
*/
|
|
24304
24771
|
readonly get_proxy_type_destroy_notify: any
|
|
24772
|
+
/**
|
|
24773
|
+
* A #GDestroyNotify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
|
|
24774
|
+
*/
|
|
24775
|
+
readonly getProxyTypeDestroyNotify: any
|
|
24305
24776
|
/**
|
|
24306
24777
|
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24307
24778
|
* use for interface proxies or %NULL.
|
|
24308
24779
|
*/
|
|
24309
24780
|
readonly get_proxy_type_func: any
|
|
24781
|
+
/**
|
|
24782
|
+
* The #GDBusProxyTypeFunc to use when determining what #GType to
|
|
24783
|
+
* use for interface proxies or %NULL.
|
|
24784
|
+
*/
|
|
24785
|
+
readonly getProxyTypeFunc: any
|
|
24310
24786
|
/**
|
|
24311
24787
|
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24312
24788
|
*/
|
|
24313
24789
|
readonly get_proxy_type_user_data: any
|
|
24790
|
+
/**
|
|
24791
|
+
* The #gpointer user_data to pass to #GDBusObjectManagerClient:get-proxy-type-func.
|
|
24792
|
+
*/
|
|
24793
|
+
readonly getProxyTypeUserData: any
|
|
24314
24794
|
/**
|
|
24315
24795
|
* The well-known name or unique name that the manager is for.
|
|
24316
24796
|
*/
|
|
@@ -24321,10 +24801,20 @@ interface DBusObjectManagerClient extends AsyncInitable, DBusObjectManager, Init
|
|
|
24321
24801
|
* #GObject::notify signal to track changes to this property.
|
|
24322
24802
|
*/
|
|
24323
24803
|
readonly name_owner: string | null
|
|
24804
|
+
/**
|
|
24805
|
+
* The unique name that owns #GDBusObjectManagerClient:name or %NULL if
|
|
24806
|
+
* no-one is currently owning the name. Connect to the
|
|
24807
|
+
* #GObject::notify signal to track changes to this property.
|
|
24808
|
+
*/
|
|
24809
|
+
readonly nameOwner: string | null
|
|
24324
24810
|
/**
|
|
24325
24811
|
* The object path the manager is for.
|
|
24326
24812
|
*/
|
|
24327
24813
|
readonly object_path: string | null
|
|
24814
|
+
/**
|
|
24815
|
+
* The object path the manager is for.
|
|
24816
|
+
*/
|
|
24817
|
+
readonly objectPath: string | null
|
|
24328
24818
|
|
|
24329
24819
|
// Owm methods of Gio-2.0.Gio.DBusObjectManagerClient
|
|
24330
24820
|
|
|
@@ -24593,6 +25083,10 @@ module DBusObjectManagerServer {
|
|
|
24593
25083
|
* The object path to register the manager object at.
|
|
24594
25084
|
*/
|
|
24595
25085
|
object_path?: string | null
|
|
25086
|
+
/**
|
|
25087
|
+
* The object path to register the manager object at.
|
|
25088
|
+
*/
|
|
25089
|
+
objectPath?: string | null
|
|
24596
25090
|
}
|
|
24597
25091
|
|
|
24598
25092
|
}
|
|
@@ -24609,6 +25103,10 @@ interface DBusObjectManagerServer extends DBusObjectManager {
|
|
|
24609
25103
|
* The object path to register the manager object at.
|
|
24610
25104
|
*/
|
|
24611
25105
|
readonly object_path: string | null
|
|
25106
|
+
/**
|
|
25107
|
+
* The object path to register the manager object at.
|
|
25108
|
+
*/
|
|
25109
|
+
readonly objectPath: string | null
|
|
24612
25110
|
|
|
24613
25111
|
// Owm methods of Gio-2.0.Gio.DBusObjectManagerServer
|
|
24614
25112
|
|
|
@@ -24756,6 +25254,14 @@ module DBusObjectProxy {
|
|
|
24756
25254
|
* The object path of the proxy.
|
|
24757
25255
|
*/
|
|
24758
25256
|
g_object_path?: string | null
|
|
25257
|
+
/**
|
|
25258
|
+
* The connection of the proxy.
|
|
25259
|
+
*/
|
|
25260
|
+
gConnection?: DBusConnection | null
|
|
25261
|
+
/**
|
|
25262
|
+
* The object path of the proxy.
|
|
25263
|
+
*/
|
|
25264
|
+
gObjectPath?: string | null
|
|
24759
25265
|
}
|
|
24760
25266
|
|
|
24761
25267
|
}
|
|
@@ -24768,10 +25274,18 @@ interface DBusObjectProxy extends DBusObject {
|
|
|
24768
25274
|
* The connection of the proxy.
|
|
24769
25275
|
*/
|
|
24770
25276
|
readonly g_connection: DBusConnection
|
|
25277
|
+
/**
|
|
25278
|
+
* The connection of the proxy.
|
|
25279
|
+
*/
|
|
25280
|
+
readonly gConnection: DBusConnection
|
|
24771
25281
|
/**
|
|
24772
25282
|
* The object path of the proxy.
|
|
24773
25283
|
*/
|
|
24774
25284
|
readonly g_object_path: string | null
|
|
25285
|
+
/**
|
|
25286
|
+
* The object path of the proxy.
|
|
25287
|
+
*/
|
|
25288
|
+
readonly gObjectPath: string | null
|
|
24775
25289
|
|
|
24776
25290
|
// Owm methods of Gio-2.0.Gio.DBusObjectProxy
|
|
24777
25291
|
|
|
@@ -24855,6 +25369,10 @@ module DBusObjectSkeleton {
|
|
|
24855
25369
|
* The object path where the object is exported.
|
|
24856
25370
|
*/
|
|
24857
25371
|
g_object_path?: string | null
|
|
25372
|
+
/**
|
|
25373
|
+
* The object path where the object is exported.
|
|
25374
|
+
*/
|
|
25375
|
+
gObjectPath?: string | null
|
|
24858
25376
|
}
|
|
24859
25377
|
|
|
24860
25378
|
}
|
|
@@ -24867,6 +25385,10 @@ interface DBusObjectSkeleton extends DBusObject {
|
|
|
24867
25385
|
* The object path where the object is exported.
|
|
24868
25386
|
*/
|
|
24869
25387
|
g_object_path: string | null
|
|
25388
|
+
/**
|
|
25389
|
+
* The object path where the object is exported.
|
|
25390
|
+
*/
|
|
25391
|
+
gObjectPath: string | null
|
|
24870
25392
|
|
|
24871
25393
|
// Owm methods of Gio-2.0.Gio.DBusObjectSkeleton
|
|
24872
25394
|
|
|
@@ -25052,6 +25574,71 @@ module DBusProxy {
|
|
|
25052
25574
|
* The object path the proxy is for.
|
|
25053
25575
|
*/
|
|
25054
25576
|
g_object_path?: string | null
|
|
25577
|
+
/**
|
|
25578
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
25579
|
+
* #GDBusProxy:g-connection must be %NULL and will be set to the
|
|
25580
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
25581
|
+
* of this property.
|
|
25582
|
+
*/
|
|
25583
|
+
gBusType?: BusType | null
|
|
25584
|
+
/**
|
|
25585
|
+
* The #GDBusConnection the proxy is for.
|
|
25586
|
+
*/
|
|
25587
|
+
gConnection?: DBusConnection | null
|
|
25588
|
+
/**
|
|
25589
|
+
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25590
|
+
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
25591
|
+
* g_dbus_proxy_call_sync() functions.
|
|
25592
|
+
*
|
|
25593
|
+
* This allows applications to set a proxy-wide timeout for all
|
|
25594
|
+
* remote method invocations on the proxy. If this property is -1,
|
|
25595
|
+
* the default timeout (typically 25 seconds) is used. If set to
|
|
25596
|
+
* %G_MAXINT, then no timeout is used.
|
|
25597
|
+
*/
|
|
25598
|
+
gDefaultTimeout?: number | null
|
|
25599
|
+
/**
|
|
25600
|
+
* Flags from the #GDBusProxyFlags enumeration.
|
|
25601
|
+
*/
|
|
25602
|
+
gFlags?: DBusProxyFlags | null
|
|
25603
|
+
/**
|
|
25604
|
+
* Ensure that interactions with this proxy conform to the given
|
|
25605
|
+
* interface. This is mainly to ensure that malformed data received
|
|
25606
|
+
* from the other peer is ignored. The given #GDBusInterfaceInfo is
|
|
25607
|
+
* said to be the "expected interface".
|
|
25608
|
+
*
|
|
25609
|
+
* The checks performed are:
|
|
25610
|
+
* - When completing a method call, if the type signature of
|
|
25611
|
+
* the reply message isn't what's expected, the reply is
|
|
25612
|
+
* discarded and the #GError is set to %G_IO_ERROR_INVALID_ARGUMENT.
|
|
25613
|
+
*
|
|
25614
|
+
* - Received signals that have a type signature mismatch are dropped and
|
|
25615
|
+
* a warning is logged via g_warning().
|
|
25616
|
+
*
|
|
25617
|
+
* - Properties received via the initial `GetAll()` call or via the
|
|
25618
|
+
* `::PropertiesChanged` signal (on the
|
|
25619
|
+
* [org.freedesktop.DBus.Properties](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties)
|
|
25620
|
+
* interface) or set using g_dbus_proxy_set_cached_property()
|
|
25621
|
+
* with a type signature mismatch are ignored and a warning is
|
|
25622
|
+
* logged via g_warning().
|
|
25623
|
+
*
|
|
25624
|
+
* Note that these checks are never done on methods, signals and
|
|
25625
|
+
* properties that are not referenced in the given
|
|
25626
|
+
* #GDBusInterfaceInfo, since extending a D-Bus interface on the
|
|
25627
|
+
* service-side is not considered an ABI break.
|
|
25628
|
+
*/
|
|
25629
|
+
gInterfaceInfo?: DBusInterfaceInfo | null
|
|
25630
|
+
/**
|
|
25631
|
+
* The D-Bus interface name the proxy is for.
|
|
25632
|
+
*/
|
|
25633
|
+
gInterfaceName?: string | null
|
|
25634
|
+
/**
|
|
25635
|
+
* The well-known or unique name that the proxy is for.
|
|
25636
|
+
*/
|
|
25637
|
+
gName?: string | null
|
|
25638
|
+
/**
|
|
25639
|
+
* The object path the proxy is for.
|
|
25640
|
+
*/
|
|
25641
|
+
gObjectPath?: string | null
|
|
25055
25642
|
}
|
|
25056
25643
|
|
|
25057
25644
|
}
|
|
@@ -25067,10 +25654,21 @@ interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25067
25654
|
* of this property.
|
|
25068
25655
|
*/
|
|
25069
25656
|
readonly g_bus_type: BusType
|
|
25657
|
+
/**
|
|
25658
|
+
* If this property is not %G_BUS_TYPE_NONE, then
|
|
25659
|
+
* #GDBusProxy:g-connection must be %NULL and will be set to the
|
|
25660
|
+
* #GDBusConnection obtained by calling g_bus_get() with the value
|
|
25661
|
+
* of this property.
|
|
25662
|
+
*/
|
|
25663
|
+
readonly gBusType: BusType
|
|
25070
25664
|
/**
|
|
25071
25665
|
* The #GDBusConnection the proxy is for.
|
|
25072
25666
|
*/
|
|
25073
25667
|
readonly g_connection: DBusConnection
|
|
25668
|
+
/**
|
|
25669
|
+
* The #GDBusConnection the proxy is for.
|
|
25670
|
+
*/
|
|
25671
|
+
readonly gConnection: DBusConnection
|
|
25074
25672
|
/**
|
|
25075
25673
|
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25076
25674
|
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
@@ -25082,10 +25680,25 @@ interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25082
25680
|
* %G_MAXINT, then no timeout is used.
|
|
25083
25681
|
*/
|
|
25084
25682
|
g_default_timeout: number
|
|
25683
|
+
/**
|
|
25684
|
+
* The timeout to use if -1 (specifying default timeout) is passed
|
|
25685
|
+
* as `timeout_msec` in the g_dbus_proxy_call() and
|
|
25686
|
+
* g_dbus_proxy_call_sync() functions.
|
|
25687
|
+
*
|
|
25688
|
+
* This allows applications to set a proxy-wide timeout for all
|
|
25689
|
+
* remote method invocations on the proxy. If this property is -1,
|
|
25690
|
+
* the default timeout (typically 25 seconds) is used. If set to
|
|
25691
|
+
* %G_MAXINT, then no timeout is used.
|
|
25692
|
+
*/
|
|
25693
|
+
gDefaultTimeout: number
|
|
25085
25694
|
/**
|
|
25086
25695
|
* Flags from the #GDBusProxyFlags enumeration.
|
|
25087
25696
|
*/
|
|
25088
25697
|
readonly g_flags: DBusProxyFlags
|
|
25698
|
+
/**
|
|
25699
|
+
* Flags from the #GDBusProxyFlags enumeration.
|
|
25700
|
+
*/
|
|
25701
|
+
readonly gFlags: DBusProxyFlags
|
|
25089
25702
|
/**
|
|
25090
25703
|
* Ensure that interactions with this proxy conform to the given
|
|
25091
25704
|
* interface. This is mainly to ensure that malformed data received
|
|
@@ -25113,24 +25726,69 @@ interface DBusProxy extends AsyncInitable, DBusInterface, Initable {
|
|
|
25113
25726
|
* service-side is not considered an ABI break.
|
|
25114
25727
|
*/
|
|
25115
25728
|
g_interface_info: DBusInterfaceInfo
|
|
25729
|
+
/**
|
|
25730
|
+
* Ensure that interactions with this proxy conform to the given
|
|
25731
|
+
* interface. This is mainly to ensure that malformed data received
|
|
25732
|
+
* from the other peer is ignored. The given #GDBusInterfaceInfo is
|
|
25733
|
+
* said to be the "expected interface".
|
|
25734
|
+
*
|
|
25735
|
+
* The checks performed are:
|
|
25736
|
+
* - When completing a method call, if the type signature of
|
|
25737
|
+
* the reply message isn't what's expected, the reply is
|
|
25738
|
+
* discarded and the #GError is set to %G_IO_ERROR_INVALID_ARGUMENT.
|
|
25739
|
+
*
|
|
25740
|
+
* - Received signals that have a type signature mismatch are dropped and
|
|
25741
|
+
* a warning is logged via g_warning().
|
|
25742
|
+
*
|
|
25743
|
+
* - Properties received via the initial `GetAll()` call or via the
|
|
25744
|
+
* `::PropertiesChanged` signal (on the
|
|
25745
|
+
* [org.freedesktop.DBus.Properties](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties)
|
|
25746
|
+
* interface) or set using g_dbus_proxy_set_cached_property()
|
|
25747
|
+
* with a type signature mismatch are ignored and a warning is
|
|
25748
|
+
* logged via g_warning().
|
|
25749
|
+
*
|
|
25750
|
+
* Note that these checks are never done on methods, signals and
|
|
25751
|
+
* properties that are not referenced in the given
|
|
25752
|
+
* #GDBusInterfaceInfo, since extending a D-Bus interface on the
|
|
25753
|
+
* service-side is not considered an ABI break.
|
|
25754
|
+
*/
|
|
25755
|
+
gInterfaceInfo: DBusInterfaceInfo
|
|
25116
25756
|
/**
|
|
25117
25757
|
* The D-Bus interface name the proxy is for.
|
|
25118
25758
|
*/
|
|
25119
25759
|
readonly g_interface_name: string | null
|
|
25760
|
+
/**
|
|
25761
|
+
* The D-Bus interface name the proxy is for.
|
|
25762
|
+
*/
|
|
25763
|
+
readonly gInterfaceName: string | null
|
|
25120
25764
|
/**
|
|
25121
25765
|
* The well-known or unique name that the proxy is for.
|
|
25122
25766
|
*/
|
|
25123
25767
|
readonly g_name: string | null
|
|
25768
|
+
/**
|
|
25769
|
+
* The well-known or unique name that the proxy is for.
|
|
25770
|
+
*/
|
|
25771
|
+
readonly gName: string | null
|
|
25124
25772
|
/**
|
|
25125
25773
|
* The unique name that owns #GDBusProxy:g-name or %NULL if no-one
|
|
25126
25774
|
* currently owns that name. You may connect to #GObject::notify signal to
|
|
25127
25775
|
* track changes to this property.
|
|
25128
25776
|
*/
|
|
25129
25777
|
readonly g_name_owner: string | null
|
|
25778
|
+
/**
|
|
25779
|
+
* The unique name that owns #GDBusProxy:g-name or %NULL if no-one
|
|
25780
|
+
* currently owns that name. You may connect to #GObject::notify signal to
|
|
25781
|
+
* track changes to this property.
|
|
25782
|
+
*/
|
|
25783
|
+
readonly gNameOwner: string | null
|
|
25130
25784
|
/**
|
|
25131
25785
|
* The object path the proxy is for.
|
|
25132
25786
|
*/
|
|
25133
25787
|
readonly g_object_path: string | null
|
|
25788
|
+
/**
|
|
25789
|
+
* The object path the proxy is for.
|
|
25790
|
+
*/
|
|
25791
|
+
readonly gObjectPath: string | null
|
|
25134
25792
|
|
|
25135
25793
|
// Owm methods of Gio-2.0.Gio.DBusProxy
|
|
25136
25794
|
|
|
@@ -25659,6 +26317,10 @@ module DBusServer {
|
|
|
25659
26317
|
* See #GDBusConnection:guid for more details.
|
|
25660
26318
|
*/
|
|
25661
26319
|
guid?: string | null
|
|
26320
|
+
/**
|
|
26321
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
26322
|
+
*/
|
|
26323
|
+
authenticationObserver?: DBusAuthObserver | null
|
|
25662
26324
|
}
|
|
25663
26325
|
|
|
25664
26326
|
}
|
|
@@ -25679,10 +26341,18 @@ interface DBusServer extends Initable {
|
|
|
25679
26341
|
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
25680
26342
|
*/
|
|
25681
26343
|
readonly authentication_observer: DBusAuthObserver
|
|
26344
|
+
/**
|
|
26345
|
+
* A #GDBusAuthObserver object to assist in the authentication process or %NULL.
|
|
26346
|
+
*/
|
|
26347
|
+
readonly authenticationObserver: DBusAuthObserver
|
|
25682
26348
|
/**
|
|
25683
26349
|
* The D-Bus address that clients can use.
|
|
25684
26350
|
*/
|
|
25685
26351
|
readonly client_address: string | null
|
|
26352
|
+
/**
|
|
26353
|
+
* The D-Bus address that clients can use.
|
|
26354
|
+
*/
|
|
26355
|
+
readonly clientAddress: string | null
|
|
25686
26356
|
/**
|
|
25687
26357
|
* Flags from the #GDBusServerFlags enumeration.
|
|
25688
26358
|
*/
|
|
@@ -25844,6 +26514,17 @@ module DataInputStream {
|
|
|
25844
26514
|
* as a line ending when reading complete lines from the stream.
|
|
25845
26515
|
*/
|
|
25846
26516
|
newline_type?: DataStreamNewlineType | null
|
|
26517
|
+
/**
|
|
26518
|
+
* The :byte-order property determines the byte ordering that
|
|
26519
|
+
* is used when reading multi-byte entities (such as integers)
|
|
26520
|
+
* from the stream.
|
|
26521
|
+
*/
|
|
26522
|
+
byteOrder?: DataStreamByteOrder | null
|
|
26523
|
+
/**
|
|
26524
|
+
* The :newline-type property determines what is considered
|
|
26525
|
+
* as a line ending when reading complete lines from the stream.
|
|
26526
|
+
*/
|
|
26527
|
+
newlineType?: DataStreamNewlineType | null
|
|
25847
26528
|
}
|
|
25848
26529
|
|
|
25849
26530
|
}
|
|
@@ -25858,11 +26539,22 @@ interface DataInputStream extends Seekable {
|
|
|
25858
26539
|
* from the stream.
|
|
25859
26540
|
*/
|
|
25860
26541
|
byte_order: DataStreamByteOrder
|
|
26542
|
+
/**
|
|
26543
|
+
* The :byte-order property determines the byte ordering that
|
|
26544
|
+
* is used when reading multi-byte entities (such as integers)
|
|
26545
|
+
* from the stream.
|
|
26546
|
+
*/
|
|
26547
|
+
byteOrder: DataStreamByteOrder
|
|
25861
26548
|
/**
|
|
25862
26549
|
* The :newline-type property determines what is considered
|
|
25863
26550
|
* as a line ending when reading complete lines from the stream.
|
|
25864
26551
|
*/
|
|
25865
26552
|
newline_type: DataStreamNewlineType
|
|
26553
|
+
/**
|
|
26554
|
+
* The :newline-type property determines what is considered
|
|
26555
|
+
* as a line ending when reading complete lines from the stream.
|
|
26556
|
+
*/
|
|
26557
|
+
newlineType: DataStreamNewlineType
|
|
25866
26558
|
|
|
25867
26559
|
// Own fields of Gio-2.0.Gio.DataInputStream
|
|
25868
26560
|
|
|
@@ -26204,6 +26896,9 @@ interface DataInputStream extends Seekable {
|
|
|
26204
26896
|
connect(sigName: "notify::buffer-size", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26205
26897
|
connect_after(sigName: "notify::buffer-size", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26206
26898
|
emit(sigName: "notify::buffer-size", ...args: any[]): void
|
|
26899
|
+
connect(sigName: "notify::base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26900
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26901
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
26207
26902
|
connect(sigName: "notify::close-base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26208
26903
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: DataInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26209
26904
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -26269,6 +26964,11 @@ module DataOutputStream {
|
|
|
26269
26964
|
* multi-byte entities (such as integers) to the stream.
|
|
26270
26965
|
*/
|
|
26271
26966
|
byte_order?: DataStreamByteOrder | null
|
|
26967
|
+
/**
|
|
26968
|
+
* Determines the byte ordering that is used when writing
|
|
26969
|
+
* multi-byte entities (such as integers) to the stream.
|
|
26970
|
+
*/
|
|
26971
|
+
byteOrder?: DataStreamByteOrder | null
|
|
26272
26972
|
}
|
|
26273
26973
|
|
|
26274
26974
|
}
|
|
@@ -26282,6 +26982,11 @@ interface DataOutputStream extends Seekable {
|
|
|
26282
26982
|
* multi-byte entities (such as integers) to the stream.
|
|
26283
26983
|
*/
|
|
26284
26984
|
byte_order: DataStreamByteOrder
|
|
26985
|
+
/**
|
|
26986
|
+
* Determines the byte ordering that is used when writing
|
|
26987
|
+
* multi-byte entities (such as integers) to the stream.
|
|
26988
|
+
*/
|
|
26989
|
+
byteOrder: DataStreamByteOrder
|
|
26285
26990
|
|
|
26286
26991
|
// Own fields of Gio-2.0.Gio.DataOutputStream
|
|
26287
26992
|
|
|
@@ -26361,6 +27066,9 @@ interface DataOutputStream extends Seekable {
|
|
|
26361
27066
|
connect(sigName: "notify::byte-order", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26362
27067
|
connect_after(sigName: "notify::byte-order", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26363
27068
|
emit(sigName: "notify::byte-order", ...args: any[]): void
|
|
27069
|
+
connect(sigName: "notify::base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
27070
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
27071
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
26364
27072
|
connect(sigName: "notify::close-base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26365
27073
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: DataOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
26366
27074
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -28748,6 +29456,7 @@ module FileMonitor {
|
|
|
28748
29456
|
// Own constructor properties of Gio-2.0.Gio.FileMonitor
|
|
28749
29457
|
|
|
28750
29458
|
rate_limit?: number | null
|
|
29459
|
+
rateLimit?: number | null
|
|
28751
29460
|
}
|
|
28752
29461
|
|
|
28753
29462
|
}
|
|
@@ -28758,6 +29467,7 @@ interface FileMonitor {
|
|
|
28758
29467
|
|
|
28759
29468
|
readonly cancelled: boolean
|
|
28760
29469
|
rate_limit: number
|
|
29470
|
+
rateLimit: number
|
|
28761
29471
|
|
|
28762
29472
|
// Own fields of Gio-2.0.Gio.FileMonitor
|
|
28763
29473
|
|
|
@@ -29142,6 +29852,8 @@ module FilterInputStream {
|
|
|
29142
29852
|
|
|
29143
29853
|
base_stream?: InputStream | null
|
|
29144
29854
|
close_base_stream?: boolean | null
|
|
29855
|
+
baseStream?: InputStream | null
|
|
29856
|
+
closeBaseStream?: boolean | null
|
|
29145
29857
|
}
|
|
29146
29858
|
|
|
29147
29859
|
}
|
|
@@ -29150,7 +29862,9 @@ interface FilterInputStream {
|
|
|
29150
29862
|
|
|
29151
29863
|
// Own properties of Gio-2.0.Gio.FilterInputStream
|
|
29152
29864
|
|
|
29865
|
+
readonly baseStream: InputStream
|
|
29153
29866
|
close_base_stream: boolean
|
|
29867
|
+
closeBaseStream: boolean
|
|
29154
29868
|
|
|
29155
29869
|
// Own fields of Gio-2.0.Gio.FilterInputStream
|
|
29156
29870
|
|
|
@@ -29178,6 +29892,9 @@ interface FilterInputStream {
|
|
|
29178
29892
|
|
|
29179
29893
|
// Class property signals of Gio-2.0.Gio.FilterInputStream
|
|
29180
29894
|
|
|
29895
|
+
connect(sigName: "notify::base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29896
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29897
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
29181
29898
|
connect(sigName: "notify::close-base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29182
29899
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: FilterInputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29183
29900
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -29217,6 +29934,8 @@ module FilterOutputStream {
|
|
|
29217
29934
|
|
|
29218
29935
|
base_stream?: OutputStream | null
|
|
29219
29936
|
close_base_stream?: boolean | null
|
|
29937
|
+
baseStream?: OutputStream | null
|
|
29938
|
+
closeBaseStream?: boolean | null
|
|
29220
29939
|
}
|
|
29221
29940
|
|
|
29222
29941
|
}
|
|
@@ -29225,7 +29944,9 @@ interface FilterOutputStream {
|
|
|
29225
29944
|
|
|
29226
29945
|
// Own properties of Gio-2.0.Gio.FilterOutputStream
|
|
29227
29946
|
|
|
29947
|
+
readonly baseStream: OutputStream
|
|
29228
29948
|
readonly close_base_stream: boolean
|
|
29949
|
+
readonly closeBaseStream: boolean
|
|
29229
29950
|
|
|
29230
29951
|
// Own fields of Gio-2.0.Gio.FilterOutputStream
|
|
29231
29952
|
|
|
@@ -29253,6 +29974,9 @@ interface FilterOutputStream {
|
|
|
29253
29974
|
|
|
29254
29975
|
// Class property signals of Gio-2.0.Gio.FilterOutputStream
|
|
29255
29976
|
|
|
29977
|
+
connect(sigName: "notify::base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29978
|
+
connect_after(sigName: "notify::base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29979
|
+
emit(sigName: "notify::base-stream", ...args: any[]): void
|
|
29256
29980
|
connect(sigName: "notify::close-base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29257
29981
|
connect_after(sigName: "notify::close-base-stream", callback: (($obj: FilterOutputStream, pspec: GObject.ParamSpec) => void)): number
|
|
29258
29982
|
emit(sigName: "notify::close-base-stream", ...args: any[]): void
|
|
@@ -29412,7 +30136,9 @@ interface IOStream {
|
|
|
29412
30136
|
|
|
29413
30137
|
readonly closed: boolean
|
|
29414
30138
|
readonly input_stream: InputStream
|
|
30139
|
+
readonly inputStream: InputStream
|
|
29415
30140
|
readonly output_stream: OutputStream
|
|
30141
|
+
readonly outputStream: OutputStream
|
|
29416
30142
|
|
|
29417
30143
|
// Own fields of Gio-2.0.Gio.IOStream
|
|
29418
30144
|
|
|
@@ -29702,51 +30428,101 @@ interface InetAddress {
|
|
|
29702
30428
|
* See g_inet_address_get_is_any().
|
|
29703
30429
|
*/
|
|
29704
30430
|
readonly is_any: boolean
|
|
30431
|
+
/**
|
|
30432
|
+
* Whether this is the "any" address for its family.
|
|
30433
|
+
* See g_inet_address_get_is_any().
|
|
30434
|
+
*/
|
|
30435
|
+
readonly isAny: boolean
|
|
29705
30436
|
/**
|
|
29706
30437
|
* Whether this is a link-local address.
|
|
29707
30438
|
* See g_inet_address_get_is_link_local().
|
|
29708
30439
|
*/
|
|
29709
30440
|
readonly is_link_local: boolean
|
|
30441
|
+
/**
|
|
30442
|
+
* Whether this is a link-local address.
|
|
30443
|
+
* See g_inet_address_get_is_link_local().
|
|
30444
|
+
*/
|
|
30445
|
+
readonly isLinkLocal: boolean
|
|
29710
30446
|
/**
|
|
29711
30447
|
* Whether this is the loopback address for its family.
|
|
29712
30448
|
* See g_inet_address_get_is_loopback().
|
|
29713
30449
|
*/
|
|
29714
30450
|
readonly is_loopback: boolean
|
|
30451
|
+
/**
|
|
30452
|
+
* Whether this is the loopback address for its family.
|
|
30453
|
+
* See g_inet_address_get_is_loopback().
|
|
30454
|
+
*/
|
|
30455
|
+
readonly isLoopback: boolean
|
|
29715
30456
|
/**
|
|
29716
30457
|
* Whether this is a global multicast address.
|
|
29717
30458
|
* See g_inet_address_get_is_mc_global().
|
|
29718
30459
|
*/
|
|
29719
30460
|
readonly is_mc_global: boolean
|
|
30461
|
+
/**
|
|
30462
|
+
* Whether this is a global multicast address.
|
|
30463
|
+
* See g_inet_address_get_is_mc_global().
|
|
30464
|
+
*/
|
|
30465
|
+
readonly isMcGlobal: boolean
|
|
29720
30466
|
/**
|
|
29721
30467
|
* Whether this is a link-local multicast address.
|
|
29722
30468
|
* See g_inet_address_get_is_mc_link_local().
|
|
29723
30469
|
*/
|
|
29724
30470
|
readonly is_mc_link_local: boolean
|
|
30471
|
+
/**
|
|
30472
|
+
* Whether this is a link-local multicast address.
|
|
30473
|
+
* See g_inet_address_get_is_mc_link_local().
|
|
30474
|
+
*/
|
|
30475
|
+
readonly isMcLinkLocal: boolean
|
|
29725
30476
|
/**
|
|
29726
30477
|
* Whether this is a node-local multicast address.
|
|
29727
30478
|
* See g_inet_address_get_is_mc_node_local().
|
|
29728
30479
|
*/
|
|
29729
30480
|
readonly is_mc_node_local: boolean
|
|
30481
|
+
/**
|
|
30482
|
+
* Whether this is a node-local multicast address.
|
|
30483
|
+
* See g_inet_address_get_is_mc_node_local().
|
|
30484
|
+
*/
|
|
30485
|
+
readonly isMcNodeLocal: boolean
|
|
29730
30486
|
/**
|
|
29731
30487
|
* Whether this is an organization-local multicast address.
|
|
29732
30488
|
* See g_inet_address_get_is_mc_org_local().
|
|
29733
30489
|
*/
|
|
29734
30490
|
readonly is_mc_org_local: boolean
|
|
30491
|
+
/**
|
|
30492
|
+
* Whether this is an organization-local multicast address.
|
|
30493
|
+
* See g_inet_address_get_is_mc_org_local().
|
|
30494
|
+
*/
|
|
30495
|
+
readonly isMcOrgLocal: boolean
|
|
29735
30496
|
/**
|
|
29736
30497
|
* Whether this is a site-local multicast address.
|
|
29737
30498
|
* See g_inet_address_get_is_mc_site_local().
|
|
29738
30499
|
*/
|
|
29739
30500
|
readonly is_mc_site_local: boolean
|
|
30501
|
+
/**
|
|
30502
|
+
* Whether this is a site-local multicast address.
|
|
30503
|
+
* See g_inet_address_get_is_mc_site_local().
|
|
30504
|
+
*/
|
|
30505
|
+
readonly isMcSiteLocal: boolean
|
|
29740
30506
|
/**
|
|
29741
30507
|
* Whether this is a multicast address.
|
|
29742
30508
|
* See g_inet_address_get_is_multicast().
|
|
29743
30509
|
*/
|
|
29744
30510
|
readonly is_multicast: boolean
|
|
30511
|
+
/**
|
|
30512
|
+
* Whether this is a multicast address.
|
|
30513
|
+
* See g_inet_address_get_is_multicast().
|
|
30514
|
+
*/
|
|
30515
|
+
readonly isMulticast: boolean
|
|
29745
30516
|
/**
|
|
29746
30517
|
* Whether this is a site-local address.
|
|
29747
30518
|
* See g_inet_address_get_is_loopback().
|
|
29748
30519
|
*/
|
|
29749
30520
|
readonly is_site_local: boolean
|
|
30521
|
+
/**
|
|
30522
|
+
* Whether this is a site-local address.
|
|
30523
|
+
* See g_inet_address_get_is_loopback().
|
|
30524
|
+
*/
|
|
30525
|
+
readonly isSiteLocal: boolean
|
|
29750
30526
|
|
|
29751
30527
|
// Own fields of Gio-2.0.Gio.InetAddress
|
|
29752
30528
|
|
|
@@ -30084,6 +30860,7 @@ module InetSocketAddress {
|
|
|
30084
30860
|
flowinfo?: number | null
|
|
30085
30861
|
port?: number | null
|
|
30086
30862
|
scope_id?: number | null
|
|
30863
|
+
scopeId?: number | null
|
|
30087
30864
|
}
|
|
30088
30865
|
|
|
30089
30866
|
}
|
|
@@ -30099,6 +30876,7 @@ interface InetSocketAddress extends SocketConnectable {
|
|
|
30099
30876
|
readonly flowinfo: number
|
|
30100
30877
|
readonly port: number
|
|
30101
30878
|
readonly scope_id: number
|
|
30879
|
+
readonly scopeId: number
|
|
30102
30880
|
|
|
30103
30881
|
// Own fields of Gio-2.0.Gio.InetSocketAddress
|
|
30104
30882
|
|
|
@@ -30835,6 +31613,11 @@ module ListStore {
|
|
|
30835
31613
|
* subclasses of #GObject.
|
|
30836
31614
|
*/
|
|
30837
31615
|
item_type?: GObject.GType | null
|
|
31616
|
+
/**
|
|
31617
|
+
* The type of items contained in this list store. Items must be
|
|
31618
|
+
* subclasses of #GObject.
|
|
31619
|
+
*/
|
|
31620
|
+
itemType?: GObject.GType | null
|
|
30838
31621
|
}
|
|
30839
31622
|
|
|
30840
31623
|
}
|
|
@@ -30848,10 +31631,19 @@ interface ListStore<A extends GObject.Object = GObject.Object> extends ListModel
|
|
|
30848
31631
|
* subclasses of #GObject.
|
|
30849
31632
|
*/
|
|
30850
31633
|
readonly item_type: GObject.GType
|
|
31634
|
+
/**
|
|
31635
|
+
* The type of items contained in this list store. Items must be
|
|
31636
|
+
* subclasses of #GObject.
|
|
31637
|
+
*/
|
|
31638
|
+
readonly itemType: GObject.GType
|
|
30851
31639
|
/**
|
|
30852
31640
|
* The number of items contained in this list store.
|
|
30853
31641
|
*/
|
|
30854
31642
|
readonly n_items: number
|
|
31643
|
+
/**
|
|
31644
|
+
* The number of items contained in this list store.
|
|
31645
|
+
*/
|
|
31646
|
+
readonly nItems: number
|
|
30855
31647
|
|
|
30856
31648
|
// Owm methods of Gio-2.0.Gio.ListStore
|
|
30857
31649
|
|
|
@@ -31137,6 +31929,10 @@ interface MemoryOutputStream extends PollableOutputStream, Seekable {
|
|
|
31137
31929
|
* Size of data written to the buffer.
|
|
31138
31930
|
*/
|
|
31139
31931
|
readonly data_size: number
|
|
31932
|
+
/**
|
|
31933
|
+
* Size of data written to the buffer.
|
|
31934
|
+
*/
|
|
31935
|
+
readonly dataSize: number
|
|
31140
31936
|
/**
|
|
31141
31937
|
* Current size of the data buffer.
|
|
31142
31938
|
*/
|
|
@@ -32443,6 +33239,23 @@ module MountOperation {
|
|
|
32443
33239
|
* the mount operation.
|
|
32444
33240
|
*/
|
|
32445
33241
|
username?: string | null
|
|
33242
|
+
/**
|
|
33243
|
+
* Whether the device to be unlocked is a TCRYPT hidden volume.
|
|
33244
|
+
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
33245
|
+
*/
|
|
33246
|
+
isTcryptHiddenVolume?: boolean | null
|
|
33247
|
+
/**
|
|
33248
|
+
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
33249
|
+
* In this context, a system volume is a volume with a bootloader
|
|
33250
|
+
* and operating system installed. This is only supported for Windows
|
|
33251
|
+
* operating systems. For further documentation, see
|
|
33252
|
+
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
33253
|
+
*/
|
|
33254
|
+
isTcryptSystemVolume?: boolean | null
|
|
33255
|
+
/**
|
|
33256
|
+
* Determines if and how the password information should be saved.
|
|
33257
|
+
*/
|
|
33258
|
+
passwordSave?: PasswordSave | null
|
|
32446
33259
|
}
|
|
32447
33260
|
|
|
32448
33261
|
}
|
|
@@ -32469,6 +33282,11 @@ interface MountOperation {
|
|
|
32469
33282
|
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
32470
33283
|
*/
|
|
32471
33284
|
is_tcrypt_hidden_volume: boolean
|
|
33285
|
+
/**
|
|
33286
|
+
* Whether the device to be unlocked is a TCRYPT hidden volume.
|
|
33287
|
+
* See [the VeraCrypt documentation](https://www.veracrypt.fr/en/Hidden%20Volume.html).
|
|
33288
|
+
*/
|
|
33289
|
+
isTcryptHiddenVolume: boolean
|
|
32472
33290
|
/**
|
|
32473
33291
|
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
32474
33292
|
* In this context, a system volume is a volume with a bootloader
|
|
@@ -32477,6 +33295,14 @@ interface MountOperation {
|
|
|
32477
33295
|
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
32478
33296
|
*/
|
|
32479
33297
|
is_tcrypt_system_volume: boolean
|
|
33298
|
+
/**
|
|
33299
|
+
* Whether the device to be unlocked is a TCRYPT system volume.
|
|
33300
|
+
* In this context, a system volume is a volume with a bootloader
|
|
33301
|
+
* and operating system installed. This is only supported for Windows
|
|
33302
|
+
* operating systems. For further documentation, see
|
|
33303
|
+
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/System%20Encryption.html).
|
|
33304
|
+
*/
|
|
33305
|
+
isTcryptSystemVolume: boolean
|
|
32480
33306
|
/**
|
|
32481
33307
|
* The password that is used for authentication when carrying out
|
|
32482
33308
|
* the mount operation.
|
|
@@ -32486,6 +33312,10 @@ interface MountOperation {
|
|
|
32486
33312
|
* Determines if and how the password information should be saved.
|
|
32487
33313
|
*/
|
|
32488
33314
|
password_save: PasswordSave
|
|
33315
|
+
/**
|
|
33316
|
+
* Determines if and how the password information should be saved.
|
|
33317
|
+
*/
|
|
33318
|
+
passwordSave: PasswordSave
|
|
32489
33319
|
/**
|
|
32490
33320
|
* The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See
|
|
32491
33321
|
* [the VeraCrypt documentation](https://www.veracrypt.fr/en/Personal%20Iterations%20Multiplier%20(PIM).html).
|
|
@@ -34346,11 +35176,21 @@ interface Permission {
|
|
|
34346
35176
|
* g_permission_acquire().
|
|
34347
35177
|
*/
|
|
34348
35178
|
readonly can_acquire: boolean
|
|
35179
|
+
/**
|
|
35180
|
+
* %TRUE if it is generally possible to acquire the permission by calling
|
|
35181
|
+
* g_permission_acquire().
|
|
35182
|
+
*/
|
|
35183
|
+
readonly canAcquire: boolean
|
|
34349
35184
|
/**
|
|
34350
35185
|
* %TRUE if it is generally possible to release the permission by calling
|
|
34351
35186
|
* g_permission_release().
|
|
34352
35187
|
*/
|
|
34353
35188
|
readonly can_release: boolean
|
|
35189
|
+
/**
|
|
35190
|
+
* %TRUE if it is generally possible to release the permission by calling
|
|
35191
|
+
* g_permission_release().
|
|
35192
|
+
*/
|
|
35193
|
+
readonly canRelease: boolean
|
|
34354
35194
|
|
|
34355
35195
|
// Own fields of Gio-2.0.Gio.Permission
|
|
34356
35196
|
|
|
@@ -34663,6 +35503,18 @@ module PropertyAction {
|
|
|
34663
35503
|
* readable and writable (and not construct-only).
|
|
34664
35504
|
*/
|
|
34665
35505
|
property_name?: string | null
|
|
35506
|
+
/**
|
|
35507
|
+
* If %TRUE, the state of the action will be the negation of the
|
|
35508
|
+
* property value, provided the property is boolean.
|
|
35509
|
+
*/
|
|
35510
|
+
invertBoolean?: boolean | null
|
|
35511
|
+
/**
|
|
35512
|
+
* The name of the property to wrap on the object.
|
|
35513
|
+
*
|
|
35514
|
+
* The property must exist on the passed-in object and it must be
|
|
35515
|
+
* readable and writable (and not construct-only).
|
|
35516
|
+
*/
|
|
35517
|
+
propertyName?: string | null
|
|
34666
35518
|
}
|
|
34667
35519
|
|
|
34668
35520
|
}
|
|
@@ -34683,6 +35535,11 @@ interface PropertyAction extends Action {
|
|
|
34683
35535
|
* property value, provided the property is boolean.
|
|
34684
35536
|
*/
|
|
34685
35537
|
readonly invert_boolean: boolean
|
|
35538
|
+
/**
|
|
35539
|
+
* If %TRUE, the state of the action will be the negation of the
|
|
35540
|
+
* property value, provided the property is boolean.
|
|
35541
|
+
*/
|
|
35542
|
+
readonly invertBoolean: boolean
|
|
34686
35543
|
/**
|
|
34687
35544
|
* The name of the action. This is mostly meaningful for identifying
|
|
34688
35545
|
* the action once it has been added to a #GActionMap.
|
|
@@ -34699,6 +35556,11 @@ interface PropertyAction extends Action {
|
|
|
34699
35556
|
* action.
|
|
34700
35557
|
*/
|
|
34701
35558
|
readonly parameter_type: GLib.VariantType
|
|
35559
|
+
/**
|
|
35560
|
+
* The type of the parameter that must be given when activating the
|
|
35561
|
+
* action.
|
|
35562
|
+
*/
|
|
35563
|
+
readonly parameterType: GLib.VariantType
|
|
34702
35564
|
/**
|
|
34703
35565
|
* The name of the property to wrap on the object.
|
|
34704
35566
|
*
|
|
@@ -34706,6 +35568,13 @@ interface PropertyAction extends Action {
|
|
|
34706
35568
|
* readable and writable (and not construct-only).
|
|
34707
35569
|
*/
|
|
34708
35570
|
readonly property_name: string | null
|
|
35571
|
+
/**
|
|
35572
|
+
* The name of the property to wrap on the object.
|
|
35573
|
+
*
|
|
35574
|
+
* The property must exist on the passed-in object and it must be
|
|
35575
|
+
* readable and writable (and not construct-only).
|
|
35576
|
+
*/
|
|
35577
|
+
readonly propertyName: string | null
|
|
34709
35578
|
/**
|
|
34710
35579
|
* The state of the action, or %NULL if the action is stateless.
|
|
34711
35580
|
*/
|
|
@@ -34715,6 +35584,11 @@ interface PropertyAction extends Action {
|
|
|
34715
35584
|
* action is stateless.
|
|
34716
35585
|
*/
|
|
34717
35586
|
readonly state_type: GLib.VariantType
|
|
35587
|
+
/**
|
|
35588
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
35589
|
+
* action is stateless.
|
|
35590
|
+
*/
|
|
35591
|
+
readonly stateType: GLib.VariantType
|
|
34718
35592
|
|
|
34719
35593
|
// Class property signals of Gio-2.0.Gio.PropertyAction
|
|
34720
35594
|
|
|
@@ -34870,6 +35744,13 @@ module ProxyAddress {
|
|
|
34870
35744
|
*/
|
|
34871
35745
|
uri?: string | null
|
|
34872
35746
|
username?: string | null
|
|
35747
|
+
destinationHostname?: string | null
|
|
35748
|
+
destinationPort?: number | null
|
|
35749
|
+
/**
|
|
35750
|
+
* The protocol being spoke to the destination host, or %NULL if
|
|
35751
|
+
* the #GProxyAddress doesn't know.
|
|
35752
|
+
*/
|
|
35753
|
+
destinationProtocol?: string | null
|
|
34873
35754
|
}
|
|
34874
35755
|
|
|
34875
35756
|
}
|
|
@@ -34879,12 +35760,19 @@ interface ProxyAddress extends SocketConnectable {
|
|
|
34879
35760
|
// Own properties of Gio-2.0.Gio.ProxyAddress
|
|
34880
35761
|
|
|
34881
35762
|
readonly destination_hostname: string | null
|
|
35763
|
+
readonly destinationHostname: string | null
|
|
34882
35764
|
readonly destination_port: number
|
|
35765
|
+
readonly destinationPort: number
|
|
34883
35766
|
/**
|
|
34884
35767
|
* The protocol being spoke to the destination host, or %NULL if
|
|
34885
35768
|
* the #GProxyAddress doesn't know.
|
|
34886
35769
|
*/
|
|
34887
35770
|
readonly destination_protocol: string | null
|
|
35771
|
+
/**
|
|
35772
|
+
* The protocol being spoke to the destination host, or %NULL if
|
|
35773
|
+
* the #GProxyAddress doesn't know.
|
|
35774
|
+
*/
|
|
35775
|
+
readonly destinationProtocol: string | null
|
|
34888
35776
|
readonly password: string | null
|
|
34889
35777
|
readonly protocol: string | null
|
|
34890
35778
|
/**
|
|
@@ -35068,6 +35956,15 @@ module ProxyAddressEnumerator {
|
|
|
35068
35956
|
*/
|
|
35069
35957
|
proxy_resolver?: ProxyResolver | null
|
|
35070
35958
|
uri?: string | null
|
|
35959
|
+
/**
|
|
35960
|
+
* The default port to use if #GProxyAddressEnumerator:uri does not
|
|
35961
|
+
* specify one.
|
|
35962
|
+
*/
|
|
35963
|
+
defaultPort?: number | null
|
|
35964
|
+
/**
|
|
35965
|
+
* The proxy resolver to use.
|
|
35966
|
+
*/
|
|
35967
|
+
proxyResolver?: ProxyResolver | null
|
|
35071
35968
|
}
|
|
35072
35969
|
|
|
35073
35970
|
}
|
|
@@ -35082,10 +35979,19 @@ interface ProxyAddressEnumerator {
|
|
|
35082
35979
|
* specify one.
|
|
35083
35980
|
*/
|
|
35084
35981
|
readonly default_port: number
|
|
35982
|
+
/**
|
|
35983
|
+
* The default port to use if #GProxyAddressEnumerator:uri does not
|
|
35984
|
+
* specify one.
|
|
35985
|
+
*/
|
|
35986
|
+
readonly defaultPort: number
|
|
35085
35987
|
/**
|
|
35086
35988
|
* The proxy resolver to use.
|
|
35087
35989
|
*/
|
|
35088
35990
|
proxy_resolver: ProxyResolver
|
|
35991
|
+
/**
|
|
35992
|
+
* The proxy resolver to use.
|
|
35993
|
+
*/
|
|
35994
|
+
proxyResolver: ProxyResolver
|
|
35089
35995
|
readonly uri: string | null
|
|
35090
35996
|
|
|
35091
35997
|
// Class property signals of Gio-2.0.Gio.ProxyAddressEnumerator
|
|
@@ -35819,6 +36725,21 @@ module Settings {
|
|
|
35819
36725
|
* than the schema itself. Take care.
|
|
35820
36726
|
*/
|
|
35821
36727
|
settings_schema?: SettingsSchema | null
|
|
36728
|
+
/**
|
|
36729
|
+
* The name of the schema that describes the types of keys
|
|
36730
|
+
* for this #GSettings object.
|
|
36731
|
+
*/
|
|
36732
|
+
schemaId?: string | null
|
|
36733
|
+
/**
|
|
36734
|
+
* The #GSettingsSchema describing the types of keys for this
|
|
36735
|
+
* #GSettings object.
|
|
36736
|
+
*
|
|
36737
|
+
* Ideally, this property would be called 'schema'. #GSettingsSchema
|
|
36738
|
+
* has only existed since version 2.32, however, and before then the
|
|
36739
|
+
* 'schema' property was used to refer to the ID of the schema rather
|
|
36740
|
+
* than the schema itself. Take care.
|
|
36741
|
+
*/
|
|
36742
|
+
settingsSchema?: SettingsSchema | null
|
|
35822
36743
|
}
|
|
35823
36744
|
|
|
35824
36745
|
}
|
|
@@ -35836,11 +36757,21 @@ interface Settings {
|
|
|
35836
36757
|
* g_settings_delay() for details.
|
|
35837
36758
|
*/
|
|
35838
36759
|
readonly delay_apply: boolean
|
|
36760
|
+
/**
|
|
36761
|
+
* Whether the #GSettings object is in 'delay-apply' mode. See
|
|
36762
|
+
* g_settings_delay() for details.
|
|
36763
|
+
*/
|
|
36764
|
+
readonly delayApply: boolean
|
|
35839
36765
|
/**
|
|
35840
36766
|
* If this property is %TRUE, the #GSettings object has outstanding
|
|
35841
36767
|
* changes that will be applied when g_settings_apply() is called.
|
|
35842
36768
|
*/
|
|
35843
36769
|
readonly has_unapplied: boolean
|
|
36770
|
+
/**
|
|
36771
|
+
* If this property is %TRUE, the #GSettings object has outstanding
|
|
36772
|
+
* changes that will be applied when g_settings_apply() is called.
|
|
36773
|
+
*/
|
|
36774
|
+
readonly hasUnapplied: boolean
|
|
35844
36775
|
/**
|
|
35845
36776
|
* The path within the backend where the settings are stored.
|
|
35846
36777
|
*/
|
|
@@ -35862,6 +36793,11 @@ interface Settings {
|
|
|
35862
36793
|
* for this #GSettings object.
|
|
35863
36794
|
*/
|
|
35864
36795
|
readonly schema_id: string | null
|
|
36796
|
+
/**
|
|
36797
|
+
* The name of the schema that describes the types of keys
|
|
36798
|
+
* for this #GSettings object.
|
|
36799
|
+
*/
|
|
36800
|
+
readonly schemaId: string | null
|
|
35865
36801
|
/**
|
|
35866
36802
|
* The #GSettingsSchema describing the types of keys for this
|
|
35867
36803
|
* #GSettings object.
|
|
@@ -35872,6 +36808,16 @@ interface Settings {
|
|
|
35872
36808
|
* than the schema itself. Take care.
|
|
35873
36809
|
*/
|
|
35874
36810
|
readonly settings_schema: SettingsSchema
|
|
36811
|
+
/**
|
|
36812
|
+
* The #GSettingsSchema describing the types of keys for this
|
|
36813
|
+
* #GSettings object.
|
|
36814
|
+
*
|
|
36815
|
+
* Ideally, this property would be called 'schema'. #GSettingsSchema
|
|
36816
|
+
* has only existed since version 2.32, however, and before then the
|
|
36817
|
+
* 'schema' property was used to refer to the ID of the schema rather
|
|
36818
|
+
* than the schema itself. Take care.
|
|
36819
|
+
*/
|
|
36820
|
+
readonly settingsSchema: SettingsSchema
|
|
35875
36821
|
|
|
35876
36822
|
// Own fields of Gio-2.0.Gio.Settings
|
|
35877
36823
|
|
|
@@ -37179,6 +38125,11 @@ module SimpleAction {
|
|
|
37179
38125
|
* The state of the action, or %NULL if the action is stateless.
|
|
37180
38126
|
*/
|
|
37181
38127
|
state?: GLib.Variant | null
|
|
38128
|
+
/**
|
|
38129
|
+
* The type of the parameter that must be given when activating the
|
|
38130
|
+
* action.
|
|
38131
|
+
*/
|
|
38132
|
+
parameterType?: GLib.VariantType | null
|
|
37182
38133
|
}
|
|
37183
38134
|
|
|
37184
38135
|
}
|
|
@@ -37204,6 +38155,11 @@ interface SimpleAction extends Action {
|
|
|
37204
38155
|
* action.
|
|
37205
38156
|
*/
|
|
37206
38157
|
readonly parameter_type: GLib.VariantType
|
|
38158
|
+
/**
|
|
38159
|
+
* The type of the parameter that must be given when activating the
|
|
38160
|
+
* action.
|
|
38161
|
+
*/
|
|
38162
|
+
readonly parameterType: GLib.VariantType
|
|
37207
38163
|
/**
|
|
37208
38164
|
* The state of the action, or %NULL if the action is stateless.
|
|
37209
38165
|
*/
|
|
@@ -37213,6 +38169,11 @@ interface SimpleAction extends Action {
|
|
|
37213
38169
|
* action is stateless.
|
|
37214
38170
|
*/
|
|
37215
38171
|
readonly state_type: GLib.VariantType
|
|
38172
|
+
/**
|
|
38173
|
+
* The #GVariantType of the state that the action has, or %NULL if the
|
|
38174
|
+
* action is stateless.
|
|
38175
|
+
*/
|
|
38176
|
+
readonly stateType: GLib.VariantType
|
|
37216
38177
|
|
|
37217
38178
|
// Owm methods of Gio-2.0.Gio.SimpleAction
|
|
37218
38179
|
|
|
@@ -37786,6 +38747,8 @@ module SimpleIOStream {
|
|
|
37786
38747
|
|
|
37787
38748
|
input_stream?: InputStream | null
|
|
37788
38749
|
output_stream?: OutputStream | null
|
|
38750
|
+
inputStream?: InputStream | null
|
|
38751
|
+
outputStream?: OutputStream | null
|
|
37789
38752
|
}
|
|
37790
38753
|
|
|
37791
38754
|
}
|
|
@@ -37795,7 +38758,9 @@ interface SimpleIOStream {
|
|
|
37795
38758
|
// Own properties of Gio-2.0.Gio.SimpleIOStream
|
|
37796
38759
|
|
|
37797
38760
|
readonly input_stream: InputStream
|
|
38761
|
+
readonly inputStream: InputStream
|
|
37798
38762
|
readonly output_stream: OutputStream
|
|
38763
|
+
readonly outputStream: OutputStream
|
|
37799
38764
|
|
|
37800
38765
|
// Class property signals of Gio-2.0.Gio.SimpleIOStream
|
|
37801
38766
|
|
|
@@ -37976,6 +38941,53 @@ module SimpleProxyResolver {
|
|
|
37976
38941
|
* commonly used by other applications.
|
|
37977
38942
|
*/
|
|
37978
38943
|
ignore_hosts?: string[] | null
|
|
38944
|
+
/**
|
|
38945
|
+
* The default proxy URI that will be used for any URI that doesn't
|
|
38946
|
+
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
|
38947
|
+
* of the schemes set with g_simple_proxy_resolver_set_uri_proxy().
|
|
38948
|
+
*
|
|
38949
|
+
* Note that as a special case, if this URI starts with
|
|
38950
|
+
* "socks://", #GSimpleProxyResolver will treat it as referring
|
|
38951
|
+
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
38952
|
+
*/
|
|
38953
|
+
defaultProxy?: string | null
|
|
38954
|
+
/**
|
|
38955
|
+
* A list of hostnames and IP addresses that the resolver should
|
|
38956
|
+
* allow direct connections to.
|
|
38957
|
+
*
|
|
38958
|
+
* Entries can be in one of 4 formats:
|
|
38959
|
+
*
|
|
38960
|
+
* - A hostname, such as "example.com", ".example.com", or
|
|
38961
|
+
* "*.example.com", any of which match "example.com" or
|
|
38962
|
+
* any subdomain of it.
|
|
38963
|
+
*
|
|
38964
|
+
* - An IPv4 or IPv6 address, such as "192.168.1.1",
|
|
38965
|
+
* which matches only that address.
|
|
38966
|
+
*
|
|
38967
|
+
* - A hostname or IP address followed by a port, such as
|
|
38968
|
+
* "example.com:80", which matches whatever the hostname or IP
|
|
38969
|
+
* address would match, but only for URLs with the (explicitly)
|
|
38970
|
+
* indicated port. In the case of an IPv6 address, the address
|
|
38971
|
+
* part must appear in brackets: "[::1]:443"
|
|
38972
|
+
*
|
|
38973
|
+
* - An IP address range, given by a base address and prefix length,
|
|
38974
|
+
* such as "fe80::/10", which matches any address in that range.
|
|
38975
|
+
*
|
|
38976
|
+
* Note that when dealing with Unicode hostnames, the matching is
|
|
38977
|
+
* done against the ASCII form of the name.
|
|
38978
|
+
*
|
|
38979
|
+
* Also note that hostname exclusions apply only to connections made
|
|
38980
|
+
* to hosts identified by name, and IP address exclusions apply only
|
|
38981
|
+
* to connections made to hosts identified by address. That is, if
|
|
38982
|
+
* example.com has an address of 192.168.1.1, and the :ignore-hosts list
|
|
38983
|
+
* contains only "192.168.1.1", then a connection to "example.com"
|
|
38984
|
+
* (eg, via a #GNetworkAddress) will use the proxy, and a connection to
|
|
38985
|
+
* "192.168.1.1" (eg, via a #GInetSocketAddress) will not.
|
|
38986
|
+
*
|
|
38987
|
+
* These rules match the "ignore-hosts"/"noproxy" rules most
|
|
38988
|
+
* commonly used by other applications.
|
|
38989
|
+
*/
|
|
38990
|
+
ignoreHosts?: string[] | null
|
|
37979
38991
|
}
|
|
37980
38992
|
|
|
37981
38993
|
}
|
|
@@ -37994,6 +39006,16 @@ interface SimpleProxyResolver extends ProxyResolver {
|
|
|
37994
39006
|
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
37995
39007
|
*/
|
|
37996
39008
|
default_proxy: string | null
|
|
39009
|
+
/**
|
|
39010
|
+
* The default proxy URI that will be used for any URI that doesn't
|
|
39011
|
+
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
|
39012
|
+
* of the schemes set with g_simple_proxy_resolver_set_uri_proxy().
|
|
39013
|
+
*
|
|
39014
|
+
* Note that as a special case, if this URI starts with
|
|
39015
|
+
* "socks://", #GSimpleProxyResolver will treat it as referring
|
|
39016
|
+
* to all three of the socks5, socks4a, and socks4 proxy types.
|
|
39017
|
+
*/
|
|
39018
|
+
defaultProxy: string | null
|
|
37997
39019
|
/**
|
|
37998
39020
|
* A list of hostnames and IP addresses that the resolver should
|
|
37999
39021
|
* allow direct connections to.
|
|
@@ -38031,6 +39053,43 @@ interface SimpleProxyResolver extends ProxyResolver {
|
|
|
38031
39053
|
* commonly used by other applications.
|
|
38032
39054
|
*/
|
|
38033
39055
|
ignore_hosts: string[]
|
|
39056
|
+
/**
|
|
39057
|
+
* A list of hostnames and IP addresses that the resolver should
|
|
39058
|
+
* allow direct connections to.
|
|
39059
|
+
*
|
|
39060
|
+
* Entries can be in one of 4 formats:
|
|
39061
|
+
*
|
|
39062
|
+
* - A hostname, such as "example.com", ".example.com", or
|
|
39063
|
+
* "*.example.com", any of which match "example.com" or
|
|
39064
|
+
* any subdomain of it.
|
|
39065
|
+
*
|
|
39066
|
+
* - An IPv4 or IPv6 address, such as "192.168.1.1",
|
|
39067
|
+
* which matches only that address.
|
|
39068
|
+
*
|
|
39069
|
+
* - A hostname or IP address followed by a port, such as
|
|
39070
|
+
* "example.com:80", which matches whatever the hostname or IP
|
|
39071
|
+
* address would match, but only for URLs with the (explicitly)
|
|
39072
|
+
* indicated port. In the case of an IPv6 address, the address
|
|
39073
|
+
* part must appear in brackets: "[::1]:443"
|
|
39074
|
+
*
|
|
39075
|
+
* - An IP address range, given by a base address and prefix length,
|
|
39076
|
+
* such as "fe80::/10", which matches any address in that range.
|
|
39077
|
+
*
|
|
39078
|
+
* Note that when dealing with Unicode hostnames, the matching is
|
|
39079
|
+
* done against the ASCII form of the name.
|
|
39080
|
+
*
|
|
39081
|
+
* Also note that hostname exclusions apply only to connections made
|
|
39082
|
+
* to hosts identified by name, and IP address exclusions apply only
|
|
39083
|
+
* to connections made to hosts identified by address. That is, if
|
|
39084
|
+
* example.com has an address of 192.168.1.1, and the :ignore-hosts list
|
|
39085
|
+
* contains only "192.168.1.1", then a connection to "example.com"
|
|
39086
|
+
* (eg, via a #GNetworkAddress) will use the proxy, and a connection to
|
|
39087
|
+
* "192.168.1.1" (eg, via a #GInetSocketAddress) will not.
|
|
39088
|
+
*
|
|
39089
|
+
* These rules match the "ignore-hosts"/"noproxy" rules most
|
|
39090
|
+
* commonly used by other applications.
|
|
39091
|
+
*/
|
|
39092
|
+
ignoreHosts: string[]
|
|
38034
39093
|
|
|
38035
39094
|
// Own fields of Gio-2.0.Gio.SimpleProxyResolver
|
|
38036
39095
|
|
|
@@ -38154,6 +39213,15 @@ module Socket {
|
|
|
38154
39213
|
*/
|
|
38155
39214
|
ttl?: number | null
|
|
38156
39215
|
type?: SocketType | null
|
|
39216
|
+
listenBacklog?: number | null
|
|
39217
|
+
/**
|
|
39218
|
+
* Whether outgoing multicast packets loop back to the local host.
|
|
39219
|
+
*/
|
|
39220
|
+
multicastLoopback?: boolean | null
|
|
39221
|
+
/**
|
|
39222
|
+
* Time-to-live out outgoing multicast packets
|
|
39223
|
+
*/
|
|
39224
|
+
multicastTtl?: number | null
|
|
38157
39225
|
}
|
|
38158
39226
|
|
|
38159
39227
|
}
|
|
@@ -38171,17 +39239,28 @@ interface Socket extends DatagramBased, Initable {
|
|
|
38171
39239
|
readonly fd: number
|
|
38172
39240
|
keepalive: boolean
|
|
38173
39241
|
listen_backlog: number
|
|
39242
|
+
listenBacklog: number
|
|
38174
39243
|
readonly local_address: SocketAddress
|
|
39244
|
+
readonly localAddress: SocketAddress
|
|
38175
39245
|
/**
|
|
38176
39246
|
* Whether outgoing multicast packets loop back to the local host.
|
|
38177
39247
|
*/
|
|
38178
39248
|
multicast_loopback: boolean
|
|
39249
|
+
/**
|
|
39250
|
+
* Whether outgoing multicast packets loop back to the local host.
|
|
39251
|
+
*/
|
|
39252
|
+
multicastLoopback: boolean
|
|
38179
39253
|
/**
|
|
38180
39254
|
* Time-to-live out outgoing multicast packets
|
|
38181
39255
|
*/
|
|
38182
39256
|
multicast_ttl: number
|
|
39257
|
+
/**
|
|
39258
|
+
* Time-to-live out outgoing multicast packets
|
|
39259
|
+
*/
|
|
39260
|
+
multicastTtl: number
|
|
38183
39261
|
readonly protocol: SocketProtocol
|
|
38184
39262
|
readonly remote_address: SocketAddress
|
|
39263
|
+
readonly remoteAddress: SocketAddress
|
|
38185
39264
|
/**
|
|
38186
39265
|
* The timeout in seconds on socket I/O
|
|
38187
39266
|
*/
|
|
@@ -39700,6 +40779,31 @@ module SocketClient {
|
|
|
39700
40779
|
*/
|
|
39701
40780
|
tls_validation_flags?: TlsCertificateFlags | null
|
|
39702
40781
|
type?: SocketType | null
|
|
40782
|
+
enableProxy?: boolean | null
|
|
40783
|
+
localAddress?: SocketAddress | null
|
|
40784
|
+
/**
|
|
40785
|
+
* The proxy resolver to use
|
|
40786
|
+
*/
|
|
40787
|
+
proxyResolver?: ProxyResolver | null
|
|
40788
|
+
/**
|
|
40789
|
+
* The TLS validation flags used when creating TLS connections. The
|
|
40790
|
+
* default value is %G_TLS_CERTIFICATE_VALIDATE_ALL.
|
|
40791
|
+
*
|
|
40792
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
40793
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
40794
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
40795
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
40796
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
40797
|
+
* because this could potentially be the only error flag set even if
|
|
40798
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
40799
|
+
* safe way to use this property. This is not a horrible problem,
|
|
40800
|
+
* though, because you should not be attempting to ignore validation
|
|
40801
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
40802
|
+
* connect to the #GSocketClient::event signal, wait for it to be
|
|
40803
|
+
* emitted with %G_SOCKET_CLIENT_TLS_HANDSHAKING, and use that to
|
|
40804
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
40805
|
+
*/
|
|
40806
|
+
tlsValidationFlags?: TlsCertificateFlags | null
|
|
39703
40807
|
}
|
|
39704
40808
|
|
|
39705
40809
|
}
|
|
@@ -39709,13 +40813,19 @@ interface SocketClient {
|
|
|
39709
40813
|
// Own properties of Gio-2.0.Gio.SocketClient
|
|
39710
40814
|
|
|
39711
40815
|
enable_proxy: boolean
|
|
40816
|
+
enableProxy: boolean
|
|
39712
40817
|
family: SocketFamily
|
|
39713
40818
|
local_address: SocketAddress
|
|
40819
|
+
localAddress: SocketAddress
|
|
39714
40820
|
protocol: SocketProtocol
|
|
39715
40821
|
/**
|
|
39716
40822
|
* The proxy resolver to use
|
|
39717
40823
|
*/
|
|
39718
40824
|
proxy_resolver: ProxyResolver
|
|
40825
|
+
/**
|
|
40826
|
+
* The proxy resolver to use
|
|
40827
|
+
*/
|
|
40828
|
+
proxyResolver: ProxyResolver
|
|
39719
40829
|
timeout: number
|
|
39720
40830
|
tls: boolean
|
|
39721
40831
|
/**
|
|
@@ -39737,6 +40847,25 @@ interface SocketClient {
|
|
|
39737
40847
|
* connect to #GTlsConnection::accept-certificate.
|
|
39738
40848
|
*/
|
|
39739
40849
|
tls_validation_flags: TlsCertificateFlags
|
|
40850
|
+
/**
|
|
40851
|
+
* The TLS validation flags used when creating TLS connections. The
|
|
40852
|
+
* default value is %G_TLS_CERTIFICATE_VALIDATE_ALL.
|
|
40853
|
+
*
|
|
40854
|
+
* GLib guarantees that if certificate verification fails, at least one
|
|
40855
|
+
* flag will be set, but it does not guarantee that all possible flags
|
|
40856
|
+
* will be set. Accordingly, you may not safely decide to ignore any
|
|
40857
|
+
* particular type of error. For example, it would be incorrect to mask
|
|
40858
|
+
* %G_TLS_CERTIFICATE_EXPIRED if you want to allow expired certificates,
|
|
40859
|
+
* because this could potentially be the only error flag set even if
|
|
40860
|
+
* other problems exist with the certificate. Therefore, there is no
|
|
40861
|
+
* safe way to use this property. This is not a horrible problem,
|
|
40862
|
+
* though, because you should not be attempting to ignore validation
|
|
40863
|
+
* errors anyway. If you really must ignore TLS certificate errors,
|
|
40864
|
+
* connect to the #GSocketClient::event signal, wait for it to be
|
|
40865
|
+
* emitted with %G_SOCKET_CLIENT_TLS_HANDSHAKING, and use that to
|
|
40866
|
+
* connect to #GTlsConnection::accept-certificate.
|
|
40867
|
+
*/
|
|
40868
|
+
tlsValidationFlags: TlsCertificateFlags
|
|
39740
40869
|
type: SocketType
|
|
39741
40870
|
|
|
39742
40871
|
// Own fields of Gio-2.0.Gio.SocketClient
|
|
@@ -40611,6 +41740,7 @@ module SocketListener {
|
|
|
40611
41740
|
// Own constructor properties of Gio-2.0.Gio.SocketListener
|
|
40612
41741
|
|
|
40613
41742
|
listen_backlog?: number | null
|
|
41743
|
+
listenBacklog?: number | null
|
|
40614
41744
|
}
|
|
40615
41745
|
|
|
40616
41746
|
}
|
|
@@ -40620,6 +41750,7 @@ interface SocketListener {
|
|
|
40620
41750
|
// Own properties of Gio-2.0.Gio.SocketListener
|
|
40621
41751
|
|
|
40622
41752
|
listen_backlog: number
|
|
41753
|
+
listenBacklog: number
|
|
40623
41754
|
|
|
40624
41755
|
// Own fields of Gio-2.0.Gio.SocketListener
|
|
40625
41756
|
|
|
@@ -42812,6 +43943,7 @@ module TcpConnection {
|
|
|
42812
43943
|
// Own constructor properties of Gio-2.0.Gio.TcpConnection
|
|
42813
43944
|
|
|
42814
43945
|
graceful_disconnect?: boolean | null
|
|
43946
|
+
gracefulDisconnect?: boolean | null
|
|
42815
43947
|
}
|
|
42816
43948
|
|
|
42817
43949
|
}
|
|
@@ -42821,6 +43953,7 @@ interface TcpConnection {
|
|
|
42821
43953
|
// Own properties of Gio-2.0.Gio.TcpConnection
|
|
42822
43954
|
|
|
42823
43955
|
graceful_disconnect: boolean
|
|
43956
|
+
gracefulDisconnect: boolean
|
|
42824
43957
|
|
|
42825
43958
|
// Own fields of Gio-2.0.Gio.TcpConnection
|
|
42826
43959
|
|
|
@@ -42959,6 +44092,7 @@ module TcpWrapperConnection {
|
|
|
42959
44092
|
// Own constructor properties of Gio-2.0.Gio.TcpWrapperConnection
|
|
42960
44093
|
|
|
42961
44094
|
base_io_stream?: IOStream | null
|
|
44095
|
+
baseIoStream?: IOStream | null
|
|
42962
44096
|
}
|
|
42963
44097
|
|
|
42964
44098
|
}
|
|
@@ -42968,6 +44102,7 @@ interface TcpWrapperConnection {
|
|
|
42968
44102
|
// Own properties of Gio-2.0.Gio.TcpWrapperConnection
|
|
42969
44103
|
|
|
42970
44104
|
readonly base_io_stream: IOStream
|
|
44105
|
+
readonly baseIoStream: IOStream
|
|
42971
44106
|
|
|
42972
44107
|
// Own fields of Gio-2.0.Gio.TcpWrapperConnection
|
|
42973
44108
|
|
|
@@ -43353,6 +44488,26 @@ module ThemedIcon {
|
|
|
43353
44488
|
*
|
|
43354
44489
|
*/
|
|
43355
44490
|
use_default_fallbacks?: boolean | null
|
|
44491
|
+
/**
|
|
44492
|
+
* Whether to use the default fallbacks found by shortening the icon name
|
|
44493
|
+
* at '-' characters. If the "names" array has more than one element,
|
|
44494
|
+
* ignores any past the first.
|
|
44495
|
+
*
|
|
44496
|
+
* For example, if the icon name was "gnome-dev-cdrom-audio", the array
|
|
44497
|
+
* would become
|
|
44498
|
+
*
|
|
44499
|
+
* ```c
|
|
44500
|
+
* {
|
|
44501
|
+
* "gnome-dev-cdrom-audio",
|
|
44502
|
+
* "gnome-dev-cdrom",
|
|
44503
|
+
* "gnome-dev",
|
|
44504
|
+
* "gnome",
|
|
44505
|
+
* NULL
|
|
44506
|
+
* };
|
|
44507
|
+
* ```
|
|
44508
|
+
*
|
|
44509
|
+
*/
|
|
44510
|
+
useDefaultFallbacks?: boolean | null
|
|
43356
44511
|
}
|
|
43357
44512
|
|
|
43358
44513
|
}
|
|
@@ -43389,6 +44544,26 @@ interface ThemedIcon extends Icon {
|
|
|
43389
44544
|
*
|
|
43390
44545
|
*/
|
|
43391
44546
|
readonly use_default_fallbacks: boolean
|
|
44547
|
+
/**
|
|
44548
|
+
* Whether to use the default fallbacks found by shortening the icon name
|
|
44549
|
+
* at '-' characters. If the "names" array has more than one element,
|
|
44550
|
+
* ignores any past the first.
|
|
44551
|
+
*
|
|
44552
|
+
* For example, if the icon name was "gnome-dev-cdrom-audio", the array
|
|
44553
|
+
* would become
|
|
44554
|
+
*
|
|
44555
|
+
* ```c
|
|
44556
|
+
* {
|
|
44557
|
+
* "gnome-dev-cdrom-audio",
|
|
44558
|
+
* "gnome-dev-cdrom",
|
|
44559
|
+
* "gnome-dev",
|
|
44560
|
+
* "gnome",
|
|
44561
|
+
* NULL
|
|
44562
|
+
* };
|
|
44563
|
+
* ```
|
|
44564
|
+
*
|
|
44565
|
+
*/
|
|
44566
|
+
readonly useDefaultFallbacks: boolean
|
|
43392
44567
|
|
|
43393
44568
|
// Owm methods of Gio-2.0.Gio.ThemedIcon
|
|
43394
44569
|
|
|
@@ -43517,6 +44692,7 @@ module ThreadedSocketService {
|
|
|
43517
44692
|
// Own constructor properties of Gio-2.0.Gio.ThreadedSocketService
|
|
43518
44693
|
|
|
43519
44694
|
max_threads?: number | null
|
|
44695
|
+
maxThreads?: number | null
|
|
43520
44696
|
}
|
|
43521
44697
|
|
|
43522
44698
|
}
|
|
@@ -43526,6 +44702,7 @@ interface ThreadedSocketService {
|
|
|
43526
44702
|
// Own properties of Gio-2.0.Gio.ThreadedSocketService
|
|
43527
44703
|
|
|
43528
44704
|
readonly max_threads: number
|
|
44705
|
+
readonly maxThreads: number
|
|
43529
44706
|
|
|
43530
44707
|
// Own fields of Gio-2.0.Gio.ThreadedSocketService
|
|
43531
44708
|
|
|
@@ -43732,6 +44909,72 @@ module TlsCertificate {
|
|
|
43732
44909
|
* object containing a private key.
|
|
43733
44910
|
*/
|
|
43734
44911
|
private_key_pkcs11_uri?: string | null
|
|
44912
|
+
/**
|
|
44913
|
+
* The PEM (ASCII) encoded representation of the certificate.
|
|
44914
|
+
* This property and the #GTlsCertificate:certificate
|
|
44915
|
+
* property represent the same data, just in different forms.
|
|
44916
|
+
*/
|
|
44917
|
+
certificatePem?: string | null
|
|
44918
|
+
/**
|
|
44919
|
+
* A URI referencing the [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
44920
|
+
* objects containing an X.509 certificate and optionally a private key.
|
|
44921
|
+
*
|
|
44922
|
+
* If %NULL, the certificate is either not backed by PKCS \#11 or the
|
|
44923
|
+
* #GTlsBackend does not support PKCS \#11.
|
|
44924
|
+
*/
|
|
44925
|
+
pkcs11Uri?: string | null
|
|
44926
|
+
/**
|
|
44927
|
+
* The PKCS #12 formatted data used to construct the object.
|
|
44928
|
+
*
|
|
44929
|
+
* See also: g_tls_certificate_new_from_pkcs12()
|
|
44930
|
+
*/
|
|
44931
|
+
pkcs12Data?: Uint8Array | null
|
|
44932
|
+
/**
|
|
44933
|
+
* The DER (binary) encoded representation of the certificate's
|
|
44934
|
+
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
44935
|
+
* or unencrypted [PKCS \#8 format.](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
44936
|
+
* PKCS \#8 format is supported since 2.32; earlier releases only
|
|
44937
|
+
* support PKCS \#1. You can use the `openssl rsa` tool to convert
|
|
44938
|
+
* PKCS \#8 keys to PKCS \#1.
|
|
44939
|
+
*
|
|
44940
|
+
* This property (or the #GTlsCertificate:private-key-pem property)
|
|
44941
|
+
* can be set when constructing a key (for example, from a file).
|
|
44942
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
44943
|
+
* the private key is backed by a PKCS \#11 URI – for example, if it
|
|
44944
|
+
* is stored on a smartcard – then this property will be %NULL. If so,
|
|
44945
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
44946
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
44947
|
+
* properties to see if the certificate really has a private key.
|
|
44948
|
+
* When this property is read, the output format will be unencrypted
|
|
44949
|
+
* PKCS \#8.
|
|
44950
|
+
*/
|
|
44951
|
+
privateKey?: Uint8Array | null
|
|
44952
|
+
/**
|
|
44953
|
+
* The PEM (ASCII) encoded representation of the certificate's
|
|
44954
|
+
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
44955
|
+
* ("`BEGIN RSA PRIVATE KEY`") or unencrypted
|
|
44956
|
+
* [PKCS \#8 format](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
44957
|
+
* ("`BEGIN PRIVATE KEY`"). PKCS \#8 format is supported since 2.32;
|
|
44958
|
+
* earlier releases only support PKCS \#1. You can use the `openssl rsa`
|
|
44959
|
+
* tool to convert PKCS \#8 keys to PKCS \#1.
|
|
44960
|
+
*
|
|
44961
|
+
* This property (or the #GTlsCertificate:private-key property)
|
|
44962
|
+
* can be set when constructing a key (for example, from a file).
|
|
44963
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
44964
|
+
* the private key is backed by a PKCS \#11 URI - for example, if it
|
|
44965
|
+
* is stored on a smartcard - then this property will be %NULL. If so,
|
|
44966
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
44967
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
44968
|
+
* properties to see if the certificate really has a private key.
|
|
44969
|
+
* When this property is read, the output format will be unencrypted
|
|
44970
|
+
* PKCS \#8.
|
|
44971
|
+
*/
|
|
44972
|
+
privateKeyPem?: string | null
|
|
44973
|
+
/**
|
|
44974
|
+
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
44975
|
+
* object containing a private key.
|
|
44976
|
+
*/
|
|
44977
|
+
privateKeyPkcs11Uri?: string | null
|
|
43735
44978
|
}
|
|
43736
44979
|
|
|
43737
44980
|
}
|
|
@@ -43752,16 +44995,32 @@ interface TlsCertificate {
|
|
|
43752
44995
|
* property represent the same data, just in different forms.
|
|
43753
44996
|
*/
|
|
43754
44997
|
readonly certificate_pem: string | null
|
|
44998
|
+
/**
|
|
44999
|
+
* The PEM (ASCII) encoded representation of the certificate.
|
|
45000
|
+
* This property and the #GTlsCertificate:certificate
|
|
45001
|
+
* property represent the same data, just in different forms.
|
|
45002
|
+
*/
|
|
45003
|
+
readonly certificatePem: string | null
|
|
43755
45004
|
/**
|
|
43756
45005
|
* The DNS names from the certificate's Subject Alternative Names (SANs),
|
|
43757
45006
|
* %NULL if unavailable.
|
|
43758
45007
|
*/
|
|
43759
45008
|
readonly dns_names: any[]
|
|
45009
|
+
/**
|
|
45010
|
+
* The DNS names from the certificate's Subject Alternative Names (SANs),
|
|
45011
|
+
* %NULL if unavailable.
|
|
45012
|
+
*/
|
|
45013
|
+
readonly dnsNames: any[]
|
|
43760
45014
|
/**
|
|
43761
45015
|
* The IP addresses from the certificate's Subject Alternative Names (SANs),
|
|
43762
45016
|
* %NULL if unavailable.
|
|
43763
45017
|
*/
|
|
43764
45018
|
readonly ip_addresses: any[]
|
|
45019
|
+
/**
|
|
45020
|
+
* The IP addresses from the certificate's Subject Alternative Names (SANs),
|
|
45021
|
+
* %NULL if unavailable.
|
|
45022
|
+
*/
|
|
45023
|
+
readonly ipAddresses: any[]
|
|
43765
45024
|
/**
|
|
43766
45025
|
* A #GTlsCertificate representing the entity that issued this
|
|
43767
45026
|
* certificate. If %NULL, this means that the certificate is either
|
|
@@ -43786,16 +45045,31 @@ interface TlsCertificate {
|
|
|
43786
45045
|
* %NULL if unavailable.
|
|
43787
45046
|
*/
|
|
43788
45047
|
readonly issuer_name: string | null
|
|
45048
|
+
/**
|
|
45049
|
+
* The issuer from the certificate,
|
|
45050
|
+
* %NULL if unavailable.
|
|
45051
|
+
*/
|
|
45052
|
+
readonly issuerName: string | null
|
|
43789
45053
|
/**
|
|
43790
45054
|
* The time at which this cert is no longer valid,
|
|
43791
45055
|
* %NULL if unavailable.
|
|
43792
45056
|
*/
|
|
43793
45057
|
readonly not_valid_after: GLib.DateTime
|
|
45058
|
+
/**
|
|
45059
|
+
* The time at which this cert is no longer valid,
|
|
45060
|
+
* %NULL if unavailable.
|
|
45061
|
+
*/
|
|
45062
|
+
readonly notValidAfter: GLib.DateTime
|
|
43794
45063
|
/**
|
|
43795
45064
|
* The time at which this cert is considered to be valid,
|
|
43796
45065
|
* %NULL if unavailable.
|
|
43797
45066
|
*/
|
|
43798
45067
|
readonly not_valid_before: GLib.DateTime
|
|
45068
|
+
/**
|
|
45069
|
+
* The time at which this cert is considered to be valid,
|
|
45070
|
+
* %NULL if unavailable.
|
|
45071
|
+
*/
|
|
45072
|
+
readonly notValidBefore: GLib.DateTime
|
|
43799
45073
|
/**
|
|
43800
45074
|
* An optional password used when constructed with GTlsCertificate:pkcs12-data.
|
|
43801
45075
|
*/
|
|
@@ -43808,12 +45082,26 @@ interface TlsCertificate {
|
|
|
43808
45082
|
* #GTlsBackend does not support PKCS \#11.
|
|
43809
45083
|
*/
|
|
43810
45084
|
readonly pkcs11_uri: string | null
|
|
45085
|
+
/**
|
|
45086
|
+
* A URI referencing the [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
45087
|
+
* objects containing an X.509 certificate and optionally a private key.
|
|
45088
|
+
*
|
|
45089
|
+
* If %NULL, the certificate is either not backed by PKCS \#11 or the
|
|
45090
|
+
* #GTlsBackend does not support PKCS \#11.
|
|
45091
|
+
*/
|
|
45092
|
+
readonly pkcs11Uri: string | null
|
|
43811
45093
|
/**
|
|
43812
45094
|
* The PKCS #12 formatted data used to construct the object.
|
|
43813
45095
|
*
|
|
43814
45096
|
* See also: g_tls_certificate_new_from_pkcs12()
|
|
43815
45097
|
*/
|
|
43816
45098
|
readonly pkcs12_data: Uint8Array
|
|
45099
|
+
/**
|
|
45100
|
+
* The PKCS #12 formatted data used to construct the object.
|
|
45101
|
+
*
|
|
45102
|
+
* See also: g_tls_certificate_new_from_pkcs12()
|
|
45103
|
+
*/
|
|
45104
|
+
readonly pkcs12Data: Uint8Array
|
|
43817
45105
|
/**
|
|
43818
45106
|
* The DER (binary) encoded representation of the certificate's
|
|
43819
45107
|
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
@@ -43834,6 +45122,26 @@ interface TlsCertificate {
|
|
|
43834
45122
|
* PKCS \#8.
|
|
43835
45123
|
*/
|
|
43836
45124
|
readonly private_key: Uint8Array
|
|
45125
|
+
/**
|
|
45126
|
+
* The DER (binary) encoded representation of the certificate's
|
|
45127
|
+
* private key, in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
45128
|
+
* or unencrypted [PKCS \#8 format.](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
45129
|
+
* PKCS \#8 format is supported since 2.32; earlier releases only
|
|
45130
|
+
* support PKCS \#1. You can use the `openssl rsa` tool to convert
|
|
45131
|
+
* PKCS \#8 keys to PKCS \#1.
|
|
45132
|
+
*
|
|
45133
|
+
* This property (or the #GTlsCertificate:private-key-pem property)
|
|
45134
|
+
* can be set when constructing a key (for example, from a file).
|
|
45135
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
45136
|
+
* the private key is backed by a PKCS \#11 URI – for example, if it
|
|
45137
|
+
* is stored on a smartcard – then this property will be %NULL. If so,
|
|
45138
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
45139
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
45140
|
+
* properties to see if the certificate really has a private key.
|
|
45141
|
+
* When this property is read, the output format will be unencrypted
|
|
45142
|
+
* PKCS \#8.
|
|
45143
|
+
*/
|
|
45144
|
+
readonly privateKey: Uint8Array
|
|
43837
45145
|
/**
|
|
43838
45146
|
* The PEM (ASCII) encoded representation of the certificate's
|
|
43839
45147
|
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
@@ -43855,16 +45163,47 @@ interface TlsCertificate {
|
|
|
43855
45163
|
* PKCS \#8.
|
|
43856
45164
|
*/
|
|
43857
45165
|
readonly private_key_pem: string | null
|
|
45166
|
+
/**
|
|
45167
|
+
* The PEM (ASCII) encoded representation of the certificate's
|
|
45168
|
+
* private key in either [PKCS \#1 format](https://datatracker.ietf.org/doc/html/rfc8017)
|
|
45169
|
+
* ("`BEGIN RSA PRIVATE KEY`") or unencrypted
|
|
45170
|
+
* [PKCS \#8 format](https://datatracker.ietf.org/doc/html/rfc5208)
|
|
45171
|
+
* ("`BEGIN PRIVATE KEY`"). PKCS \#8 format is supported since 2.32;
|
|
45172
|
+
* earlier releases only support PKCS \#1. You can use the `openssl rsa`
|
|
45173
|
+
* tool to convert PKCS \#8 keys to PKCS \#1.
|
|
45174
|
+
*
|
|
45175
|
+
* This property (or the #GTlsCertificate:private-key property)
|
|
45176
|
+
* can be set when constructing a key (for example, from a file).
|
|
45177
|
+
* Since GLib 2.70, it is now also readable; however, be aware that if
|
|
45178
|
+
* the private key is backed by a PKCS \#11 URI - for example, if it
|
|
45179
|
+
* is stored on a smartcard - then this property will be %NULL. If so,
|
|
45180
|
+
* the private key must be referenced via its PKCS \#11 URI,
|
|
45181
|
+
* #GTlsCertificate:private-key-pkcs11-uri. You must check both
|
|
45182
|
+
* properties to see if the certificate really has a private key.
|
|
45183
|
+
* When this property is read, the output format will be unencrypted
|
|
45184
|
+
* PKCS \#8.
|
|
45185
|
+
*/
|
|
45186
|
+
readonly privateKeyPem: string | null
|
|
43858
45187
|
/**
|
|
43859
45188
|
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
43860
45189
|
* object containing a private key.
|
|
43861
45190
|
*/
|
|
43862
45191
|
readonly private_key_pkcs11_uri: string | null
|
|
45192
|
+
/**
|
|
45193
|
+
* A URI referencing a [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html)
|
|
45194
|
+
* object containing a private key.
|
|
45195
|
+
*/
|
|
45196
|
+
readonly privateKeyPkcs11Uri: string | null
|
|
43863
45197
|
/**
|
|
43864
45198
|
* The subject from the cert,
|
|
43865
45199
|
* %NULL if unavailable.
|
|
43866
45200
|
*/
|
|
43867
45201
|
readonly subject_name: string | null
|
|
45202
|
+
/**
|
|
45203
|
+
* The subject from the cert,
|
|
45204
|
+
* %NULL if unavailable.
|
|
45205
|
+
*/
|
|
45206
|
+
readonly subjectName: string | null
|
|
43868
45207
|
|
|
43869
45208
|
// Own fields of Gio-2.0.Gio.TlsCertificate
|
|
43870
45209
|
|
|
@@ -44292,6 +45631,36 @@ module TlsConnection {
|
|
|
44292
45631
|
* g_tls_connection_set_use_system_certdb().
|
|
44293
45632
|
*/
|
|
44294
45633
|
use_system_certdb?: boolean | null
|
|
45634
|
+
/**
|
|
45635
|
+
* The list of application-layer protocols that the connection
|
|
45636
|
+
* advertises that it is willing to speak. See
|
|
45637
|
+
* g_tls_connection_set_advertised_protocols().
|
|
45638
|
+
*/
|
|
45639
|
+
advertisedProtocols?: string[] | null
|
|
45640
|
+
/**
|
|
45641
|
+
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
45642
|
+
* to this stream, and may run operations on the stream from other threads
|
|
45643
|
+
* throughout its lifetime. Consequently, after the #GIOStream has been
|
|
45644
|
+
* constructed, application code may only run its own operations on this
|
|
45645
|
+
* stream when no #GIOStream operations are running.
|
|
45646
|
+
*/
|
|
45647
|
+
baseIoStream?: IOStream | null
|
|
45648
|
+
/**
|
|
45649
|
+
* The rehandshaking mode. See
|
|
45650
|
+
* g_tls_connection_set_rehandshake_mode().
|
|
45651
|
+
*/
|
|
45652
|
+
rehandshakeMode?: TlsRehandshakeMode | null
|
|
45653
|
+
/**
|
|
45654
|
+
* Whether or not proper TLS close notification is required.
|
|
45655
|
+
* See g_tls_connection_set_require_close_notify().
|
|
45656
|
+
*/
|
|
45657
|
+
requireCloseNotify?: boolean | null
|
|
45658
|
+
/**
|
|
45659
|
+
* Whether or not the system certificate database will be used to
|
|
45660
|
+
* verify peer certificates. See
|
|
45661
|
+
* g_tls_connection_set_use_system_certdb().
|
|
45662
|
+
*/
|
|
45663
|
+
useSystemCertdb?: boolean | null
|
|
44295
45664
|
}
|
|
44296
45665
|
|
|
44297
45666
|
}
|
|
@@ -44306,6 +45675,12 @@ interface TlsConnection {
|
|
|
44306
45675
|
* g_tls_connection_set_advertised_protocols().
|
|
44307
45676
|
*/
|
|
44308
45677
|
advertised_protocols: string[]
|
|
45678
|
+
/**
|
|
45679
|
+
* The list of application-layer protocols that the connection
|
|
45680
|
+
* advertises that it is willing to speak. See
|
|
45681
|
+
* g_tls_connection_set_advertised_protocols().
|
|
45682
|
+
*/
|
|
45683
|
+
advertisedProtocols: string[]
|
|
44309
45684
|
/**
|
|
44310
45685
|
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
44311
45686
|
* to this stream, and may run operations on the stream from other threads
|
|
@@ -44314,6 +45689,14 @@ interface TlsConnection {
|
|
|
44314
45689
|
* stream when no #GIOStream operations are running.
|
|
44315
45690
|
*/
|
|
44316
45691
|
readonly base_io_stream: IOStream
|
|
45692
|
+
/**
|
|
45693
|
+
* The #GIOStream that the connection wraps. The connection holds a reference
|
|
45694
|
+
* to this stream, and may run operations on the stream from other threads
|
|
45695
|
+
* throughout its lifetime. Consequently, after the #GIOStream has been
|
|
45696
|
+
* constructed, application code may only run its own operations on this
|
|
45697
|
+
* stream when no #GIOStream operations are running.
|
|
45698
|
+
*/
|
|
45699
|
+
readonly baseIoStream: IOStream
|
|
44317
45700
|
/**
|
|
44318
45701
|
* The connection's certificate; see
|
|
44319
45702
|
* g_tls_connection_set_certificate().
|
|
@@ -44323,6 +45706,10 @@ interface TlsConnection {
|
|
|
44323
45706
|
* The name of the TLS ciphersuite in use. See g_tls_connection_get_ciphersuite_name().
|
|
44324
45707
|
*/
|
|
44325
45708
|
readonly ciphersuite_name: string | null
|
|
45709
|
+
/**
|
|
45710
|
+
* The name of the TLS ciphersuite in use. See g_tls_connection_get_ciphersuite_name().
|
|
45711
|
+
*/
|
|
45712
|
+
readonly ciphersuiteName: string | null
|
|
44326
45713
|
/**
|
|
44327
45714
|
* The certificate database to use when verifying this TLS connection.
|
|
44328
45715
|
* If no certificate database is set, then the default database will be
|
|
@@ -44353,6 +45740,11 @@ interface TlsConnection {
|
|
|
44353
45740
|
* handshake. See g_tls_connection_get_negotiated_protocol().
|
|
44354
45741
|
*/
|
|
44355
45742
|
readonly negotiated_protocol: string | null
|
|
45743
|
+
/**
|
|
45744
|
+
* The application-layer protocol negotiated during the TLS
|
|
45745
|
+
* handshake. See g_tls_connection_get_negotiated_protocol().
|
|
45746
|
+
*/
|
|
45747
|
+
readonly negotiatedProtocol: string | null
|
|
44356
45748
|
/**
|
|
44357
45749
|
* The connection's peer's certificate, after the TLS handshake has
|
|
44358
45750
|
* completed or failed. Note in particular that this is not yet set
|
|
@@ -44362,6 +45754,15 @@ interface TlsConnection {
|
|
|
44362
45754
|
* detect when a handshake has occurred.)
|
|
44363
45755
|
*/
|
|
44364
45756
|
readonly peer_certificate: TlsCertificate
|
|
45757
|
+
/**
|
|
45758
|
+
* The connection's peer's certificate, after the TLS handshake has
|
|
45759
|
+
* completed or failed. Note in particular that this is not yet set
|
|
45760
|
+
* during the emission of #GTlsConnection::accept-certificate.
|
|
45761
|
+
*
|
|
45762
|
+
* (You can watch for a #GObject::notify signal on this property to
|
|
45763
|
+
* detect when a handshake has occurred.)
|
|
45764
|
+
*/
|
|
45765
|
+
readonly peerCertificate: TlsCertificate
|
|
44365
45766
|
/**
|
|
44366
45767
|
* The errors noticed while verifying
|
|
44367
45768
|
* #GTlsConnection:peer-certificate. Normally this should be 0, but
|
|
@@ -44379,26 +45780,63 @@ interface TlsConnection {
|
|
|
44379
45780
|
* error flag set even if other problems exist with the certificate.
|
|
44380
45781
|
*/
|
|
44381
45782
|
readonly peer_certificate_errors: TlsCertificateFlags
|
|
45783
|
+
/**
|
|
45784
|
+
* The errors noticed while verifying
|
|
45785
|
+
* #GTlsConnection:peer-certificate. Normally this should be 0, but
|
|
45786
|
+
* it may not be if #GTlsClientConnection:validation-flags is not
|
|
45787
|
+
* %G_TLS_CERTIFICATE_VALIDATE_ALL, or if
|
|
45788
|
+
* #GTlsConnection::accept-certificate overrode the default
|
|
45789
|
+
* behavior.
|
|
45790
|
+
*
|
|
45791
|
+
* GLib guarantees that if certificate verification fails, at least
|
|
45792
|
+
* one error will be set, but it does not guarantee that all possible
|
|
45793
|
+
* errors will be set. Accordingly, you may not safely decide to
|
|
45794
|
+
* ignore any particular type of error. For example, it would be
|
|
45795
|
+
* incorrect to mask %G_TLS_CERTIFICATE_EXPIRED if you want to allow
|
|
45796
|
+
* expired certificates, because this could potentially be the only
|
|
45797
|
+
* error flag set even if other problems exist with the certificate.
|
|
45798
|
+
*/
|
|
45799
|
+
readonly peerCertificateErrors: TlsCertificateFlags
|
|
44382
45800
|
/**
|
|
44383
45801
|
* The TLS protocol version in use. See g_tls_connection_get_protocol_version().
|
|
44384
45802
|
*/
|
|
44385
45803
|
readonly protocol_version: TlsProtocolVersion
|
|
45804
|
+
/**
|
|
45805
|
+
* The TLS protocol version in use. See g_tls_connection_get_protocol_version().
|
|
45806
|
+
*/
|
|
45807
|
+
readonly protocolVersion: TlsProtocolVersion
|
|
44386
45808
|
/**
|
|
44387
45809
|
* The rehandshaking mode. See
|
|
44388
45810
|
* g_tls_connection_set_rehandshake_mode().
|
|
44389
45811
|
*/
|
|
44390
45812
|
rehandshake_mode: TlsRehandshakeMode
|
|
45813
|
+
/**
|
|
45814
|
+
* The rehandshaking mode. See
|
|
45815
|
+
* g_tls_connection_set_rehandshake_mode().
|
|
45816
|
+
*/
|
|
45817
|
+
rehandshakeMode: TlsRehandshakeMode
|
|
44391
45818
|
/**
|
|
44392
45819
|
* Whether or not proper TLS close notification is required.
|
|
44393
45820
|
* See g_tls_connection_set_require_close_notify().
|
|
44394
45821
|
*/
|
|
44395
45822
|
require_close_notify: boolean
|
|
45823
|
+
/**
|
|
45824
|
+
* Whether or not proper TLS close notification is required.
|
|
45825
|
+
* See g_tls_connection_set_require_close_notify().
|
|
45826
|
+
*/
|
|
45827
|
+
requireCloseNotify: boolean
|
|
44396
45828
|
/**
|
|
44397
45829
|
* Whether or not the system certificate database will be used to
|
|
44398
45830
|
* verify peer certificates. See
|
|
44399
45831
|
* g_tls_connection_set_use_system_certdb().
|
|
44400
45832
|
*/
|
|
44401
45833
|
use_system_certdb: boolean
|
|
45834
|
+
/**
|
|
45835
|
+
* Whether or not the system certificate database will be used to
|
|
45836
|
+
* verify peer certificates. See
|
|
45837
|
+
* g_tls_connection_set_use_system_certdb().
|
|
45838
|
+
*/
|
|
45839
|
+
useSystemCertdb: boolean
|
|
44402
45840
|
|
|
44403
45841
|
// Own fields of Gio-2.0.Gio.TlsConnection
|
|
44404
45842
|
|
|
@@ -46539,6 +47977,7 @@ module UnixFDMessage {
|
|
|
46539
47977
|
// Own constructor properties of Gio-2.0.Gio.UnixFDMessage
|
|
46540
47978
|
|
|
46541
47979
|
fd_list?: UnixFDList | null
|
|
47980
|
+
fdList?: UnixFDList | null
|
|
46542
47981
|
}
|
|
46543
47982
|
|
|
46544
47983
|
}
|
|
@@ -46548,6 +47987,7 @@ interface UnixFDMessage {
|
|
|
46548
47987
|
// Own properties of Gio-2.0.Gio.UnixFDMessage
|
|
46549
47988
|
|
|
46550
47989
|
readonly fd_list: UnixFDList
|
|
47990
|
+
readonly fdList: UnixFDList
|
|
46551
47991
|
|
|
46552
47992
|
// Own fields of Gio-2.0.Gio.UnixFDMessage
|
|
46553
47993
|
|
|
@@ -46675,6 +48115,10 @@ module UnixInputStream {
|
|
|
46675
48115
|
* The file descriptor that the stream reads from.
|
|
46676
48116
|
*/
|
|
46677
48117
|
fd?: number | null
|
|
48118
|
+
/**
|
|
48119
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48120
|
+
*/
|
|
48121
|
+
closeFd?: boolean | null
|
|
46678
48122
|
}
|
|
46679
48123
|
|
|
46680
48124
|
}
|
|
@@ -46687,6 +48131,10 @@ interface UnixInputStream extends FileDescriptorBased, PollableInputStream {
|
|
|
46687
48131
|
* Whether to close the file descriptor when the stream is closed.
|
|
46688
48132
|
*/
|
|
46689
48133
|
close_fd: boolean
|
|
48134
|
+
/**
|
|
48135
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48136
|
+
*/
|
|
48137
|
+
closeFd: boolean
|
|
46690
48138
|
/**
|
|
46691
48139
|
* The file descriptor that the stream reads from.
|
|
46692
48140
|
*/
|
|
@@ -46900,6 +48348,10 @@ module UnixOutputStream {
|
|
|
46900
48348
|
* The file descriptor that the stream writes to.
|
|
46901
48349
|
*/
|
|
46902
48350
|
fd?: number | null
|
|
48351
|
+
/**
|
|
48352
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48353
|
+
*/
|
|
48354
|
+
closeFd?: boolean | null
|
|
46903
48355
|
}
|
|
46904
48356
|
|
|
46905
48357
|
}
|
|
@@ -46912,6 +48364,10 @@ interface UnixOutputStream extends FileDescriptorBased, PollableOutputStream {
|
|
|
46912
48364
|
* Whether to close the file descriptor when the stream is closed.
|
|
46913
48365
|
*/
|
|
46914
48366
|
close_fd: boolean
|
|
48367
|
+
/**
|
|
48368
|
+
* Whether to close the file descriptor when the stream is closed.
|
|
48369
|
+
*/
|
|
48370
|
+
closeFd: boolean
|
|
46915
48371
|
/**
|
|
46916
48372
|
* The file descriptor that the stream writes to.
|
|
46917
48373
|
*/
|
|
@@ -47017,6 +48473,8 @@ module UnixSocketAddress {
|
|
|
47017
48473
|
address_type?: UnixSocketAddressType | null
|
|
47018
48474
|
path?: string | null
|
|
47019
48475
|
path_as_array?: Uint8Array | null
|
|
48476
|
+
addressType?: UnixSocketAddressType | null
|
|
48477
|
+
pathAsArray?: Uint8Array | null
|
|
47020
48478
|
}
|
|
47021
48479
|
|
|
47022
48480
|
}
|
|
@@ -47030,8 +48488,10 @@ interface UnixSocketAddress extends SocketConnectable {
|
|
|
47030
48488
|
*/
|
|
47031
48489
|
readonly abstract: boolean
|
|
47032
48490
|
readonly address_type: UnixSocketAddressType
|
|
48491
|
+
readonly addressType: UnixSocketAddressType
|
|
47033
48492
|
readonly path: string | null
|
|
47034
48493
|
readonly path_as_array: Uint8Array
|
|
48494
|
+
readonly pathAsArray: Uint8Array
|
|
47035
48495
|
|
|
47036
48496
|
// Own fields of Gio-2.0.Gio.UnixSocketAddress
|
|
47037
48497
|
|
|
@@ -47688,6 +49148,12 @@ module ZlibCompressor {
|
|
|
47688
49148
|
file_info?: FileInfo | null
|
|
47689
49149
|
format?: ZlibCompressorFormat | null
|
|
47690
49150
|
level?: number | null
|
|
49151
|
+
/**
|
|
49152
|
+
* If set to a non-%NULL #GFileInfo object, and #GZlibCompressor:format is
|
|
49153
|
+
* %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name
|
|
49154
|
+
* and modification time from the file info to the GZIP header.
|
|
49155
|
+
*/
|
|
49156
|
+
fileInfo?: FileInfo | null
|
|
47691
49157
|
}
|
|
47692
49158
|
|
|
47693
49159
|
}
|
|
@@ -47702,6 +49168,12 @@ interface ZlibCompressor extends Converter {
|
|
|
47702
49168
|
* and modification time from the file info to the GZIP header.
|
|
47703
49169
|
*/
|
|
47704
49170
|
file_info: FileInfo
|
|
49171
|
+
/**
|
|
49172
|
+
* If set to a non-%NULL #GFileInfo object, and #GZlibCompressor:format is
|
|
49173
|
+
* %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name
|
|
49174
|
+
* and modification time from the file info to the GZIP header.
|
|
49175
|
+
*/
|
|
49176
|
+
fileInfo: FileInfo
|
|
47705
49177
|
readonly format: ZlibCompressorFormat
|
|
47706
49178
|
readonly level: number
|
|
47707
49179
|
|
|
@@ -47800,6 +49272,13 @@ interface ZlibDecompressor extends Converter {
|
|
|
47800
49272
|
* #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP.
|
|
47801
49273
|
*/
|
|
47802
49274
|
readonly file_info: FileInfo
|
|
49275
|
+
/**
|
|
49276
|
+
* A #GFileInfo containing the information found in the GZIP header
|
|
49277
|
+
* of the data stream processed, or %NULL if the header was not yet
|
|
49278
|
+
* fully processed, is not present at all, or the compressor's
|
|
49279
|
+
* #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP.
|
|
49280
|
+
*/
|
|
49281
|
+
readonly fileInfo: FileInfo
|
|
47803
49282
|
readonly format: ZlibCompressorFormat
|
|
47804
49283
|
|
|
47805
49284
|
// Owm methods of Gio-2.0.Gio.ZlibDecompressor
|