diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-04 07:22:17 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-04 07:22:17 +0000 |
commit | c30754e2f07d987fa60950bad385261f1144471e (patch) | |
tree | 6fe04542be1610ac4d4ebd221c3de193dc15abda /src/libgsmd | |
parent | ab2d936a07d536935c6d447caa582a24caf89e32 (diff) |
gsmd: Provide Current Call status (sean_chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3557 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/libgsmd')
-rw-r--r-- | src/libgsmd/libgsmd_voicecall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_voicecall.c b/src/libgsmd/libgsmd_voicecall.c index d78fb3d..214ae0c 100644 --- a/src/libgsmd/libgsmd_voicecall.c +++ b/src/libgsmd/libgsmd_voicecall.c @@ -95,3 +95,8 @@ int lgsm_voice_volume_set(struct lgsm_handle *lh, int volume) /* FIXME: we need to pass along the parameter */ return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_VOL_SET); } + +int lgsm_voice_get_status(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_GET_STAT); +} |