forked from osmocom/wireshark
![Dario Lombardo](/assets/img/avatar_default.png)
Skipping dissectors dir for now. Change-Id: I717b66bfbc7cc81b83f8c2cbc011fcad643796aa Reviewed-on: https://code.wireshark.org/review/25694 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
32 lines
676 B
C
32 lines
676 B
C
/*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 2001 Gerald Combs
|
|
*
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef STTYPE_RANGE_H
|
|
#define STTYPE_RANGE_H
|
|
|
|
#include "syntax-tree.h"
|
|
#include "drange.h"
|
|
|
|
STTYPE_ACCESSOR_PROTOTYPE(stnode_t*, range, entity)
|
|
STTYPE_ACCESSOR_PROTOTYPE(drange_t*, range, drange)
|
|
|
|
/* Set a range */
|
|
void
|
|
sttype_range_set(stnode_t *node, stnode_t *field, GSList* drange_list);
|
|
|
|
void
|
|
sttype_range_set1(stnode_t *node, stnode_t *field, drange_node *rn);
|
|
|
|
/* Clear the 'drange' variable to remove responsibility for
|
|
* freeing it. */
|
|
void
|
|
sttype_range_remove_drange(stnode_t *node);
|
|
|
|
#endif
|