2021-11-30 04:18:35 +00:00
|
|
|
/** @file
|
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2008-01-08 22:54:51 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2006-05-02 14:26:17 +00:00
|
|
|
* Copyright 2001 Gerald Combs
|
|
|
|
*
|
|
|
|
*
|
2018-02-08 16:59:17 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2006-05-02 14:26:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef STTYPE_FUNCTION_H
|
|
|
|
#define STTYPE_FUNCTION_H
|
|
|
|
|
2015-01-18 10:22:19 +00:00
|
|
|
#include "dfilter-int.h"
|
2006-05-02 14:26:17 +00:00
|
|
|
#include "dfunctions.h"
|
|
|
|
|
|
|
|
/* Set the parameters for a function stnode_t. */
|
|
|
|
void
|
|
|
|
sttype_function_set_params(stnode_t *node, GSList *params);
|
|
|
|
|
|
|
|
/* Get the function-definition record for a function stnode_t. */
|
|
|
|
df_func_def_t* sttype_function_funcdef(stnode_t *node);
|
|
|
|
|
2022-04-12 15:13:08 +00:00
|
|
|
const char *sttype_function_name(stnode_t *node);
|
|
|
|
|
2006-05-02 14:26:17 +00:00
|
|
|
/* Get the parameters for a function stnode_t. */
|
|
|
|
GSList* sttype_function_params(stnode_t *node);
|
|
|
|
|
|
|
|
/* Free the memory of a param list */
|
|
|
|
void st_funcparams_free(GSList *params);
|
|
|
|
|
|
|
|
#endif
|