mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
594 B
C
23 lines
594 B
C
17 years ago
|
/* Copyright (c) 2008 Victor Julien <victor@inliniac.net> */
|
||
|
#ifndef __FLOW_VAR_H__
|
||
|
#define __FLOW_VAR_H__
|
||
|
|
||
|
#include "flow.h"
|
||
|
|
||
|
typedef struct _FlowVar {
|
||
|
char *name;
|
||
|
u_int8_t *value;
|
||
|
u_int16_t value_len;
|
||
|
struct _FlowVar *next; /* right now just implement this as a list,
|
||
|
* in the long run we have thing of something
|
||
|
* faster. */
|
||
|
} FlowVar;
|
||
|
|
||
|
void FlowVarAdd(Flow *, char *, u_int8_t *, u_int16_t);
|
||
|
FlowVar *FlowVarGet(Flow *, char *);
|
||
|
void FlowVarFree(FlowVar *);
|
||
|
void FlowVarPrint(FlowVar *);
|
||
|
|
||
|
#endif /* __FLOW_VAR_H__ */
|
||
|
|