diff options
author | Wen Liang <liangwen12year@gmail.com> | 2023-02-01 10:13:14 -0500 |
---|---|---|
committer | Wen Liang <liangwen12year@gmail.com> | 2023-02-21 13:46:24 -0500 |
commit | 723b76c8b8db8e7c61b47d7261105ebbdd0816e7 (patch) | |
tree | 0d15062696034373294e6790c3bdc3922a385039 | |
parent | 4f959945a3b49918e79de9533e66ff0b6cef82ed (diff) | |
download | NetworkManager-723b76c8b8db8e7c61b47d7261105ebbdd0816e7.tar.gz |
nm-client: expose the method nml_dbus_property_o_notify()
(cherry picked from commit b4e96ec0673e4499d75a340203d63d5087960271)
-rw-r--r-- | src/libnm-client-impl/nm-client.c | 2 | ||||
-rw-r--r-- | src/libnm-client-impl/nm-libnm-utils.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/libnm-client-impl/nm-client.c b/src/libnm-client-impl/nm-client.c index 44a9699423..3ad4b9d6c1 100644 --- a/src/libnm-client-impl/nm-client.c +++ b/src/libnm-client-impl/nm-client.c @@ -1789,7 +1789,7 @@ nml_dbus_property_o_notify_watch_cb(NMClient *self, gpointer obj_watcher) } } -static NMLDBusNotifyUpdatePropFlags +NMLDBusNotifyUpdatePropFlags nml_dbus_property_o_notify(NMClient *self, NMLDBusPropertyO *pr_o, NMLDBusObject *dbobj, diff --git a/src/libnm-client-impl/nm-libnm-utils.h b/src/libnm-client-impl/nm-libnm-utils.h index a60706bdd7..5b9883efd0 100644 --- a/src/libnm-client-impl/nm-libnm-utils.h +++ b/src/libnm-client-impl/nm-libnm-utils.h @@ -340,6 +340,13 @@ NMLDBusNotifyUpdatePropFlags nml_dbus_property_ao_notify(NMClient guint dbus_property_idx, GVariant *value); +NMLDBusNotifyUpdatePropFlags nml_dbus_property_o_notify(NMClient *self, + NMLDBusPropertyO *pr_o, + NMLDBusObject *dbobj, + const NMLDBusMetaIface *meta_iface, + guint dbus_property_idx, + GVariant *value); + typedef struct { const char *dbus_property_name; const GVariantType *dbus_type; |