libnm: add NMIPAddress and NMIPRoute dups backported symbols from 1.30.8

The nm_ip_address_dup() and nm_ip_route_dup() symbols were exposed in
libnm 1.32 and then backported to 1.30.8.

Export it also with version @libnm_1_30_8; this allows a program build
against libnm 1.30.8 to keep working with later versions of the library.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
(cherry picked from commit ec8df200f6)
This commit is contained in:
Fernando Fernandez Mancera 2021-10-05 10:38:35 +02:00
parent f32a59793a
commit af00e39dd2
2 changed files with 10 additions and 0 deletions

View file

@ -1786,6 +1786,8 @@ global:
} libnm_1_28_0; } libnm_1_28_0;
libnm_1_30_8 { libnm_1_30_8 {
#nm_ip_address_dup@libnm_1_30_8;
#nm_ip_route_dup@libnm_1_30_8;
#nm_setting_ip_config_get_required_timeout@libnm_1_30_8; #nm_setting_ip_config_get_required_timeout@libnm_1_30_8;
} libnm_1_30_0; } libnm_1_30_0;

View file

@ -8838,3 +8838,11 @@ NM_BACKPORT_SYMBOL(libnm_1_30_8,
nm_setting_ip_config_get_required_timeout, nm_setting_ip_config_get_required_timeout,
(NMSettingIPConfig * setting), (NMSettingIPConfig * setting),
(setting)); (setting));
NM_BACKPORT_SYMBOL(libnm_1_30_8,
NMIPAddress *,
nm_ip_address_dup,
(NMIPAddress * address),
(address));
NM_BACKPORT_SYMBOL(libnm_1_30_8, NMIPRoute *, nm_ip_route_dup, (NMIPRoute * route), (route));