2ff6139307
Small refactoring with no functional difference.
32 lines
580 B
C
32 lines
580 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 SEMCHECK_H
|
|
#define SEMCHECK_H
|
|
|
|
#include "dfilter-int.h"
|
|
|
|
gboolean
|
|
dfw_semcheck(dfwork_t *dfw);
|
|
|
|
ftenum_t
|
|
check_arithmetic(dfwork_t *dfw, stnode_t *st_node, ftenum_t lhs_ftype);
|
|
|
|
ftenum_t
|
|
check_function(dfwork_t *dfw, stnode_t *st_node, ftenum_t lhs_ftype);
|
|
|
|
ftenum_t
|
|
check_slice(dfwork_t *dfw, stnode_t *st, ftenum_t lhs_ftype);
|
|
|
|
gboolean
|
|
compatible_ftypes(ftenum_t a, ftenum_t b);
|
|
|
|
#endif
|