common/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)(structexecutable_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 615 of file execute.c.

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

Definition at line 1093 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 555 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 1015 of file execute.c.

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

Definition at line 744 of file execute.c.


Generated on 5 Apr 2014 for ISC DHCP by  doxygen 1.6.1