"Fossies" - the Fresh Open Source Software Archive
Member "dmidecode-3.3/dmidecode.h" (14 Oct 2020, 1097 Bytes) of package /linux/privat/dmidecode-3.3.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard
) with prefixed line numbers and code folding
Alternatively you can here view
the uninterpreted source code file.
For more information about "dmidecode.h" see the Fossies "Dox" file reference
documentation and the latest Fossies "Diffs"
side-by-side code changes report: 3.2_vs_3.3
2 * This file is part of the dmidecode project.
4 * Copyright (C) 2005-2020 Jean Delvare <firstname.lastname@example.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef DMIDECODE_H
22 #define DMIDECODE_H
24 #include "types.h"
26 struct dmi_header
28 u8 type;
29 u8 length;
30 u16 handle;
31 u8 *data;
34 int is_printable(const u8 *data, int len);
35 const char *dmi_string(const struct dmi_header *dm, u8 s);