summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-01 17:58:14 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-03-01 18:00:57 -0600
commit2ea8877b48e5255430499f6115bf82c97b11dc2d (patch)
tree0c5667610909bfc9d64c3b35bf0a448908e13c81 /src/stkutil.h
parent700a0ece696c24e912984353f00302d64fba58d0 (diff)
downloadofono-2ea8877b48e5255430499f6115bf82c97b11dc2d.tar.bz2
Add support for Get Input proactive command
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index f950ea5b..a319141d 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -238,6 +238,15 @@ struct stk_command_display_text {
unsigned char frame_id; /* Values 0x10 to 0xFF reserved */
};
+struct stk_command_get_input {
+ char *text;
+ struct stk_response_length response_length;
+ char *default_text;
+ struct stk_icon_identifier icon_id;
+ struct stk_text_attribute text_attribute;
+ unsigned char frame_id; /* Values 0x10 to 0xFF reserved */
+};
+
struct stk_command {
unsigned char number;
unsigned char type;
@@ -248,6 +257,7 @@ struct stk_command {
union {
struct stk_command_display_text display_text;
struct stk_command_display_text get_inkey;
+ struct stk_command_get_input get_input;
};
void (*destructor)(struct stk_command *command);