Lines Matching defs:path

24  * wpas_dbus_decompose_object_path - Decompose an interface object path into parts
25 * @path: The dbus object path
26 * @network: (out) the configured network this object path refers to, if any
27 * @bssid: (out) the scanned bssid this object path refers to, if any
28 * Returns: The object path of the network interface this path refers to
30 * For a given object path, decomposes the object path into object id, network,
33 char * wpas_dbus_decompose_object_path(const char *path, char **network,
41 /* Be a bit paranoid about path */
42 if (!path || strncmp(path, WPAS_DBUS_PATH_INTERFACES "/",
46 /* Ensure there's something at the end of the path */
47 if ((path + dev_path_prefix_len)[0] == '\0')
50 obj_path_only = os_strdup(path);
78 /* Cut off interface object path before "/" */
208 const char *path = dbus_message_get_path(message);
220 msg_interface, method, path,
223 iface_obj_path = wpas_dbus_decompose_object_path(path, &network,
230 /* Make sure the message's object path actually refers to the
318 * handlers, depending on what the message's target object path is,
326 const char *path;
331 path = dbus_message_get_path(message);
333 if (!method || !path || !ctrl_iface || !msg_interface)
337 msg_interface, method, path,
344 if (!strcmp(path, WPAS_DBUS_PATH)) {
660 * Registers a new interface with dbus and assigns it a dbus object path.
678 /* Create and set the interface's object path */
732 * @path: Pointer to a dbus object path representing an interface
736 struct wpa_global *global, const char *path)
741 if (wpa_s->dbus_path && strcmp(wpa_s->dbus_path, path) == 0)