suricata
detect-lua-extensions.h
Go to the documentation of this file.
1
/* Copyright (C) 2007-2013 Open Information Security Foundation
2
*
3
* You can copy, redistribute or modify this Program under the terms of
4
* the GNU General Public License version 2 as published by the Free
5
* Software Foundation.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* version 2 along with this program; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
* 02110-1301, USA.
16
*/
17
18
/**
19
* \file
20
*
21
* \author Victor Julien <victor@inliniac.net>
22
*/
23
24
#ifndef SURICATA_DETECT_LUA_EXT_H
25
#define SURICATA_DETECT_LUA_EXT_H
26
27
int
LuaRegisterExtensions
(
lua_State
*);
28
29
void
LuaExtensionsMatchSetup
(
lua_State
*lua_state,
DetectLuaData
*,
DetectEngineThreadCtx
*det_ctx,
30
Flow
*f,
Packet
*p,
const
Signature
*s, uint8_t
flags
);
31
32
#endif
DetectLuaData
Definition:
detect-lua.h:40
Flow_
Flow data structure.
Definition:
flow.h:356
lua_State
struct lua_State lua_State
Definition:
suricata-common.h:506
LuaRegisterExtensions
int LuaRegisterExtensions(lua_State *)
Register Suricata Lua functions.
Definition:
detect-lua-extensions.c:540
DetectEngineThreadCtx_
Definition:
detect.h:1093
Packet_
Definition:
decode.h:473
LuaExtensionsMatchSetup
void LuaExtensionsMatchSetup(lua_State *lua_state, DetectLuaData *, DetectEngineThreadCtx *det_ctx, Flow *f, Packet *p, const Signature *s, uint8_t flags)
Definition:
detect-lua-extensions.c:507
flags
uint8_t flags
Definition:
decode-gre.h:0
Signature_
Signature container.
Definition:
detect.h:601
src
detect-lua-extensions.h
Generated on Sat Nov 16 2024 23:30:33 for suricata by
1.8.18