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:
parent
53124e8fff
commit
e71687e901
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user