wireshark/epan/dfilter/dfilter-loc.h
João Valverde 3938b406fb dfilter: Refactor error location tracking
Remove duplicate location struct by adding a new header.

Pass around a structure instead of a pointer.
2022-12-23 18:23:06 +00:00

26 lines
395 B
C

/** @file
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 2001 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DFILTER_LOC_H
#define DFILTER_LOC_H
#include <stddef.h>
typedef struct _dfilter_loc {
long col_start;
size_t col_len;
} df_loc_t;
extern df_loc_t loc_empty;
#define DFILTER_LOC_EMPTY loc_empty
#endif