xref: /freebsd/stand/libsa/smbios.h (revision a64f0b83e5ee1c9f7ac5782a3d3f9f1c7b368e41)
1*a64f0b83SWarner Losh /*-
2*a64f0b83SWarner Losh  * Copyright (c) 2015 Rui Paulo <rpaulo@FreeBSD.org>
3*a64f0b83SWarner Losh  * All rights reserved.
4*a64f0b83SWarner Losh  *
5*a64f0b83SWarner Losh  * Redistribution and use in source and binary forms, with or without
6*a64f0b83SWarner Losh  * modification, are permitted provided that the following conditions
7*a64f0b83SWarner Losh  * are met:
8*a64f0b83SWarner Losh  * 1. Redistributions of source code must retain the above copyright
9*a64f0b83SWarner Losh  *    notice, this list of conditions and the following disclaimer.
10*a64f0b83SWarner Losh  * 2. Redistributions in binary form must reproduce the above copyright
11*a64f0b83SWarner Losh  *    notice, this list of conditions and the following disclaimer in the
12*a64f0b83SWarner Losh  *    documentation and/or other materials provided with the distribution.
13*a64f0b83SWarner Losh  *
14*a64f0b83SWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15*a64f0b83SWarner Losh  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16*a64f0b83SWarner Losh  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17*a64f0b83SWarner Losh  * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18*a64f0b83SWarner Losh  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19*a64f0b83SWarner Losh  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20*a64f0b83SWarner Losh  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*a64f0b83SWarner Losh  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22*a64f0b83SWarner Losh  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23*a64f0b83SWarner Losh  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24*a64f0b83SWarner Losh  * POSSIBILITY OF SUCH DAMAGE.
25*a64f0b83SWarner Losh  *
26*a64f0b83SWarner Losh  * $FreeBSD$
27*a64f0b83SWarner Losh  */
28*a64f0b83SWarner Losh #ifndef _SMBIOS_H_
29*a64f0b83SWarner Losh #define	_SMBIOS_H_
30*a64f0b83SWarner Losh 
31*a64f0b83SWarner Losh void	smbios_detect(const caddr_t);
32*a64f0b83SWarner Losh int	smbios_match(const char *, const char *, const char *);
33*a64f0b83SWarner Losh 
34*a64f0b83SWarner Losh #endif /* _SMBIOS_H_ */
35