bluez/android/audio-ipc.h
Luiz Augusto von Dentz 193cbd4dd3 android/ipc: Add audio_ipc_send_rsp and audio_ipc_send_rsp_full
These functions can be used to respond to commands recieved over audio
IPC.
2014-01-07 13:37:53 +02:00

32 lines
1.1 KiB
C

/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
void audio_ipc_init(void);
void audio_ipc_cleanup(void);
void audio_ipc_register(const struct ipc_handler *handlers, uint8_t size);
void audio_ipc_unregister(void);
void audio_ipc_send_rsp(uint8_t opcode, uint8_t status);
void audio_ipc_send_rsp_full(uint8_t opcode, uint16_t len, void *param, int fd);