zeek/testing/btest/doc/zeekygen/func-params.zeek
Daniel Thayer 1a74516db1 Rename all BRO-prefixed environment variables
For backward compatibility when reading values, we first check
the ZEEK-prefixed value, and if not set, then check the corresponding
BRO-prefixed value.
2019-05-22 00:12:31 -05:00

24 lines
636 B
Text

# @TEST-EXEC: unset ZEEK_DISABLE_ZEEKYGEN; unset BRO_DISABLE_BROXYGEN; zeek -b -X zeekygen.config %INPUT
# @TEST-EXEC: btest-diff autogen-reST-func-params.rst
@TEST-START-FILE zeekygen.config
identifier test_func_params* autogen-reST-func-params.rst
@TEST-END-FILE
## This is a global function declaration.
##
## i: First param.
## j: Second param.
##
## Returns: A string.
global test_func_params_func: function(i: int, j: int): string;
type test_func_params_rec: record {
## This is a record field function.
##
## i: First param.
## j: Second param.
##
## Returns: A string.
field_func: function(i: int, j: int): string;
};