Minimal cgo bindings for libenca