(Or any language). We only need to write a few callbacks ...
config
config_complete
open
get_size
pread
pwrite
Almost all callbacks are optional.