1 /******************************************************************
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
20 #ifndef __CA_REMOTE_HANDLER_H_
21 #define __CA_REMOTE_HANDLER_H_
34 CARemoteEndpoint_t* CACloneRemoteEndpoint(const CARemoteEndpoint_t* rep);
36 CARemoteEndpoint_t* CACreateRemoteEndpointUriInternal(const CAURI_t uri);
38 CARemoteEndpoint_t* CACreateRemoteEndpointInternal(const CAURI_t resourceUri,
39 const CAAddress_t addr, const CAConnectivityType_t type);
41 void CADestroyRemoteEndpointInternal(CARemoteEndpoint_t* rep);
43 CARequestInfo_t* CACloneRequestInfo(const CARequestInfo_t* rep);
45 void CADestroyRequestInfoInternal(CARequestInfo_t* rep);
47 CAResponseInfo_t* CACloneResponseInfo(const CAResponseInfo_t* rep);
49 void CADestroyResponseInfoInternal(CAResponseInfo_t* rep);
55 #endif //#ifndef __CA_REMOTE_HANDLER_H_