@@ -4998,7 +4998,7 @@ The application must be registered before calling this function.</doc>
4998
4998
</virtual-method>
4999
4999
<virtual-method name="add_platform_data">
5000
5000
<doc xml:space="preserve">invoked (locally) to add 'platform data' to be sent to
5001
- the primary instance when activating, opening or invoking actions</doc>
5001
+ the primary instance when activating, opening or invoking actions. Must chain up </doc>
5002
5002
<return-value transfer-ownership="none">
5003
5003
<type name="none" c:type="void"/>
5004
5004
</return-value>
@@ -5014,7 +5014,7 @@ The application must be registered before calling this function.</doc>
5014
5014
<virtual-method name="after_emit">
5015
5015
<doc xml:space="preserve">invoked on the primary instance after 'activate', 'open',
5016
5016
'command-line' or any action invocation, gets the 'platform data' from
5017
- the calling instance</doc>
5017
+ the calling instance. Must chain up </doc>
5018
5018
<return-value transfer-ownership="none">
5019
5019
<type name="none" c:type="void"/>
5020
5020
</return-value>
@@ -5030,7 +5030,7 @@ The application must be registered before calling this function.</doc>
5030
5030
<virtual-method name="before_emit">
5031
5031
<doc xml:space="preserve">invoked on the primary instance before 'activate', 'open',
5032
5032
'command-line' or any action invocation, gets the 'platform data' from
5033
- the calling instance</doc>
5033
+ the calling instance. Must chain up </doc>
5034
5034
<return-value transfer-ownership="none">
5035
5035
<type name="none" c:type="void"/>
5036
5036
</return-value>
@@ -6525,7 +6525,7 @@ after registration. See g_application_register().</doc>
6525
6525
<field name="before_emit">
6526
6526
<doc xml:space="preserve">invoked on the primary instance before 'activate', 'open',
6527
6527
'command-line' or any action invocation, gets the 'platform data' from
6528
- the calling instance</doc>
6528
+ the calling instance. Must chain up </doc>
6529
6529
<callback name="before_emit">
6530
6530
<return-value transfer-ownership="none">
6531
6531
<type name="none" c:type="void"/>
@@ -6543,7 +6543,7 @@ after registration. See g_application_register().</doc>
6543
6543
<field name="after_emit">
6544
6544
<doc xml:space="preserve">invoked on the primary instance after 'activate', 'open',
6545
6545
'command-line' or any action invocation, gets the 'platform data' from
6546
- the calling instance</doc>
6546
+ the calling instance. Must chain up </doc>
6547
6547
<callback name="after_emit">
6548
6548
<return-value transfer-ownership="none">
6549
6549
<type name="none" c:type="void"/>
@@ -6560,7 +6560,7 @@ after registration. See g_application_register().</doc>
6560
6560
</field>
6561
6561
<field name="add_platform_data">
6562
6562
<doc xml:space="preserve">invoked (locally) to add 'platform data' to be sent to
6563
- the primary instance when activating, opening or invoking actions</doc>
6563
+ the primary instance when activating, opening or invoking actions. Must chain up </doc>
6564
6564
<callback name="add_platform_data">
6565
6565
<return-value transfer-ownership="none">
6566
6566
<type name="none" c:type="void"/>
@@ -46894,8 +46894,43 @@ for @family.
46894
46894
</parameter>
46895
46895
</parameters>
46896
46896
</constructor>
46897
+ <constructor name="new_from_bytes_with_ipv6_info" c:identifier="g_inet_address_new_from_bytes_with_ipv6_info" version="2.86">
46898
+ <doc xml:space="preserve">Creates a new [
[email protected] ] from the given @family, @bytes
46899
+ and @scope_id.
46900
+
46901
+ @bytes must be 4 bytes for [
[email protected] ] and 16 bytes for
46902
+
46903
+ <return-value transfer-ownership="full">
46904
+ <doc xml:space="preserve">a new internet address corresponding to
46905
+ @family, @bytes and @scope_id</doc>
46906
+ <type name="InetAddress" c:type="GInetAddress*"/>
46907
+ </return-value>
46908
+ <parameters>
46909
+ <parameter name="bytes" transfer-ownership="none">
46910
+ <doc xml:space="preserve">raw address data</doc>
46911
+ <array zero-terminated="0" c:type="const guint8*">
46912
+ <type name="guint8"/>
46913
+ </array>
46914
+ </parameter>
46915
+ <parameter name="family" transfer-ownership="none">
46916
+ <doc xml:space="preserve">the address family of @bytes</doc>
46917
+ <type name="SocketFamily" c:type="GSocketFamily"/>
46918
+ </parameter>
46919
+ <parameter name="flowinfo" transfer-ownership="none">
46920
+ <type name="guint32" c:type="guint32"/>
46921
+ </parameter>
46922
+ <parameter name="scope_id" transfer-ownership="none">
46923
+ <doc xml:space="preserve">the scope-id of the address</doc>
46924
+ <type name="guint32" c:type="guint32"/>
46925
+ </parameter>
46926
+ </parameters>
46927
+ </constructor>
46897
46928
<constructor name="new_from_string" c:identifier="g_inet_address_new_from_string" version="2.22">
46898
- <doc xml:space="preserve">Parses @string as an IP address and creates a new #GInetAddress.</doc>
46929
+ <doc xml:space="preserve">Parses @string as an IP address and creates a new #GInetAddress.
46930
+
46931
+ If @address is an IPv6 address, it can also contain a scope ID
46932
+ (separated from the address by a `%`). Note that currently this
46933
+ behavior is platform specific. This may change in a future release.</doc>
46899
46934
<return-value transfer-ownership="full" nullable="1">
46900
46935
<doc xml:space="preserve">a new #GInetAddress corresponding
46901
46936
to @string, or %NULL if @string could not be parsed.
@@ -46983,6 +47018,19 @@ freed after use.</doc>
46983
47018
</instance-parameter>
46984
47019
</parameters>
46985
47020
</method>
47021
+ <method name="get_flowinfo" c:identifier="g_inet_address_get_flowinfo" glib:get-property="flowinfo" version="2.86">
47022
+ <doc xml:space="preserve">Gets the value of [
[email protected] :flowinfo].</doc>
47023
+ <return-value transfer-ownership="none">
47024
+ <doc xml:space="preserve">The flowinfo for the address, `0` if unset or not IPv6 address.</doc>
47025
+ <type name="guint32" c:type="guint32"/>
47026
+ </return-value>
47027
+ <parameters>
47028
+ <instance-parameter name="address" transfer-ownership="none">
47029
+ <doc xml:space="preserve">a #GInetAddress</doc>
47030
+ <type name="InetAddress" c:type="GInetAddress*"/>
47031
+ </instance-parameter>
47032
+ </parameters>
47033
+ </method>
46986
47034
<method name="get_is_any" c:identifier="g_inet_address_get_is_any" glib:get-property="is-any" version="2.22">
46987
47035
<doc xml:space="preserve">Tests whether @address is the "any" address for its family.</doc>
46988
47036
<return-value transfer-ownership="none">
@@ -47132,6 +47180,19 @@ is the size of the data that you get from g_inet_address_to_bytes().</doc>
47132
47180
</instance-parameter>
47133
47181
</parameters>
47134
47182
</method>
47183
+ <method name="get_scope_id" c:identifier="g_inet_address_get_scope_id" glib:get-property="scope-id" version="2.86">
47184
+ <doc xml:space="preserve">Gets the value of [
[email protected] :scope-id].</doc>
47185
+ <return-value transfer-ownership="none">
47186
+ <doc xml:space="preserve">The scope-id for the address, `0` if unset or not IPv6 address.</doc>
47187
+ <type name="guint32" c:type="guint32"/>
47188
+ </return-value>
47189
+ <parameters>
47190
+ <instance-parameter name="address" transfer-ownership="none">
47191
+ <doc xml:space="preserve">a #GInetAddress</doc>
47192
+ <type name="InetAddress" c:type="GInetAddress*"/>
47193
+ </instance-parameter>
47194
+ </parameters>
47195
+ </method>
47135
47196
<method name="to_bytes" c:identifier="g_inet_address_to_bytes" version="2.22" introspectable="0">
47136
47197
<doc xml:space="preserve">Gets the raw binary address data from @address.</doc>
47137
47198
<return-value transfer-ownership="none">
@@ -47169,6 +47230,11 @@ freed after use.</doc>
47169
47230
<doc xml:space="preserve">The address family (IPv4 or IPv6).</doc>
47170
47231
<type name="SocketFamily"/>
47171
47232
</property>
47233
+ <property name="flowinfo" version="2.86" writable="1" construct-only="1" transfer-ownership="none" getter="get_flowinfo" default-value="0">
47234
+ <doc xml:space="preserve">The flowinfo for an IPv6 address.
47235
+ See [
[email protected] _flowinfo].</doc>
47236
+ <type name="guint" c:type="guint"/>
47237
+ </property>
47172
47238
<property name="is-any" version="2.22" transfer-ownership="none" getter="get_is_any" default-value="FALSE">
47173
47239
<doc xml:space="preserve">Whether this is the "any" address for its family.
47174
47240
See g_inet_address_get_is_any().</doc>
@@ -47219,6 +47285,11 @@ See g_inet_address_get_is_multicast().</doc>
47219
47285
See g_inet_address_get_is_loopback().</doc>
47220
47286
<type name="gboolean" c:type="gboolean"/>
47221
47287
</property>
47288
+ <property name="scope-id" version="2.86" writable="1" construct-only="1" transfer-ownership="none" getter="get_scope_id" default-value="0">
47289
+ <doc xml:space="preserve">The scope-id for an IPv6 address.
47290
+ See [
[email protected] _scope_id].</doc>
47291
+ <type name="guint" c:type="guint"/>
47292
+ </property>
47222
47293
<field name="parent_instance">
47223
47294
<type name="GObject.Object" c:type="GObject"/>
47224
47295
</field>
@@ -47444,7 +47515,8 @@ In UNIX terms, `GInetSocketAddress` corresponds to a
47444
47515
<doc xml:space="preserve">Creates a new #GInetSocketAddress for @address and @port.
47445
47516
47446
47517
If @address is an IPv6 address, it can also contain a scope ID
47447
- (separated from the address by a `%`).</doc>
47518
+ (separated from the address by a `%`). Note that currently this
47519
+ behavior is platform specific. This may change in a future release.</doc>
47448
47520
<return-value transfer-ownership="full" nullable="1">
47449
47521
<doc xml:space="preserve">a new #GInetSocketAddress,
47450
47522
or %NULL if @address cannot be parsed.</doc>
@@ -47477,7 +47549,9 @@ g_object_ref()'d if it will be stored</doc>
47477
47549
</method>
47478
47550
<method name="get_flowinfo" c:identifier="g_inet_socket_address_get_flowinfo" glib:get-property="flowinfo" version="2.32">
47479
47551
<doc xml:space="preserve">Gets the `sin6_flowinfo` field from @address,
47480
- which must be an IPv6 address.</doc>
47552
+ which must be an IPv6 address.
47553
+
47554
+ If not overridden this value will be inherited from [
[email protected] :address].</doc>
47481
47555
<return-value transfer-ownership="none">
47482
47556
<doc xml:space="preserve">the flowinfo field</doc>
47483
47557
<type name="guint32" c:type="guint32"/>
@@ -47504,7 +47578,9 @@ which must be an IPv6 address.</doc>
47504
47578
</method>
47505
47579
<method name="get_scope_id" c:identifier="g_inet_socket_address_get_scope_id" glib:get-property="scope-id" version="2.32">
47506
47580
<doc xml:space="preserve">Gets the `sin6_scope_id` field from @address,
47507
- which must be an IPv6 address.</doc>
47581
+ which must be an IPv6 address.
47582
+
47583
+ If not overridden this value will be inherited from [
[email protected] :address].</doc>
47508
47584
<return-value transfer-ownership="none">
47509
47585
<doc xml:space="preserve">the scope id field</doc>
47510
47586
<type name="guint32" c:type="guint32"/>
@@ -47521,15 +47597,19 @@ which must be an IPv6 address.</doc>
47521
47597
<type name="InetAddress"/>
47522
47598
</property>
47523
47599
<property name="flowinfo" version="2.32" writable="1" construct-only="1" transfer-ownership="none" getter="get_flowinfo" default-value="0">
47524
- <doc xml:space="preserve">The `sin6_flowinfo` field, for IPv6 addresses.</doc>
47600
+ <doc xml:space="preserve">The `sin6_flowinfo` field, for IPv6 addresses.
47601
+
47602
+ If unset this property is inherited from [
[email protected] :address].</doc>
47525
47603
<type name="guint" c:type="guint"/>
47526
47604
</property>
47527
47605
<property name="port" version="2.22" writable="1" construct-only="1" transfer-ownership="none" getter="get_port" default-value="0">
47528
47606
<doc xml:space="preserve">The port.</doc>
47529
47607
<type name="guint" c:type="guint"/>
47530
47608
</property>
47531
47609
<property name="scope-id" version="2.32" writable="1" construct-only="1" transfer-ownership="none" getter="get_scope_id" default-value="0">
47532
- <doc xml:space="preserve">The `sin6_scope_id` field, for IPv6 addresses.</doc>
47610
+ <doc xml:space="preserve">The `sin6_scope_id` field, for IPv6 addresses.
47611
+
47612
+ If unset this property is inherited from [
[email protected] :address].</doc>
47533
47613
<type name="guint" c:type="guint"/>
47534
47614
</property>
47535
47615
<field name="parent_instance">
0 commit comments