2 * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 #ifndef __VPN_SETTING_H__
17 #define __VPN_SETTING_H__
21 #include "gtest-vpn-settings-common.h"
25 static void vpnCreatedCb(vpn_error_e result, void *data);
26 static void vpnRemovedCb(vpn_error_e result, void *data);
27 static void vpnConnectedCb(vpn_error_e result, void *data);
28 static void vpnDisconnectedCb(vpn_error_e result, void *data);
29 static void vpnStateCb(const vpn_h handle, vpn_state_e state,
34 int vpnInitialize_p(void);
35 int vpnInitialize_n(void);
36 int vpnDeinitialize_p(void);
37 int vpnDeinitialize_n(void);
38 int vpnSettingsInit_p(void);
39 int vpnSettingsInit_n(void);
40 int vpnSettingsDeinit_p(void);
41 int vpnSettingsDeinit_n1(void);
42 int vpnSettingsDeinit_n2(void);
43 int vpnSettingsSetSpecific_p1(void);
44 int vpnSettingsSetSpecific_p2(void);
45 int vpnSettingsSetSpecific_n1(void);
46 int vpnSettingsSetSpecific_n2(void);
47 int vpnSettingsSetSpecific_n3(void);
48 int vpnSettingsSetType_p(void);
49 int vpnSettingsSetType_n1(void);
50 int vpnSettingsSetType_n2(void);
51 int vpnSettingsSetName_p(void);
52 int vpnSettingsSetName_n1(void);
53 int vpnSettingsSetName_n2(void);
54 int vpnSettingsSetHost_p(void);
55 int vpnSettingsSetHost_n1(void);
56 int vpnSettingsSetHost_n2(void);
57 int vpnSettingsSetDomain_p(void);
58 int vpnSettingsSetDomain_n1(void);
59 int vpnSettingsSetDomain_n2(void);
60 int vpnCreate_p1(void);
61 int vpnCreate_p2(void);
62 int vpnCreate_n1(void);
63 int vpnCreate_n2(void);
64 int vpnRemove_p1(void);
65 int vpnRemove_p2(void);
66 int vpnRemove_n1(void);
67 int vpnRemove_n2(void);
68 int vpnRemove_n3(void);
69 int vpnConnect_p1(void);
70 int vpnConnect_p2(void);
71 int vpnConnect_n1(void);
72 int vpnConnect_n2(void);
73 int vpnConnect_n3(void);
74 int vpnDisconnect_p1(void);
75 int vpnDisconnect_p2(void);
76 int vpnDisconnect_n1(void);
77 int vpnDisconnect_n2(void);
78 int vpnDisconnect_n3(void);
79 int vpnGetVpnHandle_p(void);
80 int vpnGetVpnHandle_n1(void);
81 int vpnGetVpnHandle_n2(void);
82 int vpnGetVpnHandle_n3(void);
83 int vpnGetVpnHandle_n4(void);
84 int vpnGetVpnHandle_n5(void);
85 int vpnGetVpnHandle_n6(void);
86 int vpnGetVpnInfoName_p(void);
87 int vpnGetVpnInfoName_n1(void);
88 int vpnGetVpnInfoName_n2(void);
89 int vpnGetVpnInfoName_n3(void);
90 int vpnGetVpnInfoName_n4(void);
91 int vpnGetVpnInfoType_p(void);
92 int vpnGetVpnInfoType_n1(void);
93 int vpnGetVpnInfoType_n2(void);
94 int vpnGetVpnInfoType_n3(void);
95 int vpnGetVpnInfoType_n4(void);
96 int vpnGetVpnInfoHost_p(void);
97 int vpnGetVpnInfoHost_n1(void);
98 int vpnGetVpnInfoHost_n2(void);
99 int vpnGetVpnInfoHost_n3(void);
100 int vpnGetVpnInfoHost_n4(void);
101 int vpnGetVpnInfoDomain_p(void);
102 int vpnGetVpnInfoDomain_n1(void);
103 int vpnGetVpnInfoDomain_n2(void);
104 int vpnGetVpnInfoDomain_n3(void);
105 int vpnGetVpnInfoDomain_n4(void);
106 int vpnGetVpnHandleList_p(void);
107 int vpnGetVpnHandleList_n(void);
108 int vpnSetStateCallback_p(void);
109 int vpnSetStateCallback_n1(void);
110 int vpnSetStateCallback_n2(void);
111 int vpnSetStateCallback_n3(void);
112 int vpnSetStateCallback_n4(void);
113 int vpnUnsetStateCallback_p(void);
114 int vpnUnsetStateCallback_n1(void);
115 int vpnUnsetStateCallback_n2(void);
116 int vpnUnsetStateCallback_n3(void);
118 #endif /* __VPN_SETTING_H__ */