assign read size
swap header include order
force cast to proper type
define SYLPF_ID and SYLPF_OPTION
remove needless declaration