typedef struct dc0 *dc0PTR;
typedef struct dc0{
unsigned short id;
unsigned short tdc;
} dc0;
While our data structures looks something like:
typedef struct{
unsigned short id;
unsigned short tdc;
}dc0_t;
typedef struct{
BankHeader_t bank;
dc0_t dc0[1];
}clasDC0_t;
It is clear that Dave's scheme is a subset of our own and
that all we really need to agree upon is a naming convention for the
banks so we can share a common header file. Any functions already
defined by Dave to manipulate his banks will complement our existing
library. After dicussing this with Dave we think the dc0_t
( with the _t making it clear that it is a type) standing for structure
name might be safer and less confusing. In addition, we will include
in our header file a definition for a pointer to each bank like in
Dave's example.
-Joe