Like the previus section, the problem of handle dinamic list, now in
SUBMIT_MULTI y SUBMIT_MULTI_RESP PDU, is resolved with the following
functions:
build_dad( ... ),
build_udad( ... ),
destroy_dad( ... ) and
destroy_udad( ... ). This functions allow create and
destroy dinamic lists of parameters, now of destination address.
int build_dad( dad_t **dest,
dad_t *source );
int destroy_dad( dad_t *sourceList );
int build_udad( udad_t **dest,
udad_t *source );
int destroy_udad( udad_t *sourceList );
|