iotcon_remote_resource_h resource = NULL;
RETV_IF(NULL == src, IOTCON_ERROR_INVALID_PARAMETER);
+ RETV_IF(NULL == dest, IOTCON_ERROR_INVALID_PARAMETER);
resource = calloc(1, sizeof(struct icl_remote_resource));
if (NULL == resource) {
iotcon_options_h *options)
{
RETV_IF(NULL == resp, IOTCON_ERROR_INVALID_PARAMETER);
+ RETV_IF(NULL == options, IOTCON_ERROR_INVALID_PARAMETER);
RETV_IF(NULL == resp->header_options, IOTCON_ERROR_NO_DATA);
*options = resp->header_options;
iotcon_representation_h *repr)
{
RETV_IF(NULL == resp, IOTCON_ERROR_INVALID_PARAMETER);
+ RETV_IF(NULL == repr, IOTCON_ERROR_INVALID_PARAMETER);
RETV_IF(NULL == resp->repr, IOTCON_ERROR_NO_DATA);
*repr = resp->repr;
iotcon_response_result_e *result)
{
RETV_IF(NULL == resp, IOTCON_ERROR_INVALID_PARAMETER);
+ RETV_IF(NULL == result, IOTCON_ERROR_INVALID_PARAMETER);
*result = resp->result;