Based on patch from Yang Gu <gya...@gmail.com>
---
 src/message.c |    2 ++
 src/message.h |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/message.c b/src/message.c
index eb85adf..668a693 100644
--- a/src/message.c
+++ b/src/message.c
@@ -46,6 +46,8 @@ static const char *message_state_to_string(enum message_state 
s)
                return "sent";
        case MESSAGE_STATE_FAILED:
                return "failed";
+       case MESSAGE_STATE_CANCELLED:
+               return "cancelled";
        }
 
        return NULL;
diff --git a/src/message.h b/src/message.h
index 14e66c3..ad30798 100644
--- a/src/message.h
+++ b/src/message.h
@@ -24,7 +24,8 @@
 enum message_state {
        MESSAGE_STATE_PENDING,
        MESSAGE_STATE_SENT,
-       MESSAGE_STATE_FAILED
+       MESSAGE_STATE_FAILED,
+       MESSAGE_STATE_CANCELLED,
 };
 
 struct ofono_atom;
-- 
1.7.4

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to