ISC DHCP  4.3.3-P1
A reference DHCPv4 and DHCPv6 implementation
execute.c File Reference
#include "dhcpd.h"
#include <omapip/omapip_p.h>
#include <sys/types.h>
#include <sys/wait.h>

Go to the source code of this file.

Functions

int execute_statements (struct binding_value **result, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *out_options, struct binding_scope **scope, struct executable_statement *statements, struct on_star *on_star)
 
void execute_statements_in_scope (struct binding_value **result, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *out_options, struct binding_scope **scope, struct group *group, struct group *limiting_group, struct on_star *on_star)
 
int executable_statement_dereference (struct executable_statement **ptr, const char *file, int line)
 
void write_statements (FILE *file, struct executable_statement *statements, int indent)
 
int find_matching_case (struct executable_statement **ep, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *out_options, struct binding_scope **scope, struct expression *expr, struct executable_statement *stmt)
 
int executable_statement_foreach (struct executable_statement *stmt, int(*callback)(struct executable_statement *, void *, int), void *vp, int condp)
 

Function Documentation

int executable_statement_dereference ( struct executable_statement **  ptr,
const char *  file,
int  line 
)

Definition at line 623 of file execute.c.

int executable_statement_foreach ( struct executable_statement stmt,
int(*)(struct executable_statement *, void *, int callback,
void *  vp,
int  condp 
)

Definition at line 1106 of file execute.c.

int execute_statements ( struct binding_value **  result,
struct packet packet,
struct lease lease,
struct client_state client_state,
struct option_state in_options,
struct option_state out_options,
struct binding_scope **  scope,
struct executable_statement statements,
struct on_star on_star 
)

Definition at line 35 of file execute.c.

void execute_statements_in_scope ( struct binding_value **  result,
struct packet packet,
struct lease lease,
struct client_state client_state,
struct option_state in_options,
struct option_state out_options,
struct binding_scope **  scope,
struct group group,
struct group limiting_group,
struct on_star on_star 
)

Definition at line 563 of file execute.c.

int find_matching_case ( struct executable_statement **  ep,
struct packet packet,
struct lease lease,
struct client_state client_state,
struct option_state in_options,
struct option_state out_options,
struct binding_scope **  scope,
struct expression expr,
struct executable_statement stmt 
)

Definition at line 1028 of file execute.c.

void write_statements ( FILE *  file,
struct executable_statement statements,
int  indent 
)

Definition at line 752 of file execute.c.