summaryrefslogtreecommitdiff
path: root/profiles/audio/control.h
blob: b9207a7b76edaabdc3430364ee91f30ef6190904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *
 *  BlueZ - Bluetooth protocol stack for Linux
 *
 *  Copyright (C) 2006-2010  Nokia Corporation
 *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
 *
 *
 */

#define AUDIO_CONTROL_INTERFACE "org.bluez.MediaControl1"

struct btd_service;

int control_init_target(struct btd_service *service);
int control_init_remote(struct btd_service *service);
void control_unregister(struct btd_service *service);

int control_connect(struct btd_service *service);
int control_disconnect(struct btd_service *service);

int control_set_player(struct btd_service *service, const char *path);