xref: /freebsd/libexec/flua/lfbsd/lfbsd.h (revision b11a5709ec2b61fefb03bfdd38e2f06d2c1107c1)
1*b11a5709SKyle Evans /*
2*b11a5709SKyle Evans  * SPDX-License-Identifier: BSD-2-Clause
3*b11a5709SKyle Evans  *
4*b11a5709SKyle Evans  * Copyright 2023 Baptiste Daroussin <bapt@FreeBSD.org>
5*b11a5709SKyle Evans  *
6*b11a5709SKyle Evans  * Redistribution and use in source and binary forms, with or without
7*b11a5709SKyle Evans  * modification, are permitted providing that the following conditions~
8*b11a5709SKyle Evans  * are met:
9*b11a5709SKyle Evans  * 1. Redistributions of source code must retain the above copyright
10*b11a5709SKyle Evans  *    notice, this list of conditions and the following disclaimer.
11*b11a5709SKyle Evans  * 2. Redistributions in binary form must reproduce the above copyright
12*b11a5709SKyle Evans  *    notice, this list of conditions and the following disclaimer in the
13*b11a5709SKyle Evans  *    documentation and/or other materials provided with the distribution.
14*b11a5709SKyle Evans  *
15*b11a5709SKyle Evans  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*b11a5709SKyle Evans  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17*b11a5709SKyle Evans  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*b11a5709SKyle Evans  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19*b11a5709SKyle Evans  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*b11a5709SKyle Evans  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*b11a5709SKyle Evans  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*b11a5709SKyle Evans  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
23*b11a5709SKyle Evans  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24*b11a5709SKyle Evans  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25*b11a5709SKyle Evans  * POSSIBILITY OF SUCH DAMAGE.
26*b11a5709SKyle Evans  */
27*b11a5709SKyle Evans 
28*b11a5709SKyle Evans #pragma once
29*b11a5709SKyle Evans 
30*b11a5709SKyle Evans #include <lua.h>
31*b11a5709SKyle Evans 
32*b11a5709SKyle Evans int luaopen_fbsd(lua_State *L);
33