func cPermittedSql(sql string) bool {
    cstr := C.CString(sql)
    r := C.sqlcheck_is_permitted_sql(cstr)
    var b bool
    if r == C.int(1) {