ARPDAS_QNX6 1.0
|
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include "nortlib.h"
#include "tmctime.h"
#include "tma.h"
#include "oui.h"
Go to the source code of this file.
Functions | |
void | tma_time (tma_prtn *p, unsigned int col, long int t) |
static void | update_holding (tma_prtn *p) |
void | tma_hold (int hold) |
void | tma_new_state (unsigned int partition, const char *name) |
void | tma_next_cmd (unsigned int partn, const char *next_cmd) |
void | tma_init_options (int argc, char **argv) |
Variables | |
char | rcsid_tma_c [] = "$Header: /cvsroot/arp-das/QNX6/tmlib/src/tma.c,v 1.2 2008/08/20 22:01:12 ntallen Exp $" |
tma_prtn * | tma_partitions = NULL |
long int | tma_runbasetime = 0L |
int | tma_is_holding = 0 |
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_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().
Referenced by tma_init_state().
void tma_next_cmd | ( | unsigned int | partn, |
const char * | next_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().
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().
static void update_holding | ( | tma_prtn * | p | ) | [static] |
Definition at line 54 of file tma.c.
References tma_prtn::console, HOLDING_ATTR, HOLDING_COL, tma_prtn::row, and tma_is_holding.
Referenced by tma_hold(), and tma_new_state().
char rcsid_tma_c[] = "$Header: /cvsroot/arp-das/QNX6/tmlib/src/tma.c,v 1.2 2008/08/20 22:01:12 ntallen Exp $" |
int tma_is_holding = 0 |
Definition at line 18 of file tma.c.
Referenced by tma_hold(), tma_process(), and update_holding().
tma_prtn* tma_partitions = NULL |
Definition at line 16 of file tma.c.
Referenced by tma_init_state(), tma_process(), and tma_succeed().
long int tma_runbasetime = 0L |
Definition at line 17 of file tma.c.
Referenced by tma_new_state(), and tma_process().