cffi struct

Signed-off-by: gf0842wf <gf0842wf@gmail.com>