forked from arkq/bluez-alsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathofono-iface.c
59 lines (49 loc) · 1.09 KB
/
ofono-iface.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* BlueALSA - ofono-iface.c
* Copyright (c) 2018 Thierry Bultel (thierry.bultel@iot.bzh)
*
* This file is a part of bluez-alsa.
*
* This project is licensed under the terms of the MIT license.
*
*/
#include "ofono-iface.h"
static const GDBusArgInfo arg_card = {
-1, "card", "o", NULL
};
static const GDBusArgInfo arg_fd = {
-1, "fd", "h", NULL
};
static const GDBusArgInfo arg_codec = {
-1, "codec", "y", NULL
};
static const GDBusArgInfo *in_NewConnection[] = {
&arg_card,
&arg_fd,
&arg_codec,
NULL,
};
static const GDBusMethodInfo ofono_iface_hf_audio_agent_NewConnection = {
-1, "NewConnection",
(GDBusArgInfo **)in_NewConnection,
NULL,
NULL,
};
static const GDBusMethodInfo ofono_iface_hf_audio_agent_Release = {
-1, "Release",
NULL,
NULL,
NULL,
};
static const GDBusMethodInfo *ofono_iface_hf_audio_agent_methods[] = {
&ofono_iface_hf_audio_agent_NewConnection,
&ofono_iface_hf_audio_agent_Release,
NULL,
};
const GDBusInterfaceInfo ofono_iface_hf_audio_agent = {
-1, OFONO_IFACE_HF_AUDIO_AGENT,
(GDBusMethodInfo **)ofono_iface_hf_audio_agent_methods,
NULL,
NULL,
NULL,
};