include: Add cdma-voicecall answer driver API
authorCaiwen Zhang <caiwen.zhang@windriver.com>
Fri, 12 Aug 2011 09:19:09 +0000 (17:19 +0800)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 15 Aug 2011 05:49:40 +0000 (00:49 -0500)
include/cdma-voicecall.h

index 9e741da..6f77462 100644 (file)
@@ -55,6 +55,9 @@ struct ofono_cdma_voicecall_driver {
        /* Hangs up active, dialing, alerting or incoming calls */
        void (*hangup)(struct ofono_cdma_voicecall *vc,
                        ofono_cdma_voicecall_cb_t cb, void *data);
+
+       void (*answer)(struct ofono_cdma_voicecall *vc,
+                       ofono_cdma_voicecall_cb_t cb, void *data);
 };
 
 void ofono_cdma_voicecall_disconnected(struct ofono_cdma_voicecall *vc,