Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Typedefs
capture_session.h File Reference
#include <sys/types.h>
#include <stdint.h>
#include "ui/capture_opts.h"
#include <epan/fifo_string_cache.h>
#include <wsutil/processes.h>
#include <epan/cfile.h>

Go to the source code of this file.

Classes

struct  _capture_session
 Opaque handle representing an active or pending capture session. More...
 

Typedefs

typedef struct _capture_session capture_session
 Opaque handle representing an active or pending capture session.
 

Detailed Description

State of a capture session

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

Typedef Documentation

◆ capture_session

Opaque handle representing an active or pending capture session.

Note
The dummy member exists solely to satisfy C compilers (e.g. clang) that reject empty structs; in C an empty struct has size 0 whereas in C++ it has size 1. The field carries no semantic meaning.