temp work save; add ffi definitions for STT frame/segment