summaryrefslogtreecommitdiffstats
path: root/include/ussd.h
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2010-02-09 22:00:46 +0200
committerAki Niemi <aki.niemi@nokia.com>2010-02-09 22:31:32 +0200
commit8730339f40285b05faa6979b267fd5a74be43fcc (patch)
tree2443956e2afb58a574dc7a4cc4ad4192bbb40cf9 /include/ussd.h
parent6d28f82dc1ccb3de3a028a88eafb96fb001c7e61 (diff)
downloadofono-8730339f40285b05faa6979b267fd5a74be43fcc.tar.bz2
Move USSD status enum to header
Diffstat (limited to 'include/ussd.h')
-rw-r--r--include/ussd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ussd.h b/include/ussd.h
index a0f3a1e7..96e04cb0 100644
--- a/include/ussd.h
+++ b/include/ussd.h
@@ -28,6 +28,15 @@ extern "C" {
#include <ofono/types.h>
+enum ofono_ussd_status {
+ OFONO_USSD_STATUS_NOTIFY = 0,
+ OFONO_USSD_STATUS_ACTION_REQUIRED = 1,
+ OFONO_USSD_STATUS_TERMINATED = 2,
+ OFONO_USSD_STATUS_LOCAL_CLIENT_RESPONDED = 3,
+ OFONO_USSD_STATUS_NOT_SUPPORTED = 4,
+ OFONO_USSD_STATUS_TIMED_OUT = 5,
+};
+
struct ofono_ussd;
typedef void (*ofono_ussd_cb_t)(const struct ofono_error *error, void *data);