Lines Matching full:interface

2  * WPA Supplicant / dbus-based control interface
26 const char *interface, void *user_data, DBusError *error)
32 /* Only return properties for the requested D-Bus interface */
33 if (os_strncmp(dsc->dbus_interface, interface,
73 * @interface: interface name which properties will be returned
78 * of those, which are readable and which interface matches interface
82 static DBusMessage * get_all_properties(DBusMessage *message, char *interface,
101 interface, obj_dsc->user_data, &error)) {
106 "No readable properties in this interface");
148 static DBusMessage * properties_get_all(DBusMessage *message, char *interface,
155 return get_all_properties(message, interface, obj_dsc);
212 /* Skip the interface name and the property name */
234 char *interface,
257 !os_strncmp(property_dsc->dbus_interface, interface,
265 interface, property,
287 char *interface;
299 /* First argument: interface name (DBUS_TYPE_STRING) */
306 dbus_message_iter_get_basic(&iter, &interface);
311 return properties_get_all(message, interface, obj_dsc);
314 return properties_get_or_set(message, &iter, interface,
367 * Reads message interface and method name, then checks if they matches one
370 * and tries to match method's name and interface to those read from message
384 /* get method, interface and path the message is addressed to */
460 * wpa_dbus_ctrl_iface_init - Initialize dbus control interface
462 * @dbus_path: DBus path to interface object
465 * coming on interface
468 * Initialize the dbus control interface and start receiving commands from
485 /* Register the message handler for the global dbus interface */
525 * @ifname: interface name
529 * Registers a new interface with dbus and assigns it a dbus object path.
542 /* Do nothing if the control interface is not turned on */
551 /* Register the message handler for the interface functions */
558 "dbus: Could not set up message handler for interface %s object %s (error: %s message: %s)",
605 const struct wpa_dbus_object_desc *obj_dsc, const char *interface,
618 if (os_strcmp(dsc->dbus_interface, interface) != 0)
657 DBusConnection *con, const char *path, const char *interface,
671 &interface) ||
676 if (!put_changed_properties(obj_dsc, interface, &dict_iter, 0)) {
699 DBusConnection *con, const char *path, const char *interface,
705 msg = dbus_message_new_signal(path, interface, "PropertiesChanged");
714 if (!put_changed_properties(obj_dsc, interface, &dict_iter, 1)) {
733 DBusConnection *con, const char *path, const char *interface,
738 * org.freedesktop.DBus.Properties interface. This call will not
742 do_send_prop_changed_signal(con, path, interface, obj_dsc);
745 * Now send PropertiesChanged on our own interface for backwards
749 do_send_deprecated_prop_changed_signal(con, path, interface, obj_dsc);
808 * Iterates over all properties registered with object and for each interface
850 * @interface: interface containing changed property
855 * within a single interface will be aggregated together and sent in one
860 const char *path, const char *interface,
881 os_strcmp(interface, dsc->dbus_interface) == 0) {
907 * @interface: interface name which properties will be obtained
911 * of those, which are readable and which interface matches interface
917 const char *interface,
941 interface, obj_desc->user_data,
957 * wpas_dbus_new_decompose_object_path - Decompose an interface object path into parts
961 * Returns: The object path of the interface this path refers to
983 /* Verify that this starts with our interface prefix */
1001 /* Separate network interface prefix from the path */