MSG_DEBUG("REQID %d, listenerFD %d, handleAddr %x, msgId %d", pStatus->reqId, prxInfo->listenerFd, prxInfo->handleAddr, prxInfo->sentMsgId);
// if APP send and quit(not exist at this time), don't send the data up.
- if (prxInfo->handleAddr == 0)
- {
- // just making data which will be passed to plugin. it indicates "handling evt success"
- MsgTransactionManager::instance()->delProxyInfo(pStatus->reqId);
-
- return MsgMakeEvent(NULL, 0, MSG_EVENT_PLG_SENT_STATUS_CNF, MSG_SUCCESS, (void**)ppEvent);
- }
+// if (prxInfo->handleAddr == 0)
+// {
+// // just making data which will be passed to plugin. it indicates "handling evt success"
+// MsgTransactionManager::instance()->delProxyInfo(pStatus->reqId);
+//
+// return MsgMakeEvent(NULL, 0, MSG_EVENT_PLG_SENT_STATUS_CNF, MSG_SUCCESS, (void**)ppEvent);
+// }
unsigned int ret[3] = {0}; //3// reqid, status, object
ret[0] = pStatus->reqId;
ret[1] = pStatus->status;
- ret[2] = (unsigned int)prxInfo->handleAddr;
// Make Event Data for APP
int eventSize = MsgMakeEvent(ret, sizeof(ret), MSG_EVENT_PLG_SENT_STATUS_CNF, MSG_SUCCESS, (void**)ppEvent);
for (; it != sentStatusCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSentStatusCB == pfSentStatus) {
+ if (it->hAddr == pMsgHandle && it->pfSentStatusCB == pfSentStatus) {
MSG_DEBUG("msg_sent_status_cb() callback : [%p] is already registered!!!", pfSentStatus);
return false;
}
for (; it != newMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->port == port && it->pfIncomingCB == pfNewMessage) {
+ if (it->hAddr == pMsgHandle && it->port == port && it->pfIncomingCB == pfNewMessage) {
MSG_DEBUG("msg_sms_incoming_cb() callback : Port Number [%d] is already registered!!!", port);
return false;
}
for (; it != newMMSConfMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfMMSConfIncomingCB == pfNewMMSConfMessage) {
+ if (it->hAddr == pMsgHandle && it->pfMMSConfIncomingCB == pfNewMMSConfMessage) {
if(pAppId == NULL) {
MSG_DEBUG("msg_mms_conf_msg_incoming_cb() callback is already registered!!!");
for (; it != newPushMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfPushIncomingCB == pfNewPushMessage) {
+ if (it->hAddr == pMsgHandle && it->pfPushIncomingCB == pfNewPushMessage) {
if(pAppId == NULL) {
MSG_DEBUG("msg_push_msg_incoming_cb() callback is already registered!!!");
for (; it != newCBMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfCBIncomingCB == pfNewCBMessage) {
+ if (it->hAddr == pMsgHandle && it->pfCBIncomingCB == pfNewCBMessage) {
MSG_DEBUG("msg_CB_incoming_cb() callback : [%p] is already registered!!!", pfNewCBMessage);
it->bsave = bSave;
it->userParam = pUserParam;
for (; it != reportMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfReportMsgIncomingCB == pfReportMessage) {
+ if (it->hAddr == pMsgHandle && it->pfReportMsgIncomingCB == pfReportMessage) {
MSG_DEBUG("msg_report_msg_incoming_cb() callback : [%p] is already registered!!!", pfReportMessage);
it->userParam = pUserParam;
return false;
for (; it != newSyncMLMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSyncMLIncomingCB == pfNewSyncMLMessage) {
+ if (it->hAddr == pMsgHandle && it->pfSyncMLIncomingCB == pfNewSyncMLMessage) {
MSG_DEBUG("msg_syncml_msg_incoming_cb() callback : [%p] is already registered!!!", pfNewSyncMLMessage);
return false;
}
for (; it != newLBSMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfLBSMsgIncoming == pfNewLBSMsgIncoming) {
+ if (it->hAddr == pMsgHandle && it->pfLBSMsgIncoming == pfNewLBSMsgIncoming) {
MSG_DEBUG("msg_lbs_msg_incoming_cb() callback : [%p] is already registered!!!", pfNewLBSMsgIncoming);
return false;
}
for (; it != operationSyncMLMessageCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfSyncMLOperationCB == pfSyncMLMessageOperation) {
+ if (it->hAddr == pMsgHandle && it->pfSyncMLOperationCB == pfSyncMLMessageOperation) {
MSG_DEBUG("msg_syncml_msg_incoming_cb() callback : [%p] is already registered!!!", pfSyncMLMessageOperation);
return false;
}
for (; it != storageChangeCBList.end(); it++)
{
- if ((MsgHandle*)it->hAddr == pMsgHandle && it->pfStorageChangeCB == pfStorageChangeOperation) {
+ if (it->hAddr == pMsgHandle && it->pfStorageChangeCB == pfStorageChangeOperation) {
MSG_DEBUG("msg_storage_change_cb() callback : [%p] is already registered!!!", pfStorageChangeOperation);
return false;
}
for (; it != sentStatusCBList.end(); )
{
- if ((MsgHandle*)it->hAddr == pMsgHandle)
+ if (it->hAddr == pMsgHandle)
{
sentStatusCBList.erase(it++);
for( ; it != sentStatusCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_sent_status_cb pfunc = it->pfSentStatusCB;
for( ; it != matchList.end(); it++ )
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
MSG_MESSAGE_HIDDEN_S msgHidden = {0,};
for( ; it != matchList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
MSG_MESSAGE_HIDDEN_S msgHidden = {0,};
for( ; it != newSyncMLMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_syncml_msg_incoming_cb pfunc = it->pfSyncMLIncomingCB;
for( ; it != newLBSMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_lbs_msg_incoming_cb pfunc = it->pfLBSMsgIncoming;
for( ; it != operationSyncMLMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_syncml_msg_operation_cb pfunc = it->pfSyncMLOperationCB;
for( ; it != storageChangeCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_storage_change_cb pfunc = it->pfStorageChangeCB;
for( ; it != newCBMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_struct_s msg = {0,};
msg.type = MSG_STRUCT_CB_MSG;
for( ; it != newPushMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_push_msg_incoming_cb pfunc = it->pfPushIncomingCB;
for( ; it != reportMessageCBList.end() ; it++)
{
- MsgHandle* pHandle = (MsgHandle*)it->hAddr;
+ MsgHandle* pHandle = it->hAddr;
msg_report_msg_incoming_cb pfunc = it->pfReportMsgIncomingCB;