11e934351Sopenharmony_ci/* 21e934351Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 31e934351Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 41e934351Sopenharmony_ci * you may not use this file except in compliance with the License. 51e934351Sopenharmony_ci * You may obtain a copy of the License at 61e934351Sopenharmony_ci * 71e934351Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 81e934351Sopenharmony_ci * 91e934351Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 101e934351Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 111e934351Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 121e934351Sopenharmony_ci * See the License for the specific language governing permissions and 131e934351Sopenharmony_ci * limitations under the License. 141e934351Sopenharmony_ci */ 151e934351Sopenharmony_ci 161e934351Sopenharmony_ci#ifndef TLS_CONSTANT_H 171e934351Sopenharmony_ci#define TLS_CONSTANT_H 181e934351Sopenharmony_ci 191e934351Sopenharmony_cinamespace OHOS { 201e934351Sopenharmony_cinamespace NetStack { 211e934351Sopenharmony_cinamespace TlsSocket { 221e934351Sopenharmony_ciconstexpr int PARAM_NONE = 0; 231e934351Sopenharmony_ciconstexpr int PARAM_JUST_OPTIONS = 1; 241e934351Sopenharmony_ciconstexpr int PARAM_JUST_CALLBACK = 1; 251e934351Sopenharmony_ciconstexpr int PARAM_DOUBLE_OPTIONS = 2; 261e934351Sopenharmony_ciconstexpr int PARAM_TRIPLE_OPTIONS = 3; 271e934351Sopenharmony_ciconstexpr int PARAM_OPTIONS_AND_CALLBACK = 2; 281e934351Sopenharmony_ciconstexpr int PARAM_DOUBLE_OPTIONS_AND_CALLBACK = 3; 291e934351Sopenharmony_ciconstexpr int PARAM_TRIPLE_OPTIONS_AND_CALLBACK = 4; 301e934351Sopenharmony_ci 311e934351Sopenharmony_cienum { 321e934351Sopenharmony_ci ARG_NUM_0, 331e934351Sopenharmony_ci ARG_NUM_1, 341e934351Sopenharmony_ci ARG_NUM_2, 351e934351Sopenharmony_ci}; 361e934351Sopenharmony_ci 371e934351Sopenharmony_cienum { 381e934351Sopenharmony_ci ARG_INDEX_0 = 0, 391e934351Sopenharmony_ci ARG_INDEX_1, 401e934351Sopenharmony_ci ARG_INDEX_2, 411e934351Sopenharmony_ci ARG_INDEX_3, 421e934351Sopenharmony_ci}; 431e934351Sopenharmony_ci} //namespace TlsSocket 441e934351Sopenharmony_ci} // namespace NetStack 451e934351Sopenharmony_ci} // namespace OHOS 461e934351Sopenharmony_ci#endif // TLS_CONSTANT_H 47