/* * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef TLS_CONSTANT_H #define TLS_CONSTANT_H namespace OHOS { namespace NetStack { namespace TlsSocket { constexpr int PARAM_NONE = 0; constexpr int PARAM_JUST_OPTIONS = 1; constexpr int PARAM_JUST_CALLBACK = 1; constexpr int PARAM_DOUBLE_OPTIONS = 2; constexpr int PARAM_TRIPLE_OPTIONS = 3; constexpr int PARAM_OPTIONS_AND_CALLBACK = 2; constexpr int PARAM_DOUBLE_OPTIONS_AND_CALLBACK = 3; constexpr int PARAM_TRIPLE_OPTIONS_AND_CALLBACK = 4; enum { ARG_NUM_0, ARG_NUM_1, ARG_NUM_2, }; enum { ARG_INDEX_0 = 0, ARG_INDEX_1, ARG_INDEX_2, ARG_INDEX_3, }; } //namespace TlsSocket } // namespace NetStack } // namespace OHOS #endif // TLS_CONSTANT_H