dtype.h 377 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 23 24 25

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;

void getOne(int id, C_datatype * d);
void display(int id);
void change(int id, char * nn, double rv, int iv);