4d1018f6a1a08cea0175b2e0275b5765966f7b9d
[platform/core/connectivity/net-config.git] / gtest / mptcp.h
1 /*
2  * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 #ifndef __MPTCP_H__
17 #define __MPTCP_H__
18
19 #include "mptcp.h"
20 #include "gdbus.h"
21
22 class Mptcp:public GDbus {
23 public:
24         Mptcp();
25         ~Mptcp();
26         error_e MptcpSupported(bool *supported);
27         error_e MptcpSetEnable(int enabled);
28         error_e MptcpSetPathManager(char *path);
29         error_e MptcpGetEnabled(int *enabled);
30         error_e MptcpGetPathManager(char *path);
31         error_e MptcpSetPathManager(const char *path);
32         error_e MptcpSetScheduler(const char *sched);
33         error_e MptcpGetScheduler(char *sched);
34 };
35
36
37 #endif /* __MPTCP_H__ */