#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "stdarg.h"
#include "limits.h"
#include "float.h"
#include "ctype.h"
#include "errno.h"
#include "application.conf"
Defines | |
#define | MAXLINs 32 |
#define | MAXROWs 20 |
#define | MAXPARs 32 |
#define | LALGN (align == 0) |
#define | RALGN (align != 0) |
#define | LFREE (*(cmin) == ' ') |
#define | RFREE (*(cmax-1) == ' ') |
Functions | |
static void | help (void) |
static int | startup (char *title, int cstrt, char *fmt, va_list ap) |
static int | outpar (char *title, char *fmt) |
static int | inpar (void) |
static void | par2str (char *tmp, BOOL init, int pcnt) |
static BOOL | str2par (char *tmp, BOOL *fmtwarn, int pcnt) |
static int | editpar (char *param, int *parpos, int parlen, int align) |
int | tMenu (char *title, int cstrt, char *fmt,...) |
Variables | |
struct { | |
char * fmt | |
int fpar | |
int lpar | |
int npars | |
} | lindat [MAXLINs] |
struct { | |
union { | |
void * pv | |
char * pc | |
unsigned short * phu | |
unsigned * pu | |
unsigned long * plu | |
short int * phi | |
int * pi | |
long int * pli | |
float * pf | |
double * pd | |
char * ps | |
void ** pp | |
} p | |
BOOL limits | |
union { | |
long imin | |
unsigned long umin | |
double fmin | |
long smin | |
long pmin | |
} min | |
union { | |
long imax | |
unsigned long umax | |
double fmax | |
long smax | |
long pmax | |
} max | |
int row | |
int col | |
int line | |
int parlen | |
char prtfmt [20] | |
int align | |
BOOL edit | |
} | pardat [MAXPARs] |
static int | crow |
static int | ccol |
static int | cpar |
static int | ptot |
static int | fline |
static int | lline |
static int | tlines |
static int | mlines |
static int | ltot |
modification history -------------------- 15aug08 kHu DOXYGEN comments added 31mar06 kHu Character type parameter (case 'c') hat gefehlt 02jul02 kHu uInit(), uReset() -> uClear 22apr02 kHu Ignore non printable chars erweitert 25aug00 kHu tReadp() -> tMenu() fuer ueberlange Menues 17aug00 kHu Refresh screen + Help (^R, ' ', ^H) 28okt99 kHu x.conf x.h neu geordnet 02sep99 kHu Abschluss Pruefung 24aug99 kHu tReadp(): nach exlib22.c 23aug99 kHu ueberarbeitet 06may99 kHu tReadp(): warning if param changed by requested format 20jan99 kHu include Header Files geaendert 13jan99 kHu Umstellung von peak() auf exlib 12jan99 kHu Mod. in str2par(), case 's' 22dec98 kHu Trennen in daclib und exlib 21dec98 kHu Bug fix: cutting off trailing spaces in string 22oct98 kHu Umstellung auf tReadp() 13oct98 kHu tReadp test 01sep98 kHu tMenu mit Ueberlaenge 27aug96 kHu Menu und Parameter I/O neu 25mar96 kHu Ultrix, VxWorks Portierung (C) 04mar86 kHu PDP11 Version (F77, Macro-11)
#define LALGN (align == 0) |
#define LFREE (*(cmin) == ' ') |
#define MAXLINs 32 |
#define MAXPARs 32 |
#define MAXROWs 20 |
#define RALGN (align != 0) |
#define RFREE (*(cmax-1) == ' ') |
static int editpar | ( | char * | param, | |
int * | parpos, | |||
int | parlen, | |||
int | align | |||
) | [static] |
static void help | ( | void | ) | [static] |
static int inpar | ( | void | ) | [static] |
static int outpar | ( | char * | title, | |
char * | fmt | |||
) | [static] |
static void par2str | ( | char * | tmp, | |
BOOL | init, | |||
int | pcnt | |||
) | [static] |
static int startup | ( | char * | title, | |
int | cstrt, | |||
char * | fmt, | |||
va_list | ap | |||
) | [static] |
int tMenu | ( | char * | title, | |
int | cstrt, | |||
char * | fmt, | |||
... | ||||
) |
int align |
int ccol [static] |
int col |
int cpar [static] |
int crow [static] |
int fline [static] |
double fmax |
double fmin |
char* fmt |
static int fpar |
long imax |
long imin |
struct { ... } lindat[MAXLINs] [static] |
int line |
int lline [static] |
static int lpar |
int ltot [static] |
union { ... } max |
union { ... } min |
int mlines [static] |
int npars |
union { ... } p |
struct { ... } pardat[MAXPARs] [static] |
int parlen |
char* pc |
double* pd |
float* pf |
short int* phi |
unsigned short* phu |
int* pi |
long int* pli |
unsigned long* plu |
long pmax |
long pmin |
void** pp |
char prtfmt[20] |
char* ps |
int ptot [static] |
unsigned* pu |
void* pv |
int row |
long smax |
long smin |
int tlines [static] |
unsigned long umax |
unsigned long umin |