The diet_*_get functions defined in DIET_data.h are still usable here. Do not forget that the necessary memory space for OUT arguments is allocated by DIET. So the user should call the diet_*_get functions to retrieve the pointer to the zone his/her program should write to.