mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-28 22:54:14 +08:00
56 lines
1.9 KiB
C
56 lines
1.9 KiB
C
/*
|
|
*
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
*
|
|
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
|
|
* Authors:
|
|
* Santiago Carot Nemesio <sancane at gmail.com>
|
|
* Jose Antonio Santos-Cadenas <santoscadenas at gmail.com>
|
|
*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef __HDP_UTIL_H__
|
|
#define __HDP_UTIL_H__
|
|
|
|
typedef void (*hdp_continue_mdep_f)(uint8_t mdep, gpointer user_data,
|
|
GError *err);
|
|
typedef void (*hdp_continue_dcpsm_f)(uint16_t dcpsm, gpointer user_data,
|
|
GError *err);
|
|
typedef void (*hdp_continue_proc_f)(gpointer user_data, GError *err);
|
|
|
|
struct hdp_application *hdp_get_app_config(DBusMessageIter *iter, GError **err);
|
|
gboolean hdp_update_sdp_record(struct hdp_adapter *adapter, GSList *app_list);
|
|
gboolean hdp_get_mdep(struct hdp_device *device, struct hdp_application *app,
|
|
hdp_continue_mdep_f func,
|
|
gpointer data, GDestroyNotify destroy,
|
|
GError **err);
|
|
|
|
gboolean hdp_establish_mcl(struct hdp_device *device,
|
|
struct hdp_application *app,
|
|
hdp_continue_proc_f func,
|
|
gpointer data,
|
|
GDestroyNotify destroy,
|
|
GError **err);
|
|
|
|
gboolean hdp_get_dcpsm(struct hdp_device *device, hdp_continue_dcpsm_f func,
|
|
gpointer data,
|
|
GDestroyNotify destroy,
|
|
GError **err);
|
|
|
|
#endif /* __HDP_UTIL_H__ */
|