ARPDAS_QNX6 1.0
|
Go to the source code of this file.
Classes | |
struct | tma_state |
struct | tma_ifile |
struct | slurp_val |
struct | tma_prtn |
Defines | |
#define | HOLDING_COL 18 |
#define | STATE_COL 42 |
#define | RUN_COL 59 |
#define | SNAME_COL 0 |
#define | NEXTTIME_COL 34 |
#define | STATETIME_COL 51 |
#define | RUNTIME_COL 66 |
#define | RUNTIME_STRING " " |
#define | HOLDING_ATTR 0x70 |
#define | TMA_ATTR 0x70 |
#define | CMD_ATTR 7 |
Functions | |
void | tma_new_state (unsigned int partition, const char *name) |
void | tma_init_options (int argc, char **argv) |
void | tma_hold (int hold) |
void | tma_time (tma_prtn *p, unsigned int col, long int t) |
void | tma_next_cmd (unsigned int partition, const char *cmd) |
void | tma_init_state (int partno, tma_state *cmds, const char *name) |
void | tma_read_file (tma_ifile *ifilespec) |
int | tma_process (long int it) |
void | tma_succeed (int partno, int statecase) |
Variables | |
slurp_val | slurp_vals [] |
tma_prtn * | tma_partitions |
long int | tma_runbasetime |
int | tma_is_holding |
const int | tma_n_partitions |
#define CMD_ATTR 7 |
Definition at line 60 of file tma.h.
Referenced by tma_next_cmd().
#define HOLDING_ATTR 0x70 |
Definition at line 58 of file tma.h.
Referenced by update_holding().
#define HOLDING_COL 18 |
Definition at line 50 of file tma.h.
Referenced by update_holding().
#define NEXTTIME_COL 34 |
Definition at line 54 of file tma.h.
Referenced by tma_process().
#define RUN_COL 59 |
Definition at line 52 of file tma.h.
Referenced by tma_new_state().
#define RUNTIME_COL 66 |
Definition at line 56 of file tma.h.
Referenced by tma_new_state(), and tma_process().
#define RUNTIME_STRING " " |
Definition at line 57 of file tma.h.
Referenced by tma_new_state().
#define SNAME_COL 0 |
Definition at line 53 of file tma.h.
Referenced by tma_new_state().
#define STATE_COL 42 |
Definition at line 51 of file tma.h.
Referenced by tma_new_state().
#define STATETIME_COL 51 |
Definition at line 55 of file tma.h.
Referenced by tma_new_state(), and tma_process().
#define TMA_ATTR 0x70 |
Definition at line 59 of file tma.h.
Referenced by tma_new_state(), tma_next_cmd(), and tma_time().
void tma_hold | ( | int | hold | ) |
Definition at line 62 of file tma.c.
References tma_is_holding, tma_n_partitions, and update_holding().
void tma_init_options | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 139 of file tma.c.
References tma_prtn::cmds, tma_prtn::console, tma_prtn::next_cmd, tma_prtn::next_str, nl_error, opt_string, OPTIND_RESET, tma_prtn::row, tma_n_partitions, and tma_prtn::waiting.
void tma_init_state | ( | int | partno, |
tma_state * | cmds, | ||
const char * | name | ||
) |
Definition at line 7 of file tmaR2.c.
References tma_prtn::basetime, ci_sendcmd(), tma_state::cmd, tma_prtn::cmds, tma_state::dt, tma_prtn::lastcheck, tma_prtn::next_cmd, tma_n_partitions, tma_new_state(), tma_partitions, and tma_prtn::waiting.
Referenced by tma_read_file().
void tma_new_state | ( | unsigned int | partition, |
const char * | name | ||
) |
Definition at line 83 of file tma.c.
References tma_prtn::basetime, ci_time_str(), tma_prtn::console, itime(), tma_prtn::lastcheck, tma_prtn::nexttime, nl_error, tma_prtn::row, RUN_COL, RUNTIME_COL, RUNTIME_STRING, SNAME_COL, STATE_COL, STATETIME_COL, TMA_ATTR, tma_n_partitions, tma_runbasetime, tma_time(), and update_holding().
void tma_next_cmd | ( | unsigned int | partition, |
const char * | cmd | ||
) |
Definition at line 117 of file tma.c.
References CMD_ATTR, tma_prtn::console, tma_prtn::row, TMA_ATTR, and tma_n_partitions.
Referenced by tma_process().
int tma_process | ( | long int | it | ) |
Definition at line 41 of file tmaR2.c.
References tma_prtn::basetime, ci_sendcmd(), tma_state::cmd, tma_prtn::cmds, tma_state::dt, tma_prtn::lastcheck, tma_prtn::next_cmd, tma_prtn::next_str, tma_prtn::nexttime, NEXTTIME_COL, nl_error, tma_prtn::row, RUNTIME_COL, STATETIME_COL, tma_is_holding, tma_n_partitions, tma_next_cmd(), tma_partitions, tma_runbasetime, tma_succeed(), tma_time(), and tma_prtn::waiting.
void tma_read_file | ( | tma_ifile * | ifilespec | ) |
Definition at line 464 of file tma_file.c.
References assert, tma_ifile::cmds, tma_ifile::def_cmds, tma_ifile::filename, free_tmacmds(), tma_ifile::modtime, nl_error, tma_ifile::partno, read_tmafile(), tma_ifile::statename, and tma_init_state().
void tma_succeed | ( | int | partno, |
int | statecase | ||
) |
Definition at line 170 of file tmaR2.c.
References tma_state::cmd, tma_prtn::cmds, tma_prtn::next_cmd, nl_error, tma_n_partitions, tma_partitions, and tma_prtn::waiting.
Referenced by tma_process().
void tma_time | ( | tma_prtn * | p, |
unsigned int | col, | ||
long int | t | ||
) |
Definition at line 26 of file tma.c.
References tma_prtn::console, tma_prtn::row, and TMA_ATTR.
Referenced by tma_new_state(), and tma_process().
Definition at line 5 of file tma_stubs.c.
Referenced by find_slurp().
int tma_is_holding |
Definition at line 18 of file tma.c.
Referenced by tma_hold(), tma_process(), and update_holding().
const int tma_n_partitions |
Definition at line 6 of file tma_stubs.c.
Referenced by tma_hold(), tma_init_options(), tma_init_state(), tma_new_state(), tma_next_cmd(), tma_process(), and tma_succeed().
Definition at line 16 of file tma.c.
Referenced by tma_init_state(), tma_process(), and tma_succeed().
long int tma_runbasetime |
Definition at line 17 of file tma.c.
Referenced by tma_new_state(), and tma_process().