l3cfg: add nm_l3cfg_get_combined_l3cd() function

This commit is contained in:
Thomas Haller 2020-09-08 18:25:41 +02:00
parent d16776b5fd
commit b23825f457
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 10 additions and 0 deletions

View file

@ -3018,6 +3018,14 @@ nm_l3cfg_commit_type_unregister (NML3Cfg *self,
/*****************************************************************************/
const NML3ConfigData *
nm_l3cfg_get_combined_l3cd (NML3Cfg *self)
{
nm_assert (NM_IS_L3CFG (self));
return self->priv.p->combined_l3cd;
}
const NMPObject *
nm_l3cfg_get_best_default_route (NML3Cfg *self,
int addr_family)

View file

@ -220,6 +220,8 @@ void nm_l3cfg_commit_type_unregister (NML3Cfg *self,
/*****************************************************************************/
const NML3ConfigData *nm_l3cfg_get_combined_l3cd (NML3Cfg *self);
const NMPObject *nm_l3cfg_get_best_default_route (NML3Cfg *self,
int addr_family);