| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Functions
pref_models.h File Reference
`#include <config.h>`
`#include <ui/qt/models/tree_model_helpers.h>`
`#include <epan/prefs.h>`
`#include <QSortFilterProxyModel>`
`#include <QTreeView>`

Go to the source code of this file.

## Classes
class | PrefsModel
class | PrefsItem
class | AdvancedPrefsModel
class | ModulePrefsModel

## Functions
pref_t * | prefFromPrefPtr (void *pref_ptr)
| Retrieves the preference structure associated with a given preference pointer.

## 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 1998 Gerald Combs

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

## Function Documentation

## ◆ prefFromPrefPtr()

pref_t * prefFromPrefPtr | ( | void * | pref_ptr | ) |
| extern

Retrieves the preference structure associated with a given preference pointer.

Parameters

  pref_ptr | The pointer to the preference.

Returns
  A pointer to the preference structure, or NULL if not found.