2013-08-13 01:54:00 -03:00
|
|
|
#ifndef foobluez5utilhfoo
|
|
|
|
|
#define foobluez5utilhfoo
|
|
|
|
|
|
|
|
|
|
/***
|
|
|
|
|
This file is part of PulseAudio.
|
|
|
|
|
|
|
|
|
|
Copyright 2008-2013 João Paulo Rechi Vita
|
|
|
|
|
|
|
|
|
|
PulseAudio is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
PulseAudio 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 Lesser General Public
|
|
|
|
|
License along with PulseAudio; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
|
USA.
|
|
|
|
|
***/
|
|
|
|
|
|
|
|
|
|
#include <pulsecore/core.h>
|
|
|
|
|
|
2013-09-18 16:16:57 -05:00
|
|
|
typedef struct pa_bluetooth_adapter pa_bluetooth_adapter;
|
2013-08-13 01:54:00 -03:00
|
|
|
typedef struct pa_bluetooth_discovery pa_bluetooth_discovery;
|
|
|
|
|
|
2013-09-18 16:16:56 -05:00
|
|
|
typedef enum pa_bluetooth_hook {
|
|
|
|
|
PA_BLUETOOTH_HOOK_MAX
|
|
|
|
|
} pa_bluetooth_hook_t;
|
|
|
|
|
|
2013-09-18 16:16:57 -05:00
|
|
|
struct pa_bluetooth_adapter {
|
|
|
|
|
pa_bluetooth_discovery *discovery;
|
|
|
|
|
char *path;
|
|
|
|
|
char *address;
|
|
|
|
|
};
|
|
|
|
|
|
2013-09-18 16:16:56 -05:00
|
|
|
pa_hook* pa_bluetooth_discovery_hook(pa_bluetooth_discovery *y, pa_bluetooth_hook_t hook);
|
|
|
|
|
|
2013-08-13 01:54:00 -03:00
|
|
|
pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *core);
|
|
|
|
|
pa_bluetooth_discovery* pa_bluetooth_discovery_ref(pa_bluetooth_discovery *y);
|
|
|
|
|
void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y);
|
|
|
|
|
#endif
|