1 /*
2 * Copyright (C) 2013-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
3 * Copyright (C) 2009-2013 Sourcefire, Inc.
4 *
5 * Authors: aCaB <acab@clamav.net>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22 #ifndef __PE_ICONS_H
23 #define __PE_ICONS_H
24 #include "pe.h"
25
26 int cli_scanicon(icon_groupset *set, cli_ctx *ctx, struct cli_exe_info *peinfo);
27
28 void cli_icongroupset_add(const char *groupname, icon_groupset *set, unsigned int type, cli_ctx *ctx);
cli_icongroupset_init(icon_groupset * set)29 static inline void cli_icongroupset_init(icon_groupset *set)
30 {
31 set->v[0][0] = 0;
32 set->v[0][1] = 0;
33 set->v[0][2] = 0;
34 set->v[0][3] = 0;
35 set->v[1][0] = 0;
36 set->v[1][1] = 0;
37 set->v[1][2] = 0;
38 set->v[1][3] = 0;
39 }
40
41 #endif
42