summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-12-06 18:12:33 -0200
committerDenis Kenzior <denkenz@gmail.com>2010-12-16 18:40:17 -0600
commita793c18c2948da13a5b93805595d89500dbff018 (patch)
tree9de45ddd7d18f6997eb65f6a6effcaa03e8136ae /include/types.h
parent2e2d69a78d7075d22b97c4666bd1d362fd3d667a (diff)
downloadofono-a793c18c2948da13a5b93805595d89500dbff018.tar.bz2
include: add CNAP types to ofono_call structure
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index ba2481f7..de15437d 100644
--- a/include/types.h
+++ b/include/types.h
@@ -77,6 +77,7 @@ struct ofono_error {
};
#define OFONO_MAX_PHONE_NUMBER_LENGTH 20
+#define OFONO_MAX_CALLER_NAME_LENGTH 80
struct ofono_phone_number {
char number[OFONO_MAX_PHONE_NUMBER_LENGTH + 1];
@@ -90,7 +91,9 @@ struct ofono_call {
int status;
ofono_bool_t mpty;
struct ofono_phone_number phone_number;
+ char name[OFONO_MAX_CALLER_NAME_LENGTH + 1];
int clip_validity;
+ int cnap_validity;
};
struct ofono_network_time {