38eea6c29eb025dd2a26197b7454435a8e55afef
[platform/upstream/iotivity.git] / resource / csdk / connectivity / inc / canetworkconfigurator.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 _NETWORK_CONFIGURATOR_H_
21 #define _NETWORK_CONFIGURATOR_H_
22
23 #include "cacommon.h"
24 #include "uarraylist.h"
25
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 static uint32_t NETWORK_ETHERNET = CA_ETHERNET;
32 static uint32_t NETWORK_WIFI = CA_WIFI;
33 static uint32_t NETWORK_EDR = CA_EDR;
34 static uint32_t NETWORK_LE = CA_LE;
35
36 CAResult_t CAAddNetworkType(uint32_t CAConnectivityType);
37
38 CAResult_t CARemoveNetworkType(uint32_t CAConnectivityType);
39
40 u_arraylist_t* CAGetSelectedNetworkList();
41
42 CAResult_t CAGetNetworkInformationInternal(CALocalConnectivity_t **info, uint32_t* size);
43
44 #ifdef __cplusplus
45 } /* extern "C" */
46 #endif
47
48 #endif //#ifndef _NETWORK_CONFIGURATOR_H_