projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de7994
)
include: Add modem type to modem.h
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Tue, 22 Nov 2011 17:09:30 +0000
(18:09 +0100)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 23 Nov 2011 02:34:45 +0000
(20:34 -0600)
include/modem.h
patch
|
blob
|
history
diff --git
a/include/modem.h
b/include/modem.h
index
3fea2de
..
0ea1ec6
100644
(file)
--- a/
include/modem.h
+++ b/
include/modem.h
@@
-30,6
+30,12
@@
extern "C" {
struct ofono_modem;
+enum ofono_modem_type {
+ OFONO_MODEM_TYPE_HARDWARE = 0,
+ OFONO_MODEM_TYPE_HFP,
+ OFONO_MODEM_TYPE_SAP,
+};
+
void ofono_modem_add_interface(struct ofono_modem *modem,
const char *interface);
void ofono_modem_remove_interface(struct ofono_modem *modem,
@@
-75,6
+81,7
@@
typedef void (*ofono_modem_online_cb_t)(const struct ofono_error *error,
struct ofono_modem_driver {
const char *name;
+ enum ofono_modem_type modem_type;
/* Detect existence of device and initialize any device-specific data
* structures */