Embedded Wireless Framework
ewf_tokenizer.h
Go to the documentation of this file.
1 /************************************************************************/
10 #ifndef __ewf_tokenizer__h__included__
11 #define __ewf_tokenizer__h__included__
12 
13 #include "ewf.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /************************************************************************/
27 {
30 
32  const char* pattern_str;
33 
35  uint32_t patter_length;
36 
39 
41  bool(*match_function)(const uint8_t* buffer, uint32_t buffer_length, const ewf_tokenizer_pattern* pattern_ptr, bool* stop_ptr);
42 
44  void* data_ptr;
45 };
46 
47 /************************************************************************/
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* __ewf_tokenizer__h__included__ */
The Embedded Wireless Framework.
The interface tokenizer pattern structure definition.
Definition: ewf_tokenizer.h:27
bool(* match_function)(const uint8_t *buffer, uint32_t buffer_length, const ewf_tokenizer_pattern *pattern_ptr, bool *stop_ptr)
Definition: ewf_tokenizer.h:41
ewf_tokenizer_pattern * next_ptr
Definition: ewf_tokenizer.h:29
const char * pattern_str
Definition: ewf_tokenizer.h:32
uint32_t patter_length
Definition: ewf_tokenizer.h:35
bool has_wildcards
Definition: ewf_tokenizer.h:38