FFI: control over the scope of C implementations?