same topic as above, but different problem

as you see i give the structure which contains a body (void ptr) to a function (which creates a tree). now this function shall copy the structure so the user can't modify it (that means that all the nestings must be copyed too (the body, because the programmer that uses the function could still have a pointer to the body and manipulate it from outside the function.

how can i doo that?

stormbringer