ISC DHCP  4.3.6
A reference DHCPv4 and DHCPv6 implementation
executable_statement Struct Reference

#include <statement.h>

Public Types

enum  statement_op {
  null_statement, if_statement, add_statement, eval_statement,
  break_statement, default_option_statement, supersede_option_statement, append_option_statement,
  prepend_option_statement, send_option_statement, statements_statement, on_statement,
  switch_statement, case_statement, default_statement, set_statement,
  unset_statement, let_statement, define_statement, log_statement,
  return_statement, execute_statement, vendor_opt_statement
}
 

Data Fields

int refcnt
 
struct executable_statementnext
 
enum executable_statement::statement_op op
 
union {
   struct {
      struct executable_statement *   tc
 
      struct executable_statement *   fc
 
      struct expression *   expr
 
   }   ie
 
   struct expression *   eval
 
   struct expression *   retval
 
   struct class *   add
 
   struct option_cache *   option
 
   struct option_cache *   supersede
 
   struct option_cache *   prepend
 
   struct option_cache *   append
 
   struct executable_statement *   statements
 
   struct {
      int   evtypes
 
      struct executable_statement *   statements
 
   }   on
 
   struct {
      struct expression *   expr
 
      struct executable_statement *   statements
 
   }   s_switch
 
   struct expression *   c_case
 
   struct {
      char *   name
 
      struct expression *   expr
 
      struct executable_statement *   statements
 
   }   set
 
   struct {
      char *   name
 
      struct expression *   expr
 
      struct executable_statement *   statements
 
   }   let
 
   char *   unset
 
   struct {
enum  { log_priority_fatal, log_priority_error, log_priority_debug, log_priority_info }
 
      enum executable_statement:: { ... } ::   priority
 
      struct expression *   expr
 
   }   log
 
   struct {
      char *   command
 
      struct expression *   arglist
 
      int   argc
 
   }   execute
 
data
 

Detailed Description

Definition at line 30 of file statement.h.

Member Enumeration Documentation

§ statement_op

Enumerator
null_statement 
if_statement 
add_statement 
eval_statement 
break_statement 
default_option_statement 
supersede_option_statement 
append_option_statement 
prepend_option_statement 
send_option_statement 
statements_statement 
on_statement 
switch_statement 
case_statement 
default_statement 
set_statement 
unset_statement 
let_statement 
define_statement 
log_statement 
return_statement 
execute_statement 
vendor_opt_statement 

Definition at line 33 of file statement.h.

Field Documentation

§ add

struct class* executable_statement::add

Definition at line 65 of file statement.h.

§ append

struct option_cache* executable_statement::append

Definition at line 69 of file statement.h.

§ argc

int executable_statement::argc

Definition at line 102 of file statement.h.

§ arglist

struct expression* executable_statement::arglist

Definition at line 101 of file statement.h.

§ c_case

struct expression* executable_statement::c_case

Definition at line 83 of file statement.h.

§ command

char* executable_statement::command

Definition at line 100 of file statement.h.

§ data

union { ... } executable_statement::data

§ eval

struct expression* executable_statement::eval

Definition at line 63 of file statement.h.

§ evtypes

int executable_statement::evtypes

Definition at line 72 of file statement.h.

§ execute

struct { ... } executable_statement::execute

§ expr

struct expression* executable_statement::expr

Definition at line 61 of file statement.h.

§ fc

struct executable_statement * executable_statement::fc

Definition at line 60 of file statement.h.

§ ie

struct { ... } executable_statement::ie

§ let

struct { ... } executable_statement::let

§ log

struct { ... } executable_statement::log

§ name

char* executable_statement::name

Definition at line 85 of file statement.h.

§ next

struct executable_statement* executable_statement::next

Definition at line 32 of file statement.h.

§ on

struct { ... } executable_statement::on

§ op

enum executable_statement::statement_op executable_statement::op

§ option

struct option_cache* executable_statement::option

Definition at line 66 of file statement.h.

§ prepend

struct option_cache* executable_statement::prepend

Definition at line 68 of file statement.h.

§ priority

enum { ... } executable_statement::priority

§ refcnt

int executable_statement::refcnt

Definition at line 31 of file statement.h.

§ retval

struct expression* executable_statement::retval

Definition at line 64 of file statement.h.

§ s_switch

struct { ... } executable_statement::s_switch

§ set

struct { ... } executable_statement::set

§ statements

struct executable_statement* executable_statement::statements

Definition at line 70 of file statement.h.

§ supersede

struct option_cache* executable_statement::supersede

Definition at line 67 of file statement.h.

§ tc

struct executable_statement* executable_statement::tc

Definition at line 60 of file statement.h.

§ unset

char* executable_statement::unset

Definition at line 89 of file statement.h.


The documentation for this struct was generated from the following file: