Allocating Structures in libadr

adr_data_t *adr_data_new_struct (adr_type_t *type);

Allocates an uninitialized structure adr_data_t of type type. Any post-allocation initialization that occurs must be consistent with type.

The value of type must be a structured type.