blob: f7a394a90682c548eb76e7460db8bdb29cf71623 [file] [log] [blame]
developer1d312742023-09-11 11:05:46 +08001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2023 MediaTek Incorporation. All Rights Reserved.
4 *
5 * Author: Alvin Kuo <Alvin.Kuo@mediatek.com>
6 */
7
8#ifndef __TOPS_TOOL_H__
9#define __TOPS_TOOL_H__
10
11#include "tops-tool-cmds.h"
12
13#define TOPS_TOOL_CMD(cmd_name) TOPS_TOOL_CMD_ ## cmd_name
14
15typedef int (*tops_tool_cmd_func_t)(int argc, char *argv[]);
16
17struct tops_tool_cmd {
18 char *name;
19 char *usage;
20 char *desc;
21 tops_tool_cmd_func_t func;
22 uint8_t num_of_parms;
23};
24
25#endif /* __TOPS_TOOL_H__ */