Modifying version number for building on tizen 3.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / inc / caremotehandler.h
1 /******************************************************************
2  *
3  * Copyright 2014 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  ******************************************************************/
20 #ifndef __CA_REMOTE_HANDLER_H_
21 #define __CA_REMOTE_HANDLER_H_
22
23 #include <stdio.h>
24 #include <stdlib.h>
25 #include <string.h>
26
27 #include "cacommon.h"
28
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif
33
34 CARemoteEndpoint_t* CACloneRemoteEndpoint(const CARemoteEndpoint_t* rep);
35
36 CARemoteEndpoint_t* CACreateRemoteEndpointUriInternal(const CAURI_t uri);
37
38 CARemoteEndpoint_t* CACreateRemoteEndpointInternal(const CAURI_t resourceUri,
39         const CAAddress_t addr, const CAConnectivityType_t type);
40
41 void CADestroyRemoteEndpointInternal(CARemoteEndpoint_t* rep);
42
43 CARequestInfo_t* CACloneRequestInfo(const CARequestInfo_t* rep);
44
45 void CADestroyRequestInfoInternal(CARequestInfo_t* rep);
46
47 CAResponseInfo_t* CACloneResponseInfo(const CAResponseInfo_t* rep);
48
49 void CADestroyResponseInfoInternal(CAResponseInfo_t* rep);
50
51 #ifdef __cplusplus
52 } /* extern "C" */
53 #endif
54
55 #endif //#ifndef __CA_REMOTE_HANDLER_H_