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 FILLP_STACK_APP_CONFIG_IN_H 17 #define FILLP_STACK_APP_CONFIG_IN_H 18 19 #include "spunge.h" 20 #include "socket_common.h" 21 #include "res.h" 22 #include "spunge_message.h" 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif /* __cplusplus */ 27 28 #define FILLP_RARE_3 3 29 30 FILLP_INT32 FtAppInitConfigGet(IO FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT sockIndex); 31 FILLP_INT32 FtAppInitConfigSet(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource, IN FILLP_INT sockIndex); 32 FILLP_INT32 FtGetConfigApp(IN FILLP_UINT32 name, IO void *value, IN FILLP_CONST void *param); 33 FILLP_INT32 FtSetConfigApp(IN FILLP_UINT32 name, IN FILLP_CONST void *value, IN FILLP_CONST void *param); 34 FILLP_INT32 FtAppValidateConfigParams(IN FILLP_CONST FillpAppGlobalConfigsSt *globalResource); 35 FILLP_INT32 FtInnerAppConfigGet(IN FILLP_UINT32 name, IO void *value, 36 IN FILLP_CONST struct GlobalAppResource *resource); 37 FILLP_INT32 FtInnerAppConfigSet(IN FILLP_UINT32 name, IN FILLP_CONST void *value, 38 IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock); 39 FILLP_INT FtAppConfigInitNackDelayCfg(FILLP_INT sockIndex, struct GlobalAppResource *resource); 40 41 #ifdef __cplusplus 42 } 43 #endif /* __cplusplus */ 44 45 #endif /* FILLP_STACK_APP_CONFIG_IN_H */ 46