1 /*
2  * Copyright (c) 2022 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef NET_EXT_NAPI_ETHERNET_CONSTANT_H
17 #define NET_EXT_NAPI_ETHERNET_CONSTANT_H
18 
19 #include <cstdint>
20 
21 namespace OHOS {
22 namespace NetManagerStandard {
23 constexpr int32_t PARAM_NONE = 0;
24 constexpr int32_t PARAM_JUST_OPTIONS = 1;
25 constexpr int32_t PARAM_JUST_CALLBACK = 1;
26 constexpr int32_t PARAM_DOUBLE_OPTIONS = 2;
27 constexpr int32_t PARAM_TRIPLE_OPTIONS = 3;
28 constexpr int32_t PARAM_FOUR_OPTIONS = 4;
29 constexpr int32_t PARAM_OPTIONS_AND_CALLBACK = 2;
30 constexpr int32_t PARAM_DOUBLE_OPTIONS_AND_CALLBACK = 3;
31 constexpr int32_t PARAM_TRIPLE_OPTIONS_AND_CALLBACK = 4;
32 constexpr int32_t PARAM_FOUR_OPTIONS_AND_CALLBACK = 5;
33 
34 enum {
35     ARG_NUM_0 = 0,
36     ARG_NUM_1,
37     ARG_NUM_2,
38 };
39 
40 enum {
41     ARG_INDEX_0 = 0,
42     ARG_INDEX_1,
43     ARG_INDEX_2,
44     ARG_INDEX_3,
45     ARG_INDEX_4,
46 };
47 } // namespace NetManagerStandard
48 } // namespace OHOS
49 #endif // NET_EXT_NAPI_ETHERNET_CONSTANT_H
50