Lines Matching refs:interface

2  * WPA Supplicant / dbus-based control interface
25 const char *interface, void *user_data, DBusError *error)
31 /* Only return properties for the requested D-Bus interface */
32 if (os_strncmp(dsc->dbus_interface, interface,
72 * @interface: interface name which properties will be returned
77 * of those, which are readable and which interface matches interface
81 static DBusMessage * get_all_properties(DBusMessage *message, char *interface,
100 interface, obj_dsc->user_data, &error)) {
104 "No readable properties in this interface");
146 static DBusMessage * properties_get_all(DBusMessage *message, char *interface,
153 return get_all_properties(message, interface, obj_dsc);
210 /* Skip the interface name and the property name */
232 char *interface,
255 !os_strncmp(property_dsc->dbus_interface, interface,
263 interface, property,
285 char *interface;
297 /* First argument: interface name (DBUS_TYPE_STRING) */
304 dbus_message_iter_get_basic(&iter, &interface);
309 return properties_get_all(message, interface, obj_dsc);
312 return properties_get_or_set(message, &iter, interface,
365 * Reads message interface and method name, then checks if they matches one
368 * and tries to match method's name and interface to those read from message
382 /* get method, interface and path the message is addressed to */
458 * wpa_dbus_ctrl_iface_init - Initialize dbus control interface
460 * @dbus_path: DBus path to interface object
463 * coming on interface
466 * Initialize the dbus control interface and start receiving commands from
483 /* Register the message handler for the global dbus interface */
523 * @ifname: interface name
527 * Registers a new interface with dbus and assigns it a dbus object path.
540 /* Do nothing if the control interface is not turned on */
549 /* Register the message handler for the interface functions */
556 "dbus: Could not set up message handler for interface %s object %s (error: %s message: %s)",
603 const struct wpa_dbus_object_desc *obj_dsc, const char *interface,
616 if (os_strcmp(dsc->dbus_interface, interface) != 0)
654 DBusConnection *con, const char *path, const char *interface,
668 &interface) ||
672 !put_changed_properties(obj_dsc, interface, &dict_iter, 0) ||
689 DBusConnection *con, const char *path, const char *interface,
695 msg = dbus_message_new_signal(path, interface, "PropertiesChanged");
703 !put_changed_properties(obj_dsc, interface, &dict_iter, 1) ||
716 DBusConnection *con, const char *path, const char *interface,
721 * org.freedesktop.DBus.Properties interface. This call will not
725 do_send_prop_changed_signal(con, path, interface, obj_dsc);
728 * Now send PropertiesChanged on our own interface for backwards
732 do_send_deprecated_prop_changed_signal(con, path, interface, obj_dsc);
791 * Iterates over all properties registered with object and for each interface
833 * @interface: interface containing changed property
838 * within a single interface will be aggregated together and sent in one
843 const char *path, const char *interface,
864 os_strcmp(interface, dsc->dbus_interface) == 0) {
890 * @interface: interface name which properties will be obtained
894 * of those, which are readable and which interface matches interface
900 const char *interface,
924 interface, obj_desc->user_data,
939 * wpas_dbus_new_decompose_object_path - Decompose an interface object path into parts
943 * Returns: The object path of the interface this path refers to
965 /* Verify that this starts with our interface prefix */
983 /* Separate network interface prefix from the path */