#include "vxWorks.h"#include "taskLib.h"#include "ioLib.h"#include "symLib.h"#include "sysSymTbl.h"#include "time.h"#include "stdio.h"#include "stdlib.h"#include "math.h"#include "errno.h"Data Structures | |
| struct | OPERAT |
Defines | |
| #define | ERROR 0 |
| #define | OK 1 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | GUNPARS "wqa.guns" |
| #define | IDHDR "STRZ-VXW" |
| #define | CIDHDRvxw "STRZ-VXW" |
| #define | STDAT "01-JAN-00" |
| #define | IACTPOT 50 |
| #define | RINGPOT 0 |
| #define | MAXCALL 40 |
| #define | MAXOPS 100 |
| #define | OPNAME ((*pOperat)->opname) |
| #define | OPTYPE ((*pOperat)->optype) |
| #define | OPMORE ((*pOperat)->opmore) |
| #define | OPPRIO ((*pOperat)->opprio) |
| #define | OPLEAD ((*pOperat)->oplead) |
| #define | OPTRAIL ((*pOperat)->optrail) |
| #define | OPRESLT ((*pOperat)->opreslt) |
| #define | OPPNTR ((*pOperat)->oppntr) |
| #define | OPNAME (pOperat->opname) |
| #define | OPTYPE (pOperat->optype) |
| #define | OPMORE (pOperat->opmore) |
| #define | OPPRIO (pOperat->opprio) |
| #define | OPLEAD (pOperat->oplead) |
| #define | OPTRAIL (pOperat->optrail) |
| #define | OPRESLT (pOperat->opreslt) |
| #define | OPPNTR ((int (*)())(pOperat->oppntr)) |
Typedefs | |
| typedef double | OPERND |
Functions | |
| static int | rdrecrd (void) |
| static int | cmpdate (void) |
| static int | gun0 (void) |
| static int | gun1 (void) |
| static int | gun2 (void) |
| static int | gun3 (void) |
| static int | ariform (char *formula) |
| test () | |
| static int | formin (char **fpntr1, int prvprio, int *opcntx, int maxcall) |
| static int | parse (int prsmod, char **fpntr0, char **fpntr1, OPERAT **operat) |
| static int | makptr (OPERND *opernd) |
| static int | makval (OPERND opernd) |
| static int | putopr (OPERND opernd) |
| static int | getopr (OPERND *opernd) |
| static int | remopr (void) |
| static int | store (void) |
| static int | expon (void) |
| static int | power (void) |
| static int | add (void) |
| static int | subtr (void) |
| static int | minus (void) |
| static int | multip (void) |
| static int | divide (void) |
| static int | cstore (void) |
| static int | cadd (void) |
| static int | csub (void) |
| static int | cminus (void) |
| static int | cmult (void) |
| static int | cdiv (void) |
| static int | c1mult (void) |
| static int | c2mult (void) |
Variables | |
| int | errno |
| static FILE * | fd1 |
| static char | tmp [130] |
| static OPERND | P0 |
| static OPERND | P1 |
| static OPERND | P2 |
| static OPERND | P3 |
| static OPERND | P4 |
| static OPERND | P5 |
| static OPERND | P6 |
| static OPERND | P7 |
| static OPERND | P8 |
| static OPERND | P9 |
| static OPERND | Eg |
| static OPERND | Cf |
| static OPERND | Se |
| static int | oprcnt = 0 |
| static OPERND | Oprnd [MAXOPS] |
| static OPERND * | pOprnd [MAXOPS] |
| static OPERAT | oplist [] |
| #define CIDHDRvxw "STRZ-VXW" |
| #define ERROR 0 |
| #define FALSE 0 |
| #define GUNPARS "wqa.guns" |
| #define IACTPOT 50 |
| #define IDHDR "STRZ-VXW" |
| #define MAXCALL 40 |
| #define MAXOPS 100 |
| #define OK 1 |
| #define OPLEAD (pOperat->oplead) |
| #define OPLEAD ((*pOperat)->oplead) |
| #define OPMORE (pOperat->opmore) |
| #define OPMORE ((*pOperat)->opmore) |
| #define OPNAME (pOperat->opname) |
| #define OPNAME ((*pOperat)->opname) |
| #define OPPNTR ((int (*)())(pOperat->oppntr)) |
| #define OPPNTR ((*pOperat)->oppntr) |
| #define OPPRIO (pOperat->opprio) |
| #define OPPRIO ((*pOperat)->opprio) |
| #define OPRESLT (pOperat->opreslt) |
| #define OPRESLT ((*pOperat)->opreslt) |
| #define OPTRAIL (pOperat->optrail) |
| #define OPTRAIL ((*pOperat)->optrail) |
| #define OPTYPE (pOperat->optype) |
| #define OPTYPE ((*pOperat)->optype) |
| #define RINGPOT 0 |
| #define STDAT "01-JAN-00" |
| #define TRUE 1 |
| typedef double OPERND |
| static int add | ( | void | ) | [static] |
| static int ariform | ( | char * | formula | ) | [static] |
| static int c1mult | ( | void | ) | [static] |
| static int c2mult | ( | void | ) | [static] |
| static int cadd | ( | void | ) | [static] |
| static int cdiv | ( | void | ) | [static] |
| static int cminus | ( | void | ) | [static] |
| static int cmpdate | ( | void | ) | [static] |
| static int cmult | ( | void | ) | [static] |
| static int cstore | ( | void | ) | [static] |
| static int csub | ( | void | ) | [static] |
| static int divide | ( | void | ) | [static] |
| static int expon | ( | void | ) | [static] |
| static int formin | ( | char ** | fpntr1, | |
| int | prvprio, | |||
| int * | opcntx, | |||
| int | maxcall | |||
| ) | [static] |
| static int getopr | ( | OPERND * | opernd | ) | [static] |
| static int gun0 | ( | void | ) | [static] |
| static int gun1 | ( | void | ) | [static] |
| static int gun2 | ( | void | ) | [static] |
| static int gun3 | ( | void | ) | [static] |
| static int makptr | ( | OPERND * | opernd | ) | [static] |
| static int makval | ( | OPERND | opernd | ) | [static] |
| static int minus | ( | void | ) | [static] |
| static int multip | ( | void | ) | [static] |
| static int parse | ( | int | prsmod, | |
| char ** | fpntr0, | |||
| char ** | fpntr1, | |||
| OPERAT ** | operat | |||
| ) | [static] |
| static int power | ( | void | ) | [static] |
| static int putopr | ( | OPERND | opernd | ) | [static] |
| static int rdrecrd | ( | void | ) | [static] |
| static int remopr | ( | void | ) | [static] |
| static int store | ( | void | ) | [static] |
| static int subtr | ( | void | ) | [static] |
| test | ( | ) |
| int errno |
FILE* fd1 [static] |
int oprcnt = 0 [static] |
char tmp[130] [static] |
1.5.6