1 /* $NetBSD: statement.h,v 1.1.1.3 2014/07/12 11:57:56 spz Exp $ */
4 Definitions for executable statements... */
7 * Copyright (c) 2004,2007,2009,2014 by Internet Systems Consortium, Inc. ("ISC")
8 * Copyright (c) 1996-2003 by Internet Software Consortium
10 * Permission to use, copy, modify, and distribute this software for any
11 * purpose with or without fee is hereby granted, provided that the above
12 * copyright notice and this permission notice appear in all copies.
14 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
15 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
17 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
20 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 * Internet Systems Consortium, Inc.
24 * Redwood City, CA 94063
26 * https://www.isc.org/
30 struct executable_statement
{
32 struct executable_statement
*next
;
39 default_option_statement
,
40 supersede_option_statement
,
41 append_option_statement
,
42 prepend_option_statement
,
43 send_option_statement
,
59 struct executable_statement
*tc
, *fc
;
60 struct expression
*expr
;
62 struct expression
*eval
;
63 struct expression
*retval
;
65 struct option_cache
*option
;
66 struct option_cache
*supersede
;
67 struct option_cache
*prepend
;
68 struct option_cache
*append
;
69 struct executable_statement
*statements
;
75 # define ON_TRANSMISSION 8
76 struct executable_statement
*statements
;
79 struct expression
*expr
;
80 struct executable_statement
*statements
;
82 struct expression
*c_case
;
85 struct expression
*expr
;
86 struct executable_statement
*statements
;
96 struct expression
*expr
;
100 struct expression
*arglist
;