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