trick/trick_models/test/dp/include/dp.h
2015-02-26 09:02:31 -06:00

49 lines
1.1 KiB
C

/********************************* TRICK HEADER *******************************
PURPOSE: ( Data products test )
REFERENCES: ( None )
ASSUMPTIONS AND LIMITATIONS: ( None )
PROGRAMMERS: ( (Keith Vetter) (Titan) (8-20-2002) )
*******************************************************************************/
/*
* $Id: dp.h 1115 2010-09-29 23:36:35Z wwoodard $
*/
#ifndef _DATA_PRODUCTS_H_
#define _DATA_PRODUCTS_H_
typedef struct {
short si[3] ; /* ohm -- */
int i[3] ; /* M -- */
long l[3] ; /* amp -- */
float f[3] ; /* M/s2 -- */
double d[3] ; /* kg*M/s2 -- */
unsigned short us[3] ; /* N -- */
unsigned int ui[3] ; /* dB -- */
unsigned long ul[3] ; /* v -- */
long long ll[3] ; /* K -- */
} STRUCT_1 ;
typedef struct {
STRUCT_1 s1[2][3] ; /* -- */
} STRUCT_2 ;
typedef struct {
STRUCT_2 s2[3][2] ; /* -- */
} STRUCT_3 ;
typedef struct {
STRUCT_3 s3[2] ; /* -- */
} DP_TEST ;
#endif