• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/wpa_supplicant/dbus/

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)) {
105 "No readable properties in this interface");
147 static DBusMessage * properties_get_all(DBusMessage *message, char *interface,
154 return get_all_properties(message, interface, obj_dsc);
211 /* Skip the interface name and the property name */
233 char *interface,
256 !os_strncmp(property_dsc->dbus_interface, interface,
264 interface, property,
286 char *interface;
298 /* First argument: interface name (DBUS_TYPE_STRING) */
305 dbus_message_iter_get_basic(&iter, &interface);
310 return properties_get_all(message, interface, obj_dsc);
313 return properties_get_or_set(message, &iter, interface,
366 * Reads message interface and method name, then checks if they matches one
369 * and tries to match method's name and interface to those read from message
383 /* get method, interface and path the message is addressed to */
459 * wpa_dbus_ctrl_iface_init - Initialize dbus control interface
461 * @dbus_path: DBus path to interface object
464 * coming on interface
467 * Initialize the dbus control interface and start receiving commands from
484 /* Register the message handler for the global dbus interface */
524 * @ifname: interface name
528 * Registers a new interface with dbus and assigns it a dbus object path.
541 /* Do nothing if the control interface is not turned on */
550 /* Register the message handler for the interface functions */
557 "dbus: Could not set up message handler for interface %s object %s (error: %s message: %s)",
604 const struct wpa_dbus_object_desc *obj_dsc, const char *interface,
617 if (os_strcmp(dsc->dbus_interface, interface) != 0)
656 DBusConnection *con, const char *path, const char *interface,
670 &interface) ||
674 !put_changed_properties(obj_dsc, interface, &dict_iter, 0) ||
691 DBusConnection *con, const char *path, const char *interface,
697 msg = dbus_message_new_signal(path, interface, "PropertiesChanged");
705 !put_changed_properties(obj_dsc, interface, &dict_iter, 1) ||
718 DBusConnection *con, const char *path, const char *interface,
723 * org.freedesktop.DBus.Properties interface. This call will not
727 do_send_prop_changed_signal(con, path, interface, obj_dsc);
730 * Now send PropertiesChanged on our own interface for backwards
734 do_send_deprecated_prop_changed_signal(con, path, interface, obj_dsc);
793 * Iterates over all properties registered with object and for each interface
835 * @interface: interface containing changed property
840 * within a single interface will be aggregated together and sent in one
845 const char *path, const char *interface,
866 os_strcmp(interface, dsc->dbus_interface) == 0) {
892 * @interface: interface name which properties will be obtained
896 * of those, which are readable and which interface matches interface
902 const char *interface,
926 interface, obj_desc->user_data,
942 * wpas_dbus_new_decompose_object_path - Decompose an interface object path into parts
946 * Returns: The object path of the interface this path refers to
968 /* Verify that this starts with our interface prefix */
986 /* Separate network interface prefix from the path */