mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
The fnmatch function matches a string against a shell-style filename pattern. It is a complex function and cannot easily be implenented using regular expressions. Adding fnmatch to flua increases the amd64 binary by less than 1 KB. Approved by: markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D46849
16 lines
372 B
C
16 lines
372 B
C
/*-
|
|
*
|
|
* This file is in the public domain.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <lua.h>
|
|
|
|
int luaopen_posix_fnmatch(lua_State *L);
|
|
int luaopen_posix_libgen(lua_State *L);
|
|
int luaopen_posix_stdlib(lua_State *L);
|
|
int luaopen_posix_sys_stat(lua_State *L);
|
|
int luaopen_posix_sys_utsname(lua_State *L);
|
|
int luaopen_posix_sys_wait(lua_State *L);
|
|
int luaopen_posix_unistd(lua_State *L);
|