summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-02 16:58:34 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-02 17:39:23 -0500
commit8e62522575265fc4664c8ae683664371a155132a (patch)
tree923b3bf1a23322ab0ada5a4dd8ce32fb1d281eca /include
parent55e1c65ec1b729f4e937a3bd82741ca9a361e1d9 (diff)
Add modem property capability
Add ofono_modem_set_string & ofono_modem_get_string Add ofono_modem_set_integer & ofono_modem_get_integer
Diffstat (limited to 'include')
-rw-r--r--include/modem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/modem.h b/include/modem.h
index c8de670a..5f71fe74 100644
--- a/include/modem.h
+++ b/include/modem.h
@@ -48,6 +48,14 @@ void ofono_modem_remove(struct ofono_modem *modem);
void ofono_modem_set_powered(struct ofono_modem *modem, ofono_bool_t powered);
ofono_bool_t ofono_modem_get_powered(struct ofono_modem *modem);
+int ofono_modem_set_string(struct ofono_modem *modem,
+ const char *key, const char *value);
+const char *ofono_modem_get_string(struct ofono_modem *modem, const char *key);
+
+int ofono_modem_set_integer(struct ofono_modem *modem,
+ const char *key, int value);
+int ofono_modem_get_integer(struct ofono_modem *modem, const char *key);
+
struct ofono_modem_driver {
const char *name;