diff --git a/client/dbus-proxy.c b/client/dbus-proxy.c index 74e1264a..8695204e 100644 --- a/client/dbus-proxy.c +++ b/client/dbus-proxy.c @@ -677,6 +677,11 @@ const char *proxy_interface_get_interface(const struct proxy_interface *proxy) return proxy->type->interface; } +const char *proxy_interface_get_path(const struct proxy_interface *proxy) +{ + return proxy->path; +} + const char *proxy_interface_get_identity_str( const struct proxy_interface *proxy) { diff --git a/client/dbus-proxy.h b/client/dbus-proxy.h index dd2b9139..0b413b61 100644 --- a/client/dbus-proxy.h +++ b/client/dbus-proxy.h @@ -97,6 +97,7 @@ char *proxy_property_str_completion(const struct proxy_interface_type *type, void *proxy_interface_get_data(const struct proxy_interface *proxy); const char *proxy_interface_get_interface(const struct proxy_interface *proxy); +const char *proxy_interface_get_path(const struct proxy_interface *proxy); const char *proxy_interface_get_identity_str( const struct proxy_interface *proxy);