Hi,
I am using the asn1c compiler and I need to make copies of a structure after parsing it. A simple memcpy or struct assignment is not going to work, because it would not copy the data for sets and sequences (which is not inlined in the struct). I expect problems when trying to free the data if it is shared between the copies.
Is there an helper function somewhere in the asn1c runtime to do this? What would my other options be?