ARPDAS_QNX6 1.0
Functions | Variables
tma.c File Reference
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include "nortlib.h"
#include "tmctime.h"
#include "tma.h"
#include "oui.h"
Include dependency graph for tma.c:

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_prtntma_partitions = NULL
long int tma_runbasetime = 0L
int tma_is_holding = 0

Function Documentation

void tma_hold ( int  hold)

Definition at line 62 of file tma.c.

References tma_is_holding, tma_n_partitions, and update_holding().

Here is the call graph for this function:

void tma_init_options ( int  argc,
char **  argv 
)
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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:


Variable Documentation

char rcsid_tma_c[] = "$Header: /cvsroot/arp-das/QNX6/tmlib/src/tma.c,v 1.2 2008/08/20 22:01:12 ntallen Exp $"

Definition at line 13 of file tma.c.

int tma_is_holding = 0

Definition at line 18 of file tma.c.

Referenced by tma_hold(), tma_process(), and update_holding().

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().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines