X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fconnectivity%2Finc%2Fcamessagehandler.h;h=9e587352ebd7c61719a0610c058021e6f0e4e655;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=e5ee5cb17a98ed4b437441426a0c40173dd35fd1;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/connectivity/inc/camessagehandler.h b/resource/csdk/connectivity/inc/camessagehandler.h index e5ee5cb..9e58735 100644 --- a/resource/csdk/connectivity/inc/camessagehandler.h +++ b/resource/csdk/connectivity/inc/camessagehandler.h @@ -63,7 +63,7 @@ extern "C" * @param request [IN] request that needs to be sent * @return CA_STATUS_OK or ERROR CODES (CAResult_t error codes in cacommon.h) */ -CAResult_t CADetachRequestMessage(const CARemoteEndpoint_t *endpoint, +CAResult_t CADetachRequestMessage(const CAEndpoint_t *endpoint, const CARequestInfo_t *request); /** @@ -72,7 +72,7 @@ CAResult_t CADetachRequestMessage(const CARemoteEndpoint_t *endpoint, * @param request [IN] request that needs to be sent * @return CA_STATUS_OK or ERROR CODES (CAResult_t error codes in cacommon.h) */ -CAResult_t CADetachRequestToAllMessage(const CAGroupEndpoint_t *object, +CAResult_t CADetachRequestToAllMessage(const CAEndpoint_t *object, const CARequestInfo_t *request); /** @@ -81,7 +81,7 @@ CAResult_t CADetachRequestToAllMessage(const CAGroupEndpoint_t *object, * @param response [IN] response that needs to be sent * @return CA_STATUS_OK or ERROR CODES (CAResult_t error codes in cacommon.h) */ -CAResult_t CADetachResponseMessage(const CARemoteEndpoint_t *endpoint, +CAResult_t CADetachResponseMessage(const CAEndpoint_t *endpoint, const CAResponseInfo_t *response); /** @@ -101,9 +101,11 @@ CAResult_t CADetachMessageResourceUri(const CAURI_t resourceUri, const CAToken_t * @brief Setting the request and response callbacks for network packets * @param ReqHandler [IN] callback for receiving the requests * @param RespHandler [IN] callback for receiving the response + * @param ErrorHandler [IN] callback for receiving error response * @return NONE */ -void CASetRequestResponseCallbacks(CARequestCallback ReqHandler, CAResponseCallback RespHandler); +void CASetInterfaceCallbacks(CARequestCallback ReqHandler, CAResponseCallback RespHandler, + CAErrorCallback ErrorHandler); /** * @brief Initialize the message handler by starting thread pool and initializing the