File util/watch_ctrl.c


Included Files


Type enum comm_actions


Type enum wait_actions


Type struct wait_job


Local Variables

ctrl_q_name
static char ctrl_q_name[]
Used in:

ctrl_comms
static struct match_token ctrl_comms[]

Used in:

wait_comms
static struct match_token wait_comms[]

Used in:

signal_comms
static struct match_token signal_comms[]

Used in:

watch_ctrl_debug
static int watch_ctrl_debug

Used in:

watch_wait_debug
static int watch_wait_debug

Used in:

the_signal
static int the_signal

Used in:

wait_list
static List wait_list

Used in:

dt_tm_iso8601
static const char dt_tm_iso8601[]

Used in:

Global Function create_watch_queues()

int create_watch_queues ( const void* comms_hint )
Prototyped in:
Calls:
Called by:
References Variables:

Global Function delete_watch_queues()

int delete_watch_queues ( const void* comms_hint )
Prototyped in:
Calls:
Called by:
References Functions:
References Variables:

Global Function dump_db_to_file()

int dump_db_to_file ( const char* fname )
Prototyped in:
Calls:
Called by:
References Functions:

Global Function exclude_named_level()

int exclude_named_level ( const char* lvl_nm )
Prototyped in:
Calls:
Called by:
References Variables:

Global Function read_file_into_db()

int read_file_into_db ( const char* fname )
Prototyped in:
Calls:
Called by:

Global Function watch_ctrl()

int watch_ctrl ( const void* comms_hint )
Prototyped in:
Calls:
Called by:
References Functions:
References Variables:

Local Function add_wait_job()

static struct watchdog_ctrl_msg* add_wait_job ( struct watchdog_ctrl_msg* cmp, int action, const char* details )
Calls:
Called by:
References Variables:

Local Function check_all_wait_jobs()

static void check_all_wait_jobs ( void )
Calls:
Called by:
References Functions:
References Variables:

Local Function check_wait_job()

static void check_wait_job ( struct wait_job* wjp )
Calls:
Called by:
Used in:
References Variables:

Local Function forget_level()

static int forget_level ( const char* lvl_nm, char* active, int db_save )
Calls:
Used in:
References Variables:

Local Function forget_program()

static int forget_program ( const char* prg_nm, char* active, int db_save, int ptype )
Calls:
Used in:
References Variables:

Local Function free_ctrl_msg()

static void free_ctrl_msg ( struct watchdog_ctrl_msg* cmp )
Calls:
Called by:

Local Function free_wait_job()

static void free_wait_job ( struct wait_job* wjp )
Calls:
Called by:
Used in:

Local Function level_bounce()

static int level_bounce ( const char* lvl_nm, char* cp, int db_save )
Calls:
Used in:
References Functions:
References Variables:

Local Function level_excl()

static int level_excl ( const char* lvl_nm, char* cp, int db_save )
Calls:
Used in:
References Variables:

Local Function level_incl()

static int level_incl ( const char* lvl_nm, char* cp, int db_save )
Calls:
Used in:
References Variables:

Local Function level_signal()

static int level_signal ( const char* lvl_nm, char* cp, int db_save )
Calls:
Used in:
References Functions:

Local Function pid_details()

static void pid_details ( struct pid_track* ptp, FILE* fp )
Calls:
Used in:
References Variables:

Local Function print_prg_debug()

static void print_prg_debug ( struct program_hdr* pptr, FILE* fp )
Calls:
Used in:
References Functions:
References Variables:

Local Function process_line()

static int process_line ( char* parsep, level_func_t level_func, prog_func_t prog_func, int db_save, char* rbuf, const char* OK_str, const char* BAD_str, const char* info_str )
Calls:
Called by:

Local Function program_bounce()

static int program_bounce ( const char* prg_nm, char* active, int db_save, int ptype )
Calls:
Used in:
References Variables:

Local Function program_excl()

static int program_excl ( const char* prg_nm, char* cp, int db_save, int ptype )
Calls:
Used in:
References Variables:

Local Function program_incl()

static int program_incl ( const char* prg_nm, char* cp, int db_save, int ptype )
Calls:
Used in:
References Variables:

Local Function program_signal()

static int program_signal ( const char* prg_nm, char* cp, int db_save, int ptype )
Calls:
Used in:

Local Function reply_control_msg()

static int reply_control_msg ( struct watchdog_ctrl_msg* cmp )
Calls:
Called by:

Local Function run_this_batch()

static int run_this_batch ( const char* prg_name )
Calls:
Called by:

Local Function send_back_control_msg()

static struct watchdog_ctrl_msg* send_back_control_msg ( struct watchdog_ctrl_msg* cmp )
Calls:
Called by:

Local Function set_lvl_state()

static int set_lvl_state ( const char* lvl_nm, int active )
Calls:
Called by:

Local Function set_prg_state()

static int set_prg_state ( const char* prg_nm, int active )
Calls:
Called by:

Local Function signal_name()

static char* signal_name ( int the_signal )
Called by:
References Variables:

Local Function signal_pptr()

static void signal_pptr ( struct program_hdr* pptr )
Calls:
Called by:
Used in:
References Functions:
References Variables:

Local Function signal_things()

static int signal_things ( int wait_signal, char* parsep )
Calls:
Called by:
References Functions:
References Variables:

Local Function signal_this()

static int signal_this ( struct pid_track* ptp, int the_signal )
Calls:
Used in:

Local Function try_killing()

static int try_killing ( char* parsep )
Calls:
Called by:

Local Function watchdog_debug()

static void watchdog_debug ( char* debug_line, char* reply )
Calls:
Called by:
References Functions: