diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 12:43:25 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 12:48:29 -0500 |
commit | e711b0e62a9f0a0fce09da213d59ea16378590b0 (patch) | |
tree | 0a6adab1b4d16a910f8e8186778dcee8d6081927 /include/modem.h | |
parent | 7abeb8e4a0466fac1f93aedbde931818ea802a74 (diff) |
Break out device info into a separate driver
The modem info ops (Serial, Manufacturer, etc) are broken into a
separate oFono atom. This is mainly to support a proper modem device
driver infrastructure. As a result the data structures have been
tweaked a little.
driver.h is now empty and has been removed.
Diffstat (limited to 'include/modem.h')
-rw-r--r-- | include/modem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modem.h b/include/modem.h index 2c2db2eb..0c53d739 100644 --- a/include/modem.h +++ b/include/modem.h @@ -39,6 +39,9 @@ const char *ofono_modem_get_path(struct ofono_modem *modem); void ofono_modem_set_userdata(struct ofono_modem *modem, void *data); void *ofono_modem_get_userdata(struct ofono_modem *modem); +struct ofono_modem *ofono_modem_register(); +int ofono_modem_unregister(struct ofono_modem *modem); + #ifdef __cplusplus } #endif |