From b4e96ec0673e4499d75a340203d63d5087960271 Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Wed, 1 Feb 2023 10:13:14 -0500 Subject: [PATCH] nm-client: expose the method nml_dbus_property_o_notify() --- src/libnm-client-impl/nm-client.c | 2 +- src/libnm-client-impl/nm-libnm-utils.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/libnm-client-impl/nm-client.c b/src/libnm-client-impl/nm-client.c index f19343f05..4f98ae562 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 a60706bdd..5b9883efd 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;