diff options
| author | Michael Biebl <biebl@debian.org> | 2023-01-26 21:57:17 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-01-26 21:57:17 +0100 |
| commit | f8b5aa96b4370d88f38699433cec6e7a26a410f1 (patch) | |
| tree | 1817c96b86eac7fb93125a52d6b6d31f6a4bad45 /src/libnm-core-public | |
| parent | b0529444cb9c40efb19c7b4d4fe8da86ebcc7bdb (diff) | |
| parent | 2c1b7a7ea3c332b4d690c0595ef76c81de1f0cc8 (diff) | |
Merge tag 'debian/1.40.12-1' into debian/bullseye-backports
network-manager Debian release 1.40.12-1
Diffstat (limited to 'src/libnm-core-public')
| -rw-r--r-- | src/libnm-core-public/nm-dbus-interface.h | 18 | ||||
| -rw-r--r-- | src/libnm-core-public/nm-dbus-types.xml | 30 | ||||
| -rw-r--r-- | src/libnm-core-public/nm-version-macros.h | 2 |
3 files changed, 49 insertions, 1 deletions
diff --git a/src/libnm-core-public/nm-dbus-interface.h b/src/libnm-core-public/nm-dbus-interface.h index 6e1a84a1..3e79d4c6 100644 --- a/src/libnm-core-public/nm-dbus-interface.h +++ b/src/libnm-core-public/nm-dbus-interface.h @@ -1145,6 +1145,24 @@ typedef enum /*< flags >*/ { } NMSettingsUpdate2Flags; /** + * NMDeviceReapplyFlags: + * @NM_DEVICE_REAPPLY_FLAGS_NONE: no flag set. + * @NM_DEVICE_REAPPLY_FLAGS_PRESERVE_EXTERNAL_IP: during reapply, + * preserve external IP addresses and routes. + * + * Flags for the Reapply() D-Bus call of a device and + * nm_device_reapply_async(). + * + * Since: 1.42, 1.40.10 + * + * On 1.40.10+, no GFlags type is created. + */ +typedef enum /*< skip >*/ { + NM_DEVICE_REAPPLY_FLAGS_NONE = 0, + NM_DEVICE_REAPPLY_FLAGS_PRESERVE_EXTERNAL_IP = 0x1, +} NMDeviceReapplyFlags; + +/** * NMTernary: * @NM_TERNARY_DEFAULT: use the globally-configured default value. * @NM_TERNARY_FALSE: the option is disabled. diff --git a/src/libnm-core-public/nm-dbus-types.xml b/src/libnm-core-public/nm-dbus-types.xml index 52ac4981..d8de9002 100644 --- a/src/libnm-core-public/nm-dbus-types.xml +++ b/src/libnm-core-public/nm-dbus-types.xml @@ -1908,6 +1908,36 @@ </refsect3> </refsect2> + <refsect2 id="NMDeviceReapplyFlags" role="enum"> + <title>enum NMDeviceReapplyFlags</title> + <indexterm zone="NMDeviceReapplyFlags"> + <primary>NMDeviceReapplyFlags</primary> + </indexterm> + <para><para>Flags for the Reapply() D-Bus call of a device and nm_device_reapply_async().</para><para>Since: 1.42, 1.40.10</para><para>On 1.40.10+, no GFlags type is created.</para><para></para></para> + <refsect3 role="enum_members"> + <title>Values</title> + <informaltable role="enum_members_table" pgwide="1" frame="none"> + <tgroup cols="4"> + <colspec colname="enum_members_name" colwidth="300px" /> + <colspec colname="enum_members_value" colwidth="100px"/> + <colspec colname="enum_members_description" /> + <tbody> + <row role="constant"> + <entry role="enum_member_name"><para>NM_DEVICE_REAPPLY_FLAGS_NONE</para><para></para></entry> + <entry role="enum_member_value"><para>= <literal>0</literal></para><para></para></entry> + <entry role="enum_member_description"><para>no flag set.</para><para></para></entry> + </row> + <row role="constant"> + <entry role="enum_member_name"><para>NM_DEVICE_REAPPLY_FLAGS_PRESERVE_EXTERNAL_IP</para><para></para></entry> + <entry role="enum_member_value"><para>= <literal>0x1</literal></para><para></para></entry> + <entry role="enum_member_description"><para>during reapply, preserve external IP addresses and routes.</para><para></para></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect3> + </refsect2> + <refsect2 id="NMTernary" role="enum"> <title>enum NMTernary</title> <indexterm zone="NMTernary"> diff --git a/src/libnm-core-public/nm-version-macros.h b/src/libnm-core-public/nm-version-macros.h index 2b5bc67e..f3d50252 100644 --- a/src/libnm-core-public/nm-version-macros.h +++ b/src/libnm-core-public/nm-version-macros.h @@ -30,7 +30,7 @@ * Evaluates to the micro version number of NetworkManager which this source * compiled against. */ -#define NM_MICRO_VERSION (8) +#define NM_MICRO_VERSION (12) /** * NM_CHECK_VERSION: |