dtype.h 419 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

typedef struct
{
  int itype;
  double val;
  char field[30];
} C_param;

typedef struct
{
  char nickname[30];

  double rsingle;
  int isingle;
  
  int itab[2]; //contains sizes of rtab and weird in that order
  double * rtab;

  C_param * weird;

} C_datatype;

23
C_datatype * addOne(char * nn, double rv, int iv);
24 25
void displayOne(C_datatype * data);
void changeOne(C_datatype * data, char * nn, double rv, int iv);