| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Functions | Variables
dfilter-plugin.c File Reference
`#include "dfilter-plugin.h"`

## Functions
void | dfilter_plugins_register (const dfilter_plugin *plug)
| Registers a DFilter plugin.
void | dfilter_plugins_init (void)
| Initialize all registered DFilter plugins.
void | dfilter_plugins_cleanup (void)
| Cleans up all registered DFilter plugins.

## Variables
GSList * | dfilter_plugins

## Detailed Description

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 2001 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ dfilter_plugins_cleanup()

void dfilter_plugins_cleanup | ( | void |  | ) |

Cleans up all registered DFilter plugins.

This function iterates through a list of DFilter plugins, invoking each plugin's cleanup method, and then frees the list itself.

## ◆ dfilter_plugins_init()

void dfilter_plugins_init | ( | void |  | ) |

Initialize all registered DFilter plugins.

This function iterates through a list of DFilter plugins and calls their init functions to set up any necessary resources or configurations.

## ◆ dfilter_plugins_register()

void dfilter_plugins_register | ( | const dfilter_plugin * | plugin | ) |

Registers a DFilter plugin.

Parameters

  plugin | Pointer to the dfilter_plugin structure to be registered.