Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Typedefs | Functions
filter_expressions.h File Reference
`#include "ws_symbol_export.h"`
`#include <epan/prefs.h>`
`#include <epan/wmem/wmem.h>`

Go to the source code of this file.

## Classes
struct | filter_expression

## Typedefs
typedef struct filter_expression | filter_expression_t

## Functions
WS_DLL_PUBLIC void | filter_expression_iterate_expressions (wmem_foreach_func func, void *user_data)
WS_DLL_PUBLIC filter_expression_t * | filter_expression_new (const gchar *label, const gchar *expr, const gchar *comment, const gboolean enabled)
void | filter_expression_register_uat (module_t *pref_module)

## Detailed Description

Filter expressions.

## Function Documentation

WS_DLL_PUBLIC filter_expression_t* filter_expression_new | ( | const gchar * | label,
|  | const gchar * | expr,
|  | const gchar * | comment,
|  | const gboolean | enabled
| ) |  |

Create a filter expression

Parameters

  label | Label (button) text for the expression.
  expr | The display filter for the expression.
  enabled | Determines if the expression is shown in the UI.

Returns
  A newly allocated and initialized struct filter_expression.