#include "ws_symbol_export.h"
#include <epan/prefs.h>
#include <epan/wmem_scopes.h>
Go to the source code of this file.
◆ filter_expression_new()
WS_DLL_PUBLIC filter_expression_t * filter_expression_new |
( |
const char * |
label, |
|
|
const char * |
expr, |
|
|
const char * |
comment, |
|
|
const bool |
enabled |
|
) |
| |
Create a filter expression
- Parameters
-
label | Label (button) text for the expression. |
expr | The display filter for the expression. |
comment | A comment about the filter. |
enabled | Determines if the expression is shown in the UI. |
- Returns
- A newly allocated and initialized struct filter_expression.