3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

client: add proxy_interface comparison func.

This commit is contained in:
Tim Kourt 2018-05-31 15:01:31 -07:00 committed by Denis Kenzior
parent 53124e8fff
commit e71687e901
2 changed files with 9 additions and 0 deletions

View File

@ -269,6 +269,12 @@ static struct l_queue *proxy_interface_find_by_path(const char *path)
return match;
}
bool proxy_interface_is_same(const struct proxy_interface *a,
const struct proxy_interface *b)
{
return !strcmp(a->path, b->path);
}
static void properties_changed_callback(struct l_dbus_message *message,
void *data)
{

View File

@ -64,6 +64,9 @@ struct l_queue *proxy_interface_find_all(const char *interface,
proxy_property_match_func_t function,
const void *value);
bool proxy_interface_is_same(const struct proxy_interface *a,
const struct proxy_interface *b);
bool dbus_message_has_error(struct l_dbus_message *message);
bool proxy_interface_method_call(const struct proxy_interface *proxy,