1 /*
2  * Copyright (c) 2024 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 #include "client_trans_socket_option.h"
17 
18 #include "softbus_error_code.h"
19 #include "trans_log.h"
20 #include "trans_type.h"
21 
SetExtSocketOpt(int32_t socket,OptLevel level,OptType optType,void * optValue,uint32_t optValueSize)22 int32_t SetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, uint32_t optValueSize)
23 {
24     (void)socket;
25     (void)level;
26     (void)optType;
27     (void)optValue;
28     (void)optValueSize;
29     TRANS_LOGE(TRANS_SDK, "optType not support.");
30     return SOFTBUS_NOT_IMPLEMENT;
31 }
GetExtSocketOpt(int32_t socket,OptLevel level,OptType optType,void * optValue,int32_t * optValueSize)32 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize)
33 {
34     (void)socket;
35     (void)level;
36     (void)optType;
37     (void)optValue;
38     (void)optValueSize;
39     TRANS_LOGE(TRANS_SDK, "optType not support.");
40     return SOFTBUS_NOT_IMPLEMENT;
41 }