Added FFI definitions of zstr-related functions.