• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2022 Huawei Technologies Co., Ltd.
3  * Licensed under the Mulan PSL v2.
4  * You can use this software according to the terms and conditions of the Mulan PSL v2.
5  * You may obtain a copy of Mulan PSL v2 at:
6  *     http://license.coscl.org.cn/MulanPSL2
7  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
8  * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
9  * PURPOSE.
10  * See the Mulan PSL v2 for more details.
11  */
12 
13 #ifndef DYN_CONG_BUILDED_DRV_DYN_CONF_BUILDER_H
14 #define DYN_CONG_BUILDED_DRV_DYN_CONF_BUILDER_H
15 
16 #include "dyn_conf_dispatch_inf.h"
17 
18 struct tag_crew {
19     uint32_t item_tag;
20     uint32_t data_tag;
21     uint32_t type_tag;
22     char split_tag;
23 };
24 
25 int32_t install_drv_permission(void *obj, uint32_t obj_size, const struct conf_queue_t *conf_queue);
26 void uninstall_drv_permission(const void *obj, uint32_t obj_size);
27 void dump_drv_conf(void);
28 
29 #endif
30