michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "cpr_stdio.h" michael@0: #include "ccapi_call.h" michael@0: #include "sessionHash.h" michael@0: #include "CCProvider.h" michael@0: #include "phone_debug.h" michael@0: michael@0: michael@0: /** michael@0: * get the placed missed rcvd disposition for the call michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_log_disposition_t - log disposition michael@0: */ michael@0: cc_log_disposition_t CCAPI_CallLog_getCallDisposition(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get call start Time as seconds since epoch michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_uint32_t - start time as number of seconds since epoch michael@0: */ michael@0: cc_uint32_t CCAPI_CallLog_getStartTime(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get call duration in seconds michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_uint32_t - call duration in seconds michael@0: */ michael@0: cc_uint32_t CCAPI_CallLog_getCallDuration(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get first leg remote party name michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - remote party name for first leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getFirstLegRemotePartyName(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get last leg remote party name michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - remote party name for last leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getLastLegRemotePartyName(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get first leg remote party number michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - remote party number for first leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getFirstLegRemotePartyNumber(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get last leg remote party number michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - remote party number for last leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getLastLegRemotePartyNumber(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get first leg local party name michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - local party name for first leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getLocalPartyName(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get first leg local party number michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - local party number for first leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getLocalPartyNumber(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get first leg alt party number michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - alt party number for first leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getFirstLegAltPartyNumber(cc_calllog_ref_t handle); michael@0: michael@0: /** michael@0: * get last leg alt party number michael@0: * @param [in] handle - reference to call log michael@0: * @return cc_string_t - alt party number for last leg michael@0: */ michael@0: cc_string_t CCAPI_CallLog_getLastLegAltPartyNumber(cc_calllog_ref_t handle);