Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
persfilepath_opt.h File Reference

Go to the source code of this file.

Functions

bool persfilepath_opt (int opt, const char *optstr)
 Process command line option that affects the paths of the directories used for personal files (configuration, saved captures)
 

Detailed Description

Definitions of routines to handle command-line options to set paths for directories containing personal files (configuration, saved captures)

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

◆ persfilepath_opt()

bool persfilepath_opt ( int  opt,
const char *  optstr 
)
extern

Process command line option that affects the paths of the directories used for personal files (configuration, saved captures)

Parameters
optThe option being processed.
optstrThe string associated with the option, which should be in the format "opt:directory".
Returns
true if the option was successfully processed, false otherwise.