return 0;
}
-static gchar *adapter_any_path = NULL;
-static int adapter_any_refcount = 0;
-
-const char *btd_adapter_any_request_path(void)
-{
- if (adapter_any_refcount++ > 0)
- return adapter_any_path;
-
- adapter_any_path = g_strdup_printf("%s/any", base_path);
-
- return adapter_any_path;
-}
-
-void btd_adapter_any_release_path(void)
-{
- adapter_any_refcount--;
-
- if (adapter_any_refcount > 0)
- return;
-
- g_free(adapter_any_path);
- adapter_any_path = NULL;
-}
-
int btd_adapter_restore_powered(struct btd_adapter *adapter)
{
if (adapter->up)
const char *uuid, service_auth_cb cb, void *user_data);
int btd_cancel_authorization(guint id);
-const char *btd_adapter_any_request_path(void);
-void btd_adapter_any_release_path(void);
-
int btd_adapter_restore_powered(struct btd_adapter *adapter);
typedef ssize_t (*btd_adapter_pin_cb_t) (struct btd_adapter *adapter,