diff options
Diffstat (limited to 'include/modem.h')
-rw-r--r-- | include/modem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/modem.h b/include/modem.h index 8ca5f83b..260ee19a 100644 --- a/include/modem.h +++ b/include/modem.h @@ -26,6 +26,8 @@ extern "C" { #endif +#include <stdbool.h> + #include <ofono/types.h> struct ofono_modem; @@ -56,6 +58,10 @@ 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); +int ofono_modem_set_boolean(struct ofono_modem *modem, + const char *key, bool value); +bool ofono_modem_get_boolean(struct ofono_modem *modem, const char *key); + struct ofono_modem_driver { const char *name; |