Simple C bindings